瀏覽代碼

问题修改

liuyifan 5 年之前
父節點
當前提交
955e591714
共有 2 個文件被更改,包括 50 次插入46 次删除
  1. 3 3
      WebUI/CallCenterWeb.UI/Business/WorkDSZB.html
  2. 47 43
      WebUI/CallCenterWeb.UI/CommonHtml/PrintPreview-1.html

+ 3 - 3
WebUI/CallCenterWeb.UI/Business/WorkDSZB.html

@@ -550,8 +550,8 @@
550 550
                         key: $("#key").val(), //=关键字
551 551
                         tel: $("#tel").val(), //=客户电话
552 552
                         name: $("#name").val(), //=客户名称
553
-                        usercode: "",
554
-                        // usercode: usercodeID, //=坐席工号
553
+                        // usercode: "",
554
+                        usercode: usercodeID, //=坐席工号
555 555
                         ddusercode: ddusercodeID,
556 556
                         keyid: $("#keyid").val(), //=关键词id
557 557
                         source: $("#source").val(), //=来源&
@@ -1231,7 +1231,7 @@
1231 1231
             var key = $("#key").val() //=关键字
1232 1232
             var tel = $("#tel").val() //=客户电话
1233 1233
             var name = $("#name").val() //=客户名称
1234
-            var usercode = "" //=坐席工号
1234
+            var usercode = usercodeID //=坐席工号
1235 1235
             var ddusercode = ddusercodeID
1236 1236
             var source = $("#source").val() //=来源&
1237 1237
             var starttime = $("#starttime").val() //=开始时间

+ 47 - 43
WebUI/CallCenterWeb.UI/CommonHtml/PrintPreview-1.html

@@ -19,16 +19,16 @@
19 19
             -webkit-box-shadow: 1px 1px 9px 2px #D2D2D2;
20 20
             box-shadow: 1px 1px 9px 2px #D2D2D2;
21 21
             background-color: #fff;
22
-            padding: 30px 60px 80px 60px;
22
+            padding: 100px 60px 80px 60px;
23 23
             font-size: 16px;
24 24
         }
25 25
 
26 26
         .yzimg {
27 27
             position: absolute;
28
-            right: 10%;
29
-            top: 20%;
30
-            width: 260px;
31
-            height: 260px;
28
+            right: 2%;
29
+            top: 10%;
30
+            width: 266px;
31
+            height: 250px;
32 32
             z-index: 99;
33 33
 
34 34
         }
@@ -40,13 +40,13 @@
40 40
         .alignC h2 {
41 41
             font-family: "微软简标宋";
42 42
             font-weight: bold;
43
-            font-size: 22pt;
43
+            font-size: 26pt;
44 44
             letter-spacing: -1px;
45 45
             color: #000;
46 46
         }
47 47
 
48 48
         .headerAlign h3 div:nth-of-type(1) {
49
-            font-size: 14pt;
49
+            font-size: 18pt;
50 50
             padding-top: 20px;
51 51
             text-align: left;
52 52
             font-weight: normal;
@@ -74,7 +74,7 @@
74 74
             margin: 0 auto;
75 75
             width: 100%;
76 76
             border-collapse: collapse;
77
-            font-size: 16pt;
77
+            font-size: 18pt;
78 78
             font-family: "仿宋";
79 79
             color: #000;
80 80
         }
@@ -83,11 +83,11 @@
83 83
             padding: 6px 0 6px 0;
84 84
         }
85 85
         .contentTitle {
86
-            font-size: 12pt;
86
+            font-size: 18pt;
87 87
             font-family: "微软简标宋";
88 88
         }
89 89
         .contentText {
90
-            font-size: 12pt;
90
+            font-size: 18pt;
91 91
             font-family: "宋体";
92 92
         }
