From 8835c9e1dec836d6d8159e78b9df12ad6402ad98 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 14 十一月 2024 10:03:24 +0800
Subject: [PATCH] 修复bug 整合代码

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue
index 15b9862..8536661 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue
@@ -92,6 +92,11 @@
                          icon="el-icon-check"
                          v-if="scope.type === 'add'"
                          @click="handleSaveNext()">淇濆瓨鍚庣户缁坊鍔�</el-button>
+              <el-button type="primary"
+                         size="small"
+                         icon="el-icon-circle-plus-outline"
+                         v-if="scope.type === 'add'"
+                         @click="$refs.BottomCrud.rowSave()">淇濆瓨</el-button>
             </template>
           </avue-crud>
         </div>
@@ -154,6 +159,7 @@
         selection: false,
         refreshBtn: false,
         dialogWidth:'700',
+        saveBtn:false,
         // height:'auto',
         column: [
           {
@@ -384,9 +390,10 @@
 
     // 鍙充晶琛ㄦ牸淇℃伅
     getRightTableList(row) {
+      console.log(row);
       this.tableLoading = true;
       const params = {
-        plactioncls: row.id
+        plactioncls: row.id ? row.id : ''
       }
       getActionTableData(params).then(res => {
         const data = res.data.data;
@@ -427,7 +434,7 @@
       }
       this.tableLoading = true;
       const apiParams = {
-        plactioncls: this.treeNodeRow.id === 'root' ? '' : this.treeNodeRow.id,
+        plactioncls: this.treeNodeRow.id === 'root' ? '' : this.treeNodeRow.id ? this.treeNodeRow.id : '',
         ...params
       }
 

--
Gitblit v1.9.3