From 8c3dbf97174e56f6c1944b440a0d723de9770ac9 Mon Sep 17 00:00:00 2001 From: wangzenghua <1048523306@qq.com> Date: Thu, 20 Mar 2025 09:16:17 +0100 Subject: [PATCH 1/4] =?UTF-8?q?feat:=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/custom-table-tree/index.vue | 16 +++++--- .../src/views/dict/component/region/index.vue | 41 +++++-------------- 2 files changed, 21 insertions(+), 36 deletions(-) diff --git a/main/src/components/custom-table-tree/index.vue b/main/src/components/custom-table-tree/index.vue index 8caddec..8a971cd 100644 --- a/main/src/components/custom-table-tree/index.vue +++ b/main/src/components/custom-table-tree/index.vue @@ -2,14 +2,18 @@
{{ title }}
+ > + +
diff --git a/sub-government-affairs-service/src/views/landManage/component/landsManage/useLandHook.js b/sub-government-affairs-service/src/views/landManage/component/landsManage/useLandHook.js index e80d1bb..b4d288b 100644 --- a/sub-government-affairs-service/src/views/landManage/component/landsManage/useLandHook.js +++ b/sub-government-affairs-service/src/views/landManage/component/landsManage/useLandHook.js @@ -15,29 +15,8 @@ export default function useLandHook() { label: '园林', }, ]); - const landClassificationType = reactive([ - { label: '耕地', value: '0' }, - { label: '果园', value: '1' }, - { label: '茶园', value: '2' }, - { label: '其他园地', value: '3' }, - { label: '林地', value: '4' }, - { label: '草地', value: '5' }, - { label: '其他农用地', value: '6' }, - { label: '农村宅基地', value: '7' }, - ]); - function handleIficationType(t = 0) { - let arr = landClassificationType.filter((v) => v.value == t); - - let txt = '--'; - if (arr.length > 0) { - txt = arr[0].label; - } - return txt; - } return { landType, landsType, - landClassificationType, - handleIficationType, }; }