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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
| /*
| * @Author: Liuyi candymxq888@outlook.com
| * @Date: 2024-08-13 17:49:03
| * @LastEditors: Liuyi candymxq888@outlook.com
| * @LastEditTime: 2024-08-13 17:55:54
| * @FilePath: \water-qinghe-web\src\api\workOrderManage\waterMeterApplyApi\index.ts
| * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
| */
| import { publicRequest } from '@/utils/request'
|
| export function waterMeterApplyApi() {
| return {
| //创建水表开户申请表
| createWaterMeterApply: (data) => {
| return publicRequest({
| url: '/waterMeterApply/create',
| method: 'post',
| data,
| });
| },
| //搜索水表开户申请表
| searchWaterMeterApply: (data) => {
| return publicRequest({
| url: '/waterMeterApply/search',
| method: 'post',
| data,
| });
| },
| //执行工单
| executeWaterMeterApply: (data) => {
| return publicRequest({
| url:'/waterMeterApply/execute',
| method: 'post',
| data
|
| });
| },
| //编辑[水表开户申请表]
| modifyWaterMeterApplyList: (data) => {
| return publicRequest({
| url: '/waterMeterApply/modify',
| method: 'post',
| data,
| });
| },
| //获取[水表开户申请表]
| getWaterMeterApply: (id) => {
| return publicRequest({
| url: `/waterMeterApply/get?id=${id}`,
| method: 'get'
| });
| },
| //根据id批量获取[水表开户申请表]
| searchWaterMeterApplyList: (data) => {
| return publicRequest({
| url: '/waterMeterApply/getList',
| method: 'post',
| data,
| });
| },
| }
| }
|
|