From 3457909638c660c0cfcb521b6104ab64c679b914 Mon Sep 17 00:00:00 2001
From: zenglf <18502938215@163.com>
Date: 星期二, 19 九月 2023 16:23:16 +0800
Subject: [PATCH] 修改页面左右展示比例

---
 src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue
index 5923fdd..6088e91 100644
--- a/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue
+++ b/src/views/eam/modules/dailyMaintenanceStandard/DailyMaintenanceStandardModal.vue
@@ -292,8 +292,9 @@
             v-if="col.dataIndex == 'location'"
             :maxLength="500"
             auto-size
-            placeholder="璇疯緭鍏ヤ綅缃�"
+            placeholder="璇疯緭鍏ヤ繚鍏讳綅缃�"
             @change="(e)=>handleChange(e, record.key, col, index)"
+            :disabled="true"
           />
           <j-image-upload
             :value="text"
@@ -304,6 +305,16 @@
             @change="(e)=>handleChange(e, record.key, col, index)"
           >
           </j-image-upload>
+          <j-dict-select-tag
+            v-if="col.dataIndex == 'maintenanceRole'"
+            :value="text"
+            allow-clear
+            :triggerChange="true"
+            dictCode="maintenance_role"
+            placeholder="璇烽�夋嫨淇濆吇瑙掕壊"
+            style="width: 100%"
+            @change="(e)=>handleChange(e, record.key, col, index)"
+          />
         </div>
       </template>
 
@@ -485,7 +496,7 @@
           width: 150,
         },
         {
-          title: '閮ㄤ綅',
+          title: '淇濆吇閮ㄤ綅',
           align: 'center',
           dataIndex: 'location',
           scopedSlots: { customRender: 'location' },
@@ -496,6 +507,13 @@
           align: 'center',
           dataIndex: 'maintenanceCycleId',
           scopedSlots: { customRender: 'maintenanceCycleId' },
+          width: 150,
+        },
+        {
+          title: '淇濆吇瑙掕壊',
+          align: 'center',
+          dataIndex: 'maintenanceRole',
+          scopedSlots: { customRender: 'maintenanceRole' },
           width: 150,
         },
         {
@@ -593,6 +611,7 @@
           standard: data[i].standard,
           maintenanceMethodName: data[i].maintenanceMethod_dictText,
           maintenanceTool: data[i].maintenanceTool,
+          location: data[i].location,
           maintenanceSpecialtyName: data[i].maintenanceSpecialtyId_dictText,
           maintenanceRequire: data[i].maintenanceRequire,
           workingHourQuota: data[i].workingHourQuota,
@@ -815,6 +834,9 @@
         if (column.dataIndex == 'location') {
           target[column.dataIndex] = value.target.value;
         }
+        if (column.dataIndex == 'maintenanceRole') {
+          target[column.dataIndex] = value;
+        }
         //鏄剧ず甯﹁繃鏉ョ殑鏁版嵁
         that.dataSource = temp;
       }

--
Gitblit v1.9.3