| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | crudOption:{...optionRule}, |
| | | ruleForm: {}, |
| | | query: {}, |
| | | loading: true, |
| | |
| | | if (!this.tipsCodeSecValueMessage(this.codeFixdForm.id)) { |
| | | return; |
| | | } |
| | | this.codeFixdForm.codeFixedSecOid = |
| | | this.codefixedsecOrCodeclassifysec.oid; |
| | | this.codeFixdForm.codeFixedSecOid = this.codefixedsecOrCodeclassifysec.oid; |
| | | addSaveCodeFixedValue(this.codeFixdForm).then( |
| | | () => { |
| | | this.loadFixedValueTableData({ |
| | | oid: this.codefixedsecOrCodeclassifysec.oid, |
| | | }); |
| | | this.clearFixedOrClassifyForm("codefixedsec"); |
| | | this.$refs.crudFixedValue.refreshTable(); |
| | | this.$refs.crudFixedValue.doLayout(); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "操作成功!", |
| | |
| | | this.query = {}; |
| | | this.onLoad(this.page); |
| | | }, |
| | | // 编码规则快速查询 |
| | | // 编码规则快速查询searchChange |
| | | searchChange(params, done) { |
| | | this.page.currentPage = 1; |
| | | // 多个conditionMap这样传参,快速查询默认采用模糊查询 |
| | |
| | | } |
| | | this.query = requestData; |
| | | this.onLoad(this.page, this.query); |
| | | // console.log( this.findObject(this.optionRule.column,'id')) |
| | | // console.log(this.crudOption.column[0]) |
| | | // this.crudOption.column && this.crudOption.column.length > 0 |
| | | // ? (this.crudOption.column[0].value = '') |
| | | // : null; |
| | | done(); |
| | | }, |
| | | /** 编码规则当前选中行变化的时候触发*/ |