| | |
| | | </el-dialog> |
| | | </el-container> |
| | | </el-container> |
| | | <business-add ref="btmAdd" :btmType="addOption.btmType" :domainOption="domainOptions" :icons="icons" |
| | | <business-add ref="btmAdd" :btmType="addOption.btmType" :domainOption="domainOptions" :icons="icons" :type="type" |
| | | @refreshTable="initTreeOnLoad"> |
| | | </business-add> |
| | | </el-container> |
| | |
| | | name: "Business", |
| | | data() { |
| | | return { |
| | | type:"", |
| | | //生命周期对话框状态 |
| | | packageLifeBox: false, |
| | | //版本规则状态 |
| | |
| | | businessAdd() { |
| | | this.$refs.btmAdd.showSubmitDialog = true; |
| | | this.$refs.btmAdd.btmType = {}; |
| | | this.type = 'add'; |
| | | this.ifRefreshBtmAddRefresh(); |
| | | }, |
| | | businessEdit() { |
| | |
| | | const json = JSON.stringify(this.obj); |
| | | this.$refs.btmAdd.btmType = JSON.parse(json); |
| | | this.$refs.btmAdd.showSubmitDialog = true; |
| | | this.type = 'edit' |
| | | this.ifRefreshBtmAddRefresh(); |
| | | }, |
| | | ifRefreshBtmAddRefresh() { |