| | |
| | | if (JSON.stringify(conditionMaps) != "{}") { |
| | | if (this.advancedQueryParam.currentOpen == "codeRule") { |
| | | this.query = conditionMaps; |
| | | // console.log(this.query); |
| | | this.onLoad(this.page); |
| | | } else { |
| | | this.sendGridCodeBasicSec(conditionMaps, true); |
| | |
| | | queryField: "lcStatus", |
| | | comboxKey: "codeSearchLCStatus", |
| | | }, |
| | | { |
| | | data: [], |
| | | title: "所有者", |
| | | fieldType: "text", |
| | | queryField: "ownerText", |
| | | }, |
| | | ]; |
| | | } else { |
| | | this.advancedQueryParam.options = [ |
| | |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | gridCodeRule(page.currentPage, page.pageSize, params).then((res) => { |
| | | gridCodeRule( |
| | | page.currentPage, |
| | | page.pageSize, |
| | | Object.assign({},params,this.query), |
| | | ).then((res) => { |
| | | //console.log(res.data); |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | |
| | | if (!this.tipsMessage(this.selectionBasicList)) { |
| | | return; |
| | | } |
| | | if (this.selectionBasicList[0].lcStatus != "Editing") { |
| | | this.$message.warning('编码规则状态不是"编辑中",不允许删除码段!'); |
| | | return; |
| | | } |
| | | let oid = this.selectionBasicList[0].oid; |
| | | this.$confirm("是否删除这条数据?如果被引用将不能被删除!", { |
| | | confirmButtonText: "确定", |