田源
2023-07-07 388daad59d20da84118067593fc88a89e3f8c9d8
Source/UBCS-WEB/src/components/Tree/classifyTreeform.vue
@@ -226,7 +226,7 @@
          },
          {
            label: '存储的业务类型',
            prop: 'btmTypeName',
            prop: 'btmtypename',
            labelWidth:128,
            disabled: true,
            rules: [{
@@ -237,13 +237,13 @@
          },
          {
            label:"编码规则",
            prop:"coderuleOidName",
            prop:"coderuleoidName",
            labelWidth:128,
            disabled: true,
          },
          {
            label:"关键属性查询规则",
            prop:"codeKeyAttrRepeatOidName",
            prop:"codekeyattrrepeatoidName",
            labelWidth:128,
            disabled: true,
          },
@@ -284,7 +284,7 @@
          },
          {
            label: '存储的业务类型',
            prop: 'btmTypeName',
            prop: 'btmtypename',
            labelWidth:128,
            focus:this.btmFoucus,
            readonly: true,
@@ -296,14 +296,14 @@
          },
          {
            label:"编码规则",
            prop:"coderuleOidName",
            prop:"coderuleoidName",
            labelWidth:128,
            focus:this.CodeFoucus,
            readonly: true,
          },
          {
            label:"关键属性查询规则",
            prop:"codeKeyAttrRepeatOidName",
            prop:"codekeyattrrepeatoidName",
            labelWidth:128,
            focus:this.Keyfouce,
            readonly: true,
@@ -372,7 +372,7 @@
        this.MasterdialogVisible=false;
        this.masterSelectList=[]
        this.$set(this.loneTreeNewForm,'coderuleoidName',this.masterName)
        this.$set(this.loneTreeNewForm,'coderuleOid',this.masterOid)
        this.$set(this.loneTreeNewForm,'coderuleoid',this.masterOid)
        this.$emit('MasterHandler',this.loneTreeNewForm)
        // console.log(this.loneTreeNewForm)
      }
@@ -395,7 +395,7 @@
        this.masterData=res.data.records;
      })
    },
    // 关键属性失焦
    //关键属性失焦
    Keyfouce(){
      this.KeydialogVisible=true;
      this.KeydefaultRend()
@@ -409,9 +409,10 @@
      }else {
        this.KeydialogVisible=false;
        this.KeySelectLIst=[]
        this.$set(this.loneTreeNewForm,'codeResembleRuleOidName',this.simName)
        this.$set(this.loneTreeNewForm,'codeResembleRuleOid',this.simOid)
        this.$set(this.loneTreeNewForm,'codekeyattrrepeatoidName',this.KeyName)
        this.$set(this.loneTreeNewForm,'codekeyattrrepeatoid',this.KeyOid)
        this.$emit('MasterHandler',this.loneTreeNewForm)
        console.log(this.loneTreeNewForm)
      }
    },
    //关键属性查询
@@ -442,13 +443,13 @@
        this.KeyData=res.data.records;
      })
    },
    // 关键多选
    //关键多选
    KeySelect(row){
      this.KeySelectLIst=row;
      this.KeyName=row[0].name;
      this.KeyOid=row[0].oid;
    },
    // 相似项失焦
    //相似项失焦
    simFouce(){
      this.SimidialogVisible=true;
      this.simdefaultRend()
@@ -485,7 +486,7 @@
        this.SelectFInd=""
      }
    },
  //  相似项多选
    //相似项多选
    simSelect(row){
      this.simSelectList=row;
      this.simName=row[0].name;
@@ -507,7 +508,7 @@
      this.BtmdialogVisible=true;
      this.btmdefaultRend()
    },
  //  业务类型确定
    //业务类型确定
    btmHandlerClick(){
      if(this.btmSelectList.length>1){
        this.$message.warning('只能选择一条数据')
@@ -516,8 +517,8 @@
      }else {
        this.BtmdialogVisible=false;
        this.btmSelectList=[]
        this.$set(this.loneTreeNewForm,'btmTypeName',this.btmName)
        this.$set(this.loneTreeNewForm,'btmTypeOid',this.btmOid)
        this.$set(this.loneTreeNewForm,'btmtypename',this.btmName ||this.btmOid)
        this.$set(this.loneTreeNewForm,'btmtypeid',this.btmOid)
        this.$emit('MasterHandler',this.loneTreeNewForm)
      }
    },
@@ -539,7 +540,7 @@
        this.SelectFInd=""
      }
    },
  //  业务类型多选
    //业务类型多选
    btmSelect(row){
      this.btmSelectList=row;
      this.btmName=row[0].name;