| | |
| | | :rowIndex="this.selectRow"></templatePro> |
| | | </span> |
| | | <!-- 编码规则--> |
| | | <el-dialog :visible.sync="MasterdialogVisible" append-to-body title="为【编码规则】选取值"> |
| | | <el-dialog :visible.sync="MasterdialogVisible" append-to-body title="为【编码规则】选取值" :before-close="masterEscHandler"> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> |
| | | <el-option |
| | |
| | | </div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden"> |
| | | <el-button size="small" type="primary" @click="MasterHandlerClick">确定</el-button> |
| | | <el-button size="small" @click="MasterdialogVisible=false">取消</el-button> |
| | | <el-button size="small" @click="masterEscHandler">取消</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- 关键属性查询规则--> |
| | | <el-dialog :visible.sync="KeydialogVisible" append-to-body title="为【关键属性查询规则】选取值"> |
| | | <el-dialog :visible.sync="KeydialogVisible" append-to-body title="为【关键属性查询规则】选取值" :before-close="KeyEscHandler"> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> |
| | | <el-option |
| | |
| | | </div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden"> |
| | | <el-button size="small" type="primary" @click="KeyHandlerClick">确定</el-button> |
| | | <el-button size="small" @click="KeydialogVisible=false">取消</el-button> |
| | | <el-button size="small" @click="KeyEscHandler">取消</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- 相似项查询规则--> |
| | | <el-dialog :visible.sync="SimidialogVisible" append-to-body title="为【相似项查询规则】选取值"> |
| | | <el-dialog :visible.sync="SimidialogVisible" append-to-body title="为【相似项查询规则】选取值" :before-close="simEscHandler"> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px"> |
| | | <el-option |
| | |
| | | </div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden"> |
| | | <el-button size="small" type="primary" @click="simHandlerClick">确定</el-button> |
| | | <el-button size="small" @click="SimidialogVisible=false">取消</el-button> |
| | | <el-button size="small" @click="simEscHandler">取消</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | | <!-- 业务类型--> |
| | | <el-dialog :visible.sync="BtmdialogVisible" append-to-body title="为【业务类型规则】选取值"> |
| | | <el-dialog :visible.sync="BtmdialogVisible" append-to-body title="为【业务类型规则】选取值" :before-close="BtmEscHandler"> |
| | | <template> |
| | | <el-select v-model="SelectValue" placeholder="请选择" style="width: 135px !important;"> |
| | | <el-option |
| | | v-for="item in SelectOption" |
| | | v-for="item in masterSelectOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | |
| | | </div> |
| | | <div style="padding-top: 10px;display: flex; justify-content: flex-end;float: right;overflow: hidden"> |
| | | <el-button size="small" type="primary" @click="btmHandlerClick">确定</el-button> |
| | | <el-button size="small" @click="BtmdialogVisible=false">取消</el-button> |
| | | <el-button size="small" @click="BtmEscHandler">取消</el-button> |
| | | </div> |
| | | </div> |
| | | </el-dialog> |
| | |
| | | display: false |
| | | }, |
| | | { |
| | | label: '英文名称', |
| | | label: '业务类型编号', |
| | | prop: 'id' |
| | | }, |
| | | { |
| | | label: '中文名称', |
| | | label: '业务类型名称', |
| | | prop: 'name' |
| | | }, |
| | | { |
| | |
| | | value: 'id', |
| | | label: '英文名称' |
| | | } |
| | | ], |
| | | masterSelectOption:[ |
| | | { |
| | | value: 'id', |
| | | label: '业务类型编号' |
| | | }, |
| | | { |
| | | value: 'name', |
| | | label: '业务类型名称' |
| | | }, |
| | | ], |
| | | SelectValue: "id", |
| | | SelectFInd: "", |
| | |
| | | |
| | | }, |
| | | methods: { |
| | | //存储的业务类型关闭 |
| | | BtmEscHandler(){ |
| | | this.SelectFInd=''; |
| | | this.SelectValue='id'; |
| | | this.BtmdialogVisible=false; |
| | | }, |
| | | //相似项关闭 |
| | | simEscHandler(){ |
| | | this.SelectFInd=''; |
| | | this.SelectValue='id'; |
| | | this.SimidialogVisible=false; |
| | | }, |
| | | //关键属性关闭 |
| | | KeyEscHandler(){ |
| | | this.SelectFInd=''; |
| | | this.SelectValue='id'; |
| | | this.KeydialogVisible=false; |
| | | }, |
| | | //编码规则关闭 |
| | | masterEscHandler(){ |
| | | this.SelectFInd=''; |
| | | this.SelectValue='id'; |
| | | this.MasterdialogVisible=false; |
| | | }, |
| | | // 关闭弹窗 |
| | | /** 导入 */ |
| | | ImportExcel() { |
| | |
| | | }, |
| | | //编码规则查询 |
| | | SelectFindeHandler() { |
| | | if (this.SelectValue == 'id') { |
| | | const masterParameter = { |
| | | 'conditionMap[id]': this.SelectFInd |
| | | } |
| | | this.MasterdefaultRend(masterParameter); |
| | | } else if (this.SelectValue == 'name') { |
| | | const masterParameter = { |
| | | 'conditionMap[name]': this.SelectFInd |
| | | } |
| | | this.MasterdefaultRend(masterParameter) |
| | | } |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | this.MasterdefaultRend(masterParameter) |
| | | }, |
| | | //编码规则确定 |
| | | MasterHandlerClick() { |
| | |
| | | } |
| | | }, |
| | | //编码接口 |
| | | MasterdefaultRend() { |
| | | MasterdefaultRend(masterParameter) { |
| | | defaultReferDataGrid({ |
| | | referType: 'coderule', |
| | | isMuti: 'false', |
| | | 'conditionMap["lcstatus"]': 'Released' |
| | | 'conditionMap["lcstatus"]': 'Released', |
| | | ...masterParameter |
| | | }).then(res => { |
| | | this.masterData = res.data.records; |
| | | }) |
| | |
| | | }, |
| | | //关键属性查询 |
| | | KeySelectFindeHandler() { |
| | | if (this.SelectValue == 'id') { |
| | | const masterParameter = { |
| | | 'conditionMap[id]': this.SelectFInd |
| | | } |
| | | this.KeydefaultRend(masterParameter); |
| | | } else if (this.SelectValue == 'name') { |
| | | const masterParameter = { |
| | | 'conditionMap[name]': this.SelectFInd |
| | | } |
| | | this.KeydefaultRend(masterParameter) |
| | | } |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | this.KeydefaultRend(masterParameter) |
| | | }, |
| | | //关键属性接口 |
| | | KeydefaultRend() { |
| | | KeydefaultRend(masterParameter) { |
| | | defaultReferDataGrid({ |
| | | referType: 'codekeyattrrepeat', |
| | | isMuti: 'false', |
| | | 'conditionMap["lcstatus"]': 'Enabled' |
| | | 'conditionMap["lcstatus"]': 'Enabled', |
| | | ...masterParameter |
| | | }).then(res => { |
| | | this.KeyData = res.data.records; |
| | | }) |
| | |
| | | }, |
| | | //相似项查询 |
| | | SimSelectFindeHandler() { |
| | | if (this.SelectValue == 'id') { |
| | | const masterParameter = { |
| | | 'conditionMap[id]': this.SelectFInd |
| | | } |
| | | this.simdefaultRend(masterParameter); |
| | | } else if (this.SelectValue == 'name') { |
| | | const masterParameter = { |
| | | 'conditionMap[name]': this.SelectFInd |
| | | } |
| | | this.simdefaultRend(masterParameter) |
| | | } |
| | | const masterParameter = {}; |
| | | masterParameter[`conditionMap['${this.SelectValue}']`] = `*${this.SelectFInd}*`; |
| | | this.simdefaultRend(masterParameter) |
| | | }, |
| | | // 相似项多选 |
| | | simSelect(row) { |
| | |
| | | this.simOid = row.oid; |
| | | }, |
| | | //相似项项接口 |
| | | simdefaultRend() { |
| | | simdefaultRend(masterParameter) { |
| | | defaultReferDataGrid({ |
| | | referType: 'coderesemblerule', |
| | | isMuti: 'false', |
| | | 'conditionMap["lcstatus"]': 'Enabled' |
| | | 'conditionMap["lcstatus"]': 'Enabled', |
| | | ...masterParameter |
| | | }).then(res => { |
| | | this.simData = res.data.records; |
| | | }) |
| | |
| | | } |
| | | |
| | | </style> |
| | | /sa[pr |
| | | [ |
| | | syulep |