Brak opisu

integratedQuery.html 57KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>综合查询</title>
  6. <script src="../Script/Common/huayi.load.js"></script>
  7. <script src="../Script/Common/huayi.config.js"></script>
  8. <link rel="stylesheet" href="../css/bootstrap-select.css" />
  9. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  10. <link rel="stylesheet" href="../css/init.css" />
  11. <!-- <link rel="stylesheet" href="../css/addappeal.css" /> -->
  12. <style>
  13. #sqzx th {
  14. padding: 5px 8px 5px 0;
  15. text-align: right;
  16. }
  17. input {
  18. background-color: #fff;
  19. background-image: none;
  20. border: 1px solid #ccc;
  21. border-radius: 1px;
  22. color: inherit;
  23. padding: 6px 12px;
  24. }
  25. #sqzx td {
  26. padding: 6px 0 5px 10px;
  27. }
  28. .lxr ul li {
  29. float: left;
  30. list-style: none;
  31. width: 30%;
  32. margin-bottom: 5px;
  33. padding-top: 10px;
  34. }
  35. .clearFix:after {
  36. content: "";
  37. display: block;
  38. clear: both;
  39. }
  40. .form-group {
  41. padding-left: 40px;
  42. margin-bottom: 0;
  43. }
  44. textarea {
  45. height: 70px;
  46. border: 1px solid #ccc;
  47. border-radius: 1px;
  48. width: 50%;
  49. resize: none;
  50. }
  51. .textarea_box {
  52. margin-top: 10px;
  53. }
  54. .box_content {
  55. border-bottom: 1px solid #ccc;
  56. }
  57. .tj_content {
  58. border: 1px solid #e6e6e6;
  59. border-radius: 5px;
  60. }
  61. .t-shade {
  62. position: fixed;
  63. top: 0;
  64. left: 0;
  65. width: 100%;
  66. background: rgba(0, 0, 0, 0.48);
  67. z-index: 10004;
  68. display: none;
  69. }
  70. .lyxz .shade_k {
  71. z-index: 10005;
  72. width: 40%;
  73. left: 30%;
  74. position: absolute;
  75. background-color: rgb(255, 255, 255);
  76. box-shadow: rgba(0, 0, 0, 0.298039) 1px 1px 50px;
  77. margin: 20% auto;
  78. border-radius: 5px;
  79. }
  80. .shade_title {
  81. padding: 0 80px 0 20px;
  82. height: 42px;
  83. line-height: 42px;
  84. border-bottom: 1px solid #eee;
  85. font-size: 16px;
  86. color: #ffffff;
  87. overflow: hidden;
  88. background-color: #00a1cb;
  89. border-radius: 2px 2px 0 0;
  90. position: relative;
  91. border-top-left-radius: 5px;
  92. border-top-right-radius: 5px;
  93. }
  94. .cx {
  95. display: block;
  96. }
  97. .setwin {
  98. position: absolute;
  99. right: 15px;
  100. top: 5px;
  101. font-size: 0;
  102. line-height: initial;
  103. }
  104. .setwin a {
  105. position: relative;
  106. width: 16px;
  107. height: 16px;
  108. font-size: 20px;
  109. color: #fff;
  110. }
  111. .xg i {
  112. font-size: 16px;
  113. }
  114. .hidens {
  115. display: none;
  116. }
  117. .inpBox {
  118. /* border: 1px solid #cccccc; */
  119. width: 100%;
  120. display: inline-block;
  121. position: relative;
  122. vertical-align: middle;
  123. position: absolute;
  124. padding: 6px 0 5px 10px;
  125. left: 0px;
  126. top: 0px;
  127. z-index: 111;
  128. }
  129. .selDpart1 {
  130. position: absolute;
  131. left: 10px;
  132. top: 33px;
  133. z-index: 11111;
  134. width: 220px;
  135. line-height: 30px;
  136. background: #ffffff;
  137. display: none;
  138. }
  139. #sponsor {
  140. width: 218px;
  141. border: 1px solid #00a1cb;
  142. margin: 0;
  143. padding: 0;
  144. list-style: none;
  145. max-height: 212px;
  146. overflow-x: hidden;
  147. overflow-y: scroll;
  148. }
  149. #sponsor li {
  150. margin: 0;
  151. padding-left: 10px;
  152. width: 220px;
  153. height: 30px;
  154. line-height: 30px;
  155. list-style: none;
  156. }
  157. #sponsor li:hover {
  158. background: #00a1cb;
  159. }
  160. .addTree,
  161. .addTreeReactionCategory {
  162. background: #fff;
  163. position: absolute;
  164. width: 95%;
  165. border: 1px solid darkgrey;
  166. left: 10px;
  167. top: 33px;
  168. display: none;
  169. z-index: 222;
  170. }
  171. .ztree li span {
  172. border: none;
  173. padding: 0;
  174. }
  175. .inps,
  176. .inpsReactionCategory {
  177. width: 100%;
  178. height: 33px;
  179. outline: none;
  180. border: 0;
  181. border-image-width: 0;
  182. padding: 0;
  183. padding-left: 3px;
  184. }
  185. .xl,
  186. .xlReactionCategory {
  187. display: inline-block;
  188. background: url(../img/dropDown.png) no-repeat;
  189. height: 100%;
  190. background-position: center center;
  191. width: 20px;
  192. position: absolute;
  193. right: 0;
  194. top: 0px;
  195. /* background-color: #f7bc8b; */
  196. cursor: pointer;
  197. }
  198. .Cleans,
  199. .CleansReactionCategory {
  200. display: inline-block;
  201. width: 20px;
  202. position: absolute;
  203. right: 21px;
  204. top: 14px;
  205. display: none;
  206. }
  207. .Min-width {
  208. display: inline-block;
  209. width: 280px;
  210. margin-right: 30px;
  211. }
  212. .btn-default {
  213. background: #ffffff;
  214. color: #000000;
  215. }
  216. .nameJustified {
  217. width: 5em;
  218. display: inline-block;
  219. text-align: justify;
  220. text-align-last: justify;
  221. }
  222. </style>
  223. </head>
  224. <body class="gray-bg">
  225. <div class="wrapper wrapper-content animated fadeInRight">
  226. <div class="daoHang clearfix">
  227. <div class="dhLeft">
  228. <sapn>
  229. <i class="syIcon"></i>位置:
  230. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  231. <a href="javaScript:;">综合查询</a>&gt;
  232. <a href="" class="nowPosition">综合查询</a>
  233. </sapn>
  234. </div>
  235. <div class="dhRight">
  236. <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
  237. </div>
  238. </div>
  239. <div style="padding: 10px" class="tj_content clearFix">
  240. <div style="padding: 10px" class="tj_content clearFix">
  241. <div>
  242. <span>【搜索信息】</span>
  243. <div class="box_content">
  244. <table id="sqzx" style="width: 100%" border="0" cellspacing="0" cellpadding="0">
  245. <tr>
  246. <th>工单来源:</th>
  247. <td>
  248. <select class="form-control" id="source"></select>
  249. </td>
  250. <th>来电号码:</th>
  251. <td>
  252. <input type="text" id="tel" class="form-control" placeholder="请输入来电号码" />
  253. </td>
  254. <th>来电时间:</th>
  255. <td colspan="3">
  256. <input id="starttime" class="photo x-color laydate-icon" type="text"
  257. autocomplete="off" style="height: 35px;" />-<input id="endtime"
  258. class="photo x-color laydate-icon" type="text" autocomplete="off"
  259. style="height: 35px;" />
  260. </td>
  261. </tr>
  262. <tr>
  263. <th>事项编号:</th>
  264. <td>
  265. <input type="text" placeholder="输入工单号" id="wids" class="form-control" />
  266. </td>
  267. <th><span class="nameJustified">来电人:</span></th>
  268. <td>
  269. <input type="text" id="name" class="form-control" autocomplete="off" />
  270. </td>
  271. <th>办理时间:</th>
  272. <td colspan="3">
  273. <input id="dealstarttime" class="photo x-color laydate-icon" type="text"
  274. autocomplete="off" style="height: 35px;" />-<input id="dealstrendtime"
  275. class="photo x-color laydate-icon" type="text" autocomplete="off"
  276. style="height: 35px;" />
  277. </td>
  278. </tr>
  279. <tr>
  280. <th>工单标题:</th>
  281. <td>
  282. <input type="text" placeholder="输入工单标题" id="workOrderTitle" class="form-control" />
  283. </td>
  284. <th>受话坐席:</th>
  285. <td>
  286. <select id="ZX" name="select" class="selectpicker show-tick form-control" multiple
  287. data-live-search="true">
  288. <option value="">请选择坐席</option>
  289. </select>
  290. </td>
  291. <th>反映区域:</th>
  292. <td>
  293. <select class="form-control Min-width" id="sourceAreas"></select>
  294. </td>
  295. </tr>
  296. <tr>
  297. <th>来电内容:</th>
  298. <td>
  299. <input type="text" placeholder="输入来电内容" id="workOrderContent"
  300. class="form-control" />
  301. </td>
  302. <th><span class="nameJustified">审核员:</span></th>
  303. <td>
  304. <select id="yardman" name="select" class="selectpicker show-tick form-control"
  305. multiple data-live-search="true">
  306. <option value="">
  307. 请选择调度员
  308. </option>
  309. </select>
  310. </td>
  311. <th>处理类型:</th>
  312. <td>
  313. <select class="form-control Min-width" id="dealtype">
  314. <option value="">请选择</option>
  315. <option value="0">网络转派</option>
  316. <option value="1">当即办理</option>
  317. <option value="2">三方通话</option>
  318. </select>
  319. </td>
  320. </tr>
  321. <tr>
  322. <th>办理结果:</th>
  323. <td>
  324. <input type="text" placeholder="输入办理结果" id="workOrderProcessingResult"
  325. class="form-control" />
  326. </td>
  327. <th>工单状态:</th>
  328. <td>
  329. <select name="" id="state" class="form-control">
  330. <option selected="selected" value="">
  331. 请选择
  332. </option>
  333. <option value="0">新工单</option>
  334. <option value="1">待交办</option>
  335. <!-- <option value="10">待审核</option> -->
  336. <option value="2">待查收</option>
  337. <option value="3">
  338. 退回审核中
  339. </option>
  340. <option value="4">办理中</option>
  341. <option value="5">
  342. 延时审核中
  343. </option>
  344. <option value="6">已办理</option>
  345. <!-- <option value="7">已回访</option> -->
  346. <option value="11">
  347. 重办待交办
  348. </option>
  349. <option value="13">重办驳回</option>
  350. <option value="8">重办中</option>
  351. <option value="9">已结案</option>
  352. </select>
  353. </td>
  354. <th>来电类型:</th>
  355. <td>
  356. <select class="form-control Min-width" id="type"></select>
  357. <botton class="btns Seach">搜索</botton>
  358. </td>
  359. </tr>
  360. <tr>
  361. <th>承办单位:</th>
  362. <td style="position: relative">
  363. <div class="inpBox">
  364. <input type="text" class="inps" onkeyup="darptSearch()" />
  365. <i class="Cleans fa fa-close"></i>
  366. <i class="xl xl_one"></i>
  367. <div class="addTree xlAdd">
  368. <ul id="addTreeDemo" class="ztree"></ul>
  369. </div>
  370. </div>
  371. <div class="selDpart1">
  372. <ul id="sponsor"></ul>
  373. </div>
  374. </td>
  375. <th>反映类别:</th>
  376. <td style="position: relative;">
  377. <div class="inpBox">
  378. <input type="text" class="inpsReactionCategory" />
  379. <input type="hidden" id="keyid" />
  380. <i class="CleansReactionCategory fa fa-close"></i>
  381. <i class="xlReactionCategory xl_one"></i>
  382. <div class="addTreeReactionCategory xlAddReactionCategory">
  383. <ul id="addTreeDemoReactionCategory" class="ztree"></ul>
  384. </div>
  385. </div>
  386. </td>
  387. <th>是否公开:</th>
  388. <td>
  389. <select id="isopen" class="form-control Min-width" name="select">
  390. <option value="">
  391. 请选择是否公开
  392. </option>
  393. <option value="0">
  394. 未公开
  395. </option>
  396. <option value="1">
  397. 已公开
  398. </option>
  399. </select>
  400. <botton class="btns exportFile">导出</botton>
  401. </td>
  402. </tr>
  403. <tr>
  404. <th>三方通话:</th>
  405. <td>
  406. <select id="threeWayCall" class="form-control" name="select">
  407. <option value="">
  408. 请选择是否三方通话
  409. </option>
  410. <option value="1">
  411. </option>
  412. <option value="0">
  413. </option>
  414. </select>
  415. </td>
  416. <th>分管领导:</th>
  417. <td>
  418. <select id="leaderCharge" class="form-control" name="select">
  419. <option value="">
  420. 请选择
  421. </option>
  422. <option value="省长">
  423. 省长
  424. </option>
  425. <option value="市长">
  426. 市长
  427. </option>
  428. </select>
  429. </td>
  430. <th>查询类型:</th>
  431. <td>
  432. <select id="islike" class="form-control Min-width" name="select">
  433. <option value="1">
  434. 模糊查询
  435. </option>
  436. <option value="0">
  437. 精确查询
  438. </option>
  439. </select>
  440. </td>
  441. </tr>
  442. </table>
  443. </div>
  444. </div>
  445. <div>
  446. <div style="width: 100%; padding: 10px">
  447. <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams"
  448. data-pagination="true">
  449. <thead>
  450. <tr>
  451. <th data-formatter="serialNumber" data-align="center">
  452. 序号
  453. </th>
  454. <th data-field="F_WorkOrderId" data-formatter="View" data-align="center">
  455. 工单单号
  456. </th>
  457. <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">
  458. 诉求标题
  459. </th>
  460. <th data-field="DeptName" data-align="center">
  461. 承办单位
  462. </th>
  463. <!-- <th data-field="OtherDeptName" data-align="center">
  464. 协办单位
  465. </th> -->
  466. <th data-field="UserName" data-align="center">
  467. 受理人
  468. </th>
  469. <th data-field="F_WorkState" data-align="center" data-formatter="States">
  470. 办理状态
  471. </th>
  472. <th data-field="OverState" data-formatter="OverTime" data-align="center">
  473. 时限
  474. </th>
  475. <th data-field="LimitTime" data-formatter="BanTime" data-align="center">
  476. 办理时限
  477. </th>
  478. <th data-field="FilePath" data-formatter="setCode" data-align="center">
  479. 录音
  480. </th>
  481. <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">
  482. 操作
  483. </th>
  484. </tr>
  485. </thead>
  486. <tbody class="list"></tbody>
  487. </table>
  488. </div>
  489. </div>
  490. </div>
  491. </div>
  492. <!--下载框-->
  493. <div class="t-shade lyxz">
  494. <div class="shade_k">
  495. <div class="shade_title">
  496. <span>录音播放与下载<srong class="cknum"></srong></span>
  497. <span class="setwin gbly"><a>x</a></span>
  498. </div>
  499. <div class="shade_content">
  500. <div class="Ly_box audiojs"></div>
  501. </div>
  502. </div>
  503. </div>
  504. <input type="hidden" id="PID" />
  505. <input type="hidden" id="Dpment" />
  506. </div>
  507. <script src="../js/bootstrap-select.js"></script>
  508. <script src="../css/laydate/laydate.js"></script>
  509. <script src="../My97DatePicker/WdatePicker.js"></script>
  510. <script src="../js/zTree/jquery.ztree.core.js"></script>
  511. <script src="../js/search/screen.js"></script>
  512. <script src="../js/WorkOrder/WorkOrderList.js"></script>
  513. <script>
  514. $(document).ready(function () {
  515. var wid = helper.request.queryString("wid");
  516. if (wid) {
  517. $("#tel").val(wid);
  518. load();
  519. }
  520. laydate.skin('blue');
  521. laydate({
  522. elem: '#starttime',
  523. event: 'focus',
  524. istime: true,
  525. format: 'YYYY-MM-DD hh:mm:ss'
  526. });
  527. laydate({
  528. elem: '#endtime',
  529. event: 'focus',
  530. istime: true,
  531. format: 'YYYY-MM-DD hh:mm:ss'
  532. });
  533. laydate({
  534. elem: '#dealstarttime',
  535. event: 'focus',
  536. istime: true,
  537. format: 'YYYY-MM-DD hh:mm:ss'
  538. });
  539. laydate({
  540. elem: '#dealstrendtime',
  541. event: 'focus',
  542. istime: true,
  543. format: 'YYYY-MM-DD hh:mm:ss'
  544. });
  545. load();
  546. });
  547. //关闭录音弹出
  548. $(".gbly").click(function () {
  549. $(".lyxz").removeClass("cx");
  550. $("audio")[0].pause();
  551. });
  552. $("#orderlist").on("click-row.bs.table", function (e, row, ele) {
  553. $(".success").removeClass("success"); //去除之前选中的行的,选中样式
  554. $(ele).addClass("success"); //添加当前选中的 success样式用于区别
  555. });
  556. //获取查询信息
  557. function load() {
  558. //坐席
  559. var usercodeID = "";
  560. var usercode_ = $("#ZX").val(); //坐席
  561. if (usercode_ != null) {
  562. $(usercode_).each(function (i, n) {
  563. var obj1 = "";
  564. obj1 = n + ",";
  565. usercodeID += obj1;
  566. });
  567. } else {
  568. usercodeID = "";
  569. }
  570. // 调度员
  571. var ddusercodeID = "";
  572. var ddusercode_ = $("#yardman").val(); //坐席
  573. if (ddusercode_ != null) {
  574. $(ddusercode_).each(function (i, n) {
  575. var obj2 = "";
  576. obj2 = n + ",";
  577. ddusercodeID += obj2;
  578. });
  579. } else {
  580. ddusercodeID = "";
  581. }
  582. //三方通话
  583. var threeWayCall;
  584. if ($("#dealtype").val() === "2") {
  585. threeWayCall = 1
  586. } else {
  587. threeWayCall = 0
  588. }
  589. //先销毁表格
  590. $("#orderlist").bootstrapTable("destroy");
  591. //初始化表格,动态从服务器加载数据
  592. $("#orderlist").bootstrapTable({
  593. method: "get", //使用get请求到服务器获取数据
  594. url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
  595. contentType: "application/x-www-form-urlencoded",
  596. striped: true, //表格显示条纹
  597. pagination: true, //启动分页
  598. pageSize: 10, //每页显示的记录数
  599. pageNumber: 1, //当前第几页
  600. pageList: [10, 20, 50, 100], //记录数可选列表
  601. search: false, //是否启用查询
  602. showColumns: false, //显示下拉框勾选要显示的列
  603. showRefresh: false, //显示刷新按钮
  604. sidePagination: "server", //表示服务端请求
  605. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  606. //设置为limit可以获取limit, offset, search, sort, order
  607. queryParamsType: "undefined",
  608. queryParams: function queryParams(params) {
  609. //设置查询参数
  610. //alert(params.pageNumber)
  611. var param = {
  612. page: params.pageNumber,
  613. pagesize: params.pageSize,
  614. workid: $("#wids").val().replace(/\s+/g, ""),
  615. state: $("#state").val(), //=工单状态
  616. type: $("#type").val(), //=工单类型
  617. //bigtype: $("#bigtype").val(), //=大类别
  618. //smalltype: $("#smalltype").val(), //=小类别
  619. key: $("#key").val(), //=关键字
  620. tel: $("#tel").val().replace(/\s+/g, ""), //=客户电话
  621. name: $("#name").val().replace(/\s+/g, ""), //=客户名称
  622. usercode: usercodeID, //=坐席工号
  623. ddusercode: ddusercodeID,
  624. keyid: $("#keyid").val(), //=关键词id
  625. source: $("#source").val(), //=来源&
  626. starttime: $("#starttime").val(), //=开始时间
  627. endtime: $("#endtime").val(), //=结束时间
  628. deptid: $("#PID").val(),
  629. type: $("#type").val(),
  630. dealtype: $("#dealtype").val(),
  631. business: threeWayCall,
  632. sourcearea: $("#sourceAreas").val(), // 区域
  633. ComTitle: $("#workOrderTitle").val().replace(/\s+/g, ""), // 工单标题
  634. ComContent: $("#workOrderContent").val().replace(/\s+/g, ""), // 工单内容
  635. Result: $("#workOrderProcessingResult").val().replace(/\s+/g, ""), // 办理结果
  636. dealstarttime: $("#dealstarttime").val(), //办理开始时间
  637. dealstrendtime: $("#dealstrendtime").val(), //办理结束时间
  638. isopen: $("#isopen").val(),
  639. business: $("#threeWayCall").val(), // 三方通话
  640. splituser: $("#leaderCharge").val(), // 分管领导
  641. islike: $("#islike").val(), // 查询类型
  642. comprehensive: 1,
  643. token: $.cookie("token"),
  644. };
  645. return param;
  646. },
  647. onLoadSuccess: function (data) {
  648. //加载成功时执行
  649. // layer.msg("加载成功");
  650. //console.log(data);
  651. },
  652. onLoadError: function () {
  653. //加载失败时执行
  654. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  655. },
  656. });
  657. }
  658. //状态
  659. function States(val, row) {
  660. var html = "";
  661. switch (val + "") {
  662. case "0":
  663. html = "新工单";
  664. if (row.F_IsReturn == 1) {
  665. html = "新工单(回退)";
  666. }
  667. break;
  668. case "1":
  669. html = "待交办";
  670. break;
  671. case "2":
  672. html = '<span style="color:#FF0000;">待查收</span>';
  673. break;
  674. case "3":
  675. html = "退回审核中";
  676. break;
  677. case "4":
  678. html = "办理中";
  679. break;
  680. case "5":
  681. html = "延时审核";
  682. break;
  683. case "6":
  684. if (row.F_IsProtect === 2 || row.F_IsProtect === 3) {
  685. html = "已办未果"
  686. } else {
  687. html = "已办理";
  688. }
  689. break;
  690. case "7":
  691. html = "已回访";
  692. break;
  693. case "8":
  694. html = "重办中";
  695. break;
  696. case "9":
  697. html = "已结案";
  698. break;
  699. case "10":
  700. html = "待审核";
  701. break;
  702. case "11":
  703. html = "重办待交办";
  704. break;
  705. // case '12':
  706. // html = '待审核';
  707. // break;
  708. case "13":
  709. html = "重办驳回";
  710. break;
  711. }
  712. return html;
  713. }
  714. //音频
  715. function setCode(val) {
  716. if (val) {
  717. return (
  718. '<div class="imgs" style="cursor: pointer;">' +
  719. '<img src="../img/vice.png" alt="" onclick= "helper.luyin.view(this)" item="' +
  720. val +
  721. '" />' +
  722. "</div>"
  723. );
  724. } else {
  725. return "";
  726. }
  727. }
  728. //编号
  729. function serialNumber(val, row, index) {
  730. return index + 1;
  731. }
  732. function GetCont(val) {
  733. if (val) {
  734. var str = "<div ";
  735. if (val.length > 10) {
  736. str = str + ' title="' + val + '" ';
  737. val = val.substr(0, 10) + "...";
  738. }
  739. return str + ">" + val + "</div>";
  740. } else {
  741. return "";
  742. }
  743. }
  744. //操作
  745. function Dispose(val, row) {
  746. var Rows = row.Buttons;
  747. var html = "";
  748. for (var i = 0; i < Rows.length; i++) {
  749. var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
  750. if (html1) {
  751. html1 = html1.replace("data", val);
  752. html1 = html1.replace("isProtect", row.F_IsProtect);
  753. html1 = html1.replace("row", row.F_MainDeptId);
  754. }
  755. html += html1;
  756. }
  757. return html;
  758. }
  759. //查看详情
  760. function ckxq(str) {
  761. layer.open({
  762. type: 2,
  763. // content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条
  764. content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
  765. title: "工单详情",
  766. area: ["100%", "100%"], //宽高
  767. });
  768. }
  769. //时限
  770. function OverTime(val, row) {
  771. if (val == 1) {
  772. return (
  773. '<div class="" style="cursor: pointer;">' +
  774. '<span class="Greens">' +
  775. row.GapTime +
  776. "</span>" +
  777. "</div>"
  778. );
  779. } else if (val == 2) {
  780. return (
  781. '<div class="" style="cursor: pointer;">' +
  782. '<span class="Yellows">' +
  783. row.GapTime +
  784. "</span>" +
  785. "</div>"
  786. );
  787. } else if (val == 3) {
  788. return (
  789. '<div class="" style="cursor: pointer;">' +
  790. '<span class="Reds">' +
  791. row.GapTime +
  792. "</span>" +
  793. "</div>"
  794. );
  795. }
  796. }
  797. //办理时限
  798. function BanTime(val) {
  799. if (val) {
  800. var time = val.substring(0, val.indexOf(" "));
  801. return (
  802. '<div class="" style="cursor: pointer;">' +
  803. "<span>" +
  804. time +
  805. "</span>" +
  806. "</div>"
  807. );
  808. }
  809. }
  810. //派单
  811. function pd(str) {
  812. layer.open({
  813. type: 2,
  814. content: "../CommonHtml/handle.html?wid=" + str, //iframe的url,no代表不显示滚动条
  815. title: "办理工单",
  816. area: ["87%", "80%"], //宽高
  817. });
  818. }
  819. //处理审核
  820. function auditdeal(str) {
  821. layer.open({
  822. type: 2,
  823. content: "../CommonHtml/processing_audit.html?wid=" + str, //iframe的url,no代表不显示滚动条
  824. title: "处理审核",
  825. area: ["80%", "80%"], //宽高
  826. });
  827. }
  828. //编辑
  829. function bj(str) {
  830. layer.open({
  831. type: 2,
  832. content: "../CommonHtml/AddAppeal.html?wid=" + str, //iframe的url,no代表不显示滚动条
  833. title: "编辑工单",
  834. area: ["96%", "80%"], //宽高
  835. });
  836. }
  837. //删除
  838. function move(str) {
  839. layer.confirm(
  840. "确定删除工单?", {
  841. btn: ["是", "否"], //按钮
  842. },
  843. function () {
  844. $.post(
  845. huayi.config.callcenter_url +
  846. "WorkOrder/DelWorkOrder", {
  847. ids: str,
  848. token: $.cookie("token"),
  849. },
  850. function (result) {
  851. result = JSON.parse(result);
  852. if (result.state.toLowerCase() == "success") {
  853. debugger;
  854. layer.msg("删除成功");
  855. $("#orderlist").bootstrapTable("refresh");
  856. }
  857. }
  858. );
  859. }
  860. );
  861. }
  862. //提交
  863. function tj(str) {
  864. layer.confirm(
  865. "确定要提交工单么?", {
  866. btn: ["确定", "取消"], //按钮
  867. },
  868. function () {
  869. //请求后台数据
  870. /*发送请求*/
  871. $.post(
  872. huayi.config.callcenter_url +
  873. "WorkOrder/SubmitWorkOrder", {
  874. ids: str,
  875. token: $.cookie("token"),
  876. },
  877. function (result) {
  878. result = JSON.parse(result);
  879. if (result.state.toLowerCase() == "success") {
  880. layer.msg("提交成功");
  881. $("#orderlist").bootstrapTable("refresh");
  882. //load();
  883. }
  884. }
  885. );
  886. }
  887. );
  888. }
  889. //交办
  890. function jb(str) {
  891. layer.open({
  892. type: 2,
  893. content: "../CommonHtml/jiaoban.html?wid=" + str, //iframe的url,no代表不显示滚动条
  894. title: "工单交办",
  895. area: ["87%", "80%"], //宽高
  896. });
  897. }
  898. //领导批示
  899. function lader(str) {
  900. layer.open({
  901. type: 2,
  902. content: "../CommonHtml/Leader.html?wid=" + str, //iframe的url,no代表不显示滚动条
  903. title: "领导批示",
  904. area: ["60%", "80%"], //宽高
  905. });
  906. }
  907. //市长批示
  908. function city(str) {
  909. layer.open({
  910. type: 2,
  911. content: "../CommonHtml/shizhang.html?wid=" + str, //iframe的url,no代表不显示滚动条
  912. title: "市长批示",
  913. area: ["60%", "80%"], //宽高
  914. });
  915. }
  916. //办理
  917. function bl(str, isProtect) {
  918. layer.open({
  919. type: 2,
  920. content: "../CommonHtml/banli.html?wid=" +
  921. str +
  922. "&isProtect=" +
  923. isProtect, //iframe的url,no代表不显示滚动条
  924. title: "办理工单",
  925. area: ["60%", "80%"], //宽高
  926. });
  927. }
  928. //督办
  929. function Supervision(str) {
  930. layer.open({
  931. type: 2,
  932. content: "../CommonHtml/Supervision_.html?wid=" +
  933. str +
  934. "&type=1", //iframe的url,no代表不显示滚动条
  935. title: "督办",
  936. area: ["60%", "80%"], //宽高
  937. });
  938. }
  939. //督查
  940. function Supervision_(str) {
  941. layer.open({
  942. type: 2,
  943. content: "../CommonHtml/Supervision_.html?wid=" +
  944. str +
  945. "&type=2", //iframe的url,no代表不显示滚动条
  946. title: "监察",
  947. area: ["60%", "80%"], //宽高
  948. });
  949. }
  950. //审核
  951. function audit(str) {
  952. layer.open({
  953. type: 2,
  954. content: "../CommonHtml/AuditDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
  955. title: "审核",
  956. area: ["60%", "80%"], //宽高
  957. });
  958. }
  959. //转督办
  960. function zdb(str, row) {
  961. layer.open({
  962. type: 2,
  963. content: "../CommonHtml/superTrunl.html?wid=" +
  964. str +
  965. "&depId=" +
  966. row, //iframe的url,no代表不显示滚动条
  967. title: "督办工单",
  968. area: ["60%", "80%"], //宽高
  969. });
  970. }
  971. //不督办
  972. function ndb(str) {
  973. layer.confirm(
  974. "确定督办吗?", {
  975. btn: ["是", "否"], //按钮
  976. },
  977. function () {
  978. $.post(
  979. huayi.config.callcenter_url +
  980. "WorkOrder/RemindWorkOrder", {
  981. workorderid: str,
  982. type: 1,
  983. state: 2,
  984. token: $.cookie("token"),
  985. },
  986. function (result) {
  987. result = JSON.parse(result);
  988. if (result.state.toLowerCase() == "success") {
  989. layer.msg("操作成功");
  990. //load();
  991. $("#orderlist").bootstrapTable("refresh");
  992. }
  993. }
  994. );
  995. }
  996. );
  997. }
  998. //强制结案
  999. function StrongLawsuit(str) {
  1000. layer.open({
  1001. type: 2,
  1002. content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1003. title: "强制结案",
  1004. area: ["60%", "80%"], //宽高
  1005. });
  1006. }
  1007. //回退BackDtail
  1008. function BackDtail(str) {
  1009. layer.open({
  1010. type: 2,
  1011. content: "../CommonHtml/BackDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1012. title: "工单督办",
  1013. area: ["60%", "80%"], //宽高
  1014. });
  1015. }
  1016. //查收
  1017. function cs(str) {
  1018. layer.confirm(
  1019. "确定要查收?", {
  1020. btn: ["是", "否"], //按钮
  1021. },
  1022. function () {
  1023. $.post(
  1024. huayi.config.callcenter_url +
  1025. "WorkOrder/ReceiveWorkOrder", {
  1026. workorderid: str,
  1027. token: $.cookie("token"),
  1028. },
  1029. function (result) {
  1030. result = JSON.parse(result);
  1031. if (result.state.toLowerCase() == "success") {
  1032. layer.msg("查收成功");
  1033. //load();
  1034. $("#orderlist").bootstrapTable("refresh");
  1035. }
  1036. }
  1037. );
  1038. }
  1039. );
  1040. }
  1041. //收回
  1042. function sh(str) {
  1043. layer.confirm(
  1044. "确定要回收?", {
  1045. btn: ["是", "否"], //按钮
  1046. },
  1047. function () {
  1048. $.post(
  1049. huayi.config.callcenter_url +
  1050. "WorkOrder/TakeBackWorkOrder", {
  1051. workorderid: str,
  1052. token: $.cookie("token"),
  1053. },
  1054. function (result) {
  1055. result = JSON.parse(result);
  1056. if (result.state.toLowerCase() == "success") {
  1057. layer.msg("回收");
  1058. //load();
  1059. $("#orderlist").bootstrapTable("refresh");
  1060. }
  1061. }
  1062. );
  1063. }
  1064. );
  1065. }
  1066. //强制回收
  1067. function recycles() {
  1068. layer.confirm("确定要强制退回吗?", {
  1069. btn: ["是", "否"], //按钮
  1070. });
  1071. }
  1072. //审核退回申请
  1073. function shth(str) {
  1074. layer.open({
  1075. type: 2,
  1076. content: "../CommonHtml/shth.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1077. title: "审核退回申请",
  1078. area: ["60%", "80%"], //宽高
  1079. });
  1080. }
  1081. //申请延时
  1082. function ys(str) {
  1083. layer.open({
  1084. type: 2,
  1085. content: "../CommonHtml/Timesq.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1086. title: "申请延时",
  1087. area: ["60%", "80%"], //宽高
  1088. });
  1089. }
  1090. //审核申请延时
  1091. function shys(str) {
  1092. layer.open({
  1093. type: 2,
  1094. content: "../CommonHtml/shTime.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1095. title: "审核延时申请",
  1096. area: ["60%", "80%"], //宽高
  1097. });
  1098. }
  1099. //审核
  1100. function hf(str) {
  1101. layer.open({
  1102. type: 2,
  1103. content: "../CommonHtml/Back.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1104. title: "工单审核",
  1105. area: ["60%", "80%"], //宽高
  1106. });
  1107. }
  1108. //重办工单
  1109. function cb(str) {
  1110. layer.open({
  1111. type: 2,
  1112. content: "../CommonHtml/Cb.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1113. title: "重办工单",
  1114. area: ["60%", "80%"], //宽高
  1115. });
  1116. }
  1117. //提交重办
  1118. function bhcb(str) {
  1119. //回退BackDtail
  1120. layer.open({
  1121. type: 2,
  1122. content: "../CommonHtml/rejectionCB.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1123. title: "驳回重办",
  1124. area: ["60%", "80%"], //宽高
  1125. });
  1126. }
  1127. //提交重办
  1128. function tjcb(str) {
  1129. layer.open({
  1130. type: 2,
  1131. content: "../CommonHtml/reasonCB.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1132. title: "提交重办",
  1133. area: ["50%", "40%"], //宽高
  1134. });
  1135. // layer.confirm('确认提交重办吗?', {
  1136. // btn: ['是', '否'] //按钮
  1137. // }, function () {
  1138. // $.post(huayi.config.callcenter_url + 'WorkOrder/SubReloadWorkOrder', {
  1139. // ids: str,
  1140. // "token": $.cookie("token")
  1141. // }, function(result) {
  1142. // result = JSON.parse(result);
  1143. // if(result.state.toLowerCase() == "success") {
  1144. // layer.msg("操作成功");
  1145. // //load();
  1146. // $("#orderlist").bootstrapTable('refresh');
  1147. // }
  1148. // })
  1149. // });
  1150. }
  1151. //结案
  1152. function Lawsuit(str) {
  1153. layer.open({
  1154. type: 2,
  1155. content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1156. title: "诉求单结案",
  1157. area: ["60%", "80%"], //宽高
  1158. });
  1159. }
  1160. //退回
  1161. function returnRedo(str) {
  1162. layer.open({
  1163. type: 2,
  1164. content: "../CommonHtml/returnRedo.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1165. title: "退回",
  1166. area: ["50%", "40%"], //宽高
  1167. });
  1168. }
  1169. //退回
  1170. function returnAuditor(str) {
  1171. layer.open({
  1172. type: 2,
  1173. content: "../CommonHtml/returnAuditor.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1174. title: "退回",
  1175. area: ["50%", "40%"], //宽高
  1176. });
  1177. }
  1178. //修改
  1179. function editProcessingResult(str) {
  1180. layer.open({
  1181. type: 2,
  1182. content: "../CommonHtml/editProcessingResult.html?wid=" + str, //iframe的url,no代表不显示滚动条
  1183. title: "修改",
  1184. area: ["50%", "50%"], //宽高
  1185. });
  1186. }
  1187. //上传文件
  1188. function upload() {
  1189. if (document.getElementById("upFile").files.length > 0) {
  1190. var formData = new FormData();
  1191. formData.append(
  1192. "upFile",
  1193. document.getElementById("upFile").files[0]
  1194. );
  1195. formData.append("token", $.cookie("token"));
  1196. $.ajax({
  1197. url: huayi.config.callcenter_url +
  1198. "/WorkOrder/UploadFile",
  1199. type: "POST",
  1200. data: formData,
  1201. /**
  1202. *必须false才会自动加上正确的Content-Type
  1203. */
  1204. contentType: false,
  1205. /**
  1206. * 必须false才会避开jQuery对 formdata 的默认处理
  1207. * XMLHttpRequest会对 formdata 进行正确的处理
  1208. */
  1209. processData: false,
  1210. success: function (result) {
  1211. document.getElementById(
  1212. "upFile"
  1213. ).outerHTML = document.getElementById(
  1214. "upFile"
  1215. ).outerHTML;
  1216. $("#upFile").change(function () {
  1217. upload();
  1218. });
  1219. var r = $.parseJSON(result);
  1220. if (r.state.toLowerCase() == "success") {
  1221. $(".fjnr").text(r.data);
  1222. $("#scfj").show();
  1223. }
  1224. },
  1225. });
  1226. } else {
  1227. layer.confirm("请上传文件!", {
  1228. btn: ["确定"],
  1229. });
  1230. }
  1231. }
  1232. //来源
  1233. function LY(obj) {
  1234. obj.empty();
  1235. obj.append(
  1236. '<option selected="selected" value="">请选择</option>'
  1237. );
  1238. $.getJSON(
  1239. huayi.config.callcenter_url +
  1240. "Dictionary/GetDicValueListById", {
  1241. token: $.cookie("token"),
  1242. id: 1,
  1243. },
  1244. function (data) {
  1245. if (data.state.toLowerCase() == "success") {
  1246. var content = data.data;
  1247. $(content).each(function (i, n) {
  1248. $(
  1249. "<option value='" +
  1250. n.F_ValueId +
  1251. "'>" +
  1252. n.F_Value +
  1253. "</option>"
  1254. ).appendTo(obj);
  1255. });
  1256. }
  1257. }
  1258. );
  1259. }
  1260. //类别
  1261. function LB(obj) {
  1262. obj.empty();
  1263. obj.append(
  1264. '<option selected="selected" value="">请选择</option>'
  1265. );
  1266. $.getJSON(
  1267. huayi.config.callcenter_url +
  1268. "Dictionary/GetDicValueListById", {
  1269. token: $.cookie("token"),
  1270. id: 2,
  1271. },
  1272. function (data) {
  1273. if (data.state.toLowerCase() == "success") {
  1274. var content = data.data;
  1275. $(content).each(function (i, n) {
  1276. $(
  1277. "<option value='" +
  1278. n.F_ValueId +
  1279. "'>" +
  1280. n.F_Value +
  1281. "</option>"
  1282. ).appendTo(obj);
  1283. });
  1284. }
  1285. }
  1286. );
  1287. }
  1288. // 主题
  1289. function ZT(obj) {
  1290. obj.empty();
  1291. obj.append(
  1292. '<option selected="selected" value="">请选择</option>'
  1293. );
  1294. $.getJSON(
  1295. huayi.config.callcenter_url +
  1296. "Dictionary/GetDicValueListById", {
  1297. token: $.cookie("token"),
  1298. id: 3,
  1299. },
  1300. function (data) {
  1301. if (data.state.toLowerCase() == "success") {
  1302. var content = data.data;
  1303. $(content).each(function (i, n) {
  1304. $(
  1305. "<option value='" +
  1306. n.F_ValueId +
  1307. "'>" +
  1308. n.F_Value +
  1309. "</option>"
  1310. ).appendTo(obj);
  1311. });
  1312. }
  1313. }
  1314. );
  1315. }
  1316. function tree() {
  1317. $.get(
  1318. huayi.config.callcenter_url + "Department/GetDeptList", {
  1319. token: $.cookie("token"),
  1320. // "pid": pid
  1321. },
  1322. function (result) {
  1323. result = $.parseJSON(result);
  1324. $.fn.zTree.init(
  1325. $("#addTreeDemo"),
  1326. setting1,
  1327. result.data
  1328. ); //实例化树形图
  1329. }
  1330. );
  1331. }
  1332. var setting1 = {
  1333. data: {
  1334. key: {
  1335. name: "F_DeptName",
  1336. },
  1337. simpleData: {
  1338. enable: true,
  1339. idKey: "F_DeptId",
  1340. pIdKey: "F_PartentId",
  1341. rootPId: 0,
  1342. },
  1343. },
  1344. callback: {
  1345. onClick: zTreeOnClick,
  1346. },
  1347. };
  1348. function zTreeOnClick(event, treeId, treeNode) {
  1349. if (treeNode.level >= 1) {
  1350. $(".inps").val(treeNode.F_DeptName);
  1351. $("#PID").val(treeNode.F_DeptId);
  1352. $("#Dpment").val(treeNode.F_DeptId);
  1353. $(".Cleans").show();
  1354. }
  1355. }
  1356. function Close() {
  1357. $(".lyxz").removeClass("cx");
  1358. if ($("audio").length > 0) {
  1359. $("audio")[0].pause();
  1360. }
  1361. }
  1362. //导出
  1363. $(".exportFile").click(function () {
  1364. dcexcel(this);
  1365. });
  1366. // 导出
  1367. function dcexcel(obj) {
  1368. //坐席
  1369. var usercodeID = "";
  1370. var usercode_ = $("#ZX").val(); //坐席
  1371. if (usercode_ != null) {
  1372. $(usercode_).each(function (i, n) {
  1373. var obj1 = "";
  1374. obj1 = n + ",";
  1375. usercodeID += obj1;
  1376. });
  1377. } else {
  1378. usercodeID = "";
  1379. }
  1380. // var sponsorID = "";
  1381. // var sponsor = $("#sponsor").text(); //坐席
  1382. // if(sponsor != null) {
  1383. // sponsorID = $("#sponsor").attr();
  1384. // } else {
  1385. // sponsorID = ""
  1386. // }
  1387. //调度员
  1388. var ddusercodeID = "";
  1389. var ddusercode_ = $("#yardman").val(); //坐席
  1390. if (ddusercode_ != null) {
  1391. $(ddusercode_).each(function (i, n) {
  1392. var obj2 = "";
  1393. obj2 = n + ",";
  1394. ddusercodeID += obj2;
  1395. });
  1396. } else {
  1397. ddusercodeID = "";
  1398. }
  1399. var startTime;
  1400. var endTime;
  1401. if ($("#starttime").val()) {
  1402. startTime = $("#starttime").val();
  1403. endTime = $("#endtime").val();
  1404. } else {
  1405. startTime = "";
  1406. endTime = "";
  1407. }
  1408. var ComTitle = $("#workOrderTitle").val().replace(/\s+/g, ""); // 工单标题
  1409. var ComContent = $("#workOrderContent").val().replace(/\s+/g, ""); // 工单内容
  1410. var Result = $("#workOrderProcessingResult").val().replace(/\s+/g, ""); // 办理结果
  1411. var dealstarttime = $("#dealstarttime").val(); //办理开始时间
  1412. var dealstrendtime = $("#dealstrendtime").val(); //办理结束时间
  1413. var isopen = $("#isopen").val(); // 是否公开
  1414. var url =
  1415. huayi.config.callcenter_url +
  1416. "WorkOrder/GetList?token=" +
  1417. $.cookie("token") +
  1418. "&isdc=1";
  1419. url +=
  1420. "&starttime=" +
  1421. startTime +
  1422. "&endtime=" +
  1423. endTime +
  1424. "&workid=" +
  1425. $("#wids").val() +
  1426. "&state=" +
  1427. $("#state").val() +
  1428. "&type=" +
  1429. $("#type").val() +
  1430. "&key=" +
  1431. $("#key").val() +
  1432. "&tel=" +
  1433. $("#tel").val() +
  1434. "&name=" +
  1435. $("#name").val() +
  1436. "&keyid=" +
  1437. $("#keyid").val() +
  1438. "&source=" +
  1439. $("#source").val() +
  1440. "&usercode=" +
  1441. usercodeID +
  1442. "&ddusercode=" +
  1443. ddusercodeID +
  1444. "&deptid=" +
  1445. $("#Dpment").val() +
  1446. "&type=" +
  1447. $("#type").val() +
  1448. "&dealtype=" +
  1449. $("#dealtype").val() +
  1450. "&sourcearea=" +
  1451. $("#sourceAreas").val() +
  1452. "&ComTitle=" +
  1453. ComTitle +
  1454. "&ComContent=" +
  1455. ComContent +
  1456. "&Result=" +
  1457. Result +
  1458. "&dealstarttime=" +
  1459. dealstarttime +
  1460. "&dealstrendtime=" +
  1461. dealstrendtime +
  1462. "&isopen=" +
  1463. isopen +
  1464. "&isdc=1" +
  1465. "&comprehensive=1";
  1466. window.location.href = url;
  1467. }
  1468. </script>
  1469. </body>
  1470. </html>