魏志佳 5 anos atrás
pai
commit
ebc2402e7b

BIN
dist.zip


+ 1 - 1
src/views/modules/Statistics/videoStatics/vDay.vue

@@ -419,7 +419,7 @@ export default {
         // console.log(1)
       } else {
         this.columns.map((item, index) => {
-          if (index == 1) {
+          if (index == 1||index==3) {
             item.width = 150
           } else if (index >= 2 && index < 5 || index == 0) {
             item.width = 100

+ 1 - 1
src/views/modules/Statistics/videoStatics/vMonth.vue

@@ -569,7 +569,7 @@ export default {
         })
       } else {
         this.columns.map((item, index) => {
-          if (index == 1) {
+          if (index == 1||index==3) {
             item.width = 150
           } else if (index >= 2 && index < 6 || index == 0) {
             item.width = 100

+ 5 - 6
src/views/modules/Statistics/videoStatics/vSummary.vue

@@ -407,10 +407,11 @@ export default {
     tableHandle(){
       // this.listNum = [...this.columns]
       console.log(this.listNum.length,this.columns)
-      this.scrollX=0;
+ 
       if(this.listNum.length >= 9|| this.columns.length>=9){
+        console.log('chugundong')
           this.tableWidth=120;
-          this.scrollX=this.columns.length*120
+          this.scrollX=this.columns.length*130
           console.log(this.scrollX)
       }else{
         this.scrollX = 0
@@ -424,10 +425,6 @@ export default {
      
       this.visible = false
       
-      
-
-      this.tableHandle()
-
       if(this.listNum.length>=10){
 
         let newlist=this.listNum.slice(columnsFixd.length)
@@ -456,6 +453,8 @@ export default {
         })
         // console.log(2)
       }
+
+      this.tableHandle()
     },
     //弹出框取消按钮
     handleCancel(e) {

+ 1 - 1
src/views/modules/Statistics/videoStatics/vWeek.vue

@@ -560,7 +560,7 @@ export default {
         })
       } else {
         this.columns.map((item, index) => {
-          if (index == 1) {
+          if (index == 1||index==3) {
             item.width = 150
           } else if (index >= 2 && index < 6 || index == 0) {
             item.width = 100