From 3db6d5c4d17ab9942a5c89a167c1f06ca485f355 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期三, 16 七月 2025 21:21:14 +0800
Subject: [PATCH] 二保工单审批调整

---
 src/views/flowable/workflow/thirdMaintenance/ThirdMaintenanceApprovalModal.vue |  188 +++++++++++++++++++++++-----------------------
 1 files changed, 94 insertions(+), 94 deletions(-)

diff --git a/src/views/flowable/workflow/thirdMaintenance/ThirdMaintenanceApprovalModal.vue b/src/views/flowable/workflow/thirdMaintenance/ThirdMaintenanceApprovalModal.vue
index f1b933b..8d86f59 100644
--- a/src/views/flowable/workflow/thirdMaintenance/ThirdMaintenanceApprovalModal.vue
+++ b/src/views/flowable/workflow/thirdMaintenance/ThirdMaintenanceApprovalModal.vue
@@ -110,25 +110,25 @@
                 </template>
               </j-vxe-table>
             </a-tab-pane>
-            <a-tab-pane key='4' tab='绮惧害妫�楠�' v-if="!isMaintenance">
-              <j-vxe-table
-                ref="editablePrecisionDetailTable"
-                :rowNumber="true"
-                :rowSelection="true"
-                :bordered="true"
-                :alwaysEdit="true"
-                :toolbar="false"
-                :toolbarConfig="precisionDetail.toolbarConfig"
-                keep-source
-                :height="300"
-                :dataSource="precisionDetail.dataSource"
-                :columns="precisionDetail.columns"
-                style="margin-top: 8px;" >
-                <template v-slot:actualValue="props">
-                  <a-input-number v-model="props.row.actualValue" :disabled="disableSubmit || confirmDisable" style="width: 100%" />
-                </template>
-              </j-vxe-table>
-            </a-tab-pane>
+<!--            <a-tab-pane key='4' tab='绮惧害妫�楠�' v-if="!isMaintenance">-->
+<!--              <j-vxe-table-->
+<!--                ref="editablePrecisionDetailTable"-->
+<!--                :rowNumber="true"-->
+<!--                :rowSelection="true"-->
+<!--                :bordered="true"-->
+<!--                :alwaysEdit="true"-->
+<!--                :toolbar="false"-->
+<!--                :toolbarConfig="precisionDetail.toolbarConfig"-->
+<!--                keep-source-->
+<!--                :height="300"-->
+<!--                :dataSource="precisionDetail.dataSource"-->
+<!--                :columns="precisionDetail.columns"-->
+<!--                style="margin-top: 8px;" >-->
+<!--                <template v-slot:actualValue="props">-->
+<!--                  <a-input-number v-model="props.row.actualValue" :disabled="disableSubmit || confirmDisable" style="width: 100%" />-->
+<!--                </template>-->
+<!--              </j-vxe-table>-->
+<!--            </a-tab-pane>-->
             <template v-if="selectShenpiData.procInstId">
               <a-tab-pane key='2' tab='娴佺▼鑺傜偣'>
                 <a-card :bordered="false">
@@ -249,7 +249,7 @@
           userSelect: '/eam/user_select/list',
           queryHisTaskList: '/assign/flow/queryHisTaskList',
           diagramView: '/assign/flow/diagramView',
-          precisionCheckDetail: '/eam/precisionCheckDetail/queryList',
+          // precisionCheckDetail: '/eam/precisionCheckDetail/queryList',
         },
         disableSubmit: false,
         taskData: [],
@@ -332,70 +332,70 @@
             btn: ['clearSelection']
           }
         },
