| | |
| | | :nodeList="nodeList" @MasterHandler="MasterHandler" @flushed="flushed" |
| | | @referTreeForm="referTreeForm"></classifyTreeform> |
| | | </el-dialog> |
| | | <!-- 左侧树--> |
| | | <avue-tree ref="tree" v-model="CloneTreeAvueform" v-loading="loading" :data="CloneTreedata" |
| | | :defaultExpandAll="false" |
| | | :option="Treeoption" |
| | |
| | | //编码规则查询 |
| | | SelectFindeHandler() { |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.MasterdefaultRend(masterParameter) |
| | | }, |
| | | //编码规则确定 |
| | |
| | | //关键属性查询 |
| | | KeySelectFindeHandler() { |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.KeydefaultRend(masterParameter) |
| | | }, |
| | | //关键属性接口 |
| | |
| | | //相似项查询 |
| | | SimSelectFindeHandler() { |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.simdefaultRend(masterParameter) |
| | | }, |
| | | // 相似项多选 |
| | |
| | | //业务类型查询 |
| | | BtmSelectFindeHandler() { |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = this.SelectFInd; |
| | | this.btmdefaultRend(masterParameter); |
| | | }, |
| | | //业务类型多选 |
| | |
| | | }) |
| | | //调用修改属性名方法 |
| | | this.ModifyProperties(this.CloneTreedata, 'name', 'label'); |
| | | console.log(this.CloneTreedata) |
| | | this.CloneTreedata = this.CloneTreedata.map(item => { |
| | | if (item.attributes.lcStatus === "Disabled") { |
| | | item.label += '【停用】'; |
| | |
| | | }, |
| | | //树点击事件 |
| | | async nodeClick(data) { |
| | | console.log(data); |
| | | //操作新增和修改的业务类型隐藏 |
| | | this.TreeFlagCode = !data; |
| | | this.editTreeFLagCode = !data.parentId; |
| | |
| | | const {id, name} = row[0]; |
| | | this.CloneModel = {id, name}; |
| | | this.CloneSelect[0].codeclassifyoid = this.nodeClickList.oid; |
| | | console.log('row', row) |
| | | console.log('CloneSelect', this.CloneSelect) |
| | | console.log('CloneModel', this.CloneModel) |
| | | }, |
| | | //克隆表单提交 |
| | | Clonesubmit(row, done) { |