| | |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="SelectFindeHandler" style="margin-left: 20px">查询</el-button> |
| | | </template> |
| | | <avue-crud :data="masterData" :option="Option" @row-click="masterSelect"> |
| | | <avue-crud :data="masterData" :option="attrOption" @row-click="masterSelect"> |
| | | <template slot="radio" slot-scope="{row}"> |
| | | <el-radio v-model="masterRow" :label="row.$index" style="padding-left: 10px !important;">{{ '' }} |
| | | </el-radio> |
| | |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="KeySelectFindeHandler" style="margin-left: 20px">查询</el-button> |
| | | </template> |
| | | <avue-crud :data="KeyData" :option="Option" @row-click="KeySelect"> |
| | | <avue-crud :data="KeyData" :option="attrOption" @row-click="KeySelect"> |
| | | <template slot="radio" slot-scope="{row}"> |
| | | <el-radio v-model="masterRow" :label="row.$index" style="padding-left: 10px !important;">{{ '' }} |
| | | </el-radio> |
| | |
| | | <el-input style="width: 260px;margin-left: 15px" placeholder="输入值后进行模糊查询" v-model="SelectFInd"></el-input> |
| | | <el-button size="small" type="primary" plain @click="SimSelectFindeHandler" style="margin-left: 20px">查询</el-button> |
| | | </template> |
| | | <avue-crud :data="simData" :option="Option"@row-click="simSelect"> |
| | | <avue-crud :data="simData" :option="attrOption"@row-click="simSelect"> |
| | | <template slot="radio" slot-scope="{row}"> |
| | | <el-radio v-model="masterRow" :label="row.$index" style="padding-left: 10px !important;">{{ '' }} |
| | | </el-radio> |
| | |
| | | ], |
| | | SelectValue:'id', |
| | | btmOption:{ |
| | | columnBtn:false, |
| | | addBtn:false, |
| | | index:true, |
| | | border:true, |
| | |
| | | } |
| | | ] |
| | | }, |
| | | Option:{ |
| | | attrOption:{ |
| | | addBtn:false, |
| | | columnBtn:false, |
| | | index:true, |
| | | border:true, |
| | | menu:false, |
| | |
| | | option: { |
| | | submitBtn:false, |
| | | emptyBtn:false, |
| | | |
| | | columnBtn:false, |
| | | column: [ |
| | | { |
| | | label: '主题库/分类编号', |
| | |
| | | labelWidth:128, |
| | | disabled: true, |
| | | }, |
| | | { |
| | | label: '是否参与关键属性校验', |
| | | prop: 'isParticipateCheck', |
| | | type: 'switch', |
| | | activeColor: "#13ce66", |
| | | inactiveColor: "#ff4949", |
| | | labelWidth:160, |
| | | disabled: true, |
| | | dicData: [{ |
| | | label: '否', |
| | | value: 0 |
| | | }, { |
| | | label: '是', |
| | | value: 1 |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | }, |
| | | |
| | |
| | | focus: this.simFouce, |
| | | readonly: true, |
| | | }, |
| | | |
| | | { |
| | | label: '是否参与关键属性校验', |
| | | prop: 'isParticipateCheck', |
| | | type: 'switch', |
| | | activeColor: "#13ce66", |
| | | inactiveColor: "#ff4949", |
| | | labelWidth:160, |
| | | dicData: [{ |
| | | label: '否', |
| | | value: 0 |
| | | }, { |
| | | label: '是', |
| | | value: 1 |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | |
| | | } |
| | |
| | | watch:{ |
| | | TreeFlag:{ |
| | | handler(newval,oldval){ |
| | | console.log(newval) |
| | | // console.log(newval) |
| | | } |
| | | } |
| | | }, |
| | |
| | | //编码规则查询 |
| | | SelectFindeHandler(){ |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.MasterdefaultRend(masterParameter) |
| | | }, |
| | | //编码规则失焦 |
| | |
| | | referType:'coderule', |
| | | isMuti:'false', |
| | | 'conditionMap["lcstatus"]':'Released', |
| | | 'limit':'-1', |
| | | ...masterParameter |
| | | }).then(res=>{ |
| | | this.masterData=res.data.records; |
| | |
| | | //关键属性查询 |
| | | KeySelectFindeHandler(){ |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.KeydefaultRend(masterParameter) |
| | | }, |
| | | //关键属性接口 |
| | |
| | | referType:'codekeyattrrepeat', |
| | | isMuti:'false', |
| | | 'conditionMap["lcstatus"]':'Enabled', |
| | | 'limit':'-1', |
| | | ...masterParameter |
| | | }).then(res=>{ |
| | | this.KeyData=res.data.records; |
| | |
| | | //相似项查询 |
| | | SimSelectFindeHandler(){ |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.simdefaultRend(masterParameter) |
| | | }, |
| | | //相似项多选 |
| | |
| | | referType:'coderesemblerule', |
| | | isMuti:'false', |
| | | 'conditionMap["lcstatus"]':'Enabled', |
| | | 'limit':'-1', |
| | | ...masterParameter |
| | | }).then(res=>{ |
| | | this.simData=res.data.records; |
| | |
| | | }else { |
| | | this.BtmdialogVisible=false; |
| | | this.btmSelectList=[] |
| | | this.$set(this.loneTreeNewForm,'btmTypeName',this.btmName ||this.btmOid) |
| | | this.$set(this.loneTreeNewForm,'btmTypeName',this.btmName ||this.btmId) |
| | | this.$set(this.loneTreeNewForm,'btmTypeId',this.btmId) |
| | | this.$emit('MasterHandler',this.loneTreeNewForm) |
| | | } |
| | |
| | | //业务类型查询 |
| | | BtmSelectFindeHandler(){ |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.btmdefaultRend(masterParameter); |
| | | }, |
| | | //业务类型多选 |
| | |
| | | }, |
| | | //业务类型接口 |
| | | btmdefaultRend(masterParameter){ |
| | | referDataGrid({valueField:'id',isMuti:'false',...masterParameter}).then(res=>{ |
| | | referDataGrid({valueField:'id',isMuti:'false','limit':'-1',...masterParameter}).then(res=>{ |
| | | this.BtmData=res.data.data.records |
| | | }) |
| | | } |