1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| import { request } from '@umijs/max';
|
| // 获取诉求列表
| export const getList = async (data) => {
| return request(`/api/huacheng-sangeshenbian/complaint/page`, {
| method: 'POST',
| data
| });
| }
|
| // 获取述求详情
| export const getDetail = async (data) => {
| return request(`/api/huacheng-sangeshenbian/complaint/detail/${data.id}`, {
| method: 'GET',
| data
| });
| }
|
| //编辑办理进度
| export const editProgress = async (data) => {
| return request(`/api/huacheng-sangeshenbian/complaint/update-progress`, {
| method: 'POST',
| data
| });
| }
|
| //删除办理进度
| export const deleteProgress = async (data) => {
| return request(`/api/huacheng-sangeshenbian/complaint/del-progress/${data.id}`, {
| method: 'DELETE',
| data
| });
| }
|
|