派生自 wuyushui/SewerAndRainNetwork

wangrui
2020-12-14 0d7669f8bf28300362fc0dacd5c794ff823d0297
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
import { $HOST } from './host'
 
/**
 * 框架用api,不用care,打包生产环境的场景自动去除
 *
 * API命名规则
 * {模块名}_{请求方法}_{具体业务功能描述}_{结构描述}
 *
 * {模块名}:
 *  例如:emdm emew
 * {请求方法}:
 *  1.一个api对应一个请求方法
 *    例如 get post delete put
 *  2.一个api对应多个请求方法 // todo 如何能看出是什么请求
 *    ① get post delete put =》 all
 *    ② post delete put =》 pdp
 *    ③ post delete=》 pd
 *    ④ delete put =》dp
 *    ⑤ get post delete => gpd
 *
 * {具体业务功能描述}:
 *
 * {结构描述}:
 *  返回多条数据用 list
 *  返回一条数据用 detail 或是 one
 *
 */
// 菜单
export const BASE_GET_MENU = $HOST + '/v1/permissions/menu'
 
/**
 * AAA权限相关
 *
 */
// 用户登入
export const AAA_POST_USER_LOGIN = $HOST + '/api/public/v1/permissions/user/login'
// 用户登出
export const AAA_POST_USER_LOGOUT = $HOST + '/api/public/v1/permissions/user/logout'
// 获取用户信息
export const AAA_GET_USER_INFO = $HOST + '/api/public/v1/permissions/user/info'
// 获取页面资源
export const AAA_GET_PAGES_RESOURCE = $HOST + '/api/public/v1/permissions/pagesResource'
// 获取全部人员列表
export const AAA_GET_USER_LIST = $HOST + '/api/public/v1/permissions/user/list'
 
/************************************************************************************************************
 * 业务api区域
 *
 ************************************************************************************************************/
 
/**
 * 主数据管理
 *
 */
// 文件下载上传
export const MDM_POST_FILE_UPLOAD = $HOST + '/hcstms/client/file/upload'
 
// 获取当前登录的所属企业
export const MDM_GET_USER_ORG = $HOST + '/hcstms/client/organization/getUserOrg'
 
// 全部的承运商、装卸台、危废名录、企业危废信息、企业危化品信息
export const MDM_GET_CARRIER_TOTAL = $HOST + '/hcstms/client/carriers/list'
export const MDM_GET_LOADDOCK_TOTAL = $HOST + '/hcstms/client/load-dock/list'
export const MDM_GET_HWSITEMS_TOTAL = $HOST + '/hcstms/client/hws-items/list'
export const MDM_GET_COMPANY_HWS_ITEMS = $HOST + '/hcstms/client/company-hws-items/list/'
export const MDM_GET_COMPANY_HCS_ITEMS = $HOST + '/hcstms/client/company-hcs-items/list/'
 
// 获取企业资源库关联承运商或者处置商 resourceType企业资源库类型
export const MDM_GET_COMPANY_RESOURCE_LIB_ITEMS = $HOST + '/hcstms/client/company-resource-lib/resource/list'
 
// 获取登录人相关承运商
export const MDM_GET_USER_CARRIERS = $HOST + '/hcstms/client/company-resource-lib/user/carriers'
 
