From 83aa382fd3b88ec7a564f14d41a9c8e5d43beeb3 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 09 十二月 2024 10:26:31 +0800
Subject: [PATCH] 修改表单定义样式&&修改ui上下文btmName&&添加登录密码即将过期进入首页并提醒

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 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 efaba17..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
       }
 
@@ -451,12 +458,13 @@
     beforeOpen(done, type, loading) {
       if ([ 'edit'].includes(type)) {
         // 缂栬緫閫昏緫
-        this.option.column[32].disabled = false;
+        this.$set(this.option.column[2],'disabled',false);
       } else {
         // 鏂板閫昏緫
-        this.option.column[2].disabled = true;
+        this.$set(this.option.column[2],'disabled',true);
       }
       done();
+      console.log(this.option.column)
     },
     // action鍒楄〃澧炲姞
     addClickHandler() {
@@ -664,8 +672,8 @@
           this.$message.success('鍒嗙被鍒涘缓鎴愬姛');
           this.getTreeList();
         }
-        done();
       })
+      done();
       loading();
     },
 

--
Gitblit v1.9.3