商丘市柘城县——前端

policiesDetails.html 9.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <script src="../Script/Common/huayi.load.js"></script>
  6. <script src="../Script/Common/huayi.config.js"></script>
  7. <link rel="stylesheet" href="../css/init.css" />
  8. <title>新版知识库添加</title>
  9. <style type="text/css">
  10. ul,li{
  11. padding: 0;
  12. margin: 0;
  13. list-style: none;
  14. }
  15. .tab_list{
  16. border-bottom: 1px solid #d5d5d5;
  17. }
  18. .tab_list li{
  19. padding: 10px 15px;
  20. float: left;
  21. color: #333333;
  22. font-size: 14px;
  23. position: relative;
  24. }
  25. .tab_list li.active{
  26. color: #19aad0;
  27. }
  28. .tab_list li.active:after{
  29. content: "";
  30. width: 100%;
  31. height: 2px;
  32. background: #19aad0;
  33. position: absolute;
  34. bottom: -1px;
  35. left: 0;
  36. }
  37. .tab_content{
  38. font-size: 14px;
  39. color: #4c4c4c;
  40. padding: 15px 0;
  41. /*text-indent: 28px;*/
  42. }
  43. .tab_content>div{
  44. display: none;
  45. }
  46. .table tr td input[type="text"]{
  47. width: 100%;
  48. height: 30px;
  49. background: #f3f3f4;
  50. border: 0;
  51. outline: none;
  52. }
  53. .radio-inline input[type=radio]{
  54. margin-top: 2px;
  55. }
  56. .table tr td textarea{
  57. width: 100%;
  58. height: 100%;
  59. background: #f3f3f4;
  60. border: 0;
  61. resize: none;
  62. }
  63. #scwj{
  64. background-color: #FFF;
  65. background-image: none;
  66. border: 1px solid #ccc;
  67. border-radius: 1px;
  68. color: inherit;
  69. padding: 6px 12px!important;
  70. }
  71. .files{
  72. padding: 5px!important;
  73. }
  74. .time-box{
  75. position: relative;
  76. width: 197px!important;
  77. height: 34px;
  78. margin: 0;
  79. }
  80. .tub + input {
  81. padding-right: 30px;
  82. border: 1px solid #e5e6e7!important;
  83. }
  84. i.tub {
  85. position: absolute;
  86. right: 8px;
  87. top: 8px;
  88. font-size: 18px;
  89. color: #00a0ca;
  90. }
  91. .tab_content textarea{
  92. display: block;
  93. background: #f3f3f4;
  94. width: 100%;
  95. height: 298px;
  96. box-sizing: border-box;
  97. text-indent: 28px;
  98. }
  99. .tab_content .cons >div{
  100. background: #f3f3f4;
  101. width: 100%;
  102. min-height: 298px;
  103. box-sizing: border-box;
  104. text-indent: 28px;
  105. word-break:break-all;
  106. word-wrap:break-word;
  107. }
  108. .tab_content .cons >div img{
  109. max-width: 100%;
  110. /*width: 95%;
  111. margin: 0 auto;*/
  112. }
  113. .shdetail table{
  114. width: 100%;
  115. line-height: 30px;
  116. text-align: center;
  117. }
  118. </style>
  119. </head>
  120. <body class="gray-bg">
  121. <div class="container-fluid wrapper-content animated fadeInRight">
  122. <table class="table table-bordered table-condensed">
  123. <tr>
  124. <td width="100">文件编号</td>
  125. <td colspan="3"> <input type="text" id="title" readonly="readonly" /></td>
  126. </tr>
  127. <tr>
  128. <td width="100">单位名称</td>
  129. <td colspan="3"> <input type="text" id="maindept" readonly="readonly" /></td>
  130. </tr>
  131. <!--<tr>
  132. <td width="100"> 办公地点</td>
  133. <td colspan="3"><textarea name="" rows="" cols="" id="officeaddress" readonly="readonly"></textarea></td>
  134. </tr>
  135. <tr >
  136. <td rowspan="2" width="100">公开电话</td>
  137. <td> <input type="text" id="publicphone1" readonly="readonly"/></td>
  138. <td rowspan="2" width="100">内部电话</td>
  139. <td> <input type="text" id="privatephone1" readonly="readonly" /></td>
  140. </tr>
  141. <tr>
  142. <td> <input type="text" id="publicphone2" readonly="readonly" /></td>
  143. <td> <input type="text" id="privatephone2" readonly="readonly" /></td>
  144. </tr>
  145. <tr>
  146. <td width="100"> 办理方式</td>
  147. <td><input type="text" id="dealtype" readonly="readonly"/></td>
  148. <td width="100"> 收费标准</td>
  149. <td> <input type="text" id="paymoney" readonly="readonly" /></td>
  150. </tr>
  151. <tr>
  152. <td width="100"> 办理对象</td>
  153. <td><input type="text" id="serobject" readonly="readonly" /></td>
  154. <td width="100"> 乘车路线</td>
  155. <td><textarea name="" rows="" cols=""id="busline" readonly="readonly"></textarea></td>
  156. </tr>
  157. <tr>
  158. <td width="100" height="100"> 备注</td>
  159. <td colspan="3" height="100"><textarea name="" rows="" cols="" id="remark" readonly="readonly"></textarea> </td>
  160. </tr>-->
  161. </table>
  162. <div class="cons">
  163. <div>
  164. <table class="table-bordered table-condensed feilTable" style="width: 100%;">
  165. <thead>
  166. <tr>
  167. <th>文件名称</th>
  168. <th>添加时间</th>
  169. <th>文件大小</th>
  170. </tr>
  171. </thead>
  172. <tbody>
  173. </tbody>
  174. </table>
  175. </div>
  176. </div>
  177. <!--<ul class="tab_list clearfix">
  178. <li class="active">设定依据</li>
  179. <li>办理流程</li>
  180. <li>办理材料</li>
  181. <li>办理结果样本</li>
  182. <li>收费标准及依据</li>
  183. <li>附件</li>
  184. </ul>-->
  185. <!--<div class="tab_content">
  186. <div class="cons">
  187. <div>
  188. <table class="table-bordered table-condensed feilTable" style="width: 100%;">
  189. <thead>
  190. <tr>
  191. <th>文件名称</th>
  192. <th>添加时间</th>
  193. <th>文件大小</th>
  194. </tr>
  195. </thead>
  196. <tbody>
  197. </tbody>
  198. </table>
  199. </div>
  200. </div>
  201. </div>-->
  202. <script src="../js/kindeditor/kindeditor-all-min.js"></script>
  203. <script src="../js/kindeditor/lang/zh-CN.js"></script>
  204. <script src="../js/adjustHeight.js"></script>
  205. <script src="../js/laydate/laydate.js"></script>
  206. <script>
  207. var ids=helper.request.queryString("ids");
  208. $(document).ready(function(){
  209. $.ajax({
  210. type:"get",
  211. url: huayi.config.callcenter_url + "Repository/GetInfo",
  212. async:true,
  213. dataType:'json',
  214. data:{
  215. token: $.cookie("token"),
  216. id:ids
  217. },
  218. success:function(res){
  219. if(res.state.toLowerCase()=='success'){
  220. var con=res.data.data;
  221. $('#key').val(con.F_Key);//关键字
  222. $('#title').val(con.F_Title);//事件名称
  223. $('#maindept').val(con.F_MainDept);//主办单位
  224. $('#publicphone1').val(con.F_PublicPhone1);//公开电话1
  225. $('#publicphone2').val(con.F_PublicPhone2);//公开电话2
  226. $('#privatephone1').val(con.F_PrivatePhone1);//内部电话1
  227. $('#privatephone2').val(con.F_PrivatePhone2);//内部电话2
  228. $('#points').val(con.F_Points);//询问要点
  229. $('#baseanswer').val(con.F_BaseAnswer);//标准话术
  230. $('#endanswer').val(con.F_EndAnswer);//结案参考
  231. $('#dealtype').val(con.F_DealType);//办理方式
  232. $('#legallimittime').val(con.F_LegalLimitTime);//法定办结时限
  233. $('#promiselimittime').val(con.F_PromiseLimitTime);//承诺办结时限
  234. // $('input[name="ispay"]:checked ').val(F_PayMoney);//是否收费
  235. $('input[name="ispay"][value="'+con.F_IsPay+'"]').prop("checked","checked");//是否收费
  236. $('input[name="isUrgency"][value="'+con.F_IsUrgent+'"]').prop("checked","checked"),//是否紧急事项
  237. $('#paymoney').val(con.F_PayMoney);//收费标准
  238. $('#officeaddress').val(con.F_OfficeAddress);//办公地点
  239. $('#serobject').val(con.F_Object);//办理对象
  240. $('#busline').val(con.F_BusLine);//乘车路线
  241. $('#officetime').val(con.F_OfficeTime);//办公时间
  242. $('#otherdept').val(con.F_OtherDept);// 协办单位
  243. $('#otherpublicphone').val(con.F_OtherPublicPhone);// 协办单位公开电话
  244. $('#otherprivatephone').val(con.F_OtherPrivatePhone);//协办单位内部电话
  245. $('#remark').val(con.F_Remark);//备注
  246. // $('#baseon').html(con.F_BaseOn);//设定依据
  247. // $('#process').html(con.F_Process);//办理流程
  248. // $('#material').html(con.F_Material);//办理材料
  249. // $('#template').html(con.F_Template);//办理结果样本
  250. // $('#payinfo').html(con.F_PayInfo);//收费标准及依据
  251. // $('#files').val() //收费标准及依据
  252. console.log()
  253. $(res.data.file).each(function(k,q){
  254. // var strs='<span class="files" fiel-num="'+ q.F_FileId +'">'+ q.F_FileName.substring(19) +'</span>'
  255. var size= (q.F_Size/1024).toFixed(2)
  256. var strs='<tr>'+
  257. '<td><a href="'+ q.F_FileUrl+'" download="test.pdf">'+ q.F_FileName.substring(19) +'</a></td>'+
  258. '<td>'+ q.F_AddTime +'</td>'+
  259. '<td>'+ size +'kb</td>'+
  260. '</tr>'
  261. $(strs).appendTo($('.feilTable tbody'))
  262. })
  263. var shaudit;
  264. $(res.data.shData).each(function(k,q){
  265. if (q.F_ISPass==2) {
  266. shaudit="未通过"
  267. }else if(q.F_ISPass==1){
  268. shaudit="通过"
  269. }
  270. var num=k+1;
  271. var strs='<tr>'+
  272. '<td>'+ num +'</td>'+
  273. '<td>'+ q.F_AuditBy +'</td>'+
  274. '<td>'+ q.F_AuditRemark +'</td>'+
  275. '<td>'+ q.F_CreateOn +'</td>'+
  276. '<td>'+ shaudit +'</td>'+
  277. '</tr>'
  278. $(strs).appendTo($('.SHXX'))
  279. })
  280. }
  281. }
  282. });
  283. })
  284. </script>
  285. </body>
  286. </html>