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 });