zx %!s(int64=3) %!d(string=hai) anos
pai
achega
455ce3811e

+ 4 - 7
src/views/statisticalReport/components/loadCapacityDetail/loadCapacityDetail.vue

@@ -92,16 +92,13 @@ export default {
     getRequestUrl() {
       if (
         getCookie("orgCode") == "dagangadmin" ||
-        getCookie("orgCode") == "zidonghuabu"
+        getCookie("orgCode") == "zidonghuabu"||
+        getCookie("orgCode")=="wuliuchuyunzhongxin"
       ) {
         this.option.requestUrl =
           "/api/v1/tms/getLoaderForResultDetail?apiId=480&startTime=null&endTime=null&i=" +
           new Date();
-      } else if (getCookie("orgCode") == "wuliuchunyunzhongxin") {
-        this.option.requestUrl =
-          "/api/v1/tms/getLoaderForResultDetail?apiId=480&startTime=null&endTime=null&i=" +
-          new Date();
-      } else {
+      }  else {
         this.option.requestUrl =
           "/api/v1/tms/getLoaderForResultDetail?apiId=480&userId=" +
           getCookie("orgCode") +
@@ -136,7 +133,7 @@ export default {
               endTime +
               "&i=" +
               new Date();
-          } else if (getCookie("orgCode") == "wuliuchunyunzhongxin") {
+          } else if (getCookie("orgCode") == "wuliuchuyunzhongxin") {
             this.option.requestUrl =
               "/api/v1/tms/getLoaderForResultDetail?apiId=480&startTime=" +
               startTime +