From 8b6b7aa7e4f2ae6ec14514875b559aa6890f3b1e Mon Sep 17 00:00:00 2001
From: cuilei <ray_tsu1@163.com>
Date: 星期二, 29 七月 2025 11:05:05 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/flowable/workflow/FlowTodo.vue |   49 ++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 40 insertions(+), 9 deletions(-)

diff --git a/src/views/flowable/workflow/FlowTodo.vue b/src/views/flowable/workflow/FlowTodo.vue
index 76b8b69..263059d 100644
--- a/src/views/flowable/workflow/FlowTodo.vue
+++ b/src/views/flowable/workflow/FlowTodo.vue
@@ -432,9 +432,9 @@
       selectStocktakingBoundOrderData: {},
       selectInboundOrderData: {},
       selectSparePartApplyData: {},
-      selectGuideCardData:{},
-      selectEquipmentAssignProductData:{},
-      selectEquipmentSealUpData:{},
+      selectGuideCardData: {},
+      selectEquipmentAssignProductData: {},
+      selectEquipmentSealUpData: {},
       //涓氬姟淇℃伅ID
       dataId: undefined
     }
@@ -497,7 +497,7 @@
         case 'ggApproval':
           this.handDispatchFileDetial(item)
           break
-        case 'standardized_approval':
+        case 'ncFileSettingProcessApproval':
           this.handStandardizedDetial(item)
           break
         case 'sbdjApproval':
@@ -529,6 +529,9 @@
           break
         case 'equipment_seal_up':
           this.handleEquipmentSealUp(item)
+          break
+        case 'equipment_unseal':
+          this.handleEquipmentUnSeal(item)
           break
         case 'toolInStorageApproval':
           this.handleToolInStorage(item)
@@ -580,6 +583,26 @@
       } 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
+            })
+          }
+        })
       }
     },
 
@@ -588,21 +611,21 @@
       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)
     },
-    //瀹氬瀷瀹℃壒椤甸潰
-    handStandardizedDetial(item){
+    //DNC-瀹氬瀷瀹℃壒椤甸潰
+    handStandardizedDetial(item) {
       this.selectDispatchFileXqData = item
       this.$refs.StandardizedProcessHandle.clearTableSource()
       this.$refs.StandardizedProcessHandle.getAllApproveData(item)
@@ -690,6 +713,13 @@
       this.$refs.equipmentSealUpApprovalModelRef.handleDetail(item)
       this.$refs.equipmentSealUpApprovalModelRef.disableSubmit = false
     },
+
+    handleEquipmentUnSeal(item) {
+      this.$refs.equipmentSealUpApprovalModelRef.visible = true
+      this.$refs.equipmentSealUpApprovalModelRef.title = item.name
+      this.$refs.equipmentSealUpApprovalModelRef.handleDetail(item)
+      this.$refs.equipmentSealUpApprovalModelRef.disableSubmit = false
+    },
     handleToolInStorage(item) {
       if (item && item.dataId) {
         this.selectInboundOrderData = Object.assign({}, item)
@@ -712,6 +742,7 @@
     },
     handleSparePartApplyApproval(item) {
       if (item && item.dataId) {
+        debugger
         this.selectSparePartApplyData = Object.assign({}, item)
         this.$refs.sparePartApplyModal.auditVisible = true
         this.$refs.sparePartApplyModal.clearTableSource()
@@ -726,7 +757,7 @@
       this.$refs.guideCardBatchHandle.getAllApproveData(item)
     },
     //DNC-璁惧缁撴瀯鏍戞寚娲句骇鍝佺粨鏋勬爲
-    handleEquipmentAssignProductApproval(item){
+    handleEquipmentAssignProductApproval(item) {
       console.log('item----->', item)
       this.selectEquipmentSealUpData = item
       this.$refs.assignEquipmentFileStreamHandle.clearTableSource()

--
Gitblit v1.9.3