From bba79cfe0e6d41c6ff6e13bc3f3569f2b2e6c853 Mon Sep 17 00:00:00 2001 From: jyt <1592211625@qq.com> Date: Thu, 24 Mar 2022 19:16:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/api.js | 8 -------- src/api/modules/http.js | 8 ++++++++ src/views/contentManage/updateRecord/list.vue | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/api/modules/api.js b/src/api/modules/api.js index d15cdc3..577e9e6 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -1174,11 +1174,3 @@ export function sensitivewordsList(data) { params: data }) } -// 更新记录列表 -export function updateListApi(data) { - return request({ - url: '/autoSR/api/zkMessage/messagePage', - method: 'get', - params: data - }) -} \ No newline at end of file diff --git a/src/api/modules/http.js b/src/api/modules/http.js index a0d645d..9151072 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -860,4 +860,12 @@ export function theCirculation(query) { method: 'get', data: query }) +} +// 更新记录列表 +export function updateListApi(data) { + return request({ + url: 'autoSR/api/zkMessage/messagePage', + method: 'get', + params: data + }) } \ No newline at end of file diff --git a/src/views/contentManage/updateRecord/list.vue b/src/views/contentManage/updateRecord/list.vue index 5ce1946..36865ee 100644 --- a/src/views/contentManage/updateRecord/list.vue +++ b/src/views/contentManage/updateRecord/list.vue @@ -131,7 +131,7 @@ export default { this.filefindByPage(); }, filefindByPage(obj) { - this.$api.api.updateListApi(obj).then((res) => { + this.$api.http.updateListApi(obj).then((res) => { console.log(res) this.tableData = res.data });