跳转功能完善
Showing
2 changed files
with
507 additions
and
463 deletions
| 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"> |
| 9 | 9 | ||
| 10 | <head> | 10 | <head> |
| 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> |
| 34 | <script type="text/javascript" src="libs/nprogress/nprogress.js"></script> | 34 | <script type="text/javascript" src="libs/nprogress/nprogress.js"></script> |
| 35 | <script type="text/javascript" src="libs/layer/layer.js"></script> | 35 | <script type="text/javascript" src="libs/layer/layer.js"></script> |
| 36 | <script src="libs/zTree/jquery.ztree.core-3.5.min.js"></script> | 36 | <script src="libs/zTree/jquery.ztree.core-3.5.min.js"></script> |
| 37 | <script src="libs/bootstrap/js/bootstrap.min.js"></script> | 37 | <script src="libs/bootstrap/js/bootstrap.min.js"></script> |
| 38 | <script type="text/javascript" src="libs/jquery/jquery.cookie.js"></script> | 38 | <script type="text/javascript" src="libs/jquery/jquery.cookie.js"></script> |
| 39 | <script type="text/javascript" src="libs/jquery/jquery.mCustomScrollbar.concat.min.js"></script> | 39 | <script type="text/javascript" src="libs/jquery/jquery.mCustomScrollbar.concat.min.js"></script> |
| 40 | <script type="text/javascript" src="js/index/rolecotrol.js"></script> | 40 | <script type="text/javascript" src="js/index/rolecotrol.js"></script> |
| 41 | <script src="js/index/calendar.js"></script> | 41 | <script src="js/index/calendar.js"></script> |
| 42 | <!-- 系统通知滚动播放 --> | 42 | <!-- 系统通知滚动播放 --> |
| 43 | <script type="text/javascript" src="js/index/system-notice/lrtk.js"></script> | 43 | <script type="text/javascript" src="js/index/system-notice/lrtk.js"></script> |
| 44 | <script type="text/javascript" src="libs/bootstrap/js/materialize-waves-effect.js"></script> | 44 | <script type="text/javascript" src="libs/bootstrap/js/materialize-waves-effect.js"></script> |
| 45 | <script type="text/javascript" src="libs/nprogress/nprogress.js"></script> | 45 | <script type="text/javascript" src="libs/nprogress/nprogress.js"></script> |
| 46 | <script type="text/javascript" src="common/js/processBar/js/processBar.js"></script> | 46 | <script type="text/javascript" src="common/js/processBar/js/processBar.js"></script> |
| 47 | <script type="text/javascript" src="common/js/config.js"></script> | 47 | <script type="text/javascript" src="common/js/config.js"></script> |
| 48 | <!-- 权限配置js --> | 48 | <!-- 权限配置js --> |
| 49 | <script type="text/javascript" src="js/common.js"></script> | 49 | <script type="text/javascript" src="js/common.js"></script> |
| 50 | <script type="text/javascript" src="./common/js/global/socket.io.js"></script> | 50 | <script type="text/javascript" src="./common/js/global/socket.io.js"></script> |
| 51 | <script type="text/javascript" src="./common/js/global/global.websocket.js"></script> | 51 | <script type="text/javascript" src="./common/js/global/global.websocket.js"></script> |
| 52 | <script type="text/javascript" src="common/js/global/global.localStorage.js"></script> | 52 | <script type="text/javascript" src="common/js/global/global.localStorage.js"></script> |
| 53 | <script type="text/javascript" src="common/js/resourceAuthory.js"></script> | 53 | <script type="text/javascript" src="common/js/resourceAuthory.js"></script> |
| 54 | <script type="text/javascript" charset="utf-8" src="common/js/global/global.modelctls.js"></script> | 54 | <script type="text/javascript" charset="utf-8" src="common/js/global/global.modelctls.js"></script> |
| 55 | <script type="text/javascript" charset="utf-8" src="common/js/global/global.js"></script> | 55 | <script type="text/javascript" charset="utf-8" src="common/js/global/global.js"></script> |
| 56 | <script type="text/javascript" charset="utf-8" src="libs/Base64.js"></script> | 56 | <script type="text/javascript" charset="utf-8" src="libs/Base64.js"></script> |
| 57 | <script type="text/javascript" src="common/js/dateformat.js"></script> | 57 | <script type="text/javascript" src="common/js/dateformat.js"></script> |
| 58 | <script type="text/javascript" src="common/js/checkfktoen.js"></script> | 58 | <script type="text/javascript" src="common/js/checkfktoen.js"></script> |
| 59 | <script type="text/javascript" src="js/resolutions.js"></script> | 59 | <script type="text/javascript" src="js/resolutions.js"></script> |
| 60 | <script type="text/javascript" src="libs/jqueryWeui/jquery-weui.js"></script> | 60 | <script type="text/javascript" src="libs/jqueryWeui/jquery-weui.js"></script> |
| 61 | <script type="text/javascript" src="libs/layui/2.2.5/layui.js"></script> | 61 | <script type="text/javascript" src="libs/layui/2.2.5/layui.js"></script> |
| 62 | <script src="libs/element-vue/vue/vue.js"></script> | 62 | <script src="libs/element-vue/vue/vue.js"></script> |
| 63 | <script src="libs/element-vue/lib/index.js"></script> | 63 | <script src="libs/element-vue/lib/index.js"></script> |
| 64 | 64 | ||
| 65 | <script type="text/javascript"> | 65 | <script type="text/javascript"> |
| 66 | var global = global || {}; | 66 | var global = global || {}; |
| 67 | global = global || {}; | 67 | global = global || {}; |
| 68 | global.contextPath = '<%=contextPath%>'; | 68 | global.contextPath = '<%=contextPath%>'; |
| 69 | </script> | 69 | </script> |
| 70 | <style type="text/css"> | 70 | <style type="text/css"> |
| 71 | #searchButton { | 71 | #searchButton { |
| 72 | color: white; | 72 | color: white; |
| 73 | float: left; | 73 | float: left; |
| 74 | padding-top: 5px; | 74 | padding-top: 5px; |
| 75 | background-color: #179bf0; | 75 | background-color: #179bf0; |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | #searchButton button { | 78 | #searchButton button { |
| 79 | color: white; | 79 | color: white; |
| 80 | border: none; | 80 | border: none; |
| 81 | box-shadow: none; | 81 | box-shadow: none; |
| 82 | background-color: #179bf0; | 82 | background-color: #179bf0; |
| 83 | } | 83 | } |
| 84 | 84 | ||
| 85 | #searchButton .dropdown-menu { | 85 | #searchButton .dropdown-menu { |
| 86 | color: white; | 86 | color: white; |
| 87 | min-width: 50px; | 87 | min-width: 50px; |
| 88 | background-color: #179bf0; | 88 | background-color: #179bf0; |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | #searchButton .dropdown-menu a { | 91 | #searchButton .dropdown-menu a { |
| 92 | color: white; | 92 | color: white; |
| 93 | background-color: #179bf0; | 93 | background-color: #179bf0; |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | #searchButton .dropdown-menu a:hover { | 96 | #searchButton .dropdown-menu a:hover { |
| 97 | color: white; | 97 | color: white; |
| 98 | background-color: #1c8ac9; | 98 | background-color: #1c8ac9; |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | .ztree * { | 101 | .ztree * { |
| 102 | font-size: 14px; | 102 | font-size: 14px; |
| 103 | font-family: "雅黑宋体", "微软雅黑", "新宋体", "宋体"; | 103 | font-family: "雅黑宋体", "微软雅黑", "新宋体", "宋体"; |
| 104 | } | 104 | } |
| 105 | 105 | ||
| 106 | #subMenuArchive ul { | 106 | #subMenuArchive ul { |
| 107 | padding: 0px; | 107 | padding: 0px; |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | .div-copyrightheader { | 110 | .div-copyrightheader { |
| 111 | text-align: center; | 111 | text-align: center; |
| 112 | font-size: 16px; | 112 | font-size: 16px; |
| 113 | color: #a1a1a1; | 113 | color: #a1a1a1; |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | .fix-div-index { | 116 | .fix-div-index { |
| 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 | } |
| 125 | 125 | ||
| 126 | .SidebarHide { | 126 | .SidebarHide { |
| 127 | display: none !important; | 127 | display: none !important; |
| 128 | } | 128 | } |
| 129 | 129 | ||
| 130 | .MainFill { | 130 | .MainFill { |
| 131 | width: 100% !important; | 131 | width: 100% !important; |
| 132 | margin: 0 !important; | 132 | margin: 0 !important; |
| 133 | left: 0 !important; | 133 | left: 0 !important; |
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | .new_iframe { | 136 | .new_iframe { |
| 137 | display: inline-block; | 137 | display: inline-block; |
| 138 | height: 100%; | 138 | height: 100%; |
| 139 | width: 100%; | 139 | width: 100%; |
| 140 | border: none; | 140 | border: none; |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | .col-xs-12 { | 143 | .col-xs-12 { |
| 144 | padding-left: 0; | 144 | padding-left: 0; |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | #help { | 147 | #help { |
| 148 | float: right; | 148 | float: right; |
| 149 | margin-top: 15px; | 149 | margin-top: 15px; |
| 150 | margin-right: 20px; | 150 | margin-right: 20px; |
| 151 | cursor: pointer; | 151 | cursor: pointer; |
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | #help span { | 154 | #help span { |
| 155 | color: white; | 155 | color: white; |
| 156 | font-size: 25px; | 156 | font-size: 25px; |
| 157 | } | 157 | } |
| 158 | 158 | ||
| 159 | /* FIXME: 添加 */ | 159 | /* FIXME: 添加 */ |
| 160 | 160 | ||
| 161 | .headbg .help-icon { | 161 | .headbg .help-icon { |
| 162 | padding-top: 12px; | 162 | padding-top: 12px; |
| 163 | float: right; | 163 | float: right; |
| 164 | } | 164 | } |
| 165 | 165 | ||
| 166 | .headbg .help-icon img { | 166 | .headbg .help-icon img { |
| 167 | margin-top: 0; | 167 | margin-top: 0; |
| 168 | margin-left: 16px; | 168 | margin-left: 16px; |
| 169 | height: 24px; | 169 | height: 24px; |
| 170 | display: inline-block; | 170 | display: inline-block; |
| 171 | cursor: pointer; | 171 | cursor: pointer; |
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | .headbg .help-icon img:first-child { | 174 | .headbg .help-icon img:first-child { |
| 175 | margin-left: 0; | 175 | margin-left: 0; |
| 176 | } | 176 | } |
| 177 | 177 | ||
| 178 | .headbg-logo { | 178 | .headbg-logo { |
| 179 | height: 100%; | 179 | height: 100%; |
| 180 | padding-right: 24px; | 180 | padding-right: 24px; |
| 181 | } | 181 | } |
| 182 | 182 | ||
| 183 | /* end */ | 183 | /* end */ |
| 184 | 184 | ||
| 185 | .el-menu-vertical-demo:not(.el-menu--collapse) { | 185 | .el-menu-vertical-demo:not(.el-menu--collapse) { |
| 186 | width: 100%; | 186 | width: 100%; |
| 187 | height: 100%; | 187 | height: 100%; |
| 188 | overflow-y: auto; | 188 | overflow-y: auto; |
| 189 | } | 189 | } |
| 190 | 190 | ||
| 191 | .el-menu--collapse { | 191 | .el-menu--collapse { |
| 192 | width: 100% !important; | 192 | width: 100% !important; |
| 193 | height: 100%; | 193 | height: 100%; |
| 194 | overflow-y: auto; | 194 | overflow-y: auto; |
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | .shrinkSubmenu .el-submenu__title { | 197 | .shrinkSubmenu .el-submenu__title { |
| 198 | padding-left: 35px !important; | 198 | padding-left: 35px !important; |
| 199 | } | 199 | } |
| 200 | 200 | ||
| 201 | .shrinkSubmenu { | 201 | .shrinkSubmenu { |
| 202 | width: 100% !important; | 202 | width: 100% !important; |
| 203 | display: inline-flex; | 203 | display: inline-flex; |
| 204 | justify-content: center; | 204 | justify-content: center; |
| 205 | align-items: center; | 205 | align-items: center; |
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | .shrinkItem .el-tooltip { | 208 | .shrinkItem .el-tooltip { |
| 209 | width: 100%; | 209 | width: 100%; |
| 210 | display: inline-flex !important; | 210 | display: inline-flex !important; |
| 211 | align-items: center; | 211 | align-items: center; |
| 212 | justify-content: center; | 212 | justify-content: center; |
| 213 | } | 213 | } |
| 214 | 214 | ||
| 215 | .shrinkSubmenu span { | 215 | .shrinkSubmenu span { |
| 216 | height: 0; | 216 | height: 0; |
| 217 | width: 0; | 217 | width: 0; |
| 218 | overflow: hidden; | 218 | overflow: hidden; |
| 219 | visibility: hidden; | 219 | visibility: hidden; |
| 220 | display: inline-block; | 220 | display: inline-block; |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | .el-submenu .el-menu-item { | 223 | .el-submenu .el-menu-item { |
| 224 | padding-left: 38px !important; | 224 | padding-left: 38px !important; |
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | .el-icon-menu { | 227 | .el-icon-menu { |
| 228 | margin-right: 0px !important; | 228 | margin-right: 0px !important; |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | .is-active { | 231 | .is-active { |
| 232 | /*background-color: #ecf5ff; */ | 232 | /*background-color: #ecf5ff; */ |
| 233 | } | 233 | } |
| 234 | 234 | ||
| 235 | /* .secondMenuItem-image{ | 235 | /* .secondMenuItem-image{ |
| 236 | height:30px; | 236 | height:30px; |
| 237 | margin-left:5px; | 237 | margin-left:5px; |
| 238 | } */ | 238 | } */ |
| 239 | 239 | ||
| 240 | /* FIXME: */ | 240 | /* FIXME: */ |
| 241 | 241 | ||
| 242 | /*修改样式和一张蓝图的导航保持一致 2020年6月9日 15点39分 vers*/ | 242 | /*修改样式和一张蓝图的导航保持一致 2020年6月9日 15点39分 vers*/ |
| 243 | .secondMenuItem-image { | 243 | .secondMenuItem-image { |
| 244 | width: 22px; | 244 | width: 22px; |
| 245 | height: 22px; | 245 | height: 22px; |
| 246 | /* flex: 0 0 24px; */ | 246 | /* flex: 0 0 24px; */ |
| 247 | margin-right: 8px; | 247 | margin-right: 8px; |
| 248 | position: relative; | 248 | position: relative; |
| 249 | /*top: 1px;*/ | 249 | /*top: 1px;*/ |
| 250 | } | 250 | } |
| 251 | .activedImg { | 251 | |
| 252 | width: 22px; | 252 | .activedImg { |
| 253 | height: 22px; | 253 | width: 22px; |
| 254 | left: -1px; | 254 | height: 22px; |
| 255 | margin-right: 6px; | 255 | left: -1px; |
| 256 | } | 256 | margin-right: 6px; |
| 257 | .secondMenuItem-image.point-image { | 257 | } |
| 258 | width: 22px; | 258 | |
| 259 | height:22px; | 259 | .secondMenuItem-image.point-image { |
| 260 | margin-right: 8px; | 260 | width: 22px; |
| 261 | } | 261 | height: 22px; |
| 262 | 262 | margin-right: 8px; | |
| 263 | .el-submenu .el-submenu__title { | 263 | } |
| 264 | padding: 0 32px 0 21px !important; | 264 | |
| 265 | display: flex; | 265 | .el-submenu .el-submenu__title { |
| 266 | align-items: center; | 266 | padding: 0 32px 0 21px !important; |
| 267 | } | 267 | display: flex; |
| 268 | /*批后管理左侧菜单颜色色的更改*/ | 268 | align-items: center; |
| 269 | .el-submenu .el-submenu__title{ | 269 | } |
| 270 | color:#00E7FF | 270 | |
| 271 | } | 271 | /*批后管理左侧菜单颜色色的更改*/ |
| 272 | .el-submenu .el-submenu__title{ | 272 | .el-submenu .el-submenu__title { |
| 273 | /*color:#00E7FF*/ | 273 | color: #00E7FF |
| 274 | background-color:#384454 !important; | 274 | } |
| 275 | } | 275 | |
| 276 | .el-menu-vertical-demo .el-submenu .el-submenu__title .el-icon-arrow-down::before { | 276 | .el-submenu .el-submenu__title { |
| 277 | content: ''; | 277 | /*color:#00E7FF*/ |
| 278 | display: block; | 278 | background-color: #384454 !important; |
| 279 | width: 12px; | 279 | } |
| 280 | height: 13px; | 280 | |
| 281 | background: url('/frontweb/image/index/menu_sub.png') center / 6px 11px no-repeat; | 281 | .el-menu-vertical-demo .el-submenu .el-submenu__title .el-icon-arrow-down::before { |
| 282 | } | 282 | content: ''; |
| 283 | .el-menu-vertical-demo .el-submenu.is-opened .el-submenu__title .el-icon-arrow-down::before { | 283 | display: block; |
| 284 | -webkit-transform: rotate(-90deg); | 284 | width: 12px; |
| 285 | transform: rotate(-90deg); | 285 | height: 13px; |
| 286 | } | 286 | background: url('/frontweb/image/index/menu_sub.png') center / 6px 11px no-repeat; |
| 287 | .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow { | 287 | } |
| 288 | -webkit-transform: rotateZ(0); | 288 | |
| 289 | transform: rotateZ(0); | 289 | .el-menu-vertical-demo .el-submenu.is-opened .el-submenu__title .el-icon-arrow-down::before { |
| 290 | } | 290 | -webkit-transform: rotate(-90deg); |
| 291 | .el-submenu .el-menu-item { | 291 | transform: rotate(-90deg); |
| 292 | height: 44px; | 292 | } |
| 293 | line-height: 44px; | 293 | |
| 294 | } | 294 | .el-submenu.is-opened > .el-submenu__title .el-submenu__icon-arrow { |
| 295 | .user-text{ | 295 | -webkit-transform: rotateZ(0); |
| 296 | color:white; | 296 | transform: rotateZ(0); |
| 297 | cursor:pointer; | 297 | } |
| 298 | |||
| 299 | .el-submenu .el-menu-item { | ||
| 300 | height: 44px; | ||
| 301 | line-height: 44px; | ||
| 302 | } | ||
| 303 | |||
| 304 | .user-text { | ||
| 305 | color: white; | ||
| 306 | cursor: pointer; | ||
| 298 | font-size: 12px; | 307 | font-size: 12px; |
| 299 | } | 308 | } |
| 300 | </style> | 309 | </style> |
| 301 | <script type="text/javascript"> | 310 | <script type="text/javascript"> |
| 302 | function changeMenu(value) { | 311 | function changeMenu(value) { |
| 303 | $('#searchSelectValue').text(value); | 312 | $('#searchSelectValue').text(value); |
| 304 | } | 313 | } |
| 305 | </script> | 314 | </script> |
| 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" |
| 315 | <!--position: fixed;width: 100%;z-index: 10000;left: 15px; --> | 324 | style="margin-bottom: 0;left: 15px;position: fixed;width:100%;z-index: 999;min-width: 1480px;display: none"> |
| 316 | <!-- FIXME: add clearfix --> | 325 | <!--position: fixed;width: 100%;z-index: 10000;left: 15px; --> |
| 317 | <div class="headbg-logo col-xs-12 clearfix"> | 326 | <!-- FIXME: add clearfix --> |
| 318 | <div id="HEADERLOGO"></div> | 327 | <div class="headbg-logo col-xs-12 clearfix"> |
| 319 | <!-- <div class="div-head-title" id="title-logo" style="cursor:pointer"></div> --> | 328 | <div id="HEADERLOGO"></div> |
| 320 | <div class="menu" id="menuNav"></div> | 329 | <!-- <div class="div-head-title" id="title-logo" style="cursor:pointer"></div> --> |
| 321 | <!-- FIXME: display:none; --> | 330 | <div class="menu" id="menuNav"></div> |
| 322 | <div id="help" title='帮助' style="display:none;"> | 331 | <!-- FIXME: display:none; --> |
| 323 | <span class='glyphicon glyphicon-question-sign'></span> | 332 | <div id="help" title='帮助' style="display:none;"> |
| 333 | <span class='glyphicon glyphicon-question-sign'></span> | ||
| 334 | </div> | ||
| 335 | <!-- FIXME: 添加 --> | ||
| 336 | <div class="help-icon"> | ||
| 337 | <span class="user-text" id="myInfoText"></span> | ||
| 338 | <img src="image/index/userInfo_0616.png" alt="用户信息" id="myInfromationNew"> | ||
| 339 | <img src="image/index/logout_0616.png" alt="注销" onclick="logoutEvent()"> | ||
| 340 | </div> | ||
| 341 | <!-- end --> | ||
| 342 | <%-- <jsp:include page="view/index/indexSearch.jsp"></jsp:include> --%> | ||
| 343 | </div> | ||
| 344 | </div> | ||
| 345 | <!-- FIXME: => width: 186px; --> | ||
| 346 | <div id="bothleftright"> | ||
| 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); --> | ||
| 348 | <!-- 去掉box-shadow属性 2020年6月9日14点52分 vers --> | ||
| 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;"> | ||
| 352 | <!--用户信息--> | ||
| 353 | <!-- FIXME: display none --> | ||
| 354 | <div class="div-userbg div-left-contentitem" style="display: none;"> | ||
| 355 | <div style="float:right;cursor: pointer;margin-right: 22px;margin-top: 2px;" id="switchover"> | ||
| 356 | <img id="hiddnShow" src="image/index/switchover.png" style="width:18px;height:18px;"></img> | ||
| 357 | </div> | ||
| 358 | <div class="div-userphoto" id="loginusersave"> | ||
| 359 | <a id="myInfromation" href="javascript:void(0)"> | ||
| 360 | <img id="imguserphoto" class="img-userphoto"/> | ||
| 361 | </a> | ||
| 362 | </div> | ||
| 363 | <div class="div-userinfo"> | ||
| 364 | <div class="div-username" | ||
| 365 | style="width: 157px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"> | ||
| 366 | <!-- hyh 新增 行内样式 将过长名字用省略号代替 2017、9、22 --> | ||
| 367 | <!-- 邮箱参数需要 --> | ||
| 368 | <span id="username" style="font-size: 18px;font-weight: bold;">未登录</span> | ||
| 369 | <input id="userId" type="hidden"/> | ||
| 370 | <input id="email" type="hidden"/> | ||
| 371 | <input id="pwd" type="hidden"/> | ||
| 372 | </div> | ||
| 373 | <div style="margin-top: 6px;"> | ||
| 374 | <div id="status" | ||
| 375 | style="display: block;white-space: nowrap;overflow: hidden;width:157px;height: 21px;font-size:13px;text-overflow: ellipsis;"></div> | ||
| 376 | </div> | ||
| 377 | </div> | ||
| 378 | <div class="smalnotity" id="exist" onclick="logoutEvent()"> | ||
| 379 | |||
| 380 | <div class="div-userset div-userset-position" title="用户注销"> | ||
| 381 | <span class="glyphiconZX " style="color: #999999;top: 98px;">注销</span> | ||
| 382 | </div> | ||
| 383 | </div> | ||
| 384 | <div class="div-lefttitle"></div> | ||
| 385 | </div> | ||
| 386 | <div class="div-left-contentitem" id="divQuickMenu"> | ||
| 387 | <div id="divQuickMenuList" class="div-quickmenu-list"> | ||
| 388 | <div class="div-quickmenu" id="btnCustomQuickMenu"> | ||
| 389 | <div class="waves-effect"> | ||
| 390 | <img src="image/index/quickmenu/menu-blue-add.png"/> | ||
| 391 | </div> | ||
| 392 | <span>添加</span> | ||
| 393 | </div> | ||
| 394 | </div> | ||
| 395 | <div class="downloadcenter" | ||
| 396 | style="position:absolute;bottom:0px;left:0px;width:100%;height: 200px;"> | ||
| 397 | <!-- FIXME: delete width --> | ||
| 398 | <div style="height: 1px;position: relative;top: 0;background-color:#cfe1fc; margin: 0 auto;"></div> | ||
| 399 | <div style="text-align: center;position: absolute;left:20px;top:20px; float: left;font-size: 8px;color: #999999;font-weight: 500;cursor: pointer;"> | ||
| 400 | <img alt="" src="image/index/quickmenu/downloadcenter.png" onclick="opendownloadlist()" | ||
| 401 | style="width: 36px;height:36px;"> | ||
| 402 | <div>下载中心</div> | ||
| 403 | </div> | ||
| 404 | </div> | ||
| 405 | <div class="div-quickmenu-more shadow-z-1" id="divQuickMenuMore" style="display: none;"></div> | ||
| 406 | </div> | ||
| 407 | <div class="div-left-contentitem" id="divSystemNotice" style="margin-top: 20px;width: 100%;"> | ||
| 408 | <div class="div-lefttitle" style="display:none;"></div> | ||
| 409 | <div id="playBox" style="overflow-y:auto;height: 350px;margin-top: 15px;display:none;"> | ||
| 410 | <span id="tadymeaum">系统短讯</span> | ||
| 411 | <!-- <div class="div-index-more" id="btn-notice-more"> | ||
| 412 | <img id="btnUp" alt="" src="image/index/backend.png"> | ||
| 413 | <img id="btnNext" style="margin-left: 10px" alt="" src="image/index/next.png"> | ||
| 414 | </div> --> | ||
| 415 | <div id="SystemSmsDetail"> | ||
| 416 | <div class="div-radius-detail"> | ||
| 417 | <label>西安市人民政府关于印发《西安市城镇生活污水处理厂污泥处理处置暂行管理办法》的通知</label> | ||
| 418 | <label class="div-radius-detail-time">2分钟前</label> | ||
| 419 | </div> | ||
| 420 | </div> | ||
| 421 | </div> | ||
| 422 | <div class="div-systemnotice-switch" style="display: none;"> | ||
| 423 | <ul id="divSystemNoticeSwitch"></ul> | ||
| 324 | </div> | 424 | </div> |
| 325 | <!-- FIXME: 添加 --> | 425 | <input id="GetSystemNoticeCount" hidden="hidden"/> |
| 326 | <div class="help-icon"> | 426 | <div style="clear: both;"></div> |
| 327 | <span class="user-text" id="myInfoText" ></span> | 427 | </div> |
| 328 | <img src="image/index/userInfo_0616.png" alt="用户信息" id="myInfromationNew"> | 428 | <div> |
| 329 | <img src="image/index/logout_0616.png" alt="注销" onclick="logoutEvent()"> | 429 | <el-menu :default-active="activeIndex" class="el-menu-vertical-demo" @open="handleOpen" |
| 330 | </div> | 430 | @close="handleClose" @select="handleSelect" |
| 331 | <!-- end --> | 431 | :unique-opened="false" :collapse="isCollapse" :default-openeds="defaultOpeneds"> |
| 332 | <%-- <jsp:include page="view/index/indexSearch.jsp"></jsp:include> --%> | 432 | <div v-for="(item,itemIndex) in menuList" :key="itemIndex"> |
| 333 | </div> | 433 | <el-submenu :index="item.id" :class="{shrinkSubmenu:isCollapse}" v-if="item.children" |
| 334 | </div> | 434 | :key="item.id"> |
| 335 | <!-- FIXME: => width: 186px; --> | 435 | <template slot="title"> |
| 336 | <div id="bothleftright"> | 436 | <img :src="item.iconCls" class="secondMenuItem-image"> |
| 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); --> | 437 | <!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> --> |
| 338 | <!-- 去掉box-shadow属性 2020年6月9日14点52分 vers --> | 438 | <!-- FIXME: --> |
| 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;"> | 439 | <span slot="title" :title="item.alias" |
| 340 | <!--用户信息--> | 440 | style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span> |
| 341 | <!-- FIXME: display none --> | 441 | </template> |
| 342 | <div class="div-userbg div-left-contentitem" style="display: none;"> | 442 | <el-menu-item :title="subItem.alias" :index="subItem.id" |
| 343 | <div style="float:right;cursor: pointer;margin-right: 22px;margin-top: 2px;" id="switchover"> | 443 | v-for="(subItem,subItemIndex) in item.children" :key="subItem.id" |
| 344 | <img id="hiddnShow" src="image/index/switchover.png" style="width:18px;height:18px;"></img> | 444 | style="min-width: auto;padding-right: 0;width: 186px;overflow: hidden;"> |
| 345 | </div> | 445 | <img :src="subItem.iconCls" class="secondMenuItem-image point-image"> |
| 346 | <div class="div-userphoto" id="loginusersave"> | 446 | {{subItem.alias}} |
| 347 | <a id="myInfromation" href="javascript:void(0)"> | 447 | </el-menu-item> |
| 348 | <img id="imguserphoto" class="img-userphoto" /> | 448 | </el-submenu> |
| 349 | </a> | 449 | <el-menu-item :index="item.id" :class="{shrinkItem:isCollapse}" v-if="!item.children" |
| 350 | </div> | 450 | :key="item.id" |
| 351 | <div class="div-userinfo"> | 451 | style="padding: 0 22px 0 26px;display: flex;align-items: center;"> |
| 352 | <div class="div-username" style="width: 157px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"> | 452 | <img :src="item.iconCls" class="secondMenuItem-image" |
| 353 | <!-- hyh 新增 行内样式 将过长名字用省略号代替 2017、9、22 --> | 453 | v-show="activeIndex!==item.id"> |
| 354 | <!-- 邮箱参数需要 --> | 454 | <img :src="item.iconActive" class="secondMenuItem-image activedImg" |
| 355 | <span id="username" style="font-size: 18px;font-weight: bold;">未登录</span> | 455 | v-show="activeIndex===item.id"> |
| 356 | <input id="userId" type="hidden" /> | 456 | <!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> --> |
| 357 | <input id="email" type="hidden" /> | 457 | <!-- FIXME: --> |
| 358 | <input id="pwd" type="hidden" /> | 458 | <span slot="title" :title="item.alias" |
| 359 | </div> | 459 | style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span> |
| 360 | <div style="margin-top: 6px;"> | 460 | </el-menu-item> |
| 361 | <div id="status" style="display: block;white-space: nowrap;overflow: hidden;width:157px;height: 21px;font-size:13px;text-overflow: ellipsis;"></div> | 461 | </div> |
| 362 | </div> | 462 | <div style="height: 190px"></div> |
| 363 | </div> | 463 | </el-menu> |
| 364 | <div class="smalnotity" id="exist" onclick="logoutEvent()"> | 464 | </div> |
| 365 | 465 | </div> | |
| 366 | <div class="div-userset div-userset-position" title="用户注销"> | 466 | </div> |
| 367 | <span class="glyphiconZX " style="color: #999999;top: 98px;">注销</span> | 467 | <!-- FIXME: left: 160px; => left: 186px; ;right: 24px;bottom: 16px; --> |
| 368 | </div> | 468 | <!--TODO:小希 去掉头部菜单height:54px改为height:0px--> |
| 369 | </div> | 469 | <div class="row" id="divContentRight" |
| 370 | <div class="div-lefttitle"></div> | 470 | style="float: left; box-sizing: border-box;display:inline-block;position: fixed;top: 0px;left: 201px;right: 15px;bottom: 0px;background: #fff;"> |
| 371 | </div> | 471 | <div id="divFrame"> |
| 372 | <div class="div-left-contentitem" id="divQuickMenu"> | 472 | <%--<div class="the_mask" style="height: 100%;position: absolute;width: 100%;background: black;opacity: 0.8;z-index: 5">这个是图层蒙版</div>--%> |
| 373 | <div id="divQuickMenuList" class="div-quickmenu-list"> | 473 | <iframe id="iframecontent" name="syiframe" frameborder="0" scrolling="no" class="tabindex-0" |
| 374 | <div class="div-quickmenu" id="btnCustomQuickMenu"> | 474 | marginwidth="0" style="height: 100%;width: 100%; display:inline-block;"></iframe> |
| 375 | <div class="waves-effect"> | 475 | </div> |
| 376 | <img src="image/index/quickmenu/menu-blue-add.png" /> | 476 | </div> |
| 377 | </div> | 477 | |
| 378 | <span>添加</span> | 478 | </div> |
| 379 | </div> | 479 | </div> |
| 380 | </div> | 480 | </div> |
| 381 | <div class="downloadcenter" style="position:absolute;bottom:0px;left:0px;width:100%;height: 200px;"> | 481 | <script type="text/javascript" src="js/index/index.js"></script> |
| 382 | <!-- FIXME: delete width --> | ||
| 383 | <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;"> | ||
| 385 | <img alt="" src="image/index/quickmenu/downloadcenter.png" onclick="opendownloadlist()" style="width: 36px;height:36px;"> | ||
| 386 | <div>下载中心</div> | ||
| 387 | </div> | ||
| 388 | </div> | ||
| 389 | <div class="div-quickmenu-more shadow-z-1" id="divQuickMenuMore" style="display: none;"></div> | ||
| 390 | </div> | ||
| 391 | <div class="div-left-contentitem" id="divSystemNotice" style="margin-top: 20px;width: 100%;"> | ||
| 392 | <div class="div-lefttitle" style="display:none;"></div> | ||
| 393 | <div id="playBox" style="overflow-y:auto;height: 350px;margin-top: 15px;display:none;"> | ||
| 394 | <span id="tadymeaum">系统短讯</span> | ||
| 395 | <!-- <div class="div-index-more" id="btn-notice-more"> | ||
| 396 | <img id="btnUp" alt="" src="image/index/backend.png"> | ||
| 397 | <img id="btnNext" style="margin-left: 10px" alt="" src="image/index/next.png"> | ||
| 398 | </div> --> | ||
| 399 | <div id="SystemSmsDetail"> | ||
| 400 | <div class="div-radius-detail"> | ||
| 401 | <label>西安市人民政府关于印发《西安市城镇生活污水处理厂污泥处理处置暂行管理办法》的通知</label> | ||
| 402 | <label class="div-radius-detail-time">2分钟前</label> | ||
| 403 | </div> | ||
| 404 | </div> | ||
| 405 | </div> | ||
| 406 | <div class="div-systemnotice-switch" style="display: none;"> | ||
| 407 | <ul id="divSystemNoticeSwitch"></ul> | ||
| 408 | </div> | ||
| 409 | <input id="GetSystemNoticeCount" hidden="hidden" /> | ||
| 410 | <div style="clear: both;"></div> | ||
| 411 | </div> | ||
| 412 | <div> | ||
| 413 | <el-menu :default-active="activeIndex" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" @select="handleSelect" | ||
| 414 | :unique-opened="false" :collapse="isCollapse" :default-openeds="defaultOpeneds"> | ||
| 415 | <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"> | ||
| 417 | <template slot="title"> | ||
| 418 | <img :src="item.iconCls" class="secondMenuItem-image"> | ||
| 419 | <!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> --> | ||
| 420 | <!-- FIXME: --> | ||
| 421 | <span slot="title" :title="item.alias" style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span> | ||
| 422 | </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;"> | ||
| 424 | <img :src="subItem.iconCls" class="secondMenuItem-image point-image"> {{subItem.alias}} | ||
| 425 | </el-menu-item> | ||
| 426 | </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;"> | ||
| 428 | <img :src="item.iconCls" class="secondMenuItem-image" v-show="activeIndex!==item.id"> | ||
| 429 | <img :src="item.iconActive" class="secondMenuItem-image activedImg" v-show="activeIndex===item.id"> | ||
| 430 | <!-- <span slot="title" style="padding: 5px;">{{item.alias}}</span> --> | ||
| 431 | <!-- FIXME: --> | ||
| 432 | <span slot="title" :title="item.alias" style="overflow: hidden;flex: 1; text-overflow: clip;">{{item.alias}}</span> | ||
| 433 | </el-menu-item> | ||
| 434 | </div> | ||
| 435 | <div style="height: 190px"></div> | ||
| 436 | </el-menu> | ||
| 437 | </div> | ||
| 438 | </div> | ||
| 439 | </div> | ||
| 440 | <!-- FIXME: left: 160px; => left: 186px; ;right: 24px;bottom: 16px; --> | ||
| 441 | |||
| 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;"> | ||
| 443 | <div id="divFrame"> | ||
| 444 | <%--<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> | ||
| 446 | </div> | ||
| 447 | </div> | ||
| 448 | |||
| 449 | </div> | ||
| 450 | </div> | ||
| 451 | </div> | ||
| 452 | <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 } | ... | ... |
-
Please register or sign in to post a comment