吉安感知网项目-前端
张含笑
2026-01-27 1bd4b14a7074eb3b43fa5d11c126f0d988f82bab
applications/task-work-order/src/views/orderView/organizational/agenciesManagement/FormDiaLog.vue
@@ -275,29 +275,10 @@
    resolve([])
  }
}
// 获取初始区域数据(根节点)
// async function getRegionList() {
//   try {
//     // 懒加载模式下,只需要初始化根节点
//     const res = await regionLazyTreeApi({ parentCode: '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>