Procházet zdrojové kódy

视频账户报表可以选择今天

朱鑫波 před 3 roky
rodič
revize
733c57c2bb

+ 2 - 2
src/views/modules/Statistics/kuaishouReport/accountReport.vue

@@ -592,7 +592,7 @@ export default {
             openOptions: false,
             //子元素的数据存储
             type: 1, //这个没用但是不能删  请求类型
-            dateValue: [moment().subtract(7, 'days'), moment().subtract(1, 'days')],
+            dateValue: [moment().subtract(7, 'days'), moment().subtract(1, 'day')],
 
             //处理按钮禁用
             searchDisabled: false,
@@ -949,7 +949,7 @@ export default {
         disabledDate(current) {
             // console.log(current)
 
-            return current && current > moment().subtract(1, 'day')
+            return current && current > moment()
         },
         filterOption(input, option) {
             console.log(input, option)

+ 2 - 2
src/views/modules/Statistics/kuaishouReport/videoReport.vue

@@ -541,7 +541,7 @@ export default {
             target: 'cost',
             order: 'desc',
             type: 0,
-            dateValue: [moment().subtract(7, 'days'), moment().subtract(1, 'days')],
+            dateValue: [moment().subtract(7, 'days'), moment().subtract(1, 'day')],
             openOptions: false,
             relevantPeopleVisible: false,
             relevantPeopleData: {},
@@ -793,7 +793,7 @@ export default {
 
         disabledDate(current) {
             // console.log(current)
-            return current && current > moment().subtract(1, 'day')
+            return current && current > moment()
         },
 
         consumeOnChange() {},

+ 2 - 2
src/views/modules/Statistics/toutiaoReport/accountReport.vue

@@ -522,7 +522,7 @@ export default {
             openOptions: false,
             //子元素的数据存储
             type: 1, //这个没用但是不能删  请求类型
-            dateValue: [moment().subtract(7, 'days'), moment().subtract(1, 'days')],
+            dateValue: [moment().subtract(7, 'days'), moment().subtract(1, 'day')],
 
             //处理按钮禁用
             searchDisabled: false,
@@ -907,7 +907,7 @@ export default {
         disabledDate(current) {
             // console.log(current)
 
-            return current && current > moment().subtract(1, 'day')
+            return current && current > moment()
         },
         filterOption(input, option) {
             console.log(input, option)

+ 2 - 2
src/views/modules/Statistics/toutiaoReport/videoReport.vue

@@ -414,7 +414,7 @@ export default {
             target: 'cost',
             order: 'desc',
             type: 0,
-            dateValue: [moment().subtract(7, 'days'), moment().subtract(1, 'days')],
+            dateValue: [moment().subtract(7, 'days'), moment().subtract(1, 'day')],
             openOptions: false,
             relevantPeopleVisible: false,
             relevantPeopleData: {},
@@ -673,7 +673,7 @@ export default {
 
         disabledDate(current) {
             // console.log(current)
-            return current && current > moment().subtract(1, 'day')
+            return current && current > moment()
         },
 
         consumeOnChange() {},

+ 2 - 2
src/views/modules/policy-management/policy-management-server.js

@@ -3,9 +3,9 @@
  * @author jiayufei
  */
 
-//  export const urlAcount = 'http://api.tjyourong.com.cn'; // 线上
+ export const urlAcount = 'http://api.tjyourong.com.cn'; // 线上
 //  export const urlAcount = 'http://gateway.tjyourong.com.cn'; // 测试
- export const urlAcount = 'http://192.168.1.43:9999'; // 子安
+//  export const urlAcount = 'http://192.168.1.43:9999'; // 子安
 //  export const urlAcount = 'http://gateway.tjyourong.com.cn'; // 测试
 //  export const urlAcount = 'http://192.168.1.8:9999'; // 学超