| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../css/body.css" ?>
- <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[品质设计>>品质设计>>标准修改历史记录查询]]>
- </xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <formData>
- <startTime/>
- <endTime/>
- <UI/>
- <HEIGH>200</HEIGH>
- </formData>
- <datagrid1/>
- <InitUIName>
- <UIName_Row>
- <LABEL/>
- <VALUE/>
- </UIName_Row>
- </InitUIName>
- <searchInfo/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if(window.parent==null) Init();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/b01.js"/>
- <script type="javascript" src="../../js/mesCommon.js"/>
- <script type="javascript" src="../../js/boaMsg.js"/>
- <script type="javascript">
- <![CDATA[
- function Init(node)
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- input1.value = commCurDate();
- input2.value = commCurDate();
- commSubmit("UIB016000-service" , "success" , "glueAction.do");
- model.copyNode("/root/InitUIName" , "/root/resData/UIName_VO");
- model.refresh();
- }
-
- function find()
- {
- model.removenode("/root/reqData");
- //需要用between..and查询,所以开始时间加四个零(以最小的开始),结束时间加四个9,以最大的结束
- model.makeNode("/root/reqData");
- commSendReq("/root/formData");
- commSubmit("UIB016000-service" , "find" , "glueAction.do");
- model.copyNode("/root/datagrid1" , "/root/resData/HistoryResult_VO");
- model.refresh();
-
- //查询时恢复默认设置
- for(var i = datagrid1.fixedRows; i < datagrid1.rows ; i++)
- {
- datagrid1.rowheight(i) = 21;
- }
- }
-
- function setHeight()
- {
- var height = model.getValue("/root/formData/HEIGH");
-
- if(height == 0) height = 20;
- for(var i = datagrid1.fixedRows; i < datagrid1.rows;i++)
- {
- if(i == datagrid1.row)
- {
- datagrid1.rowheight(i) = height;
- }
- else
- {
- datagrid1.rowheight(i) = 20;
- }
- }
- }
-
- function excelExport()
- {
- return datagrid1;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620">
- <caption id="caption1" class="cell" style="left:205px; top:5px; width:95px; height:20px; border-color:#000000; border-style:solid; ">操作时间</caption>
- <input id="input1" ref="/root/formData/startTime" inputtype="date" style="left:300px; top:5px; width:100px; height:20px; border-color:#000000; border-style:solid; "/>
- <caption id="caption2" style="left:405px; top:10px; width:19px; height:20px; ">~</caption>
- <input id="input2" ref="/root/formData/endTime" inputtype="date" style="left:415px; top:5px; width:100px; height:20px; border-color:#000000; border-style:solid; "/>
- <line id="line3" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
- <line id="line2" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
- <datagrid id="datagrid1" nodeset="/root/datagrid1/HistoryResult_Row" caption="状态区分^界面ID^执行SQL^参数^操作时间^操作人" colsep="^" colwidth="38, 100, 350, 262, 100, 100" dataheight="21" defaultrows="40" explorerbar="sortshow" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowheight="40" rowsep="|" selectionmode="listbox" tooltip="label" style="left:0px; top:35px; width:975px; height:580px; ">
- <col disabled="true" ref="ACT_TP" type="combo" style="text-align:left; ">
- <choices>
- <item>
- <label>删除</label>
- <value>D</value>
- </item>
- <item>
- <label>更新</label>
- <value>U</value>
- </item>
- <item>
- <label>插入</label>
- <value>I</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="INTFE_ID" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/InitUIName/UIName_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </col>
- <col editable="false" ref="ACT_SQL" type="input" style="text-align:left; "/>
- <col editable="false" ref="WHERE_PARAM" type="input" style="text-align:left; "/>
- <col ref="REG_DTIME" format="yyyy-mm-dd hh:nn:ss" style="text-align:left; "/>
- <col ref="REG_ID" style="text-align:left; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- setHeight();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode==38 || event.keyCode ==40)
- {
- setHeight();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" class="cell" style="left:540px; top:5px; width:100px; height:20px; ">操作界面</caption>
- <select1 id="combo1" ref="/root/formData/UI" appearance="minimal" editmode="input" showvalue="true" style="left:640px; top:5px; width:230px; height:20px; ">
- <choices>
- <itemset nodeset="/root/InitUIName/UIName_Row">
- <label ref="LABEL"/>
- <value ref="VALUE"/>
- </itemset>
- </choices>
- </select1>
- <input id="input3" ref="/root/formData/HEIGH" style="left:80px; top:5px; width:100px; height:20px; "/>
- <caption id="caption4" class="cell" style="left:0px; top:5px; width:80px; height:20px; ">行宽设置</caption>
- </xhtml:body>
- </xhtml:html>
|