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 @@