From 33155532d7913fc599d59d38b54f0d9534d473e6 Mon Sep 17 00:00:00 2001 From: Tuzki <1720599558@qq.com> Date: Tue, 27 Feb 2024 16:57:47 +0800 Subject: [PATCH] =?UTF-8?q?ui=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InterReview/hotelReport/hotel_report.js | 20 +++++++++---------- .../hotelReport/hotword_comments_list.jsp | 6 +++--- .../scenicReport/hotword_comments_list.jsp | 6 +++--- .../InterReview/scenicReport/scenic_report.js | 20 +++++++++---------- .../yjglddxt/yjglyjyagl/add_yjglyjyagl.jsp | 4 ++-- .../yjzh/yjglexpert/add_yjglexpert.jsp | 2 +- .../yjzh/yjglwarehouse/add_yjglwarehouse.jsp | 6 +++--- .../yjglddxt/yjglyjyagl/add_yjglyjyagl.jsp | 12 ++++++----- 8 files changed, 39 insertions(+), 37 deletions(-) diff --git a/WebRoot/hbcyjc/region/130000/pages/lywangping/InterReview/hotelReport/hotel_report.js b/WebRoot/hbcyjc/region/130000/pages/lywangping/InterReview/hotelReport/hotel_report.js index 4223f36..3a4fe07 100644 --- a/WebRoot/hbcyjc/region/130000/pages/lywangping/InterReview/hotelReport/hotel_report.js +++ b/WebRoot/hbcyjc/region/130000/pages/lywangping/InterReview/hotelReport/hotel_report.js @@ -10,14 +10,14 @@ function queryCompositeDetail_hotel(data) { if (data.length>0) { $("#total").html(data[0].comments_total); $("#total_tb").html(judgeRatio(data[0].total_equal_rate)); - + $("#goodNum").html('好评' + data[0].positive_comments_count); $("#goodRate").html(data[0].positive_comments_rate + "%"); $("#good_tb").html(judgeRatio(data[0].positive_equal_rate)); - + $("#badNum").html('差评' + data[0].negative_comments_count); $("#bad_tb").html(judgeRatio(data[0].negative_equal_rate)); - + $(".grade").html(data[0].common_mark + '分'); composite_detail_good.push(data[0].positive_equal_count); @@ -25,7 +25,7 @@ function queryCompositeDetail_hotel(data) { composite_detail_bad.push(data[0].negative_equal_count); var equal_total = parseInt(data[0].positive_equal_count)+parseInt(data[0].moderate_equal_count)+parseInt(data[0].negative_equal_count); composite_detail_total.push(equal_total); - + if(date_type != "3"){//年的没有环比 $('#total_hbname').css('display',''); $('#good_hbname').css('display',''); @@ -33,7 +33,7 @@ function queryCompositeDetail_hotel(data) { $("#total_hb").html(judgeRatio(data[0].total_circle_rate)); $("#good_hb").html(judgeRatio(data[0].positive_circle_rate)); $("#bad_hb").html(judgeRatio(data[0].negative_circle_rate)); - + composite_detail_good.push(data[0].positive_circle_count); composite_detail_middle.push(data[0].moderate_circle_count); composite_detail_bad.push(data[0].negative_circle_count); @@ -43,7 +43,7 @@ function queryCompositeDetail_hotel(data) { $('#total_hbname').css('display','none'); $('#good_hbname').css('display','none'); $('#bad_hbname').css('display','none'); - + $("#total_hb").html(''); $("#good_hb").html(''); $("#bad_hb").html(''); @@ -276,13 +276,13 @@ function queryPeopleDimension_hotel(data) { if (data.length > 0) { $("#f_dimension_name").html(data[0].dname + ', ' + data[1].dname + ', ' + data[2].dname); $("#s_dimension_name").html(data[data.length - 1].dname + ', ' + data[data.length - 2].dname); - + //按好评数量排序 var goodSort = data.sort(function (a, b) { return (b.znum - a.znum); }); $("#good_dimension_name").html(goodSort[0].dname + ', ' + goodSort[1].dname); - + //按差评数量排序 var badSort = data.sort(function (a, b) { return (b.fnum - a.fnum); @@ -488,7 +488,7 @@ function queryNegativeWord_hotel(data) { words += data[i].words + ","; } } - + var num = data.length<5 ? data.length : 5; $("#bad_words").html('' + words.substr(0, words.length - 1) + '成为本季度游客差评使用频率最高的' + num + '个词'); @@ -641,7 +641,7 @@ function gotohotwordList(hotWords){ title : "", anim : 2, shade: [0.7, '#333'], - area : [ '1200px', '475px' ], + area : [ '1200px', '650px' ], content : _CTX + "/v2/hotword/gotohotellist.do?hotWords="+encodeURI(encodeURI(hotWords))+'&date_type='+date_type+'&year='+nian+'&quarter='+jidu+'&month='+yue }); } diff --git a/WebRoot/hbcyjc/region/130000/pages/lywangping/InterReview/hotelReport/hotword_comments_list.jsp b/WebRoot/hbcyjc/region/130000/pages/lywangping/InterReview/hotelReport/hotword_comments_list.jsp index 173e4ae..5e8848f 100644 --- a/WebRoot/hbcyjc/region/130000/pages/lywangping/InterReview/hotelReport/hotword_comments_list.jsp +++ b/WebRoot/hbcyjc/region/130000/pages/lywangping/InterReview/hotelReport/hotword_comments_list.jsp @@ -39,7 +39,7 @@
热词"${hotWords}"详情