From a08497cf53fcd5de390e732585bb8711c7c07a11 Mon Sep 17 00:00:00 2001 From: Huangzhe Date: Fri, 23 May 2025 14:45:46 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E9=97=AE?= =?UTF-8?q?=E5=8D=B7=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 修复用户名字段显示问题,从created_user改为creater_user 2. 优化日期显示,只显示年月日 3. 修复搜索功能,修正关键字参数为key_word 4. 优化空状态组件交互逻辑 5. 改进分页加载逻辑 --- src/components/SurveyItem/Index.vue | 70 +++++++++--------- src/views/Home/components/NewSurvey/index.vue | 72 +++++++++---------- src/views/Survey/Index.vue | 32 ++++++--- .../Survey/components/EmptyContainer.vue | 2 +- src/views/Survey/hooks/useSurveyData.ts | 2 +- 5 files changed, 92 insertions(+), 86 deletions(-) diff --git a/src/components/SurveyItem/Index.vue b/src/components/SurveyItem/Index.vue index ce8cebf..a4a9478 100644 --- a/src/components/SurveyItem/Index.vue +++ b/src/components/SurveyItem/Index.vue @@ -1,35 +1,35 @@ - - - - - + + + + + diff --git a/src/views/Home/components/NewSurvey/index.vue b/src/views/Home/components/NewSurvey/index.vue index b93619c..18a54ba 100644 --- a/src/views/Home/components/NewSurvey/index.vue +++ b/src/views/Home/components/NewSurvey/index.vue @@ -1,38 +1,34 @@ - - - - + + + + diff --git a/src/views/Survey/Index.vue b/src/views/Survey/Index.vue index 1e76551..e313410 100644 --- a/src/views/Survey/Index.vue +++ b/src/views/Survey/Index.vue @@ -18,15 +18,20 @@
- + + - diff --git a/src/views/Survey/components/EmptyContainer.vue b/src/views/Survey/components/EmptyContainer.vue index 6d391bb..e21d60f 100644 --- a/src/views/Survey/components/EmptyContainer.vue +++ b/src/views/Survey/components/EmptyContainer.vue @@ -1,5 +1,5 @@