-        precisionDetail: {
-          loading: false,
-          dataSource: [],
-          columns: [
-            {
-              title: 'ID',
-              key: 'id',
-              type: JVXETypes.hidden
-            },
-            {
-              title: 'orderId',
-              key: 'orderId',
-              type: JVXETypes.hidden
-            },
-            {
-              title: 'equipmentId',
-              key: 'equipmentId',
-              type: JVXETypes.hidden
-            },
-            {
-              title: 'parameterId',
-              key: 'parameterId',
-              type: JVXETypes.hidden
-            },
-            {
-              title: '妫�娴嬮」鐩�',
-              key: 'parameterId_dictText',
-              type: JVXETypes.normal,
-              width: '25%',
-              align: 'center'
-            },
-            {
-              title: '鍙傛暟缂栫爜',
-              key: 'parameterCode_dictText',
-              type: JVXETypes.normal,
-              width: '20%',
-              align: 'center',
-            },
-            {
-              title: '鍏佸樊鍊�',
-              key: 'parameterValue',
-              type: JVXETypes.normal,
-              width: '15%',
-              align: 'center',
-            },
-            {
-              title: '瀹炴祴鍊�',
-              key: 'actualValue',
-              type: JVXETypes.slot,
-              width: '15%',
-              align: 'center',
-              slotName: 'actualValue',
-              validateRules: [
-                { required: true, message: '璇疯緭鍏ュ疄娴嬪�硷紒' }
-              ]
-            }
-          ],
-          toolbarConfig: {
-            // prefix 鍓嶇紑锛泂uffix 鍚庣紑
-            slot: ['prefix', 'suffix'],
-            // add 鏂板鎸夐挳锛況emove 鍒犻櫎鎸夐挳锛沜learSelection 娓呯┖閫夋嫨鎸夐挳
-            btn: ['add', 'remove', 'clearSelection']
-          }
-        }
+        // precisionDetail: {
+        //   loading: false,
+        //   dataSource: [],
+        //   columns: [
+        //     {
+        //       title: 'ID',
+        //       key: 'id',
+        //       type: JVXETypes.hidden
+        //     },
+        //     {
+        //       title: 'orderId',
+        //       key: 'orderId',
+        //       type: JVXETypes.hidden
+        //     },
+        //     {
+        //       title: 'equipmentId',
+        //       key: 'equipmentId',
+        //       type: JVXETypes.hidden
+        //     },
+        //     {
+        //       title: 'parameterId',
+        //       key: 'parameterId',
+        //       type: JVXETypes.hidden
+        //     },
+        //     {
+        //       title: '妫�娴嬮」鐩�',
+        //       key: 'parameterId_dictText',
+        //       type: JVXETypes.normal,
+        //       width: '25%',
+        //       align: 'center'
+        //     },
+        //     {
+        //       title: '鍙傛暟缂栫爜',
+        //       key: 'parameterCode_dictText',
+        //       type: JVXETypes.normal,
+        //       width: '20%',
+        //       align: 'center',
+        //     },
+        //     {
+        //       title: '鍏佸樊鍊�',
+        //       key: 'parameterValue',
+        //       type: JVXETypes.normal,
+        //       width: '15%',
+        //       align: 'center',
+        //     },
+        //     {
+        //       title: '瀹炴祴鍊�',
+        //       key: 'actualValue',
+        //       type: JVXETypes.slot,
+        //       width: '15%',
+        //       align: 'center',
+        //       slotName: 'actualValue',
+        //       validateRules: [
+        //         { required: true, message: '璇疯緭鍏ュ疄娴嬪�硷紒' }
+        //       ]
+        //     }
+        //   ],
+        //   toolbarConfig: {
+        //     // prefix 鍓嶇紑锛泂uffix 鍚庣紑
+        //     slot: ['prefix', 'suffix'],
+        //     // add 鏂板鎸夐挳锛況emove 鍒犻櫎鎸夐挳锛沜learSelection 娓呯┖閫夋嫨鎸夐挳
+        //     btn: ['add', 'remove', 'clearSelection']
+        //   }
+        // }
       }
     },
     created() {
@@ -459,7 +459,7 @@
         this.model.instanceId = item.procInstId
         this.model.values = item.variables
         await this.loadDetail(item.dataId)
-        await this.loadPrecisionDetail(item.dataId);
+        // await this.loadPrecisionDetail(item.dataId);
       },
 
       recordDetail(record) {
@@ -549,15 +549,15 @@
             })
         }
       },
-      loadPrecisionDetail(orderId) {
-        if (orderId) {
-          getAction(this.url.precisionCheckDetail, { orderId: orderId }).then(res => {
-            if (res.success) {
-              this.precisionDetail.dataSource = [...res.result]
-            }
-          })
-        }
-      },
+      // loadPrecisionDetail(orderId) {
+      //   if (orderId) {
+      //     getAction(this.url.precisionCheckDetail, { orderId: orderId }).then(res => {
+      //       if (res.success) {
+      //         this.precisionDetail.dataSource = [...res.result]
+      //       }
+      //     })
+      //   }
+      // },
       loadMaintenanceOperatorList(equipmentId) {
         this.maintenanceOperatorOptions = []
         let params = { positionCode: 'PCR0001' }

--
Gitblit v1.9.3