huangyw 2 years ago
parent
commit
fc4f795545

+ 3 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue View File

754
                             ? prescription.dialyzer_perfusion_apparatus
754
                             ? prescription.dialyzer_perfusion_apparatus
755
                             : ""
755
                             : ""
756
                         }}
756
                         }}
757
+                        <span v-if="!prescription.dialysis_dialyszers&&!prescription.dialyzer_perfusion_apparatus">/</span>
758
+                        <span v-if="prescription.dialysis_dialyszers">/</span>
757
                         {{
759
                         {{
758
                           prescription.dialysis_dialyszers
760
                           prescription.dialysis_dialyszers
759
                             ? prescription.dialysis_dialyszers
761
                             ? prescription.dialysis_dialyszers
760
-                            : "/"
762
+                            : ""
761
                         }}
763
                         }}
762
                       </div>
764
                       </div>
763
                     </div>
765
                     </div>

+ 5 - 2
src/xt_pages/hospitalStation/components/deskRecord.vue View File

132
 
132
 
133
       <el-form-item label="体格检查: " prop="name">
133
       <el-form-item label="体格检查: " prop="name">
134
         <el-input
134
         <el-input
135
+          type="textarea"
135
           v-model="physical_examination"
136
           v-model="physical_examination"
136
           placeholder="体格检查"
137
           placeholder="体格检查"
137
         ></el-input>
138
         ></el-input>
139
 
140
 
140
       <el-form-item label="专科检查: " prop="name">
141
       <el-form-item label="专科检查: " prop="name">
141
         <el-input
142
         <el-input
143
+          type="textarea"
142
           v-model="special_inspection"
144
           v-model="special_inspection"
143
           placeholder="专科检查"
145
           placeholder="专科检查"
144
         ></el-input>
146
         ></el-input>
146
 
148
 
147
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
149
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
148
         <el-input
150
         <el-input
151
+          type="textarea"
149
           v-model="lab_apparatus"
152
           v-model="lab_apparatus"
150
           placeholder="实验室及器械检查"
153
           placeholder="实验室及器械检查"
151
         ></el-input>
154
         ></el-input>
180
         <el-input
183
         <el-input
181
           v-model="case_history.sbp"
184
           v-model="case_history.sbp"
182
           placeholder="血压"
185
           placeholder="血压"
183
-          style="width: 50px"
186
+          style="width: 60px"
184
         ></el-input>
187
         ></el-input>
185
         /
188
         /
186
         <el-input
189
         <el-input
187
           v-model="case_history.dbp"
190
           v-model="case_history.dbp"
188
           placeholder="血压"
191
           placeholder="血压"
189
-          style="width: 50px"
192
+          style="width: 60px"
190
         ></el-input>
193
         ></el-input>
191
         mmHg
194
         mmHg
192
       </el-form-item>
195
       </el-form-item>

+ 21 - 19
src/xt_pages/hospitalStation/doctorDesk.vue View File

3878
 
3878
 
3879
       },
3879
       },
3880
 
3880
 
3881
-      opentwo(index) {
3882
-        
3883
-        if (index == 1) {
3884
-          if (this.patientInfo.id == undefined) {
3885
-            this.$message.error('请先选择病人')
3886
-            return
3887
-          }
3888
-          this.$refs.child.createCaseHistory()
3889
-        } else if (index == 2) {
3890
-          this.recordVisible = true
3891
-          this.$refs.recordPrint.show(this.patientid)
3892
-
3893
-          // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
3894
-        } else if (index == 3) {
3895
-          var mode_status = this.$refs.saveRecordTemplate.mode_status
3896
-          this.$refs.medicalRecord.show(mode_status)
3897
-        } else if (index == 4) {
3898
-          this.$refs.saveRecordTemplate.show(this.case_history)
3881
+    // 电子病历打印
3882
+    opentwo(index) {
3883
+      if (index == 1) {
3884
+        if (this.patientInfo.id == undefined) {
3885
+          this.$message.error('请先选择病人')
3886
+          return
3899
         }
3887
         }
3888
+        this.$refs.child.createCaseHistory()
3889
+      } else if (index == 2) {
3890
+        this.recordVisible = true
3891
+        this.$nextTick(() => {
3892
+          this.$refs.recordPrint.show(this.patientid,this.org_id)
3893
+        })
3894
+        // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
3895
+      } else if (index == 3) {
3896
+        var mode_status = this.$refs.saveRecordTemplate.mode_status
3897
+        this.$refs.medicalRecord.show(mode_status)
3898
+      } else if (index == 4) {
3899
+        this.$refs.saveRecordTemplate.show(this.case_history)
3900
+      }
3901
+
3902
+    },
3900
 
3903
 
3901
-      },
3902
       // changePatient(val){
