| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- <?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="">
- <datagrid1/>
- <newElement/>
- <interface>
- <REG_ID/>
- <dept/>
- <QUESTION_CD/>
- <deptList/>
- <QUESTION/>
- </interface>
- <formData>
- <stDate/>
- <endDate/>
- <ANSWER_TP/>
- </formData>
- </root>
- </instance>
- </model>
- <script type="javascript" src="../../js/boaCommon.js"/>
- <script type="javascript" src="../../js/b01.js"/>
- <script type="javascript">
- <![CDATA[
- function Init(node)
- {
- model.makeValue("/root/interface/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- //无条件查询,获取所有记录
- commSubmit("UI_QUESTION_COMMON-service" , "findD" , "glueAction.do");
- model.copyNode("/root/interface/deptList" , "/root/resData/DeptResult_VO");
- model.setValue("/root/formData/stDate", commLateDate(-10));
- model.setValue("/root/formData/endDate", commLateDate(+10));
- model.refresh();
- }
- function find()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- //无条件查询,获取所有记录
- commSendReq("/root/formData");
- commSubmit("UI_QUESTION_COMMON-service" , "find" , "glueAction.do");
- model.copyNode("/root/datagrid1" , "/root/resData/QuestionResult_VO");
- model.refresh();
- }
- function save()
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- commMultiUpdate(datagrid1,"/root/reqData" ,"A", true, "rowStatus");
- model.makeValue("/root/reqData/REG_ID",model.getValue("/root/initData/rcvInfo/REG_ID"));
- commSubmit("UIB010170-service" , "save" , "glueAction.do");
- model.refresh();
- datagrid1.clearStatus();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="980" pageheight="620">
- <line id="line3" style="x1:0px; y1:0px; x2:980px; y2:0px; "/>
- <line id="line2" style="x1:0px; y1:30px; x2:980px; y2:30px; "/>
- <caption id="caption2" class="cell" style="left:0px; top:5px; width:120px; height:20px; text-align:center; ">登记时间</caption>
- <input id="input2" ref="/root/formData/stDate" inputtype="date" style="left:140px; top:5px; width:100px; height:20px; border-color:#000000; border-style:solid; "/>
- <caption id="caption1" style="left:243px; top:10px; width:20px; height:15px; ">~</caption>
- <datagrid id="datagrid1" nodeset="/root/datagrid1/QuestionResult_Row" allowuserresize="true" caption="选择^问题^问题反馈^登记人^登记单位^登记时间^反馈单位^解决人^解决时间" colsep="^" colwidth="50, 200, 200, 88, 100, 75, 88, 100, 75, 100, 100" defaultrows="30" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" tooltip="label" style="left:0px; top:35px; width:980px; height:585px; border-color:#000000; border-style:solid; ">
- <col checkvalue="Y,N" type="radio"/>
- <col editable="false" ref="QUESTION" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="ANSWER" type="input" style="background-color:#ccffcc; "/>
- <col editable="false" ref="REG_ID" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="QUE_DEPT" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="REG_TIME" type="input" format="yyyy-mm-dd" style="background-color:#ffffff; "/>
- <col editable="false" ref="ANS_DEPT" type="input" style="background-color:#ffffff; "/>
- <col editable="false" ref="LINK_ID" type="input" style="background-color:#ccffcc; "/>
- <col editable="false" ref="ANSWER_TIME" type="input" format="yyyy-mm-dd" style="background-color:#ffffff; "/>
- <col editable="false" ref="QUESTION_CD" type="input" visibility="hidden" style="background-color:#ffffff; "/>
- <col ref="ANSWER_TP" type="input" visibility="hidden" style="background-color:#ffffff; "/>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- datagrid1.editCell();
- ]]>
- </script>
- </datagrid>
- <input id="input1" ref="/root/formData/endDate" inputtype="date" style="left:260px; top:5px; width:100px; height:20px; border-color:#000000; border-style:solid; "/>
- <button id="button3" style="left:760px; top:5px; width:75px; height:20px; background-image:../../images/btn_add.gif; ">
- <caption>增加</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vleft = window.screenLeft+window.width/2-150; //- 355;
- var vtop = window.screenTop+window.height/2-150; //- 250;
- window.load("./_UI_QUESTION_COMMON_CREATE.xrw",
- "modal",
- "",
- "left:"+vleft+"; top:"+vtop+"; width:300; height:300; sysmenu:visible; min:visible; max:true; resize:true; caption:hidden;",
- "/root/interface", "/root/rec");
- find();
- ]]>
- </script>
- </button>
- <button id="button4" style="left:835px; top:5px; width:70px; height:20px; background-image:../../images/btn_move.gif; ">
- <caption>删除</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var deleteRow = 0;
-
- for(var i = 1;i < datagrid1.rows;i++)
- {
- if(datagrid1.valueMatrix(i,0) == "Y")
- {
- deleteRow = i;
- break;
- }
- }
- if(deleteRow != 0)
- {
- model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/flag","d");
- model.makeValue("/root/reqData/QUESTION_CD",datagrid1.valueMatrix(i,datagrid1.colRef("QUESTION_CD")));
- commSubmit("UI_QUESTION_COMMON-service" , "save" , "glueAction.do");
- model.refresh();
- find();
- }
- ]]>
- </script>
- </button>
- <button id="button2" style="left:905px; top:5px; width:70px; height:20px; background-image:../../images/btn_move.gif; ">
- <caption>处理</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var deleteRow = 0;
-
- for(var i = 1;i < datagrid1.rows;i++)
- {
- if(datagrid1.valueMatrix(i,0) == "Y")
- {
- deleteRow = i;
- break;
- }
- }
-
- if(deleteRow != 0)
- {
- model.setValue("/root/interface/QUESTION_CD",datagrid1.valueMatrix(i,datagrid1.colRef("QUESTION_CD")));
- model.setValue("/root/interface/QUESTION"," "+datagrid1.valueMatrix(i,datagrid1.colRef("QUESTION")));
- var vleft = window.screenLeft+window.width/2-200; //- 355;
- var vtop = window.screenTop+window.height/2-200; //- 250;
- window.load("./_UI_QUESTION_COMMON_ANS.xrw",
- "modal",
- "",
- "left:"+vleft+"; top:"+vtop+"; width:400; height:400; sysmenu:visible; min:visible; max:true; resize:true; caption:hidden;",
- "/root/interface", "/root/rec");
- find();
- }
- /*model.removenode("/root/reqData");
- model.makeNode("/root/reqData");
- model.makeValue("/root/reqData/flag","d");
- model.makeValue("/root/reqData/QUESTION_CD",datagrid1.valueMatrix(i,datagrid1.colRef("QUESTION_CD")));
- commSubmit("UI_QUESTION_COMMON-service" , "save" , "glueAction.do");
- model.refresh();*/
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/formData/ANSWER_TP" appearance="minimal" style="left:505px; top:5px; width:60px; height:20px; ">
- <choices>
- <item>
- <label>全部</label>
- <value/>
- </item>
- <item>
- <label>已解决</label>
- <value>Y</value>
- </item>
- <item>
- <label>未解决</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="cell" style="left:400px; top:5px; width:85px; height:20px; text-align:center; ">状态</caption>
- </xhtml:body>
- </xhtml:html>
|