| | |
| | | data:data |
| | | }) |
| | | } |
| | | // 申请集团码值数据 |
| | | export function applyGroupCode(params) { |
| | | return request({ |
| | | url: 'api/ubcs-applyjtcodeservice/DockingPreApplyCode/applyGroupCode', |
| | | method: 'post', |
| | | params: { |
| | | ...params |
| | | } |
| | | }) |
| | | } |
| | |
| | | </basic-container> |
| | | </template> |
| | | <script> |
| | | import {MasterTable, TableData, FindData, addSaveCode, editSaveCode, deleteCode, upSaveCode} from "@/api/GetItem"; |
| | | import {MasterTable, TableData, FindData, addSaveCode, editSaveCode, deleteCode, upSaveCode,applyGroupCode} from "@/api/GetItem"; |
| | | import {processTS, changeStatus} from "@/api/template/setPersonnel" |
| | | import {listCodeAttributeByClassId} from "@/api/integration/integration.js"; |
| | | import integrationTransfer from "@/views/integration/integrationTransfer"; |
| | |
| | | if (uniqueFlag === 'CODERECYCLE') return this.Recovery() |
| | | //删除 |
| | | if (uniqueFlag === 'CODEDELETE') return this.enumDeleteRow() |
| | | //申请集团码数据 |
| | | if (uniqueFlag === 'applyGroupCode') return this.applyGroupCode() |
| | | //更新集团码数据 |
| | | // if (uniqueFlag === 'applyGroupCode') return this.applyGroupCode() |
| | | // 相似项查询 |
| | | // if(uniqueFlag === 'CODEEDIT') return this.similarHandler() |
| | | }); |
| | | }, |
| | | //申请集团码数据 |
| | | applyGroupCode(){ |
| | | if(this.selectRow.length <= 0){ |
| | | this.$message.warning('请选择一条数据模板!') |
| | | }else { |
| | | // const requestData = this.selectRow.forEach(item => { |
| | | // return { oids: item.oid, btmName: item.btmname }; |
| | | // }); |
| | | const oids = this.selectRow.map(item => item.oid).join(','); |
| | | applyGroupCode({ oids, btmName: this.selectRow[0].btmname }).then(res => { |
| | | console.log(res); |
| | | }); |
| | | } |
| | | }, |
| | | openD() { |
| | | this.getListCodeByClassId(); |
| | | }, |
| | |
| | | // target: 'http://127.0.0.1', |
| | | // target: 'http://192.168.1.51:37000', |
| | | // target: 'http://dev.vci-tech.com:37000', |
| | | target: 'http://192.168.1.16:37000', |
| | | // target: 'http://192.168.1.16:37000', |
| | | // target: 'http://192.168.0.105:37000', |
| | | target: 'http://192.168.43.251:37000', |
| | | // target: 'http://192.168.0.103:37000', |
| | | // target: 'http://192.168.1.63:37000', |
| | | // target: 'http://192.168.3.7:37000', |