From d8750fe7ab9bd6691cb3078f7cf365ae1f64ac06 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期一, 09 六月 2025 11:45:08 +0800
Subject: [PATCH] 利用率分段分析页面时间段默认值从00:00至08:00点调整为00:00至23:59分

---
 src/views/flowable/workflow/InspectionOrder/InspectionOrderHandle.vue |   59 ++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 50 insertions(+), 9 deletions(-)

diff --git a/src/views/flowable/workflow/InspectionOrder/InspectionOrderHandle.vue b/src/views/flowable/workflow/InspectionOrder/InspectionOrderHandle.vue
index c99495f..9a8dc93 100644
--- a/src/views/flowable/workflow/InspectionOrder/InspectionOrderHandle.vue
+++ b/src/views/flowable/workflow/InspectionOrder/InspectionOrderHandle.vue
@@ -23,10 +23,23 @@
             </a-form-model-item>
           </a-col>
           <a-col :span='span'>
+            <a-form-model-item label="宸ュ崟鐘舵��">
+              <a-input readOnly v-model="tableRowRecord.inspectionStatus_dictText"/>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span='span'>
             <a-form-model-item label="璁惧缂栧彿">
               <MaintenanceEquipmentSelect v-model="tableRowRecord.equipmentId"
                                           :maintenanceCategory="'POINT_INSPECTION'" disabled
                                           @autocompleteForm="autoCompleteForm"/>
+            </a-form-model-item>
+          </a-col>
+        </a-row>
+
+        <a-row>
+          <a-col :span='span'>
+            <a-form-model-item label="瀹夎浣嶇疆">
+              <a-input readOnly v-model="tableRowRecord.installationPosition_dictText"/>
             </a-form-model-item>
           </a-col>
           <a-col :span='span'>
@@ -34,12 +47,17 @@
               <a-input readOnly v-model="tableRowRecord.standardName"/>
             </a-form-model-item>
           </a-col>
+          <a-col :span='span'>
+            <a-form-model-item label="鏍囧噯缂栫爜">
+              <a-input readOnly v-model="tableRowRecord.standardCode"/>
+            </a-form-model-item>
+          </a-col>
         </a-row>
 
         <a-row>
           <a-col :span='span'>
-            <a-form-model-item label="鏍囧噯缂栫爜">
-              <a-input readOnly v-model="tableRowRecord.standardCode"/>
+            <a-form-model-item label="淇濆吇鍛ㄦ湡">
+              <a-input v-model="tableRowRecord.maintenancePeriod" readOnly/>
             </a-form-model-item>
           </a-col>
           <a-col :span='span'>
@@ -55,14 +73,20 @@
         </a-row>
 
         <a-row>
-          <a-col :span='span'>
-            <a-form-model-item label="淇濆吇鍛ㄦ湡">
-              <a-input v-model="tableRowRecord.maintenancePeriod" readOnly/>
-            </a-form-model-item>
-          </a-col>
+
           <a-col :span='span'>
             <a-form-model-item label="鐐规浜�">
               <a-input v-model="tableRowRecord.operator_dictText" readOnly/>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span='span'>
+            <a-form-model-item label="鐐规浜虹數璇�">
+              <a-input v-model="tableRowRecord.operatorPhone_dictText" readOnly/>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span='span'>
+            <a-form-model-item label="浣滀笟鎸囧">
+              <a-button  @click="handlePreview(tableRowRecord.referenceFile)" type="primary" icon="eye">棰勮</a-button>
             </a-form-model-item>
           </a-col>
         </a-row>
@@ -190,6 +214,8 @@
         </template>
       </a-form-model>
     </a-spin>
+
+    <lx-file-preview ref="lxFilePreview" :fileUrl="fileUrl"></lx-file-preview>
   </j-modal>
 </template>
 
@@ -309,7 +335,8 @@
         selectedRowKeys: [],
         disableSubmit: false,
         activeTabKey: '1',
-        title: ''
+        title: '',
+        fileUrl: '',
       }
     },
     computed: {
@@ -414,10 +441,11 @@
         })
       },
 
-      autoCompleteForm({ standardName, maintenancePeriod, standardCode }) {
+      autoCompleteForm({ standardName, maintenancePeriod, standardCode, referenceFile }) {
         this.$set(this.tableRowRecord, 'standardName', standardName)
         this.$set(this.tableRowRecord, 'maintenancePeriod', maintenancePeriod)
         this.$set(this.tableRowRecord, 'standardCode', standardCode)
+        this.$set(this.tableRowRecord, 'referenceFile', referenceFile)
       },
 
       // 鎵归噺閫夋嫨鎵�鏈夌偣妫�缁撴灉
@@ -482,6 +510,19 @@
             })
         }
       },
+      handlePreview: function (fileJson) {
+        if(fileJson) {
+          let obj = JSON.parse(fileJson)
+          if(obj.filePath) {
+            this.$refs.lxFilePreview.preview(obj.filePath);
+          }else {
+            that.$message.warning('娌℃湁涓婁紶鎿嶄綔鎸囧鍥剧墖')
+          }
+        }else {
+          that.$message.warning('娌℃湁涓婁紶鎿嶄綔鎸囧鍥剧墖')
+        }
+
+      },
     }
   }
 </script>

--
Gitblit v1.9.3