zhengjinyi пре 2 година
родитељ
комит
a68ae1b45a

+ 5 - 4
src/main/webapp/static/modules/cmClubPortrait/cmClubEacths.js

@@ -33,6 +33,7 @@ const getInfoOrderDate = function () {
         isNowrap: false,
         getValue: function () {
             if (defaultParams.startTime && defaultParams.endTime) {
+                getClubEacthsData(0,0)
                 return defaultParams.startTime + ' to ' + defaultParams.endTime;
             } else {
                 return '';
@@ -43,7 +44,7 @@ const getInfoOrderDate = function () {
             defaultParams.endTime = s2;
             $('#orderTimeStart').val(s1);
             $('#orderTimeEnd').val(s2);
-            getClubEacthsData(0,0)
+
         }
     });
 }
@@ -59,6 +60,7 @@ const getInfoKeyWordsDate = function () {
         isNowrap: false,
         getValue: function () {
             if (defaultParams.startTime && defaultParams.endTime) {
+                getClubEacthsData(1,0)
                 return defaultParams.startTime + ' to ' + defaultParams.endTime;
             } else {
                 return '';
@@ -69,7 +71,6 @@ const getInfoKeyWordsDate = function () {
             defaultParams.endTime = s2;
             $('#keyWordsTimeStart').val(s1);
             $('#keyWordsTimeEnd').val(s2);
-            getClubEacthsData(1,0)
         }
     });
 }
@@ -85,6 +86,7 @@ const getInfoServiceDate = function () {
         isNowrap: false,
         getValue: function () {
             if (defaultParams.startTime && defaultParams.endTime) {
+                getClubEacthsData(2,0)
                 return defaultParams.startTime + ' to ' + defaultParams.endTime;
             } else {
                 return '';
@@ -95,7 +97,6 @@ const getInfoServiceDate = function () {
             defaultParams.endTime = s2;
             $('#serviceTimeStart').val(s1);
             $('#serviceTimeEnd').val(s2);
-            getClubEacthsData(2,0)
         }
     });
 }
@@ -111,6 +112,7 @@ const getInfoVisitDate = function () {
         isNowrap: false,
         getValue: function () {
             if (defaultParams.startTime && defaultParams.endTime) {
+                getClubEacthsData(3,0)
                 return defaultParams.startTime + ' to ' + defaultParams.endTime;
             } else {
                 return '';
@@ -121,7 +123,6 @@ const getInfoVisitDate = function () {
             defaultParams.endTime = s2;
             $('#visitTimeStart').val(s1);
             $('#visitTimeEnd').val(s2);
-            getClubEacthsData(3,0)
         }
     });
 }

+ 4 - 4
src/main/webapp/static/modules/cmClubPortrait/cmClubPortrait.js

@@ -11,13 +11,13 @@ $(function(){
     // 机构访问记录初始化时间
     getInfoVisitDate();
     // 执行机构订单图表
-    getClubEacthsData(0);
+    getClubEacthsData(0,0);
     // 执行关键词排名图表
-    getClubEacthsData(1);
+    getClubEacthsData(1,0);
     // 执行咨询记录排名图表
-    getClubEacthsData(2);
+    getClubEacthsData(2,0);
     // 执行访问记录排名图表
-    getClubEacthsData(3);
+    getClubEacthsData(3,0);
     // 点击筛选机构订单数据
     $('#orderTabs').children("a").each(function (index) {
         $(this).click(function () {