From cedbd3165be3a7e717b610859c848d01b8fbb403 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 28 Jan 2026 14:33:04 +0800
Subject: [PATCH] feat:区划级别字典
---
applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue | 4 ++--
applications/task-work-order/src/views/orderView/organizational/zoningManagement/FormDiaLog.vue | 4 ++--
2 files changed, 4 insertions(+), 4 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 5a8c4fc..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>
diff --git a/applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue b/applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue
index 3b33484..bdcccd5 100644
--- a/applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue
+++ b/applications/task-work-order/src/views/orderView/organizational/zoningManagement/index.vue
@@ -56,7 +56,7 @@
<el-table-column prop="parentName" show-overflow-tooltip label="上级区划名称" />
<el-table-column prop="regionLevel" show-overflow-tooltip label="区划级别">
<template v-slot="{ row }">
- {{ getDictLabel(row.regionLevel, dictObj.divisionLevel) }}
+ {{ getDictLabel(row.regionLevel, dictObj.regionLevel) }}
</template>
</el-table-column>
<el-table-column prop="sort" show-overflow-tooltip label="排序" />
@@ -177,7 +177,7 @@
// 获取字典列表
function getDictList() {
- return getDictionaryByCode('zoningStatus,divisionLevel').then(res => {
+ return getDictionaryByCode('zoningStatus,regionLevel').then(res => {
dictObj.value = res.data.data
})
}
--
Gitblit v1.9.3