diff --git a/src/api/base/mobile.js b/src/api/base/mobile.js index 65db8617..866c69ca 100644 --- a/src/api/base/mobile.js +++ b/src/api/base/mobile.js @@ -99,22 +99,18 @@ export function getSourceTypeListApi(data) { // 投诉建议列表 export function getPlaintByPageApi(data) { return request({ - url: '/smart-canteen/api/v1/complaint/getPlaintByPage', - method: 'post', + url: '/smart-canteen/alloc_canteen_suggestion/list', + method: 'get', headers: { "merchant-id":"378915229716713472", }, - data: data, - params:{ - pageNum:data.pageNum, - pageSize:data.pageSize - } + params:data }) } // 回复-投诉建议 export function replyComplaintApi(data) { return request({ - url: '/smart-canteen/api/v1/complaint/replyComplaint', + url: '/smart-canteen/alloc_canteen_suggestion/reply', method: 'post', headers: { "merchant-id":"378915229716713472", @@ -139,18 +135,18 @@ export function getOrderEvaluatePageApi(data) { pageSize:data.pageSize } }) - } - // 订单评价-回复 - export function orderEvaluateReplyApi(data) { - return request({ - url: '/smart-canteen/api/v1/applet/menuevaluaorder/add/evalua/reply', - method: 'post', - headers: { - "merchant-id":"378915229716713472", - }, - data: data - }) - } +} +// 订单评价-回复 +export function orderEvaluateReplyApi(data) { + return request({ + url: '/smart-canteen/api/v1/applet/menuevaluaorder/add/evalua/reply', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} diff --git a/src/views/base/mobile/complaint/index.vue b/src/views/base/mobile/complaint/index.vue index 9b81e41f..ee6c0f6c 100644 --- a/src/views/base/mobile/complaint/index.vue +++ b/src/views/base/mobile/complaint/index.vue @@ -15,18 +15,8 @@ - - - - - - + + - - - - - - + 搜索 @@ -60,12 +41,12 @@ {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}} - + - - + + - +