From 2243c9016feede8fd2703c62e4615444821d4133 Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期一, 05 八月 2024 09:41:35 +0800
Subject: [PATCH] 智能体管理的页面开发和功能开发

---
 src/views/authority/resource/index.vue |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/views/authority/resource/index.vue b/src/views/authority/resource/index.vue
index 3efc9c1..2017ba2 100644
--- a/src/views/authority/resource/index.vue
+++ b/src/views/authority/resource/index.vue
@@ -79,7 +79,7 @@
         <a-form-item field="menuType" label="璧勬簮绫诲瀷">
           <a-select v-model="resourceform.menuType" :options="options" :field-names="fieldNames"
                     :style="{width:'320px'}"
-                    placeholder="璇烽�夋嫨"  />
+                    placeholder="璇烽�夋嫨" />
         </a-form-item>
         <a-form-item field="perms" label="璧勬簮鎺у埗鏉冮檺瀛楃">
           <a-input v-model="resourceform.perms" />
@@ -141,6 +141,20 @@
 
 const onIconClick = (nodeData) => {
   resourceform.value.parentId = nodeData.menuId;
+  resourceform.value.component = "";
+  resourceform.value.createTime = "";
+  resourceform.value.description = "";
+  resourceform.value.icon = "";
+  resourceform.value.menuId = "";
+  resourceform.value.menuName = "";
+  resourceform.value.menuType = "";
+  resourceform.value.orderNum = "0"
+  resourceform.value.parentName = nodeData.menuName;
+  resourceform.value.path = "";
+  resourceform.value.perms = "";
+  resourceform.value.status = "";
+  resourceform.value.syesourcetype = "";
+
   visible.value = true;
 };
 

--
Gitblit v1.8.0