From 0b7be22d3ff1e57d8e91aed75a4c9705f2ce9720 Mon Sep 17 00:00:00 2001 From: dayou <853094838@qq.com> Date: Tue, 16 Jan 2024 14:49:33 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD=20(#46)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/management/api/survey.js | 3 +- .../pages/list/components/baseList.vue | 44 +++++++++++- .../pages/list/components/textSearch.vue | 68 +++++++++++++++++++ web/src/management/pages/list/config/index.js | 6 ++ web/src/management/pages/list/index.vue | 1 + 5 files changed, 118 insertions(+), 4 deletions(-) create mode 100644 web/src/management/pages/list/components/textSearch.vue diff --git a/web/src/management/api/survey.js b/web/src/management/api/survey.js index 01d47716..24781e57 100644 --- a/web/src/management/api/survey.js +++ b/web/src/management/api/survey.js @@ -1,10 +1,11 @@ import axios from './base'; -export const getSurveyList = (curPage) => { +export const getSurveyList = (curPage, filter) => { return axios.get('/surveyManage/list', { params: { pageSize: 10, curPage, + filter, }, }); }; diff --git a/web/src/management/pages/list/components/baseList.vue b/web/src/management/pages/list/components/baseList.vue index 1b2cc2da..eec22256 100644 --- a/web/src/management/pages/list/components/baseList.vue +++ b/web/src/management/pages/list/components/baseList.vue @@ -1,5 +1,13 @@