From a331b2b87e655e14e594078bc5c564acce8ac1d7 Mon Sep 17 00:00:00 2001 From: yyhouc <792163605@qq.com> Date: Fri, 14 Apr 2023 09:17:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90tool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/tool/index.js | 20 +- src/views/responseManagement/tool/index.vue | 275 +++++++++++--------- 2 files changed, 168 insertions(+), 127 deletions(-) diff --git a/src/api/tool/index.js b/src/api/tool/index.js index c1b08db..9b8dd2d 100644 --- a/src/api/tool/index.js +++ b/src/api/tool/index.js @@ -1,14 +1,17 @@ import request from '/@/utils/request'; import {moduleName} from '/@/utils/request'; export const getList = (current, size, param) => { + let params = { + current, + size, + }; + if(param){ + params = Object.assign(params, param); + } return request({ url: '/api/'+moduleName+'/ui/tool/list', method: 'get', - params: { - current, - size, - param, - }, + params: params, }); } export const submit = (row) => { @@ -37,3 +40,10 @@ export const detail = (id) => { } }) } +export const review = (data) => { + return request({ + url: '/api/'+moduleName+'/ui/tool/review', + method: 'post', + data:data + }) +} \ No newline at end of file diff --git a/src/views/responseManagement/tool/index.vue b/src/views/responseManagement/tool/index.vue index fcfb848..79ebda1 100644 --- a/src/views/responseManagement/tool/index.vue +++ b/src/views/responseManagement/tool/index.vue @@ -1,142 +1,173 @@