From 757fbddef28ee91f0626584ce22d35af2cd06679 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 2 Dec 2023 18:22:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20dictType=20?= =?UTF-8?q?=E5=92=8C=20dictData=20=E5=9C=A8=20IDEA=20=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dict/dict.data.ts | 2 +- src/api/system/dict/dict.type.ts | 2 +- src/views/system/dict/DictTypeForm.vue | 2 +- src/views/system/dict/data/DictDataForm.vue | 2 +- src/views/system/dict/data/index.vue | 2 +- src/views/system/dict/index.vue | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/api/system/dict/dict.data.ts b/src/api/system/dict/dict.data.ts index 87e7dce7..093f88fa 100644 --- a/src/api/system/dict/dict.data.ts +++ b/src/api/system/dict/dict.data.ts @@ -45,5 +45,5 @@ export const deleteDictData = (id: number) => { // 导出字典类型数据 export const exportDictData = (params) => { - return request.get({ url: '/system/dict-data/export', params }) + return request.download({ url: '/system/dict-data/export', params }) } diff --git a/src/api/system/dict/dict.type.ts b/src/api/system/dict/dict.type.ts index ed2969f1..eaa5fb6d 100644 --- a/src/api/system/dict/dict.type.ts +++ b/src/api/system/dict/dict.type.ts @@ -40,5 +40,5 @@ export const deleteDictType = (id: number) => { } // 导出字典类型 export const exportDictType = (params) => { - return request.get({ url: '/system/dict-type/export', params }) + return request.download({ url: '/system/dict-type/export', params }) } diff --git a/src/views/system/dict/DictTypeForm.vue b/src/views/system/dict/DictTypeForm.vue index 5e416d78..5d6f4575 100644 --- a/src/views/system/dict/DictTypeForm.vue +++ b/src/views/system/dict/DictTypeForm.vue @@ -21,7 +21,7 @@ {{ dict.label }} diff --git a/src/views/system/dict/data/DictDataForm.vue b/src/views/system/dict/data/DictDataForm.vue index 2094371d..008b6fb1 100644 --- a/src/views/system/dict/data/DictDataForm.vue +++ b/src/views/system/dict/data/DictDataForm.vue @@ -27,7 +27,7 @@ {{ dict.label }} diff --git a/src/views/system/dict/data/index.vue b/src/views/system/dict/data/index.vue index 2811f06a..aa200116 100644 --- a/src/views/system/dict/data/index.vue +++ b/src/views/system/dict/data/index.vue @@ -30,7 +30,7 @@ diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue index acc737c6..03df223e 100644 --- a/src/views/system/dict/index.vue +++ b/src/views/system/dict/index.vue @@ -35,7 +35,7 @@ > @@ -161,7 +161,7 @@ const queryParams = reactive({ name: '', type: '', status: undefined, - createTime: [] + createTime: [undefined, undefined] }) const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中