From 6c16bede88a1d776f0eced7028cca2080a1a606f Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期三, 23 四月 2025 09:36:23 +0800
Subject: [PATCH] art: 设备管理-周保工单-按钮权限控制,批量领取

---
 src/views/flowable/workflow/FlowCompleted.vue |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/views/flowable/workflow/FlowCompleted.vue b/src/views/flowable/workflow/FlowCompleted.vue
index c851a89..21cf990 100644
--- a/src/views/flowable/workflow/FlowCompleted.vue
+++ b/src/views/flowable/workflow/FlowCompleted.vue
@@ -27,7 +27,7 @@
           <a-col :xl="6" :lg="7" :md="8" :sm="24">
             <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
               <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
-              <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
+              <a-button @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
             </span>
           </a-col>
         </a-row>
@@ -80,6 +80,8 @@
     </div>
 
     <inspection-order-handle ref="modalFormInspectionOrderXq" :selectShenpiData="selectInspectionOrderXqData"/>
+
+    <week-maintenance-approval-modal ref="weekMaintenanceApprovalModal" :selectShenpiData="selectWeekMaintenanceData"/>
   </a-card>
 </template>
 
@@ -90,11 +92,13 @@
   import { JeecgListMixin } from '@/mixins/JeecgListMixin'
   import JDictSelectTag from '@/components/dict/JDictSelectTag.vue'
   import InspectionOrderHandle from './InspectionOrder/InspectionOrderHandle'
+  import WeekMaintenanceApprovalModal from './weekMaintenance/WeekMaintenanceApprovalModal'
 
   export default {
     name: 'NcDeviceCharactersList',
     mixins: [JeecgListMixin, mixinDevice],
     components: {
+      WeekMaintenanceApprovalModal,
       InspectionOrderHandle,
       JDictSelectTag
     },
@@ -162,8 +166,7 @@
           list: '/assign/flow/finishedList'
         },
         dictOptions: {},
-        selectShenpiData: {},
-        selectDispatchFileXqData: {},
+        selectWeekMaintenanceData: {},
         selectInspectionOrderXqData: {}
       }
     },
@@ -199,8 +202,11 @@
         return result
       },
 
-      handleWeekMaintenance() {
-
+      handleWeekMaintenance(record) {
+        this.selectWeekMaintenanceData = Object.assign({}, record)
+        this.$refs.weekMaintenanceApprovalModal.handleDetail(record)
+        this.$refs.weekMaintenanceApprovalModal.title = '璇︽儏'
+        this.$refs.weekMaintenanceApprovalModal.disableSubmit = true
       },
 
       handInspectionOrder(record) {

--
Gitblit v1.9.3