Нет описания

index.js 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  1. var start;
  2. var end;
  3. $(function() {
  4. var mySwiper = new Swiper('.swiper-container', {
  5. pagination: { /* 分页器*/
  6. el: '.swiper-pagination',
  7. clickable: true,
  8. },
  9. navigation: {
  10. nextEl: '.swiper-button-next',
  11. prevEl: '.swiper-button-prev',
  12. },
  13. on: {
  14. init: function() {
  15. swiperAnimateCache(this); //隐藏动画元素
  16. swiperAnimate(this); //初始化完成开始动画
  17. },
  18. transitionEnd: function() {
  19. swiperAnimate(this); //每个slide切换结束时也运行当前slide动画
  20. },
  21. }
  22. })
  23. laydate.render({
  24. elem: '#time3',
  25. range: '~',
  26. format: 'yyyy-MM-dd',
  27. theme: '#114a97',
  28. done: function(value) {
  29. //threeScreen(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1],$(".areaTwo").val())
  30. oneSel(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1])
  31. }
  32. });
  33. laydate.render({
  34. elem: '#time2',
  35. range: '~',
  36. format: 'yyyy-MM-dd',
  37. theme: '#114a97',
  38. done: function(value, date) {
  39. //获取数据
  40. $(".pieClass").hide();
  41. $(".table").hide();
  42. $(".scroll_table").hide();
  43. getPiedatas(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1]);
  44. initPies();
  45. keyWordDetail(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1])
  46. }
  47. });
  48. laydate.render({
  49. elem: '#time1',
  50. range: '~',
  51. format: 'yyyy-MM-dd',
  52. theme: '#114a97',
  53. done: function(value, date) {
  54. partpaat(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1])
  55. // oneSel(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1])
  56. }
  57. });
  58. setTimeout('swiper()', 2000);
  59. })
  60. var myDate=new Date();
  61. function turn(aa){
  62. if(aa<10){
  63. aa = "0" + aa;
  64. }
  65. return aa
  66. }
  67. $('#time1').val(myDate.getFullYear()+"-"+turn(myDate.getMonth()+1)+"-01"+" ~ "+myDate.getFullYear()+"-"+turn(myDate.getMonth()+1)+"-"+turn(myDate.getDate()));
  68. $('#time2').val(myDate.getFullYear()+"-"+turn(myDate.getMonth()+1)+"-01"+" ~ "+myDate.getFullYear()+"-"+turn(myDate.getMonth()+1)+"-"+turn(myDate.getDate()));
  69. $('#time3').val(myDate.getFullYear()+"-"+turn(myDate.getMonth()+1)+"-01"+" ~ "+myDate.getFullYear()+"-"+turn(myDate.getMonth()+1)+"-"+turn(myDate.getDate()));
  70. function swiper() {
  71. $("swiper-pagination .swiper-pagination-bullet").css({
  72. "width": 48 * getHeightScale + "px",
  73. "height": 48 * getHeightScale + "px"
  74. });
  75. $("swiper-pagination .swiper-pagination-bullet-active").css({
  76. "width": 73 * getHeightScale + "px",
  77. "height": 73 * getHeightScale + "px"
  78. });
  79. }
  80. //第一屏
  81. // 第一屏 发光外框 定时
  82. (function() {
  83. var i = 0;
  84. var length = $(".orderState_ul >li").length;
  85. var j = 0;
  86. var length_1 = $(".orderTtype_Con li").length;
  87. setInterval(function() {
  88. if(i == length) {
  89. i = 0;
  90. $(".orderState_ul >li").removeClass('active');
  91. }
  92. $(".orderState_ul >li").eq(i).addClass('active').siblings().removeClass('active');
  93. if(i == 5) {
  94. $(".orderState_ul >li").eq(4).removeClass('active');
  95. }
  96. i++;
  97. if(j == length_1) {
  98. j = 0;
  99. }
  100. $(".orderTtype_Con li").eq(j).addClass('active').siblings().removeClass('active');
  101. j++;
  102. }, 2000);
  103. })();
  104. oneSel($('#time3').val().split(' ~ ')[0],$('#time3').val().split(' ~ ')[1]);
  105. function oneSel(sd, ed) {
  106. $.ajax({
  107. type: "get",
  108. url: huayi.config.callcenter_url + 'WOReport/GetFeedbacklList',
  109. async: true,
  110. dataType: 'json',
  111. data: {
  112. stime: sd,
  113. endtime: ed
  114. },
  115. success: function(data) {
  116. if(data.state == "success") {
  117. var sorceData = data.rows;
  118. // 咨询
  119. $(".order_widt").html(sorceData[0].daynumber);
  120. $(".order_catiy").html(sorceData[0].mounthnumber);
  121. $(".order_catypa").html(sorceData[0].Totalnumber);
  122. $(".persent_lex").html(sorceData[0].Proportion);
  123. // 投诉
  124. $(".caluy1").html(sorceData[1].daynumber);
  125. $(".caluy2").html(sorceData[1].mounthnumber);
  126. $(".caluy3").html(sorceData[1].Totalnumber);
  127. $(".caluy4").html(sorceData[1].Proportion);
  128. // 抽检
  129. $(".cico1").html(sorceData[2].daynumber);
  130. $(".cico2").html(sorceData[2].mounthnumber);
  131. $(".cico3").html(sorceData[2].Totalnumber);
  132. $(".cico4").html(sorceData[2].Proportion);
  133. // 建议 pity4
  134. $(".outit1").html(sorceData[3].daynumber);
  135. $(".outit2").html(sorceData[3].mounthnumber);
  136. $(".outit3").html(sorceData[3].Totalnumber);
  137. $(".outit4").html(sorceData[3].Proportion);
  138. // 总计 pity4
  139. $(".pity1").html(sorceData[4].daynumber);
  140. $(".pity2").html(sorceData[4].mounthnumber);
  141. $(".pity3").html(sorceData[4].Totalnumber);
  142. $(".pity4").html(sorceData[4].Proportion);
  143. }
  144. }
  145. })
  146. }
  147. //第二屏
  148. banner1()
  149. function banner1() {
  150. var i = 0;
  151. var Timer;
  152. $(function() {
  153. $(".picImg").eq(0).show().siblings().hide(); //默认第一个div片显示,其他的隐藏
  154. //自动轮播
  155. TimerBanner();
  156. //点击红圈
  157. $(".picImg").hover(function() { //鼠标移动上去
  158. clearInterval(Timer); //让计时器暂时停止 清除计时器
  159. i = $(this).index(); //获取该圈的索引
  160. showPic(); //调用显示图片的方法,显示该索引对应的图片
  161. }, function() { //鼠标离开
  162. //TimerBanner(); //继续轮播 计时器开始
  163. });
  164. $(".tabs .aaa").hover(function() { //鼠标移动上去
  165. clearInterval(Timer); //让计时器暂时停止 清除计时器
  166. i = $(this).index(); //获取该圈的索引
  167. showPic(); //调用显示图片的方法,显示该索引对应的图片
  168. }, function() { //鼠标离开
  169. //TimerBanner(); //继续轮播 计时器开始
  170. });
  171. $(".tabItems li").click(function () {
  172. clearInterval(Timer); //让计时器暂时停止 清除计时器
  173. i = $(this).index(); //获取该圈的索引
  174. showPic(); //调用显示图片的方法,显示该索引对应的图片
  175. })
  176. });
  177. //轮播部分
  178. function TimerBanner() {
  179. Timer = setInterval(function() {
  180. i++;
  181. if(i == 6) {
  182. i = 0;
  183. }
  184. showPic()
  185. }, 5000);
  186. }
  187. //显示div
  188. function showPic() {
  189. $(".picImg").eq(i).show().siblings().hide();
  190. $(".bg").hide();
  191. $(".tabs .aaa").eq(i).children(".bg").show();
  192. $(".tabItems li").eq(i).addClass("active").siblings().removeClass("active");
  193. $(".content>div").eq(i).show().siblings().hide();
  194. }
  195. }
  196. //第三屏
  197. keyWordDetail();
  198. quesTypeSel();
  199. var Yname;
  200. $(".scroll_table tbody").on("click","tr",function(){
  201. $(".scroll_table tbody tr").removeClass("backg_cor");
  202. $(this).addClass("backg_cor");
  203. $(this).children("td").eq(0).addClass("bacg");
  204. Yname =$(this).children("td").eq(0).attr("index");
  205. $('.tagcloud').html('');
  206. textCon();
  207. });
  208. $(".tagcloud").on("click","div",function(){
  209. $(".tagcloud div").addClass("tagcloud_bj");
  210. $(".tagcloud div").removeClass("tagcloud_bjShine");
  211. $(this).removeClass("tagcloud_bj");
  212. $(this).addClass("tagcloud_bjShine");
  213. });
  214. quesTypeSel();
  215. $("#Product_Category").change(function() {
  216. partpaat($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1]);
  217. })
  218. $("#customer_taxPointDes").change(function() {
  219. partpaat($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1]);
  220. })
  221. $("#customer_exceed").change(function() {
  222. //获取数据
  223. $(".pieClass").hide();
  224. $(".table").hide();
  225. $(".scroll_table").hide();
  226. getPiedatas($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1]);
  227. initPies();
  228. keyWordDetail($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1]);
  229. })
  230. $("#styqu").change(function() {
  231. partpaat($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1]);
  232. })
  233. $("#customer_legalName").change(function() {
  234. partpaat($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1]);
  235. })
  236. $("#customer_comaddress").change(function() {
  237. partpaat($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1]);
  238. })
  239. $("#xiaoshou").change(function() {
  240. partpaat($('#time1').val() && $('#time1').val().split(' ~ ')[0], $('#time1').val() && $('#time1').val().split(' ~ ')[1]);
  241. })
  242. $("#time3").change(function() {
  243. oneSel(sd,ed);
  244. })
  245. $(".quesType").change(function() {
  246. $(".pieClass").hide();
  247. $(".table").hide();
  248. $(".scroll_table").hide();
  249. getPiedatas($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1]);
  250. initPies();
  251. keyWordDetail($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1]);
  252. })
  253. $("#product_name").change(function() {
  254. $(".pieClass").hide();
  255. $(".table").hide();
  256. $(".scroll_table").hide();
  257. getPiedatas($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1]);
  258. initPies();
  259. keyWordDetail($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1]);
  260. })
  261. $("#category").change(function() {
  262. $(".pieClass").hide();
  263. $(".table").hide();
  264. $(".scroll_table").hide();
  265. getPiedatas($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1]);
  266. initPies();
  267. keyWordDetail($('#time2').val() && $('#time2').val().split(' ~ ')[0], $('#time2').val() && $('#time2').val().split(' ~ ')[1]);
  268. })
  269. //部门下拉框
  270. function quesTypeSel() {
  271. $.getJSON( huayi.config.callcenter_url +"WorkOrder/GetQuestionName",
  272. {
  273. branchcode: $(".areaFive").val()
  274. },
  275. function(result) {
  276. if(result.state.toLowerCase() == "success") {
  277. goodslist = result.data;
  278. $(".depart").empty();
  279. $('<option value="">问题类别</option>').appendTo($(".quesType"));
  280. $(goodslist).each(function(i, n) {
  281. $('<option value="' + n.F_Id
  282. + '">' + n.F_QuestionName
  283. + '</option>').appendTo($(".quesType"));
  284. })
  285. }
  286. });
  287. }
  288. function textCon() {
  289. debugger
  290. $.ajax({
  291. type: "get",
  292. url: huayi.config.callcenter_url + "WOReport/GetComplainthandlList",
  293. async: true,
  294. dataType: 'json',
  295. data: {
  296. stime: $('#time2').val() && $('#time2').val().split(' ~ ')[0],
  297. endtime: $('#time2').val() && $('#time2').val().split(' ~ ')[1],
  298. questionName:Yname,
  299. isEnd:$('#customer_exceed').val(),
  300. product:$("#product_name").val(),//产品
  301. salesBase:$("#category").val()//基地
  302. },
  303. success: function(data) {
  304. if(data.state.toLowerCase() == 'success') {
  305. var con = data.rows;
  306. var arr;
  307. $.each(con, function(index, ele) {
  308. debugger
  309. arr = con[index].worker; //console.log(allData);
  310. console.log(JSON.stringify(arr))
  311. console.log(arr.overtime)
  312. });
  313. if (con[0].worker) {
  314. $(con[0].worker).each(function(k, j) {
  315. var strs = '<div index="" class="tagcloud_bj">' +
  316. '<p class="tag_title" style="margin-top:7px">'+
  317. '<span class="danhao">'+"工单编号" + '</span>'+
  318. '<span class="">'+j.F_WorkOrderCode + '</span>'+
  319. '<span class="Yichin">'+j.F_State + '</span>'+
  320. '</p>' +
  321. '<p class="tag_title">'+
  322. '<span class="danhao">'+"超期时间" + '</span>'+
  323. '<span class="">'+j.overtime + '</span>'+
  324. '</p>' +
  325. '<p class="tag_title tag_title1 tag_titleWt" style="width:100%;height:95px;">'+
  326. '<span class="danhao washpa" style="float: left;">'+"问题描述" + '</span>'+
  327. '<span class="Wentimo" style="text-align: justify !important;float: left;">'+j.F_Description + '</span>'+
  328. '</p>' +
  329. '<p class="tag_title aacdu" style="margin-top:50px">'+
  330. '<span class="danhao">'+"责任科室" + '</span>'+
  331. '<span class="">'+j.F_Responsibility + '</span>'+
  332. '<span class="danhao" style="margin-left:0px;">'+"销售基地" + '</span>'+
  333. '<span class="">'+j.F_SalesBase + '</span>'+
  334. '</p>' +
  335. '</div>'
  336. $('.tagcloud').append(strs);
  337. })
  338. $(".tag_title").css({
  339. "font-size": 16*getHeightScale+"px",
  340. "line-height": 23*getHeightScale+"px",
  341. "height": 23*getHeightScale+"px"
  342. });
  343. $(".tag_title").css({
  344. "height": "auto"
  345. });
  346. $(".aacdu").css({
  347. "font-size": 16*getHeightScale+"px",
  348. "line-height": 23*getHeightScale+"px",
  349. "height": 23*getHeightScale+"px",
  350. "margin": 10*getHeightScale+"px"
  351. });
  352. $(".tagcloud_bj").css({
  353. "margin": 10*getHeightScale+"px",
  354. "height": 267*getHeightScale+"px"
  355. });
  356. $(".tag_titleWt").css({
  357. "margin": 10*getHeightScale+"px",
  358. "width":"90%",
  359. "height": 117*getHeightScale+"px"
  360. });
  361. $(".Yichin").css({
  362. "position": "absolute",
  363. "right": 10*getHeightScale+"px",
  364. "top": 2*getHeightScale+"px"
  365. });
  366. }else{
  367. $('.tagcloud').html('');
  368. }
  369. }
  370. }
  371. });
  372. }
  373. function keyWordDetail(start,end) {
  374. $.ajax({
  375. type: "get",
  376. url: huayi.config.callcenter_url + "WOReport/GetComplainthandlList",
  377. async: true,
  378. dataType: 'json',
  379. data: {
  380. stime: start,
  381. endtime: end,
  382. questionName:$(".quesType").val(),
  383. isEnd:$('#customer_exceed').val(),
  384. product:$("#product_name").val(),//产品
  385. salesBase:$("#category").val(),//基地
  386. },
  387. success: function(data) {
  388. if(data.state.toLowerCase() == 'success') {
  389. $('.scroll_table tbody').html('');
  390. $('.titTable').html('');
  391. var con = data.rows;
  392. if(con.length==0){
  393. $('.tagcloud').html('');
  394. }else{
  395. $('.tagcloud').html('');
  396. $(con[0].worker).each(function (k, j) {
  397. var strs = '<div index="" class="tagcloud_bj">' +
  398. '<p class="tag_title" style="margin-top:7px">'+
  399. '<span class="danhao">'+"工单编号" + '</span>'+
  400. '<span class="">'+j.F_WorkOrderCode + '</span>'+
  401. '<span class="Yichin">'+j.F_State + '</span>'+
  402. '</p>' +
  403. '<p class="tag_title">'+
  404. '<span class="danhao">'+"超期时间" + '</span>'+
  405. '<span class="">'+j.overtime + '</span>'+
  406. '</p>' +
  407. '<p class="tag_title tag_titleWt">'+
  408. '<span class="danhao washpa" style="float: left;">'+"问题描述" + '</span>'+
  409. '<span class="Wentimo" style="text-align: justify !important;float: left;">'+j.F_Description + '</span>'+
  410. '</p>' +
  411. '<p class="tag_title aacdu">'+
  412. '<span class="danhao">'+"责任科室" + '</span>'+
  413. '<span class="">'+j.F_Responsibility + '</span>'+
  414. '<span class="danhao" style="margin-left:0px;">'+"销售基地" + '</span>'+
  415. '<span class="">'+j.F_SalesBase + '</span>'+
  416. '</p>' +
  417. '</div>'
  418. $('.tagcloud').append(strs);
  419. });
  420. $(".tag_title").css({
  421. "font-size": 16*getHeightScale+"px",
  422. "line-height": 23*getHeightScale+"px",
  423. "height": 23*getHeightScale+"px"
  424. });
  425. $(".aacdu").css({
  426. "font-size": 16*getHeightScale+"px",
  427. "line-height": 23*getHeightScale+"px",
  428. "height": 23*getHeightScale+"px",
  429. "margin": 10*getHeightScale+"px"
  430. });
  431. $(".tagcloud_bj").css({
  432. "margin": 10*getHeightScale+"px",
  433. "height": 267*getHeightScale+"px"
  434. });
  435. $(".tag_titleWt").css({
  436. "width":"90%",
  437. "margin": 10*getHeightScale+"px",
  438. "height": 117*getHeightScale+"px"
  439. });
  440. $(".Yichin").css({
  441. "position": "absolute",
  442. "right": 10*getHeightScale+"px",
  443. "top": 2*getHeightScale+"px"
  444. });
  445. }
  446. if (con.length>11) {
  447. debugger
  448. var tableSx;
  449. $(".pieClass").hide();
  450. $(".table").show();
  451. $(".scroll_table").show();
  452. $(con).each(function (j, n) {
  453. if ($('#customer_exceed').val()==1) {
  454. tableSx='<td class="tableW6 cqwwclist">'
  455. + n.Overdue + '</td>';
  456. tableTitsx= '<td class="tableW6">超期未完</td>'
  457. }else if ($('#customer_exceed').val()==2) {
  458. tableSx='<td class="tableW7 yhflist">'
  459. + n.EndOverdue + '</td>';
  460. tableTitsx='<td class="tableW7">已回访</td>'
  461. }
  462. if (j!=0) {
  463. var rate = '';
  464. if (n.rate) { rate = n.rate;}
  465. var str = '<tr><td class="tableW1" index="'+n.typeid+'">'
  466. + n.name + '</td><td class="tableW2">'
  467. + n.number + '</td><td class="tableW3">'
  468. + n.ongesttime + '</td><td class="tableW4">'
  469. + n.minimumtime + '</td><td class="tableW7">'
  470. + n.averageTime + '</td><td class="tableW7">'
  471. + n.median + '</td>'
  472. +tableSx+'<td class="tableW8">'
  473. + n.efficiency + '</td></tr>'
  474. $('.scroll_table tbody').append(str);
  475. }else{
  476. var rate = '';
  477. if (n.rate) { rate = n.rate;}
  478. var str1 = +'<thead class="thead">'
  479. +'<tr><td class="tableW1">名称</td>'
  480. +'<td class="tableW2">总数</td>'
  481. +'<td class="tableW3">用时最长</td>'
  482. +'<td class="tableW4">用时最短</td>'
  483. +'<td class="tableW7">平均用时</td>'
  484. +'<td class="tableW7">中位数</td>'
  485. +tableTitsx+'<td class="tableW8">效率提升率</td></tr></thead>'
  486. $('.titTable').append(str1);
  487. var str1 = '<tbody style="background: none;">'
  488. +'<tr><td class="tableW1" index="'+n.typeid+'">'
  489. + n.name + '</td><td class="tableW2">'
  490. + n.number + '</td><td class="tableW3">'
  491. + n.ongesttime + '</td><td class="tableW4">'
  492. + n.minimumtime + '</td><td class="tableW7">'
  493. + n.averageTime + '</td><td class="tableW7">'
  494. + n.median + '</td>'
  495. +tableSx+'<td class="tableW8">'
  496. + n.efficiency + '</td></tr></tbody>'
  497. $('.titTable').append(str1);
  498. }
  499. });
  500. }else{
  501. $(".pieClass").show();
  502. $(".table").hide();
  503. $(".scroll_table").hide();
  504. }
  505. $(".scroll_table").css({
  506. "width": "100%",
  507. "height": 422*getHeightScale+"px",
  508. "overflow": "hidden"
  509. });
  510. $(".table>tbody>tr>td").css({
  511. "padding": 8*getHeightScale+"px"
  512. });
  513. $(".tableW1").css({
  514. "font-size": 16*getHeightScale+"px",
  515. "width": 140*getHeightScale+"px",
  516. });
  517. $(".tableW2").css({
  518. "font-size": 16*getHeightScale+"px",
  519. "width": 60*getHeightScale+"px"
  520. });
  521. $(".tableW3").css({
  522. "font-size": 16*getHeightScale+"px",
  523. "width": 90*getHeightScale+"px",
  524. });
  525. $(".tableW4").css({
  526. "font-size": 16*getHeightScale+"px",
  527. "width": 90*getHeightScale+"px",
  528. });
  529. $(".tableW5").css({
  530. "font-size": 16*getHeightScale+"px",
  531. "width": 80*getHeightScale+"px",
  532. });
  533. $(".tableW6").css({
  534. "font-size": 16*getHeightScale+"px",
  535. "width": 110*getHeightScale+"px",
  536. });
  537. $(".tableW7").css({
  538. "font-size": 16*getHeightScale+"px",
  539. "width": 90*getHeightScale+"px",
  540. });
  541. $(".tableW8").css({
  542. "font-size": 16*getHeightScale+"px",
  543. "width": 110*getHeightScale+"px",
  544. });
  545. // $(".table_box_key table tbody tr td").css({
  546. // "font-size": 13*getHeightScale+"px"
  547. // });
  548. $(".scroll_table").Scroll({
  549. line: 1,
  550. speed: 500,
  551. timer: 2000
  552. });
  553. }
  554. }
  555. });
  556. }