Browse Source

工单调整

zhengbingbing 8 years ago
parent
commit
aa6b5f31d4

+ 0 - 26
CallCenterWeb.UI/WorkOrder/AddWorkOrder.html

@@ -262,32 +262,6 @@
262 262
                             </td>
263 263
                             
264 264
                         </tr>
265
-                        <!--<tr>
266
-                            <th>被投诉部门:</th>
267
-                            <td>
268
-                                <div class="inpBox">
269
-                                    <input type="text" class="inps tree" readonly="readonly" id="zrbmname" />
270
-                                    <input type="hidden" class="inps" id="zrbm" />
271
-                                    <i class="xl"></i>
272
-                                    <b class="de_icon">X</b>
273
-                                    <div class="addTree">
274
-                                        <ul id="zrbmtree" class="ztree"></ul>
275
-                                    </div>
276
-                                </div>
277
-                            </td>
278
-                            <th>被投诉人:</th>
279
-                            <td colspan="3">
280
-                                <div class="inpBox">
281
-                                    <input type="text" class="inps select" readonly="readonly" id="zridname" />
282
-                                    <input type="hidden" class="inps " id="zrid" />
283
-                                    <i class="xl"></i>
284
-                                    <div class="xl_common">
285
-                                        <ul class="xl_box zrid"></ul>
286
-                                    </div>
287
-                                </div>
288
-                            </td>
289
-                        </tr>-->
290
-                        
291 265
                         <tr>
292 266
                             <th>投诉内容:</th>
293 267
                             <td colspan="5">

+ 71 - 1
CallCenterWeb.UI/WorkOrder/WorkOrderAppoint.html

@@ -327,6 +327,40 @@
327 327
                                 </div>
328 328
                             </td>
329 329
                         </tr>
330
+                        <tr>
331
+                            <th>信息审核:</th>
332
+                            <td>
333
+                                <label style="font-weight: normal;">
334
+                                    <input type="radio" value="0" name="isAudit" checked="true" class="no-award" />无效
335
+                                </label>
336
+                                &nbsp;&nbsp;&nbsp;&nbsp;
337
+                                <label style="font-weight: normal;">
338
+                                    <input type="radio" value="1" name="isAudit" class="award" />有效
339
+
340
+                                </label>
341
+                            </td>
342
+                        </tr>
343
+                        <tr>
344
+                            <th>信息分类:</th>
345
+                            <td colspan="3">
346
+                                <div class="Message_box">
347
+
348
+                                </div>
349
+                            </td>
350
+                        </tr>
351
+                        <tr>
352
+                            <th>交办单位:</th>
353
+                            <td colspan="3">
354
+                                <div class="inpBox">
355
+                                    <input type="text" class="inps select" readonly="readonly" />
356
+                                    <input type="hidden" class="inps " id="ss_gdlx" />
357
+                                    <i class="xl xl_two"></i>
358
+                                    <div class="xl_common">
359
+                                        <ul class="xl_box" id="xl_box"></ul>
360
+                                    </div>
361
+                                </div>
362
+                            </td>
363
+                        </tr>
330 364
                     </table>
331 365
                 </div>
332 366
                 <div class="clearfix wh_btn">
@@ -340,6 +374,31 @@
340 374
         var zpid;
341 375
         var stype = 1;
342 376
         $(document).ready(function () {
377
+            //交办单位
378
+            $.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag?flag=JBDW',
379
+            { "token": $.cookie("token") }, function (result) {
380
+                if (result.state.toLowerCase() == "success") {
381
+                    var html = ""
382
+                    for (var i = 0; i < result.data.length; i++) {
383
+                        html += ' <li itemid="' + result.data[i].F_DictionaryValueId + '">' + result.data[i].F_Name + '</li>'
384
+                    }
385
+                    $(html).appendTo("#xl_box");
386
+                }
387
+            })
388
+            //信息分类
389
+            $.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag?flag=XXFL',
390
+            { "token": $.cookie("token") }, function (result) {
391
+                console.log(result.data);
392
+                if (result.state.toLowerCase() == "success") {
393
+                    var html = ""
394
+                    for (var i = 0; i < result.data.length; i++) {
395
+                        html += '<label style="font-weight: normal;">' +
396
+                               '<input type="radio" value="' + result.data[i].F_DictionaryValueId + '" name="ltypes" checked="checked" /> ' + result.data[i].F_Name + '' +
397
+                               '</label>'
398
+                    }
399
+                    $(html).appendTo(".Message_box");
400
+                }
401
+            })
343 402
             //处理工单
344 403
             $("#clgd").click(function () {
345 404
                 var val = $("input[name='ltype']:checked").val();
@@ -363,7 +422,18 @@
363 422
                     });
