Procházet zdrojové kódy

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx před 4 roky
rodič
revize
a712f583c8

+ 12 - 3
src/xt_pages/outpatientCharges/listTemplate/printOne.vue Zobrazit soubor

@@ -74,9 +74,9 @@
74 74
             pageArr:[],
75 75
         }
76 76
     },
77
-    mounted(){
78
-        this.getPage()
79
-    },
77
+    // mounted(){
78
+    //     this.getPage()
79
+    // },
80 80
     methods:{
81 81
       getNowTime: function () {
82 82
         let dateTime
@@ -112,7 +112,16 @@
112 112
         }
113 113
       }
114 114
 
115
+    },
116
+    watch:{
117
+        list: {
118
+            handler(newVal) {
119
+                this.getPage()
120
+            },
121
+            deep: true
122
+        }
115 123
     }
124
+
116 125
   }
117 126
 
118 127