93 93
         .btn {
@@ -144,16 +144,16 @@
144 144
 
145 145
         .yzimg {
146 146
             position: absolute !important;
147
-            right: 10% !important;
148
-            top: 20% !important;
149
-            width: 200px !important;
150
-            height: 200px !important;
147
+            right: 2% !important;
148
+            top: 10% !important;
149
+            width: 266px !important;
150
+            height: 250px !important;
151 151
         }
152 152
 
153 153
         .headerAlign h2 {
154 154
             font-family: "微软简标宋" !important;
155 155
             font-weight: bold !important;
156
-            font-size: 22pt !important;
156
+            font-size: 26pt !important;
157 157
             letter-spacing: -1px !important;
158 158
         }
159 159
 
@@ -170,7 +170,7 @@
170 170
         }
171 171
 
172 172
         .headerAlign h3 div:nth-of-type(1) {
173
-            font-size: 14pt !important;
173
+            font-size: 18pt !important;
174 174
             font-family: "微软简标宋" !important;
175 175
             font-weight: normal !important;
176 176
             margin-left: 98px !important;
@@ -181,12 +181,12 @@
181 181
         }
182 182
 
183 183
         #main {
184
-            padding: 40px 0 0 0 !important;
184
+            padding: 100px 0 0 0 !important;
185 185
             position: relative !important;
186 186
         }
187 187
 
188 188
         #main table {
189
-            font-size: 13pt !important;
189
+            font-size: 18pt !important;
190 190
             font-family: "仿宋" !important;
191 191
             border-color: #000;
192 192
             color: #000;
@@ -198,11 +198,11 @@
198 198
         }
199 199
         .contentTitle {
200 200
             font-family: "微软简标宋" !important;
201
-            font-size: 12pt;
201
+            font-size: 18pt;
202 202
         }
203 203
         .contentText {
204 204
             font-family: "宋体" !important;
205
-            font-size: 12pt;
205
+            font-size: 18pt;
206 206
         }
