Procházet zdrojové kódy

实验室管理看板屏数减少

cyy před 7 měsíci
rodič
revize
05b5c8dbfc
1 změnil soubory, kde provedl 8 přidání a 8 odebrání
  1. 8 8
      src/views/statistics/index.vue

+ 8 - 8
src/views/statistics/index.vue

@@ -1546,15 +1546,15 @@
         console.log(type, 'tttttttttttt')
         if (type === 'pre') {
           if (this.pageOT === 1) {
-            this.pageOT = this.pageAll + 13
+            this.pageOT = this.pageAll + 12
 
             this.showFenZu.title =
-              this.zhiliangmuNeirong[this.pageAll + 12] !== undefined
-                ? this.zhiliangmuNeirong[this.pageAll + 12].name_
+              this.zhiliangmuNeirong[this.pageAll + 11] !== undefined
+                ? this.zhiliangmuNeirong[this.pageAll + 11].name_
                 : ''
             this.showFenZu.data =
-              this.zhiliangmuNeirong[this.pageAll + 12] !== undefined
-                ? this.zhiliangmuNeirong[this.pageAll + 12].data
+              this.zhiliangmuNeirong[this.pageAll + 11] !== undefined
+                ? this.zhiliangmuNeirong[this.pageAll + 11].data
                 : []
           } else {
             this.pageOT = this.pageOT - 1
@@ -1570,7 +1570,7 @@
             }
           }
         } else if (type === 'next') {
-          if (this.pageOT >= this.pageAll + 13) {
+          if (this.pageOT >= this.pageAll + 12) {
             this.pageOT = 1
 
             this.showFenZu.title =
@@ -2010,7 +2010,7 @@
         this.timer1 = null
         this.fadeinout = false
         this.timer1 = setInterval(() => {
-          if (this.pageOT >= this.pageAll + 13) {
+          if (this.pageOT >= this.pageAll + 12) {
             this.pageOT = 1
 
             this.showFenZu.title =
@@ -2228,7 +2228,7 @@
         this.rollstop()
         this.fadeinout = false
         this.timer1 = setInterval(() => {
-          if (this.pageOT >= this.pageAll + 13) {
+          if (this.pageOT >= this.pageAll + 12) {
             this.pageOT = 1
 
             this.showFenZu.title =