477ec56f
monkeyhouyi
权限
|
1
2
|
import request from '@/utils/request'
|
b61eb1ed
monkeyhouyi
上报线索研判
|
3
4
5
6
7
|
// 查询需要判研的列表
export function getListForJudge(data) {
return request({
url: `/Extend/BaseInspectionReport/GetListForJudge`,
method: 'GET',
|
4614132f
monkeyhouyi
列表查询,案件处理
|
8
|
params: data
|
b61eb1ed
monkeyhouyi
上报线索研判
|
9
10
11
|
})
}
// 查询当前登陆人发起的列表
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
12
13
|
export function getList(data) {
return request({
|
b61eb1ed
monkeyhouyi
上报线索研判
|
14
|
url: `/Extend/BaseInspectionReport/GetListForCurrentUser`,
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
15
|
method: 'GET',
|
4614132f
monkeyhouyi
列表查询,案件处理
|
16
|
params: data
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
17
18
|
})
}
|
b61eb1ed
monkeyhouyi
上报线索研判
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// 获取单个巡查上报
export function getDetail(id) {
return request({
url: `/Extend/BaseInspectionReport/${id}`,
method: 'GET',
})
}
// 提交
export function addForm(data) {
return request({
url: `/Extend/BaseInspectionReport`,
method: 'POST',
data
})
}
// 更新
export function updataForm(data) {
return request({
url: `/Extend/BaseInspectionReport/${data.id}`,
method: 'PUT',
data
})
}
// 判研
|
6cd34f81
monkeyhouyi
对接接口优化
|
43
|
export function disposalSuggestionsAPI(data) {
|
b61eb1ed
monkeyhouyi
上报线索研判
|
44
45
46
47
48
49
|
return request({
url: `/Extend/BaseInspectionReport/${data.id}/disposalSuggestions`,
method: 'PUT',
data
})
}
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
50
51
|
|
477ec56f
monkeyhouyi
权限
|
52
53
54
|
// 获取接口列表(分页)
export function getDataInterfaceList(data) {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
55
|
url: '/system/DataInterface',
|
477ec56f
monkeyhouyi
权限
|
56
57
58
59
60
61
62
63
|
method: 'GET',
data
})
}
// 获取接口列表下拉框
export function getDataInterfaceSelector() {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
64
|
url: '/system/DataInterface/Selector',
|
477ec56f
monkeyhouyi
权限
|
65
66
67
68
69
70
71
|
method: 'GET'
})
}
// 添加接口
export function createDataInterface(data) {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
72
|
url: '/system/DataInterface',
|
477ec56f
monkeyhouyi
权限
|
73
74
75
76
77
78
79
80
|
method: 'POST',
data
})
}
// 修改接口
export function updateDataInterface(data) {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
81
|
url: `/system/DataInterface/${data.id}`,
|
477ec56f
monkeyhouyi
权限
|
82
83
84
85
86
87
88
89
|
method: 'PUT',
data
})
}
// 获取接口数据
export function getDataInterfaceInfo(id) {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
90
|
url: `/system/DataInterface/${id}`,
|
477ec56f
monkeyhouyi
权限
|
91
92
93
94
95
96
97
|
method: 'GET'
})
}
// 删除接口数据
export function delDataInterface(id) {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
98
|
url: `/system/DataInterface/${id}`,
|
477ec56f
monkeyhouyi
权限
|
99
100
101
102
103
104
105
|
method: 'DELETE'
})
}
// 更新接口状态
export function updateDataInterfaceState(id) {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
106
|
url: `/system/DataInterface/${id}/Actions/State`,
|
477ec56f
monkeyhouyi
权限
|
107
108
109
110
111
112
113
|
method: 'PUT'
})
}
// 获取接口分类
export function getDataInterfaceTypeSelector() {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
114
|
url: '/system/DictionaryData/9c43287481364d348c0ea0d0f64b38be/Data/Selector',
|
477ec56f
monkeyhouyi
权限
|
115
116
117
118
119
120
121
|
method: 'GET'
})
}
// 获取接口数据
export function previewDataInterface(id) {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
122
|
url: `/system/DataInterface/${id}/Actions/Response`,
|
477ec56f
monkeyhouyi
权限
|
123
124
125
126
127
128
129
|
method: 'GET'
})
}
// 导出数据接口数据
export function exportData(id) {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
130
|
url: `/system/DataInterface/${id}/Action/Export`,
|
477ec56f
monkeyhouyi
权限
|
131
132
133
134
135
136
137
|
method: 'GET'
})
}
// 获取数据接口调用日志列表
export function getDataInterfaceLog(id, data) {
return request({
|
c21fb5b0
monkeyhouyi
巡查上报页面
|
138
|
url: `/system/DataInterfaceLog/${id}`,
|
477ec56f
monkeyhouyi
权限
|
139
140
141
|
method: 'GET',
data
})
|
cb0a72a6
monkeyhouyi
核查处置优化
|
142
143
144
145
146
147
148
149
150
|
}
// 编辑不进入流程
export function UpdateByHandle(data) {
return request({
url: `/Extend/BaseInspectionReport/${data.id}/UpdateByHandle`,
method: 'PUT',
data
})
|
477ec56f
monkeyhouyi
权限
|
151
|
}
|