From 243c0592bd8708b2ab56ee937d0d4357d2b06dda Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 05 一月 2024 15:30:28 +0800
Subject: [PATCH] 修改错误字段,添加缺少字段,将下拉显示详情中的内容改成中文

---
 north-glass-erp/northglass-erp/src/views/pp/machine/MaintenanceAndRepair.vue |   84 ++++++++++++++++++++++++-----------------
 1 files changed, 49 insertions(+), 35 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/machine/MaintenanceAndRepair.vue b/north-glass-erp/northglass-erp/src/views/pp/machine/MaintenanceAndRepair.vue
index cb80956..76916e1 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/machine/MaintenanceAndRepair.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/machine/MaintenanceAndRepair.vue
@@ -62,19 +62,20 @@
   },//琛ㄥご鍙傛暟
   columns:[
     {type:'expand',fixed:"left",slots: { content:'content' },width: 50},
-    { type: 'seq',fixed:"left", title: '鑷簭', width: 50 },
     {title: '鎿嶄綔', width: 140, slots: { default: 'button_slot' },fixed:"left"},
-    {field: 'deviceName', width: 130,title: '璁惧鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
-    {field: 'types',width: 120, title: '绫诲瀷',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true},
-    {field: 'faultDate', width: 100,title: '鏁呴殰鏃ユ湡', sortable: true,showOverflow:"ellipsis"},
-    {field: 'failureCause', width: 100,title: '鏁呴殰鍘熷洜', sortable: true},
-    {field: 'maintenanceDate',width: 100, title: '淇濆吇鏃ユ湡', sortable: true},
-    {field: 'maintenanceInstructions',width: 120, title: '淇濆吇璇存槑', sortable: true,showOverflow:"ellipsis"},
-    {field: 'RepairMaintenanceStartTime', width: 160,title: '缁翠慨/淇濆吇寮�濮嬫椂闂�', sortable: true},
-    {field: 'RepairMaintenanceEndTime',width: 160, title: '缁翠慨/淇濆吇缁撴潫鏃堕棿', sortable: true},
-    {field: 'process',width: 120, title: '鎵�鍦ㄥ伐鑹�', sortable: true},
-    {field: 'RepairMaintenancePersonnel',width: 150, title: '缁翠慨/淇濆吇浜哄憳', sortable: true},
-    {field: 'cost',width: 120, title: '璐圭敤', sortable: true},
+    { type: 'seq',fixed:"left", title: '鑷簭', width: 50 },
+
+    {field: '璁惧鍚嶇О', width: 130,title: '璁惧鍚嶇О', sortable: true,filters:[{ data: '' }],slots: { filter: 'num1_filter' }},
+    {field: '绫诲瀷',width: 120, title: '绫诲瀷',filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true},
+    {field: '鏁呴殰鏃ユ湡', width: 100,title: '鏁呴殰鏃ユ湡', sortable: true,showOverflow:"ellipsis"},
+    {field: '鏁呴殰鍘熷洜', width: 100,title: '鏁呴殰鍘熷洜', sortable: true},
+    {field: '淇濆吇鏃ユ湡',width: 100, title: '淇濆吇鏃ユ湡', sortable: true},
+    {field: '淇濆吇璇存槑',width: 120, title: '淇濆吇璇存槑', sortable: true,showOverflow:"ellipsis"},
+    {field: '缁翠慨淇濆吇寮�濮嬫椂闂�', width: 160,title: '缁翠慨/淇濆吇寮�濮嬫椂闂�', sortable: true},
+    {field: '缁翠慨淇濆吇缁撴潫鏃堕棿',width: 160, title: '缁翠慨/淇濆吇缁撴潫鏃堕棿', sortable: true},
+    {field: '鎵�鍦ㄥ伐鑹�',width: 120, title: '鎵�鍦ㄥ伐鑹�', sortable: true},
+    {field: '缁翠慨淇濆吇浜哄憳',width: 150, title: '缁翠慨/淇濆吇浜哄憳', sortable: true},
+    {field: '璐圭敤',width: 120, title: '璐圭敤', sortable: true},
   ],//琛ㄥご鎸夐挳
 
   toolbarConfig: {
@@ -89,35 +90,48 @@
   },
   data:  [
     {
-      deviceName: '閽㈠寲鐐�(22E)',
-      types: '缁翠慨',
-      faultDate: '2022-03-16',
-      failureCause: '鍧忎簡',
-      maintenanceDate:'',
-      maintenanceInstructions:'',
-      RepairMaintenanceStartTime:'2022-03-16',
-      RepairMaintenanceEndTime:'2022-03-16',
-      process:'閽㈠寲',
-      RepairMaintenancePersonnel:'SSS',
-      cost:'112',
+      璁惧鍚嶇О: '閽㈠寲鐐�(22E)',
+      绫诲瀷: '缁翠慨',
+      鏁呴殰鏃ユ湡: '2022-03-16',
+      鏁呴殰鍘熷洜: '鍧忎簡',
+      淇濆吇鏃ユ湡:'',
+      淇濆吇璇存槑:'',
+      缁翠慨淇濆吇寮�濮嬫椂闂�:'2022-03-16',
+      缁翠慨淇濆吇缁撴潫鏃堕棿:'2022-03-16',
+      鎵�鍦ㄥ伐鑹�:'閽㈠寲',
+      缁翠慨淇濆吇浜哄憳:'SSS',
+      璐圭敤:'112',
     },
     {
-      deviceName: '閽㈠寲鐐�(22E)',
-      types: '淇濆吇',
-      faultDate: '',
-      failureCause: '',
-      maintenanceDate:'2022-03-16',
-      maintenanceInstructions:'淇濆吇',
-      RepairMaintenanceStartTime:'2022-03-16',
-      RepairMaintenanceEndTime:'2022-03-16',
-      process:'閽㈠寲',
-      RepairMaintenancePersonnel:'SSS',
-      cost:'112',
+      璁惧鍚嶇О: '閽㈠寲鐐�(22E)',
+      绫诲瀷: '缁翠慨',
+      鏁呴殰鏃ユ湡: '2022-03-16',
+      鏁呴殰鍘熷洜: '鍧忎簡',
+      淇濆吇鏃ユ湡:'',
+      淇濆吇璇存槑:'',
+      缁翠慨淇濆吇寮�濮嬫椂闂�:'2022-03-16',
+      缁翠慨淇濆吇缁撴潫鏃堕棿:'2022-03-16',
+      鎵�鍦ㄥ伐鑹�:'閽㈠寲',
+      缁翠慨淇濆吇浜哄憳:'SSS',
+      璐圭敤:'112',
+    },
+    {
+      璁惧鍚嶇О: '閽㈠寲鐐�(22E)',
+      绫诲瀷: '缁翠慨',
+      鏁呴殰鏃ユ湡: '2022-03-16',
+      鏁呴殰鍘熷洜: '鍧忎簡',
+      淇濆吇鏃ユ湡:'',
+      淇濆吇璇存槑:'',
+      缁翠慨淇濆吇寮�濮嬫椂闂�:'2022-03-16',
+      缁翠慨淇濆吇缁撴潫鏃堕棿:'2022-03-16',
+      鎵�鍦ㄥ伐鑹�:'閽㈠寲',
+      缁翠慨淇濆吇浜哄憳:'SSS',
+      璐圭敤:'112',
     },
   ],//table body瀹為檯鏁版嵁
   //鑴氶儴姹傚拰
   footerMethod ({ columns, data }) {//椤佃剼鍑芥暟
-    let footList=['maintenanceFrequency','MaintenancesFrequency']
+    let footList=['璐圭敤']
     return[
       columns.map((column, columnIndex) => {
         if (columnIndex === 0) {

--
Gitblit v1.8.0