| | |
| | | <li>
|
| | | <a href="indexctM.html" target="_top" data-i18n="main.usermanagement">作业管理</a>
|
| | | </li>
|
| | | <li>
|
| | | <a href="map.html" target="_top" data-i18n="main.usermanagement">机房定位</a>
|
| | | </li>
|
| | | <!-- <li>
|
| | | <a href="map.html" target="_top" id="LocationCR" data-i18n="main.usermanagement">机房定位</a>
|
| | | </li> -->
|
| | | <li>
|
| | | <a href="checkAccept-index.html" id="check_Accept" target="_top" data-i18n="main.usermanagement">批准审批及验收</a>
|
| | | </li>
|
| | |
| | | delCookie("station");
|
| | | delCookie("eleparm");
|
| | | delCookie("eleparm1");
|
| | | delCookie("happroval");
|
| | | $(document.body).css( "visibility", "visible") ;
|
| | | });
|
| | | |
| | | //拦截安卓回退按钮
|
| | | history.pushState(null, null, location.href);
|
| | | window.addEventListener('popstate', function(event) {
|
| | | history.pushState(null, null, location.href );
|
| | | //此处加入回退时你要执行的代码
|
| | | });
|
| | |
|
| | | //安全退出
|
| | | function exitUser(){
|
| | |
| | | if(isHasPermit("install_look_permit",data)){
|
| | | }else{
|
| | | document.getElementById("check_Accept").style.display="none";
|
| | | document.getElementById("LocationCR").style.display="none"; |
| | | }
|
| | | }
|
| | | });
|
| | | }
|
| | | |
| | | //根据权限名判断是否具有某个权限
|
| | | function isHasPermit(_permitName,_permitList)
|
| | | {
|