953e286e by weimo934

跳转功能完善

1 parent 152bcbf5
1 <%@ page language="java" contentType="text/html; charset=UTF-8" 1 <%@ page language="java" contentType="text/html; charset=UTF-8"
2 pageEncoding="UTF-8"%> 2 pageEncoding="UTF-8" %>
3 <% 3 <%
4 String contextPath = request.getContextPath(); 4 String contextPath = request.getContextPath();
5 String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+contextPath+"/"; 5 String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + contextPath + "/";
6 %> 6 %>
7 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 7 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8 <html lang="zh-CN"> 8 <html lang="zh-CN">
...@@ -11,23 +11,23 @@ ...@@ -11,23 +11,23 @@
11 <base href="<%=basePath%>"> 11 <base href="<%=basePath%>">
12 <meta http-equiv="X-UA-Compatible" content="IE=Edge"> 12 <meta http-equiv="X-UA-Compatible" content="IE=Edge">
13 <meta charset="UTF-8"> 13 <meta charset="UTF-8">
14 <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0" /> 14 <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0"/>
15 <title>西安市国土空间规划 “一张图” 实施监督信息系统</title> 15 <title>西安市国土空间规划 “一张图” 实施监督信息系统</title>
16 <!-- 已整理 --> 16 <!-- 已整理 -->
17 <link href="libs/layui/2.2.5/css/layui.css" rel="stylesheet" /> 17 <link href="libs/layui/2.2.5/css/layui.css" rel="stylesheet"/>
18 18
19 <link href="common/css/common.css" rel="stylesheet" /> 19 <link href="common/css/common.css" rel="stylesheet"/>
20 <link href="css/index/system-notice/css.css" rel="stylesheet" /> 20 <link href="css/index/system-notice/css.css" rel="stylesheet"/>
21 <link rel="shortcut icon" type="image/x-icon" href="image/index/logo5.png" media="screen" /> 21 <link rel="shortcut icon" type="image/x-icon" href="image/index/logo5.png" media="screen"/>
22 <link href="libs/bootstrap/css/bootstrap.min.css" rel="stylesheet" /> 22 <link href="libs/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
23 <link href="css/index/index.css" rel="stylesheet" /> 23 <link href="css/index/index.css" rel="stylesheet"/>
24 <link href="libs/zTree/zTreeStyle/zTreeStyle.css" rel="stylesheet" /> 24 <link href="libs/zTree/zTreeStyle/zTreeStyle.css" rel="stylesheet"/>
25 <!-- 滚动条 --> 25 <!-- 滚动条 -->
26 <link href="libs/jquery/jquery.mCustomScrollbar.css" rel="stylesheet" /> 26 <link href="libs/jquery/jquery.mCustomScrollbar.css" rel="stylesheet"/>
27 <link href="libs/bootstrap/css/materialize-waves-effect.css" rel="stylesheet" /> 27 <link href="libs/bootstrap/css/materialize-waves-effect.css" rel="stylesheet"/>
28 <link href="libs/nprogress/nprogress.css" rel="stylesheet" /> 28 <link href="libs/nprogress/nprogress.css" rel="stylesheet"/>
29 <link href="libs/jqueryWeui/weui.min.css" rel="stylesheet" /> 29 <link href="libs/jqueryWeui/weui.min.css" rel="stylesheet"/>
30 <link href="libs/jqueryWeui/jquery-weui.css" rel="stylesheet" /> 30 <link href="libs/jqueryWeui/jquery-weui.css" rel="stylesheet"/>
31 31
32 <link rel="stylesheet" href="libs/element-ui/lib-master/theme-chalk/index.css"> 32 <link rel="stylesheet" href="libs/element-ui/lib-master/theme-chalk/index.css">
33 <script type="text/javascript" src="libs/jquery/jquery-1.11.1.min.js"></script> 33 <script type="text/javascript" src="libs/jquery/jquery-1.11.1.min.js"></script>
...@@ -117,8 +117,8 @@ ...@@ -117,8 +117,8 @@
117 margin: 0 auto; 117 margin: 0 auto;
118 position: fixed; 118 position: fixed;
119 width: 100%; 119 width: 100%;
120 top: 0; //只有一个导航所以top值固定 120 top: 0;
121 left: 0; 121 / / 只有一个导航所以top值固定 left: 0;
122 right: 0; 122 right: 0;
123 z-index: 99999; 123 z-index: 99999;
124 } 124 }
...@@ -248,15 +248,17 @@ ...@@ -248,15 +248,17 @@
248 position: relative; 248 position: relative;
249 /*top: 1px;*/ 249 /*top: 1px;*/
250 } 250 }
251
251 .activedImg { 252 .activedImg {
252 width: 22px; 253 width: 22px;
253 height: 22px; 254 height: 22px;
254 left: -1px; 255 left: -1px;
255 margin-right: 6px; 256 margin-right: 6px;
256 } 257 }
258
257 .secondMenuItem-image.point-image { 259 .secondMenuItem-image.point-image {
258 width: 22px; 260 width: 22px;
259 height:22px; 261 height: 22px;
260 margin-right: 8px; 262 margin-right: 8px;
261 } 263 }
262 264
...@@ -265,14 +267,17 @@ ...@@ -265,14 +267,17 @@
265 display: flex; 267 display: flex;
266 align-items: center; 268 align-items: center;
267 } 269 }
270
268 /*批后管理左侧菜单颜色色的更改*/ 271 /*批后管理左侧菜单颜色色的更改*/
269 .el-submenu .el-submenu__title{ 272 .el-submenu .el-submenu__title {
270 color:#00E7FF 273 color: #00E7FF
271 } 274 }
272 .el-submenu .el-submenu__title{ 275
276 .el-submenu .el-submenu__title {
273 /*color:#00E7FF*/ 277 /*color:#00E7FF*/
274 background-color:#384454 !important; 278 background-color: #384454 !important;
275 } 279 }
280
276 .el-menu-vertical-demo .el-submenu .el-submenu__title .el-icon-arrow-down::before { 281 .el-menu-vertical-demo .el-submenu .el-submenu__title .el-icon-arrow-down::before {
277 content: ''; 282 content: '';
278 display: block; 283 display: block;
...@@ -280,21 +285,25 @@ ...@@ -280,21 +285,25 @@
280 height: 13px; 285 height: 13px;
281 background: url('/frontweb/image/index/menu_sub.png') center / 6px 11px no-repeat; 286 background: url('/frontweb/image/index/menu_sub.png') center / 6px 11px no-repeat;
282 } 287 }
288
283 .el-menu-vertical-demo .el-submenu.is-opened .el-submenu__title .el-icon-arrow-down::before { 289 .el-menu-vertical-demo .el-submenu.is-opened .el-submenu__title .el-icon-arrow-down::before {
284 -webkit-transform: rotate(-90deg); 290 -webkit-transform: rotate(-90deg);
285 transform: rotate(-90deg); 291 transform: rotate(-90deg);
286 } 292 }
287 .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow { 293
294 .el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow {
288 -webkit-transform: rotateZ(0); 295 -webkit-transform: rotateZ(0);
289 transform: rotateZ(0); 296 transform: rotateZ(0);
290 } 297 }
298
291 .el-submenu .el-menu-item { 299 .el-submenu .el-menu-item {
292 height: 44px; 300 height: 44px;
293 line-height: 44px; 301 line-height: 44px;
294 } 302 }
295 .user-text{ 303
296 color:white; 304 .user-text {
297 cursor:pointer; 305 color: white;
306 cursor: pointer;
298 font-size: 12px; 307 font-size: 12px;
299 } 308 }
300 </style> 309 </style>
...@@ -306,12 +315,13 @@ ...@@ -306,12 +315,13 @@
306 </head> 315 </head>
307 316
308 <body onkeyup="keyupFullScreen()" style="" onUnload="closeNews();"> 317 <body onkeyup="keyupFullScreen()" style="" onUnload="closeNews();">
309 <div id="scrollDiv" style="position:absolute;top:0px;bottom:0px;width:100%;overflow: auto;display:inline-block;"> 318 <div id="scrollDiv" style="position:absolute;top:0px;bottom:0px;width:100%;overflow: auto;display:inline-block;">
310 <!-- hyh 新增id 让滚动条回到顶部 2017/12/12 --> 319 <!-- hyh 新增id 让滚动条回到顶部 2017/12/12 -->
311 320
312 <div id="bodyContent" style="position:relative;display:inline-block;width: 100%;"> 321 <div id="bodyContent" style="position:relative;display:inline-block;width: 100%;">
313 <div class="container-fluid" style="padding-left: 0px;padding-right: 0px;display:inline-block;"> 322 <div class="container-fluid" style="padding-left: 0px;padding-right: 0px;display:inline-block;">
314 <div class="headbg row" id="NoRow" style="margin-bottom: 0;left: 15px;position: fixed;width:100%;z-index: 999;min-width: 1480px;"> 323 <div class="headbg row" id="NoRow"
324 style="margin-bottom: 0;left: 15px;position: fixed;width:100%;z-index: 999;min-width: 1480px;display: none">
315 <!--position: fixed;width: 100%;z-index: 10000;left: 15px; --> 325 <!--position: fixed;width: 100%;z-index: 10000;left: 15px; -->
316 <!-- FIXME: add clearfix --> 326 <!-- FIXME: add clearfix -->
317 <div class="headbg-logo col-xs-12 clearfix"> 327 <div class="headbg-logo col-xs-12 clearfix">
...@@ -324,7 +334,7 @@ ...@@ -324,7 +334,7 @@
324 </div> 334 </div>
325 <!-- FIXME: 添加 --> 335 <!-- FIXME: 添加 -->
326 <div class="help-icon"> 336 <div class="help-icon">
327 <span class="user-text" id="myInfoText" ></span> 337 <span class="user-text" id="myInfoText"></span>
328 <img src="image/index/userInfo_0616.png" alt="用户信息" id="myInfromationNew"> 338 <img src="image/index/userInfo_0616.png" alt="用户信息" id="myInfromationNew">
329 <img src="image/index/logout_0616.png" alt="注销" onclick="logoutEvent()"> 339 <img src="image/index/logout_0616.png" alt="注销" onclick="logoutEvent()">
330 </div> 340 </div>
...@@ -336,7 +346,9 @@ ...@@ -336,7 +346,9 @@
336 <div id="bothleftright"> 346 <div id="bothleftright">
337 <!-- FIXME: width: 150px;box-shadow:2px 1px 10px 1px rgb(204, 204, 204) ; => width: inherit;background: #F2F2F2;box-shadow: 0 0 12px 0 rgba(0,0,0,0.34); --> 347 <!-- FIXME: width: 150px;box-shadow:2px 1px 10px 1px rgb(204, 204, 204) ; => width: inherit;background: #F2F2F2;box-shadow: 0 0 12px 0 rgba(0,0,0,0.34); -->
338 <!-- 去掉box-shadow属性 2020年6月9日14点52分 vers --> 348 <!-- 去掉box-shadow属性 2020年6月9日14点52分 vers -->
339 <div class="div-leftbg " id="divLeftBG" style="min-width:186px;margin-left: 0px;height: 100%;position: fixed;top: 54px;z-index: 999;background: #F2F2F2;"> 349 <!--TODO:小希 去掉头部菜单height:54px改为height:0px-->
350 <div class="div-leftbg " id="divLeftBG"
351 style="min-width:186px;margin-left: 0px;height: 100%;position: fixed;top: 0px;z-index: 999;background: #F2F2F2;">
340 <!--用户信息--> 352 <!--用户信息-->
341 <!-- FIXME: display none --> 353 <!-- FIXME: display none -->
342 <div class="div-userbg div-left-contentitem" style="display: none;"> 354 <div class="div-userbg div-left-contentitem" style="display: none;">
...@@ -345,20 +357,22 @@ ...@@ -345,20 +357,22 @@
345 </div> 357 </div>
346 <div class="div-userphoto" id="loginusersave"> 358 <div class="div-userphoto" id="loginusersave">
347 <a id="myInfromation" href="javascript:void(0)"> 359 <a id="myInfromation" href="javascript:void(0)">
348 <img id="imguserphoto" class="img-userphoto" /> 360 <img id="imguserphoto" class="img-userphoto"/>
349 </a> 361 </a>
350 </div> 362 </div>
351 <div class="div-userinfo"> 363 <div class="div-userinfo">
352 <div class="div-username" style="width: 157px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"> 364 <div class="div-username"
365 style="width: 157px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
353 <!-- hyh 新增 行内样式 将过长名字用省略号代替 2017、9、22 --> 366 <!-- hyh 新增 行内样式 将过长名字用省略号代替 2017、9、22 -->
354 <!-- 邮箱参数需要 --> 367 <!-- 邮箱参数需要 -->
355 <span id="username" style="font-size: 18px;font-weight: bold;">未登录</span> 368 <span id="username" style="font-size: 18px;font-weight: bold;">未登录</span>
356 <input id="userId" type="hidden" /> 369 <input id="userId" type="hidden"/>
357 <input id="email" type="hidden" /> 370 <input id="email" type="hidden"/>
358 <input id="pwd" type="hidden" /> 371 <input id="pwd" type="hidden"/>
359 </div> 372 </div>
360 <div style="margin-top: 6px;"> 373 <div style="margin-top: 6px;">
361 <div id="status" style="display: block;white-space: nowrap;overflow: hidden;width:157px;height: 21px;font-size:13px;text-overflow: ellipsis;"></div> 374 <div id="status"
375 style="display: block;white-space: nowrap;overflow: hidden;width:157px;height: 21px;font-size:13px;text-overflow: ellipsis;"></div>
362 </div> 376 </div>
363 </div> 377 </div>
364 <div class="smalnotity" id="exist" onclick="logoutEvent()"> 378 <div class="smalnotity" id="exist" onclick="logoutEvent()">
...@@ -373,16 +387,18 @@ ...@@ -373,16 +387,18 @@
373 <div id="divQuickMenuList" class="div-quickmenu-list"> 387 <div id="divQuickMenuList" class="div-quickmenu-list">
374 <div class="div-quickmenu" id="btnCustomQuickMenu"> 388 <div class="div-quickmenu" id="btnCustomQuickMenu">
375 <div class="waves-effect"> 389 <div class="waves-effect">
376 <img src="image/index/quickmenu/menu-blue-add.png" /> 390 <img src="image/index/quickmenu/menu-blue-add.png"/>
377 </div> 391 </div>
378 <span>添加</span> 392 <span>添加</span>
379 </div> 393 </div>
380 </div> 394 </div>
381 <div class="downloadcenter" style="position:absolute;bottom:0px;left:0px;width:100%;height: 200px;"> 395 <div class="downloadcenter"
396 style="position:absolute;bottom:0px;left:0px;width:100%;height: 200px;">
382 <!-- FIXME: delete width --> 397 <!-- FIXME: delete width -->
383 <div style="height: 1px;position: relative;top: 0;background-color:#cfe1fc; margin: 0 auto;"></div> 398 <div style="height: 1px;position: relative;top: 0;background-color:#cfe1fc; margin: 0 auto;"></div>
384 <div style="text-align: center;position: absolute;left:20px;top:20px; float: left;font-size: 8px;color: #999999;font-weight: 500;cursor: pointer;"> 399 <div style="text-align: center;position: absolute;left:20px;top:20px; float: left;font-size: 8px;color: #999999;font-weight: 500;cursor: pointer;">
385 <img alt="" src="image/index/quickmenu/downloadcenter.png" onclick="opendownloadlist()" style="width: 36px;height:36px;"> 400 <img alt="" src="image/index/quickmenu/downloadcenter.png" onclick="opendownloadlist()"
401 style="width: 36px;height:36px;">
386 <div>下载中心</div> 402 <div>下载中心</div>
387 </div> 403 </div>
388 </div> 404 </div>
...@@ -406,30 +422,41 @@ ...@@ -406,30 +422,41 @@
406 <div class="div-systemnotice-switch" style="display: none;"> 422 <div class="div-systemnotice-switch" style="display: none;">
407 <ul id="divSystemNoticeSwitch"></ul> 423 <ul id="divSystemNoticeSwitch"></ul>
408 </div> 424 </div>
409 <input id="GetSystemNoticeCount" hidden="hidden" /> 425 <input id="GetSystemNoticeCount" hidden="hidden"/>
410 <div style="clear: both;"></div> 426 <div style="clear: both;"></div>
411 </div> 427 </div>
412 <div> 428 <div>
413 <el-menu :default-active="activeIndex" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" @select="handleSelect" 429 <el-menu :default-active="activeIndex" class="el-menu-vertical-demo" @open="handleOpen"
430 @close="handleClose" @select="handleSelect"
414 :unique-opened="false" :collapse="isCollapse" :default-openeds="defaultOpeneds"> 431 :unique-opened="false" :collapse="isCollapse" :default-openeds="defaultOpeneds">
415 <div v-for="(item,itemIndex) in menuList" :key="itemIndex"> 432 <div v-for="(item,itemIndex) in menuList" :key="itemIndex">
416 <el-submenu :index="item.id" :class="{shrinkSubmenu:isCollapse}" v-if="item.children" :key="item.id"> 433 <el-submenu :index="item.id" :class="{shrinkSubmenu:isCollapse}" v-if="item.children"
434 :key="item.id">
417 <template slot="title"> 435 <template slot="title">
418 <img :src="item.iconCls" class="secondMenuItem-image"> 436 <img :src="item.iconCls" class="secondMenuItem-image">
419 <!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> --> 437 <!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> -->
420 <!-- FIXME: --> 438 <!-- FIXME: -->
421 <span slot="title" :title="item.alias" style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span> 439 <span slot="title" :title="item.alias"
440 style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span>
422 </template> 441 </template>
423 <el-menu-item :title="subItem.alias" :index="subItem.id" v-for="(subItem,subItemIndex) in item.children" :key="subItem.id" style="min-width: auto;padding-right: 0;width: 186px;overflow: hidden;"> 442 <el-menu-item :title="subItem.alias" :index="subItem.id"
424 <img :src="subItem.iconCls" class="secondMenuItem-image point-image"> {{subItem.alias}} 443 v-for="(subItem,subItemIndex) in item.children" :key="subItem.id"
444 style="min-width: auto;padding-right: 0;width: 186px;overflow: hidden;">
445 <img :src="subItem.iconCls" class="secondMenuItem-image point-image">
446 {{subItem.alias}}
425 </el-menu-item> 447 </el-menu-item>
426 </el-submenu> 448 </el-submenu>
427 <el-menu-item :index="item.id" :class="{shrinkItem:isCollapse}" v-if="!item.children" :key="item.id" style="padding: 0 22px 0 26px;display: flex;align-items: center;"> 449 <el-menu-item :index="item.id" :class="{shrinkItem:isCollapse}" v-if="!item.children"
428 <img :src="item.iconCls" class="secondMenuItem-image" v-show="activeIndex!==item.id"> 450 :key="item.id"
429 <img :src="item.iconActive" class="secondMenuItem-image activedImg" v-show="activeIndex===item.id"> 451 style="padding: 0 22px 0 26px;display: flex;align-items: center;">
452 <img :src="item.iconCls" class="secondMenuItem-image"
453 v-show="activeIndex!==item.id">
454 <img :src="item.iconActive" class="secondMenuItem-image activedImg"
455 v-show="activeIndex===item.id">
430 <!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> --> 456 <!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> -->
431 <!-- FIXME: --> 457 <!-- FIXME: -->
432 <span slot="title" :title="item.alias" style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span> 458 <span slot="title" :title="item.alias"
459 style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span>
433 </el-menu-item> 460 </el-menu-item>
434 </div> 461 </div>
435 <div style="height: 190px"></div> 462 <div style="height: 190px"></div>
...@@ -438,17 +465,19 @@ ...@@ -438,17 +465,19 @@
438 </div> 465 </div>
439 </div> 466 </div>
440 <!-- FIXME: left: 160px; => left: 186px; ;right: 24px;bottom: 16px; --> 467 <!-- FIXME: left: 160px; => left: 186px; ;right: 24px;bottom: 16px; -->
441 468 <!--TODO:小希 去掉头部菜单height:54px改为height:0px-->
442 <div class="row" id="divContentRight" style="float: left; box-sizing: border-box;display:inline-block;position: fixed;top: 54px;left: 201px;right: 15px;bottom: 0px;background: #fff;"> 469 <div class="row" id="divContentRight"
470 style="float: left; box-sizing: border-box;display:inline-block;position: fixed;top: 0px;left: 201px;right: 15px;bottom: 0px;background: #fff;">
443 <div id="divFrame"> 471 <div id="divFrame">
444 <%--<div class="the_mask" style="height: 100%;position: absolute;width: 100%;background: black;opacity: 0.8;z-index: 5">这个是图层蒙版</div>--%> 472 <%--<div class="the_mask" style="height: 100%;position: absolute;width: 100%;background: black;opacity: 0.8;z-index: 5">这个是图层蒙版</div>--%>
445 <iframe id="iframecontent" name="syiframe" frameborder="0" scrolling="no" class="tabindex-0" marginwidth="0" style="height: 100%;width: 100%; display:inline-block;"></iframe> 473 <iframe id="iframecontent" name="syiframe" frameborder="0" scrolling="no" class="tabindex-0"
474 marginwidth="0" style="height: 100%;width: 100%; display:inline-block;"></iframe>
446 </div> 475 </div>
447 </div> 476 </div>
448 477
449 </div> 478 </div>
450 </div> 479 </div>
451 </div> 480 </div>
452 <script type="text/javascript" src="js/index/index.js"></script> 481 <script type="text/javascript" src="js/index/index.js"></script>
453 </body> 482 </body>
454 </html> 483 </html>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -41,6 +41,7 @@ $(document).ready(function () { ...@@ -41,6 +41,7 @@ $(document).ready(function () {
41 41
42 //获取登录信息 42 //获取登录信息
43 getLoginInfo(); 43 getLoginInfo();
44
44 //加载权限 45 //加载权限
45 loadResources(); 46 loadResources();
46 // loadAllDucumentCount("all"); 47 // loadAllDucumentCount("all");
...@@ -58,6 +59,28 @@ $(document).ready(function () { ...@@ -58,6 +59,28 @@ $(document).ready(function () {
58 }); 59 });
59 //初始化一级菜单 60 //初始化一级菜单
60 initFirstMenu(); 61 initFirstMenu();
62 var type = window.location.href.split('?')[1].split('=')[1];
63 debugger
64 if(type == 2){
65 let text = '实施监督预警'
66 let domId='btnMenuMonitorEvaluate'
67 checkLocalCache();
68 parentId='t0109_4028d839708bbb6d01708c957d2e0552';
69 menuitemChange(text,domId)
70 }
71 else if (type == 1){
72 let text = '规划成果审查'
73 let domId='btnMenuReviewManage'
74 parentId='t0109_4028d839708bbb6d01708c4babc70004'
75 checkLocalCache();
76 menuitemChange(text,domId)
77 }else if (type == 3){
78 let text = '批后监管'
79 let domId='btnMenupihouguanli'
80 parentId='t0109_189986fffc7d4f1abfa54bb665f777b5'
81 checkLocalCache();
82 menuitemChange(text,domId)
83 }
61 $("#txtSearch").val(searchTip); 84 $("#txtSearch").val(searchTip);
62 //显示搜索框 85 //显示搜索框
63 // $("#btnDisplaySearch").click(displaySearchText); 86 // $("#btnDisplaySearch").click(displaySearchText);
...@@ -80,21 +103,7 @@ $(document).ready(function () { ...@@ -80,21 +103,7 @@ $(document).ready(function () {
80 }); 103 });
81 104
82 loadpage(); 105 loadpage();
83 var type = window.location.href.split('?')[1].split('=')[1]; 106
84 if(type == 2){
85 var text = '实施监督预警'
86 var domId='btnMenuMonitorEvaluate'
87 menuitemChange(text,domId)
88 }
89 // else if (type == 1){
90 // var text = '规划成果审查'
91 // var domId='btnMenuReviewManage'
92 // menuitemChange(text,domId)
93 // }else if (type == 3){
94 // var text = '批后监管'
95 // var domId='btnMenupihouguanli'
96 // menuitemChange(text,domId)
97 // }
98 // 默认隐藏菜单 107 // 默认隐藏菜单
99 $("#supervisiondoc").css('display', 'none'); 108 $("#supervisiondoc").css('display', 'none');
100 $("#managerdoc").css('display', 'none'); 109 $("#managerdoc").css('display', 'none');
...@@ -399,6 +408,8 @@ function listByRoleIdSucceFunc(data, object, navigator, divId, nav, text) { ...@@ -399,6 +408,8 @@ function listByRoleIdSucceFunc(data, object, navigator, divId, nav, text) {
399 } 408 }
400 409
401 function initMenu(navigator, divId, nav, id) { 410 function initMenu(navigator, divId, nav, id) {
411 debugger
412 console.log("initMenu===============================")
402 if (id) { 413 if (id) {
403 parentId = id; 414 parentId = id;
404 } 415 }
...@@ -436,6 +447,7 @@ function initMenu(navigator, divId, nav, id) { ...@@ -436,6 +447,7 @@ function initMenu(navigator, divId, nav, id) {
436 async: false, 447 async: false,
437 data: paraData, 448 data: paraData,
438 success: function (data) { 449 success: function (data) {
450 debugger
439 listByRoleIdSucceFunc(data, object, navigator, divId, nav); 451 listByRoleIdSucceFunc(data, object, navigator, divId, nav);
440 if (window.globalLocalCache) { 452 if (window.globalLocalCache) {
441 window.globalLocalCache.AddCache( 453 window.globalLocalCache.AddCache(
...@@ -766,11 +778,11 @@ function menuLoadPage() { ...@@ -766,11 +778,11 @@ function menuLoadPage() {
766 } 778 }
767 779
768 function chooseOpreation(obj) { 780 function chooseOpreation(obj) {
769 let types=$(obj).context.innerText; 781 /*let types=$(obj).context.innerText;
770 sessionStorage.setItem('type',types) 782 sessionStorage.setItem('type',types)*/
771 var text = $(obj).text().trim(); 783 var text = $(obj).text().trim();
772 var domId = $(obj).attr("id"); 784 var domId = $(obj).attr("id");
773 if (domId == "btnMenuOfficialDocument") { 785 /* if (domId == "btnMenuOfficialDocument") {
774 //20190503 机要室信息员 部长要求 机要室信息员收文发送提高速度 提前缓存 786 //20190503 机要室信息员 部长要求 机要室信息员收文发送提高速度 提前缓存
775 var userInfo = $.cookie('cookieuser'); 787 var userInfo = $.cookie('cookieuser');
776 userInfo = JSON.parse(userInfo); 788 userInfo = JSON.parse(userInfo);
...@@ -779,13 +791,13 @@ function chooseOpreation(obj) { ...@@ -779,13 +791,13 @@ function chooseOpreation(obj) {
779 if (username == '机要室信息员') { 791 if (username == '机要室信息员') {
780 swSendJYSXXY(); 792 swSendJYSXXY();
781 } 793 }
782 /*console.log(username); 794 /!*console.log(username);
783 $('#myInfoText').innerText(username);*/ 795 $('#myInfoText').innerText(username);*!/
784 } 796 }*/
785 checkLocalCache(); 797 checkLocalCache();
786 isgis = false; 798 /*isgis = false;*/
787 parentId = $(obj).attr("value"); 799 parentId = $(obj).attr("value");
788 // menuitemChange(text, domId); 800 // /* menuitemChange(text, domId);*/
789 } 801 }
790 802
791 function iframeloadgis() { 803 function iframeloadgis() {
...@@ -1544,6 +1556,7 @@ function myInfromation() { ...@@ -1544,6 +1556,7 @@ function myInfromation() {
1544 } 1556 }
1545 //初始化一级菜单 1557 //初始化一级菜单
1546 function initFirstMenu() { 1558 function initFirstMenu() {
1559 debugger
1547 var menuNav = $("#menuNav"); 1560 var menuNav = $("#menuNav");
1548 var titleLogo = $("#title-logo"); 1561 var titleLogo = $("#title-logo");
1549 var fResult = []; 1562 var fResult = [];
...@@ -2472,6 +2485,8 @@ var vm = new Vue({ ...@@ -2472,6 +2485,8 @@ var vm = new Vue({
2472 }); 2485 });
2473 2486
2474 function spanningTree(data) { 2487 function spanningTree(data) {
2488 debugger
2489 debugger
2475 var dataList = JSON.parse(JSON.stringify(data)); 2490 var dataList = JSON.parse(JSON.stringify(data));
2476 let formatObj = dataList.reduce((pre, cur) => { 2491 let formatObj = dataList.reduce((pre, cur) => {
2477 return { ...pre, [cur['id']]: cur } 2492 return { ...pre, [cur['id']]: cur }
......