From 2a65ae47f77eb2704c632a34864f659b84bc8a52 Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Fri, 27 May 2022 09:21:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E7=B1=BB=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E,=E4=BF=AE=E6=94=B9,=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E5=AF=B9=E8=AF=9D=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/archivesConfig/dictDetail.js | 13 +++ src/views/category/form.vue | 125 ++++++++++++++++++++++ src/views/category/index.vue | 148 ++++----------------------- src/views/category/sortDialog.vue | 55 ++++++++++ 4 files changed, 213 insertions(+), 128 deletions(-) create mode 100644 src/views/category/form.vue create mode 100644 src/views/category/sortDialog.vue diff --git a/src/api/archivesConfig/dictDetail.js b/src/api/archivesConfig/dictDetail.js index a21f5a7..140b523 100644 --- a/src/api/archivesConfig/dictDetail.js +++ b/src/api/archivesConfig/dictDetail.js @@ -13,6 +13,19 @@ export function get(dictName) { }) } +export function findSubsetById(id) { + const params = { + id, + page: 0, + size: 9999 + } + return request({ + url: 'api/dictrionary/findSubsetById', + method: 'get', + params + }) +} + export function getDictMap(dictName) { const params = { dictName, diff --git a/src/views/category/form.vue b/src/views/category/form.vue new file mode 100644 index 0000000..5ea67a7 --- /dev/null +++ b/src/views/category/form.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/views/category/index.vue b/src/views/category/index.vue index f10cf0f..dbed9d9 100644 --- a/src/views/category/index.vue +++ b/src/views/category/index.vue @@ -1,35 +1,7 @@