فهرست منبع

修复鼠标事件bug

cyy 2 سال پیش
والد
کامیت
049e6db94b

+ 6 - 1
src/views/statistics/properties/s10waiBuNengLiPro.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-dialog
+    <el-dialog v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+''"
@@ -86,6 +86,7 @@
           default:window.screen.height * 0.5 +'px'
         }
       },
+      inject:['rollstop'],
       beforeCreate: function () {
           // 官方文档给出的是require
            this.$options.components.s10s10waiBuNengLiItem = () => import('../item/s10waiBuNengLi.vue')
@@ -112,6 +113,10 @@
        // 关闭窗口
       handleClose(){
        this.$emit('close', false)
+      },
+      rollstopz(){
+        this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 6 - 1
src/views/statistics/properties/s12fengXianPro.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-dialog
+    <el-dialog v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+''"
@@ -89,6 +89,7 @@
           default:window.screen.height * 0.5 +'px'
         }
       },
+      inject:['rollstop'],
       beforeCreate: function () {
           // 官方文档给出的是require
            this.$options.components.s12fengXianItem = () => import('../item/s12fengXian.vue')
@@ -115,6 +116,10 @@
        // 关闭窗口
       handleClose(){
        this.$emit('close', false)
+      },
+      rollstopz(){
+        this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 6 - 1
src/views/statistics/properties/s15tousuPro.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-dialog
+    <el-dialog  v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+''"
@@ -78,6 +78,7 @@
           default:window.screen.height * 0.5 +'px'
         }
       },
+      inject:['rollstop'],
       beforeCreate: function () {
           // 官方文档给出的是require
            this.$options.components.s15tousuItem = () => import('../item/s15tousu.vue')
@@ -104,6 +105,10 @@
        // 关闭窗口
       handleClose(){
        this.$emit('close', false)
+      },
+      rollstopz(){
+        this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 6 - 1
src/views/statistics/properties/s1zhiLiangMuBiaoPro.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-dialog
+    <el-dialog  v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+''"
@@ -96,6 +96,7 @@
           default:''
         }
       },
+      inject:['rollstop'],
       beforeCreate: function () {
           // 官方文档给出的是require
            this.$options.components.s5zhiLiangMuBiaoItem = () => import('../item/s1zhiLiangMuBiao.vue')
@@ -122,6 +123,10 @@
        // 关闭窗口
       handleClose(){
        this.$emit('close', false)
+      },
+      rollstopz(){
+        this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 6 - 1
src/views/statistics/properties/s2manYiDuPro.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-dialog
+    <el-dialog  v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+''"
@@ -86,6 +86,7 @@
           default:''
         }
       },
+      inject:['rollstop'],
       beforeCreate: function () {
           // 官方文档给出的是require
            this.$options.components.s2manYiDuItem = () => import('../item/s2manYiDu.vue')
@@ -205,6 +206,10 @@
        // 关闭窗口
       handleClose(){
        this.$emit('close', false)
+      },
+      rollstopz(){
+        this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 4 - 5
src/views/statistics/properties/s4renYuanPeiXunPro.vue

@@ -1,6 +1,5 @@
 <template>
-<div v-on:mouseenter="rollstopz()">
-    <el-dialog 
+    <el-dialog v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+''"
@@ -13,8 +12,8 @@
       v-if="visible"
       @close="handleClose">
 
-      
-<div>
+      <div>
+
     <el-container>
       <!-- <el-aside style="border:0px;width: 13%;"></el-aside> -->
       <!-- 放统计内容-->
@@ -75,7 +74,6 @@
 
       </div>
     </el-dialog>
-  </div>
 </template>
 
 <script>
@@ -124,6 +122,7 @@
       },
       rollstopz(){
         this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 6 - 1
src/views/statistics/properties/s5renYuanJianDuPro.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-dialog
+    <el-dialog v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+''"
@@ -92,6 +92,7 @@
           default:window.screen.height * 0.5 +'px'
         }
       },
