3e060b8831dccde1634640cda8f9eaa5a8eee003.svn-base 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <!DOCTYPE html >
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>引入范本</title>
  6. <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  7. <link href="/nwyj/scripts/qui/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" id="skin" skinPath="/nwyj/scripts/qui/" scrollerY="false" scrollerX="false"/>
  8. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  9. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  10. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  11. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
  12. <!--框架必需end-->
  13. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/text/vticker.js"></script>
  14. <!--自动提示框start-->
  15. <script type='text/javascript' src='/nwyj/scripts/qui/libs/js/form/suggestion.js'></script>
  16. <!--自动提示框end-->
  17. <!--数据表格start-->
  18. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/table/quiGrid.js" ></script>
  19. <!--数据表格end-->
  20. <!--表单提交start-->
  21. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/form.js"></script>
  22. <!--表单提交end-->
  23. <!--表单验证start-->
  24. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/validation.js"></script>
  25. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/validationRule.js"></script>
  26. <!--表单提交end-->
  27. <!-- 数字步进器start -->
  28. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/stepper.js"></script>
  29. <!-- 数字步进器end -->
  30. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/datePicker/WdatePicker.js"></script>
  31. <!--数据表格end-->
  32. <script type="text/javascript" src="/nwyj/scripts/qui/libs/thirdparty/highcharts/js/highcharts.js"></script>
  33. <!--弹窗组件start-->
  34. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
  35. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/drag.js"></script>
  36. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
  37. <!--弹窗组件end-->
  38. <!--布局组件start-->
  39. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/layout.js"></script>
  40. <!--布局组件start-->
  41. <!--基本选项卡start-->
  42. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/basicTab.js"></script>
  43. <!--基本选项卡end-->
  44. <!--动态选项卡start-->
  45. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/dynamicTab.js"></script>
  46. <!--动态选项卡end-->
  47. <!--树组件start-->
  48. <link rel="stylesheet" type="text/css" href="/nwyj/scripts/qui/libs/js/tree/ztree/ztree.css" />
  49. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
  50. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/selectTree.js"></script>
  51. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/listerTree.js"></script>
  52. <!--树组件end-->
  53. <!--纵向抽屉容器start-->
  54. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/accordion.js"></script>
  55. <!--纵向抽屉容器end-->
  56. <!-- 双向选择器start -->
  57. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/lister.js"></script>
  58. <!--双向选择器end-->
  59. <!--上传附件start-->
  60. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/upload/fileUpload.js"></script>
  61. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/upload/handlers.js"></script>
  62. <!-- 上传附件end -->
  63. <!--分隔条start-->
  64. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/spliter.js"></script>
  65. <!--分隔条end-->
  66. <!--浮动面板start-->
  67. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/floatPanel.js"></script>
  68. <!--浮动面板end-->
  69. <!-- 扩展工具js -->
  70. <script type="text/javascript" src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
  71. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  72. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
  73. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/DateUtil.js"></script>
  74. <script type="text/javascript" src="/nwyj/scripts/commom/common/common.js"></script>
  75. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  76. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  77. <!-- <script type="text/javascript" src="/nwyj/scripts/setiframeheight.js"></script> -->
  78. <!-- 模版js和css start-->
  79. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css"
  80. rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
  81. positionTarget="positionContent" selInputHeight="32"
  82. selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
  83. defaultFileInputWidth="200" defaultGridHeaderHeight="34"
  84. defaultGridRowHeight="38" defaultFontSize="12" defaultPageSelWidth="55"
  85. defaultFilterItemHeight="32" dialogWidthFix="0"
  86. defaultSelItemHeight="32" defaultFontFamily="宋体" />
  87. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/pageNumber.js"></script>
  88. <script type="text/javascript" src="/nwyj/scripts/ECM_gridtemplate/changeFormat.js"></script>
  89. <link href="/nwyj/scripts/ECM_gridtemplate/changeFormat.css" rel="stylesheet" type="text/css"/>
  90. <script type="text/javascript" src="../../../scripts/freamwork/com/sinosoft/system/invoking/import_model1.js" charset="UTF-8"></script>
  91. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  92. <link href="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  93. <style type="text/css">
  94. td{
  95. align:center;
  96. }
  97. .query{
  98. position: relative;
  99. top:3px;
  100. }
  101. </style>
  102. <script type="text/javascript">
  103. function more() {
  104. $('#moreDiv').toggle(200,function(){
  105. $(parent.document.body).find("#frmright").height($(window.document.body).height());
  106. clear_msg();
  107. });
  108. /* var show = $("#moreDiv").css("display"); */
  109. /* if(show=="none"){
  110. } */
  111. }
  112. /** 绑定更多的按钮点击事件 */
  113. $more = $("#more"); // 更多按钮
  114. $more.bind('click', function() {
  115. more();
  116. });
  117. function clear_msg(){
  118. $("#emptyCondition").click();
  119. }
  120. var conditionData ={"list":[
  121. {"name":"范本类型","className":"MSG_MODEL_TYPE","list":[
  122. {"key":"全部","value":"0000"},{"key":"短信范本","value":"1"},{"key":"其它范本","value":"2"}
  123. ]},
  124. {"name":"应用范围","className":"MSG_MODEL_RANGE","list":[
  125. {"key":"全部","value":"0000"},{"key":"企业内部","value":"1"},{"key":"部门内部","value":"2"}
  126. ]}
  127. ]};
  128. var dateIconSkin="blue";
  129. $(function(){
  130. try {
  131. dateSkin=themeColor;
  132. }
  133. catch(e){}
  134. //自定义点击触发日期控件
  135. document.getElementById('begintimes').onfocus=function(){
  136. var endtimeTf=$dp.$('endtimes');
  137. WdatePicker({
  138. skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endtimes\')}'
  139. });
  140. }
  141. document.getElementById('endtimes').onfocus=function(){
  142. //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
  143. WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'begintimes\')}'});
  144. }
  145. createConditionsDom(conditionData);
  146. //ul-li列表点击事件
  147. $(".item").unbind("click").bind("click",bindSelectOne);
  148. //输入框绑定事件
  149. $(".Textinput").bind("change",inputChange);
  150. //单个时间框绑定
  151. //$("#conOneId_cssrk3").bind("blur",inputChange);
  152. //双时间框绑定
  153. $("#endTime").bind("blur",function(){var $self = $(this);timeChange($self,"beginTime","endTime")});
  154. });
  155. </script>
  156. </head>
  157. <body style="overflow-y:scroll ; overflow-x:hidden; height:575px;" >
  158. <div position="center" style="border:none;">
  159. <div class="box2" id="searchPanel" statusType="none" style="position: relative; bottom:45px;margin: 10px 0;clear: both;">
  160. <fieldset>
  161. <form id="searchQueryForm" method="post">
  162. <table style="width:100%;">
  163. <tr>
  164. <td>
  165. <input type="text" id="MSG_MODEL_TITLE_919" name="MSG_MODEL_TITLE" onkeyup="check(event)" class="validate[length[0,20],custom[illegalLetter]]" watermark="请输入范本主题"/>
  166. <a id="querys" onclick="finds();"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png"/></a>
  167. <!-- <input type="button" onclick="search();" value="查询" id="querys" /> -->
  168. </td>
  169. <td width="20%" align="right"><a href="javascript:;"><span id="more" onclick="more()" class="more_hide">&nbsp;更多</span></a></td>
  170. </tr>
  171. </table>
  172. <div id="moreDiv" style="display: none;">
  173. <div class="conditions" id="conditions">
  174. <ul>
  175. <li class="condiTitle">范本内容:</li>
  176. <li >
  177. <input type="text" id="MSG_MODEL_CONTENT_919" name="MSG_MODEL_CONTENT" onkeyup="check(event)" class="validate[length[0,20],custom[illegalLetter]] Textinput"/>
  178. </li>
  179. </ul>
  180. <!-- <tr>
  181. <td style="text-align:center;width:5%">范本类型:</td>
  182. <td >
  183. <select id="modelTypes" name="modelTypes" prompt="请选择" data='{"list":[
  184. {"value":"1","key":"短信范本"},
  185. {"value":"2","key":"其它范本"}]}' />
  186. </td>
  187. </tr> -->
  188. <!-- <tr>
  189. <td style="text-align:center;width:5%">应用范围:</td>
  190. <td >
  191. <select id="range" name="range" prompt="请选择" data='{"list":[
  192. {"value":"1","key":"企业内部"},
  193. {"value":"2","key":"部门内部"}]}'/>
  194. </td>
  195. </tr> -->
  196. <ul>
  197. <li class="condiTitle">创建部门:</li>
  198. <li>
  199. <input type="text" id="MSG_MODEL_COMP_919" name="MSG_MODEL_COMP" onkeyup="check(event)" class="validate[length[0,20],custom[illegalLetter]] Textinput
  200. "/>
  201. </li>
  202. </ul>
  203. <ul>
  204. <li class="condiTitle">创建人员:</li>
  205. <li>
  206. <input type="text" id="MSG_MODEL_USER_919" name="REAL_NAME" onkeyup="check(event);" class="validate[length[0,20],custom[illegalLetter]] Textinput"/>
  207. </li>
  208. </ul>
  209. <ul>
  210. <li class="condiTitle">创建时间:</li>
  211. <li>
  212. <input type="text" id="begintimes" class="dateIcon beginTime" name="MSG_MODEL_TIME" dateFmt="yyyy-MM-dd HH:mm:ss" readOnly="readonly"/>
  213. ~
  214. <input type="text" id="endtimes" class="dateIcon endTime" name="MSG_MODEL_TIME" dateFmt="yyyy-MM-dd HH:mm:ss" readOnly="readonly"/>
  215. </li>
  216. </ul>
  217. </div>
  218. </div>
  219. </form>
  220. </fieldset>
  221. </div>
  222. <div class="padding_right5" style="clear: both;">
  223. <div id="maingrid" style="position: relative;bottom:40px;clear: both;"></div>
  224. </div>
  225. </div>
  226. </body>
  227. </html>