|
@@ -152,9 +152,10 @@
|
152
|
152
|
:visible.sync="centerDialogVisible"
|
153
|
153
|
width="600px"
|
154
|
154
|
center>
|
|
155
|
+ <el-button @click="allCheck">全选</el-button>
|
155
|
156
|
<div style="text-align:center;margin-top:10px;font-weight:bold;font-size:20px;">处方笺打印</div>
|
156
|
157
|
<el-table
|
157
|
|
- ref="multipleTable"
|
|
158
|
+ ref="multipleTable1"
|
158
|
159
|
:data="tableData1"
|
159
|
160
|
tooltip-effect="dark"
|
160
|
161
|
style="width: 600px"
|
|
@@ -183,7 +184,7 @@
|
183
|
184
|
</el-table>
|
184
|
185
|
<div style="text-align:center;margin-top:10px;font-weight:bold;font-size:20px;">治疗单打印</div>
|
185
|
186
|
<el-table
|
186
|
|
- ref="multipleTable"
|
|
187
|
+ ref="multipleTable2"
|
187
|
188
|
:data="tableData2"
|
188
|
189
|
tooltip-effect="dark"
|
189
|
190
|
style="width: 600px"
|
|
@@ -212,7 +213,7 @@
|
212
|
213
|
</el-table>
|
213
|
214
|
<div style="text-align:center;margin-top:10px;font-weight:bold;font-size:20px;">检验单打印</div>
|
214
|
215
|
<el-table
|
215
|
|
- ref="multipleTable"
|
|
216
|
+ ref="multipleTable3"
|
216
|
217
|
:data="tableData3"
|
217
|
218
|
tooltip-effect="dark"
|
218
|
219
|
style="width: 600px"
|
|
@@ -396,6 +397,20 @@
|
396
|
397
|
// this.centerDialogVisible = true
|
397
|
398
|
this.getPrescriptionList(this.patientInfo.id)
|
398
|
399
|
},
|
|
400
|
+ allCheck(){
|
|
401
|
+ // if(this.tableData1.length > 0){
|
|
402
|
+ // this.selecting_schs1 = this.tableData1
|
|
403
|
+ // }
|
|
404
|
+ // if(this.tableData2.length > 0){
|
|
405
|
+ // this.selecting_schs2 = this.tableData2
|
|
406
|
+ // }
|
|
407
|
+ // if(this.tableData3.length > 0){
|
|
408
|
+ // this.selecting_schs3 = this.tableData4
|
|
409
|
+ // }
|
|
410
|
+ this.$refs.multipleTable1.toggleAllSelection();
|
|
411
|
+ this.$refs.multipleTable2.toggleAllSelection();
|
|
412
|
+ this.$refs.multipleTable3.toggleAllSelection();
|
|
413
|
+ },
|
399
|
414
|
printThisPage(){
|
400
|
415
|
const style =
|
401
|
416
|
'@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 87%;}}}';
|
|
@@ -3876,6 +3891,7 @@
|
3876
|
3891
|
})
|
3877
|
3892
|
},
|
3878
|
3893
|
handleSelectionChange1(val) {
|
|
3894
|
+ console.log('val',val)
|
3879
|
3895
|
this.selecting_schs1 = val
|
3880
|
3896
|
},
|
3881
|
3897
|
handleSelectionChange2(val) {
|