From ed94dcf10bb5b393921530e25f9dca08ba9f2635 Mon Sep 17 00:00:00 2001 From: yyhouc <792163605@qq.com> Date: Mon, 17 Apr 2023 09:07:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4Data=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/news/index.js | 26 + .../dataService/multimediaData/index.vue | 518 +++++++++++------- .../responseManagement/contact/index.vue | 2 + .../responseManagement/userResponse/index.vue | 3 + 4 files changed, 345 insertions(+), 204 deletions(-) create mode 100644 src/api/news/index.js 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 @@ +