Commit 96cc12efabb3d3964e130ce26ac06b1327316b76

Authored by liuqimichale
2 parents 2498b302 8a7f04b1

Merge branch 'branch' of http://192.168.1.195:9998/web_developers/javaplatform into branch

css/login.css
... ... @@ -32,7 +32,7 @@ body{
32 32 width: 580px;
33 33 margin: 100px auto 0;
34 34 background: #fff;
35   - border-radius: 20px;
  35 + border-radius: 10px;
36 36 }
37 37 .posrel{
38 38 position: relative;
... ...
js/unit.js 0 → 100644
  1 +/**
  2 + * Created by mac on 17/5/8.
  3 + */
  4 +sysComm = {
  5 + sysCode: '1001',//企业云系统编码
  6 + gvnSysCode: '1002',//政府系统编码
  7 + grantType: 'PASSWORD',//授权模式
  8 + clientType: 'WEB'//客户端类型
  9 +}
  10 +
  11 +
  12 +
  13 +//var baseUrl = 'http://localhost:8089/';// url公用地址
  14 +// var parkcloudbaseUrl = 'http://localhost:8099/';// url公用地址
  15 +// var authUrl = 'http://localhost:8089/';// 鉴权URL公用地址192.168.1.196:8090
  16 +
  17 +//阿里云环境,别删
  18 +// var baseUrl = 'http://sys.service.rnting.com/';// url公用地址
  19 +// var parkcloudbaseUrl = 'http://120.26.116.79:8093/';// url公用地址
  20 +// var authUrl = 'http://sys.service.rnting.com/';// 鉴权URL公用地址
  21 +
  22 +//61环境,别删
  23 +var baseUrl = 'http://61.177.139.228:18088/';// url公用地址
  24 +var parkcloudbaseUrl = 'http://61.177.139.228:18093/';// url公用地址
  25 +var authUrl = 'http://61.177.139.228:18088/';// 鉴权URL公用地址
  26 +
  27 +
  28 +var dataUrl = dataUrl || {};
  29 +
  30 +// dataUrl.util = {
  31 +//
  32 +//
  33 +//
  34 +// }
  35 +
  36 +dataUrl.util = {
  37 +
  38 + //系统管理start
  39 + //查询字典信息
  40 + getdatadicinfo:function(){
  41 + return baseUrl + 'datadic/getdatadicinfo';
  42 + },
  43 + //登录日志
  44 + queryLoginLog:function(){
  45 + return baseUrl + 'sysLoginLog/queryLoginLog';
  46 + },
  47 + //获取验证码
  48 + getLoginImageCode: function () {
  49 + return baseUrl + 'oauth/imageCode?' + Math.random()
  50 + },
  51 + //登录
  52 + getLogin: function () {
  53 + return baseUrl + 'oauth/login'
  54 + },
  55 + //登出
  56 + getLoginOut: function () {
  57 + return baseUrl + 'oauth/loginout'
  58 + },
  59 + //获取菜单
  60 + getMenuByOpId: baseUrl + 'sysOp/queryMenuByOpId',
  61 + //查询角色
  62 + getQueryRoles: function () {
  63 + return baseUrl + 'sysRole/queryRoles'
  64 + },
  65 + //查询职能
  66 + getQueryJobFunc: function () {
  67 + return baseUrl + 'sysJobFunc/pageQuerySysjobFunc'
  68 + },
  69 + //根据职能ID 获取 改职能下有哪些资源
  70 + queryResByJobFunId: baseUrl + 'sysJobFunc/queryResIdByJobFunId',
  71 + //新增或更新 职能信息 职能与资源的关联关系
  72 + saveOrUpdateJobFunWithResIds: baseUrl + 'sysJobFunc/saveOrUpdateJobFunWithResIds',
  73 + //根据职能id查询角色
  74 + getRoleByJobFuncId: baseUrl + 'sysJobFunc/queryResIdByJobFunId',
  75 + //删除职能
  76 + deleteJobFun: baseUrl + 'sysJobFunc/deleteSysJobFunc',
  77 + //更新职能
  78 + updateJobFun: baseUrl + 'sysJobFunc/updateJobFun',
  79 + //保存职能
  80 + saveJobFun: baseUrl + 'sysJobFunc/saveJobFun',
  81 + //根据职能id查询角色信息
  82 + getRolesByJobFuncId: function () {
  83 + return baseUrl + 'sysJobFunc/queryRolesByJobId';
  84 + },
  85 + //保存职能与角色关系
  86 + batchSaveRoleJobFunByJobFunId: function () {
  87 + return baseUrl + 'sysJobFunc/batchSaveRoleJobFunByJobFunId';
  88 + },
  89 + //通过syscode查询职能
  90 + getJobFuncsBySysCode: function () {
  91 + return baseUrl + 'sysJobFunc/queryJobFuncsBySysCode'
  92 + },
  93 + //通过角色查询职能
  94 + queryJobFuncsByRoleId: function () {
  95 + return baseUrl + 'sysJobFunc/queryJobFuncsByRoleId'
  96 + },
  97 + //修改密码
  98 + modifyPass: baseUrl + 'sysOp/modifyPass',
  99 + isUsedForRoleByRoleId: function () {
  100 + return baseUrl + 'sysRole/isUsedForRoleByRoleId';
  101 + },
  102 + saveRole: function () {
  103 + return baseUrl + 'sysRole/add'
  104 + },
  105 + updateRole: function () {
  106 + return baseUrl + 'sysRole/update'
  107 + },
  108 + deleteRole: function () {
  109 + return baseUrl + 'sysRole/delete'
  110 + },
  111 + //2017-08-10
  112 + //获取省
  113 + getTbAreaProvince: function () {
  114 + return baseUrl + 'area/getTbAreaProvince'
  115 + },
  116 + //查询区域下一级
  117 + queryNextLeverById: function () {
  118 + return baseUrl + 'area/queryNextLeverById'
  119 + },
  120 + //查询用户分页列表
  121 + getQueryUsersList: function () {
  122 + return baseUrl + 'sysOp/queryOpsBySysCode'
  123 + },
  124 + //查询根据sysCode获取系统对象
  125 + querySysBySysCode: function () {
  126 + return baseUrl + 'sysCode/querySysBySysCode'
  127 + },
  128 + //查询获取停车场分页列表
  129 + queryParkingLotByPark: function () {
  130 + return baseUrl + 'sysOrg/queryParkingLotByPark'
  131 + },
  132 + //根据组织ID查询该组织下所有的用户
  133 + queryOpByorgIdForPage: function () {
  134 + return baseUrl + 'sysOrg/queryOpByorgIdForPage'
  135 + },
  136 + //查询用户名loginCode是否可以用
  137 + queryLoginCodeIsUsed: baseUrl + 'sysOp/loginCodeIsUsed',
  138 + //保存用户
  139 + saveUser: baseUrl + 'sysOp/insertUser',
  140 + //修改用户
  141 + updateUser: baseUrl + '/sysOp/modifyUser',
  142 + //删除用户
  143 + deleteUser: baseUrl + '/sysOp/deleteUser',
  144 + //重置密码
  145 + resetUserPwd: baseUrl + 'sysOp/modifyUserPassword',
  146 + //添加用户时查询角色列表
  147 + getQueryRolesList: baseUrl + 'sysOp/queryRolesBySysCode',
  148 + //条件查询时查询部门(组织)列表
  149 + getQueryOrgsList: baseUrl + 'sysOp/queryOrgsBySysCode',
  150 + //查询组织分页列表
  151 + getQueryOrgsPageList: baseUrl + 'sysOrg/getQueryOrgList',
  152 + //添加组织
  153 + saveOrg: baseUrl + 'sysOrg/insertOrg',
  154 + //修改组织
  155 + updateOrg: baseUrl + 'sysOrg/modifyOrg',
  156 + //删除组织
  157 + deleteOrg: baseUrl + 'sysOrg/deleteOrg',
  158 + //判断组织是否被占用
  159 + isUsedForOrgByOrgId: baseUrl + 'sysOrg/isUsedForOrgByOrgId',
  160 + //通过sysCode构建树形组织
  161 + getOrgTreeBySysCode: function () {
  162 + return baseUrl + 'sysOrg/getOrgTreeBySysCode'
  163 + },
  164 + //查询菜单
  165 + getSysResBySysCode: function () {
  166 + return baseUrl + 'sysRes/queryResBySysCode'
  167 + },
  168 + //通过syscode查询菜单树
  169 + getResTreeBySysCode: function () {
  170 + return baseUrl + 'sysRes/getResTreeBySysCode'
  171 + },
  172 + //判断角色名称是否已经存在?
  173 + queryRoleExistByRoleName: function () {
  174 + return baseUrl + 'sysRole/queryRoleExistByRoleName'
  175 + },
  176 + //删除菜单
  177 + deleteRes: function () {
  178 + return baseUrl + 'sysRes/delete'
  179 + },
  180 + //保存或更新菜单
  181 + saveOrUpdateRes: function () {
  182 + return baseUrl + 'sysRes/saveOrUpdate'
  183 + },
  184 + //判断某菜单是否已经被使用
  185 + isUsedForMenuByMenuId: function () {
  186 + return baseUrl + 'sysRes/isUsedForResByResId'
  187 + },
  188 + /**通过系统编码查询所有角色列表 wangfs Edit.*/
  189 + queryRoleBysysCode: function () {
  190 + return baseUrl + 'sysRole/queryRoleBySysCode'
  191 + },
  192 + /**获取用户Session信息 wangfs Edit.*/
  193 + getSessionUserInfo: function () {
  194 + return baseUrl + 'sysOp/querySessionUserInfo'
  195 + },
  196 + /**获取用户Session信息 wangfs Edit.*/
  197 + queryRolesByUserId: function () {
  198 + return baseUrl + 'sysRole/queryRolesByUserId'
  199 + },
  200 + /**获取用户Session信息 wangfs Edit.*/
  201 + saveUserRoles: function () {
  202 + return baseUrl + 'sysOp/saveUserRoles'
  203 + },
  204 + /**查询当前用户对应的组织 wangfs Edit.*/
  205 + queryOrgIdsByOpIds: function () {
  206 + return baseUrl + 'sysOp/queryOrgIdsByOpIds'
  207 + },
  208 + /**保存当前用户对应的组织 wangfs Edit.*/
  209 + saveSysOpAndSysOrgRelation: function () {
  210 + return baseUrl + 'sysOp/saveSysOpAndSysOrgRelation'
  211 + },
  212 + //查询根据sysCode获取系统对象
  213 + querySysBySysCode: function () {
  214 + return baseUrl + 'sysCode/querySysBySysCode'
  215 + },
  216 + //获取区域tree
  217 + getAreatree:function(){
  218 + return baseUrl + 'area/getAreatree'
  219 + },
  220 + //保存组织区域关系数据
  221 + batchSaveOrgAreaRelation:function(){
  222 + return baseUrl + 'area/batchSaveOrgAreaRelation'
  223 + },
  224 + //通过组织id查询已关联的区域list
  225 + queryAreaIdsByorgId:function(){
  226 + return baseUrl + 'area/queryAreaIdsByorgId'
  227 + },
  228 + //用过用户Id更新用户组织ID
  229 + updateSysOpOrgIdByOpId:function(){
  230 + return baseUrl + 'sysOp/updateSysOpOrgIdByOpId'
  231 + },
  232 +
  233 + //获取块列表
  234 + getParkBlockNamesByUserId:function () {
  235 + return baseUrl + 'area/getParkBlockNamesByUserId';
  236 + },
  237 + getParkBlockNamesByBlockId:function(){
  238 + return baseUrl + 'area/getParkBlockNamesByBlockId';
  239 + },
  240 + //通过数据状态构建树形菜单
  241 + queryAllResTree:function(){
  242 + return baseUrl + 'sysRes/queryAllResTree';
  243 + },
  244 + //通过组织等级查询组织树菜单
  245 + queryOrgByOrgLevelTree:function(){
  246 + return baseUrl + 'sysOrg/queryOrgByOrgLevelTree';
  247 + },
  248 + //批量保存组织与资源关系
  249 + batchInsertOrgRes:function(){
  250 + return baseUrl + 'sysRes/batchInsertOrgRes';
  251 + },
  252 + //通过组织id查询已经分配的资源ids
  253 + queryResIdsByOrgId:function(){
  254 + return baseUrl + 'sysRes/queryResIdsByOrgId';
  255 + },
  256 + //系统管理end
  257 +
  258 +
  259 + //云平台接口start
  260 + //停车场数据统计-车流量管理
  261 + //停车场信息统计
  262 + getParkLotStatistic: function () {
  263 + return parkcloudbaseUrl + 'parklotstatistic/getParkLotStatistic'
  264 + },
  265 + //日账单
  266 + getBillManagementTable: function () {
  267 + return parkcloudbaseUrl + 'bill/queryBillforDayForPage'
  268 + },
  269 + //日账单停车场不分组
  270 + queryBillforDayTotalForPageNoGroupByPark: function () {
  271 + return parkcloudbaseUrl + 'bill/queryBillforDayTotalForPageNoGroupByPark'
  272 + },
  273 + //日账单查看
  274 + getBillManagementTablecheck: function () {
  275 + return parkcloudbaseUrl + 'bill/queryBillForDay'
  276 + },
  277 + //日账单下载
  278 + getBillManagementTableDownload: function () {
  279 + return parkcloudbaseUrl + 'bill/exportToExcleForBillForDay'
  280 + },
  281 +
  282 + //月账单-表格查询
  283 + getMonthBillMngtStatistic: function () {
  284 + return parkcloudbaseUrl + 'monthbill/queryBillforMonthForPage'
  285 + },
  286 + //2017-9-15langlw 恢复月账单统计列表
  287 + queryBillforMonthList: function () {
  288 + return parkcloudbaseUrl + 'monthbill/queryBillforMonthList'
  289 + },
  290 +
  291 + //月账汇总单查询(统计图)
  292 + queryBillforMonthTotal:function(){
  293 + return parkcloudbaseUrl + 'monthbill/queryBillforMonthTotal'
  294 + },
  295 + //月账单列表所有下载
  296 + exportToExcleForBillForMonth: function () {
  297 + return parkcloudbaseUrl + 'monthbill/exportToExcleForBillForMonth'
  298 + },
  299 + //月账单年卡月卡导出
  300 + exportToExcleForBillForYearOrMonth: function () {
  301 + return parkcloudbaseUrl + 'monthbill/exportToExcleForBillForYearOrMonth'
  302 + },
  303 + //月账单临停导出
  304 + exportToExcleForBillForMonthTmp: function () {
  305 + return parkcloudbaseUrl + 'monthbill/exportToExcleForBillForMonthTmp'
  306 + },
  307 +
  308 + //临停总账单
  309 + getTemstopMngtStatistic: function () {
  310 + return parkcloudbaseUrl + 'monthbill/queryBillforMonthDetail'
  311 + },
  312 + //年卡月卡总账单
  313 + getCardMngtStatistic: function () {
  314 + return parkcloudbaseUrl + 'monthbill/queryBillforMonthDetail'
  315 + },
  316 + //临停停车场分组账单
  317 + getTemParkStatistic: function () {
  318 + return parkcloudbaseUrl + 'monthbill/queryBillforMonthDetail'
  319 + },
  320 + //年卡月卡停车场分组账单
  321 + getCardParkStatistic: function () {
  322 + return parkcloudbaseUrl + 'monthbill/queryBillforMonthDetail'
  323 + },
  324 + //分页查询停车场数据统计车位总流量
  325 + getParkingLotUseStatisticForPage: function () {
  326 + return parkcloudbaseUrl + 'VehicleFlowStatistic/getVehicleFlowStatisticForPage'
  327 + },
  328 + //车流量 图
  329 + getVehicleFlowForLineChart: function () {
  330 + return parkcloudbaseUrl + 'VehicleFlowStatistic/getVehicleFlowForLineChart'
  331 + },
  332 + //查询停车场数据统计最大值与最小值
  333 + getParkingLotUseStatisticMaxAndMin: function () {
  334 + return parkcloudbaseUrl + 'VehicleFlowStatistic/getVehicleFlowMaxAndMin'
  335 + },
  336 + //导出停车场数据统计车位总流量excel
  337 + getParkingLotUseStatisticExcel: function () {
  338 + return parkcloudbaseUrl + 'VehicleFlowStatistic/exportVehicleFlowStatisticExcel'
  339 + },
  340 + //月报表导出车流量
  341 + exportVehicleFlowStatisticExcelForMonth: function () {
  342 + return parkcloudbaseUrl + 'VehicleFlowStatistic/exportVehicleFlowStatisticExcelForMonth'
  343 + },
  344 + //日报表下载车流量
  345 + downloadVehicleFlowStatisticExcel: function () {
  346 + return parkcloudbaseUrl + 'VehicleFlowStatistic/downloadVehicleFlowStatisticExcel'
  347 + },
  348 + //月报表下载车流量
  349 + downloadVehicleFlowStatisticExcelForMonth: function () {
  350 + return parkcloudbaseUrl + 'VehicleFlowStatistic/downloadVehicleFlowStatisticExcelForMonth'
  351 + },
  352 +
  353 + //按月统计进出场车流量和占用率和周转率
  354 + queryMonthVehicleFlowAndVacancyRateAndTurnover: function () {
  355 + return parkcloudbaseUrl + 'VehicleFlowStatistic/queryMonthVehicleFlowAndVacancyRateAndTurnover'
  356 + },
  357 + //获取停车场列表
  358 + getParkLotNamesByUserId: function () {
  359 + return baseUrl + 'area/getParkLotNamesByUserId';
  360 + },
  361 + getSysCodeValueByKind: function () {
  362 + return baseUrl + 'common/getSysCodeValueByKind';
  363 + },
  364 + //停车场数据统计-车位管理
  365 + //查询停车场数据统计pie
  366 + getStatisticSummary: function () {
  367 + return parkcloudbaseUrl + 'parking/getstatisticsummary';
  368 + },
  369 + //查询停车场数据统计车位管理分页表格数据
  370 + getstatisticlist: function () {
  371 + return parkcloudbaseUrl + 'parking/getstatisticlist';
  372 + },
  373 + //车位使用管理空置率
  374 + getFreeRatioBerthForLineChart: function () {
  375 + return parkcloudbaseUrl + 'parking/getFreeRatioBerthForLineChart';
  376 + },
  377 + //车位使用管理周转率
  378 + getTurnOverBerthForLineChart: function () {
  379 + return parkcloudbaseUrl + 'parking/getTurnOverBerthForLineChart';
  380 + },
  381 + //数据统计 车位管理 导出excel
  382 + exportBerthStatisticExcel: function () {
  383 + return parkcloudbaseUrl + 'parking/exportBerthStatisticExcel';
  384 + },
  385 + //数据统计 日报表车位管理 下载
  386 + downloadBerthStatisticExcel:function () {
  387 + return parkcloudbaseUrl + 'parking/downloadBerthStatisticExcel';
  388 + },
  389 + //按月导出车位管理excel
  390 + exportBerthStatisticExcelForMonth: function () {
  391 + return parkcloudbaseUrl + 'parking/exportBerthStatisticExcelForMonth';
  392 + },
  393 + //月报表车位管理下载
  394 + downloadBerthStatisticExcelForMonth: function () {
  395 + return parkcloudbaseUrl + 'parking/downloadBerthStatisticExcelForMonth';
  396 + },
  397 +
  398 +
  399 + //停车场数据统计-交易管理
  400 + //获取交易详情
  401 + getordertrancdetails: function () {
  402 + return parkcloudbaseUrl + 'transaction/getordertrancdetails';
  403 + },
  404 + //停车收入统计--折线图
  405 + getOrderTransactionFoldLine: function () {
  406 + return parkcloudbaseUrl + 'transaction/getOrderTransactionFoldLine';
  407 + },
  408 + //获取统计提取总计信息
  409 + gettransactionstatisticsummary: function () {
  410 + return parkcloudbaseUrl + 'transaction/gettransactionstatisticsummary';
  411 + },
  412 + //获取交易统计数据列表
  413 + gettransactionstatisticlist: function () {
  414 + return parkcloudbaseUrl + 'transaction/gettransactionstatisticlist';
  415 + },
  416 + //导出交易数据excel
  417 + exportTransactionStatisticExcel: function () {
  418 + return parkcloudbaseUrl + 'transaction/exportTransactionStatisticExcel';
  419 + },
  420 +
  421 + //首页
  422 + //今日收入 和 逃逸金额
  423 + getTodayIncome: function () {
  424 + return parkcloudbaseUrl + 'index/queryCustIncomeTotal';
  425 + },
  426 + //车流量
  427 + getCurVehicleFlow: function () {
  428 + return parkcloudbaseUrl + 'index/realtimeGetCurVehicleFlow';
  429 + },
  430 + //今日空置率
  431 + getCurFreeRatio: function () {
  432 + return parkcloudbaseUrl + 'index/realtimeGetCurFreeRatio';
  433 + },
  434 + //首页饼图
  435 + getPieData: function () {
  436 + return parkcloudbaseUrl + 'index/queryCustIncomeTotalForPark';
  437 + },
  438 + //首页柱图 支付方式echarts
  439 + getBarData: function () {
  440 + return parkcloudbaseUrl + 'index/queryCustIncomeForPayType';
  441 + },
  442 + //实时查询当前总车流量
  443 + realtimeGetCurVehicleFlow: function () {
  444 + return parkcloudbaseUrl + 'index/realtimeGetCurVehicleFlow';
  445 + },
  446 + // 根据停车场编号获取该停车场今日车流量和车位折线图
  447 + getTodayVehicleFlowForLineChart: function () {
  448 + return parkcloudbaseUrl + 'index/getTodayVehicleFlowForLineChart';
  449 + },
  450 + //企业云平台首页-->停车次数统计(饼图)
  451 + queryParingCount: function () {
  452 + return parkcloudbaseUrl + 'index/queryParingCount';
  453 + },
  454 +
  455 + //云平台首页->企业客户负责所有的停车场汇总
  456 + queryCustIncomeTotal: function () {
  457 + return parkcloudbaseUrl + 'index/queryCustIncomeTotal';
  458 + },
  459 + //云平台首页->企业客户负责某个停车收入情况
  460 + queryCustIncomeTotalForPark: function () {
  461 + return parkcloudbaseUrl + 'index/queryCustIncomeTotalForPark';
  462 + },
  463 + //云平台首页->企业客户负责某个停车不同的支付方式收入情况
  464 + queryCustIncomeForPayType: function () {
  465 + return parkcloudbaseUrl + 'index/queryCustIncomeForPayType';
  466 + },
  467 + //企业云平台->数据统计->进出场上报数据统计
  468 + queryInOutParkForList: function () {
  469 + return parkcloudbaseUrl + 'inOutParkStatistic/queryInOutParkForList';
  470 + },
  471 + //企业云平台->数据统计->数据统计进出场上报折线图
  472 + queryInOutParkForChart: function () {
  473 + return parkcloudbaseUrl + 'inOutParkStatistic/queryInOutParkForChart';
  474 + },
  475 + //企业云平台->数据统计->导出进出场统计excel
  476 + exportInOutParkStatisticExcel: function () {
  477 + return parkcloudbaseUrl + 'inOutParkStatistic/exportInOutParkStatisticExcel';
  478 + },
  479 + //企业云平台->数据统计->年卡月卡统计
  480 + queryYearMonthCardStatistic: function () {
  481 + return parkcloudbaseUrl + 'yearMonthCardStatistic/queryYearMonthCardStatistic';
  482 + },
  483 + //企业云平台->数据统计->年卡月卡统计折线图
  484 + queryYearMonthCardStatisticForChart: function () {
  485 + return parkcloudbaseUrl + 'yearMonthCardStatistic/queryYearMonthCardStatisticForChart';
  486 + },
  487 + //企业云平台->数据统计->导出年卡月卡统计excel
  488 + exportYearMonthStatisticExcel: function () {
  489 + return parkcloudbaseUrl + 'yearMonthCardStatistic/exportYearMonthStatisticExcel';
  490 + }, do_s_eqpRoundList_json: function () {
  491 + return eqpUrl + 'ATMS-Park/EqpRoundMng/do_s_eqpRoundList_json';
  492 + }, do_s_eqpRoundMsgList_json: function () {
  493 + return eqpUrl + 'ATMS-Park/EqpRoundMng/do_s_eqpRoundMsgList_json';
  494 + },
  495 +
  496 + //企业云平台->数据统计->车位信息统计
  497 + statisticParkLotEqpCountByPlNos: function () {
  498 + return parkcloudbaseUrl + 'index/statisticParkLotEqpCountByPlNos';
  499 + },
  500 + getParkStaticsticAndTodayAmount: function () {
  501 + return parkcloudbaseUrl + 'parking/getParkStaticsticAndTodayAmount';
  502 + },
  503 + //首页签到记录
  504 + queryIndexSignRecord:function(){
  505 + return parkcloudbaseUrl +'index/queryIndexSignRecord';
  506 + },
  507 + //今日实时停车次数
  508 + getRealtimeParkingOutNum: function () {
  509 + return parkcloudbaseUrl + 'index/realtimeParkingOutNum';
  510 + },
  511 + //今日实时周转率
  512 + getRealtimeTurnoverRate: function () {
  513 + return parkcloudbaseUrl + 'index/realtimeTurnoverRate';
  514 + },//今日实时占用率
  515 + getRealtimeoccupationRate: function () {
  516 + return parkcloudbaseUrl + 'index/realtimeoccupationRate';
  517 + },
  518 + //查询今日车流量占用率周转率
  519 + queryTodayVehicleFlowOccupyRateAndTurnOver: function () {
  520 + return parkcloudbaseUrl + 'index/queryTodayVehicleFlowOccupyRateAndTurnOver';
  521 + },
  522 + //决策分析->日报表->停车收费统计->统计图
  523 + queryBillforDayTotal:function(){
  524 + return parkcloudbaseUrl + 'bill/queryBillforDayTotal';
  525 + },
  526 + //决策分析->日报表->停车时长统计->折线图
  527 + echartsForParkDurationForDay:function(){
  528 + return parkcloudbaseUrl + 'parkDuration/queryEchartsForParkDurationForDay';
  529 + },
  530 + //决策分析->日报表->停车时长统计->excle导出
  531 + exportToExcleForParkDurationForDay:function(){
  532 + return parkcloudbaseUrl + 'parkDuration/exportToExcleForParkDurationForDay';
  533 + },
  534 + //决策分析->日报表->停车时长统计->下载详情
  535 + exportExcleForParkDurationDetail:function(){
  536 + return parkcloudbaseUrl + 'parkDuration/exportExcleForParkDurationDetail';
  537 + },
  538 + queryEchartsForParkDurationDayForPage:function(){
  539 + return parkcloudbaseUrl + 'parkDuration/queryEchartsForParkDurationDayForPage';
  540 + },
  541 + //根据查询条件查询停车订单
  542 + queryParkOrderByCondition:function () {
  543 + return parkcloudbaseUrl+'order/queryParkOrderByCondition';
  544 + },
  545 + //根据条件查询欠费停车订单
  546 + queryArrearOrderByCondition:function(){
  547 + return parkcloudbaseUrl +'order/queryArrearOrderByCondition';
  548 + },
  549 + //决策分析->月报表->停车时长统计->折线图
  550 + echartsForParkDurationForMonth:function(){
  551 + return parkcloudbaseUrl + 'parkDuration/queryEchartsForParkDurationForMonth';
  552 + },
  553 + //决策分析->月报表->停车时长统计->表格数据
  554 + queryEchartsForParkDurationMonthForPage:function(){
  555 + return parkcloudbaseUrl + 'parkDuration/queryEchartsForParkDurationMonthForPage';
  556 + },
  557 + //决策分析->月报表->停车时长统计->excle导出
  558 + exportToExcleForParkDurationForMonth:function(){
  559 + return parkcloudbaseUrl + 'parkDuration/exportToExcleForParkDurationForMonth';
  560 + },
  561 + //决策分析->月报表->停车时长统计->excle下载
  562 + downloadParkDurationExcelForMonth:function(){
  563 + return parkcloudbaseUrl + 'parkDuration/downloadParkDurationExcelForMonth';
  564 + },
  565 +
  566 + //根据查询条件导出停车订单
  567 + exportAllParkOrderByCondition:function () {
  568 + return parkcloudbaseUrl+'order/exportAllParkOrderByCondition';
  569 + },
  570 + //根据查询条件导出所有欠费停车订单
  571 + exportArrearageParkOrderByCondition:function () {
  572 + return parkcloudbaseUrl+'order/exportArrearageParkOrderByCondition';
  573 + },
  574 + //月账单年卡月卡统计-详情导出
  575 + exportYearMonthCardIncomeStatistic:function () {
  576 + return parkcloudbaseUrl+'monthbill/exportYearMonthCardIncomeStatistic';
  577 + },
  578 + //区域管理-查询区域列表
  579 + queryAreaAndBlockTree:function () {
  580 + return parkcloudbaseUrl+'areaManage/queryAreaAndBlockTree';
  581 + },
  582 + //根据区块id集合查询 省市区
  583 + queryProvinceCityAreaByBlockIds:function () {
  584 + return parkcloudbaseUrl + 'areaManage/queryProvinceCityAreaByBlockIds'
  585 + },
  586 + //根据区县ID-查询区块ID
  587 + queryAreaBlockByParentId:function () {
  588 + return baseUrl +'area/queryAreaBlockByParentId';
  589 + },
  590 + //区块新增或修改
  591 + saveOrUpdateAreaBlock:function () {
  592 + return baseUrl +'area/saveOrUpdateAreaBlock';
  593 + },
  594 + //区块删除
  595 + deleteAreaBlockByAreaBlockId:function () {
  596 + return baseUrl +'area/deleteAreaBlockByAreaBlockId';
  597 + },
  598 + //根据区块ID查询区块下停车场数量
  599 + queryParkInfoNumByAreaBlockIds:function () {
  600 + return parkcloudbaseUrl+'areaManage/queryParkInfoNumByAreaBlockIds';
  601 + },
  602 + //分析决策-泊位周转率
  603 + queryTurnOverForMap: function () {
  604 + return parkcloudbaseUrl + 'analysis/queryTurnOverForMap';
  605 + },
  606 + //分析决策-泊位周转率详情
  607 + berthTurnOverDetail: function () {
  608 + return parkcloudbaseUrl + 'analysis/berthTurnOverDetail';
  609 + },
  610 + //分析决策-泊位周转率详情-导出
  611 + exportBerthTurnOverExcel: function () {
  612 + return parkcloudbaseUrl + 'analysis/exportBerthTurnOverExcel';
  613 + },
  614 + //基础信息-泊位管理-分页查询
  615 + berthInfoList: function () {
  616 + return parkcloudbaseUrl + 'berth/berthInfoList';
  617 + },
  618 + //基础信息-泊位管理-泊位修改
  619 + updateBerthInfo: function () {
  620 + return parkcloudbaseUrl + 'berth/updateBerthInfo';
  621 + },
  622 + //基础信息-泊位管理-泊位删除
  623 + deleteBerths: function () {
  624 + return parkcloudbaseUrl + 'berth/deleteBerths';
  625 + },
  626 + //基础信息-泊位管理-泊位新增
  627 + saveBerthInfo: function () {
  628 + return parkcloudbaseUrl + 'berth/saveBerthInfo';
  629 + },
  630 + //基础信息-泊位管理-泊位导出
  631 + exportBerthsInfoExcel: function () {
  632 + return parkcloudbaseUrl + 'berth/exportBerthInfoExcel';
  633 + },
  634 + //获取泊位区间tree
  635 + getBerthAreatree:function(){
  636 + return parkcloudbaseUrl + 'area/getBerthAreatree'
  637 + },
  638 + //基础信息-泊位区间管理-分页查询
  639 + queryTpPRegionAreaForPage: function () {
  640 + return parkcloudbaseUrl + 'regionArea/queryTpPRegionAreaForPage';
  641 + },
  642 + //基础信息-泊位区间管理-添加或修改
  643 + saveOrUpdateTpPRegionArea: function () {
  644 + return parkcloudbaseUrl + 'regionArea/saveOrUpdateTpPRegionArea';
  645 + },
  646 + //基础信息-泊位区间管理-删除
  647 + deleteTpPRegionArea: function () {
  648 + return parkcloudbaseUrl + 'regionArea/deleteTpPRegionArea';
  649 + },
  650 + //基础信息-泊位区间管理-导出
  651 + exportTpPRegionAreaExcel: function () {
  652 + return parkcloudbaseUrl + 'regionArea/exportTpPRegionAreaExcel';
  653 + },
  654 + //实时监控-点位监控-查询泊位分页
  655 + queryBerthByBerthForPage: function () {
  656 + return parkcloudbaseUrl + 'realTime/queryBerthByBerthForPage';
  657 + },
  658 + //实时监控-点位监控-查询PDA
  659 + queryParkPdaMonitor: function () {
  660 + return parkcloudbaseUrl + 'realTime/queryParkPdaMonitor';
  661 + },
  662 + //实时监控-点位监控-查询停车场PDA信息(电子围栏)
  663 + queryParkPdaInfo: function () {
  664 + return parkcloudbaseUrl + 'realTime/queryParkPdaInfo';
  665 + },
  666 + //实时监控-点位监控-分组查询停车场占用率
  667 + queryParkBerthOccupancyRate: function () {
  668 + return parkcloudbaseUrl + 'realTime/queryParkBerthOccupancyRate';
  669 + },
  670 + //通过停车场集合查询停车场信息
  671 + queryParkingLotGeoByPlNos:function(){
  672 + return parkcloudbaseUrl + 'realTime/queryParkingLotGeoByPlNos';
  673 + },
  674 + //云平台接口end
  675 +
  676 + //停车场管理-分页查询
  677 + queryParkingLotPageByPark: function () {
  678 + return parkcloudbaseUrl + 'parkLotManage/queryParkingLotPageByPark';
  679 + },
  680 + //基础信息-停车场管理-停车场导出
  681 + parkingToExcleForPage: function () {
  682 + return parkcloudbaseUrl + 'parkLotManage/parkingToExcleForPage';
  683 + },
  684 + //基础信息-停车场管理-停车场添加
  685 + saveParkingLotInfo: function () {
  686 + return parkcloudbaseUrl + 'parkLotManage/saveParkingLotInfo';
  687 + },
  688 + //基础信息-停车场管理-停车场查询
  689 + queryParkingLotByPkNo: function () {
  690 + return parkcloudbaseUrl + 'parkLotManage/queryParkingLotByPkNo';
  691 + },
  692 + //基础信息-停车场管理-停车场修改
  693 + updateParkingLotInfo: function () {
  694 + return parkcloudbaseUrl + 'parkLotManage/updateParkingLotInfo';
  695 + },
  696 + //基础信息-停车场管理-刷新中session用户所绑定的停车场
  697 + refreshParkLotCache:function(){
  698 + return parkcloudbaseUrl + 'parkLotManage/refreshParkLotCache';
  699 + },
  700 + //基础信息-停车场管理-停车场删除
  701 + deleteParkingLotInfoByPlNos:function(){
  702 + return parkcloudbaseUrl + 'parkLotManage/deleteParkingLotInfoByPlNos';
  703 + },
  704 + //设备运维-地磁管理-地磁查询
  705 + queryEqpPage:function(){
  706 + return parkcloudbaseUrl + 'geomagnetic/records';
  707 + },
  708 + //设备运维-地磁管理-泊位查询
  709 + getBerthMsgByPlNo:function(){
  710 + return parkcloudbaseUrl + 'geomagnetic/getBerthMsgByPlNo';
  711 + },
  712 + //设备运维-地磁管理-地磁添加
  713 + saveEqpMsg:function(){
  714 + return parkcloudbaseUrl + 'geomagnetic/insertone';
  715 + },
  716 + //设备运维-地磁管理-地磁修改
  717 + updateEqpMsg:function(){
  718 + return parkcloudbaseUrl + 'geomagnetic/updateone';
  719 + },
  720 + //设备运维-地磁管理-地磁删除
  721 + deleteEqpMsgById:function(){
  722 + return parkcloudbaseUrl + 'geomagnetic/deleteall';
  723 + },
  724 + //设备运维-地磁管理-地磁导出
  725 + eqpMsgToExcleForPage:function(){
  726 + return parkcloudbaseUrl + 'geomagnetic/eqpMsgToExcleForPage';
  727 + },
  728 + //过车查询
  729 + queryPassedca4pabe:function () {
  730 + return parkcloudbaseUrl +'padinfo/queryPassedca4pabe';
  731 + },
  732 + //导出过车信息
  733 + exportPassCarInfoExcel:function () {
  734 + return parkcloudbaseUrl +'padinfo/exportPassCarInfoExcel';
  735 + },
  736 + //PDA分页信息
  737 + queryPdaInfo4pabe:function () {
  738 + return parkcloudbaseUrl +'padinfo/queryPdaInfo4pabe';
  739 + },
  740 + //添加PDA
  741 + insertPda:function () {
  742 + return parkcloudbaseUrl +'padinfo/insertPda';
  743 + },
  744 + //修改PDA
  745 + updatePda:function () {
  746 + return parkcloudbaseUrl +'padinfo/updatePda';
  747 + },
  748 + //删除pda
  749 + deletePda:function () {
  750 + return parkcloudbaseUrl +'padinfo/deletePda';
  751 + },
  752 + //导出pda
  753 + exportBerthInfoExcel:function(){
  754 + return parkcloudbaseUrl +'padinfo/exportBerthInfoExcel';
  755 + },
  756 + //分页查询设备维护信息
  757 + queryEpqOperationForPage:function(){
  758 + return parkcloudbaseUrl +'eqpOperation/queryEpqOperationForPage';
  759 + },
  760 + //通过PDA设备编号查询PDA信息
  761 + queryPdaByPdaNo:function(){
  762 + return parkcloudbaseUrl +'eqpOperation/queryPdaByPdaNo';
  763 + },
  764 + //通过设备编号和厂家编号查询设备
  765 + selectEqpByEqpNoAndFactory:function(){
  766 + return parkcloudbaseUrl +'eqpOperation/selectEqpByEqpNoAndFactory';
  767 + },
  768 + //新增或修改设备维护信息
  769 + saveOrModifyEqpOperation:function(){
  770 + return parkcloudbaseUrl +'eqpOperation/saveOrModifyEqpOperation';
  771 + },
  772 + //删除设备维护信息
  773 + updateEqpOperationForDelete:function(){
  774 + return parkcloudbaseUrl +'eqpOperation/updateEqpOperationForDelete';
  775 + },
  776 + //导出设备维护信息列表excel
  777 + exportEqpOperationExcel:function(){
  778 + return parkcloudbaseUrl +'eqpOperation/exportEqpOperationExcel';
  779 + },
  780 + //查询厂家列表
  781 + queryFactoryInfoForList:function(){
  782 + return parkcloudbaseUrl +'eqpOperation/queryFactoryInfoForList';
  783 + },
  784 + //停车收费时长统计-提供财务
  785 + queryParkOrderForFinance:function(){
  786 + return parkcloudbaseUrl +'order/queryParkOrderForFinance';
  787 + },
  788 + //停车收费时长统计-提供财务
  789 + excleImportParkOrderForFinance:function(){
  790 + return parkcloudbaseUrl +'order/excleImportParkOrderForFinance';
  791 + },
  792 + //结算管理
  793 + //结算管理-日账单管理-分页查询日账单区域收入汇总
  794 + queryBillforDayTotalForBlockPage:function(){
  795 + return parkcloudbaseUrl +'bill/queryBillforDayTotalForBlockPage';
  796 + },
  797 + //结算管理-日账单管理-分页查询日账单停车场收入汇总
  798 + queryBillforDayTotalForParkPage:function(){
  799 + return parkcloudbaseUrl +'bill/queryBillforDayTotalForParkPage';
  800 + },
  801 + //结算管理-日账单管理-分页查询日账单泊位区间收入汇总
  802 + queryBillforDayTotalForAreaBerthPage:function(){
  803 + return parkcloudbaseUrl +'bill/queryBillforDayTotalForAreaBerthPage';
  804 + },
  805 + //结算管理-日账单管理-查询日账单区域收入汇总
  806 + queryBillforDayTotals:function(){
  807 + return parkcloudbaseUrl +'bill/queryBillforDayTotals';
  808 + },
  809 + //对账单行政区下拉框
  810 + getAreaForCountry: function () {
  811 + return parkcloudbaseUrl +'selectItem/getAreaForCountry';
  812 + },
  813 + //对账单块
  814 + getAlock: function () {
  815 + return parkcloudbaseUrl +'selectItem/getAlock';
  816 + },
  817 + //对账单停车场信息
  818 + getParkInfoS:function () {
  819 + return parkcloudbaseUrl +'selectItem/getParkInfo';
  820 + },
  821 + //对账泊位区间
  822 + getParkAreaSelectItem:function(){
  823 + return parkcloudbaseUrl +'selectItem/getParkAreaSelectItem';
  824 + },
  825 + //对账单汇总查询
  826 + queryBillFillTotalForPayType:function(){
  827 + return parkcloudbaseUrl +'billReconciliation/queryBillFillTotalForPayType';
  828 + },
  829 +
  830 + //对账单明细查询
  831 + queryBlancacforDayDetailPage:function(){
  832 + return parkcloudbaseUrl +'billReconciliation/queryBlancacforDayDetailPage';
  833 + },
  834 + //对账单明细导出
  835 + exportToBlancacforDayDetail:function(){
  836 + return parkcloudbaseUrl +'billReconciliation/exportToBlancacforDayDetail';
  837 + },
  838 + //对账单汇总导出
  839 + exportToBlancacforDayAll:function(){
  840 + return parkcloudbaseUrl +'billReconciliation/exportToBlancacforDayAll';
  841 + },
  842 + //添加备注
  843 + saveQeualRemarks:function(){
  844 + return parkcloudbaseUrl +'billReconciliation/saveQeualRemarks';
  845 + },
  846 + //结算管理月账单-导出
  847 + exportToExcleForBillForAll:function(){
  848 + return parkcloudbaseUrl +'monthbill/exportToExcleForBillForAll';
  849 + },
  850 +
  851 +
  852 + //结算管理-日账单管理-日账单区域收入汇总导出
  853 + exportToBillExcleforDayTotals:function(){
  854 + return parkcloudbaseUrl +'bill/exportToBillExcleforDayTotals';
  855 + },
  856 + /***************************会员卡购买begin*****************************************/
  857 + //会员卡管理-批量导入
  858 + batchImportVipCardCustInfo:function(){
  859 + return parkcloudbaseUrl +'vipCardCustInfo/batchImportVipCardCustInfo';
  860 + },
  861 + //会员卡模版下载
  862 + excleTemplateDownLoad:function(){
  863 + return parkcloudbaseUrl +'vipCardCustInfo/excleTemplateDownLoad';
  864 + },
  865 + queryVipCardCustInfoForPage:function(){
  866 + return parkcloudbaseUrl +'vipCardCustInfo/queryVipCardCustInfoForPage';
  867 + },
  868 + /***************************会员卡购买end*****************************************/
  869 +
  870 + /***************************会员卡规则begin***************************************/
  871 + //会员卡类型下拉框
  872 + queryVIPCardRuleForPage: function () {
  873 + return parkcloudbaseUrl +'vipCardRule/queryVIPCardRuleForPage';
  874 + },
  875 + //会员卡停车场树
  876 + vipCardSelectParkTree: function () {
  877 + return parkcloudbaseUrl +'vipCardRule/vipCardSelectParkTree';
  878 + },
  879 + //插入会员卡数据
  880 + insertVipCard: function () {
  881 + return parkcloudbaseUrl +'vipCardRule/insertVipCard';
  882 + },
  883 + //更新会员卡数据
  884 + updateVipCard: function () {
  885 + return parkcloudbaseUrl +'vipCardRule/updateVipCard';
  886 + },
  887 + //删除会员卡数据
  888 + deleteVipCard: function () {
  889 + return parkcloudbaseUrl +'vipCardRule/deleteVipCard';
  890 + },
  891 +
  892 + //校验会员卡是否重复创建
  893 + checkVipCardPark: function () {
  894 + return parkcloudbaseUrl +'vipCardRule/checkVipCardPark';
  895 + },
  896 +
  897 +
  898 +
  899 +
  900 +
  901 +
  902 +
  903 + /***************************会员卡规则end***************************************/
  904 +
  905 + //会员卡类型下拉框
  906 + getVipCardListSelectItem: function () {
  907 + return parkcloudbaseUrl +'selectItem/getVipCardListSelectItem';
  908 + },
  909 + //会员卡类型对应的会员卡名称下拉框
  910 + getVipCardSelectItem: function () {
  911 + return parkcloudbaseUrl +'selectItem/getVipCardSelectItem';
  912 + },
  913 + //新增会员卡时会员卡名称下拉框
  914 + getVipCardNameListSelectItem: function () {
  915 + return parkcloudbaseUrl +'selectItem/getVipCardNameListSelectItem';
  916 + },
  917 + //新增会员卡时会员卡名称下拉框
  918 + queryVipCardCustInfoForPage: function () {
  919 + return parkcloudbaseUrl +'vipCardCustInfo/queryVipCardCustInfoForPage';
  920 + },
  921 + //根据会员卡编码查询会员卡信息
  922 + queryVipCardByVipCard: function () {
  923 + return parkcloudbaseUrl +'vipCardCustInfo/queryVipCardByVipCard';
  924 + },
  925 + //保存会员卡和客户信息
  926 + saveVipCardCustInfoAndPerson: function () {
  927 + return parkcloudbaseUrl +'vipCardCustInfo/saveVipCardCustInfoAndPerson';
  928 + },
  929 + //修改会员卡和客户信息
  930 + updateVipCardCustInfoAndPerson: function () {
  931 + return parkcloudbaseUrl +'vipCardCustInfo/updateVipCardCustInfoAndPerson';
  932 + },
  933 + //通过主键修改个人会员卡信息(续费)
  934 + updateVipCardCustInfoById: function () {
  935 + return parkcloudbaseUrl +'vipCardCustInfo/updateVipCardCustInfoById';
  936 + },
  937 + /***************************白名单规则管理开始***********************************/
  938 + //分页查询白名单信息
  939 + queryWhitelistRuleForPage: function () {
  940 + return parkcloudbaseUrl +'whitelist/queryWhitelistRuleForPage';
  941 + },
  942 + //查询白名单信息
  943 + queryWhiteRuleById: function () {
  944 + return parkcloudbaseUrl +'whitelist/queryWhiteRuleById';
  945 + },
  946 + //修改白名单信息
  947 + updateWhiteRuleById: function () {
  948 + return parkcloudbaseUrl +'whitelist/updateWhiteRuleById';
  949 + },
  950 + //删除白名单信息
  951 + deleteWhiteRuleById: function () {
  952 + return parkcloudbaseUrl +'whitelist/deleteWhiteRuleById';
  953 + },
  954 + //添加白名单信息
  955 + addWhiteRuleById: function () {
  956 + return parkcloudbaseUrl +'whitelist/addWhiteRuleById';
  957 + },
  958 + /***************************白名单规则管理结束***********************************/
  959 + /***************************折扣规则管理开始***********************************/
  960 + //分页查询折扣信息
  961 + queryDiscountRuleForPage: function () {
  962 + return parkcloudbaseUrl +'discount/queryDiscountRuleForPage';
  963 + },
  964 + //查询折扣信息
  965 + queryDiscountRuleById: function () {
  966 + return parkcloudbaseUrl +'discount/queryDiscountRuleById';
  967 + },
  968 + //修改折扣信息
  969 + updateDiscountRuleById: function () {
  970 + return parkcloudbaseUrl +'discount/updateDiscountRuleById';
  971 + },
  972 + //删除折扣信息
  973 + deleteDiscountRuleById: function () {
  974 + return parkcloudbaseUrl +'discount/deleteDiscountRuleById';
  975 + },
  976 + //添加折扣信息
  977 + addDiscountRule: function () {
  978 + return parkcloudbaseUrl +'discount/addDiscountRule';
  979 + },
  980 + /***************************折扣规则管理结束***********************************/
  981 + /***************************收费员管理开始***********************************/
  982 + //获取行政区域和管理单位
  983 + queryAreaCodeAndDeptCodes:function(){
  984 + return parkcloudbaseUrl+'personnelmngt/queryAreaCodeAndDeptCodes';
  985 + },
  986 + //根据行政区域和管理单位获取收费组
  987 + queryCashierGroups:function(){
  988 + return parkcloudbaseUrl+'personnelmngt/queryCashierGroups';
  989 + },
  990 + //分页查询收费员信息
  991 + queryCashierListInfo:function(){
  992 + return parkcloudbaseUrl+'personnelmngt/queryCashierListInfo';
  993 + },
  994 + //收费员详情
  995 + getCashierDetailInfo:function(){
  996 + return parkcloudbaseUrl+'personnelmngt/getCashierDetailInfo';
  997 + },
  998 + /***************************收费员管理结束***********************************/
  999 + /***************************计费规则开始***********************************/
  1000 + // 模拟计费-根据停车场编码与车辆类型查询计费规则
  1001 + queryBillingRuleByPlNoAndCarType:function(){
  1002 + return parkcloudbaseUrl+'billingRule/queryBillingRuleByPlNoAndCarType';
  1003 + },
  1004 + // 模拟计费
  1005 + billing:function(){
  1006 + return parkcloudbaseUrl+'billing/billing';
  1007 + },
  1008 + //计费日志-明细
  1009 + queryBillingLogByLogId:function(){
  1010 + return parkcloudbaseUrl+'billing/queryBillingLogByLogId';
  1011 + },
  1012 + //计费日志-图
  1013 + queryBillingLogForLineChart:function(){
  1014 + return parkcloudbaseUrl+'billingLog/queryBillingLogForLineChart';
  1015 + },
  1016 + /***************************计费规则结束***********************************/
  1017 + // 人员管理-收费员管理
  1018 + getCashierGroupListURL: function () {
  1019 + return parkcloudbaseUrl + 'personnelmngt/cashier/grouplist';
  1020 + },
  1021 + // 生成一条收费员记录
  1022 + createACashierRecURL: function () {
  1023 + return parkcloudbaseUrl + 'personnelmngt/cashier/insertone';
  1024 + },
  1025 + updateoneACashierRecURL: function () {
  1026 + return parkcloudbaseUrl + 'personnelmngt/cashier/updateone';
  1027 + },
  1028 + resetpwdACashierRecURL: function () {
  1029 + return parkcloudbaseUrl + 'personnelmngt/resetpwd';
  1030 + },
  1031 +
  1032 + // 获取指定收费组编号所管理的所有泊位区间数据
  1033 + queryBerthAreaInfoListByGroupCodeURL: function () {
  1034 + return parkcloudbaseUrl + 'personnelmngt/queryberthareainfolistbygroupcode';
  1035 + },
  1036 + // 更新收费员编号与泊位区间的绑定关系
  1037 + bindOrUnbindCashierCodeWithBerthAreasURL: function () {
  1038 + return parkcloudbaseUrl + 'personnelmngt/bindorunbindwithberthareas';
  1039 + },
  1040 + // 获取编辑收费员信息
  1041 + getEditCashierDetailInfo:function(){
  1042 + return parkcloudbaseUrl+'personnelmngt/getCashierDetailInfo';
  1043 + }
  1044 +
  1045 +}
  1046 +//公共方法
  1047 +fn = {
  1048 + //获取物联网小镇停过车查询停车点
  1049 + getParkPoint:function (callBack) {
  1050 + fn.getCommonDict('WWW_PARK_POINT_CODE', callBack);
  1051 + },
  1052 + //获取车辆类型
  1053 + getCarType:function(callBack){
  1054 + fn.getCommonDict('SYS_CODE_CAR_TYPE', callBack);
  1055 + },
  1056 + //获取停车场类型
  1057 + getParkLotType:function(callBack){
  1058 + fn.getCommonDict('SYS_CODE_PARK_LOT_TYPE', callBack);
  1059 + },
  1060 + //获取停车场类型属性-路内
  1061 + getParkTypePropOne:function(callBack){
  1062 + fn.getCommonDict('SYS_CODE_PARK_TYPE_PROP_1', callBack);
  1063 + },
  1064 + //获取停车场类型属性-路外
  1065 + getParkTypePropTwo:function(callBack){
  1066 + fn.getCommonDict('SYS_CODE_PARK_TYPE_PROP_2', callBack);
  1067 + },
  1068 + //获取停车场商圈属性
  1069 + getParkBusiCircle:function(callBack){
  1070 + fn.getCommonDict('SYS_CODE_PARK_BUSI_CIRCLE', callBack);
  1071 + },
  1072 + //获取停车场经纬度类型
  1073 + getParkLonLatType:function(callBack){
  1074 + fn.getCommonDict('SYS_CODE_LON_LAT_TYPE', callBack);
  1075 + },
  1076 + //获取停车场状态
  1077 + getParkLotState:function(callBack){
  1078 + fn.getCommonDict('SYS_CODE_PARK_LOT_STATE', callBack);
  1079 + },
  1080 + //获取停车场停车方式
  1081 + getParkStyle:function(callBack){
  1082 + fn.getCommonDict('SYS_CODE_PARK_STYLE', callBack);
  1083 + },
  1084 + //获取停车状态
  1085 + getParkStatus: function (callBack) {
  1086 + fn.getCommonDict('SYS_CODE_PARK_STATUS', callBack);
  1087 + },
  1088 + //获取停车类型
  1089 + getParkType: function (callBack) {
  1090 + fn.getCommonDict('SYS_CODE_PARK_TYPE', callBack);
  1091 + },
  1092 + //获取停车场类型
  1093 + getParkLotType: function (callBack) {
  1094 + fn.getCommonDict('SYS_CODE_PARKLOT_TYPE', callBack);
  1095 + },
  1096 + getArrearOrderStatus:function(callBack){
  1097 + fn.getCommonDict('SYS_CODE_ORDER_ARREAR_STATUS',callBack);
  1098 + },
  1099 + //获取支付类型
  1100 + getPayType: function (callBack) {
  1101 + fn.getCommonDict('SYS_CODE_PAY_TYPE', callBack);
  1102 + },
  1103 + //地磁状态获取
  1104 + getEqpStateType: function (callBack) {
  1105 + fn.getCommonDict('TP_P_EQP_IS_ONLINE', callBack);
  1106 + },
  1107 + //pda类型获取
  1108 + getPdaType: function (callBack) {
  1109 + fn.getCommonDict('SYS_CODE_PDA_TYPE', callBack);
  1110 + },
  1111 + //pda状态获取
  1112 + getPdaStatus: function (callBack) {
  1113 + fn.getCommonDict('SYS_CODE_PDA_STATUS', callBack);
  1114 + },
  1115 + //白名单匹配规则
  1116 + getMatchType: function (callBack) {
  1117 + fn.getCommonDict('BILL_WHITE_LIST_MATCH_TYPE', callBack);
  1118 + },
  1119 + //白名单收费类型
  1120 + getChargeType: function (callBack) {
  1121 + fn.getCommonDict('BILL_WHITE_LIST_CHARGE_TYPE', callBack);
  1122 + },
  1123 + //根据字典表类型获取系统字典表公共参数,callBack为获取成功后的回调函数
  1124 + getCommonDict: function (dictKind, callBack) {
  1125 + var commonPrefix = 'sys_common_code_';
  1126 + if (undefined == dictKind) {
  1127 + return null;session
  1128 + }
  1129 +
  1130 + var codeValue = sessionStorage.getItem(commonPrefix + dictKind);
  1131 + if (codeValue && codeValue != null && codeValue.length > 0) {
  1132 + callBack(JSON.parse(codeValue));
  1133 + }
  1134 +
  1135 + var req = {
  1136 + sysCode: sysComm.sysCode,
  1137 + sysCodeKind: dictKind
  1138 + }
  1139 +
  1140 + var opt = {
  1141 + data: JSON.stringify(req),
  1142 + method: "POST",
  1143 + url: dataUrl.util.getSysCodeValueByKind(),
  1144 + success: function (res) {
  1145 + if (res.code == '8888') {
  1146 + codeValue = JSON.stringify(res.data);
  1147 + if(codeValue.length>1){
  1148 + sessionStorage.setItem(commonPrefix + dictKind, codeValue);
  1149 + }
  1150 + callBack(JSON.parse(codeValue));
  1151 + }
  1152 + }
  1153 + }
  1154 + sysAjax(opt);
  1155 + },
  1156 + //根据字典表类型获取系统字典表公共参数
  1157 +
  1158 + //获取块信息
  1159 + getParkBlock: function () {
  1160 + var parkBlock = sessionStorage.getItem('sys_parkBlock');
  1161 + if (parkBlock && parkBlock != null && parkBlock.length > 2) {
  1162 + return JSON.parse(parkBlock);
  1163 + }
  1164 + var req = {sysCode: sysComm.sysCode};
  1165 + var opt = {
  1166 + async: false,
  1167 + data: req,
  1168 + method: "get",
  1169 + url: dataUrl.util.getParkBlockNamesByUserId(),
  1170 + success: function (res) {
  1171 + if (res.code == '8888') {
  1172 + parkBlock = JSON.stringify(res.data);
  1173 + sessionStorage.setItem('sys_parkBlock', parkBlock);
  1174 + }
  1175 + }
  1176 + }
  1177 + sysAjax(opt);
  1178 + return JSON.parse(parkBlock);
  1179 + },
  1180 + //清除停车场缓存
  1181 + removeParkLotCache:function () {
  1182 + sessionStorage.removeItem('sys_parkLot');
  1183 + },
  1184 + //获取停车场
  1185 + getParkLot: function () {
  1186 + var parkLot = sessionStorage.getItem('sys_parkLot');
  1187 + if (parkLot && parkLot != null && parkLot.length > 2) {
  1188 + return JSON.parse(parkLot);
  1189 + }
  1190 + var req = {sysCode: sysComm.sysCode};
  1191 + var opt = {
  1192 + async: false,
  1193 + data: req,
  1194 + method: "get",
  1195 + url: dataUrl.util.getParkLotNamesByUserId(),
  1196 + success: function (res) {
  1197 + if (res.code == '8888') {
  1198 +
  1199 + if(parkLot == null || parkLot.length ==0){
  1200 + parkLot = [{
  1201 + code:"-9999",
  1202 + name:"无关联停车场",
  1203 + type:"-9"
  1204 + }]
  1205 + }
  1206 + parkLot = JSON.stringify(res.data);
  1207 + sessionStorage.setItem('sys_parkLot', parkLot);
  1208 + }
  1209 + }
  1210 + }
  1211 + sysAjax(opt);
  1212 + return JSON.parse(parkLot);
  1213 +
  1214 + },
  1215 + //获取厂家信息
  1216 + getFactoryInfo:function(callBack){
  1217 + var factoryInfo = sessionStorage.getItem("factory_info");
  1218 + if (factoryInfo && factoryInfo != null && factoryInfo.length > 2) {
  1219 + factoryInfo = JSON.parse(factoryInfo)
  1220 + callBack(factoryInfo);
  1221 + }else{
  1222 + var req = {sysCode: sysComm.sysCode};
  1223 + var opt = {
  1224 + data: JSON.stringify(req),
  1225 + method: "post",
  1226 + url: dataUrl.util.queryFactoryInfoForList(),
  1227 + success: function (res) {
  1228 + if (res.code == '8888') {
  1229 + factoryInfo = res.data;
  1230 + sessionStorage.setItem('factory_info', JSON.stringify(factoryInfo));
  1231 + callBack(factoryInfo);
  1232 + }
  1233 + }
  1234 + }
  1235 + sysAjax(opt);
  1236 +
  1237 + }
  1238 + },
  1239 + //获取普通API鉴权token
  1240 + getToken: function () {
  1241 + var token = sessionStorage.getItem("token");
  1242 + if (StrUtil.isEmpty(token)) {
  1243 + token = '';
  1244 + }
  1245 + return token;
  1246 + },
  1247 + //设置普通API鉴权token
  1248 + setToken: function (token) {
  1249 + sessionStorage.setItem("token", token);
  1250 + },
  1251 + getUserAccount: function () {
  1252 + return sessionStorage.getItem("userAccount");
  1253 + },
  1254 + setUserAccount: function (userAccount) {
  1255 + sessionStorage.setItem("userAccount", userAccount);
  1256 + },
  1257 + getUserName: function () {
  1258 + return sessionStorage.getItem("userName");
  1259 + },
  1260 + setUserName: function (userName) {
  1261 + sessionStorage.setItem("userName", userName);
  1262 + },
  1263 + getOpImgPath: function () {
  1264 + return sessionStorage.getItem("imgPath");
  1265 + },
  1266 + setOpImgPath: function (imgPath) {
  1267 + sessionStorage.setItem("imgPath", imgPath);
  1268 + },
  1269 + getUserId: function () {
  1270 + return sessionStorage.getItem("userId");
  1271 + },
  1272 + setUserId: function (userId) {
  1273 + sessionStorage.setItem("userId", userId);
  1274 + },
  1275 + //跳转到登录界面
  1276 + toLoginPage: function () {
  1277 + sessionStorage.setItem("sys_parkLot", '');
  1278 + window.location.href = 'login.html'
  1279 + },
  1280 + //登出系统
  1281 + loginOut: function () {
  1282 + sessionStorage.clear()
  1283 + var token = fn.getToken();
  1284 + fn.setToken('');
  1285 + if (StrUtil.isNotEmpty()) {
  1286 + var req = {'token': token, 'url': dataUrl.util.getLoginOut()}
  1287 + sysAjax(req);
  1288 +
  1289 + }
  1290 + fn.toLoginPage();
  1291 + }
  1292 +
  1293 +}
  1294 +
  1295 +DateUtil = {
  1296 + dataFormat: function (longTime, formatStr) {
  1297 + //格式化时间
  1298 + //longTime 要进行格式化的long类型的时间
  1299 + //formatStr 要格式化成的字符串类型
  1300 + var data = new Date(longTime);
  1301 + return data.Format(formatStr);
  1302 + },
  1303 + isLongTime: function (longTime) {
  1304 + //判断是否是longTime时间类型
  1305 +
  1306 + }
  1307 +}
  1308 +
  1309 +//cookie操作工具类
  1310 +CkUtil = {
  1311 + //获取cookie
  1312 + getCookie: function (name) {
  1313 + var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
  1314 + if (arr = document.cookie.match(reg))
  1315 + return unescape(arr[2]);
  1316 + else
  1317 + return null;
  1318 + },
  1319 + //删除cookie
  1320 + delCookie: function (name) {
  1321 + var exp = new Date();
  1322 + exp.setTime(exp.getTime() - 1);
  1323 + var cval = CkUtil.getCookie(name);
  1324 + if (cval != null)
  1325 + document.cookie = name + "=" + cval + ";expires=" + exp.toUTCString();
  1326 + },
  1327 + //设置cookie,time单位毫秒
  1328 + setCookie: function (name, value, time) {
  1329 + var exp = new Date();
  1330 + exp.setTime(exp.getTime() + time);
  1331 + document.cookie = name + "=" + escape(value) + ";expires=" + exp.toUTCString();
  1332 + },
  1333 + //获取毫秒数 1s的毫秒数为 getSec('s1') 1小时为 getSec('h1')
  1334 + getSec: function (str) {
  1335 + var str1 = str.substring(1, str.length) * 1;
  1336 + var str2 = str.substring(0, 1);
  1337 + if (str2 == "s") {
  1338 + return str1 * 1000;
  1339 + }
  1340 + else if (str2 == "h") {
  1341 + return str1 * 60 * 60 * 1000;
  1342 + }
  1343 + else if (str2 == "d") {
  1344 + return str1 * 24 * 60 * 60 * 1000;
  1345 + }
  1346 + }
  1347 +
  1348 +}
  1349 +
  1350 +ArrayUtils = {
  1351 + /**判断属性是否已经在数组中存在*/
  1352 + contains:function(array,obj){
  1353 + var i = array.length;
  1354 + while (i--) {
  1355 + if (array[i] === obj) {
  1356 + return true;
  1357 + }
  1358 + }
  1359 + return false;
  1360 + }
  1361 +
  1362 +}
  1363 +
  1364 +
  1365 +StrUtil = {
  1366 + isEmpty: function (str) {
  1367 + if (str == undefined || null == str || StrUtil.trim(str).length == 0) {
  1368 + return true;
  1369 + }
  1370 + return false;
  1371 + },
  1372 + isNotEmpty: function (str) {
  1373 + return !StrUtil.isEmpty(str);
  1374 + },
  1375 + trim: function (str) {
  1376 + //删除左右两端的空格
  1377 + return str.replace(/(^\s*)|(\s*$)/g, "");
  1378 + },
  1379 + ltrim: function (str) {
  1380 + //删除左边的空格
  1381 + return str.replace(/(^\s*)/g, "");
  1382 + },
  1383 + rtrim: function (str) {
  1384 + //删除右边的空格
  1385 + return str.replace(/(\s*$)/g, "");
  1386 + }
  1387 +}
  1388 +
  1389 +
  1390 +// 对Date的扩展,将 Date 转化为指定格式的String
  1391 +// 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符,
  1392 +// 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字)
  1393 +// 例子:
  1394 +// (new Date()).Format("yyyy-MM-dd hh:mm:ss.S") ==> 2006-07-02 08:09:04.423
  1395 +// (new Date()).Format("yyyy-M-d h:m:s.S") ==> 2006-7-2 8:9:4.18
  1396 +Date.prototype.Format = function (fmt) { //author: meizz
  1397 + var o = {
  1398 + "M+": this.getMonth() + 1, //月份
  1399 + "d+": this.getDate(), //日
  1400 + "h+": this.getHours(), //小时
  1401 + "m+": this.getMinutes(), //分
  1402 + "s+": this.getSeconds(), //秒
  1403 + "q+": Math.floor((this.getMonth() + 3) / 3), //季度
  1404 + "S": this.getMilliseconds() //毫秒
  1405 + };
  1406 + if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
  1407 + for (var k in o)
  1408 + if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
  1409 + return fmt;
  1410 +}
  1411 +
  1412 +
  1413 +
  1414 +
  1415 +
  1416 +
  1417 +//公用接口调用
  1418 +
  1419 +function sysAjax(opts) {
  1420 +
  1421 + //一.设置默认参数
  1422 + var defaults = {
  1423 + method: 'GET',
  1424 + url: '',
  1425 + dataType: 'json',
  1426 + data: '',
  1427 + async: true,
  1428 + cache: false,
  1429 + contentType: 'application/json; charset=utf-8',
  1430 + success: function () {
  1431 + },
  1432 + error: function () {
  1433 + }
  1434 + };
  1435 +
  1436 +
  1437 + //二.用户参数覆盖默认参数
  1438 + for (var key in opts) {
  1439 + defaults[key] = opts[key];
  1440 + }
  1441 + // console.log("请求相关参数:");
  1442 + // console.log(defaults)
  1443 + $.ajax({
  1444 + type: defaults.method,
  1445 + url: defaults.url,
  1446 + dataType: defaults.dataType,
  1447 + contentType: defaults.contentType,
  1448 + data: defaults.data,
  1449 + async: defaults.async,
  1450 + beforeSend: function (xhr) {
  1451 + //设置请求头
  1452 + //xhr.setRequestHeader("User-Agent", "headertest");
  1453 + //console.log(JSON.stringify(sysComm));
  1454 + xhr.setRequestHeader("x-auth-token", fn.getToken());
  1455 + },
  1456 + success: function (res, status, xhr) {
  1457 + //console.log('获取header:'+xhr.getAllResponseHeaders());
  1458 + // console.log("服务器响应信息:");
  1459 + // console.log(res)
  1460 + var msg = (typeof res.msg == 'string') && (res.msg.constructor == String) ? res.msg : res.errMsg;
  1461 + //成功
  1462 + if (res.code == "2003") {
  1463 + //授权令牌不存在或已失效,请重新登录后在尝试
  1464 + window.location.href = 'login.html'
  1465 + } else if (res.code == "2004") {
  1466 + //授权令牌不合法,请重新登录收尝试
  1467 + //alert(res.msg);
  1468 + window.location.href = 'login.html'
  1469 + } else if (res.code == "2005") {
  1470 + //无此权限
  1471 + alert(msg);
  1472 + } else {
  1473 + defaults.success(res, status, xhr);
  1474 + }
  1475 + },
  1476 + error: function (XMLHttpRequest, textStatus, errorThrown) {
  1477 + if (textStatus == "timeout") {
  1478 + //alert('请求超时,请重试');
  1479 + } else {
  1480 + //alert("请求报错")
  1481 + console.log(errorThrown);
  1482 + }
  1483 +
  1484 + }
  1485 + });
  1486 +}
  1487 +
  1488 +
  1489 +function ajaxCommon(opts) {
  1490 + //一.设置默认参数
  1491 + var defaults = {
  1492 + method: 'GET',
  1493 + url: '',
  1494 + data: '',
  1495 + async: true,
  1496 + cache: false,
  1497 + contentType: 'application/json; charset=utf-8',
  1498 + beforeSend: function (xhr) {
  1499 + //设置请求头
  1500 + //xhr.setRequestHeader("User-Agent", "headertest");
  1501 + //console.log(JSON.stringify(sysComm));
  1502 + xhr.setRequestHeader("x-auth-token", fn.getToken());
  1503 + },
  1504 + success: function () {
  1505 + },
  1506 + error: function () {
  1507 + }
  1508 + };
  1509 +
  1510 + //二.用户参数覆盖默认参数
  1511 + for (var key in opts) {
  1512 + defaults[key] = opts[key];
  1513 + }
  1514 +
  1515 + defaults.method = defaults.method.toUpperCase(); //处理 method
  1516 +
  1517 + //三.对数据进行处理
  1518 + //如果数据是对象,并且 方法为 get方法时,将data拼接到url后面
  1519 + if (typeof defaults.data === 'object' && defaults.method === 'GET') { //处理 data
  1520 + var str = '';
  1521 + for (var key in defaults.data) {
  1522 + str += key + '=' + defaults.data[key] + '&';
  1523 + }
  1524 + defaults.data = str.substring(0, str.length - 1);
  1525 + }
  1526 +
  1527 + defaults.cache = defaults.cache ? '' : '&' + new Date().getTime();//处理 cache
  1528 +
  1529 + if (defaults.method === 'GET' && (defaults.data || defaults.cache)) defaults.url += '?' + defaults.data + defaults.cache; //处理 url
  1530 +
  1531 + //四.开始编写ajax
  1532 + //1.创建ajax对象
  1533 + var oXhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP');
  1534 + //2.和服务器建立联系,告诉服务器你要取什么文件
  1535 + oXhr.open(defaults.method, defaults.url, defaults.async);
  1536 + //3.发送请求
  1537 + if (defaults.method === 'GET')
  1538 + oXhr.send(null);
  1539 + else {
  1540 + oXhr.setRequestHeader("Content-type", defaults.contentType);
  1541 + oXhr.send(defaults.data);
  1542 + }
  1543 + //4.等待服务器回应
  1544 + oXhr.onreadystatechange = function () {
  1545 + if (oXhr.readyState === 4) {
  1546 + if (oXhr.status === 200)
  1547 + defaults.success.call(oXhr, oXhr.responseText);
  1548 + else {
  1549 + defaults.error();
  1550 + }
  1551 + }
  1552 + };
  1553 +}
  1554 +
... ...
login.html
... ... @@ -45,7 +45,7 @@
45 45 <input class="ver-control verification-input float-left" type="text" autocomplete="off" placeholder="请输入验证码" name="" maxlength="4" id="login_imgCode_value">
46 46 </div>
47 47 <span class="imgWrap float-left">
48   - <!--<img src="" id="login_imgCode">-->
  48 + <img src="" id="login_imgCode">
49 49 </span>
50 50 </div>
51 51 <!--error -->
... ... @@ -58,6 +58,7 @@
58 58 </div>
59 59 <script type="text/javascript" src="js/libJs/jquery.min.js"></script>
60 60 <script type="text/javascript" src="js/libJs/bootstrap.min.js"></script>
  61 +<script type="text/javascript" src="js/unit.js"></script>
61 62 <script type="text/javascript">
62 63 document.write("<s" + "cript type='text/javascript' src='js/login.js?ver" + Math.random() + "'></s" + "cript>");
63 64 </script>
... ...