| | |
| | | case 'ggApproval': |
| | | this.handDispatchFileDetial(item) |
| | | break |
| | | case 'standardized_approval': |
| | | case 'ncFileSettingProcessApproval': |
| | | this.handStandardizedDetial(item) |
| | | break |
| | | case 'sbdjApproval': |
| | |
| | | } else if (categorySet.has('WEEK_MAINTENANCE')) { |
| | | this.$refs.weenMaintenanceBatchApprovalModalRef.handleDetail(this.selectionRows[0]) |
| | | this.$refs.weenMaintenanceBatchApprovalModalRef.title = this.selectionRows[0].name |
| | | }else if (categorySet.has('ggApproval')){ |
| | | let ids = '' |
| | | for (let a = 0; a < this.selectedRowKeys.length; a++) { |
| | | ids += this.selectedRowKeys[a] + ',' |
| | | } |
| | | getAction(this.url.isSameNode + '?taskIds=' + ids).then((res) => { |
| | | if (res.success) { |
| | | let taskDefKey = res.result |
| | | this.selectBachData.taskIds = ids |
| | | this.selectBachData.taskDefKey = taskDefKey |
| | | this.$refs.modalFormDispatchFileBatch.title = '批量处理' |
| | | this.$refs.modalFormDispatchFileBatch.edit(this.selectBachData) |
| | | this.$refs.modalFormDispatchFileBatch.disableSubmit = false |
| | | } else { |
| | | this.$notification.warning({ |
| | | message: '消息', |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | | }, |
| | | |
| | |
| | | let result = parts[0] |
| | | return result |
| | | }, |
| | | |
| | | //DNC-指派NC程序至设备 |
| | | handDrDetial(item) { |
| | | this.selectShenpiData = item |
| | | this.$refs.modalFormApproval.clearTableSource() |
| | | this.$refs.modalFormApproval.getAllApproveData(item) |
| | | }, |
| | | |
| | | //DNC-NC程序签派 |
| | | handDispatchFileDetial(item) { |
| | | console.log('item----->', item) |
| | | this.selectDispatchFileXqData = item |
| | | this.$refs.modalFormDispatchFileXq.clearTableSource() |
| | | this.$refs.modalFormDispatchFileXq.getAllApproveData(item) |
| | | }, |
| | | //定型审批页面 |
| | | //DNC-定型审批页面 |
| | | handStandardizedDetial(item){ |
| | | this.selectDispatchFileXqData = item |
| | | this.$refs.StandardizedProcessHandle.clearTableSource() |