See999 4 yıl önce
ebeveyn
işleme
b098416f58

+ 21 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Dosyayı Görüntüle

@@ -208,6 +208,13 @@
208 208
       </div>
209 209
     </div>
210 210
     <additionalCharges ref='additionalCharges' @click="addCharges" :addtions_charge="addtions_charge"></additionalCharges>
211
+    <el-dialog
212
+      class="centerDialog"
213
+      width="900px"
214
+      title="打印"
215
+      :visible.sync="treatVisible">
216
+      <treatPrint :paramsObj='paramsObj'></treatPrint>
217
+    </el-dialog>
211 218
   </div>
212 219
 </template>
213 220
 
@@ -221,6 +228,7 @@
221 228
   import additionalCharges from './components/additionalCharges'
222 229
   import { getPatientInformation, getPatientList } from '@/api/project/project'
223 230
   import { getPatientInfo, getSchedulePatientList, register, upload,Refund } from '@/api/his/his'
231
+  import treatPrint from './treatPrint'
224 232
 
225 233
   const moment = require('moment')
226 234
   export default {
@@ -230,7 +238,9 @@
230 238
       charged,
231 239
       medicalInsuranceRefund,
232 240
       prescriptionTable,
233
-      additionalCharges
241
+      additionalCharges,
242
+      treatPrint,
243
+      
234 244
     },
235 245
     data() {
236 246
       return {
@@ -276,6 +286,8 @@
276 286
         all_table_data:[],
277 287
         order:{},
278 288
         addtions_charge:[],
289
+        treatVisible:false,
290
+        paramsObj:{}
279 291
       }
280 292
     },
