From 370b26066c560f15f6a84caca2be149e48e86556 Mon Sep 17 00:00:00 2001
From: 田源 <tianyuan@vci-tech.com>
Date: 星期二, 07 一月 2025 15:52:05 +0800
Subject: [PATCH] 系统菜单 默认显示&&系统配置、对象建模按钮权限以及按钮图标

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue
index a658870..0f567a7 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue
@@ -410,6 +410,7 @@
     </el-container>
 
     <!-- 娣诲姞鑷畾涔夌粍浠� -->
+
     <el-dialog
       v-dialogDrag
       v-loading="customLoading"
@@ -795,7 +796,7 @@
           <avue-tree :key="refresh" ref="authTree" v-model="treeAuthForm" :data="treeAuthData" :option="treeAuthOption"
                      @check-change="treeAuthCheckChange">
               <span slot-scope="{ node, data }" class="el-tree-node__label">
-           <span style="font-size: 15px">
+           <span>
               <i class="el-icon-s-promotion"></i>
                 {{ (node || {}).label }}
             </span>
@@ -852,7 +853,6 @@
           children: 'childNodes',
         },
         treeLoad: (node, resolve) => {
-          // console.log(node);
           const params = {
             'conditionMap[dataType]': node.data.data,
             'conditionMap[parentId]': node.data.data,
@@ -1027,6 +1027,7 @@
       ],
       form: {},
       topForm: {
+        itemQtName: '',
         columnNumber: 8,
         showColumn: '3',
         viName: '',
@@ -1244,7 +1245,6 @@
     // 閫夐」琛ㄦ牸琛岀偣鍑�
     optionTableClick(row) {
       this.optionRow = row;
-      console.log(row);
     },
 
     customOptionTableClick(row) {
@@ -1288,11 +1288,10 @@
 
     // 閫夐」鍒犻櫎
     optionDeleteClickHandler(val) {
-      // console.log(this.optionRow);
       if (val === 'dialog') {
-        this.customForm.itemKeyValueList.splice(this.customOptionRow.index,1);
+        this.customForm.itemKeyValueList.splice(this.customOptionRow.index, 1);
       } else {
-        this.form.itemKeyValueList.splice(this.optionRow.index,1);
+        this.form.itemKeyValueList.splice(this.optionRow.index, 1);
       }
     },
 
@@ -1415,8 +1414,6 @@
         const data = res.data.data;
         this.customAttrData = data;
         this.customAttrLoading = false;
-      }).catch(err => {
-        this.$message.error(err)
       });
     },
 
@@ -1426,7 +1423,6 @@
         this.$message.error('璇烽�夋嫨涓�鏉℃暟鎹繘琛屼繚瀛�');
         return;
       }
-      // console.log(this.customAttrRow)
       this.customForm.text = this.customAttrRow.id;
       this.customAttrVisible = false;
     },
@@ -1438,11 +1434,9 @@
         return;
       }
 
-
       this.formList = this.formList.map(item =>
         item.text === this.form.text ? this.form : item
       );
-      console.log(this.formList);
 
       this.$message.success('搴旂敤鎴愬姛');
     },
@@ -1500,13 +1494,11 @@
         return `${key}=${oids.join(',')}`; // 鐢� , 杩炴帴鍚屼竴绫诲瀷鐨� oid
       }).join('&&'); // 鏈�鍚庣敤 && 杩炴帴涓嶅悓绫诲瀷
 
-      // console.log(resultString);
       if (this.authType === 'attr') {
         this.customForm.itemRight = resultString;
       } else {
         this.form.itemRight = resultString;
       }
-      // this.form.itemRight = resultString;
       this.authDialogClose();
     }
 
@@ -1553,3 +1545,4 @@
 //}
 
 </style>
+

--
Gitblit v1.9.3