From a471b20fe8075a663f32b3a2ee0cd70c1c63baf7 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 21 十一月 2024 21:59:42 +0800
Subject: [PATCH] 业务类型查询:树查询修改,数据列表查询接口修改(处理模板套模板情况下freemarker表达式的替换处理)。

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 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..c044f35 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
       }
 
@@ -665,8 +672,8 @@
           this.$message.success('鍒嗙被鍒涘缓鎴愬姛');
           this.getTreeList();
         }
-        done();
       })
+      done();
       loading();
     },
 

--
Gitblit v1.9.3