From 6c4bd2467bb6651c6edcf8a9741dcd4e9b1aa6d3 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 30 Jan 2026 14:42:36 +0800
Subject: [PATCH] feat:权限按钮

---
 applications/task-work-order/src/views/orderView/organizational/zoningManagement/FormDiaLog.vue |   24 ++----------------------
 1 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/applications/task-work-order/src/views/orderView/organizational/zoningManagement/FormDiaLog.vue b/applications/task-work-order/src/views/orderView/organizational/zoningManagement/FormDiaLog.vue
index 689bd27..d54e7a0 100644
--- a/applications/task-work-order/src/views/orderView/organizational/zoningManagement/FormDiaLog.vue
+++ b/applications/task-work-order/src/views/orderView/organizational/zoningManagement/FormDiaLog.vue
@@ -22,7 +22,7 @@
       </el-col>
       <el-col :span="12">
         <div class="label">区划级别</div>
-        <div class="val"> {{ getDictLabel(formData.regionLevel, dictObj.divisionLevel) }}</div>
+        <div class="val"> {{ getDictLabel(formData.regionLevel, dictObj.regionLevel) }}</div>
       </el-col>
       <el-col :span="12">
         <div class="label">区划排序</div>
@@ -86,7 +86,7 @@
               placeholder="请选择"
               clearable
             >
-              <el-option v-for="item in dictObj.divisionLevel" :key="item.dictKey"
+              <el-option v-for="item in dictObj.regionLevel" :key="item.dictKey"
 								:label="item.dictValue"
 								:value="item.dictKey" />
             </el-select>
@@ -306,29 +306,9 @@
     resolve([])
   }
 }
-// 获取初始区域数据(根节点)
-async function getRegionList() {
-  try {
-    // 懒加载模式下,只需要初始化根节点
-    const res = await regionLazyTreeApi({ code: '360800000000' })
-    const nodes = res?.data?.data || []
-    
-    // 处理根节点数据
-    regionOptions.value = nodes.map(item => {
-      return {
-        id: item.id || item.value,
-        name: item.name || item.title || item.label,
-        hasChildren: item.hasChildren || false
-      }
-    })
-  } catch (error) {
-    console.error('获取区域数据失败:', error)
-  }
-}
 defineExpose({ open })
 
 onMounted(() => {
-  getRegionList()
 })
 </script>
 

--
Gitblit v1.9.3