diff --git a/web/src/management/api/survey.js b/web/src/management/api/survey.js index feb7fd12..01d47716 100644 --- a/web/src/management/api/survey.js +++ b/web/src/management/api/survey.js @@ -49,3 +49,7 @@ export const deleteSurvey = (surveyId) => { export const updateSurvey = (data) => { return axios.post('/surveyManage/update', data); }; + +export const copySurvey = (data) => { + return axios.post('/surveyManage/create', data); +}; diff --git a/web/src/management/pages/list/components/baseList.vue b/web/src/management/pages/list/components/baseList.vue index efbf446b..1b2cc2da 100644 --- a/web/src/management/pages/list/components/baseList.vue +++ b/web/src/management/pages/list/components/baseList.vue @@ -40,7 +40,7 @@ :data="scope.row" type="list" :tools="getToolConfig(scope.row)" - :tool-width="65" + :tool-width="50" @on-delete="onDelete" @on-modify="onModify" /> @@ -63,6 +63,7 @@ 保存{{ type === QOP_MAP.EDIT ? '保存' : '确定' }} @@ -33,18 +33,21 @@ diff --git a/web/src/management/pages/list/components/toolBar.vue b/web/src/management/pages/list/components/toolBar.vue index e41b36a2..45c59aca 100644 --- a/web/src/management/pages/list/components/toolBar.vue +++ b/web/src/management/pages/list/components/toolBar.vue @@ -15,6 +15,7 @@