Commit 85cdff3dab4025cd1c6014504369debfaac241dc

Authored by liuqimichale
1 parent f33e6ddb

登录

js/login.js
@@ -57,7 +57,9 @@ function username(obj) { @@ -57,7 +57,9 @@ function username(obj) {
57 var _this = obj; 57 var _this = obj;
58 _this.inputCheck({ 58 _this.inputCheck({
59 callback : function(result){ 59 callback : function(result){
  60 +
60 if(!result.email){ 61 if(!result.email){
  62 +
61 _this.next().removeClass('display-hide'); 63 _this.next().removeClass('display-hide');
62 flagAjax = false; 64 flagAjax = false;
63 }else{ 65 }else{
js/unit.js
@@ -55,1186 +55,13 @@ dataUrl.util = { @@ -55,1186 +55,13 @@ dataUrl.util = {
55 getLoginOut: function () { 55 getLoginOut: function () {
56 return baseUrl + 'oauth/loginout' 56 return baseUrl + 'oauth/loginout'
57 }, 57 },
58 - //获取菜单  
59 - getMenuByOpId: baseUrl + 'sysOp/queryMenuByOpId',  
60 - //查询角色  
61 - getQueryRoles: function () {  
62 - return baseUrl + 'sysRole/queryRoles'  
63 - },  
64 - //查询职能  
65 - getQueryJobFunc: function () {  
66 - return baseUrl + 'sysJobFunc/pageQuerySysjobFunc'  
67 - },  
68 - //根据职能ID 获取 改职能下有哪些资源  
69 - queryResByJobFunId: baseUrl + 'sysJobFunc/queryResIdByJobFunId',  
70 - //新增或更新 职能信息 职能与资源的关联关系  
71 - saveOrUpdateJobFunWithResIds: baseUrl + 'sysJobFunc/saveOrUpdateJobFunWithResIds',  
72 - //根据职能id查询角色  
73 - getRoleByJobFuncId: baseUrl + 'sysJobFunc/queryResIdByJobFunId',  
74 - //删除职能  
75 - deleteJobFun: baseUrl + 'sysJobFunc/deleteSysJobFunc',  
76 - //更新职能  
77 - updateJobFun: baseUrl + 'sysJobFunc/updateJobFun',  
78 - //保存职能  
79 - saveJobFun: baseUrl + 'sysJobFunc/saveJobFun',  
80 - //根据职能id查询角色信息  
81 - getRolesByJobFuncId: function () {  
82 - return baseUrl + 'sysJobFunc/queryRolesByJobId';  
83 - },  
84 - //保存职能与角色关系  
85 - batchSaveRoleJobFunByJobFunId: function () {  
86 - return baseUrl + 'sysJobFunc/batchSaveRoleJobFunByJobFunId';  
87 - },  
88 - //通过syscode查询职能  
89 - getJobFuncsBySysCode: function () {  
90 - return baseUrl + 'sysJobFunc/queryJobFuncsBySysCode'  
91 - },  
92 - //通过角色查询职能  
93 - queryJobFuncsByRoleId: function () {  
94 - return baseUrl + 'sysJobFunc/queryJobFuncsByRoleId'  
95 - },  
96 - //修改密码  
97 - modifyPass: baseUrl + 'sysOp/modifyPass',  
98 - isUsedForRoleByRoleId: function () {  
99 - return baseUrl + 'sysRole/isUsedForRoleByRoleId';  
100 - },  
101 - saveRole: function () {  
102 - return baseUrl + 'sysRole/add'  
103 - },  
104 - updateRole: function () {  
105 - return baseUrl + 'sysRole/update'  
106 - },  
107 - deleteRole: function () {  
108 - return baseUrl + 'sysRole/delete'  
109 - },  
110 - //2017-08-10  
111 - //获取省  
112 - getTbAreaProvince: function () {  
113 - return baseUrl + 'area/getTbAreaProvince'  
114 - },  
115 - //查询区域下一级  
116 - queryNextLeverById: function () {  
117 - return baseUrl + 'area/queryNextLeverById'  
118 - },  
119 - //查询用户分页列表  
120 - getQueryUsersList: function () {  
121 - return baseUrl + 'sysOp/queryOpsBySysCode'  
122 - },  
123 - //查询根据sysCode获取系统对象  
124 - querySysBySysCode: function () {  
125 - return baseUrl + 'sysCode/querySysBySysCode'  
126 - },  
127 - //查询获取停车场分页列表  
128 - queryParkingLotByPark: function () {  
129 - return baseUrl + 'sysOrg/queryParkingLotByPark'  
130 - },  
131 - //根据组织ID查询该组织下所有的用户  
132 - queryOpByorgIdForPage: function () {  
133 - return baseUrl + 'sysOrg/queryOpByorgIdForPage'  
134 - },  
135 - //查询用户名loginCode是否可以用  
136 - queryLoginCodeIsUsed: baseUrl + 'sysOp/loginCodeIsUsed',  
137 - //保存用户  
138 - saveUser: baseUrl + 'sysOp/insertUser',  
139 - //修改用户  
140 - updateUser: baseUrl + '/sysOp/modifyUser',  
141 - //删除用户  
142 - deleteUser: baseUrl + '/sysOp/deleteUser',  
143 - //重置密码  
144 - resetUserPwd: baseUrl + 'sysOp/modifyUserPassword',  
145 - //添加用户时查询角色列表  
146 - getQueryRolesList: baseUrl + 'sysOp/queryRolesBySysCode',  
147 - //条件查询时查询部门(组织)列表  
148 - getQueryOrgsList: baseUrl + 'sysOp/queryOrgsBySysCode',  
149 - //查询组织分页列表  
150 - getQueryOrgsPageList: baseUrl + 'sysOrg/getQueryOrgList',  
151 - //添加组织  
152 - saveOrg: baseUrl + 'sysOrg/insertOrg',  
153 - //修改组织  
154 - updateOrg: baseUrl + 'sysOrg/modifyOrg',  
155 - //删除组织  
156 - deleteOrg: baseUrl + 'sysOrg/deleteOrg',  
157 - //判断组织是否被占用  
158 - isUsedForOrgByOrgId: baseUrl + 'sysOrg/isUsedForOrgByOrgId',  
159 - //通过sysCode构建树形组织  
160 - getOrgTreeBySysCode: function () {  
161 - return baseUrl + 'sysOrg/getOrgTreeBySysCode'  
162 - },  
163 - //查询菜单  
164 - getSysResBySysCode: function () {  
165 - return baseUrl + 'sysRes/queryResBySysCode'  
166 - },  
167 - //通过syscode查询菜单树  
168 - getResTreeBySysCode: function () {  
169 - return baseUrl + 'sysRes/getResTreeBySysCode'  
170 - },  
171 - //判断角色名称是否已经存在?  
172 - queryRoleExistByRoleName: function () {  
173 - return baseUrl + 'sysRole/queryRoleExistByRoleName'  
174 - },  
175 - //删除菜单  
176 - deleteRes: function () {  
177 - return baseUrl + 'sysRes/delete'  
178 - },  
179 - //保存或更新菜单  
180 - saveOrUpdateRes: function () {  
181 - return baseUrl + 'sysRes/saveOrUpdate'  
182 - },  
183 - //判断某菜单是否已经被使用  
184 - isUsedForMenuByMenuId: function () {  
185 - return baseUrl + 'sysRes/isUsedForResByResId'  
186 - },  
187 - /**通过系统编码查询所有角色列表 wangfs Edit.*/  
188 - queryRoleBysysCode: function () {  
189 - return baseUrl + 'sysRole/queryRoleBySysCode'  
190 - },  
191 - /**获取用户Session信息 wangfs Edit.*/  
192 - getSessionUserInfo: function () {  
193 - return baseUrl + 'sysOp/querySessionUserInfo'  
194 - },  
195 - /**获取用户Session信息 wangfs Edit.*/  
196 - queryRolesByUserId: function () {  
197 - return baseUrl + 'sysRole/queryRolesByUserId'  
198 - },  
199 - /**获取用户Session信息 wangfs Edit.*/  
200 - saveUserRoles: function () {  
201 - return baseUrl + 'sysOp/saveUserRoles'  
202 - },  
203 - /**查询当前用户对应的组织 wangfs Edit.*/  
204 - queryOrgIdsByOpIds: function () {  
205 - return baseUrl + 'sysOp/queryOrgIdsByOpIds'  
206 - },  
207 - /**保存当前用户对应的组织 wangfs Edit.*/  
208 - saveSysOpAndSysOrgRelation: function () {  
209 - return baseUrl + 'sysOp/saveSysOpAndSysOrgRelation'  
210 - },  
211 - //查询根据sysCode获取系统对象  
212 - querySysBySysCode: function () {  
213 - return baseUrl + 'sysCode/querySysBySysCode'  
214 - },  
215 - //获取区域tree  
216 - getAreatree: function () {  
217 - return baseUrl + 'area/getAreatree'  
218 - },  
219 - //保存组织区域关系数据  
220 - batchSaveOrgAreaRelation: function () {  
221 - return baseUrl + 'area/batchSaveOrgAreaRelation'  
222 - },  
223 - //通过组织id查询已关联的区域list  
224 - queryAreaIdsByorgId: function () {  
225 - return baseUrl + 'area/queryAreaIdsByorgId'  
226 - },  
227 - //用过用户Id更新用户组织ID  
228 - updateSysOpOrgIdByOpId: function () {  
229 - return baseUrl + 'sysOp/updateSysOpOrgIdByOpId'  
230 - },  
231 -  
232 - //获取块列表  
233 - getParkBlockNamesByUserId: function () {  
234 - return baseUrl + 'area/getParkBlockNamesByUserId';  
235 - },  
236 - getParkBlockNamesByBlockId: function () {  
237 - return baseUrl + 'area/getParkBlockNamesByBlockId';  
238 - },  
239 - //通过数据状态构建树形菜单  
240 - queryAllResTree: function () {  
241 - return baseUrl + 'sysRes/queryAllResTree';  
242 - },  
243 - //通过组织等级查询组织树菜单  
244 - queryOrgByOrgLevelTree: function () {  
245 - return baseUrl + 'sysOrg/queryOrgByOrgLevelTree';  
246 - },  
247 - //批量保存组织与资源关系  
248 - batchInsertOrgRes: function () {  
249 - return baseUrl + 'sysRes/batchInsertOrgRes';  
250 - },  
251 - //通过组织id查询已经分配的资源ids  
252 - queryResIdsByOrgId: function () {  
253 - return baseUrl + 'sysRes/queryResIdsByOrgId';  
254 - },  
255 - //系统管理end  
256 -  
257 -  
258 - //云平台接口start  
259 - //停车场数据统计-车流量管理  
260 - //停车场信息统计  
261 - getParkLotStatistic: function () {  
262 - return parkcloudbaseUrl + 'parklotstatistic/getParkLotStatistic'  
263 - },  
264 - //日账单  
265 - getBillManagementTable: function () {  
266 - return parkcloudbaseUrl + 'bill/queryBillforDayForPage'  
267 - },  
268 - //日账单停车场不分组  
269 - queryBillforDayTotalForPageNoGroupByPark: function () {  
270 - return parkcloudbaseUrl + 'bill/queryBillforDayTotalForPageNoGroupByPark'  
271 - },  
272 - //日账单查看  
273 - getBillManagementTablecheck: function () {  
274 - return parkcloudbaseUrl + 'bill/queryBillForDay'  
275 - },  
276 - //日账单下载  
277 - getBillManagementTableDownload: function () {  
278 - return parkcloudbaseUrl + 'bill/exportToExcleForBillForDay'  
279 - },  
280 -  
281 - //月账单-表格查询  
282 - getMonthBillMngtStatistic: function () {  
283 - return parkcloudbaseUrl + 'monthbill/queryBillforMonthForPage'  
284 - },  
285 - //2017-9-15langlw 恢复月账单统计列表  
286 - queryBillforMonthList: function () {  
287 - return parkcloudbaseUrl + 'monthbill/queryBillforMonthList'  
288 - },  
289 -  
290 - //月账汇总单查询(统计图)  
291 - queryBillforMonthTotal: function () {  
292 - return parkcloudbaseUrl + 'monthbill/queryBillforMonthTotal'  
293 - },  
294 - //月账单列表所有下载  
295 - exportToExcleForBillForMonth: function () {  
296 - return parkcloudbaseUrl + 'monthbill/exportToExcleForBillForMonth'  
297 - },  
298 - //月账单年卡月卡导出  
299 - exportToExcleForBillForYearOrMonth: function () {  
300 - return parkcloudbaseUrl + 'monthbill/exportToExcleForBillForYearOrMonth'  
301 - },  
302 - //月账单临停导出  
303 - exportToExcleForBillForMonthTmp: function () {  
304 - return parkcloudbaseUrl + 'monthbill/exportToExcleForBillForMonthTmp'  
305 - },  
306 -  
307 - //临停总账单  
308 - getTemstopMngtStatistic: function () {  
309 - return parkcloudbaseUrl + 'monthbill/queryBillforMonthDetail'  
310 - },  
311 - //年卡月卡总账单  
312 - getCardMngtStatistic: function () {  
313 - return parkcloudbaseUrl + 'monthbill/queryBillforMonthDetail'  
314 - },  
315 - //临停停车场分组账单  
316 - getTemParkStatistic: function () {  
317 - return parkcloudbaseUrl + 'monthbill/queryBillforMonthDetail'  
318 - },  
319 - //年卡月卡停车场分组账单  
320 - getCardParkStatistic: function () {  
321 - return parkcloudbaseUrl + 'monthbill/queryBillforMonthDetail'  
322 - },  
323 - //分页查询停车场数据统计车位总流量  
324 - getParkingLotUseStatisticForPage: function () {  
325 - return parkcloudbaseUrl + 'VehicleFlowStatistic/getVehicleFlowStatisticForPage'  
326 - },  
327 - //车流量 图  
328 - getVehicleFlowForLineChart: function () {  
329 - return parkcloudbaseUrl + 'VehicleFlowStatistic/getVehicleFlowForLineChart'  
330 - },  
331 - //查询停车场数据统计最大值与最小值  
332 - getParkingLotUseStatisticMaxAndMin: function () {  
333 - return parkcloudbaseUrl + 'VehicleFlowStatistic/getVehicleFlowMaxAndMin'  
334 - },  
335 - //导出停车场数据统计车位总流量excel  
336 - getParkingLotUseStatisticExcel: function () {  
337 - return parkcloudbaseUrl + 'VehicleFlowStatistic/exportVehicleFlowStatisticExcel'  
338 - },  
339 - //月报表导出车流量  
340 - exportVehicleFlowStatisticExcelForMonth: function () {  
341 - return parkcloudbaseUrl + 'VehicleFlowStatistic/exportVehicleFlowStatisticExcelForMonth'  
342 - },  
343 - //日报表下载车流量  
344 - downloadVehicleFlowStatisticExcel: function () {  
345 - return parkcloudbaseUrl + 'VehicleFlowStatistic/downloadVehicleFlowStatisticExcel'  
346 - },  
347 - //月报表下载车流量  
348 - downloadVehicleFlowStatisticExcelForMonth: function () {  
349 - return parkcloudbaseUrl + 'VehicleFlowStatistic/downloadVehicleFlowStatisticExcelForMonth'  
350 - },  
351 -  
352 - //按月统计进出场车流量和占用率和周转率  
353 - queryMonthVehicleFlowAndVacancyRateAndTurnover: function () {  
354 - return parkcloudbaseUrl + 'VehicleFlowStatistic/queryMonthVehicleFlowAndVacancyRateAndTurnover'  
355 - },  
356 - //获取停车场列表  
357 - getParkLotNamesByUserId: function () {  
358 - return baseUrl + 'area/getParkLotNamesByUserId';  
359 - },  
360 - getSysCodeValueByKind: function () {  
361 - return baseUrl + 'common/getSysCodeValueByKind';  
362 - },  
363 - //停车场数据统计-车位管理  
364 - //查询停车场数据统计pie  
365 - getStatisticSummary: function () {  
366 - return parkcloudbaseUrl + 'parking/getstatisticsummary';  
367 - },  
368 - //查询停车场数据统计车位管理分页表格数据  
369 - getstatisticlist: function () {  
370 - return parkcloudbaseUrl + 'parking/getstatisticlist';  
371 - },  
372 - //车位使用管理空置率  
373 - getFreeRatioBerthForLineChart: function () {  
374 - return parkcloudbaseUrl + 'parking/getFreeRatioBerthForLineChart';  
375 - },  
376 - //车位使用管理周转率  
377 - getTurnOverBerthForLineChart: function () {  
378 - return parkcloudbaseUrl + 'parking/getTurnOverBerthForLineChart';  
379 - },  
380 - //数据统计 车位管理 导出excel  
381 - exportBerthStatisticExcel: function () {  
382 - return parkcloudbaseUrl + 'parking/exportBerthStatisticExcel';  
383 - },  
384 - //数据统计 日报表车位管理 下载  
385 - downloadBerthStatisticExcel: function () {  
386 - return parkcloudbaseUrl + 'parking/downloadBerthStatisticExcel';  
387 - },  
388 - //按月导出车位管理excel  
389 - exportBerthStatisticExcelForMonth: function () {  
390 - return parkcloudbaseUrl + 'parking/exportBerthStatisticExcelForMonth';  
391 - },  
392 - //月报表车位管理下载  
393 - downloadBerthStatisticExcelForMonth: function () {  
394 - return parkcloudbaseUrl + 'parking/downloadBerthStatisticExcelForMonth';  
395 - },  
396 58
397 59
398 - //停车场数据统计-交易管理  
399 - //获取交易详情  
400 - getordertrancdetails: function () {  
401 - return parkcloudbaseUrl + 'transaction/getordertrancdetails';  
402 - },  
403 - //停车收入统计--折线图  
404 - getOrderTransactionFoldLine: function () {  
405 - return parkcloudbaseUrl + 'transaction/getOrderTransactionFoldLine';  
406 - },  
407 - //获取统计提取总计信息  
408 - gettransactionstatisticsummary: function () {  
409 - return parkcloudbaseUrl + 'transaction/gettransactionstatisticsummary';  
410 - },  
411 - //获取交易统计数据列表  
412 - gettransactionstatisticlist: function () {  
413 - return parkcloudbaseUrl + 'transaction/gettransactionstatisticlist';  
414 - },  
415 - //导出交易数据excel  
416 - exportTransactionStatisticExcel: function () {  
417 - return parkcloudbaseUrl + 'transaction/exportTransactionStatisticExcel';  
418 - },  
419 -  
420 - //首页  
421 - //今日收入 和 逃逸金额  
422 - getTodayIncome: function () {  
423 - return parkcloudbaseUrl + 'index/queryCustIncomeTotal';  
424 - },  
425 - //车流量  
426 - getCurVehicleFlow: function () {  
427 - return parkcloudbaseUrl + 'index/realtimeGetCurVehicleFlow';  
428 - },  
429 - //今日空置率  
430 - getCurFreeRatio: function () {  
431 - return parkcloudbaseUrl + 'index/realtimeGetCurFreeRatio';  
432 - },  
433 - //首页饼图  
434 - getPieData: function () {  
435 - return parkcloudbaseUrl + 'index/queryCustIncomeTotalForPark';  
436 - },  
437 - //首页柱图 支付方式echarts  
438 - getBarData: function () {  
439 - return parkcloudbaseUrl + 'index/queryCustIncomeForPayType';  
440 - },  
441 - //实时查询当前总车流量  
442 - realtimeGetCurVehicleFlow: function () {  
443 - return parkcloudbaseUrl + 'index/realtimeGetCurVehicleFlow';  
444 - },  
445 - // 根据停车场编号获取该停车场今日车流量和车位折线图  
446 - getTodayVehicleFlowForLineChart: function () {  
447 - return parkcloudbaseUrl + 'index/getTodayVehicleFlowForLineChart';  
448 - },  
449 - //企业云平台首页-->停车次数统计(饼图)  
450 - queryParingCount: function () {  
451 - return parkcloudbaseUrl + 'index/queryParingCount';  
452 - },  
453 -  
454 - //云平台首页->企业客户负责所有的停车场汇总  
455 - queryCustIncomeTotal: function () {  
456 - return parkcloudbaseUrl + 'index/queryCustIncomeTotal';  
457 - },  
458 - //云平台首页->企业客户负责某个停车收入情况  
459 - queryCustIncomeTotalForPark: function () {  
460 - return parkcloudbaseUrl + 'index/queryCustIncomeTotalForPark';  
461 - },  
462 - //云平台首页->企业客户负责某个停车不同的支付方式收入情况  
463 - queryCustIncomeForPayType: function () {  
464 - return parkcloudbaseUrl + 'index/queryCustIncomeForPayType';  
465 - },  
466 - //企业云平台->数据统计->进出场上报数据统计  
467 - queryInOutParkForList: function () {  
468 - return parkcloudbaseUrl + 'inOutParkStatistic/queryInOutParkForList';  
469 - },  
470 - //企业云平台->数据统计->数据统计进出场上报折线图  
471 - queryInOutParkForChart: function () {  
472 - return parkcloudbaseUrl + 'inOutParkStatistic/queryInOutParkForChart';  
473 - },  
474 - //企业云平台->数据统计->导出进出场统计excel  
475 - exportInOutParkStatisticExcel: function () {  
476 - return parkcloudbaseUrl + 'inOutParkStatistic/exportInOutParkStatisticExcel';  
477 - },  
478 - //企业云平台->数据统计->年卡月卡统计  
479 - queryYearMonthCardStatistic: function () {  
480 - return parkcloudbaseUrl + 'yearMonthCardStatistic/queryYearMonthCardStatistic';  
481 - },  
482 - //企业云平台->数据统计->年卡月卡统计折线图  
483 - queryYearMonthCardStatisticForChart: function () {  
484 - return parkcloudbaseUrl + 'yearMonthCardStatistic/queryYearMonthCardStatisticForChart';  
485 - },  
486 - //企业云平台->数据统计->导出年卡月卡统计excel  
487 - exportYearMonthStatisticExcel: function () {  
488 - return parkcloudbaseUrl + 'yearMonthCardStatistic/exportYearMonthStatisticExcel';  
489 - }, do_s_eqpRoundList_json: function () {  
490 - return eqpUrl + 'ATMS-Park/EqpRoundMng/do_s_eqpRoundList_json';  
491 - }, do_s_eqpRoundMsgList_json: function () {  
492 - return eqpUrl + 'ATMS-Park/EqpRoundMng/do_s_eqpRoundMsgList_json';  
493 - },  
494 -  
495 - //企业云平台->数据统计->车位信息统计  
496 - statisticParkLotEqpCountByPlNos: function () {  
497 - return parkcloudbaseUrl + 'index/statisticParkLotEqpCountByPlNos';  
498 - },  
499 - getParkStaticsticAndTodayAmount: function () {  
500 - return parkcloudbaseUrl + 'parking/getParkStaticsticAndTodayAmount';  
501 - },  
502 - //首页签到记录  
503 - queryIndexSignRecord: function () {  
504 - return parkcloudbaseUrl + 'index/queryIndexSignRecord';  
505 - },  
506 - //今日实时停车次数  
507 - getRealtimeParkingOutNum: function () {  
508 - return parkcloudbaseUrl + 'index/realtimeParkingOutNum';  
509 - },  
510 - //今日实时周转率  
511 - getRealtimeTurnoverRate: function () {  
512 - return parkcloudbaseUrl + 'index/realtimeTurnoverRate';  
513 - },//今日实时占用率  
514 - getRealtimeoccupationRate: function () {  
515 - return parkcloudbaseUrl + 'index/realtimeoccupationRate';  
516 - },  
517 - //查询今日车流量占用率周转率  
518 - queryTodayVehicleFlowOccupyRateAndTurnOver: function () {  
519 - return parkcloudbaseUrl + 'index/queryTodayVehicleFlowOccupyRateAndTurnOver';  
520 - },  
521 - //决策分析->日报表->停车收费统计->统计图  
522 - queryBillforDayTotal: function () {  
523 - return parkcloudbaseUrl + 'bill/queryBillforDayTotal';  
524 - },  
525 - //决策分析->日报表->停车时长统计->折线图  
526 - echartsForParkDurationForDay: function () {  
527 - return parkcloudbaseUrl + 'parkDuration/queryEchartsForParkDurationForDay';  
528 - },  
529 - //决策分析->日报表->停车时长统计->excle导出  
530 - exportToExcleForParkDurationForDay: function () {  
531 - return parkcloudbaseUrl + 'parkDuration/exportToExcleForParkDurationForDay';  
532 - },  
533 - //决策分析->日报表->停车时长统计->下载详情  
534 - exportExcleForParkDurationDetail: function () {  
535 - return parkcloudbaseUrl + 'parkDuration/exportExcleForParkDurationDetail';  
536 - },  
537 - queryEchartsForParkDurationDayForPage: function () {  
538 - return parkcloudbaseUrl + 'parkDuration/queryEchartsForParkDurationDayForPage';  
539 - },  
540 - //根据查询条件查询停车订单  
541 - queryParkOrderByCondition: function () {  
542 - return parkcloudbaseUrl + 'order/queryParkOrderByCondition';  
543 - },  
544 - //根据条件查询欠费停车订单  
545 - queryArrearOrderByCondition: function () {  
546 - return parkcloudbaseUrl + 'order/queryArrearOrderByCondition';  
547 - },  
548 - //决策分析->月报表->停车时长统计->折线图  
549 - echartsForParkDurationForMonth: function () {  
550 - return parkcloudbaseUrl + 'parkDuration/queryEchartsForParkDurationForMonth';  
551 - },  
552 - //决策分析->月报表->停车时长统计->表格数据  
553 - queryEchartsForParkDurationMonthForPage: function () {  
554 - return parkcloudbaseUrl + 'parkDuration/queryEchartsForParkDurationMonthForPage';  
555 - },  
556 - //决策分析->月报表->停车时长统计->excle导出  
557 - exportToExcleForParkDurationForMonth: function () {  
558 - return parkcloudbaseUrl + 'parkDuration/exportToExcleForParkDurationForMonth';  
559 - },  
560 - //决策分析->月报表->停车时长统计->excle下载  
561 - downloadParkDurationExcelForMonth: function () {  
562 - return parkcloudbaseUrl + 'parkDuration/downloadParkDurationExcelForMonth';  
563 - },  
564 -  
565 - //根据查询条件导出停车订单  
566 - exportAllParkOrderByCondition: function () {  
567 - return parkcloudbaseUrl + 'order/exportAllParkOrderByCondition';  
568 - },  
569 - //根据查询条件导出所有欠费停车订单  
570 - exportArrearageParkOrderByCondition: function () {  
571 - return parkcloudbaseUrl + 'order/exportArrearageParkOrderByCondition';  
572 - },  
573 - //月账单年卡月卡统计-详情导出  
574 - exportYearMonthCardIncomeStatistic: function () {  
575 - return parkcloudbaseUrl + 'monthbill/exportYearMonthCardIncomeStatistic';  
576 - },  
577 - //区域管理-查询区域列表  
578 - queryAreaAndBlockTree: function () {  
579 - return parkcloudbaseUrl + 'areaManage/queryAreaAndBlockTree';  
580 - },  
581 - //根据区块id集合查询 省市区  
582 - queryProvinceCityAreaByBlockIds: function () {  
583 - return parkcloudbaseUrl + 'areaManage/queryProvinceCityAreaByBlockIds'  
584 - },  
585 - //根据区县ID-查询区块ID  
586 - queryAreaBlockByParentId: function () {  
587 - return baseUrl + 'area/queryAreaBlockByParentId';  
588 - },  
589 - //区块新增或修改  
590 - saveOrUpdateAreaBlock: function () {  
591 - return baseUrl + 'area/saveOrUpdateAreaBlock';  
592 - },  
593 - //区块删除  
594 - deleteAreaBlockByAreaBlockId: function () {  
595 - return baseUrl + 'area/deleteAreaBlockByAreaBlockId';  
596 - },  
597 - //根据区块ID查询区块下停车场数量  
598 - queryParkInfoNumByAreaBlockIds: function () {  
599 - return parkcloudbaseUrl + 'areaManage/queryParkInfoNumByAreaBlockIds';  
600 - },  
601 - //分析决策-泊位周转率  
602 - queryTurnOverForMap: function () {  
603 - return parkcloudbaseUrl + 'analysis/queryTurnOverForMap';  
604 - },  
605 - //分析决策-泊位周转率详情  
606 - berthTurnOverDetail: function () {  
607 - return parkcloudbaseUrl + 'analysis/berthTurnOverDetail';  
608 - },  
609 - //分析决策-泊位周转率详情-导出  
610 - exportBerthTurnOverExcel: function () {  
611 - return parkcloudbaseUrl + 'analysis/exportBerthTurnOverExcel';  
612 - },  
613 - //基础信息-泊位管理-分页查询  
614 - berthInfoList: function () {  
615 - return parkcloudbaseUrl + 'berth/berthInfoList';  
616 - },  
617 - //基础信息-泊位管理-泊位修改  
618 - updateBerthInfo: function () {  
619 - return parkcloudbaseUrl + 'berth/updateBerthInfo';  
620 - },  
621 - //基础信息-泊位管理-泊位删除  
622 - deleteBerths: function () {  
623 - return parkcloudbaseUrl + 'berth/deleteBerths';  
624 - },  
625 - //基础信息-泊位管理-泊位新增  
626 - saveBerthInfo: function () {  
627 - return parkcloudbaseUrl + 'berth/saveBerthInfo';  
628 - },  
629 - //基础信息-泊位管理-泊位导出  
630 - exportBerthsInfoExcel: function () {  
631 - return parkcloudbaseUrl + 'berth/exportBerthInfoExcel';  
632 - },  
633 - //获取泊位区间tree  
634 - getBerthAreatree: function () {  
635 - return parkcloudbaseUrl + 'area/getBerthAreatree'  
636 - },  
637 - //基础信息-泊位区间管理-分页查询  
638 - queryTpPRegionAreaForPage: function () {  
639 - return parkcloudbaseUrl + 'regionArea/queryTpPRegionAreaForPage';  
640 - },  
641 - //基础信息-泊位区间管理-添加或修改  
642 - saveOrUpdateTpPRegionArea: function () {  
643 - return parkcloudbaseUrl + 'regionArea/saveOrUpdateTpPRegionArea';  
644 - },  
645 - //基础信息-泊位区间管理-删除  
646 - deleteTpPRegionArea: function () {  
647 - return parkcloudbaseUrl + 'regionArea/deleteTpPRegionArea';  
648 - },  
649 - //基础信息-泊位区间管理-导出  
650 - exportTpPRegionAreaExcel: function () {  
651 - return parkcloudbaseUrl + 'regionArea/exportTpPRegionAreaExcel';  
652 - },  
653 - //实时监控-点位监控-查询泊位分页  
654 - queryBerthByBerthForPage: function () {  
655 - return parkcloudbaseUrl + 'realTime/queryBerthByBerthForPage';  
656 - },  
657 - //实时监控-点位监控-查询PDA  
658 - queryParkPdaMonitor: function () {  
659 - return parkcloudbaseUrl + 'realTime/queryParkPdaMonitor';  
660 - },  
661 - //实时监控-点位监控-查询停车场PDA信息(电子围栏)  
662 - queryParkPdaInfo: function () {  
663 - return parkcloudbaseUrl + 'realTime/queryParkPdaInfo';  
664 - },  
665 - //实时监控-点位监控-分组查询停车场占用率  
666 - queryParkBerthOccupancyRate: function () {  
667 - return parkcloudbaseUrl + 'realTime/queryParkBerthOccupancyRate';  
668 - },  
669 - //通过停车场集合查询停车场信息  
670 - queryParkingLotGeoByPlNos: function () {  
671 - return parkcloudbaseUrl + 'realTime/queryParkingLotGeoByPlNos';  
672 - },  
673 - //云平台接口end  
674 -  
675 - //停车场管理-分页查询  
676 - queryParkingLotPageByPark: function () {  
677 - return parkcloudbaseUrl + 'parkLotManage/queryParkingLotPageByPark';  
678 - },  
679 - //基础信息-停车场管理-停车场导出  
680 - parkingToExcleForPage: function () {  
681 - return parkcloudbaseUrl + 'parkLotManage/parkingToExcleForPage';  
682 - },  
683 - //基础信息-停车场管理-停车场添加  
684 - saveParkingLotInfo: function () {  
685 - return parkcloudbaseUrl + 'parkLotManage/saveParkingLotInfo';  
686 - },  
687 - //基础信息-停车场管理-停车场查询  
688 - queryParkingLotByPkNo: function () {  
689 - return parkcloudbaseUrl + 'parkLotManage/queryParkingLotByPkNo';  
690 - },  
691 - //基础信息-停车场管理-停车场修改  
692 - updateParkingLotInfo: function () {  
693 - return parkcloudbaseUrl + 'parkLotManage/updateParkingLotInfo';  
694 - },  
695 - //基础信息-停车场管理-刷新中session用户所绑定的停车场  
696 - refreshParkLotCache: function () {  
697 - return parkcloudbaseUrl + 'parkLotManage/refreshParkLotCache';  
698 - },  
699 - //基础信息-停车场管理-停车场删除  
700 - deleteParkingLotInfoByPlNos: function () {  
701 - return parkcloudbaseUrl + 'parkLotManage/deleteParkingLotInfoByPlNos';  
702 - },  
703 - //设备运维-地磁管理-地磁查询  
704 - queryEqpPage: function () {  
705 - return parkcloudbaseUrl + 'geomagnetic/records';  
706 - },  
707 - //设备运维-地磁管理-泊位查询  
708 - getBerthMsgByPlNo: function () {  
709 - return parkcloudbaseUrl + 'geomagnetic/getBerthMsgByPlNo';  
710 - },  
711 - //设备运维-地磁管理-地磁添加  
712 - saveEqpMsg: function () {  
713 - return parkcloudbaseUrl + 'geomagnetic/insertone';  
714 - },  
715 - //设备运维-地磁管理-地磁修改  
716 - updateEqpMsg: function () {  
717 - return parkcloudbaseUrl + 'geomagnetic/updateone';  
718 - },  
719 - //设备运维-地磁管理-地磁删除  
720 - deleteEqpMsgById: function () {  
721 - return parkcloudbaseUrl + 'geomagnetic/deleteall';  
722 - },  
723 - //设备运维-地磁管理-地磁导出  
724 - eqpMsgToExcleForPage: function () {  
725 - return parkcloudbaseUrl + 'geomagnetic/eqpMsgToExcleForPage';  
726 - },  
727 - //过车查询  
728 - queryPassedca4pabe: function () {  
729 - return parkcloudbaseUrl + 'padinfo/queryPassedca4pabe';  
730 - },  
731 - //导出过车信息  
732 - exportPassCarInfoExcel: function () {  
733 - return parkcloudbaseUrl + 'padinfo/exportPassCarInfoExcel';  
734 - },  
735 - //PDA分页信息  
736 - queryPdaInfo4pabe: function () {  
737 - return parkcloudbaseUrl + 'padinfo/queryPdaInfo4pabe';  
738 - },  
739 - //添加PDA  
740 - insertPda: function () {  
741 - return parkcloudbaseUrl + 'padinfo/insertPda';  
742 - },  
743 - //修改PDA  
744 - updatePda: function () {  
745 - return parkcloudbaseUrl + 'padinfo/updatePda';  
746 - },  
747 - //删除pda  
748 - deletePda: function () {  
749 - return parkcloudbaseUrl + 'padinfo/deletePda';  
750 - },  
751 - //导出pda  
752 - exportBerthInfoExcel: function () {  
753 - return parkcloudbaseUrl + 'padinfo/exportBerthInfoExcel';  
754 - },  
755 - //分页查询设备维护信息  
756 - queryEpqOperationForPage: function () {  
757 - return parkcloudbaseUrl + 'eqpOperation/queryEpqOperationForPage';  
758 - },  
759 - //通过PDA设备编号查询PDA信息  
760 - queryPdaByPdaNo: function () {  
761 - return parkcloudbaseUrl + 'eqpOperation/queryPdaByPdaNo';  
762 - },  
763 - //通过设备编号和厂家编号查询设备  
764 - selectEqpByEqpNoAndFactory: function () {  
765 - return parkcloudbaseUrl + 'eqpOperation/selectEqpByEqpNoAndFactory';  
766 - },  
767 - //新增或修改设备维护信息  
768 - saveOrModifyEqpOperation: function () {  
769 - return parkcloudbaseUrl + 'eqpOperation/saveOrModifyEqpOperation';  
770 - },  
771 - //删除设备维护信息  
772 - updateEqpOperationForDelete: function () {  
773 - return parkcloudbaseUrl + 'eqpOperation/updateEqpOperationForDelete';  
774 - },  
775 - //导出设备维护信息列表excel  
776 - exportEqpOperationExcel: function () {  
777 - return parkcloudbaseUrl + 'eqpOperation/exportEqpOperationExcel';  
778 - },  
779 - //查询厂家列表  
780 - queryFactoryInfoForList: function () {  
781 - return parkcloudbaseUrl + 'eqpOperation/queryFactoryInfoForList';  
782 - },  
783 - //停车收费时长统计-提供财务  
784 - queryParkOrderForFinance: function () {  
785 - return parkcloudbaseUrl + 'order/queryParkOrderForFinance';  
786 - },  
787 - //停车收费时长统计-提供财务  
788 - excleImportParkOrderForFinance: function () {  
789 - return parkcloudbaseUrl + 'order/excleImportParkOrderForFinance';  
790 - },  
791 - //结算管理  
792 - //结算管理-日账单管理-分页查询日账单区域收入汇总  
793 - queryBillforDayTotalForBlockPage: function () {  
794 - return parkcloudbaseUrl + 'bill/queryBillforDayTotalForBlockPage';  
795 - },  
796 - //结算管理-日账单管理-分页查询日账单停车场收入汇总  
797 - queryBillforDayTotalForParkPage: function () {  
798 - return parkcloudbaseUrl + 'bill/queryBillforDayTotalForParkPage';  
799 - },  
800 - //结算管理-日账单管理-分页查询日账单泊位区间收入汇总  
801 - queryBillforDayTotalForAreaBerthPage: function () {  
802 - return parkcloudbaseUrl + 'bill/queryBillforDayTotalForAreaBerthPage';  
803 - },  
804 - //结算管理-日账单管理-查询日账单区域收入汇总  
805 - queryBillforDayTotals: function () {  
806 - return parkcloudbaseUrl + 'bill/queryBillforDayTotals';  
807 - },  
808 - //对账单行政区下拉框  
809 - getAreaForCountry: function () {  
810 - return parkcloudbaseUrl + 'selectItem/getAreaForCountry';  
811 - },  
812 - //对账单块  
813 - getAlock: function () {  
814 - return parkcloudbaseUrl + 'selectItem/getAlock';  
815 - },  
816 - //对账单停车场信息  
817 - getParkInfoS: function () {  
818 - return parkcloudbaseUrl + 'selectItem/getParkInfo';  
819 - },  
820 - //对账泊位区间  
821 - getParkAreaSelectItem: function () {  
822 - return parkcloudbaseUrl + 'selectItem/getParkAreaSelectItem';  
823 - },  
824 - //对账单汇总查询  
825 - queryBillFillTotalForPayType: function () {  
826 - return parkcloudbaseUrl + 'billReconciliation/queryBillFillTotalForPayType';  
827 - },  
828 -  
829 - //对账单明细查询  
830 - queryBlancacforDayDetailPage: function () {  
831 - return parkcloudbaseUrl + 'billReconciliation/queryBlancacforDayDetailPage';  
832 - },  
833 - //对账单明细导出  
834 - exportToBlancacforDayDetail: function () {  
835 - return parkcloudbaseUrl + 'billReconciliation/exportToBlancacforDayDetail';  
836 - },  
837 - //对账单汇总导出  
838 - exportToBlancacforDayAll: function () {  
839 - return parkcloudbaseUrl + 'billReconciliation/exportToBlancacforDayAll';  
840 - },  
841 - //添加备注  
842 - saveQeualRemarks: function () {  
843 - return parkcloudbaseUrl + 'billReconciliation/saveQeualRemarks';  
844 - },  
845 - //结算管理月账单-导出  
846 - exportToExcleForBillForAll: function () {  
847 - return parkcloudbaseUrl + 'monthbill/exportToExcleForBillForAll';  
848 - },  
849 -  
850 -  
851 - //结算管理-日账单管理-日账单区域收入汇总导出  
852 - exportToBillExcleforDayTotals: function () {  
853 - return parkcloudbaseUrl + 'bill/exportToBillExcleforDayTotals';  
854 - },  
855 - /***************************会员卡购买begin*****************************************/  
856 - //会员卡管理-批量导入  
857 - batchImportVipCardCustInfo: function () {  
858 - return parkcloudbaseUrl + 'vipCardCustInfo/batchImportVipCardCustInfo';  
859 - },  
860 - //会员卡模版下载  
861 - excleTemplateDownLoad: function () {  
862 - return parkcloudbaseUrl + 'vipCardCustInfo/excleTemplateDownLoad';  
863 - },  
864 - queryVipCardCustInfoForPage: function () {  
865 - return parkcloudbaseUrl + 'vipCardCustInfo/queryVipCardCustInfoForPage';  
866 - },  
867 - /***************************会员卡购买end*****************************************/  
868 -  
869 - /***************************会员卡规则begin***************************************/  
870 - //会员卡类型下拉框  
871 - queryVIPCardRuleForPage: function () {  
872 - return parkcloudbaseUrl + 'vipCardRule/queryVIPCardRuleForPage';  
873 - },  
874 - //会员卡停车场树  
875 - vipCardSelectParkTree: function () {  
876 - return parkcloudbaseUrl + 'vipCardRule/vipCardSelectParkTree';  
877 - },  
878 - //插入会员卡数据  
879 - insertVipCard: function () {  
880 - return parkcloudbaseUrl + 'vipCardRule/insertVipCard';  
881 - },  
882 - //更新会员卡数据  
883 - updateVipCard: function () {  
884 - return parkcloudbaseUrl + 'vipCardRule/updateVipCard';  
885 - },  
886 - //删除会员卡数据  
887 - deleteVipCard: function () {  
888 - return parkcloudbaseUrl + 'vipCardRule/deleteVipCard';  
889 - },  
890 -  
891 - //校验会员卡是否重复创建  
892 - checkVipCardPark: function () {  
893 - return parkcloudbaseUrl + 'vipCardRule/checkVipCardPark';  
894 - },  
895 -  
896 -  
897 - /***************************会员卡规则end***************************************/  
898 -  
899 - //会员卡类型下拉框  
900 - getVipCardListSelectItem: function () {  
901 - return parkcloudbaseUrl + 'selectItem/getVipCardListSelectItem';  
902 - },  
903 - //会员卡类型对应的会员卡名称下拉框  
904 - getVipCardSelectItem: function () {  
905 - return parkcloudbaseUrl + 'selectItem/getVipCardSelectItem';  
906 - },  
907 - //新增会员卡时会员卡名称下拉框  
908 - getVipCardNameListSelectItem: function () {  
909 - return parkcloudbaseUrl + 'selectItem/getVipCardNameListSelectItem';  
910 - },  
911 - //新增会员卡时会员卡名称下拉框  
912 - queryVipCardCustInfoForPage: function () {  
913 - return parkcloudbaseUrl + 'vipCardCustInfo/queryVipCardCustInfoForPage';  
914 - },  
915 - //根据会员卡编码查询会员卡信息  
916 - queryVipCardByVipCard: function () {  
917 - return parkcloudbaseUrl + 'vipCardCustInfo/queryVipCardByVipCard';  
918 - },  
919 - //保存会员卡和客户信息  
920 - saveVipCardCustInfoAndPerson: function () {  
921 - return parkcloudbaseUrl + 'vipCardCustInfo/saveVipCardCustInfoAndPerson';  
922 - },  
923 - //修改会员卡和客户信息  
924 - updateVipCardCustInfoAndPerson: function () {  
925 - return parkcloudbaseUrl + 'vipCardCustInfo/updateVipCardCustInfoAndPerson';  
926 - },  
927 - //通过主键修改个人会员卡信息(续费)  
928 - updateVipCardCustInfoById: function () {  
929 - return parkcloudbaseUrl + 'vipCardCustInfo/updateVipCardCustInfoById';  
930 - },  
931 - /***************************白名单规则管理开始***********************************/  
932 - //分页查询白名单信息  
933 - queryWhitelistRuleForPage: function () {  
934 - return parkcloudbaseUrl + 'whitelist/queryWhitelistRuleForPage';  
935 - },  
936 - //查询白名单信息  
937 - queryWhiteRuleById: function () {  
938 - return parkcloudbaseUrl + 'whitelist/queryWhiteRuleById';  
939 - },  
940 - //修改白名单信息  
941 - updateWhiteRuleById: function () {  
942 - return parkcloudbaseUrl + 'whitelist/updateWhiteRuleById';  
943 - },  
944 - //删除白名单信息  
945 - deleteWhiteRuleById: function () {  
946 - return parkcloudbaseUrl + 'whitelist/deleteWhiteRuleById';  
947 - },  
948 - //添加白名单信息  
949 - addWhiteRuleById: function () {  
950 - return parkcloudbaseUrl + 'whitelist/addWhiteRuleById';  
951 - },  
952 - /***************************白名单规则管理结束***********************************/  
953 - /***************************折扣规则管理开始***********************************/  
954 - //分页查询折扣信息  
955 - queryDiscountRuleForPage: function () {  
956 - return parkcloudbaseUrl + 'discount/queryDiscountRuleForPage';  
957 - },  
958 - //查询折扣信息  
959 - queryDiscountRuleById: function () {  
960 - return parkcloudbaseUrl + 'discount/queryDiscountRuleById';  
961 - },  
962 - //修改折扣信息  
963 - updateDiscountRuleById: function () {  
964 - return parkcloudbaseUrl + 'discount/updateDiscountRuleById';  
965 - },  
966 - //删除折扣信息  
967 - deleteDiscountRuleById: function () {  
968 - return parkcloudbaseUrl + 'discount/deleteDiscountRuleById';  
969 - },  
970 - //添加折扣信息  
971 - addDiscountRule: function () {  
972 - return parkcloudbaseUrl + 'discount/addDiscountRule';  
973 - },  
974 - /***************************折扣规则管理结束***********************************/  
975 - /***************************收费员管理开始***********************************/  
976 - //获取行政区域和管理单位  
977 - queryAreaCodeAndDeptCodes: function () {  
978 - return parkcloudbaseUrl + 'personnelmngt/queryAreaCodeAndDeptCodes';  
979 - },  
980 - //根据行政区域和管理单位获取收费组  
981 - queryCashierGroups: function () {  
982 - return parkcloudbaseUrl + 'personnelmngt/queryCashierGroups';  
983 - },  
984 - //分页查询收费员信息  
985 - queryCashierListInfo: function () {  
986 - return parkcloudbaseUrl + 'personnelmngt/queryCashierListInfo';  
987 - },  
988 - //收费员详情  
989 - getCashierDetailInfo: function () {  
990 - return parkcloudbaseUrl + 'personnelmngt/getCashierDetailInfo';  
991 - },  
992 - /***************************收费员管理结束***********************************/  
993 - /***************************计费规则开始***********************************/  
994 - // 模拟计费-根据停车场编码与车辆类型查询计费规则  
995 - queryBillingRuleByPlNoAndCarType: function () {  
996 - return parkcloudbaseUrl + 'billingRule/queryBillingRuleByPlNoAndCarType';  
997 - },  
998 - // 模拟计费  
999 - billing: function () {  
1000 - return parkcloudbaseUrl + 'billing/billing';  
1001 - },  
1002 - //计费日志-明细  
1003 - queryBillingLogByLogId: function () {  
1004 - return parkcloudbaseUrl + 'billing/queryBillingLogByLogId';  
1005 - },  
1006 - //计费日志-图  
1007 - queryBillingLogForLineChart: function () {  
1008 - return parkcloudbaseUrl + 'billingLog/queryBillingLogForLineChart';  
1009 - },  
1010 - /***************************计费规则结束***********************************/  
1011 - // 人员管理-收费员管理  
1012 - getCashierGroupListURL: function () {  
1013 - return parkcloudbaseUrl + 'personnelmngt/cashier/grouplist';  
1014 - },  
1015 - // 生成一条收费员记录  
1016 - createACashierRecURL: function () {  
1017 - return parkcloudbaseUrl + 'personnelmngt/cashier/insertone';  
1018 - },  
1019 - updateoneACashierRecURL: function () {  
1020 - return parkcloudbaseUrl + 'personnelmngt/cashier/updateone';  
1021 - },  
1022 - resetpwdACashierRecURL: function () {  
1023 - return parkcloudbaseUrl + 'personnelmngt/resetpwd';  
1024 - },  
1025 -  
1026 - // 获取指定收费组编号所管理的所有泊位区间数据  
1027 - queryBerthAreaInfoListByGroupCodeURL: function () {  
1028 - return parkcloudbaseUrl + 'personnelmngt/queryberthareainfolistbygroupcode';  
1029 - },  
1030 - // 更新收费员编号与泊位区间的绑定关系  
1031 - bindOrUnbindCashierCodeWithBerthAreasURL: function () {  
1032 - return parkcloudbaseUrl + 'personnelmngt/bindorunbindwithberthareas';  
1033 - },  
1034 - // 获取编辑收费员信息  
1035 - getEditCashierDetailInfo: function () {  
1036 - return parkcloudbaseUrl + 'personnelmngt/getCashierDetailInfo';  
1037 - },  
1038 - //计费规则管理  
1039 - queryBillingRuleCollects: function () {  
1040 - return parkcloudbaseUrl + 'billingRule/queryBillingRuleCollects';  
1041 - }  
1042 -  
1043 } 60 }
1044 //公共方法 61 //公共方法
1045 fn = { 62 fn = {
1046 - //获取物联网小镇停过车查询停车点  
1047 - getParkPoint: function (callBack) {  
1048 - fn.getCommonDict('WWW_PARK_POINT_CODE', callBack);  
1049 - },  
1050 - //获取车辆类型  
1051 - getCarType: function (callBack) {  
1052 - fn.getCommonDict('SYS_CODE_CAR_TYPE', callBack);  
1053 - },  
1054 - //获取停车场类型  
1055 - getParkLotType: function (callBack) {  
1056 - fn.getCommonDict('SYS_CODE_PARK_LOT_TYPE', callBack);  
1057 - },  
1058 - //获取停车场类型属性-路内  
1059 - getParkTypePropOne: function (callBack) {  
1060 - fn.getCommonDict('SYS_CODE_PARK_TYPE_PROP_1', callBack);  
1061 - },  
1062 - //获取停车场类型属性-路外  
1063 - getParkTypePropTwo: function (callBack) {  
1064 - fn.getCommonDict('SYS_CODE_PARK_TYPE_PROP_2', callBack);  
1065 - },  
1066 - //获取停车场商圈属性  
1067 - getParkBusiCircle: function (callBack) {  
1068 - fn.getCommonDict('SYS_CODE_PARK_BUSI_CIRCLE', callBack);  
1069 - },  
1070 - //获取停车场经纬度类型  
1071 - getParkLonLatType: function (callBack) {  
1072 - fn.getCommonDict('SYS_CODE_LON_LAT_TYPE', callBack);  
1073 - },  
1074 - //获取停车场状态  
1075 - getParkLotState: function (callBack) {  
1076 - fn.getCommonDict('SYS_CODE_PARK_LOT_STATE', callBack);  
1077 - },  
1078 - //获取停车场停车方式  
1079 - getParkStyle: function (callBack) {  
1080 - fn.getCommonDict('SYS_CODE_PARK_STYLE', callBack);  
1081 - },  
1082 - //获取停车状态  
1083 - getParkStatus: function (callBack) {  
1084 - fn.getCommonDict('SYS_CODE_PARK_STATUS', callBack);  
1085 - },  
1086 - //获取停车类型  
1087 - getParkType: function (callBack) {  
1088 - fn.getCommonDict('SYS_CODE_PARK_TYPE', callBack);  
1089 - },  
1090 - //获取停车场类型  
1091 - getParkLotType: function (callBack) {  
1092 - fn.getCommonDict('SYS_CODE_PARKLOT_TYPE', callBack);  
1093 - },  
1094 - getArrearOrderStatus: function (callBack) {  
1095 - fn.getCommonDict('SYS_CODE_ORDER_ARREAR_STATUS', callBack);  
1096 - },  
1097 - //获取支付类型  
1098 - getPayType: function (callBack) {  
1099 - fn.getCommonDict('SYS_CODE_PAY_TYPE', callBack);  
1100 - },  
1101 - //地磁状态获取  
1102 - getEqpStateType: function (callBack) {  
1103 - fn.getCommonDict('TP_P_EQP_IS_ONLINE', callBack);  
1104 - },  
1105 - //pda类型获取  
1106 - getPdaType: function (callBack) {  
1107 - fn.getCommonDict('SYS_CODE_PDA_TYPE', callBack);  
1108 - },  
1109 - //pda状态获取  
1110 - getPdaStatus: function (callBack) {  
1111 - fn.getCommonDict('SYS_CODE_PDA_STATUS', callBack);  
1112 - },  
1113 - //白名单匹配规则  
1114 - getMatchType: function (callBack) {  
1115 - fn.getCommonDict('BILL_WHITE_LIST_MATCH_TYPE', callBack);  
1116 - },  
1117 - //白名单收费类型  
1118 - getChargeType: function (callBack) {  
1119 - fn.getCommonDict('BILL_WHITE_LIST_CHARGE_TYPE', callBack);  
1120 - },  
1121 - //根据字典表类型获取系统字典表公共参数,callBack为获取成功后的回调函数  
1122 - getCommonDict: function (dictKind, callBack) {  
1123 - var commonPrefix = 'sys_common_code_';  
1124 - if (undefined == dictKind) {  
1125 - return null;  
1126 - session  
1127 - }  
1128 -  
1129 - var codeValue = sessionStorage.getItem(commonPrefix + dictKind);  
1130 - if (codeValue && codeValue != null && codeValue.length > 0) {  
1131 - callBack(JSON.parse(codeValue));  
1132 - }  
1133 -  
1134 - var req = {  
1135 - sysCode: sysComm.sysCode,  
1136 - sysCodeKind: dictKind  
1137 - }  
1138 63
1139 - var opt = {  
1140 - data: JSON.stringify(req),  
1141 - method: "POST",  
1142 - url: dataUrl.util.getSysCodeValueByKind(),  
1143 - success: function (res) {  
1144 - if (res.code == '8888') {  
1145 - codeValue = JSON.stringify(res.data);  
1146 - if (codeValue.length > 1) {  
1147 - sessionStorage.setItem(commonPrefix + dictKind, codeValue);  
1148 - }  
1149 - callBack(JSON.parse(codeValue));  
1150 - }  
1151 - }  
1152 - }  
1153 - sysAjax(opt);  
1154 - },  
1155 - //根据字典表类型获取系统字典表公共参数  
1156 -  
1157 - //获取块信息  
1158 - getParkBlock: function () {  
1159 - var parkBlock = sessionStorage.getItem('sys_parkBlock');  
1160 - if (parkBlock && parkBlock != null && parkBlock.length > 2) {  
1161 - return JSON.parse(parkBlock);  
1162 - }  
1163 - var req = {sysCode: sysComm.sysCode};  
1164 - var opt = {  
1165 - async: false,  
1166 - data: req,  
1167 - method: "get",  
1168 - url: dataUrl.util.getParkBlockNamesByUserId(),  
1169 - success: function (res) {  
1170 - if (res.code == '8888') {  
1171 - parkBlock = JSON.stringify(res.data);  
1172 - sessionStorage.setItem('sys_parkBlock', parkBlock);  
1173 - }  
1174 - }  
1175 - }  
1176 - sysAjax(opt);  
1177 - return JSON.parse(parkBlock);  
1178 - },  
1179 - //清除停车场缓存  
1180 - removeParkLotCache: function () {  
1181 - sessionStorage.removeItem('sys_parkLot');  
1182 - },  
1183 - //获取停车场  
1184 - getParkLot: function () {  
1185 - var parkLot = sessionStorage.getItem('sys_parkLot');  
1186 - if (parkLot && parkLot != null && parkLot.length > 2) {  
1187 - return JSON.parse(parkLot);  
1188 - }  
1189 - var req = {sysCode: sysComm.sysCode};  
1190 - var opt = {  
1191 - async: false,  
1192 - data: req,  
1193 - method: "get",  
1194 - url: dataUrl.util.getParkLotNamesByUserId(),  
1195 - success: function (res) {  
1196 - if (res.code == '8888') {  
1197 64
1198 - if (parkLot == null || parkLot.length == 0) {  
1199 - parkLot = [{  
1200 - code: "-9999",  
1201 - name: "无关联停车场",  
1202 - type: "-9"  
1203 - }]  
1204 - }  
1205 - parkLot = JSON.stringify(res.data);  
1206 - sessionStorage.setItem('sys_parkLot', parkLot);  
1207 - }  
1208 - }  
1209 - }  
1210 - sysAjax(opt);  
1211 - return JSON.parse(parkLot);  
1212 -  
1213 - },  
1214 - //获取厂家信息  
1215 - getFactoryInfo: function (callBack) {  
1216 - var factoryInfo = sessionStorage.getItem("factory_info");  
1217 - if (factoryInfo && factoryInfo != null && factoryInfo.length > 2) {  
1218 - factoryInfo = JSON.parse(factoryInfo)  
1219 - callBack(factoryInfo);  
1220 - } else {  
1221 - var req = {sysCode: sysComm.sysCode};  
1222 - var opt = {  
1223 - data: JSON.stringify(req),  
1224 - method: "post",  
1225 - url: dataUrl.util.queryFactoryInfoForList(),  
1226 - success: function (res) {  
1227 - if (res.code == '8888') {  
1228 - factoryInfo = res.data;  
1229 - sessionStorage.setItem('factory_info', JSON.stringify(factoryInfo));  
1230 - callBack(factoryInfo);  
1231 - }  
1232 - }  
1233 - }  
1234 - sysAjax(opt);  
1235 -  
1236 - }  
1237 - },  
1238 //获取普通API鉴权token 65 //获取普通API鉴权token
1239 getToken: function () { 66 getToken: function () {
1240 var token = sessionStorage.getItem("token"); 67 var token = sessionStorage.getItem("token");
login.html
@@ -29,20 +29,22 @@ @@ -29,20 +29,22 @@
29 <div class="cont-user clearfix"> 29 <div class="cont-user clearfix">
30 <span class="user-bg"></span> 30 <span class="user-bg"></span>
31 <input class="login-control" type="text" autocomplete="off" placeholder="请输入用户名" name="username" id="userName" maxlength="25"> 31 <input class="login-control" type="text" autocomplete="off" placeholder="请输入用户名" name="username" id="userName" maxlength="25">
  32 + <div class="alert-danger display-hide error_ifo">
  33 + <span>请输入正确的邮箱 </span>
  34 + </div>
32 </div> 35 </div>
33 - <div class="alert-danger display-hide error_ifo">  
34 - <span>请输入正确的邮箱 </span>  
35 - </div> 36 +
36 </div> 37 </div>
37 <!-- psw --> 38 <!-- psw -->
38 <div class="psw-cont"> 39 <div class="psw-cont">
39 <div class="cont-psw clearfix"> 40 <div class="cont-psw clearfix">
40 <span class="psw-bg"></span> 41 <span class="psw-bg"></span>
41 <input class="login-control" type="text" autocomplete="off" placeholder="请输入6-20位字母和数字组成的密码" name="password" id="password" maxlength="25"> 42 <input class="login-control" type="text" autocomplete="off" placeholder="请输入6-20位字母和数字组成的密码" name="password" id="password" maxlength="25">
  43 + <div class="alert-danger display-hide error_ifo">
  44 + <span>请输入正确密码</span>
  45 + </div>
42 </div> 46 </div>
43 - <div class="alert-danger display-hide error_ifo">  
44 - <span>请输入正确密码</span>  
45 - </div> 47 +
46 </div> 48 </div>
47 <!-- yanzhengma --> 49 <!-- yanzhengma -->
48 <div class="clearfix"> 50 <div class="clearfix">