From a6deb69ddc969b6e2c3856861c84a35a4c20abf3 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 2 Dec 2023 23:01:31 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20social=20?= =?UTF-8?q?=E5=9C=A8=20IDEA=20=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/social/client/SocialClientForm.vue | 4 ++-- src/views/system/social/client/index.vue | 16 ++++++++-------- .../system/social/user/SocialUserDetail.vue | 2 +- src/views/system/social/user/index.vue | 5 +---- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/views/system/social/client/SocialClientForm.vue b/src/views/system/social/client/SocialClientForm.vue index e6f92bd6..225d94d6 100644 --- a/src/views/system/social/client/SocialClientForm.vue +++ b/src/views/system/social/client/SocialClientForm.vue @@ -14,7 +14,7 @@ {{ dict.label }} @@ -48,7 +48,7 @@ {{ dict.label }} diff --git a/src/views/system/social/client/index.vue b/src/views/system/social/client/index.vue index 82f66297..72c83128 100644 --- a/src/views/system/social/client/index.vue +++ b/src/views/system/social/client/index.vue @@ -28,7 +28,7 @@ > @@ -43,7 +43,7 @@ > @@ -62,7 +62,7 @@ @@ -169,11 +169,11 @@ const list = ref([]) // 列表的数据 const queryParams = reactive({ pageNo: 1, pageSize: 10, - name: null, - socialType: null, - userType: null, - clientId: null, - status: null + name: undefined, + socialType: undefined, + userType: undefined, + clientId: undefined, + status: undefined }) const queryFormRef = ref() // 搜索的表单 diff --git a/src/views/system/social/user/SocialUserDetail.vue b/src/views/system/social/user/SocialUserDetail.vue index 1fa8b480..aef9d457 100644 --- a/src/views/system/social/user/SocialUserDetail.vue +++ b/src/views/system/social/user/SocialUserDetail.vue @@ -44,7 +44,7 @@ import * as SocialUserApi from '@/api/system/social/user' const dialogVisible = ref(false) // 弹窗的是否展示 const detailLoading = ref(false) // 表单的加载中 -const detailData = ref({}) // 详情数据 +const detailData = ref({} as SocialUserApi.SocialUserVO) // 详情数据 /** 打开弹窗 */ const open = async (id: number) => { diff --git a/src/views/system/social/user/index.vue b/src/views/system/social/user/index.vue index c4b4f7f7..50a4cf7b 100644 --- a/src/views/system/social/user/index.vue +++ b/src/views/system/social/user/index.vue @@ -19,7 +19,7 @@ > @@ -131,9 +131,6 @@ import { createImageViewer } from '@/components/ImageViewer' defineOptions({ name: 'SocialUser' }) -const message = useMessage() // 消息弹窗 -const { t } = useI18n() // 国际化 - const loading = ref(true) // 列表的加载中 const total = ref(0) // 列表的总页数 const list = ref([]) // 列表的数据