diff --git a/src/api/news/index.js b/src/api/news/index.js new file mode 100644 index 0000000..aeaf52d --- /dev/null +++ b/src/api/news/index.js @@ -0,0 +1,26 @@ +import request from '/@/utils/request'; +import {moduleName} from '/@/utils/request'; +export const getList = (current, size, param ,type) => { + let params = { + current, + size, + }; + if(param){ + params = Object.assign(params, param); + } + return request({ + url: '/api/'+moduleName+'/ui/'+(type?'news':'socialMedia')+'/list', + method: 'get', + params: params, + }); +} +export const review = (ids,status,type) => { + return request({ + url: '/api/'+moduleName+'/ui/'+(type?'news':'socialMedia')+'/review', + method: 'post', + params:{ + ids, + status + } + }) +} diff --git a/src/views/dataService/multimediaData/index.vue b/src/views/dataService/multimediaData/index.vue index d775e20..cb4a81a 100644 --- a/src/views/dataService/multimediaData/index.vue +++ b/src/views/dataService/multimediaData/index.vue @@ -1,192 +1,180 @@ - + diff --git a/src/views/responseManagement/contact/index.vue b/src/views/responseManagement/contact/index.vue index 0a4fc5b..7bb3c3f 100644 --- a/src/views/responseManagement/contact/index.vue +++ b/src/views/responseManagement/contact/index.vue @@ -1,5 +1,6 @@ + diff --git a/src/views/responseManagement/userResponse/index.vue b/src/views/responseManagement/userResponse/index.vue index 39461f4..5116578 100644 --- a/src/views/responseManagement/userResponse/index.vue +++ b/src/views/responseManagement/userResponse/index.vue @@ -1,5 +1,6 @@ +