From bc6f4a50ea300834261bc4ac2f03ffe2c4ce30e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=B4=E6=9C=97?= <464174023@qq.com> Date: Sat, 31 Aug 2024 15:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=8F=9C=E5=8D=95=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E5=AD=97=E5=85=B8=EF=BC=8C=E5=8E=BB=E6=8E=89=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=8C=89=E9=92=AE=EF=BC=9B=E5=9C=A8=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=88=97=E8=A1=A8=E4=B8=8D=E8=83=BD=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E3=80=81=E4=BF=AE=E6=94=B9=E3=80=81=E5=88=A0=E9=99=A4?= =?UTF-8?q?=EF=BC=9B=20=E7=82=B9=E5=87=BB=E7=B1=BB=E5=9E=8B=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E5=AD=97=E5=85=B8=E5=88=97=E8=A1=A8=E5=86=85=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dict/type.js | 9 + src/views/system/bizdict/data.vue | 392 +++++++++++++++++++++++++++++ src/views/system/bizdict/index.vue | 341 +++++++++++++++++++++++++ src/views/system/dict/index.vue | 3 +- 4 files changed, 744 insertions(+), 1 deletion(-) create mode 100644 src/views/system/bizdict/data.vue create mode 100644 src/views/system/bizdict/index.vue diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js index a7a6e01..b281f58 100644 --- a/src/api/system/dict/type.js +++ b/src/api/system/dict/type.js @@ -9,6 +9,15 @@ export function listType(query) { }) } +// 查询业务字典类型列表(扩展) +export function bizListType(query) { + return request({ + url: '/system/dict/type/bizlist', + method: 'get', + params: query + }) +} + // 查询字典类型详细 export function getType(dictId) { return request({ diff --git a/src/views/system/bizdict/data.vue b/src/views/system/bizdict/data.vue new file mode 100644 index 0000000..d626817 --- /dev/null +++ b/src/views/system/bizdict/data.vue @@ -0,0 +1,392 @@ + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + 新增 + 修改 + 删除 + 导出 + 关闭 + + + + + + + {{ scope.row.dictLabel }} + {{ scope.row.dictLabel }} + + + + + + + + + + + + + {{ parseTime(scope.row.createTime) }} + + + + + 修改 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{dict.label}} + + + + + + + + + + + + diff --git a/src/views/system/bizdict/index.vue b/src/views/system/bizdict/index.vue new file mode 100644 index 0000000..49dc791 --- /dev/null +++ b/src/views/system/bizdict/index.vue @@ -0,0 +1,341 @@ + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + 刷新缓存 + + + + + + + + + {{ scope.row.dictType }} + + + + + + + + + + + + {{ parseTime(scope.row.createTime) }} + + + + + + + + + + + + + + + + + + + + + {{dict.label}} + + + + + + + + + + + + diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index 520709a..de26be7 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -80,13 +80,14 @@ @click="handleDelete" v-hasPermi="['system:dict:remove']" >删除 +