videoShopTour.js
6.07 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
170
171
172
173
174
175
176
177
178
179
180
import req from '@/api/httpVideoTour.js'
// videoShopTourReport 是视频巡店的接口
const videoShopTourReport = {
//
getDeviceList(params) {
return req('GET', `/patrolDevice/list`, params)
},
addDevice(params,config) {
return req('POST', `/patrolDevice`, params, config)
},
editDevice(params,config) {
return req('PUT', `/patrolDevice/${params.id}`, params, config)
},
getPatrolDeviceChannelList(params) {
return req('GET', `/patrolDeviceChannel/list`, params)
},
editPatrolDeviceChannel(params,config) {
return req('PUT', `/patrolDeviceChannel/${params.id}`, params, config)
},
getLiveAddress(params,config) {
return req('GET', `/patrolDeviceChannel/getLiveAddress/${params.id}`, params, config)
},
getLiveInfo(params,config){
return req('GET', `/patrolDeviceChannel/getLiveInfo/${params.id}`, params, config)
},
getPatrolGateList(params,config) {
return req('GET', `/patrolGate/list`, params, config)
},
addPatrolGate(params,config) {
return req('POST', `/patrolGate`, params, config)
},
editPatrolGate(params,config) {
return req('PUT', `/patrolGate/${params.id}`, params, config)
},
delPatrolGate(id) {
return req('DELETE', `/patrolGate/${id}`)
},
// sop项目管理
getPatrolSopProject(params,config) {
return req('GET', `/patrolSopProject/list`, params, config)
},
addPatrolSopProject(params,config) {
return req('POST', `/patrolSopProject`, params, config)
},
editPatrolSopProject(params,config) {
return req('PUT', `/patrolSopProject/${params.id}`, params, config)
},
// sop类型管理
getPatrolSopType(params,config) {
return req('GET', `/patrolSopType/list`, params, config)
},
addPatrolSopType(params,config) {
return req('POST', `/patrolSopType`, params, config)
},
editPatrolSopType(params,config) {
return req('PUT', `/patrolSopType/${params.id}`, params, config)
},
// 关联sop树
getPatrolSopTypeTree(params,config) {
return req('GET', `/patrolSopType/tree`, params, config)
},
// 集团关联
associatePatrolSopType(params,config) {
return req('POST', `/patrolSopType/associate`, params, config)
},
// 获取监控点关联sop
getPatrolGateSopProjectList(params,config) {
return req('GET', `/patrolGateSopProject/list`, params, config)
},
// 监控点关联
associatePatrolSopProject(params,config) {
return req('POST', `/patrolGateSopProject/associate`, params, config)
},
//提交巡店记录
confirmPatrolRecord(params,config) {
return req('POST', `/patrolRecord`, params, config)
},
//巡店记录
getPatrolRecordList(params,config) {
return req('GET', `/patrolRecord/list`, params, config)
},
// 查看巡店详情
getPatrolRecordDetail(params,config) {
return req('GET', `/patrolRecord/${params.id}`)
},
// 删除巡店记录
deletePatrolRecord(params,config) {
return req('DELETE', `/patrolRecord/${params.id}`)
},
// 提交巡店操作记录
confirmPatrolRecordHandle(params,config) {
return req('POST', `/patrolRecord/handle`, params, config)
},
getUsers(params,config) {
return req('GET', `/s-user/mall/${params.mallId}`)
},
// 预设点管理
getPresetList(params, config){
return req('GET', `/patrol/device/preset/list`, params, config)
},
addPreset(params,config) {
return req('POST', `/patrol/device/preset`, params, config)
},
editPreset(params,config) {
return req('PUT', `/patrol/device/preset/${params.id}`, params, config)
},
delPreset(params,config) {
return req('DELETE', `/patrol/device/preset/${params.id}`, params, config)
},
// 云控制
ptzStart(params,config) {
return req('PUT', `/patrolDeviceChannel/ptzStart`, params, config)
},
ptzStop(params,config) {
return req('PUT', `/patrolDeviceChannel/ptzStop`, params, config)
},
// 待点检任务
getPatrolCaptureRecordList(params, config){
return req('GET', `/patrolCaptureRecord/list`, params, config)
},
delPatrolCaptureRecord(params, config){
return req('DELETE', `/patrolCaptureRecord/${params.id}`)
},
// 通过预设点调整位置
getPresetMove(params, config){
return req('PUT', `/patrolDevice/preset/move`, params, config)
},
// 定时抓怕配置
getRuleList(params, config){
return req('GET', `/b-patrol-rule/list`, params, config)
},
addRule(params,config) {
return req('POST', `/b-patrol-rule`, params, config)
},
editRule(params,config) {
return req('PUT', `/b-patrol-rule/${params.id}`, params, config)
},
delRule(params,config) {
return req('DELETE', `/b-patrol-rule/${params.id}`, params, config)
},
// 截图
getCapture(params,config) {
return req('GET', `/patrolDeviceChannel/capture/${params.id}`, params, config)
},
getBase64(params,config){
return req('GET', `/file`, params, config)
},
//获取监控点tree
getGateGroup(params,config) {
return req('GET', `/patrolGate/gateGroup`, params, config)
},
// 查询行业
getIndustryList(params,config) {
return req('GET', `/b-patrol-industry/list`, params, config)
},
// 查询门店树
filterGateGroup(params,config) {
return req('GET', `/patrolGate/gateGroup/filter`, params, config)
},
// 巡店报表
// 集团
accountReport(params,config){
return req('GET', `/report-form/account`, params, config)
},
// 门店
mallReport(params,config){
return req('GET', `/report-form/mall`, params, config)
},
// 检查项
checkItemReport(params,config){
return req('GET', `/report-form/sop-project`, params, config)
},
// 有问题门店
checkProblemItemReport(params,config){
return req('GET', `/report-form/sop-project/mall`, params, config)
},
}
export default videoShopTourReport;