modifybgman.jsp 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ page import="com.runzhixing.constant.Constant"%>
  3. <%@ page import="com.runzhixing.bean.User"%>
  4. <%@ page import="com.runzhixing.bean.Announcement"%>
  5. <%@ page import="java.util.List"%>
  6. <%@ page import="com.runzhixing.packageProcedure.InformationAnnouncementProcedure"%>
  7. <%@ page import="com.runzhixing.filter.MyFilter"%>
  8. <%
  9. String path = request.getContextPath();
  10. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  11. String username = (String)session.getAttribute("username");
  12. String place = (String) session.getAttribute("place");
  13. if(place!=null&&!place.trim().equals("")){
  14. String end = place.substring(place.length()-1,place.length());
  15. if(end.equals("市")||end.equals("县")) place= place.substring(0,place.length()-1);
  16. }
  17. User uu = (User)session.getAttribute(Constant.userMark);
  18. String s = uu.getPrivilegeCode();
  19. if(s.length()>6) {
  20. s = s.substring(0, 6);
  21. }
  22. s = s.replaceAll("(00)*$", "");//// 一直过滤到最高行政地域(删去尾部的 00 )
  23. List<Announcement> list = new InformationAnnouncementProcedure().areatedmachinerunningstate1(5000, 1, -1, s, s, null, null, null, 0);
  24. int id=-1;
  25. String title="";
  26. String anTime="";
  27. if(list.size()>0){
  28. for(Announcement an:list){
  29. if(an.getId()>id){
  30. id=an.getId();
  31. title = an.getTitle();
  32. anTime = an.getPublishTime1();
  33. }
  34. }
  35. }
  36. //查询各部门有效期
  37. List<Announcement> list1 = new ArrayList<Announcement>();
  38. String PrivilegeCode = (String)request.getSession().getAttribute("PrivilegeCode");
  39. if(PrivilegeCode!=null&&!PrivilegeCode.trim().equals("")){
  40. if(PrivilegeCode.length()>=4&&PrivilegeCode.substring(0,4).equals("1502")){//包头市
  41. list1 = new InformationAnnouncementProcedure()
  42. .checkValidity((String)request.getSession().getAttribute("PrivilegeCode"),(String)request.getSession().getAttribute("sOperatorNo"),s,Integer.parseInt((String)session.getAttribute(Constant.moudel)));
  43. }
  44. }
  45. String validity="";
  46. if (list1.size() > 0) {
  47. Announcement an = new Announcement();
  48. an=list1.get(0);
  49. if(an.getL()>0){
  50. validity+="<span style='color: yellow;'>证书快过期!";
  51. }else{
  52. validity+="<span style='color: red;'>证书已过期!";
  53. }
  54. validity+= "<br/>站点编号:"+an.getStationNo()+" <br/>站点名:"+an.getStationName()+" <br/>有效期:"+an.getValidity()+" <br/>联系人:"+an.getManager()+" <br/>电话:"+an.getPhone();
  55. validity+="</span>";
  56. }
  57. if (list1.size() > 1) {
  58. validity+="<br/><a href='CheckValidity' target='_blank'>还有"+(list1.size()-1)+"条过期信息,点击查询&gt;&gt;</a>";
  59. }
  60. %>
  61. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html xmlns="http://www.w3.org/1999/xhtml">
  62. <html xmlns="http://www.w3.org/1999/xhtml">
  63. <head id="Head1">
  64. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  65. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  66. <meta http-equiv="X-UA-Compatible" content="IE=10"/>
  67. <title><%=MyFilter.man_prefix %></title>
  68. <link href="css/default.css" rel="stylesheet" type="text/css" />
  69. <link rel="stylesheet" type="text/css" href="css/easyui/themes/default/easyui.css">
  70. <link rel="stylesheet" type="text/css" href="css/easyui/themes/icon.css">
  71. <link rel="stylesheet" type="text/css" href="css/easyui/demo/demo.css">
  72. <script type="text/javascript" src="css/easyui/jquery.min.js"></script>
  73. <script type="text/javascript" src="css/easyui/jquery.easyui.min.js"></script>
  74. <script type="text/javascript" src="js/easyui/XiuCai.index.js"> </script>
  75. <style type="text/css">
  76. .hzb a:HOVER{
  77. color: red;
  78. text-decoration: underline;
  79. }
  80. .hzb a{
  81. color: #f08300;
  82. text-decoration: underline;
  83. }
  84. </style>
  85. <script type="text/javascript">
  86. var info_publish = '<%=MyFilter.info_publish %>';
  87. $(document).ready(function(){
  88. var newAnnTitle = document.getElementById("newAnnTitle").value;
  89. var newAnnID = document.getElementById("newAnnID").value;
  90. var newAnnTIME = document.getElementById("newAnnTIME").value;
  91. if(info_publish=="0"){}else{
  92. if(!newAnnID){
  93. show1("暂时没有公告!");
  94. }else{
  95. if(newAnnID=="-1"){
  96. show1("暂时没有公告!");
  97. }else{
  98. if(!newAnnTitle){
  99. show1("有新公告,标题:"+'<span class="hzb"><a href="Detailbyid?hiddenID='+newAnnID+'" target="_blank">'+无标题+'('+newAnnTIME+')'+'</span></a>');
  100. }else{
  101. show1("有新公告,标题:"+'<span class="hzb"><a href="Detailbyid?hiddenID='+newAnnID+'" target="_blank">'+newAnnTitle+'('+newAnnTIME+')'+'</span></a>');
  102. }
  103. }
  104. }
  105. }
  106. var validity = document.getElementById("validity").value;
  107. if(validity){
  108. $.messager.show({
  109. title: '证书信息提示',
  110. msg: validity,
  111. timeout: 0,
  112. showType: 'slide' ,
  113. width:400,
  114. height:200
  115. });
  116. }
  117. });
  118. var _menus;
  119. if(info_publish=="0"){
  120. _menus = {
  121. "menus": [
  122. {
  123. "menuid": "56",
  124. "icon": "icon-large-smartart",
  125. "menuname": "改装情况",
  126. "menus": [{
  127. "menuid": "144",
  128. "menuname": "当天改装情况",
  129. "icon": "icon-large-chart",
  130. "url": "jsp/rzx/filling/todayModify.jsp"
  131. }]
  132. },
  133. {
  134. "menuid": "1",
  135. "icon": "icon-tip",
  136. "menuname": "数据管理",
  137. "menus": [{
  138. "menuid": "121",
  139. "menuname": "特种设备数据录入",
  140. "icon": "icon-filter",
  141. "url": "jsp/rzx/dataMan/Specialequipmentdataintomodify.jsp"
  142. }]
  143. },
  144. {
  145. "menuid": "56",
  146. "icon": "icon-search",
  147. "menuname": "数据查询",
  148. "menus": [
  149. {
  150. "menuid": "165",
  151. "menuname": "气瓶数据查询",
  152. "icon": "icon-search",
  153. "url": "jsp/rzx/dataQuery/CylinderdataQuery1modify.jsp?clear=1"
  154. },
  155. {
  156. "menuid": "205",
  157. "menuname": "车辆数据查询",
  158. "icon": "icon-search",
  159. "url": "jsp/rzx/dataQuery/CarsdataQuerymodify.jsp"
  160. },{
  161. "menuid": "165",
  162. "menuname": "标签发放信息",
  163. "icon": "icon-search",
  164. "url": "jsp/rzx/dataQuery/tagIssuingInfomofiy.jsp"
  165. },
  166. {
  167. "menuid": "165",
  168. "menuname": "改装数据查询",
  169. "icon": "icon-search",
  170. "url": "jsp/rzx/dataQuery/ModifieddataQuerytesting.jsp"
  171. },
  172. {
  173. "menuid": "215",
  174. "menuname": "特种设备数据查询",
  175. "icon": "icon-search",
  176. "url": "jsp/rzx/dataQuery/SpecialequipmentdataQuerymodify.jsp"
  177. }]
  178. },
  179. {
  180. "menuid": "56",
  181. "icon": "icon-large-chart",
  182. "menuname": "数据统计",
  183. "menus": [
  184. {
  185. "menuid": "145",
  186. "menuname": "改装数据统计",
  187. "icon": "icon-large-chart",
  188. "url": "jsp/rzx/dataStatistics1/ModifydataStatistics.jsp"
  189. },{
  190. "menuid": "165",
  191. "menuname": "标签发放信息统计",
  192. "icon": "icon-search",
  193. "url": "jsp/rzx/dataStatistics1/tagIssuingInfoStatistics.jsp"
  194. }]
  195. },
  196. {
  197. "menuid": "56",
  198. "icon": "icon-more",
  199. "menuname": "系统管理",
  200. "menus": [{
  201. "menuid": "143",
  202. "menuname": "站点信息查看",
  203. "icon": "icon-more",
  204. "url": "jsp/rzx/systemMan/modifyStationInfoCheck.jsp"
  205. },
  206. {
  207. "menuid": "153",
  208. "menuname": "工作人员信息",
  209. "icon": "icon-tip",
  210. "url": "jsp/rzx/systemMan/modifyworkPersonInfo.jsp"
  211. }
  212. ]
  213. }]
  214. };
  215. }else{
  216. _menus = {
  217. "menus": [{
  218. "menuid": "55",
  219. "icon": "icon-more",
  220. "menuname": "信息管理",
  221. "menus": [{
  222. "menuid": "31",
  223. "menuname": "公告信息查看",
  224. "icon": "icon-search",
  225. "url": "jsp/rzx/infoMan/CheckAnnouncementInfomodify.jsp"
  226. }]
  227. },
  228. {
  229. "menuid": "56",
  230. "icon": "icon-large-smartart",
  231. "menuname": "改装情况",
  232. "menus": [{
  233. "menuid": "144",
  234. "menuname": "当天改装情况",
  235. "icon": "icon-large-chart",
  236. "url": "jsp/rzx/filling/todayModify.jsp"
  237. }]
  238. },
  239. {
  240. "menuid": "1",
  241. "icon": "icon-tip",
  242. "menuname": "数据管理",
  243. "menus": [{
  244. "menuid": "121",
  245. "menuname": "特种设备数据录入",
  246. "icon": "icon-filter",
  247. "url": "jsp/rzx/dataMan/Specialequipmentdataintomodify.jsp"
  248. }]
  249. },
  250. {
  251. "menuid": "56",
  252. "icon": "icon-search",
  253. "menuname": "数据查询",
  254. "menus": [
  255. {
  256. "menuid": "165",
  257. "menuname": "气瓶数据查询",
  258. "icon": "icon-search",
  259. "url": "jsp/rzx/dataQuery/CylinderdataQuery1modify.jsp?clear=1"
  260. },
  261. {
  262. "menuid": "205",
  263. "menuname": "车辆数据查询",
  264. "icon": "icon-search",
  265. "url": "jsp/rzx/dataQuery/CarsdataQuerymodify.jsp"
  266. },{
  267. "menuid": "165",
  268. "menuname": "标签发放信息",
  269. "icon": "icon-search",
  270. "url": "jsp/rzx/dataQuery/tagIssuingInfomofiy.jsp"
  271. },
  272. {
  273. "menuid": "165",
  274. "menuname": "改装数据查询",
  275. "icon": "icon-search",
  276. "url": "jsp/rzx/dataQuery/ModifieddataQuerytesting.jsp"
  277. },
  278. {
  279. "menuid": "215",
  280. "menuname": "特种设备数据查询",
  281. "icon": "icon-search",
  282. "url": "jsp/rzx/dataQuery/SpecialequipmentdataQuerymodify.jsp"
  283. }]
  284. },
  285. {
  286. "menuid": "56",
  287. "icon": "icon-large-chart",
  288. "menuname": "数据统计",
  289. "menus": [
  290. {
  291. "menuid": "145",
  292. "menuname": "改装数据统计",
  293. "icon": "icon-large-chart",
  294. "url": "jsp/rzx/dataStatistics1/ModifydataStatistics.jsp"
  295. },{
  296. "menuid": "165",
  297. "menuname": "标签发放信息统计",
  298. "icon": "icon-search",
  299. "url": "jsp/rzx/dataStatistics1/tagIssuingInfoStatistics.jsp"
  300. }]
  301. },
  302. {
  303. "menuid": "56",
  304. "icon": "icon-more",
  305. "menuname": "系统管理",
  306. "menus": [{
  307. "menuid": "143",
  308. "menuname": "站点信息查看",
  309. "icon": "icon-more",
  310. "url": "jsp/rzx/systemMan/modifyStationInfoCheck.jsp"
  311. },
  312. {
  313. "menuid": "153",
  314. "menuname": "工作人员信息",
  315. "icon": "icon-tip",
  316. "url": "jsp/rzx/systemMan/modifyworkPersonInfo.jsp"
  317. }
  318. ]
  319. }]
  320. };
  321. }
  322. //设置登录窗口
  323. function openlogin() {
  324. $('#l').window({
  325. title: '登陆',
  326. width: 300,
  327. modal: true,
  328. shadow: true,
  329. closed: true,
  330. height: 160,
  331. resizable:false
  332. });
  333. }
  334. function openPwd() {
  335. $('#w').window({
  336. title: '修改密码',
  337. width: 300,
  338. modal: true,
  339. shadow: true,
  340. closed: true,
  341. height: 'auto',
  342. resizable:false
  343. });
  344. }
  345. //关闭修改密码窗口
  346. function closePwd() {
  347. $('#w').window('close');
  348. }
  349. //关闭登录窗口
  350. function closelogin() {
  351. $('#l').window('close');
  352. }
  353. //登陆
  354. function serverLogin() {
  355. var $name = $('#txtName');
  356. var $pass = $('#txtPass');
  357. if ($name.val() == '') {
  358. msgShow('系统提示', '请输入用户名!', 'warning');
  359. return false;
  360. }
  361. if ($pass.val() == '') {
  362. msgShow('系统提示', '请输入密码!', 'warning');
  363. return false;
  364. }
  365. $.post('ajax/ajax_login?name=' + $name.val()+'&pass='+$pass.val(), function(msg) {
  366. msgShow('系统提示', '恭喜,登陆成功!<br>欢迎您:' + msg, 'info');
  367. $name.val('');
  368. $pass.val('');
  369. $('#l').window('close');
  370. })
  371. }
  372. function checkPwd(pwd)
  373. {
  374. var regNumber = /\d+/; //验证0-9的任意数字最少出现1次。
  375. var regString = /[a-zA-Z]+/; //验证大小写26个字母任意字母最少出现1次。
  376. if (regNumber.test(pwd) && regString.test(pwd)) {
  377.     return true;
  378. }else{
  379.     return false;
  380. }
  381. }
  382. //修改密码
  383. function serverAlterpass() {
  384. var $oldpass = $('#txtOldPass').val().replace(/\s+/g,"");;
  385. var $newpass = $('#txtNewPass').val().replace(/\s+/g,"");;
  386. var $rePass = $('#txtRePass').val().replace(/\s+/g,"");;
  387. if ($oldpass == '') {
  388. msgShow('系统提示', '请输入旧密码!', 'warning');
  389. return false;
  390. }
  391. if ($newpass == '') {
  392. msgShow('系统提示', '请输入新密码!', 'warning');
  393. return false;
  394. }else if($newpass.length<8){
  395. msgShow('系统提示', '密码长度不能低于8位!且须包含数字和字母!!!', 'warning');
  396. return false;
  397. }
  398. if($newpass.match(/^.*[A-Z]+.*$/)==null){
  399. alert("密码必须包含数字和大小写字母!!!且长度不能低于8位");
  400. return false;
  401. }
  402. if($newpass.match(/^.*[a-z]+.*$/)==null){
  403. alert("密码必须包含数字和大小写字母!!!且长度不能低于8位");
  404. return false;
  405. }
  406. if($newpass.match(/^.*[0-9]+.*$/)==null){
  407. alert("密码必须包含数字和大小写字母!!!且长度不能低于8位");
  408. return false;
  409. }
  410. if ($rePass == '') {
  411. msgShow('系统提示', '请再一次输入新密码!', 'warning');
  412. return false;
  413. }
  414. if ($newpass != $rePass) {
  415. msgShow('系统提示', '两次密码不一至!请重新输入', 'warning');
  416. return false;
  417. }
  418. $.ajax({
  419. type:"POST",
  420. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  421. data:$('#alterpasswordform').serialize(),
  422. url:"ajax/alterpassword",
  423. success:function (data){
  424. var obj=eval("(" + data + ")");
  425. $.each(obj.rows, function(i,item){
  426. if(item.sresult=="0"){
  427. $('#txtOldPass').val('');
  428. $('#txtNewPass').val('');
  429. $('#txtRePass').val('');
  430. $('#w').window('close');
  431. // msgShow('系统提示', '恭喜,密码修改成功!<br>您的新密码为:' + item.pass, 'info');
  432. show("修改成功您的新密码为:"+item.pass.substring(0,1)+"********");
  433. }else if(item.sresult=="2"){
  434. show("修改错误");
  435. }else if(item.sresult=="3"){
  436. show("用户不存在");
  437. }else if(item.sresult=="4"){
  438. show("旧密码错误");
  439. }
  440. });
  441. }
  442. });
  443. }
  444. function show(message) {
  445. $.messager.show({
  446. title: '提示信息',
  447. msg: message,
  448. timeout: 2000,
  449. showType: 'slide'
  450. });
  451. }
  452. function show1(message) {
  453. $.messager.show({
  454. title: '提示信息',
  455. msg: message,
  456. timeout: 15000,
  457. showType: 'slide'
  458. });
  459. }
  460. $(function() {
  461. openlogin();
  462. openPwd();
  463. $('#login').click(function() {
  464. $('#l').window('open');
  465. });
  466. $('#btnlogin').click(function() {
  467. serverLogin();
  468. })
  469. $('#btnloginCancel').click(function(){closelogin();})
  470. $('#editpass').click(function() {
  471. $('#w').window('open');
  472. });
  473. $('#btnEp').click(function() {
  474. serverAlterpass();
  475. })
  476. $('#btnCancel').click(function(){closePwd();})
  477. $('#loginOut').click(function() {
  478. $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {
  479. if (r) {
  480. location.href = 'jsp/login/loginre.jsp';
  481. }
  482. });
  483. })
  484. });
  485. function sExit(){
  486. $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {
  487. if (r) {
  488. $.ajax({
  489. type:"POST",
  490. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  491. url:"safeExit",
  492. success:function (data){
  493. window.location.href = 'jsp/login/loginre.jsp';
  494. //IE6
  495. window.event.returnValue = false;
  496. }
  497. });
  498. }
  499. });
  500. }
  501. </script>
  502. </head>
  503. <body class="easyui-layout" style="overflow-y: hidden" fit="true" scroll="no">
  504. <noscript>
  505. <div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;">
  506. <img src="images/noscript.gif" alt='抱歉,请开启脚本支持!' />
  507. </div></noscript>
  508. <div id="loading-mask" style="position:absolute;top:0px; left:0px; width:100%; height:100%; background:#D2E0F2; z-index:20000">
  509. <div id="pageloading" style="position:absolute; top:50%; left:50%; margin:-120px 0px 0px -120px; text-align:center; border:2px solid #8DB2E3; width:200px; height:40px; font-size:14px;padding:10px; font-weight:bold; background:#fff; color:#15428B;">
  510. <img src="images/loading.gif" align="absmiddle" /> 正在加载中,请稍候...</div>
  511. </div>
  512. <div region="north" split="true" border="false" style="overflow: hidden; height: 30px;
  513. background: url(images/rzx/layout-browser-hd-bg12.gif) #817865 repeat-x center 50%;
  514. line-height: 20px;color: #fff; font-family: Verdana, 微软雅黑,黑体">
  515. <span style="float:right; padding-right:20px;" class="head">欢迎您 <%=username %> <a href="#" id="editpass">修改密码</a> <a href="javaScript:void(0);" onclick="sExit();return false;">安全退出</a></span>
  516. <span style="padding-left:10px; font-size: 16px; "><img src="images/rzx/blocks.gif" width="20" height="20" align="absmiddle" /><%=MyFilter.man_prefix %>-<%=place %> 改装厂管理</span>
  517. <span style="padding-left:100px; font-size: 12px; ">
  518. <marquee scrollAmount=2 width="780px">
  519. <span style="font-size: 12px;">
  520. 为了确保系统安全,请使用包含数字、字母、大写字符等内容的密码,遇到系统不能正常登录,数据异常等情况,及时与客服联系!
  521. </span>
  522. </marquee>
  523. </span>
  524. </div>
  525. <div region="south" split="true" style="height: 30px; background: #D2E0F2; ">
  526. <div class="footer"> </div>
  527. </div>
  528. <div region="west" split="true" title="导航菜单" style="width:180px;" id="west">
  529. <div id="nav">
  530. <!-- 导航内容 -->
  531. </div>
  532. </div>
  533. <div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">
  534. <div id="tabs" class="easyui-tabs" fit="true" border="false" >
  535. <div title="欢迎使用" style="padding:20px;overflow:hidden; color:#f08300; " >
  536. <center><h1 style="font-size:24px;">* <%=MyFilter.man_prefix %>-<%=place %> 改装厂管理</h1></center>
  537. </div>
  538. </div>
  539. </div>
  540. <!--修改密码窗口-->
  541. <div id="w" class="easyui-window" title="修改密码" collapsible="false" minimizable="false"
  542. maximizable="false" icon="icon-save" style="width: 300px; height: auto; padding: 5px;
  543. background: #fafafa;">
  544. <form id="alterpasswordform">
  545. <div fit="true" >
  546. <div region="center" border="false" style="padding: 0px; background: #fff; border: 1px solid #ccc;height: auto;">
  547. <table cellpadding=3>
  548. <tr>
  549. <td>旧密码:</td>
  550. <td><input id="txtOldPass" name="txtOldPass" type="Password" class="txt01" /></td>
  551. </tr>
  552. <tr>
  553. <td>新密码:</td>
  554. <td><input id="txtNewPass" name="txtNewPass" type="Password" class="txt01" /></td>
  555. </tr>
  556. <tr>
  557. <td>确认密码:</td>
  558. <td><input id="txtRePass" type="Password" name="txtRePass" class="txt01" /></td>
  559. </tr>
  560. </table>
  561. </div>
  562. <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
  563. <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" >
  564. 确定</a> <a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">取消</a>
  565. </div>
  566. </div>
  567. </form>
  568. </div>
  569. <!--登陆窗口-->
  570. <div id="l" class="easyui-window" title="登陆窗口" collapsible="false" minimizable="false"
  571. maximizable="false" icon="icon-save" style="width: 300px; height: 150px; padding: 15px;
  572. background: #fafafa;">
  573. <div class="easyui-layout" fit="true">
  574. <div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
  575. <table cellpadding=3>
  576. <tr>
  577. <td>用户名:</td>
  578. <td><input id="txtName" type="text" class="txt01" /></td>
  579. </tr>
  580. <tr>
  581. <td>密码:</td>
  582. <td><input id="txtPass" type="Password" class="txt01" /></td>
  583. </tr>
  584. </table>
  585. </div>
  586. <div region="south" border="false" style="text-align: right; ">
  587. <a id="btnlogin" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" >
  588. 确定</a> <a id="btnloginCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">取消</a>
  589. </div>
  590. </div>
  591. </div>
  592. <div id="mm" class="easyui-menu" style="width:150px;">
  593. <div id="tabupdate">刷新</div>
  594. <div class="menu-sep"></div>
  595. <div id="close">关闭</div>
  596. <div id="closeall">全部关闭</div>
  597. <div id="closeother">除此之外全部关闭</div>
  598. <div class="menu-sep"></div>
  599. <div id="closeright">当前页右侧全部关闭</div>
  600. <div id="closeleft">当前页左侧全部关闭</div>
  601. <div class="menu-sep"></div>
  602. <div id="exit">退出</div>
  603. </div>
  604. <input type="hidden" value="<%=title %>" name="newAnnTitle" id="newAnnTitle"/>
  605. <input type="hidden" value="<%=id %>" name="newAnnID" id="newAnnID"/>
  606. <input type="hidden" value="<%=anTime %>" name="newAnnTIME" id="newAnnTIME"/>
  607. <input type="hidden" value="<%=validity%>" name="validity" id="validity"/>
  608. </body>
  609. </html>