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