Explorar el Código

工单地址修改

liuzhen %!s(int64=6) %!d(string=hace) años
padre
commit
13996251cc
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  1. 7 2
      WebChart_2.0/js/index.js

+ 7 - 2
WebChart_2.0/js/index.js

@@ -560,6 +560,11 @@ function getWorkList(sd,ed) {
560 560
                         }else{
561 561
                         	F_ComTitle=n.F_ComTitle
562 562
                         }
563
+                         if(n.F_SourceAddress.length>7){
564
+                        	F_SourceAddress=n.F_SourceAddress.substr(0,7)+'...'
565
+                        }else{
566
+                        	F_SourceAddress=n.F_SourceAddress
567
+                        }
563 568
                         var str = '<tr><td style="width: 12%;text-align: center;">' + n.F_WorkOrderId 
564 569
                         + '</td><td style="width: 12%; text-align: center;" title="'+n.F_ComContent+'">' 
565 570
                         + F_ComContent 
@@ -570,8 +575,8 @@ function getWorkList(sd,ed) {
570 575
                         + '</td><td style="width: 12%; text-align: center;">' 
571 576
                         + n.F_CusPhone 
572 577
                         + '</td><td style="width: 12%; text-align: center;">' 
573
-                        + n.F_Email + '</td><td style="width: 12%; text-align: center;">' 
574
-                        + n.F_SourceAddress + '</td></tr>'
578
+                        + n.F_Email + '</td><td style="width: 12%; text-align: center;" title="'+n.F_SourceAddress+'">' 
579
+                        + F_SourceAddress + '</td></tr>'
575 580
 						$('.scroll_table1 tbody').append(str);
576 581
 					})
577 582
 					$(".scroll_table1").Scroll({