281 293
     created() {
@@ -478,7 +490,14 @@
478 490
           this.$router.push('/outpatientDoctorStation/printtwo?record=' + this.record_date)
479 491
 
480 492
         } else if (index == 3) {
481
-          this.$router.push('/outpatientCharges/treatPrint?record_date=' + this.record_date + '&patient_id=' + this.patient_id + '&prescription_id=' + this.prescription_id)
493
+          let obj = {
494
+            record_date:this.record_date,
495
+            patient_id:this.patient_id,
496
+            prescription_id:this.prescription_id
497
+          }
498
+          this.paramsObj = obj
499
+          this.treatVisible = true
500
+          // this.$router.push('/outpatientCharges/treatPrint?record_date=' + this.record_date + '&patient_id=' + this.patient_id + '&prescription_id=' + this.prescription_id)
482 501
         } else if (index == 4) {
483 502
 
484 503
           if(this.hisPatientInfo.id == 0){

+ 28 - 17
src/xt_pages/outpatientCharges/treatPrint.vue Dosyayı Görüntüle

@@ -1,21 +1,19 @@
1 1
 <template>
2
-  <div class="main-contain">
3
-    <div class="position">
4
-      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
-       <template>
6
-        <el-button
7
-          :loading="loading"
8
-          size="small"
9
-          icon="el-icon-printer"
10
-          @click="printThisPage"
11
-          type="primary"
12
-          >打印</el-button
13
-        >
14
-      </template>
15
-    </div>
16
-    <div class="app-container" style="min-height:0;">
17
-        <div class='dialysisPage' style="flex: 1;height: calc(100vh - 178px);overflow-x:auto;::-webkit-scrollbar:height:15px">
18
-            <printOne v-bind:childResponse="childResponse"></printOne>
2
+  <div>
3
+    <template>
4
+      <el-button
5
+        style="position:fixed;right:25px;z-index:999"
6
+        :loading="loading"
7
+        size="small"
8
+        icon="el-icon-printer"
9
+        @click="printThisPage"
10
+        type="primary"
11
+        >打印</el-button
12
+      >
13
+    </template>
14
+    <div class="app-container" style="padding-top:40px;">
15
+        <div class='dialysisPage'>
16
+            <printOne v-bind:childResponse="childResponse" :paramsObj="paramsObj"></printOne>
19 17
         </div>
20 18
     </div>
21 19
   </div>
@@ -41,6 +39,9 @@ export default {
41 39
     BreadCrumb,
42 40
     printOne
43 41
   },
42
+  props:{
43
+    paramsObj:Object
44
+  },
44 45
   data() {
45 46
     return {
46 47
       crumbs: [
@@ -48,6 +49,7 @@ export default {
48 49
         { path: false, name: "打印单" }
49 50
       ],
50 51
       childResponse: {},
52
+      paramsObj:{}
51 53
       
52 54
 
53 55
     };
@@ -100,6 +102,15 @@ export default {
100 102
   },
101 103
   created() {
102 104
   },
105
+  watch:{
106
+    paramsObj:{//深度监听,可监听到对象、数组的变化
107
+      handler(val, oldVal){
108
+        this.paramsObj = val
109
+        
110
+      },
111
+      deep:true
112
+    }
113
+  }
103 114
 };
104 115
 </script>
105 116
 

+ 27 - 3
src/xt_pages/outpatientCharges/treatTemplate/printOne.vue Dosyayı Görüntüle

@@ -93,6 +93,9 @@ export default {
93 93
           patient:{},
94 94
       } 
95 95
     },
96
+    props:{
97
+        paramsObj:Object
98
+    },
96 99
     methods:{
97 100
        getChargePrint(record_date,patient_id,prescription_id){
98 101
            var params = {
@@ -117,19 +120,40 @@ export default {
117 120
        }
118 121
     },
119 122
     created(){
120
-       var record_date =  this.$route.query.record_date
123
+       var record_date =  this.paramsObj.record_date
121 124
        console.log("record_date",record_date)
122
-       var patient_id = this.$route.query.patient_id
125
+       var patient_id = this.paramsObj.patient_id
123 126
        console.log("patient_id",patient_id)
124
-       var prescription_id = this.$route.query.prescription_id
127
+       var prescription_id = this.paramsObj.prescription_id
125 128
        this.getChargePrint(record_date,patient_id,prescription_id)
126 129
 
130
+    },
131
+    watch:{
132
+        paramsObj:{//深度监听,可监听到对象、数组的变化
133
+        handler(val, oldVal){
134
+            this.paramsObj = val
135
+            this.patient_id = this.paramsObj.patient_id
136
+            var record_date = this.paramsObj.record
137
+            this.record_date = record_date
138
+            var prescription_id = this.paramsObj.prescription_id
139
+            this.prescription_id = prescription_id
140
+            
141
+        },
142
+        deep:true
143
+        }
127 144
     }
128 145
 }
129 146
 </script>
130 147
 
131 148
 
132 149
 <style lang="scss" scoped>
150
+.prescription-print{
151
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
152
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
153
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
154
+    margin-bottom: 20px;
155
+    padding:20px 10px;
156
+}
133 157
 .printTitle{
134 158
     font-size: 22px;
135 159
     text-align: center;

+ 30 - 6
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Dosyayı Görüntüle

@@ -114,18 +114,26 @@
114 114
     </el-table>
115 115
     <el-dialog
116 116
       class="centerDialog"
117
-      width="560px"
117
+      width="600px"
118 118
       title="打印"
119 119
       :visible.sync="innerVisible"
120 120
       append-to-body>
121 121
       
122
-      <print :paramsObj='paramsObj'></print>
122
+      <print v-if="index == 2" :paramsObj='paramsObj'></print>
123
+      <treatPrint v-if="index == 6" :paramsObj='paramsObj'></treatPrint>
123 124
     </el-dialog>
124 125
       <span slot="footer" class="dialog-footer">
125 126
         <el-button @click="centerDialogVisible = false">取 消</el-button>
126 127
         <el-button type="primary" @click="savePrint">确 定</el-button>
127 128
       </span>
128 129
     </el-dialog>
130
+    <el-dialog
131
+      class="centerDialog"
132
+      width="600px"
133
+      title="打印"
134
+      :visible.sync="recordVisible">
135
+      <recordPrint :patientid="patientid"></recordPrint>
136
+    </el-dialog>
129 137
 
130 138
   </div>
131 139
 </template>
@@ -141,6 +149,8 @@
141 149
   import { uParseTime } from '@/utils/tools'
142 150
   import { getPrescriptionList } from "@/api/project/project"
143 151
   import print from './print'
152
+  import treatPrint from './treatPrint'
153
+  import recordPrint from './recordPrint'
144 154
   export default {
145 155
     components: {
146 156
       BreadCrumb,
@@ -148,7 +158,9 @@
148 158
       deskRecord,
149 159
       medicalRecord,
150 160
       saveRecordTemplate,
151
-      print
161
+      print,
162
+      treatPrint,
163
+      recordPrint
152 164
     },
153 165
     data() {
154 166
       return {
@@ -196,7 +208,9 @@
196 208
         admin_info:{},
197 209
         saveLoading:false,
198 210
         innerVisible:false,
199
-        paramsObj:{}
211
+        paramsObj:{},
212
+        recordVisible:false,
213
+        recordObj:{}
200 214
 
201 215
       }
202 216
     },
@@ -640,7 +654,8 @@
640 654
           }
641 655
           this.$refs.child.createCaseHistory()
642 656
         } else if (index == 2) {
643
-          this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
657
+          this.recordVisible = true
658
+          // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
644 659
         } else if (index == 3) {
645 660
            var mode_status =   this.$refs.saveRecordTemplate.mode_status
646 661
            console.log("数据返回",mode_status)
@@ -713,7 +728,15 @@
713 728
           //  this.$router.push("/outpatientDoctorStation/print?record="+this.record_date+"&prescription_id="+this.prescription_id+"&ids="+ids+"&patient_id="+this.patientid)
714 729
          }
715 730
          if(this.index == 6){
716
-            this.$router.push("/outpatientDoctorStation/treatPrint?record="+this.record_date+"&prescription_id="+this.prescription_id+"&ids="+ids+"&patient_id="+this.patientid)
731
+          let obj = {
732
+            record:this.record_date,
733
+            prescription_id:this.prescription_id,
734
+            ids:ids,
735
+            patient_id:this.patientid
736
+          }
737
+          this.paramsObj = obj
738
+          this.innerVisible = true
739
+          // this.$router.push("/outpatientDoctorStation/treatPrint?record="+this.record_date+"&prescription_id="+this.prescription_id+"&ids="+ids+"&patient_id="+this.patientid)
717 740
          }
718 741
       }
719 742
     },
@@ -1003,6 +1026,7 @@
1003 1026
   .centerDialog{
1004 1027
     .el-dialog__body{
1005 1028
       max-height: calc(100vh - 100px) !important;
1029
+      padding: 0 20px;
1006 1030
     }
1007 1031
   }
1008 1032
 </style>

+ 3 - 2
src/xt_pages/outpatientDoctorStation/print.vue Dosyayı Görüntüle

@@ -1,7 +1,8 @@
1 1
 <template>
2 2
   <div>
3
-       <template>
3
+      <template>
4 4
         <el-button
5
+          style="position:fixed;right:25px;z-index:999"
5 6
           :loading="loading"
6 7
           size="small"
7 8
           icon="el-icon-printer"
@@ -11,7 +12,7 @@
11 12
         >
12 13
       </template>
13 14
             
14
-    <div class='dialysisPage'>
15
+    <div class='dialysisPage' style="padding-top:40px;">
15 16
       <printOne v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
16 17
     </div>
17 18
   </div>

+ 19 - 39
src/xt_pages/outpatientDoctorStation/recordPrint.vue Dosyayı Görüntüle

@@ -1,42 +1,18 @@
1 1
 <template>
2
-  <div class="main-contain">
3
-    <div class="position">
4
-      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
-       <template>
6
-        <el-button
7
-          size="small"
8
-          icon="el-icon-printer"
9
-          @click="printThisPage"
10
-          type="primary"
11
-          >打印</el-button
12
-        >
13
-      </template>
14
-    </div>
15
-    <div class="app-container" style="min-height:0;">
16
-        <el-container class="newContainer">
17
-            <!-- <div style="width:270px;margin-right:20px;">
18
-                <div class="cell clearfix" style="margin-bottom:10px;">
19
-                    <el-input size="small"  v-model.trim="search_input" class="filter-item"/>
20
-                    <el-button size="small" class="filter-item" type="primary" :model="keyword" @click="searchAction">搜索</el-button>
21
-                </div>
22
-                <el-table ref="tab" @row-click="changePatient" highlight-current-row :data="patientTableData" height="480" border style="width: 100%">
23
-                    <el-table-column prop="date"  label="患者">
24
-                        <template slot-scope="scope">
25
-                            {{scope.row.patients.name?scope.row.patients.name:''}}
26
-                        </template>
27
-                    </el-table-column>
28
-                    <el-table-column prop="name" label="就诊号">
29
-                        <template slot-scope="scope">
30
-                           {{ scope.row.his_patient.number ?scope.row.his_patient.number:''}}
31
-                        </template>
32
-                    </el-table-column>
33
-                </el-table>
34
-            </div> -->
2
+  <div>
3
+    <template>
4
+      <el-button
5
+        style="position:fixed;right:25px;z-index:999"
6
+        size="small"
7
+        icon="el-icon-printer"
8
+        @click="printThisPage"
9
+        type="primary"
10
+        >打印</el-button
11
+      >
12
+    </template>
35 13
             
36
-            <div class='dialysisPage' style="flex: 1;height: calc(100vh - 178px);overflow-x:auto;::-webkit-scrollbar:height:15px">
37
-              <printOne v-bind:childResponse="childResponse" :patient="patient" :hispatient = "hispatient" :history="history"></printOne>
38
-            </div>
39
-        </el-container>
14
+    <div class='dialysisPage' style="padding-top:40px;">
15
+      <printOne v-bind:childResponse="childResponse" :patient="patient" :hispatient="hispatient" :history="history" :patientid="patientid"></printOne>
40 16
     </div>
41 17
   </div>
42 18
 </template>
@@ -57,6 +33,9 @@ export default {
57 33
     BreadCrumb,
58 34
     printOne
59 35
   },
36
+  props:{
37
+    patientid:Number,
38
+  },
60 39
   data() {
61 40
     return {
62 41
       crumbs: [
@@ -70,7 +49,8 @@ export default {
70 49
       hispatient:{},
71 50
       educationOptions:[],
72 51
       history:{},
73
-      keyword:""
52
+      keyword:"",
53
+      patientid:''
74 54
     };
75 55
   },
76 56
   methods: {
@@ -160,7 +140,7 @@ export default {
160 140
     
161 141
   },
162 142
   created() {
163
-    this.getPatientList() 
143
+    // this.getPatientList() 
164 144
    
165 145
   },
166 146
   // computed:{

+ 14 - 3
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue Dosyayı Görüntüle

@@ -1,5 +1,6 @@
1 1
 <template>
2
-    <div id='prescription-print' class="prescription-print">
2
+<div id='prescription-print'>
3
+    <div class="prescription-print">
3 4
         <div class="printTitle">门诊病历</div>
4 5
         <div class="infoTitle">
5 6
             <div>姓名:{{patient.name?patient.name:''}}</div>
@@ -37,8 +38,9 @@
37 38
             <div style="flex:1;">{{patient.id?patient.id:''}}</div>
38 39
         </div>
39 40
         <div style="page-break-after:always;margin-top:50px;"></div>
41
+    </div>
40 42
 
41
-
43
+    <div class="prescription-print">
42 44
         <div class="printTitle">病历内容</div>
43 45
         <div class="recordTitle">
44 46
             <div>科别:{{getDeparment(hispatient.departments)?getDeparment(hispatient.departments):''}}</div>
@@ -89,6 +91,7 @@
89 91
             医生签名:{{getDoctor(history.doctor)?getDoctor(history.doctor):''}}
90 92
         </div>
91 93
     </div>
94
+</div>
92 95
 </template>
93 96
 <script>
94 97
 
@@ -98,6 +101,7 @@ export default {
98 101
     props:{
99 102
       patient:Object,
100 103
       hispatient:Object,
104
+      patientid:Number
101 105
     //   history:Object,
102 106
     },
103 107
     data(){
@@ -140,7 +144,7 @@ export default {
140 144
       getPatientCaseHistory(){
141 145
 
142 146
         const params = {
143
-          patient_id:this.$route.query.patient_id
147
+          patient_id:this.patientid
144 148
         }
145 149
       console.log("病历22222",params)
146 150
       getPatientCaseHistory(params).then(response=>{
@@ -179,6 +183,13 @@ export default {
179 183
 
180 184
 
181 185
 <style lang="scss" scoped>
186
+.prescription-print{
187
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
188
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
189
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
190
+    margin-bottom: 20px;
191
+    padding:20px 10px;
192
+}
182 193
 .printTitle{
183 194
     font-size: 22px;
184 195
     text-align: center;

+ 7 - 8
src/xt_pages/outpatientDoctorStation/template/printOne.vue Dosyayı Görüntüle

@@ -183,13 +183,12 @@ export default {
183 183
 
184 184
      
185 185
    },
186
-  //  watch:{
187
-  //    patient_id:function(val){
188
-  //      console.log("101000010101010",this.patient_id,this.record_date,this.prescription_id)
189
-  //      this.getPrescriptionPrint()
190
-  //      this.getHisPatientDetail()
191
-  //    }
192
-  //  }
186
+   watch:{
187
+    ids:function(val){
188
+      this.ids = val
189
+      this.getPrescriptionPrint()
190
+    }
191
+   }
193 192
 }
194 193
 </script>
195 194
 
@@ -200,7 +199,7 @@ export default {
200 199
     -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
201 200
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
202 201
     margin-bottom: 20px;
203
-    padding:20px 0px;
202
+    padding:20px 10px;
204 203
 }
205 204
 .printTitle{
206 205
     font-size: 22px;

+ 32 - 32
src/xt_pages/outpatientDoctorStation/treatPrint.vue Dosyayı Görüntüle

@@ -1,9 +1,8 @@
1 1
 <template>
2
-  <div class="main-contain">
3
-    <div class="position">
4
-      <bread-crumb :crumbs="crumbs"></bread-crumb>
2
+  <div>
5 3
        <template>
6 4
         <el-button
5
+          style="position:fixed;right:25px;z-index:999"
7 6
           :loading="loading"
8 7
           size="small"
9 8
           icon="el-icon-printer"
@@ -12,30 +11,10 @@
12 11
           >打印</el-button
13 12
         >
14 13
       </template>
15
-    </div>
16
-    <div class="app-container" style="min-height:0;">
17
-        <el-container class="newContainer">
18
-            <!-- <div style="width:270px;margin-right:20px;">
19
-                <div class="cell clearfix" style="margin-bottom:10px;">
20
-                    <el-input size="small"  v-model.trim="search_input" class="filter-item"/>
21
-                    <el-button size="small" class="filter-item" type="primary" @click="searchAction">搜索</el-button>
22
-                </div>
23
-                <el-table ref="tab"   @current-change="changePatient" highlight-current-row :data="patientTableData" 
24
-                 height="480" border style="width: 100%">
25
-                    <el-table-column prop="date"  label="患者">   
26
-                      <template slot-scope="scope">{{scope.row.patients?scope.row.patients.name:''}}</template> 
27
-                    </el-table-column>
28
-                    <el-table-column prop="name" label="就诊号">
29
-                        <template slot-scope="scope">{{ scope.row.his_patient ?scope.row.his_patient.number:''}}</template>
30
-                    </el-table-column>
31
-                </el-table>
32
-            </div> -->
33 14
             
34
-            <div class='dialysisPage' style="flex: 1;height: calc(100vh - 178px);overflow-x:auto;::-webkit-scrollbar:height:15px;margin:0 auto;width:960px;">
35
-              <printOne v-bind:childResponse="childResponse" :advicePrint="advicePrint" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
36
-            </div>
37
-        </el-container>
38
-    </div>
15
+      <div class='dialysisPage' style="padding-top:40px;">
16
+        <printOne v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
17
+      </div>
39 18
   </div>
40 19
 </template>
41 20
 
@@ -57,6 +36,9 @@ export default {
57 36
     BreadCrumb,
58 37
     printOne
59 38
   },
39
+  props:{
40
+    paramsObj:Object
41
+  },
60 42
   data() {
61 43
     return {
62 44
       crumbs: [
@@ -71,7 +53,8 @@ export default {
71 53
       search_input:"",
72 54
       loading:false,
73 55
       patient_id:0,
74
-      prescription_id:0
56
+      prescription_id:0,
57
+      ids:''
75 58
     };
76 59
   },
77 60
   methods:{
@@ -126,9 +109,9 @@ export default {
126 109
                 cal_two = cal_two + 1
127 110
               }
128 111
             }
129
-            this.$refs.tab.setCurrentRow(this.patientTableData[0])
130
-            console.log(this.patientTableData[0])
131
-            this.choosePatient(this.patientTableData[0])
112
+            // this.$refs.tab.setCurrentRow(this.patientTableData[0])
113
+            // console.log(this.patientTableData[0])
114
+            // this.choosePatient(this.patientTableData[0])
132 115
             this.cal_one = cal_one
133 116
             this.cal_two = cal_two   
134 117
          }
@@ -169,12 +152,29 @@ export default {
169 152
 
170 153
   created() {
171 154
     this.getAllDoctorList()
172
-    var record_date = this.$route.query.record
155
+    var record_date = this.paramsObj.record
173 156
     this.record_date = record_date
174 157
     console.log("record_date",record_date)
175
-    this.prescription_id = this.$route.query.prescription_id
158
+    this.prescription_id = this.paramsObj.prescription_id
159
+    this.patient_id = this.paramsObj.patient_id
160
+    this.ids = this.paramsObj.ids
176 161
     this.getAllHisPatientList(record_date)
177 162
   },
163
+  watch:{
164
+    paramsObj:{//深度监听,可监听到对象、数组的变化
165
+      handler(val, oldVal){
166
+        this.paramsObj = val
167
+        this.patient_id = this.paramsObj.patient_id
168
+        var record_date = this.paramsObj.record
169
+        this.record_date = record_date
170
+        var prescription_id = this.paramsObj.prescription_id
171
+        this.prescription_id = prescription_id
172
+        this.ids = this.paramsObj.ids
173
+        
174
+      },
175
+      deep:true
176
+    }
177
+  }
178 178
 
179 179
 };
180 180
 </script>

+ 20 - 7
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue Dosyayı Görüntüle

@@ -102,7 +102,7 @@
102 102
      </div>
103 103
 
104 104
 
105
-    <div id='prescriptionPrint'>
105
+    <!-- <div id='prescriptionPrint'>
106 106
 
107 107
         <div v-for="(item,index) in advicePrint" :key="index">
108 108
             <div id='prescription-print' class="prescription-print" style="page-break-after: always;">
@@ -204,7 +204,7 @@
204 204
 
205 205
         </div>
206 206
 
207
-    </div>
207
+    </div> -->
208 208
   </div>
209 209
 </template>
210 210
 <script>
@@ -214,7 +214,8 @@ export default {
214 214
     props:{
215 215
       patient_id:Number,
216 216
       record_date:String,
217
-      prescription_id:Number
217
+      prescription_id:Number,
218
+      ids:String
218 219
     },
219 220
     data(){
220 221
       return {
@@ -271,10 +272,10 @@ export default {
271 272
         //   patient_id:this.patient_id,
272 273
         //   record_date:this.record_date,
273 274
         //   prescription_id:this.prescription_id,
274
-          patient_id:this.$route.query.patient_id,
275
-          record_date:this.$route.query.record,
276
-          prescription_id:this.$route.query.prescription_id,
277
-          ids:this.$route.query.ids,
275
+          patient_id:this.patient_id,
276
+          record_date:this.record_date,
277
+          prescription_id:this.prescription_id,
278
+          ids:this.ids,
278 279
         }
279 280
         console.log("999999",params)
280 281
        getPrescriptionPrint(params).then(response=>{
@@ -340,6 +341,11 @@ export default {
340 341
      patient_id:function(val){
341 342
        console.log("101000010101010",this.patient_id,this.record_date,this.prescription_id)
342 343
     //    this.getPrescriptionPrint()
344
+     },
345
+     ids:function(val){
346
+         this.ids = val
347
+         console.log('this.idsids',this.ids)
348
+         this.getPrescriptionPrint()
343 349
      }
344 350
    }
345 351
 }
@@ -347,6 +353,13 @@ export default {
347 353
 
348 354
 
349 355
 <style lang="scss" scoped>
356
+.prescription-print{
357
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
358
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
359
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
360
+    margin-bottom: 20px;
361
+    padding:20px 10px;
362
+}
350 363
 .prescription-print{
351 364
     font-size: 14px;
352 365
 }