fef47e64170e568028e97d5bd67cc9c230966aa3.svn-base 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="../../css/body.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>
  6. <![CDATA[MES系统 >> 菜单选取]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <rec/>
  12. <answer/>
  13. <reqData/>
  14. <resData/>
  15. </root>
  16. </instance>
  17. <script type="javascript" ev:event="xforms-ready">
  18. <![CDATA[
  19. Init();
  20. ]]>
  21. </script>
  22. </model>
  23. <script type="javascript" src="../../js/boaCommon.js"/>
  24. <script type="javascript" src="../../js/boaMsg.js"/>
  25. <script type="javascript" src="../../js/mesCommon.js"/>
  26. <script type="javascript">
  27. <![CDATA[
  28. function Init(node)
  29. {
  30. }
  31. ]]>
  32. </script>
  33. </xhtml:head>
  34. <xhtml:body overflow="hidden" pagewidth="400" pageheight="400" guideline="2,500;1,708;" style="font-family:宋体; ">
  35. <caption id="caption1" class="cell" style="left:10px; top:170px; width:90px; height:20px; border-color:#000000; border-style:solid; ">问题反馈</caption>
  36. <textarea id="textarea1" ref="/root/answer" style="left:10px; top:195px; width:380px; height:165px; text-align:left; vertical-align:top; "/>
  37. <caption id="caption3" style="left:235px; top:370px; width:73px; height:20px; color:#000000; text-align:center; vertical-align:middle; background-image:../../images/exit.gif; cursor:hand; ">
  38. <![CDATA[提交]]>
  39. <script type="javascript" ev:event="onclick">
  40. <![CDATA[
  41. var text = model.getValue("/root/answer");
  42. if(text.length >100)
  43. {
  44. window.alert("问题反馈不能超过100个字!!"," 提示 ");
  45. return;
  46. }
  47. model.removenode("/root/reqData");
  48. model.makeNode("/root/reqData");
  49. model.makeValue("/root/reqData/REG_ID",model.getValue("/root/rec/REG_ID"));
  50. model.makeValue("/root/reqData/answer",model.getValue("/root/answer"));
  51. model.makeValue("/root/reqData/QUESTION_CD",model.getValue("/root/rec/QUESTION_CD"));
  52. model.makeValue("/root/reqData/flag","u");
  53. commSubmit("UI_QUESTION_COMMON-service" , "save" , "glueAction.do");
  54. model.refresh();
  55. window.close();
  56. ]]>
  57. </script>
  58. </caption>
  59. <caption id="caption2" style="left:315px; top:370px; width:73px; height:20px; color:#000000; text-align:center; vertical-align:middle; background-image:../../images/exit.gif; cursor:hand; ">
  60. <![CDATA[退出]]>
  61. <script type="javascript" ev:event="onclick">
  62. <![CDATA[
  63. window.close();
  64. ]]>
  65. </script>
  66. </caption>
  67. <caption id="caption4" class="cell" style="left:10px; top:10px; width:90px; height:20px; border-color:#000000; border-style:solid; ">问题描述</caption>
  68. <output id="output1" ref="/root/rec/QUESTION" style="left:10px; top:40px; width:380px; height:120px; text-align:left; vertical-align:top; "/>
  69. </xhtml:body>
  70. </xhtml:html>