// 资源库管理
export const MDM_GET_HWSITEMS_PAGINATION = $HOST + '/hcstms/client/hws-items/pager'
export const MDM_GET_HWSITEMS_DETAIL = $HOST + '/hcstms/client/hws-items/id/{$hwsItemId}'
export const MDM_DELETE_HWSITEMS = $HOST + '/hcstms/client/hws-items/batch'
export const MDM_ALL_HWSITEMS = $HOST + '/hcstms/client/hws-items/item'
export const MDM_POST_IMPORT_HWSITEMS = $HOST + '/hcstms/client/hws-items/importExcel'
// 转移库
export const MDM_GET_TRANSTOR_LIST = $HOST + '/hcstms/client/hws-transit-depot/pager'
export const MDM_GET_TRANSTOR_DETAIL = $HOST + '/hcstms/client/hws-transit-depot/id/{$hwsTransitId}'
export const MDM_DELETE_TRANSTOR = $HOST + '/hcstms/client/hws-transit-depot/batch'
export const MDM_ALL_TRANSTOR = $HOST + '/hcstms/client/hws-transit-depot/item'
export const MDM_GET_IMPORT_TRANSTOR = $HOST + '/hcstms/client/hws-transit-depot/import/excel'
export const MDM_GET_EXPORT_TRANSTOR = $HOST + '/hcstms/client/hws-transit-depot/export/excel/template'
// 处置商
export const MDM_GET_DISPONER_LIST = $HOST + '/hcstms/client/hws-disposal-agent/pager'
export const MDM_GET_DISPONER_DETAIL = $HOST + '/hcstms/client/hws-disposal-agent/id/{$hwsAgentId}'
export const MDM_DELETE_DISPONER = $HOST + '/hcstms/client/hws-disposal-agent/batch'
export const MDM_ALL_DISPONER = $HOST + '/hcstms/client/hws-disposal-agent/item'
// 承运商
export const MDM_GET_CARRIER_LIST = $HOST + '/hcstms/client/carriers/pager'
export const MDM_GET_CARRIER_DETAIL = $HOST + '/hcstms/client/carriers/id/{$carrierId}'
export const MDM_DELETE_CARRIER = $HOST + '/hcstms/client/carriers/batch'
export const MDM_ALL_CARRIER = $HOST + '/hcstms/client/carriers/item'
// 车辆
export const MDM_GET_VEHICLES_LIST = $HOST + '/hcstms/client/vehicles/pager'
export const MDM_GET_VEHICLES_DETAIL = $HOST + '/hcstms/client/vehicles/id/{$vehicleId}'
export const MDM_DELETE_VEHICLES = $HOST + '/hcstms/client/vehicles/batch'
export const MDM_ALL_VEHICLES = $HOST + '/hcstms/client/vehicles/item'
export const MDM_POST_IMPORT_VEHICLES = $HOST + '/hcstms/client/vehicles/import/excel'
export const MDM_GET_EXPORT_VEHICLES = $HOST + '/hcstms/client/vehicles/export/excel'
// 船舶
export const MDM_GET_SHIPS_LIST = $HOST + '/hcstms/client/ships/pager'
export const MDM_GET_SHIPS_DETAIL = $HOST + '/hcstms/client/ships/id/{$shipId}'
export const MDM_DELETE_SHIPS = $HOST + '/hcstms/client/ships/batch'
export const MDM_ALL_SHIPS = $HOST + '/hcstms/client/ships/item'
export const MDM_POST_IMPORT_SHIPS = $HOST + '/hcstms/client/ships/import/excel'
export const MDM_GET_EXPORT_SHIPS = $HOST + '/hcstms/client/ships/export/excel'
// 铁路自备车
export const MDM_GET_TRAINSOWNED_LIST = $HOST + '/hcstms/client/trains-owned/pager'
export const MDM_GET_TRAINSOWNED_DETAIL = $HOST + '/hcstms/client/trains-owned/id/{$trainsId}'
export const MDM_DELETE_TRAINSOWNED = $HOST + '/hcstms/client/trains-owned/batch'
export const MDM_ALL_TRAINSOWNED = $HOST + '/hcstms/client/trains-owned/item'
export const MDM_GET_IMPORT_TRAINSOWNED = $HOST + '/hcstms/client/trains-owned/importExcel'
export const MDM_GET_EXPORT_TRAINSOWNED = $HOST + '/hcstms/client/trains-owned/exportExcel'
// 驾押人员
export const MDM_GET_DRIVERS_LIST = $HOST + '/hcstms/client/drivers/pager'
export const MDM_GET_DRIVERS_DETAIL = $HOST + '/hcstms/client/drivers/id/{$driverId}'
export const MDM_DELETE_DRIVERS = $HOST + '/hcstms/client/drivers/batch'
export const MDM_ALL_DRIVERS = $HOST + '/hcstms/client/drivers/item'
export const MDM_GET_IMPORT_DRIVERS = $HOST + '/hcstms/client/drivers/importExcel'
export const MDM_GET_EXPORT_DRIVERS = $HOST + '/hcstms/client/drivers/exportExcel'
// 装卸台维护
export const MDM_GET_LOADDOCK_LIST = $HOST + '/hcstms/client/load-dock/pager'
export const MDM_GET_LOADDOCK_DETAIL = $HOST + '/hcstms/client/load-dock/id/{$loadDockId}'
export const MDM_DELETE_LOADDOCK = $HOST + '/hcstms/client/load-dock/batch'
export const MDM_ALL_LOADDOCK = $HOST + '/hcstms/client/load-dock/item'
export const MDM_GET_IMPORT_LOADDOCK = $HOST + '/hcstms/client/load-dock/importExcel'
export const MDM_GET_EXPORT_LOADDOCK = $HOST + '/hcstms/client/load-dock/exportExcel'
// 视频监控
export const MDM_GET_VIDEOMON_LIST = $HOST + '/hcstms/client/video-monitor/pager'
export const MDM_GET_VIDEOMON_DETAIL = $HOST + '/hcstms/client/video-monitor/id/{$videoMonitorId}'
export const MDM_DELETE_VIDEOMON = $HOST + '/hcstms/client/video-monitor/batch'
export const MDM_ALL_VIDEOMON = $HOST + '/hcstms/client/video-monitor/item'
// 企业资源库
export const MDM_GET_COMPANYLIB = $HOST + '/hcstms/client/company-resource-lib/pager'
export const MDM_POST_COMPANYLIB = $HOST + '/hcstms/client/company-resource-lib/item'
export const MDM_DELETE_COMPANYLIB = $HOST + '/hcstms/client/company-resource-lib/batch'
export const MDM_GET_COMPANY_BLACKLIST = $HOST + '/hcstms/client/company-blacklist/id'
export const MDM_GET_COMPANY_BLACKLISTHISTORY = $HOST + '/hcstms/client/company-blacklist-history/pager'
export const MDM_GET_BLACKLISTHISTORY = $HOST + '/hcstms/client/company-blacklist-history/id/'
export const MDM_GET_BLACKLISTHISTORY_DETAIL = $HOST + '/hcstms/client/company-blacklist-history/id/{$companyBlacklistId}'
export const MDM_POST_COMPANY_BLACKLIST = $HOST + '/hcstms/client/company-blacklist/item'
export const MDM_DELETE_COMPANY_BLACKLIST = $HOST + '/hcstms/client/company-blacklist/batch'
export const MDM_DELETE_COMPANY_FOCUS = $HOST + '/hcstms/client/company-resource-lib/focus'
// 组织机构
export const MDM_GET_ORGANIZATION = $HOST + '/hcstms/client/organization/list'
export const MDM_GET_ORGANIZATION_TABLE = $HOST + '/hcstms/client/organization/pager'
export const HWM_GET_ORGANIZATION_DETAIL = $HOST + '/hcstms/client/organization/id/{$orgId}'
export const MDM_ALL_ORGANIZATION = $HOST + '/hcstms/client/organization/item'
export const MDM_DELETE_ORGANIZATION = $HOST + '/hcstms/client/organization/batch'
export const MDM_GET_CHECKORGCODE = $HOST + '/hcstms/client/organization/checkOrgCode'
 
