| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>
- <![CDATA[新余钢铁股份有限公司产销MES系统-II >> 用户登录]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <searchInfo>
- <USER_CD/>
- <USER_PW/>
- <REMOTE_ADDRESS/>
- </searchInfo>
- <SystemProperty>true</SystemProperty>
- </formData>
- <tmpData>
- <USER_CD/>
- <USER_PW/>
- </tmpData>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- exec();
- model.setValue("/root/formData/searchInfo/REMOTE_ADDRESS", GetLocalIPAddress());
- model.removenode("/root/reqData");
- model.removenode("/root/resData");
- window.showPopupMenu(false);
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript">
- <![CDATA[
- submitID = "login-service";
- function find() {
- exec("/root/formData/searchInfo", "", "find");
- if (Number(model.getXPathValue("count(/root/resData/ListResult_0_VO/ListResult_0_Row)")) < 1) {
- alert("用户名或口令错误");
- return;
- }
- if (model.getValue("/root/resData/ListResult_0_VO/ListResult_0_Row/LOCKED_YN") == "Y") {
- alert("该用户被锁定,不能登录!\n\n请与管理员联系!");
- model.removenode("/root/resData");
- model.removenode("/root/reqData");
- return;
- }
- window.showIEMenu(false);
- window.load("./menu.xrw", "replace", "", "",
- "/root/resData/ListResult_0_VO/ListResult_0_Row", "root/initData/rcvInfo");
- }
- function GetLocalIPAddress() {
- var obj = null;
- var rslt = "";
- try {
- obj = new ActiveXObject("rcbdyctl.Setting");
- rslt = obj.GetIPAddress;
- obj = null;
- } catch(e) {}
- return rslt;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="hidden" pagewidth="980" pageheight="703" guideline="1,1;" style="font-family:宋体; ">
- <img id="img2" src="../../images/background.jpg" style="left:40px; top:60px; width:900px; height:585px; background-stretch:stretch; "/>
- <input id="input1" ref="/root/formData/searchInfo/USER_CD" autonext="true" style="left:445px; top:296px; width:200px; height:24px; border-style:none; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == 13) model.setFocus("secret1");
- ]]>
- </script>
- </input>
- <secret id="secret1" ref="/root/formData/searchInfo/USER_PW" imemode="disabled" style="left:445px; top:346px; width:200px; height:24px; border-style:none; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == 13) {
- model.setFocus("input1");
- find();
- }
- ]]>
- </script>
- </secret>
- <button id="button1" style="left:387px; top:397px; width:73px; height:25px; background-color:transparent; border-style:none; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- find();
- ]]>
- </script>
- <caption/>
- </button>
- <button id="button2" style="left:547px; top:397px; width:73px; height:25px; background-color:transparent; border-style:none; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|