+      inject:['rollstop'],
       beforeCreate: function () {
           // 官方文档给出的是require
            this.$options.components.s5renYuanJianDuItem = () => import('../item/s5renYuanJianDu.vue')
@@ -118,6 +119,10 @@
        // 关闭窗口
       handleClose(){
        this.$emit('close', false)
+      },
+      rollstopz(){
+        this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 6 - 1
src/views/statistics/properties/s7sheBeiJiaoZhunPro.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-dialog
+    <el-dialog v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+''"
@@ -94,6 +94,7 @@
           default:window.screen.height * 0.4 +'px'
         }
       },
+      inject:['rollstop'],
       beforeCreate: function () {
           // 官方文档给出的是require
            this.$options.components.s7sheBeiJiaoZhunItem = () => import('../item/s7sheBeiJiaoZhun.vue')
@@ -122,6 +123,10 @@
        // 关闭窗口
       handleClose(){
        this.$emit('close', false)
+      },
+      rollstopz(){
+        this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 6 - 1
src/views/statistics/properties/s8sheBeiHeChaPro.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-dialog
+    <el-dialog v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+''"
@@ -91,6 +91,7 @@
           default:window.screen.height * 0.4 +'px'
         }
       },
+      inject:['rollstop'],
       beforeCreate: function () {
           // 官方文档给出的是require
            this.$options.components.s8sheBeiHeChaItem = () => import('../item/s8sheBeiHeCha.vue')
@@ -118,6 +119,10 @@
        // 关闭窗口
       handleClose(){
        this.$emit('close', false)
+      },
+      rollstopz(){
+        this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 6 - 1
src/views/statistics/properties/s9neiBuZhiLiangPro.vue

@@ -1,5 +1,5 @@
 <template>
-    <el-dialog
+    <el-dialog v-on:mouseenter.native="rollstopz()"
       :visible.sync="visible"
       ref="dialog"
       :title="title+'详情'"
@@ -86,6 +86,7 @@
           default:window.screen.height * 0.5 +'px'
         }
       },
+      inject:['rollstop'],
       beforeCreate: function () {
           // 官方文档给出的是require
            this.$options.components.s9neiBuZhiLiangItem = () => import('../item/s9neiBuZhiLiang.vue')
@@ -112,6 +113,10 @@
        // 关闭窗口
       handleClose(){
        this.$emit('close', false)
+      },
+      rollstopz(){
+        this.rollstop()
+        console.log("监听到了")
       }
     }
   }

+ 3 - 3
src/views/statistics/sendDatas.js

@@ -113,7 +113,7 @@ export default {
                                 aa.push(changeArr)
                         }
                         this.$set(this.tableData, 'data', aa)
-                        console.log(arr,this.tableData.data,'djlkddddddddddddddddddddddddddddddddd')
+                        // console.log(arr,this.tableData.data,'djlkddddddddddddddddddddddddddddddddd')
 
                         return {
                                 "Num" :{"date": this.endDate,"number": zlzbfz,"title":title},
@@ -155,7 +155,7 @@ export default {
                                 let rq = {}
                                 rq.name_ = dateArry[j]
                                 zlzbfz.push(rq)
-                                console.log(zlzbfz,dateArry[j],'erw232222222222222222222222222224586')
+                                // console.log(zlzbfz,dateArry[j],'erw232222222222222222222222222224586')
                         }
                         
                         let title = ['name_']
@@ -386,7 +386,7 @@ export default {
                                 }
                                 barData.push(e)
                         // }
-                        console.log(zljdNum,barData,'88888888888888888888888888888888888888888888')
+                        // console.log(zljdNum,barData,'88888888888888888888888888888888888888888888')
                         return {
                                 "t_zljdNum" :{"date": this.endDate,"number": zljdNum[1].num, "numberAll": zljdNum[0].num, "res": barData},
                                 // "t_zljdBegin" :{"date": this.BeginDate,"number": this.relData['t_zljd'+this.BeginDate]},