diff --git a/src/api/busi/feedback.js b/src/api/busi/feedback.js index e5ab966..905ee5f 100644 --- a/src/api/busi/feedback.js +++ b/src/api/busi/feedback.js @@ -42,3 +42,11 @@ export function delFeedback(id) { method: 'delete' }) } + +export function dealFeedback(data) { + return request({ + url: '/busi/feedback/dealFeedback', + method: 'post', + data: data + }) +} diff --git a/src/api/busi/notice.js b/src/api/busi/notice.js index 87c1d73..7404d03 100644 --- a/src/api/busi/notice.js +++ b/src/api/busi/notice.js @@ -35,6 +35,24 @@ export function updateNotice(data) { }) } +export function auditInfo(data) { + return request({ + url: '/busi/notice/auditInfo', + method: 'post', + data: data + }) +} + +export function publishTakeDown(data) { + return request({ + url: '/busi/notice/publishTakeDown', + method: 'post', + params: data + }) +} + + + // 删除通告 export function delNotice(id) { return request({ diff --git a/src/api/busi/report.js b/src/api/busi/report.js index da93445..7588c71 100644 --- a/src/api/busi/report.js +++ b/src/api/busi/report.js @@ -35,6 +35,16 @@ export function updateReport(data) { }) } +export function dealReport(data) { + return request({ + url: '/busi/report/dealReport', + method: 'post', + data: data + }) +} + + + // 删除举报记录 export function delReport(id) { return request({ diff --git a/src/views/busi/feedback/index.vue b/src/views/busi/feedback/index.vue index af4f2a3..d4e6e55 100644 --- a/src/views/busi/feedback/index.vue +++ b/src/views/busi/feedback/index.vue @@ -1,40 +1,22 @@ - - - - + - + + + + @@ -245,28 +255,32 @@ 详情 审核 - 关闭 + 修改 删除 @@ -283,18 +297,46 @@ /> - - + + + + + + + + + + 通过 + 拒绝 + + + + + + + + + + + +