1
0

index.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  5. <!-- 避免IE使用兼容模式 -->
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
  7. <meta name="renderer" content="webkit">
  8. <title id="browserTitle">JWMS-Operation management system</title>
  9. <!-- 浏览器标签图片 -->
  10. <link rel="shortcut icon" href="./topjui/image/favicon.ico"/>
  11. <!-- TopJUI框架样式 -->
  12. <!-- <link type="text/css" href="./topjui/css/topjui.core.min.css" rel="stylesheet"> -->
  13. <link type="text/css" href="/ui/topjui/css/topjui.core.css?v=8" rel="stylesheet">
  14. <!-- <link type="text/css" href="./topjui/themes/default/topjui.green.css" rel="stylesheet" id="dynamicTheme"/> -->
  15. <link type="text/css" href="./topjui/themes/default/topjui.green.css" rel="stylesheet" id="dynamicTheme"/>
  16. <!-- <link type="text/css" href="./topjui/themes/default/topjui.red.css" rel="stylesheet" id="dynamicTheme"/> -->
  17. <link type="text/css" href="/ui/static/plugins/bootstrap/css/bootstrap-theme.css" rel="stylesheet">
  18. <!-- FontAwesome字体图标 -->
  19. <link type="text/css" href="./static/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
  20. <!-- jQuery相关引用 -->
  21. <script type="text/javascript" src="./static/plugins/jquery/jquery.min.js"></script>
  22. <script type="text/javascript" src="./static/plugins/jquery/jquery.cookie.js"></script>
  23. <!-- TopJUI框架配置 -->
  24. <script type="text/javascript" src="./static/public/js/topjui.config.js?v=1"></script>
  25. <!-- TopJUI框架核心 -->
  26. <!-- <script type="text/javascript" src="./topjui/js/topjui.core.min.js"></script> -->
  27. <script type="text/javascript" src="./topjui/js/topjui.core.js"></script>
  28. <!-- TopJUI中文支持 -->
  29. <script type="text/javascript" src="./topjui/js/locale/topjui.lang.zh_CN.js"></script>
  30. <!-- 首页js -->
  31. <script type="text/javascript" src="./static/public/js/topjui.index.js?v=7" charset="utf-8"></script>
  32. </head>
  33. <body>
  34. <div id="loading" class="loading-wrap">
  35. <div class="loading-content">
  36. <div class="loading-round"></div>
  37. <div class="loading-dot"></div>
  38. </div>
  39. </div>
  40. <div id="mm" class="submenubutton" style="width: 140px;">
  41. <div id="mm-tabclose" name="6" iconCls="fa fa-refresh">刷新</div>
  42. <div class="menu-sep"></div>
  43. <div id="Div1" name="1" iconCls="fa fa-close">关闭</div>
  44. <div id="mm-tabcloseother" name="3">关闭其他</div>
  45. <div id="mm-tabcloseall" name="2">关闭全部</div>
  46. <div class="menu-sep"></div>
  47. <div id="mm-tabcloseright" name="4">关闭右侧标签</div>
  48. <div id="mm-tabcloseleft" name="5">关闭左侧标签</div>
  49. </div>
  50. <style type="text/css">
  51. /* right */
  52. .top_right {
  53. /*width: 748px;*/
  54. }
  55. /* top_link */
  56. .top_link {padding-top: 24px;height: 26px;line-height: 26px;padding-right: 35px;text-align: right;}
  57. .top_link i {color: #686868;}
  58. .top_link span, .top_link a {color: #46AAFE;}
  59. .top_link a {font-size: 13px;}
  60. .top_link a:hover {text-decoration: underline;}
  61. .nav_bar {position: relative;z-index: 999;color: #333;margin-right: 10px;height: 50px;line-height: 50px;}
  62. .nav_bar ul {padding: 0;}
  63. .nav {position: relative;margin: 0 auto;font-family: "Microsoft YaHei", SimSun, SimHei;font-size: 14px;}
  64. .nav a {color: #333;}
  65. .nav h3 {font-size: 100%;font-weight: normal;height: 50px;line-height: 50px;}
  66. .nav h3 a {display: block;padding: 0 20px;text-align: center;font-size: 14px;color: #fff;height: 50px;line-height: 50px;}
  67. .nav .m {float: left;position: relative;z-index: 1;height: 50px;line-height: 50px;list-style: none;}
  68. .nav .s {float: left;width: 3px;text-align: center;color: #D4D4D4;font-size: 12px;height: 50px;line-height: 50px;list-style: none;}
  69. .nav .sub, ul.sub {display: none;position: absolute;left: -3px;top: 42px;z-index: 999;width: 128px;border: 1px solid #E6E4E3;border-top: 0;background: #fff;}
  70. .nav .sub li {text-align: center;padding: 0 8px;margin-bottom: -1px;list-style: none;}
  71. .nav .sub li a {display: block;border-bottom: 1px solid #E6E4E3;padding: 8px 0;height: 28px;line-height: 28px;color: #666;}
  72. .nav .sub li a:hover {color: #1E95FB;cursor: pointer;}
  73. .nav .block {height: 3px;background: #1E95FB;position: absolute;left: 0;top: 47px;overflow: hidden;}
  74. .sub {padding: 0;background: #f5f5f5;}
  75. .sub li {padding: 0 8px;list-style: none;}
  76. .sub li:hover {background: #f3f3f3;}
  77. .sub li a {display: block;color: #000;height: 34px;line-height: 34px;}
  78. .sub li a:hover {text-decoration-line: none;}
  79. /* 重用类样式 */
  80. .f_l {float: left !important;}
  81. .f_r {float: right !important;}
  82. .no_margin {margin: 0px !important;}
  83. .no_border {border: 0px !important;}
  84. .no_bg {background: none !important;}
  85. .clear_both {clear: both !important;}
  86. .display_block {display: block !important;}
  87. .text_over {overflow: hidden;white-space: nowrap;text-overflow: ellipsis;-o-text-overflow: ellipsis;-moz-binding: url('ellipsis.xml#ellipsis');}
  88. /* 重用自定义样式 */
  89. .w_100 {width: 100%;}
  90. .w_95 {width: 95%;}
  91. .indextx {width: 980px;margin: 0 auto;margin-top: 10px;background: #FFFFFF;}
  92. .w_min_width {min-width: 1200px;}
  93. .w_1200 {width: 1200px;}
  94. .w_1067 {width: 1067px;}
  95. .w_980 {width: 980px;}
  96. .header {overflow: hidden}
  97. </style>
  98. <script>
  99. $(function () {
  100. $('#ulMenu>li').hover(
  101. function () {
  102. var m = $(this).data('menu');
  103. if (!m) {
  104. m = $(this).find('ul').clone();
  105. m.appendTo(document.body);
  106. $(this).data('menu', m);
  107. var of = $(this).offset();
  108. m.css({left: of.left, top: of.top + this.offsetHeight});
  109. m.hover(function () {
  110. clearTimeout(m.timer);
  111. }, function () {
  112. m.hide()
  113. });
  114. }
  115. m.show();
  116. }, function () {
  117. var m = $(this).data('menu');
  118. if (m) {
  119. m.timer = setTimeout(function () {
  120. m.hide();
  121. }, 100);//延时隐藏,时间自定义,100ms
  122. }
  123. }
  124. );
  125. });
  126. </script>
  127. <div data-toggle="topjui-layout" data-options="id:'index_layout',fit:true">
  128. <!-- 顶部菜单 -->
  129. <div id="north" class="banner" data-options="region:'north',border:false,split:false" style="height: 50px; padding:0;margin:0; overflow: hidden;">
  130. <!-- 顶部菜单左侧 -->
  131. <table style="float:left;border-spacing:0px;">
  132. <tr>
  133. <td class="webname" style="padding-left: 0px;width:200px;">
  134. <div style="height: 50px;width:200px;overflow: hidden;" id="logoDiv">
  135. <img id="logoImgUrl" src="/ui/static/images/jwms_logo.png" style="height: 50px;width:200px;">
  136. </div>
  137. </td>
  138. <td class="collapseMenu" style="text-align: center;cursor: pointer;">
  139. <span class="fa fa-chevron-circle-left" style="font-size: 18px;"></span>
  140. </td>
  141. <td>
  142. <table id="topmenucontent" cellpadding="0" cellspacing="0">
  143. <td id="2" title="基础资料,基础配置,作业规则,货主,仓库资料" class="topmenu systemName">
  144. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  145. <p>
  146. <lable class="fa fa-list"></lable>
  147. </p>
  148. <p><span style="white-space:nowrap;">基础中心</span></p>
  149. </a>
  150. </td>
  151. <td id="3" title="入库单据,收货,上架操作" class="topmenu systemName">
  152. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  153. <p>
  154. <lable class="fa fa-truck"></lable>
  155. </p>
  156. <p><span style="white-space:nowrap;">入库管理</span></p>
  157. </a>
  158. </td>
  159. <td id="4" title="库存单据,库存盘点,移库,货权转让" class="topmenu systemName">
  160. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  161. <p>
  162. <lable class="fa fa-cubes"></lable>
  163. </p>
  164. <p><span style="white-space:nowrap;">库存管理</span></p>
  165. </a>
  166. </td>
  167. <td id="5" title="出库单据,波次,下架,称重装箱,建包,总运单,退货单等" class="topmenu systemName">
  168. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  169. <p>
  170. <lable class="fa fa-plane"></lable>
  171. </p>
  172. <p><span style="white-space:nowrap;">出库管理</span></p>
  173. </a>
  174. </td>
  175. <td id="7" title="托盘整进整出模块" class="topmenu systemName">
  176. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  177. <p>
  178. <lable class="fa fa-th-list"></lable>
  179. </p>
  180. <p><span style="white-space:nowrap;">托盘管理</span></p>
  181. </a>
  182. </td>
  183. <td id="6" title="营销报表,绩效报表" class="topmenu systemName">
  184. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  185. <p>
  186. <lable class="fa fa-line-chart"></lable>
  187. </p>
  188. <p><span style="white-space:nowrap;">报表中心</span></p>
  189. </a>
  190. </td>
  191. <td id="9" title="财务管理:客户收付款管理,客户余额管理,归档管理" class="topmenu systemName">
  192. <a class="l-btn-text bannerMenu" href="javascript:void(0)">
  193. <p>
  194. <lable class="fa fa-rmb"></lable>
  195. </p>
  196. <p><span style="white-space:nowrap;">财务管理</span></p>
  197. </a>
  198. </td>
  199. <!-- <td id="1" title="系统用户,权限管理" class="topmenu systemName"> -->
  200. <!-- <a class="l-btn-text bannerMenu" href="javascript:void(0)"> -->
  201. <!-- <p> -->
  202. <!-- <lable class="fa fa-cog"></lable> -->
  203. <!-- </p> -->
  204. <!-- <p><span style="white-space:nowrap;">系统管理</span></p> -->
  205. <!-- </a> -->
  206. <!-- </td> -->
  207. </table>
  208. </td>
  209. </tr>
  210. </table>
  211. <!-- 顶部菜单右侧 -->
  212. <div class="top_right f_r">
  213. <!-- menu -->
  214. <div class="nav_bar">
  215. <ul class="nav clearfix" id="ulMenu">
  216. <!--
  217. <li class="m">
  218. <h3>
  219. <a class="l-btn-text bannerbtn" href="javascript:void(0)"><i class="fa fa-cog"></i></a>
  220. </h3>
  221. <ul class="sub">
  222. <li><a class="fa fa-info-circle" href="" target="_blank">关于系统</a></li>
  223. <li><a class="fa fa-user" href="" target="_blank">系统设置</a></li>
  224. </ul>
  225. </li>
  226. <li class="s">|</li>
  227. -->
  228. <li class="m">
  229. <h3>
  230. <input id="CURRENT_WAREHOUSE_CODE" type="text" style="display: none;">
  231. <a id="CURRENT_WAREHOUSE_NAME" class="l-btn-text bannerbtn" href="javascript:void(0)">当前仓库</a>
  232. </h3>
  233. </li>
  234. <li class="s">|</li>
  235. <!--
  236. <li class="m">
  237. <h3>
  238. <a title="切换主题" id="setThemes" class="l-btn-text bannerbtn" href="javascript:void(0)"><i class="fa fa-tree"></i></a>
  239. </h3>
  240. </li>
  241. <li class="s">|</li>
  242. -->
  243. <li class="m">
  244. <h3>
  245. <a id="showUserInfo" style="display:inline-block;" class="fa bannerbtn"href="javascript:void(0)">
  246. <img src="./topjui/image/avatar.jpg" class="user-image" alt="User Image">
  247. <span class="user-name" id="CURRENT_USER_CODE">hello</span>
  248. </a>
  249. </h3>
  250. <ul class="sub">
  251. <li><a class="fa fa-info-circle" href="javascript:personal(0)">个人信息</a></li>
  252. <li><a class="fa fa-key" href="javascript:modifyPwd(0)">修改密码</a></li>
  253. <li><a class="fa fa-power-off" href="javascript:logout()"> 退出系统</a></li>
  254. </ul>
  255. </li>
  256. <li class="block"></li><!-- 滑动块 -->
  257. </ul>
  258. </div>
  259. <!-- menu | end -->
  260. </div>
  261. </div>
  262. <!-- 顶部菜单结束 -->
  263. <!-- 左侧菜单开始 -->
  264. <div id="west" data-options="region:'west',split:true,width:200,border:false,headerCls:'border_right',bodyCls:'border_right'" title="" iconCls="fa fa-dashboard">
  265. <div id="RightAccordion"></div>
  266. <div id="menuTab" class="easyui-tabs" data-options="fit:true,border:false">
  267. <div title="导航菜单" data-options="iconCls:'fa fa-sitemap'" style="padding:0;">
  268. <div id="RightAccordion" class="easyui-accordion"></div>
  269. </div>
  270. <div title="常用链接" data-options="iconCls:'fa fa-star',closable:true">
  271. <ul id="channgyongLink">
  272. </ul>
  273. </div>
  274. </div>
  275. </div>
  276. <!-- 左侧菜单结束-->
  277. <!-- 中间内容体 -->
  278. <div id="center" data-options="region:'center',border:false" style="overflow-x:hidden;overflow-y:hidden;">
  279. <!-- 默认打开的首页 -->
  280. <div id="index_tabs" style="width:100%;height:100%">
  281. <div title="系统首页"
  282. iconCls="fa fa-home"
  283. data-options="border:true,content:'<iframe src=\'./views/index/index.html\' scrolling=\'auto\' frameborder=\'0\' style=\'width:100%;height:100%;\'></iframe>'">
  284. </div>
  285. </div>
  286. </div>
  287. <!-- 底部 -->
  288. <div data-options="region:'south',border:true" style="text-align:center;height:30px;line-height:30px;border-bottom:0;overflow:hidden;">
  289. <input type="hidden" id="userNameId" name="userNameId" value="${userNameId}"/>
  290. <span style="float:left;padding-left:5px;width:15%;text-align: left;">
  291. 当前用户:<span id="CURRENT_USER_NAME"></span>
  292. </span>
  293. <span style="float:left;padding-right:5px;width:20%;text-align: right;" id="currentDate"></span>
  294. <span style="padding-right:5px;width:40%" id="bottomText">
  295. 版权所有 © 2017-2118<a href="#" target="_blank">JWMS</a>
  296. </span>
  297. <span style="float:right;padding-right:5px;width:25%;text-align: right;"></span>
  298. </div>
  299. </div>
  300. <!--[if lte IE 8]>
  301. <div id="ie6-warning">
  302. <p>您正在使用低版本浏览器,在本页面可能会导致部分功能无法使用,建议您升级到
  303. <a href="http://www.microsoft.com/china/windows/internet-explorer/" target="_blank">IE9或以上版本的浏览器</a>
  304. 或使用<a href="http://se.360.cn/" target="_blank">360安全浏览器</a>的极速模式浏览
  305. </p>
  306. </div>
  307. <![endif]-->
  308. <!-- 风格设置 -->
  309. <div id="themeStyle" data-options="iconCls:'fa fa-tree'" style="width:600px;height:340px">
  310. <table style="width:100%; padding:20px; line-height:30px;text-align:center;">
  311. <tr>
  312. <td>
  313. <div class="skin-common skin-black"></div>
  314. <input type="radio" name="themes" value="black" class="topjuiTheme"/>
  315. </td>
  316. <td>
  317. <div class="skin-common skin-red"></div>
  318. <input type="radio" name="themes" value="red" class="topjuiTheme"/>
  319. </td>
  320. <td>
  321. <div class="skin-common skin-green"></div>
  322. <input type="radio" name="themes" value="green" class="topjuiTheme"/>
  323. </td>
  324. <td>
  325. <div class="skin-common skin-purple"></div>
  326. <input type="radio" name="themes" value="purple" class="topjuiTheme"/>
  327. </td>
  328. <td>
  329. <div class="skin-common skin-blue"></div>
  330. <input type="radio" name="themes" value="blue" class="topjuiTheme"/>
  331. </td>
  332. <td>
  333. <div class="skin-common skin-yellow"></div>
  334. <input type="radio" name="themes" value="yellow" class="topjuiTheme"/>
  335. </td>
  336. </tr>
  337. <tr>
  338. <td>
  339. <div class="skin-common skin-blacklight"></div>
  340. <input type="radio" name="themes" value="blacklight" class="topjuiTheme"/>
  341. </td>
  342. <td>
  343. <div class="skin-common skin-redlight"></div>
  344. <input type="radio" name="themes" value="redlight" class="topjuiTheme"/>
  345. </td>
  346. <td>
  347. <div class="skin-common skin-greenlight"></div>
  348. <input type="radio" name="themes" value="greenlight" class="topjuiTheme"/>
  349. </td>
  350. <td>
  351. <div class="skin-common skin-purplelight"></div>
  352. <input type="radio" name="themes" value="purplelight" class="topjuiTheme"/>
  353. </td>
  354. <td>
  355. <div class="skin-common skin-bluelight"></div>
  356. <input type="radio" name="themes" value="bluelight" class="topjuiTheme"/>
  357. </td>
  358. <td>
  359. <div class="skin-common skin-yellowlight"></div>
  360. <input type="radio" name="themes" value="yellowlight" class="topjuiTheme"/>
  361. </td>
  362. </tr>
  363. </table>
  364. <table style="width: 100%; padding: 20px; line-height: 30px; text-align: center;">
  365. <tr>
  366. <td>
  367. <input type="radio" name="menustyle" value="accordion" checked="checked"/>手风琴
  368. <td>
  369. <input type="radio" name="menustyle" value="tree"/>树形
  370. </td>
  371. <td>
  372. <input type="checkbox" checked="checked" name="topmenu" value="topmenu"/>开启顶部菜单
  373. </td>
  374. </tr>
  375. </table>
  376. </div>
  377. <form id="personalDialog"></form>
  378. <form id="pwdDialog"></form>
  379. </body>
  380. <script type="text/javascript">
  381. $(function () {
  382. setWebsiteConfig();
  383. writeCurrentDate();
  384. });
  385. function setWebsiteConfig(){
  386. $.post('/base/websiteConfig/get',function (result) {
  387. if(result.code == 0){
  388. var config = result.data;
  389. var loginTitle = config.loginTitle;
  390. var browserTitle = config.browserTitle + " - 作业系统";
  391. var logoImgUrl = config.logoImgUrl;
  392. var bottomText = config.bottomText;
  393. var remark = config.remark;
  394. //登录页标题
  395. if(loginTitle!=null && loginTitle!=''){
  396. $("#loginTitle").text(loginTitle);
  397. }
  398. //浏览器标题
  399. if(browserTitle!=null && browserTitle!=''){
  400. $("#browserTitle").text(browserTitle);
  401. }
  402. //底部声明
  403. if(bottomText !=null && bottomText!=''){
  404. $("#bottomText").text(bottomText);
  405. }
  406. //logo
  407. if(logoImgUrl !=null && logoImgUrl !=''){
  408. $("#logoImgUrl").attr('src',logoImgUrl);
  409. }
  410. }
  411. },'json');
  412. }
  413. function writeCurrentDate() {
  414. var now = new Date();
  415. var year = now.getFullYear(); //得到年份
  416. var month = now.getMonth();//得到月份
  417. var date = now.getDate();//得到日期
  418. var day = now.getDay();//得到周几
  419. var hour = now.getHours();//得到小时
  420. var minu = now.getMinutes();//得到分钟
  421. var sec = now.getSeconds();//得到秒
  422. var MS = now.getMilliseconds();//获取毫秒
  423. var week;
  424. month = month + 1;
  425. if (month < 10) month = "0" + month;
  426. if (date < 10) date = "0" + date;
  427. if (hour < 10) hour = "0" + hour;
  428. if (minu < 10) minu = "0" + minu;
  429. if (sec < 10) sec = "0" + sec;
  430. if (MS < 100) MS = "0" + MS;
  431. var arr_week = new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六");
  432. week = arr_week[day];
  433. var time = "";
  434. time = year + "年" + month + "月" + date + "日" + " " + hour + ":" + minu + ":" + sec + " " + week;
  435. //当前日期赋值给当前日期输入框中(jQuery easyUI)
  436. $("#currentDate").html(time);
  437. //设置得到当前日期的函数的执行间隔时间,每1000毫秒刷新一次。
  438. var timer = setTimeout("writeCurrentDate()", 1000);
  439. }
  440. </script>
  441. </html>