田源
2023-12-08 159c95cafb4f0eb3955c9e4adc3134585512455d
Source/UBCS-WEB/src/views/modeling/Business.vue
@@ -144,7 +144,7 @@
        </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>
@@ -163,6 +163,7 @@
  name: "Business",
  data() {
    return {
      type:"",
      //生命周期对话框状态
      packageLifeBox: false,
      //版本规则状态
@@ -362,6 +363,7 @@
    businessAdd() {
      this.$refs.btmAdd.showSubmitDialog = true;
      this.$refs.btmAdd.btmType = {};
      this.type = 'add';
      this.ifRefreshBtmAddRefresh();
    },
    businessEdit() {
@@ -372,6 +374,7 @@
      const json = JSON.stringify(this.obj);
      this.$refs.btmAdd.btmType = JSON.parse(json);
      this.$refs.btmAdd.showSubmitDialog = true;
      this.type = 'edit'
      this.ifRefreshBtmAddRefresh();
    },
    ifRefreshBtmAddRefresh() {