Browse Source

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

csx 2 years ago
parent
commit
b73a2c1284

+ 21 - 21
src/xt_pages/outpatientDoctorStation/batch_print_treatTemplate/index.vue View File

@@ -13,7 +13,7 @@
13 13
       </template> -->
14 14
 
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16
-        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id == 0" :printData="printData" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
16
+        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id != 0" :printData="printData" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
17 17
         <printTwo v-else :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo>
18 18
       </div>
19 19
   </div>
@@ -137,10 +137,10 @@ export default {
137 137
     },
138 138
 
139 139
     changePatient(row){
140
-      console.log("row",row)
141
-      this.patient_id = row.patient_id
142
-      this.record_date = this.record_date
143
-      this.prescription_id = this.prescription_id
140
+      // console.log("row",row)
141
+      // this.patient_id = row.patient_id
142
+      // this.record_date = this.record_date
143
+      // this.prescription_id = this.prescription_id
144 144
       //   var params = {
145 145
       //     patient_id:row.patient_id,
146 146
       //     record_date:this.record_date,
@@ -169,26 +169,26 @@ export default {
169 169
   },
170 170
 
171 171
   created() {
172
-    this.org_id = this.$store.getters.xt_user.org_id
173
-    this.getAllDoctorList()
174
-    var record_date = this.paramsObj.record
175
-    this.record_date = record_date
176
-    console.log("record_date",record_date)
177
-    this.prescription_id = this.paramsObj.prescription_id
178
-    this.patient_id = this.paramsObj.patient_id
179
-    this.ids = this.paramsObj.ids
180
-    this.getAllHisPatientList(record_date)
172
+    // this.org_id = this.$store.getters.xt_user.org_id
173
+    // this.getAllDoctorList()
174
+    // var record_date = this.paramsObj.record_date
175
+    // this.record_date = record_date
176
+    // console.log("record_date",record_date)
177
+    // this.prescription_id = this.paramsObj.prescription_id
178
+    // this.patient_id = this.paramsObj.patient_id
179
+    // this.ids = this.paramsObj.ids
180
+    // this.getAllHisPatientList(record_date)
181 181
   },
182 182
   watch:{
183 183
     paramsObj:{//深度监听,可监听到对象、数组的变化
184 184
       handler(val, oldVal){
185
-        this.paramsObj = val
186
-        this.patient_id = this.paramsObj.patient_id
187
-        var record_date = this.paramsObj.record
188
-        this.record_date = record_date
189
-        var prescription_id = this.paramsObj.prescription_id
190
-        this.prescription_id = prescription_id
191
-        this.ids = this.paramsObj.ids
185
+        // this.paramsObj = val
186
+        // this.patient_id = this.paramsObj.patient_id
187
+        // var record_date = this.paramsObj.record
188
+        // this.record_date = record_date
189
+        // var prescription_id = this.paramsObj.prescription_id
190
+        // this.prescription_id = prescription_id
191
+        // this.ids = this.paramsObj.ids
192 192
 
193 193
       },
194 194
       deep:true