// 运输安全管理---敏感区域管理
export const HWM_GET_SENSITIVE_AREA_LIST = $HOST + '/hcstms/client/hws-sensitive-area/pager'
export const HWM_GET_SENSITIVE_AREA_DETAIL = $HOST + '/hcstms/client/hws-sensitive-area/id/{$hwsSensitiveAreaId}'
export const HWM_GET_SENSITIVE_AREA_CAR = $HOST + '/hcstms/client/hws-sensitive-area/findVehiclePage'
export const HWM_GET_SENSITIVE_AREA_SHIP = $HOST + '/hcstms/client/hws-sensitive-area/findShipsPage'
 
export const HWM_ALL_SENSITIVE_AREA = $HOST + '/hcstms/client/hws-sensitive-area/item'
export const HWM_DELETE_SENSITIVE_AREA = $HOST + '/hcstms/client/hws-sensitive-area/batch'
export const HWM_GET_SENSITIVE_TRANSINFO = $HOST + '/hcstms/client/hws-sensitive-area/getTransInfo'
 
// 运输安全管理---运单管理
export const HWM_GET_TRANSORDER_LIST = $HOST + '/hcstms/client/trans-order/pager'
export const HWM_GET_TRANSORDER_DETAIL = $HOST + '/hcstms/client/trans-order/id/{$id}'
export const HWM_ALL_TRANSORDER = $HOST + '/hcstms/client/trans-order/item'
export const HWM_DELETE_TRANSORDER = $HOST + '/hcstms/client/trans-order/batch'
 
