From 3cf6418b40fe49b203c1234c459a856d143ee01e Mon Sep 17 00:00:00 2001 From: Realabiha Date: Tue, 23 Jan 2024 21:24:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=97=AE=E5=8D=B7=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8E=92=E5=BA=8F=E5=8A=9F=E8=83=BD?= 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 | 41 +++++++++++++++++- .../pages/list/components/textButton.vue | 43 +++++++++++-------- web/src/management/pages/list/config/index.js | 40 +++++++++++++++++ 4 files changed, 105 insertions(+), 22 deletions(-) diff --git a/web/src/management/api/survey.js b/web/src/management/api/survey.js index 24781e57..e92ec532 100644 --- a/web/src/management/api/survey.js +++ b/web/src/management/api/survey.js @@ -1,11 +1,12 @@ import axios from './base'; -export const getSurveyList = (curPage, filter) => { +export const getSurveyList = (curPage, filter, order) => { return axios.get('/surveyManage/list', { params: { pageSize: 10, curPage, filter, + order }, }); }; diff --git a/web/src/management/pages/list/components/baseList.vue b/web/src/management/pages/list/components/baseList.vue index 0786a2cf..b47378bd 100644 --- a/web/src/management/pages/list/components/baseList.vue +++ b/web/src/management/pages/list/components/baseList.vue @@ -4,12 +4,23 @@