Forráskód Böngészése

模型质量报告

yangjunjing 5 éve
szülő
commit
f0616b8344

+ 2 - 2
src/views/model/report/deleted.vue

@@ -72,9 +72,9 @@ export default {
       view: '',
     }
   },
-  mounted() { },
+  mounted() {
+   },
   created() {
-    this.equipComDelList = decodeURIComponent(this.$route.query.equipComDelList);
     this.queryToBelDelEquip();
   },
   computed: {

+ 17 - 0
src/views/model/report/supplement.vue

@@ -100,6 +100,7 @@ export default {
     }
   },
   mounted() {
+    // document.addEventListener('scroll', this.onmousewheel, false);
     this.getToBeSuppement();
   },
   created() {
@@ -109,6 +110,14 @@ export default {
     ...mapGetters('layout', ['projectId'])
   },
   methods: {
+    // onmousewheel() {
+    //   let scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
+    //   let clientHeight = document.documentElement.clientHeight;
+    //   let contentTop = document.body.scrollHeight;
+    //   if (scrollTop + clientHeight + 100 >= contentTop) {
+    //     console.log(1);
+    //   }
+    // },
     copyContent(element) {
       // 双击复制
       let content = element.target.innerText;
@@ -230,6 +239,9 @@ export default {
 
 
 <style lang="less" scoped>
+html {
+  height: auto;
+}
 // 取消打印功能默认的左右边距
 @media print {
   @page {
@@ -353,4 +365,9 @@ export default {
 canvas {
   position: static !important;
 }
+</style>
+<style>
+html {
+  height: auto;
+}
 </style>