| | |
| | | column: [ |
| | | { |
| | | label: '主题库/分类编号', |
| | | prop: 'btmtypeid', |
| | | prop: 'id', |
| | | labelWidth:135, |
| | | readonly: true, |
| | | disabled: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "主题库/分类编号", |
| | |
| | | { |
| | | label: '主题库/分类名称', |
| | | prop: 'name', |
| | | readonly: true, |
| | | disabled: true, |
| | | labelWidth:135, |
| | | rules: [{ |
| | | required: true, |
| | |
| | | label:"描述", |
| | | prop:"description", |
| | | labelWidth:128, |
| | | readonly: true, |
| | | disabled: true, |
| | | }, |
| | | { |
| | | label: '存储的业务类型', |
| | | prop: 'btmtypename', |
| | | prop: 'btmTypeName', |
| | | labelWidth:128, |
| | | readonly: true, |
| | | disabled: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "存储的业务类型", |
| | |
| | | }, |
| | | { |
| | | label:"编码规则", |
| | | prop:"coderuleoidName", |
| | | prop:"coderuleOidName", |
| | | labelWidth:128, |
| | | readonly: true, |
| | | disabled: true, |
| | | }, |
| | | { |
| | | label:"关键属性查询规则", |
| | | prop:"codekeyattrrepeatoidName", |
| | | prop:"codeKeyAttrRepeatOidName", |
| | | labelWidth:128, |
| | | readonly: true, |
| | | disabled: true, |
| | | }, |
| | | { |
| | | label:"相似查询规则", |
| | | prop:"codeResembleRuleOidName", |
| | | labelWidth:128, |
| | | readonly: true, |
| | | disabled: true, |
| | | }, |
| | | ] |
| | | }, |
| | |
| | | column: [ |
| | | { |
| | | label: '主题库/分类编号', |
| | | prop: 'btmtypeid', |
| | | prop: 'id', |
| | | labelWidth:128, |
| | | rules: [{ |
| | | required: true, |
| | |
| | | }, |
| | | { |
| | | label: '存储的业务类型', |
| | | prop: 'btmtypename', |
| | | prop: 'btmTypeName', |
| | | labelWidth:128, |
| | | focus:this.btmFoucus, |
| | | readonly: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "存储的业务类型", |
| | |
| | | }, |
| | | { |
| | | label:"编码规则", |
| | | prop:"coderuleoidName", |
| | | prop:"coderuleOidName", |
| | | labelWidth:128, |
| | | focus:this.CodeFoucus |
| | | focus:this.CodeFoucus, |
| | | readonly: true, |
| | | }, |
| | | { |
| | | label:"关键属性查询规则", |
| | | prop:"codekeyattrrepeatoidName", |
| | | prop:"codeKeyAttrRepeatOidName", |
| | | labelWidth:128, |
| | | focus:this.Keyfouce |
| | | focus:this.Keyfouce, |
| | | readonly: true, |
| | | }, |
| | | { |
| | | label:"相似查询规则", |
| | | prop:"codeResembleRuleOidName", |
| | | labelWidth:128, |
| | | focus: this.simFouce |
| | | focus: this.simFouce, |
| | | readonly: true, |
| | | }, |
| | | |
| | | ] |
| | |
| | | this.$set(this.loneTreeNewForm,'coderuleoidName',this.masterName) |
| | | this.$set(this.loneTreeNewForm,'coderuleOid',this.masterOid) |
| | | this.$emit('MasterHandler',this.loneTreeNewForm) |
| | | console.log(this.loneTreeNewForm) |
| | | // console.log(this.loneTreeNewForm) |
| | | } |
| | | }, |
| | | //编码多选 |
| | |
| | | this.masterSelectList=row; |
| | | this.masterName=row[0].name; |
| | | this.masterOid=row[0].oid; |
| | | console.log('oid',this.oid) |
| | | // console.log('oid',this.oid) |
| | | }, |
| | | //编码接口 |
| | | MasterdefaultRend(masterParameter){ |
| | |
| | | }else if(this.btmSelectList.length<=0){ |
| | | this.$message.warning('请选择一条数据') |
| | | }else { |
| | | this.SimidialogVisible=false; |
| | | this.simSelectList=[] |
| | | this.$set(this.loneTreeNewForm,'btmtypename',this.btmName) |
| | | this.$set(this.loneTreeNewForm,'btmtypeoid',this.btmOid) |
| | | this.BtmdialogVisible=false; |
| | | this.btmSelectList=[] |
| | | this.$set(this.loneTreeNewForm,'btmTypeName',this.btmName) |
| | | this.$set(this.loneTreeNewForm,'btmTypeOid',this.btmOid) |
| | | this.$emit('MasterHandler',this.loneTreeNewForm) |
| | | } |
| | | }, |
| | |
| | | //业务类型接口 |
| | | btmdefaultRend(masterParameter){ |
| | | referDataGrid({valueField:'id',isMuti:'false',...masterParameter}).then(res=>{ |
| | | console.log(res) |
| | | // console.log(res) |
| | | this.BtmData=res.data.data.records |
| | | }) |
| | | } |