瀏覽代碼

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

csx 4 年之前
父節點
當前提交
a712f583c8
共有 1 個文件被更改,包括 12 次插入3 次删除
  1. 12 3
      src/xt_pages/outpatientCharges/listTemplate/printOne.vue

+ 12 - 3
src/xt_pages/outpatientCharges/listTemplate/printOne.vue 查看文件

@@ -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