364 423
                     return;
365 424
                 }
366
-                $.post(huayi.config.callcenter_url + 'WorkOrder/DealWorkOrder', { orderid: zpid, isend: val, clbm: $("#clbm").val(), clid: $("#clid").val(), cont: $("#cont").val(), "token": $.cookie("token") }, function (result) {
425
+                $.post(huayi.config.callcenter_url + 'WorkOrder/DealWorkOrder',
426
+                    {
427
+                        orderid: zpid,
428
+                        isend: val,
429
+                        clbm: $("#clbm").val(),
430
+                        clid: $("#clid").val(),
431
+                        cont: $("#cont").val(),
432
+                        isaudit: $("input[name='isAudit']:checked").val(),
433
+                        infotypeid: $("input[name='ltype']:checked").val(),
434
+                        unitid: $(".xl_box").val(),
435
+                        "token": $.cookie("token")
436
+                }, function (result) {
367 437
                     result = $.parseJSON(result);
368 438
                     if (result.state.toLowerCase() == "success") {
369 439
 

+ 31 - 7
CallCenterWeb.UI/WorkOrder/WorkOrderDispose.html

@@ -334,23 +334,36 @@
334 334
                             </td>
335 335
                         </tr>
336 336
                         <tr>
337
-                            <th>信息分类</th>
337
+                            <th>信息审核:</th>
338
+                            <td>
339
+                                <label style="font-weight: normal;">
340
+                                    <input type="radio" value="0" name="isAudit" checked="true" class="no-award" />无效
341
+                                </label>
342
+                                &nbsp;&nbsp;&nbsp;&nbsp;
343
+                                <label style="font-weight: normal;">
344
+                                    <input type="radio" value="1" name="isAudit" class="award" />有效
345
+
346
+                                </label>
347
+                            </td>
348
+                        </tr>
349
+                        <tr>
350
+                            <th>信息分类:</th>
338 351
                             <td colspan="3">
339 352
                                 <div class="Message_box">
340 353
                                    
341 354
                                 </div>
342 355
                             </td>
343 356
                         </tr>
344
-                        <tr>
357
+                        <!--<tr>
345 358
                             <th>上报奖励</th>
346 359
                             <td colspan="3">
347 360
                                 <div>
348 361
                                     <label style="font-weight: normal;">
349
-                                        <input type="radio" value="1" name="award" checked="true"   class="no-award"/> 未奖励
362
+                                        <input type="radio" value="0" name="award" checked="true"   class="no-award"/> 未奖励
350 363
                                     </label>
351 364
                                     &nbsp;&nbsp;&nbsp;&nbsp;
352 365
                                     <label style="font-weight: normal;">
353
-                                        <input type="radio" value="0" name="award"class="award" />已奖励
366
+                                        <input type="radio" value="1" name="award"class="award" />已奖励
354 367
                                        
355 368
                                     </label>
356 369
                                     <label style="font-weight: normal;" class=" award_box"> &nbsp;&nbsp;
@@ -359,9 +372,9 @@
359 372
                                         奖励时间:<input type="text" id="retime"  class="photo laydate-icon" /></label>
360 373
                                 </div>
361 374
                             </td>
362
-                        </tr>
375
+                        </tr>-->
363 376
                         <tr>
364
-                            <th>交办单位</th>
377
+                            <th>交办单位</th>
365 378
                             <td colspan="3">
366 379
                                 <div class="inpBox">
367 380
                                     <input type="text" class="inps select" readonly="readonly" />
@@ -460,7 +473,18 @@
460 473
                     });
461 474
                     return;
462 475
                 }
463
-                $.post(huayi.config.callcenter_url+'WorkOrder/DealWorkOrder', { orderid: zpid, isend: val, clbm: $("#clbm").val(), clid: $("#clid").val(),cont:$("#cont").val(), "token": $.cookie("token") }, function (result) {
476
+                $.post(huayi.config.callcenter_url + 'WorkOrder/DealWorkOrder',
477
+                    {
478
+                        orderid: zpid,
479
+                        isend: val,
480
+                        clbm: $("#clbm").val(),
481
+                        clid: $("#clid").val(),
482
+                        cont: $("#cont").val(),
483
+                        isaudit: $("input[name='isAudit']:checked").val(),
484
+                        infotypeid: $("input[name='ltype']:checked").val(),
485
+                        unitid: $(".xl_box").val(),
486
+                        "token": $.cookie("token")
487
+                    }, function (result) {
464 488
                     result = $.parseJSON(result);
465 489
                     if (result.state.toLowerCase() == "success") {
466 490