207 207
         .printdz {
208 208
             text-align: left;
@@ -265,17 +265,17 @@
265 265
     <div id="main">
266 266
         <div class="alignC headerAlign">
267 267
 
268
-            <h2 style="margin-bottom: 15px; margin-top: 0;">
269
-                安阳市12345政务服务热线交办单
268
+            <h2 style="margin-bottom: 35px; margin-top: 0;">
269
+                安   12345      线   
270 270
             </h2>
271 271
             <span class="textCb">重办</span>
272 272
         </div>
273 273
         <table class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
274 274
             <tbody>
275
-                <tr class="printTr1" style="height: 50px; font-size: 14pt;">
276
-                    <td class="contentTitle" style="font-weight: bolder;" rowspan="2" width="100px">事项编号
275
+                <tr class="printTr1" style="height: 50px; font-size: 18pt;">
276
+                    <td class="contentTitle" style="font-weight: bolder;" rowspan="2" width="120px">事项编号
277 277
                     </td>
278
-                    <td class="contentText" rowspan="2" width="154px">
278
+                    <td class="contentText" rowspan="2" width="130px">
279 279
                         <span class="gdbhs"></span>
280 280
                     </td>
281 281
 
@@ -342,7 +342,7 @@
342 342
                     </td>
343 343
                 </tr>
344 344
 
345
-                <tr class="printTr6" style="height: 340px;">
345
+                <tr class="printTr6" style="height: 220px;">
346 346
                     <td class="contentTitle" style="font-weight: bolder;">
347 347
                         <span>调度意见</span>
348 348
                     </td>
@@ -352,11 +352,11 @@
352 352
                         <span class="jbyj"
353 353
                             style="width: 100%;">&nbsp;&nbsp;请于1小时内与来电人取得联系(匿名除外),于5个工作日内将办理情况反馈来电人,并将办理结果报市长便民公开电话受理中心,同时做好匿名来电的信息保密工作。(若超期将进行通报;若无故不回复,将转交市委政府督查局。</span>
354 354
                         <span class="nowtime"
355
-                            style="width:180px;float: right;font-weight: bolder;margin-right: 20px;margin-bottom: 0px;font-size: 18px;"></span>
355
+                            style="width:180px;float: right;font-weight: bolder;margin-right: 20px;margin-bottom: 0px;font-size: 18pt;"></span>
356 356
                     </td>
357 357
                 </tr>
358 358
 
359
-                <tr class="printTr7" style="height: 195px;">
359
+                <tr class="printTr7" style="height: 150px;">
360 360
                     <td class="contentTitle" style="font-weight: bolder;">
361 361
                         <span>承办意见</span>
362 362
                     </td>
@@ -365,7 +365,7 @@
365 365
                     </td>
366 366
                 </tr>
367 367
 
368
-                <tr class="printTr7" style="height: 195px;">
368
+                <tr class="printTr7" style="height: 150px;">
369 369
                     <td class="contentTitle" style="font-weight: bolder;">
370 370
                         <span>领导批示</span>
371 371
                     </td>
@@ -374,7 +374,7 @@
374 374
                     </td>
375 375
                 </tr>
376 376
 
377
-                <tr class="result_td printTr7" style="height: 195px;">
377
+                <tr class="result_td printTr7" style="height: 300px;">
378 378
                     <td class="contentTitle" style="font-weight: bolder;">
379 379
                         处理结果
380 380
                     </td>
@@ -385,10 +385,10 @@
385 385
             </tbody>
386 386
         </table>
387 387
             <div id="" style="width: 100%; height: 40px; ">
388
-            <div id="" style="float: left;width: 200px; font-size: 12pt; font-family: '微软简标宋'; color: #000; font-weight: bolder;">
388
+            <div id="" style="float: left;width: 300px; font-size: 18pt; font-family: '微软简标宋'; color: #000; font-weight: bolder;">
389 389
                 <strong>联系电话:</strong><span>(0372)12345</span>
390 390
             </div>
391
-            <div id="" style="float: right;width: 250px; font-size: 12pt; font-family: '微软简标宋'; color: #000; font-weight: bolder;">
391
+            <div id="" style="float: right;width: 400px; font-size: 18pt; font-family: '微软简标宋'; color: #000; font-weight: bolder;">
392 392
                 <strong>审核人:</strong><span class="shr"></span>
393 393
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
394 394
                 <strong>调度员:</strong><span class="ddr"></span>
@@ -422,8 +422,12 @@
422 422
                         var content = result.data;
423 423
                         //console.log( content);
424 424
                         $(".gdbhs").text(content.data[0].F_WorkOrderId); //工单
425
-                        $(".shr").text(content.jbdata[0].F_CreateUser); //审核员
426
-                        $(".ddr").text(content.jbdata[0].F_CreateUser); //审核员
425
+                        if (content.jbdata.length > 0) {
426
+                            $(".shr").text(content.jbdata[0].F_CreateUser); //审核员
427
+                        }
428
+                        if (content.hfdata.length > 0) {
429
+                            $(".ddr").text(content.hfdata[0].F_CreateUser); //审核员
430
+                        }
427 431
                         $(".tsfs").text(content.data[0].SourceName);
428 432
                         $(".lxr").text(content.data[0].F_CusName); //内容摘要
429 433
                         $('.lxdh').text(content.data[0].F_CusPhone); //联系电话
@@ -483,15 +487,15 @@
483 487
                             } else {
484 488
                                 $('#xbdws').hide();
485 489
                             }
486
-                            var jbyjs = content.jbdata[m - 1].F_AssignedOpinion;
487
-
488
-                            if (jbyjs) {
489
-                                jbyjs = jbyjs.replace(/[ ]/g, "&nbsp;").replace(/\ +/g, "&nbsp;")
490
-                                    .replace(/\r\n/g, "<br />").replace(/\n/g, "<br />");
491
-                                $(".jbyj").html(jbyjs);
492
-                            } else {
493
-                                $(".jbyj").html("");
494
-                            }
490
+                            var jbyjs = "&nbsp;&nbsp;" + content.jbdata[m - 1].F_AssignedOpinion;
491
+                            $(".jbyj").html(jbyjs)
492
+                            // if (jbyjs) {
493
+                            //     jbyjs = jbyjs.replace(/[ ]/g, "&nbsp;").replace(/\ +/g, "&nbsp;")
494
+                            //         .replace(/\r\n/g, "<br />").replace(/\n/g, "<br />");
495
+                            //     $(".jbyj").html(jbyjs);
496
+                            // } else {
497
+                            //     $(".jbyj").html("");
498
+                            // }
495 499
                         }
496 500
                     }
497 501
                 })