ludc
2023-11-15 2f88385ea22a783661dc537551c204c00d309f63
Source/UBCS-WEB/src/components/Theme/ThemeClassifyTrees.vue
@@ -63,7 +63,7 @@
                <el-input v-model="TreeAddform.codeKeyAttrRepeatOidName" autocomplete="off" style="width: 585px"
                          @focus="Keyfouce"></el-input>
              </el-form-item>
              <el-form-item label="是否参与关键属性校验:" label-width="150px">
              <el-form-item label="是否参与关键属性校验:" label-width="170px">
                <el-switch
                  v-model="TreeAddform.codeKeyAttrValue"
                  active-text="是"
@@ -597,8 +597,8 @@
        codeRuleOidName: "",
        //存储的业务类型
        btmTypeName: "",
        codeKeyAttrValue:false,
        isParticipateCheck:0
        codeKeyAttrValue:true,
        isParticipateCheck:1
      },
      rules: {
        id: [
@@ -868,7 +868,7 @@
    // switch
    switchChange(){
      this.TreeAddform.isParticipateCheck = this.TreeAddform.codeKeyAttrValue ? 1 : 0;
      console.log(this.TreeAddform.isParticipateCheck)
      // console.log(this.TreeAddform.isParticipateCheck)
    },
    //存储的业务类型关闭
    BtmEscHandler() {
@@ -1156,6 +1156,8 @@
    TreeEscHandler() {
      this.TreeAddform = {};
      this.TreeAddFormVisible = false;
      this.TreeAddform.codeKeyAttrValue = true;
      this.TreeAddform.isParticipateCheck = 1;
      // 关闭弹窗清空校验
      this.$refs.myForm.clearValidate();
    },
@@ -1174,8 +1176,8 @@
            });
            Object.keys(this.TreeAddform).forEach(key => {
              this.TreeAddform[key] = "";
              this.TreeAddform.codeKeyAttrValue = false;
              this.TreeAddform.isParticipateCheck = 0;
              this.TreeAddform.codeKeyAttrValue = true;
              this.TreeAddform.isParticipateCheck = 1;
            });
            this.getAttr();
            this.TreeAddFormVisible = false;
@@ -1369,6 +1371,10 @@
          this.crudOid = ''
        }
        this.TreeList = res3.data.data;
        if(!this.TreeList.isParticipateCheck){
          this.$set(this.TreeList,"isParticipateCheck",1)
          return
        }
      } catch (error) {
        this.$message.error(error);
      }