PingAnYeXianSZCG_Web 前端代码

AddWorkOrder.html 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <link href="../css/init.css" rel="stylesheet" />
  7. <script src="../Script/Common/huayi.load.js"></script>
  8. <script src="../Script/Common/huayi.config.js"></script>
  9. <link rel="stylesheet" href="../css/initialize.css" />
  10. <link rel="stylesheet" href="../css/WorkOrder/AddWorkOrder.css" />
  11. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  12. <title>手工制单</title>
  13. <style>
  14. #xl_box {
  15. width: 170px;
  16. height: 25px;
  17. border: none;
  18. outline: none;
  19. }
  20. #xl_boxs {
  21. width: 170px;
  22. height: 25px;
  23. border: none;
  24. outline: none;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29. <div class="clearfix wrapper wrapper-content animated fadeInRight">
  30. <div class="daoHang clearfix"style="margin-bottom: 20px;">
  31. <div class="dhLeft">
  32. <sapn><i class="syIcon"></i>位置:<a href="javaScript:;" id="ReIndex">首页</a>&gt;<a href="javaScript:;">工单管理</a>&gt;<a href="" style="color: #000;">手工制单</a></sapn>
  33. </div>
  34. </div>
  35. <!--左侧内容-->
  36. <!--右侧内容-->
  37. <div class="ldtp-cr col-sm-12">
  38. <div class="latp_title">
  39. <span>工单信息</span>
  40. </div>
  41. <ul class="ld-service clearfix">
  42. <li style="border-bottom:1px solid #69cbd0;" itemtype="1" class="cr-click">咨询</li>
  43. <!--<li style="border-bottom:1px solid #f95a83;" itemtype="2">保修服务</li>-->
  44. <li style="border-bottom:1px solid #243747;" itemtype="3" >投诉建议</li>
  45. </ul>
  46. <div class="gsxx">
  47. <!--售前咨询-->
  48. <div class="sqzx Shows ">
  49. <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
  50. <tr>
  51. <th>咨询人:</th>
  52. <td colspan="3">
  53. <div class="inpBox">
  54. <input type="text" class="inps " id="zxrs" />
  55. </div>
  56. </td>
  57. <th>咨询电话:</th>
  58. <td>
  59. <div class="inpBox">
  60. <input type="text" class="inps "id="zxdhs" />
  61. </div>
  62. </td>
  63. </tr>
  64. <tr>
  65. <th>咨询内容:</th>
  66. <td colspan="5">
  67. <textarea name="" rows="3" cols="20" id="zxnrs"></textarea>
  68. </td>
  69. </tr>
  70. <tr>
  71. <th>处理内容:</th>
  72. <td colspan="5">
  73. <textarea name="" rows="3" cols="20" id="jdnrs"></textarea>
  74. </td>
  75. </tr>
  76. </table>
  77. <div style="text-align: center;margin-bottom: 17px" >
  78. <input type="button" value="创建" class="btn_ btns Cj" />
  79. </div>
  80. </div>
  81. <!-- 表格二-->
  82. <!--<div class="sqzx">
  83. <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
  84. <tr>
  85. <th>报修类型:</th>
  86. <td>
  87. <div class="inpBox">
  88. <input type="text" class="inps inps2" />
  89. <i class="xl xl_two"></i>
  90. <b class="de_icon">X</b>
  91. <div class="xl_common">
  92. <ul class="xl_box">
  93. <li>测试2</li>
  94. <li>测试3</li>
  95. <li>测试5</li>
  96. <li>测试6</li>
  97. <li>测试</li>
  98. </ul>
  99. </div>
  100. </div>
  101. </td>
  102. <th>报修人:</th>
  103. <td>
  104. <div class="inpBox">
  105. <input type="text" class="inps " />
  106. </div>
  107. </td>
  108. <th>报修人电话:</th>
  109. <td>
  110. <div class="inpBox">
  111. <input type="text" class="inps " />
  112. </div>
  113. </td>
  114. </tr>
  115. <tr>
  116. <th>报修级别:</th>
  117. <td>
  118. <div class="inpBox">
  119. <input type="text" class="inps inps2" />
  120. <i class="xl xl_two"></i>
  121. <b class="de_icon">X</b>
  122. <div class="xl_common">
  123. <ul class="xl_box">
  124. <li>测试2</li>
  125. <li>测试3</li>
  126. <li>测试5</li>
  127. <li>测试6</li>
  128. <li>测试</li>
  129. </ul>
  130. </div>
  131. </div>
  132. </td>
  133. <th>工单处理人:</th>
  134. <td>
  135. <div class="inpBox">
  136. <input type="text" class="inps " />
  137. </div>
  138. </td>
  139. </tr>
  140. <tr>
  141. <th>报修内容:</th>
  142. <td colspan="5">
  143. <textarea name="" rows="3" cols="20"></textarea>
  144. </td>
  145. </tr>
  146. <tr>
  147. <th>报修要求:</th>
  148. <td colspan="5">
  149. <textarea name="" rows="3" cols="20"></textarea>
  150. </td>
  151. </tr>
  152. </table>
  153. <div class="">
  154. <input type="button" value="创建" class="btns" />
  155. <input type="button" value="创建并指派" class="btns" />
  156. <input type="button" value="流转领导" class="btns" />
  157. <input type="button" value="结单" class="btns" />
  158. </div>
  159. </div>-->
  160. <!--表格三-->
  161. <div class="sqzx ">
  162. <table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
  163. <tr>
  164. <th>投诉人:</th>
  165. <td>
  166. <div class="inpBox">
  167. <input type="text" class="inps " id="tskh" />
  168. </div>
  169. </td>
  170. <th>投诉人电话:</th>
  171. <td>
  172. <div class="inpBox">
  173. <input type="text" class="inps " id="tsdh" />
  174. </div>
  175. </td>
  176. </tr>
  177. <tr>
  178. <th>接收部门:</th>
  179. <td>
  180. <div class="inpBox">
  181. <input type="text" class="inps tree" readonly="readonly" id="clbmname" />
  182. <input type="hidden" class="inps " id="clbm" />
  183. <i class="xl"></i>
  184. <b class="de_icon">X</b>
  185. <div class="addTree">
  186. <ul id="clbmtree" class="ztree"></ul>
  187. </div>
  188. </div>
  189. </td>
  190. <th>接收人:</th>
  191. <td colspan="3">
  192. <div class="inpBox">
  193. <input type="text" class="inps select" readonly="readonly" id="clidname" />
  194. <input type="hidden" class="inps " id="clid" />
  195. <i class="xl"></i>
  196. <div class="xl_common">
  197. <ul class="xl_box clid"></ul>
  198. </div>
  199. </div>
  200. </td>
  201. </tr>
  202. <tr>
  203. <th>信息分类:</th>
  204. <td>
  205. <div class="inpBox">
  206. <input type="hidden" id="tslx" />
  207. <i class="xl"></i>
  208. <select name="" id="xl_box">
  209. </select>
  210. </div>
  211. </td>
  212. <th>交办单位:</th>
  213. <td colspan="3">
  214. <div class="inpBox">
  215. <i class="xl"></i>
  216. <select name="" id="xl_boxs">
  217. </select>
  218. </div>
  219. </td>
  220. </tr>
  221. <th>信息审核:</th>
  222. <td>
  223. <span><input type="radio" name="isaudit" value="1"/>无效</span>
  224. <span><input type="radio" name="isaudit" value="2"/>有效</span>
  225. </td>
  226. <tr>
  227. <th>工单内容:</th>
  228. <td colspan="5">
  229. <textarea id="cont" name="" rows="3" cols="20"></textarea>
  230. </td>
  231. </tr>
  232. <tr>
  233. <th>处理内容:</th>
  234. <td colspan="5">
  235. <textarea id="clont" name="" rows="3" cols="20"></textarea>
  236. </td>
  237. </tr>
  238. </table>
  239. <div style="text-align: center; margin-bottom: 17px;">
  240. <input type="button" value="创建" class="addts btns" />
  241. </div>
  242. </div>
  243. </div>
  244. </div>
  245. </div>
  246. <script src="../js/zTree/jquery.ztree.core.js"></script>
  247. <script src="../My97DatePicker/WdatePicker.js"></script>
  248. <script src="../js/WorkOrder/AddWorkOrder.js"></script>
  249. <script>
  250. $.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag?flag=XXFL', {
  251. "token": $.cookie("token")
  252. }, function(result) {
  253. console.log(result.data);
  254. if(result.state.toLowerCase() == "success") {
  255. $('<option value="">请选择</option>').appendTo("#xl_box");
  256. for(var i = 0; i < result.data.length; i++) {
  257. $('<option value="' + result.data[i].F_DictionaryValueId + '">' + result.data[i].F_Name + '</option>').appendTo("#xl_box");
  258. }
  259. }
  260. })
  261. $.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag?flag=JBDW', {
  262. "token": $.cookie("token")
  263. }, function(result) {
  264. if(result.state.toLowerCase() == "success") {
  265. $('<option value="">请选择</option>').appendTo("#xl_boxs");
  266. for(var i = 0; i < result.data.length; i++) {
  267. $('<option value="' + result.data[i].F_DictionaryValueId + '">' + result.data[i].F_Name + '</option>').appendTo("#xl_boxs");
  268. }
  269. }
  270. })
  271. </script>
  272. </body>
  273. </html>