testingbgman.jsp 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  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/todayTesting.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/Specialequipmentdatainto.jsp"
  142. }]
  143. },
  144. {
  145. "menuid": "56",
  146. "icon": "icon-search",
  147. "menuname": "数据查询",
  148. "menus": [
  149. {
  150. "menuid": "195",
  151. "menuname": "检验数据查询",
  152. "icon": "icon-search",
  153. "url": "jsp/rzx/dataQuery/TestingdataQuerytesting.jsp"
  154. },{
  155. "menuid": "165",
  156. "menuname": "监检数据查询",
  157. "icon": "icon-search",
  158. "url": "jsp/rzx/dataQuery/checkSeeQuerytesting.jsp"
  159. },
  160. {
  161. "menuid": "205",
  162. "menuname": "车辆数据查询",
  163. "icon": "icon-search",
  164. "url": "jsp/rzx/dataQuery/CarsdataQuerytesting.jsp"
  165. },{
  166. "menuid": "165",
  167. "menuname": "气瓶数据查询",
  168. "icon": "icon-search",
  169. "url": "jsp/rzx/dataQuery/CylinderdataQuery1testing.jsp?clear=1"
  170. },{
  171. "menuid": "165",
  172. "menuname": "标签发放信息",
  173. "icon": "icon-search",
  174. "url": "jsp/rzx/dataQuery/tagIssuingInfotesting.jsp"
  175. },
  176. {
  177. "menuid": "215",
  178. "menuname": "特种设备数据查询",
  179. "icon": "icon-search",
  180. "url": "jsp/rzx/dataQuery/SpecialequipmentdataQuerytesting.jsp"
  181. }]
  182. },
  183. {
  184. "menuid": "56",
  185. "icon": "icon-large-chart",
  186. "menuname": "数据统计",
  187. "menus": [{
  188. "menuid": "145",
  189. "menuname": "标签数据统计",
  190. "icon": "icon-large-chart",
  191. "url": "jsp/rzx/dataStatistics1/TagdataStatistics.jsp"
  192. },
  193. {
  194. "menuid": "155",
  195. "menuname": "车辆数据统计",
  196. "icon": "icon-large-shapes",
  197. "url": "jsp/rzx/dataStatistics1/CarsdataStatistics.jsp"
  198. },
  199. {
  200. "menuid": "165",
  201. "menuname": "气瓶数据统计",
  202. "icon": "icon-large-smartart",
  203. "url": "jsp/rzx/dataStatistics1/CylinderdataStatistics.jsp"
  204. },{
  205. "menuid": "165",
  206. "menuname": "标签发放信息统计",
  207. "icon": "icon-search",
  208. "url": "jsp/rzx/dataStatistics1/tagIssuingInfoStatistics.jsp"
  209. }]
  210. },
  211. {
  212. "menuid": "56",
  213. "icon": "icon-more",
  214. "menuname": "系统管理",
  215. "menus": [{
  216. "menuid": "143",
  217. "menuname": "站点信息查看",
  218. "icon": "icon-more",
  219. "url": "jsp/rzx/systemMan/testingStationInfoCheck.jsp"
  220. },
  221. {
  222. "menuid": "153",
  223. "menuname": "工作人员信息",
  224. "icon": "icon-tip",
  225. "url": "jsp/rzx/systemMan/testingworkPersonInfo.jsp"
  226. }
  227. ]
  228. }]
  229. };
  230. }else{
  231. _menus = {
  232. "menus": [{
  233. "menuid": "55",
  234. "icon": "icon-more",
  235. "menuname": "信息管理",
  236. "menus": [{
  237. "menuid": "31",
  238. "menuname": "公告信息查看",
  239. "icon": "icon-search",
  240. "url": "jsp/rzx/infoMan/CheckAnnouncementInfotesting.jsp"
  241. }]
  242. },
  243. {
  244. "menuid": "56",
  245. "icon": "icon-large-smartart",
  246. "menuname": "检验情况",
  247. "menus": [{
  248. "menuid": "144",
  249. "menuname": "当天检验情况",
  250. "icon": "icon-large-chart",
  251. "url": "jsp/rzx/filling/todayTesting.jsp"
  252. }]
  253. },
  254. {
  255. "menuid": "1",
  256. "icon": "icon-tip",
  257. "menuname": "数据管理",
  258. "menus": [{
  259. "menuid": "121",
  260. "menuname": "特种设备数据录入",
  261. "icon": "icon-filter",
  262. "url": "jsp/rzx/dataMan/Specialequipmentdatainto.jsp"
  263. }]
  264. },
  265. {
  266. "menuid": "56",
  267. "icon": "icon-search",
  268. "menuname": "数据查询",
  269. "menus": [
  270. {
  271. "menuid": "195",
  272. "menuname": "检验数据查询",
  273. "icon": "icon-search",
  274. "url": "jsp/rzx/dataQuery/TestingdataQuerytesting.jsp"
  275. },{
  276. "menuid": "165",
  277. "menuname": "监检数据查询",
  278. "icon": "icon-search",
  279. "url": "jsp/rzx/dataQuery/checkSeeQuerytesting.jsp"
  280. },
  281. {
  282. "menuid": "205",
  283. "menuname": "车辆数据查询",
  284. "icon": "icon-search",
  285. "url": "jsp/rzx/dataQuery/CarsdataQuerytesting.jsp"
  286. },{
  287. "menuid": "165",
  288. "menuname": "气瓶数据查询",
  289. "icon": "icon-search",
  290. "url": "jsp/rzx/dataQuery/CylinderdataQuery1testing.jsp?clear=1"
  291. },{
  292. "menuid": "165",
  293. "menuname": "标签发放信息",
  294. "icon": "icon-search",
  295. "url": "jsp/rzx/dataQuery/tagIssuingInfotesting.jsp"
  296. },
  297. {
  298. "menuid": "215",
  299. "menuname": "特种设备数据查询",
  300. "icon": "icon-search",
  301. "url": "jsp/rzx/dataQuery/SpecialequipmentdataQuerytesting.jsp"
  302. }]
  303. },
  304. {
  305. "menuid": "56",
  306. "icon": "icon-large-chart",
  307. "menuname": "数据统计",
  308. "menus": [{
  309. "menuid": "145",
  310. "menuname": "标签数据统计",
  311. "icon": "icon-large-chart",
  312. "url": "jsp/rzx/dataStatistics1/TagdataStatistics.jsp"
  313. },
  314. {
  315. "menuid": "155",
  316. "menuname": "车辆数据统计",
  317. "icon": "icon-large-shapes",
  318. "url": "jsp/rzx/dataStatistics1/CarsdataStatistics.jsp"
  319. },
  320. {
  321. "menuid": "165",
  322. "menuname": "气瓶数据统计",
  323. "icon": "icon-large-smartart",
  324. "url": "jsp/rzx/dataStatistics1/CylinderdataStatistics.jsp"
  325. },{
  326. "menuid": "165",
  327. "menuname": "标签发放信息统计",
  328. "icon": "icon-search",
  329. "url": "jsp/rzx/dataStatistics1/tagIssuingInfoStatistics.jsp"
  330. }]
  331. },
  332. {
  333. "menuid": "56",
  334. "icon": "icon-more",
  335. "menuname": "系统管理",
  336. "menus": [{
  337. "menuid": "143",
  338. "menuname": "站点信息查看",
  339. "icon": "icon-more",
  340. "url": "jsp/rzx/systemMan/testingStationInfoCheck.jsp"
  341. },
  342. {
  343. "menuid": "153",
  344. "menuname": "工作人员信息",
  345. "icon": "icon-tip",
  346. "url": "jsp/rzx/systemMan/testingworkPersonInfo.jsp"
  347. }
  348. ]
  349. }]
  350. };
  351. }
  352. //设置登录窗口
  353. function openlogin() {
  354. $('#l').window({
  355. title: '登陆',
  356. width: 300,
  357. modal: true,
  358. shadow: true,
  359. closed: true,
  360. height: 160,
  361. resizable:false
  362. });
  363. }
  364. function openPwd() {
  365. $('#w').window({
  366. title: '修改密码',
  367. width: 300,
  368. modal: true,
  369. shadow: true,
  370. closed: true,
  371. height: 'auto',
  372. resizable:false
  373. });
  374. }
  375. //关闭修改密码窗口
  376. function closePwd() {
  377. $('#w').window('close');
  378. }
  379. //关闭登录窗口
  380. function closelogin() {
  381. $('#l').window('close');
  382. }
  383. //登陆
  384. function serverLogin() {
  385. var $name = $('#txtName');
  386. var $pass = $('#txtPass');
  387. if ($name.val() == '') {
  388. msgShow('系统提示', '请输入用户名!', 'warning');
  389. return false;
  390. }
  391. if ($pass.val() == '') {
  392. msgShow('系统提示', '请输入密码!', 'warning');
  393. return false;
  394. }
  395. $.post('ajax/ajax_login?name=' + $name.val()+'&pass='+$pass.val(), function(msg) {
  396. msgShow('系统提示', '恭喜,登陆成功!<br>欢迎您:' + msg, 'info');
  397. $name.val('');
  398. $pass.val('');
  399. $('#l').window('close');
  400. })
  401. }
  402. function checkPwd(pwd)
  403. {
  404. var regNumber = /\d+/; //验证0-9的任意数字最少出现1次。
  405. var regString = /[a-zA-Z]+/; //验证大小写26个字母任意字母最少出现1次。
  406. if (regNumber.test(pwd) && regString.test(pwd)) {
  407.     return true;
  408. }else{
  409.     return false;
  410. }
  411. }
  412. //修改密码
  413. function serverAlterpass() {
  414. var $oldpass = $('#txtOldPass').val().replace(/\s+/g,"");;
  415. var $newpass = $('#txtNewPass').val().replace(/\s+/g,"");;
  416. var $rePass = $('#txtRePass').val().replace(/\s+/g,"");;
  417. if ($oldpass == '') {
  418. msgShow('系统提示', '请输入旧密码!', 'warning');
  419. return false;
  420. }
  421. if ($newpass == '') {
  422. msgShow('系统提示', '请输入新密码!', 'warning');
  423. return false;
  424. }else if($newpass.length<8){
  425. msgShow('系统提示', '密码长度不能低于8位!且须包含数字和字母!!!', 'warning');
  426. return false;
  427. }
  428. if($newpass.match(/^.*[A-Z]+.*$/)==null){
  429. alert("密码必须包含数字和大小写字母!!!且长度不能低于8位");
  430. return false;
  431. }
  432. if($newpass.match(/^.*[a-z]+.*$/)==null){
  433. alert("密码必须包含数字和大小写字母!!!且长度不能低于8位");
  434. return false;
  435. }
  436. if($newpass.match(/^.*[0-9]+.*$/)==null){
  437. alert("密码必须包含数字和大小写字母!!!且长度不能低于8位");
  438. return false;
  439. }
  440. if ($rePass == '') {
  441. msgShow('系统提示', '请再一次输入新密码!', 'warning');
  442. return false;
  443. }
  444. if ($newpass != $rePass) {
  445. msgShow('系统提示', '两次密码不一至!请重新输入', 'warning');
  446. return false;
  447. }
  448. $.ajax({
  449. type:"POST",
  450. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  451. data:$('#alterpasswordform').serialize(),
  452. url:"ajax/alterpassword",
  453. success:function (data){
  454. var obj=eval("(" + data + ")");
  455. $.each(obj.rows, function(i,item){
  456. if(item.sresult=="0"){
  457. $('#txtOldPass').val('');
  458. $('#txtNewPass').val('');
  459. $('#txtRePass').val('');
  460. $('#w').window('close');
  461. // msgShow('系统提示', '恭喜,密码修改成功!<br>您的新密码为:' + item.pass, 'info');
  462. show("修改成功您的新密码为:"+item.pass.substring(0,1)+"********");
  463. }else if(item.sresult=="2"){
  464. show("修改错误");
  465. }else if(item.sresult=="3"){
  466. show("用户不存在");
  467. }else if(item.sresult=="4"){
  468. show("旧密码错误");
  469. }
  470. });
  471. }
  472. });
  473. }
  474. function show(message) {
  475. $.messager.show({
  476. title: '提示信息',
  477. msg: message,
  478. timeout: 2000,
  479. showType: 'slide'
  480. });
  481. }
  482. function show1(message) {
  483. $.messager.show({
  484. title: '提示信息',
  485. msg: message,
  486. timeout: 15000,
  487. showType: 'slide'
  488. });
  489. }
  490. $(function() {
  491. openlogin();
  492. openPwd();
  493. $('#login').click(function() {
  494. $('#l').window('open');
  495. });
  496. $('#btnlogin').click(function() {
  497. serverLogin();
  498. })
  499. $('#btnloginCancel').click(function(){closelogin();})
  500. $('#editpass').click(function() {
  501. $('#w').window('open');
  502. });
  503. $('#btnEp').click(function() {
  504. serverAlterpass();
  505. })
  506. $('#btnCancel').click(function(){closePwd();})
  507. $('#loginOut').click(function() {
  508. $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {
  509. if (r) {
  510. location.href = 'jsp/login/loginre.jsp';
  511. }
  512. });
  513. })
  514. });
  515. function sExit(){
  516. $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {
  517. if (r) {
  518. $.ajax({
  519. type:"POST",
  520. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  521. url:"safeExit",
  522. success:function (data){
  523. window.location.href = 'jsp/login/loginre.jsp';
  524. //IE6
  525. window.event.returnValue = false;
  526. }
  527. });
  528. }
  529. });
  530. }
  531. </script>
  532. </head>
  533. <body class="easyui-layout" style="overflow-y: hidden" fit="true" scroll="no">
  534. <noscript>
  535. <div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;">
  536. <img src="images/noscript.gif" alt='抱歉,请开启脚本支持!' />
  537. </div></noscript>
  538. <div id="loading-mask" style="position:absolute;top:0px; left:0px; width:100%; height:100%; background:#D2E0F2; z-index:20000">
  539. <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;">
  540. <img src="images/loading.gif" align="absmiddle" /> 正在加载中,请稍候...</div>
  541. </div>
  542. <div region="north" split="true" border="false" style="overflow: hidden; height: 30px;
  543. background: url(images/rzx/layout-browser-hd-bg12.gif) #817865 repeat-x center 50%;
  544. line-height: 20px;color: #fff; font-family: Verdana, 微软雅黑,黑体">
  545. <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>
  546. <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>
  547. <span style="padding-left:100px; font-size: 12px; ">
  548. <marquee scrollAmount=2 width="780px">
  549. <span style="font-size: 12px;">
  550. 为了确保系统安全,请使用包含数字、字母、大写字符等内容的密码,遇到系统不能正常登录,数据异常等情况,及时与客服联系!
  551. </span>
  552. </marquee>
  553. </span>
  554. </div>
  555. <div region="south" split="true" style="height: 30px; background: #D2E0F2; ">
  556. <div class="footer"> </div>
  557. </div>
  558. <div region="west" split="true" title="导航菜单" style="width:180px;" id="west">
  559. <div id="nav">
  560. <!-- 导航内容 -->
  561. </div>
  562. </div>
  563. <div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">
  564. <div id="tabs" class="easyui-tabs" fit="true" border="false" >
  565. <div title="欢迎使用" style="padding:20px;overflow:hidden; color:#f08300; " >
  566. <center><h1 style="font-size:24px;">* <%=MyFilter.man_prefix %>-<%=place %> 检验站管理</h1></center>
  567. </div>
  568. </div>
  569. </div>
  570. <!--修改密码窗口-->
  571. <div id="w" class="easyui-window" title="修改密码" collapsible="false" minimizable="false"
  572. maximizable="false" icon="icon-save" style="width: 300px; height: auto; padding: 5px;
  573. background: #fafafa;">
  574. <form id="alterpasswordform">
  575. <div fit="true" >
  576. <div region="center" border="false" style="padding: 0px; background: #fff; border: 1px solid #ccc;height: auto;">
  577. <table cellpadding=3>
  578. <tr>
  579. <td>旧密码:</td>
  580. <td><input id="txtOldPass" name="txtOldPass" type="Password" class="txt01" /></td>
  581. </tr>
  582. <tr>
  583. <td>新密码:</td>
  584. <td><input id="txtNewPass" name="txtNewPass" type="Password" class="txt01" /></td>
  585. </tr>
  586. <tr>
  587. <td>确认密码:</td>
  588. <td><input id="txtRePass" type="Password" name="txtRePass" class="txt01" /></td>
  589. </tr>
  590. </table>
  591. </div>
  592. <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
  593. <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" >
  594. 确定</a> <a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">取消</a>
  595. </div>
  596. </div>
  597. </form>
  598. </div>
  599. <!--登陆窗口-->
  600. <div id="l" class="easyui-window" title="登陆窗口" collapsible="false" minimizable="false"
  601. maximizable="false" icon="icon-save" style="width: 300px; height: 150px; padding: 15px;
  602. background: #fafafa;">
  603. <div class="easyui-layout" fit="true">
  604. <div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
  605. <table cellpadding=3>
  606. <tr>
  607. <td>用户名:</td>
  608. <td><input id="txtName" type="text" class="txt01" /></td>
  609. </tr>
  610. <tr>
  611. <td>密码:</td>
  612. <td><input id="txtPass" type="Password" class="txt01" /></td>
  613. </tr>
  614. </table>
  615. </div>
  616. <div region="south" border="false" style="text-align: right; ">
  617. <a id="btnlogin" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" >
  618. 确定</a> <a id="btnloginCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">取消</a>
  619. </div>
  620. </div>
  621. </div>
  622. <div id="mm" class="easyui-menu" style="width:150px;">
  623. <div id="tabupdate">刷新</div>
  624. <div class="menu-sep"></div>
  625. <div id="close">关闭</div>
  626. <div id="closeall">全部关闭</div>
  627. <div id="closeother">除此之外全部关闭</div>
  628. <div class="menu-sep"></div>
  629. <div id="closeright">当前页右侧全部关闭</div>
  630. <div id="closeleft">当前页左侧全部关闭</div>
  631. <div class="menu-sep"></div>
  632. <div id="exit">退出</div>
  633. </div>
  634. <input type="hidden" value="<%=title %>" name="newAnnTitle" id="newAnnTitle"/>
  635. <input type="hidden" value="<%=id %>" name="newAnnID" id="newAnnID"/>
  636. <input type="hidden" value="<%=anTime %>" name="newAnnTIME" id="newAnnTIME"/>
  637. <input type="hidden" value="<%=validity%>" name="validity" id="validity"/>
  638. </body>
  639. </html>