From 336dcb70c156c947530eab0f0a96ee17de477929 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期五, 12 七月 2024 18:04:33 +0800
Subject: [PATCH] 设备管理修改

---
 src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue |   55 +++++++++++++++++++++++++++++--------------------------
 1 files changed, 29 insertions(+), 26 deletions(-)

diff --git a/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue b/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
index a0b2938..2cbd122 100644
--- a/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
+++ b/src/views/eam/modules/dailyMaintenanceStandard/JSelectMaintenanceStandardModal.vue
@@ -102,42 +102,43 @@
           align: 'center',
           dataIndex: 'standard'
         },
-        {
-          title: '鏂规硶',
-          align: 'center',
-          dataIndex: 'maintenanceMethod_dictText'
-        },
-        {
-          title: '宸ュ叿',
-          align: 'center',
-          dataIndex: 'maintenanceTool'
-        },
-        {
-          title: '缁翠繚涓撲笟',
-          align: 'center',
-          dataIndex: 'maintenanceSpecialtyId_dictText'
-        },
+        // {
+        //   title: '鏂规硶',
+        //   align: 'center',
+        //   dataIndex: 'maintenanceMethod_dictText'
+        // },
+        // {
+        //   title: '宸ュ叿',
+        //   align: 'center',
+        //   dataIndex: 'maintenanceTool'
+        // },
+        // {
+        //   title: '缁翠繚涓撲笟',
+        //   align: 'center',
+        //   dataIndex: 'maintenanceSpecialtyId_dictText'
+        // },
         {
           title: '淇濆吇閮ㄤ綅',
           align: 'center',
           dataIndex: 'location'
         },
-        {
-          title: '瀹夊叏瑕佹眰',
-          align: 'center',
-          dataIndex: 'maintenanceRequire'
-        },
-        {
-          title: '宸ユ椂瀹氶',
-          align: 'center',
-          dataIndex: 'workingHourQuota'
-        },
+        // {
+        //   title: '瀹夊叏瑕佹眰',
+        //   align: 'center',
+        //   dataIndex: 'maintenanceRequire'
+        // },
+        // {
+        //   title: '宸ユ椂瀹氶',
+        //   align: 'center',
+        //   dataIndex: 'workingHourQuota'
+        // },
       ],
       selectedRowKeys: [],
       oldSelectRows: [],
       scrollTrigger: {},
       dataSource: [],
       selectionRows: [],
+      selectionRowsNotClear: [],
       title: '鏍规嵁鏌ヨ缁撴灉閫夋嫨淇濆吇椤圭洰',
       ipagination: {
         current: 1,
@@ -167,6 +168,7 @@
         type: 'checkbox',
         onChange: (selectedRowKeys, selectedRows) => {
           this.selectedRowKeys = selectedRowKeys
+          this.selectionRowsNotClear.push(selectedRows)
           this.onSelectChange(selectedRows)
         },
         getCheckboxProps: record => ({
@@ -209,6 +211,7 @@
 
     showModals(oldSelectRows) {
       this.selectionRows = []
+      this.selectionRowsNotClear = []
       this.oldSelectRows = oldSelectRows
       this.visible = true
       this.loadData(1)
@@ -252,7 +255,7 @@
       this.loadData()
     },
     handleSubmit() {
-      this.$bus.$emit('selectionRows', this.selectionRows)
+      this.$bus.$emit('selectionRows', this.selectionRowsNotClear)
       // this.searchReset(0)
       this.close()
     },

--
Gitblit v1.9.3