Bladeren bron

问题修改

liuyifan 5 jaren geleden
bovenliggende
commit
955e591714

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

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

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

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