| | |
| | | </basic-container> |
| | | </template> |
| | | <script> |
| | | import {MasterTable, TableData, FindData} from "@/api/GetItem"; |
| | | import {MasterTable, TableData, FindData,addSaveCode,editSaveCode} from "@/api/GetItem"; |
| | | import {listCodeAttributeByClassId} from "@/api/integration/integration.js"; |
| | | import integrationTransfer from "@/views/integration/integrationTransfer"; |
| | | import SetPersonnel from "@/components/template/SetPersonnel"; |
| | |
| | | codeClassifyOid: { |
| | | handler(newval, oldval) { |
| | | this.codeClassifyOid = newval; |
| | | this.parameter.vars.codeClassifyOid = newval |
| | | this.parameter.vars.codeClassifyOid = newval; |
| | | console.log('子',newval) |
| | | }, |
| | | deep: true, |
| | | }, |
| | |
| | | }, |
| | | //多选 |
| | | handleSelectionChange(row) { |
| | | console.log(row) |
| | | if (this.row) { |
| | | this.rowOid = row[0].oid; |
| | | } else { |
| | |
| | | } |
| | | }, |
| | | //增加保存 |
| | | AddSumbit() { |
| | | AddSumbit(val) { |
| | | this.addvisible = false; |
| | | console.log(val) |
| | | addSaveCode(val).then(res=>{ |
| | | console.log(res) |
| | | this.onLoad() |
| | | }) |
| | | }, |
| | | EditSumbit(val) { |
| | | this.editvisible = false; |
| | | console.log(val) |
| | | editSaveCode(val).then(res=>{ |
| | | console.log(res) |
| | | this.onLoad() |
| | | }) |
| | | }, |
| | | openBatchImport(type) { |
| | | this.batchImportData.visible = true |
| | | this.batchImportData.type = type |
| | | this.batchImportData.codeClassifyOid = this.codeClassifyOid |
| | | this.batchImportData.visible = true; |
| | | this.batchImportData.type = type; |
| | | this.batchImportData.codeClassifyOid = this.codeClassifyOid; |
| | | } |
| | | }, |
| | | }; |
| | |
| | | .el-table--scrollable-x .el-table__body-wrapper { |
| | | overflow: auto !important; |
| | | } |
| | | |
| | | .el-table__fixed-right-patch { |
| | | background-color: #f5f7fa !important; |
| | | } |