diff --git a/src/api/call.js b/src/api/call.js index 794e4be..a1f4ac7 100644 --- a/src/api/call.js +++ b/src/api/call.js @@ -41,4 +41,9 @@ export function doCallMessageOffsets(data) { // 获取所有防区状态 export function getCallZoneStatusList(data) { return request({ url: '/call/getCallZoneStatusList', method: 'GET'}) +} + +// 临时测试 +export function callTempFunc() { + return request({ url: '/call/callTempFunc', method: 'GET'}) } \ No newline at end of file diff --git a/src/views/baojingchaxun/baojingchaxunList.vue b/src/views/baojingchaxun/baojingchaxunList.vue index 009f42a..e485a32 100644 --- a/src/views/baojingchaxun/baojingchaxunList.vue +++ b/src/views/baojingchaxun/baojingchaxunList.vue @@ -187,11 +187,12 @@ export default { }, init() { getCallPolicePage(this.listQuery).then((res) => { + console.log(res) if (res.code == 200) { - // this.list = res.data.records + this.list = res.data.records this.total = res.total } else { - // this.list = [] + this.list = [] } }) }, diff --git a/src/views/call.vue b/src/views/call.vue index fdf4a71..bf92943 100644 --- a/src/views/call.vue +++ b/src/views/call.vue @@ -79,7 +79,7 @@