// 危废---敏感区域提醒
export const HWM_GET_SENSITIVE_AREA_WARN_LIST = $HOST + '/hcstms/client/sensitive-area-warn/pager'
export const HWM_EXPORT_SENSITIVE_AREA_WARN = $HOST + '/hcstms/client/sensitive-area-warn/export/excel'
export const HWM_GET_SENSITIVE_AREA_WARN = $HOST + '/hcstms/client/sensitive-area-warn /item'
 
// 危废---行驶路径管理
export const HWM_GET_TRAVELPATH_LIST = $HOST + '/hcstms/client/hws-travel-path/pager'
export const HWM_GET_TRAVELPATH_DETAIL = $HOST + '/hcstms/client/hws-travel-path/id/{$hwsTravelPathId}'
export const HWM_DELETE_TRAVELPATH = $HOST + '/hcstms/client/hws-travel-path/batch'
export const HWM_ALL_TRAVELPATH = $HOST + '/hcstms/client/hws-travel-path/item'
export const HWM_GET_TRAVELPATH_CAR = $HOST + '/hcstms/client/hws-travel-path/findVehiclePage'
export const HWM_GET_TRAVELPATH_SHIP = $HOST + '/hcstms/client/hws-travel-path/findShipsPage'
// 危废---行驶路径提醒
export const HWM_GET_TRAVEL_PATH_REMIND_LIST = $HOST + '/hcstms/client/travel-path-warn/pager'
export const HWM_EXPORT_TRAVEL_PATH_REMIND = $HOST + '/hcstms/client/travel-path-warn/export/excel'
 
// 敏感区域提醒,行驶路经提醒运单详情
export const HWM_GET_TRANS_ORDER = $HOST + '/hcstms/client/trans-order/list'
 
// 用户管理
export const MDM_GET_USER_MANAGE_LIST = $HOST + '/hcstms/client/users/pager'
export const MDM_GET_USER_MANAGE_DETAIL = $HOST + '/hcstms/client/users/id/{$userId}'
export const MDM_GET_USER_ACCOUNT_DETAIL = $HOST + '/hcstms/client/users/account/{$account}'
export const MDM_ALL_USER_MANAGE = $HOST + '/hcstms/client/users/item'
export const MDM_DELETE_USER_MANAGE = $HOST + '/hcstms/client/users/batch'
export const MDM_POST_USER_MANAGE = $HOST + '/hcstms/client/users/importExcel'
export const MDM_GET_USER_MANAGE = $HOST + '/hcstms/client/users/importExcelTemp'
 
// 通知配置
export const MDM_GET_NOTICE_CONFIG_LIST = $HOST + '/hcstms/client/notice-config/pager'
export const MDM_GET_NOTICE_CONFIG_DETAIL = $HOST + '/hcstms/client/notice-config/id/{$noticeConfigId}'
export const MDM_ALL_NOTICE_CONFIG = $HOST + '/hcstms/client/notice-config/item'
export const MDM_DELETE_NOTICE_CONFIG = $HOST + '/hcstms/client/notice-config/batch'
// export const MDM_GET_USER_MANAGE = $HOST + '/hcstms/client/users/importExcelTemp'
 