3904
       // changePatient(val){
3903
       //   console.log("患者val",val)
3905
       //   console.log("患者val",val)
3904
       //   this.hisPatientInfo = val.hisPatientInfo
3906
       //   this.hisPatientInfo = val.hisPatientInfo

+ 18 - 8
src/xt_pages/hospitalStation/recordPrint.vue View File

70
       educationOptions:[],
70
       educationOptions:[],
71
       history:{},
71
       history:{},
72
       keyword:"",
72
       keyword:"",
73
-      org_id,
73
+      org_id:0,
74
     };
74
     };
75
   },
75
   },
76
   methods: {
76
   methods: {
77
+
78
+    show(val, id) {
79
+      this.org_id = id;
80
+      if (id == 10217 || id == 9675 || id == 9671 || id == 0) {
81
+        this.$refs.printTwo.show(val);
82
+      } else {
83
+        this.$refs.printOne.show(val);
84
+      }
85
+    },
86
+
77
     getAdminUser(id) {
87
     getAdminUser(id) {
78
       if (id == 0) {
88
       if (id == 0) {
79
         return "";
89
         return "";
106
         "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot{width: 250px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
116
         "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot{width: 250px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
107
       
117
       
108
       
118
       
109
-      if (this.org_id != 10217 && this.org_id != 0) {
119
+      if (this.org_id != 10217 && this.org_id != 0 && this.org_id != 9675) {
110
         printJS({
120
         printJS({
111
           printable: "prescription-print",
121
           printable: "prescription-print",
112
           type: "html",
122
           type: "html",
113
           style: style,
123
           style: style,
114
           scanStyles: false,
124
           scanStyles: false,
115
         });
125
         });
116
-      } else if (this.org_id == 10217 || this.org_id == 0) {
126
+      } else if (this.org_id == 10217 || this.org_id == 0|| this.org_id == 9675) {
117
         printJS({
127
         printJS({
118
           printable: "prescription-print",
128
           printable: "prescription-print",
119
           type: "html",
129
           type: "html",
173
 
183
 
174
   },
184
   },
175
   created() {
185
   created() {
176
-    // this.getPatientList()
177
-     this.org_id = this.$store.getters.xt_user.org.id;
178
-    console.log("=====", this.org_id);
179
-    this.$refs.printOne.show(this.patientid);
180
-    this.$refs.printTwo.show(this.patientid);
186
+    // // this.getPatientList()
187
+    //  this.org_id = this.$store.getters.xt_user.org.id;
188
+    // console.log("=====", this.org_id);
189
+    // this.$refs.printOne.show(this.patientid);
190
+    // this.$refs.printTwo.show(this.patientid);
181
 
191
 
182
   },
192
   },
183
   // computed:{
193
   // computed:{

+ 5 - 5
src/xt_pages/hospitalStation/recordTemplate/printTwo.vue View File

14
       <div class="infoTitle" style="margin-top:20px;">
14
       <div class="infoTitle" style="margin-top:20px;">
15
         <div class="name_slot">姓名:{{ patient.name ? patient.name : "" }}</div>
15
         <div class="name_slot">姓名:{{ patient.name ? patient.name : "" }}</div>
16
         <div class="address_slot">
16
         <div class="address_slot">
17
-          家庭住址:{{ patient.home_address ? patient.home_address : "" }}深圳市南山区桃园街道新屋村东区三号楼303
17
+          家庭住址:{{ patient.home_address ? patient.home_address : "" }}
18
         </div>
18
         </div>
19
       </div>
19
       </div>
20
       <div class="infoTitle">
20
       <div class="infoTitle">
119
         <div>实验室及器械检查</div>
119
         <div>实验室及器械检查</div>
120
         <div class="recordContent" style="height:250px;">{{history.lab_apparatus}}</div>
120
         <div class="recordContent" style="height:250px;">{{history.lab_apparatus}}</div>
121
       </div>
121
       </div>
122
-      <div style="display: flex; justify-content: end">
122
+      <div style="display: flex; justify-content:flex-end">
123
         <div class="endInfo">
123
         <div class="endInfo">
124
           <div style="height: 100px">
124
           <div style="height: 100px">
125
             诊断:{{ history.diagnostic ? history.diagnostic : "" }}
125
             诊断:{{ history.diagnostic ? history.diagnostic : "" }}
270
   },
270
   },
271
   created() {
271
   created() {
272
     this.educationOptions = getDataConfig("patient", "education_types");
272
     this.educationOptions = getDataConfig("patient", "education_types");
273
-    this.getAllDoctorList();
274
-    this.getPatientCaseHistory();
275
-    this.getAccessList()
273
+    // this.getAllDoctorList();
274
+    // this.getPatientCaseHistory();
275
+    // this.getAccessList()
276
     var xtuser = this.$store.getters.xt_user;
276
     var xtuser = this.$store.getters.xt_user;
277
     this.orgname = xtuser.org.org_name;
277
     this.orgname = xtuser.org.org_name;
278
     var data = new Date();
278
     var data = new Date();

+ 5 - 2
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue View File

132
 
132
 
133
       <el-form-item label="体格检查: " prop="name">
133
       <el-form-item label="体格检查: " prop="name">
134
         <el-input
134
         <el-input
135
+          type="textarea"
135
           v-model="physical_examination"
136
           v-model="physical_examination"
136
           placeholder="体格检查"
137
           placeholder="体格检查"
137
         ></el-input>
138
         ></el-input>
139
 
140
 
140
       <el-form-item label="专科检查: " prop="name">
141
       <el-form-item label="专科检查: " prop="name">
141
         <el-input
142
         <el-input
143
+          type="textarea"
142
           v-model="special_inspection"
144
           v-model="special_inspection"
143
           placeholder="专科检查"
145
           placeholder="专科检查"
144
         ></el-input>
146
         ></el-input>
146
 
148
 
147
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
149
       <el-form-item label="实验室及器械检查: " prop="name" label-width="160px">
148
         <el-input
150
         <el-input
151
+          type="textarea"
149
           v-model="lab_apparatus"
152
           v-model="lab_apparatus"
150
           placeholder="实验室及器械检查"
153
           placeholder="实验室及器械检查"
151
         ></el-input>
154
         ></el-input>
180
         <el-input
183
         <el-input
181
           v-model="case_history.sbp"
184
           v-model="case_history.sbp"
182
           placeholder="血压"
185
           placeholder="血压"
183
-          style="width: 50px"
186
+          style="width: 60px"
184
         ></el-input>
187
         ></el-input>
185
         /
188
         /
186
         <el-input
189
         <el-input
187
           v-model="case_history.dbp"
190
           v-model="case_history.dbp"
188
           placeholder="血压"
191
           placeholder="血压"
189
-          style="width: 50px"
192
+          style="width: 60px"
190
         ></el-input>
193
         ></el-input>
191
         mmHg
194
         mmHg
192
       </el-form-item>
195
       </el-form-item>

+ 25 - 22
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

305
         class="centerDialog"
305
         class="centerDialog"
306
         width="600px"
306
         width="600px"
307
         title="打印"
307
         title="打印"
308
-        destroy-on-close
309
         :visible.sync="recordVisible">
308
         :visible.sync="recordVisible">
310
       <recordPrint :patientid="patientid" ref="recordPrint">
309
       <recordPrint :patientid="patientid" ref="recordPrint">
311
     </recordPrint>
310
     </recordPrint>
433
     changeTimeTwo() {
432
     changeTimeTwo() {
434
       this.getList()
433
       this.getList()
435
     },
434
     },
435
+    // 电子处方打印
436
     openPrint() {
436
     openPrint() {
437
       // this.centerDialogVisible = true
437
       // this.centerDialogVisible = true
438
       this.getPrescriptionList(this.patientInfo.id, this.record_date)
438
       this.getPrescriptionList(this.patientInfo.id, this.record_date)
439
     },
439
     },
440
+
441
+    // 电子病历打印
442
+    opentwo(index) {
443
+      if (index == 1) {
444
+        if (this.patientInfo.id == undefined) {
445
+          this.$message.error('请先选择病人')
446
+          return
447
+        }
448
+        this.$refs.child.createCaseHistory()
449
+      } else if (index == 2) {
450
+        this.recordVisible = true
451
+        this.$nextTick(() => {
452
+          this.$refs.recordPrint.show(this.patientid,this.org_id)
453
+        })
454
+        // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
455
+      } else if (index == 3) {
456
+        var mode_status = this.$refs.saveRecordTemplate.mode_status
457
+        this.$refs.medicalRecord.show(mode_status)
458
+      } else if (index == 4) {
459
+        this.$refs.saveRecordTemplate.show(this.case_history)
460
+      }
461
+
462
+    },
463
+
440
     allCheck() {
464
     allCheck() {
441
       this.$refs.multipleTable1.toggleAllSelection()
465
       this.$refs.multipleTable1.toggleAllSelection()
442
       this.$refs.multipleTable2.toggleAllSelection()
466
       this.$refs.multipleTable2.toggleAllSelection()
4590
 
4614
 
4591
     },
4615
     },
4592
 
4616
 
4593
-    opentwo(index) {
4594
-      if (index == 1) {
4595
-        if (this.patientInfo.id == undefined) {
4596
-          this.$message.error('请先选择病人')
4597
-          return
4598
-        }
4599
-        this.$refs.child.createCaseHistory()
4600
-      } else if (index == 2) {
4601
-
4602
-          this.recordVisible = true
4603
-        this.$refs.recordPrint.show(this.patientid)
4604
-        
4605
-        // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
4606
-      } else if (index == 3) {
4607
-        var mode_status = this.$refs.saveRecordTemplate.mode_status
4608
-        this.$refs.medicalRecord.show(mode_status)
4609
-      } else if (index == 4) {
4610
-        this.$refs.saveRecordTemplate.show(this.case_history)
4611
-      }
4612
-
4613
-    },
4614
     // changePatient(val){
4617
     // changePatient(val){
4615
     //   console.log("患者val",val)
4618
     //   console.log("患者val",val)
4616
     //   this.hisPatientInfo = val.hisPatientInfo
4619
     //   this.hisPatientInfo = val.hisPatientInfo

+ 16 - 10
src/xt_pages/outpatientDoctorStation/recordPrint.vue View File

13
 
13
 
14
     <div class="dialysisPage" style="padding-top: 40px">
14
     <div class="dialysisPage" style="padding-top: 40px">
15
       <printOne
15
       <printOne
16
-        v-if="org_id != 9675 && org_id != 9671 && org_id != 0"
16
+        v-if="org_id && org_id != 9675 && org_id != 9671 && org_id != 0"
17
         ref="printOne"
17
         ref="printOne"
18
         v-bind:childResponse="childResponse"
18
         v-bind:childResponse="childResponse"
19
         :patient="patient"
19
         :patient="patient"
70
       educationOptions: [],
70
       educationOptions: [],
71
       history: {},
71
       history: {},
72
       keyword: "",
72
       keyword: "",
73
-      org_id,
73
+      org_id: 0,
74
     };
74
     };
75
   },
75
   },
76
 
76
 
77
-
78
   methods: {
77
   methods: {
79
-    show(val) {
80
-      console.log(val,'ooooooo')
81
-      this.$refs.printOne.show(val);
82
-      this.$refs.printTwo.show(val);
78
+    show(val, id) {
79
+      this.org_id = id;
80
+      if (id == 10217 || id == 9675 || id == 9671 || id == 0) {
81
+        this.$refs.printTwo.show(val);
82
+      } else {
83
+        this.$refs.printOne.show(val);
84
+      }
83
     },
85
     },
84
     getAdminUser(id) {
86
     getAdminUser(id) {
85
       if (id == 0) {
87
       if (id == 0) {
112
       const style1 =
114
       const style1 =
113
         "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot{width: 250px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
115
         "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot{width: 250px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
114
 
116
 
115
-      if (this.org_id != 10217 && this.org_id != 0) {
117
+      if (this.org_id != 10217 && this.org_id != 0 && this.org_id != 9675) {
116
         printJS({
118
         printJS({
117
           printable: "prescription-print",
119
           printable: "prescription-print",
118
           type: "html",
120
           type: "html",
119
           style: style,
121
           style: style,
120
           scanStyles: false,
122
           scanStyles: false,
121
         });
123
         });
122
-      } else if (this.org_id == 10217 || this.org_id == 0) {
124
+      } else if (
125
+        this.org_id == 10217 ||
126
+        this.org_id == 0 ||
127
+        this.org_id == 9675
128
+      ) {
123
         printJS({
129
         printJS({
124
           printable: "prescription-print",
130
           printable: "prescription-print",
125
           type: "html",
131
           type: "html",
177
   },
183
   },
178
   created() {
184
   created() {
179
     // this.getPatientList()
185
     // this.getPatientList()
180
-    this.org_id = this.$store.getters.xt_user.org.id;
186
+    // this.org_id = this.$store.getters.xt_user.org.id;
181
     // console.log("=====", this.org_id);
187
     // console.log("=====", this.org_id);
182
     // this.$refs.printOne.show(this.patientid);
188
     // this.$refs.printOne.show(this.patientid);
183
     // this.$refs.printTwo.show(this.patientid);
189
     // this.$refs.printTwo.show(this.patientid);

+ 8 - 5
src/xt_pages/outpatientDoctorStation/recordTemplate/printTwo.vue View File

128
             >
128
             >
129
             <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
129
             <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
130
           </div>
130
           </div>
131
+           <div style="text-align:left;">
132
+          {{history.physical_examination}}
131
         </div>
133
         </div>
132
-        <div></div>
134
+        </div>
135
+
133
       </div>
136
       </div>
134
       <div class="recordTitle">
137
       <div class="recordTitle">
135
         <div>专科检查</div>
138
         <div>专科检查</div>
141
           {{ history.lab_apparatus }}
144
           {{ history.lab_apparatus }}
142
         </div>
145
         </div>
143
       </div>
146
       </div>
144
-      <div style="display: flex; justify-content: end">
147
+      <div style="display: flex; justify-content: flex-end">
145
         <div class="endInfo">
148
         <div class="endInfo">
146
           <div style="height: 100px">
149
           <div style="height: 100px">
147
             诊断:{{ history.diagnostic ? history.diagnostic : "" }}
150
             诊断:{{ history.diagnostic ? history.diagnostic : "" }}
298
   },
301
   },
299
   created() {
302
   created() {
300
     this.educationOptions = getDataConfig("patient", "education_types");
303
     this.educationOptions = getDataConfig("patient", "education_types");
301
-    this.getAllDoctorList();
302
-    this.getPatientCaseHistory();
303
-    this.getAccessList();
304
+    // this.getAllDoctorList();
305
+    // this.getPatientCaseHistory();
306
+    // this.getAccessList();
304
     var xtuser = this.$store.getters.xt_user;
307
     var xtuser = this.$store.getters.xt_user;
305
     this.orgname = xtuser.org.org_name;
308
     this.orgname = xtuser.org.org_name;
306
     var data = new Date();
309
     var data = new Date();