From fcb6cfdbdb5fbce7d02d8513719237e65a72f474 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期四, 09 三月 2023 16:45:20 +0800 Subject: [PATCH] 修改报案人材料图片 --- src/api/cause.js | 61 +++++++++++++++++++++++++++++- 1 files changed, 58 insertions(+), 3 deletions(-) diff --git a/src/api/cause.js b/src/api/cause.js index 55c26f1..4be3a92 100644 --- a/src/api/cause.js +++ b/src/api/cause.js @@ -53,10 +53,65 @@ }) } -export function exportReportExcel(params) { +export function GroupLits(params) { return request({ - url: '/report/exportReporter?id='+params, + url: '/announcement/getAnnouncements', + method: 'get', + params + }) +} + +export function GroupListBycondition(params) { + return request({ + url: '/announcement/getAnnouncements', + method: 'get', + params + }) +} + +export function addGroupAn(params,val) { + return request({ + url: '/announcement/add?groupId='+params, method: 'post', - responseType:'blob' + data: val + }) +} + +export function pOrUGroupAn(params,val) { + return request({ + url: '/announcement/publicOrUnshelve', + method: 'put', + params:{ + id:params, + status:val + } + }) +} +export function deleteGroupAn(params) { + return request({ + url: '/announcement/delete', + method: 'delete', + params:{ + id:params + + } + }) +} +export function detailsGroupAn(params) { + return request({ + url: '/announcement/getAnnouncementsById', + method: 'get', + params:{ + id:params + + } + }) +} + +export function report(params) { + return request({ + url: '/cause/addReporter', + method: 'post', + data: params }) } \ No newline at end of file -- Gitblit v1.8.0