// 企业危废信息
export const MDM_GET_COMHWSITEMS_LIST = $HOST + '/hcstms/client/company-hws-items/pager'
export const MDM_GET_COMHWSITEMS_DETAIL = $HOST + '/hcstms/client/company-hws-items/id/{$companyHwsItemId}'
export const MDM_ALL_COMHWSITEMS = $HOST + '/hcstms/client/company-hws-items/item'
export const MDM_DELETE_COMHWSITEMS = $HOST + '/hcstms/client/company-hws-items/batch'
 
// 危化品名录
export const MDM_GET_HAZARDOUS_CHEMICALS_LIST = $HOST + '/hcstms/client/hcs-items/pager'
export const MDM_GET_HAZARDOUS_CHEMICALS_DETAIL = $HOST + '/hcstms/client/hcs-items/id/{$hcsItemId}'
export const MDM_ALL_HAZARDOUS_CHEMICALS = $HOST + '/hcstms/client/hcs-items/item'
export const MDM_DELETE_HAZARDOUS_CHEMICALS = $HOST + '/hcstms/client/hcs-items/batch'
export const MDM_POST_IMPORT_HAZARDOUS_CHEMICALS = $HOST + '/hcstms/client/hcs-items/importExcel'
export const MDM_GET_HAZARDOUS_CHEMICALS_CAS = $HOST + '/hcstms/client/hcs-items/list'
 
// 企业危化品信息
export const MDM_GET_HAZARDOUS_CHEMICALS_ENTERPRISES_LIST = $HOST + '/hcstms/client/company-hcs-items/pager'
export const MDM_GET_HAZARDOUS_CHEMICALS_ENTERPRISES_DETAIL = $HOST + '/hcstms/client/company-hcs-items/id/{$companyHcsItemId}'
export const MDM_ALL_HAZARDOUS_CHEMICALS_ENTERPRISES = $HOST + '/hcstms/client/company-hcs-items/item'
export const MDM_DELETE_HAZARDOUS_CHEMICALS_ENTERPRISES = $HOST + '/hcstms/client/company-hcs-items/batch'
 
// 转移联单管理
export const MDM_GET_HWSTRANSFER_LIST = $HOST + '/hcstms/client/hws-transfer-order/pager'
export const MDM_GET_HWSTRANSFER_DETAIL = $HOST + '/hcstms/client/hws-transfer-order/id/{$hwsTransferOrderId}'
export const MDM_ALL_HWSTRANSFER = $HOST + '/hcstms/client/hws-transfer-order/item'
export const MDM_DELETE_HWSTRANSFER = $HOST + '/hcstms/client/hws-transfer-order/batch'
// 根据承运商id查询车量数据
export const MDM_GET_HWSTRANSFER_VEHICLES_DETAIL = $HOST + '/hcstms/client/vehicles/list'
 
// 危废运输首页
export const HWS_GET_TRANSPORTATION = $HOST + '/hcstms/client/statistics/hws/transportation'
export const HWS_GET_TRANSFER_TREND = $HOST + '/hcstms/client/statistics/hws/trend'
export const HWS_GET_KIND = $HOST + '/hcstms/client/statistics/hws/kind'
export const HWS_GET_SGIS = $HOST + '/hcstms/data/hws-sgis/groupByOrgCode'
 
// 综合查询
export const TMM_GET_ACCESS = $HOST + '/hcstms/client/organization/link/pager'
export const TMM_GET_CAR = $HOST + '/hcstms/client/company-resource-lib/transport/pager'
export const TMM_GET_BUSINESS = $HOST + '/hcstms/client/company-resource-lib/transport/pager'
export const TMM_GET_ALERT = $HOST + '/hcstms/client/alarm/vehicle/statistics/pager'
export const TMM_GET_LEVEL = $HOST + '/hcstms/client/company-resource-lib/qualification/pager'