From 33855a1961d581727cfbf59230085e6b95cc549c Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期一, 29 四月 2024 15:56:37 +0800
Subject: [PATCH] action

---
 Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
index ba90e03..886e7f7 100644
--- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
+++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
@@ -16,7 +16,9 @@
                @selection-change="selectChange">
       <!--top鍖哄煙鎸夐挳-->
       <template slot="menuLeft" slot-scope="scope">
-        <dynamic-button :componentVO="componentVO" :butttonList="componentVO.buttons" :dataStore="selectList" LocationType="top" :sourceData="sourceData"
+        <dynamic-button :componentVO="componentVO"
+                        :key="areasName+'buttons-'+componentVO.oid"
+                        :butttonList="componentVO.buttons" :dataStore="selectList" LocationType="top" :sourceData="sourceData"
                         type="table"></dynamic-button>
       </template>
 
@@ -51,6 +53,11 @@
     inDialog: {
       type: Boolean,
       default: false
+    },
+    canEdit:{
+      //鍐呭鏄惁鍙紪杈�
+      type:Boolean,
+      default:false
     },
     areasName: {
       type: String,
@@ -114,7 +121,7 @@
         height: '100%',
         calcHeight: 15,
         indexFixed: false,
-        menuFixed: 'right',
+        menuFixed: this.areasName === 'westArea' ? false : 'right',
         searchMenuSpan:12,
         searchShow:false,
         column: [],
@@ -316,7 +323,11 @@
     },
     selectionClear() {
       this.selectionList = [];
-      this.$refs.dataTable.toggleSelection();
+      try {
+        this.$refs.dataTable.toggleSelection();
+      }catch (e) {
+
+      }
     },
     handleRefresh() {
       this.onLoad(this.page, this.query);

--
Gitblit v1.9.3