liuyifan %!s(int64=5) %!d(string=před) roky
rodič
revize
2e9adee663

+ 6 - 4
WebUI/CallCenterWeb.UI/CommonHtml/PrintPreview-1.html

@@ -399,7 +399,7 @@
399 399
             <div class="contactNumber" id="" style="float: left;width: 300px; font-size: 18pt; font-family: '宋体'; color: #000; font-weight: 900;">
400 400
                 <span>联系电话:</span><span>(0372)12345</span>
401 401
             </div>
402
-            <div class="reviewer" id="" style="float: right;width: 400px; font-size: 18pt; font-family: '宋体'; color: #000; font-weight: 900;">
402
+            <div class="reviewer" id="" style="float: right;width: 450px; font-size: 18pt; font-family: '宋体'; color: #000; font-weight: 900;">
403 403
                 <span>审核人:</span><span class="shr"></span>
404 404
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
405 405
                 <span>调度员:</span><span class="ddr"></span>
@@ -431,14 +431,16 @@
431 431
                 }, function (result) {
432 432
                     if (result.state.toLowerCase() == "success") {
433 433
                         var content = result.data;
434
+                        var userCode = $.cookie("userCode")
434 435
                         //console.log( content);
435 436
                         $(".gdbhs").text(content.data[0].F_WorkOrderId); //工单
436 437
                         if (content.jbdata.length > 0) {
437 438
                             $(".shr").text(content.jbdata[0].F_CreateUser); //审核员
438 439
                         }
439
-                        if (content.hfdata.length > 0) {
440
-                            $(".ddr").text(content.hfdata[0].F_CreateUser); //审核员
441
-                        }
440
+                        // if (content.hfdata.length > 0) {
441
+                        //     $(".ddr").text(content.hfdata[0].F_CreateUser); //审核员
442
+                        // }
443
+                        $(".ddr").text(userCode); //审核员
442 444
                         $(".tsfs").text(content.data[0].SourceName);
443 445
                         $(".lxr").text(content.data[0].F_CusName); //内容摘要
444 446
                         $('.lxdh').text(content.data[0].F_CusPhone); //联系电话

+ 1 - 0
WebUI/CallCenterWeb.UI/js/index.js

@@ -208,6 +208,7 @@ $(document).ready(function () {
208 208
         function (result) {
209 209
             if (result.state.toLowerCase() == "success") {
210 210
                 $.cookie("code", result.data.role.F_RoleCode);
211
+                $.cookie("userCode", result.data.user.F_UserCode);
211 212
                 $("#RoleCode").val(result.data.user.F_RoleCode);
212 213
                 $("#GroupCode").val(result.data.user.F_GroupCode);
213 214
                 //console.log($("#RoleCode").val());