djbRepair.js
3.3 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-05-16 09:23:43
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 添加补录记录
* @param {*} data
* @author: renchao
*/
export function addRepairRecord (data) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/addRepairRecord',
method: 'post',
data
})
}
/**
* @description: 删除流程
* @param {*} params
* @author: renchao
*/
export function deleteFlow (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow?bsmSlsq=' + params,
method: 'get',
})
}
/**
* @description: 删除补录记录
* @param {*} params
* @author: renchao
*/
export function deleteRepairRecord (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/deleteRepairRecord?bsmRepair=' + params,
method: 'get',
})
}
/**
* @description: 初始化内容
* @param {*} params
* @author: renchao
*/
export function init (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/init?bsmRepair=' + params.bsmRepair + '&isEdit=' + params.isEdit,
method: 'get',
})
}
/**
* @description: 左侧菜单集合
* @param {*} params
* @author: renchao
*/
export function leftMenubl (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/leftMenu?bsmSlsq=' + params,
method: 'get',
params
})
}
/**
* @description: 保存数据
* @param {*} data
* @author: renchao
*/
export function save (data) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/save',
method: 'post',
data
})
}
/**
* @description: 获取上手信息
* @param {*} data
* @author: renchao
*/
export function getSsQlxx (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/getSsQlxx',
method: 'get',
params
})
}
/**
* @description: 获取主体信息
* @param {*} data
* @author: renchao
*/
export function getZtQlxx (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/getZtQlxx',
method: 'get',
params
})
}
/**
* @description: 发起业务申请流程
* @param {*} data
* @author: renchao
*/
export function startBusinessFlow (data) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/startBusinessFlow',
method: 'post',
data
})
}
/**
* @description: 添加审核意见
* @param {*} data
* @author: renchao
*/
export function addidea (data) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/sh',
method: 'post',
data
})
}
/**
* @description: 添加审核意见
* @param {*} data
* @author: renchao
*/
export function getShList (data) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/getShList?bsmRepair=' + data.bsmRepair,
method: 'post',
data
})
}
/**
* @description:初始化内容
* @param {*} data
* @author: renchao
*/
export function getQlxxByQlxxBsm (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/getQlxxByQlxxBsm',
method: 'get',
params
})
}
/**
* @description: 初始化材料信息
* @param {*} data
* @author: renchao
*/
export function repairInitClml (data) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/repairInitClml',
method: 'post',
data
})
}