From a751e547d67c4f8e2c6fddf958c1559f792515bd Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期五, 27 六月 2025 16:11:50 +0800
Subject: [PATCH] 添加工作流

---
 src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue |   54 ++++++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 48 insertions(+), 6 deletions(-)

diff --git a/src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue b/src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue
index 627783b..2e19c85 100644
--- a/src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue
+++ b/src/views/eam/modules/daily3MaintenanceOrder/EquipmentPrecisionCheckOrderModal.vue
@@ -70,7 +70,7 @@
               :wrapperCol="wrapperCol"
               label="淇濆吇鍗曚綅"
             >
-              <span v-if="this.model != null">{{ this.model.actualEndTime }}</span>
+              <span v-if="this.model != null">{{ this.model.manageName }}</span>
               <span v-else>-</span>
             </a-form-item>
           </a-col>
@@ -197,8 +197,7 @@
             <a-input v-model="model.sparePart" />
           </a-form-item>
         </a-col>
-      </a-row>
-      <a-row :gutter="24">
+
         <a-col :span="12">
           <a-form-item
             :labelCol="{ span: 8 }"
@@ -213,7 +212,10 @@
             />
           </a-form-item>
         </a-col>
-        <a-col :span="12">
+      </a-row>
+      <a-row :gutter="24">
+
+        <!-- <a-col :span="12">
           <a-form-item
             :labelCol="{ span: 8 }"
             :wrapperCol="{ span: 4 }"
@@ -225,6 +227,35 @@
               @change="handle5Switch(model.meetProcessRequire)"
               :checked="model.meetProcessRequire == '1'"
             />
+          </a-form-item>
+        </a-col> -->
+        <a-col :span="12">
+          <a-form-item
+            style="font-size: large;font-style: normal;font-size: 15px;"
+            :labelCol="{ span: 8 }"
+            :wrapperCol="{ span: 12 }"
+            label="鑳藉惁婊¤冻鍔犲伐宸ヨ壓瑕佹眰"
+          >
+            <j-dict-select-tag
+              style="font-size: large;font-style: normal;font-size: 15px;width: 100%"
+              allow-clear
+              :triggerChange="true"
+              dictCode="meet_process_require"
+              v-model="model.meetProcessRequire"
+            />
+
+          </a-form-item>
+        </a-col>
+        <a-col
+          v-if="model.meetProcessRequire =='3'"
+          :span="12"
+        >
+          <a-form-item
+            :labelCol="{ span: 8 }"
+            :wrapperCol="{ span: 12 }"
+            label="鑷畾涔夎鏄庯細"
+          >
+            <a-input v-model="model.meetProcessRequireRemark" />
           </a-form-item>
         </a-col>
       </a-row>
@@ -312,8 +343,14 @@
         @click="handleOk()"
         type="primary"
         :loading="confirmLoading"
-        :disabled="this.model.precisionInspectionStatus == '5'"
+        :disabled="this.model.precisionInspectionStatus == '5' || this.model.statusFlag !== this.model.precisionInspectionStatus"
       >纭畾</a-button>
+      <!-- <a-button
+        @click="handleOk()"
+        type="primary"
+        :loading="confirmLoading"
+        :disabled="this.model.precisionInspectionStatus == '5'"
+      >纭畾</a-button> -->
 
     </template>
   </a-modal>
@@ -377,6 +414,7 @@
       dataSource: [],
       model: {},
       departs: [],
+
       labelCol: {
         xs: { span: 24 },
         sm: { span: 6 },
@@ -406,7 +444,7 @@
 
   methods: {
 
-    edit(record) {
+    edit(record, statusFlag) {
       let that = this;
       if (record.receipts2 == "" || record.receipts2 == null) {
         this.getSysFileName()
@@ -418,6 +456,9 @@
       // record.meetProcessRequire = '0'
       // record.judgmentResult = ""
       this.model = Object.assign({}, record);
+      // alert("1" + statusFlag)
+      // alert("2" + record.precisionInspectionStatus)
+      this.model.statusFlag = statusFlag;
       this.getPrecisionInspection()
       // this.getEquipmentPrecision()
       this.visible = true;
@@ -488,6 +529,7 @@
         if (res.success) {
           this.dataSource = res.result[0].precisionInspectionDetails
           this.model = Object.assign(this.model, res.result[0]);
+          this.model = Object.assign({}, this.model);
         }
       })
     },

--
Gitblit v1.9.3