From 15a40c01ab09810f0f79351f06d6951e305d8ec9 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期二, 10 六月 2025 16:21:43 +0800
Subject: [PATCH] 保养修改

---
 src/views/eam/modules/dailyInspectionStandard/JSelectDailylnspectionStandardModal.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/views/eam/modules/dailyInspectionStandard/JSelectDailylnspectionStandardModal.vue b/src/views/eam/modules/dailyInspectionStandard/JSelectDailylnspectionStandardModal.vue
index ac9e74a..17597c8 100644
--- a/src/views/eam/modules/dailyInspectionStandard/JSelectDailylnspectionStandardModal.vue
+++ b/src/views/eam/modules/dailyInspectionStandard/JSelectDailylnspectionStandardModal.vue
@@ -164,6 +164,7 @@
         type: 'checkbox',
         onChange: (selectedRowKeys, selectedRows) => {
           this.selectedRowKeys = selectedRowKeys
+          this.onSelectChange(selectedRows)
         },
         onSelect: (record, selected, selectedRows) => {
           if (selected) {
@@ -259,14 +260,18 @@
       this.loadData()
     },
     handleSubmit() {
-      this.$bus.$emit('selectionRows', this.selectionRowsNotClear)
+      // this.$bus.$emit('selectionRows', this.selectionRowsNotClear)
+      this.$bus.$emit('selectionRows', this.selectionRows)
       this.searchReset(0)
       this.close()
     },
-    onSelectionChange(selectedRowKeys, selectedRows) {
-      this.selectedRowKeys = selectedRowKeys;
-      this.selectedRows = selectedRows;
+    onSelectChange(selectionRows) {
+      this.selectionRows = selectionRows
     },
+    // onSelectionChange(selectedRowKeys, selectedRows) {
+    //   this.selectedRowKeys = selectedRowKeys;
+    //   this.selectedRows = selectedRows;
+    // },
 
     searchQuery() {
       this.loadData(1)

--
Gitblit v1.9.3