Browse Source

新分支

28169 1 year ago
parent
commit
0eb6bb264b

+ 1 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyThree.vue View File

848
                         :src="setAdminUserES(advice[0]&&advice[0].execution_staff)"
848
                         :src="setAdminUserES(advice[0]&&advice[0].execution_staff)"
849
                         alt=""
849
                         alt=""
850
                         srcset=""
850
                         srcset=""
851
+                        v-else
851
                       />
852
                       />
852
                     </td>
853
                     </td>
853
                     <td style="line-height: 30px" width="90">
854
                     <td style="line-height: 30px" width="90">

+ 1 - 1
src/xt_pages/dialysis/details/index.vue View File

489
               </div>
489
               </div>
490
               <div style="display: flex;margin: 5px 0;">
490
               <div style="display: flex;margin: 5px 0;">
491
                 <div style="flex: 1;">血流量:{{main_collection.prescription.blood_flow_volume}}ml/min</div>
491
                 <div style="flex: 1;">血流量:{{main_collection.prescription.blood_flow_volume}}ml/min</div>
492
-                <div style="flex: 1;">置换液总量:{{main_collection.prescription.displace_liqui_value}}L</div>
492
+                <div style="flex: 1;">置换液总量:<span v-if="main_collection.prescription.displace_liqui_value>0">{{main_collection.prescription.displace_liqui_value}}</span>L</div>
493
               </div>
493
               </div>
494
               <div style="margin: 5px 0;">
494
               <div style="margin: 5px 0;">
495
                 <div>透析液类型:
495
                 <div>透析液类型:

+ 0 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

2051
         });
2051
         });
2052
       }
2052
       }
2053
       else if (this.org_template_info.template_id == 68 ) {
2053
       else if (this.org_template_info.template_id == 68 ) {
2054
-        console.log('6666',this.org_template_info.template_id);
2055
         printJS({
2054
         printJS({
2056
           printable: "dialysis-print-box-1",
2055
           printable: "dialysis-print-box-1",
2057
           type: "html",
2056
           type: "html",

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue View File

2501
          <div style="position: relative; left: 70%;top: 50px;width: 288px;">
2501
          <div style="position: relative; left: 70%;top: 50px;width: 288px;">
2502
           患者签名:
2502
           患者签名:
2503
           <div class="under_line" style="width: 120px;">
2503
           <div class="under_line" style="width: 120px;">
2504
-            <img
2504
+            <!-- <img
2505
               style="height: 30px"
2505
               style="height: 30px"
2506
               :src="dialysisOrder == null? 0: dialysisOrder.url"
2506
               :src="dialysisOrder == null? 0: dialysisOrder.url"
2507
               alt=""
2507
               alt=""
2508
               srcset=""
2508
               srcset=""
2509
-            />
2509
+            /> -->
2510
           </div>
2510
           </div>
2511
         </div>
2511
         </div>
2512
       </div>
2512
       </div>

+ 3 - 3
src/xt_pages/hospitalStation/print.vue View File

14
 
14
 
15
         <div class='dialysisPage'>
15
         <div class='dialysisPage'>
16
             <div v-if="org_id != 10138">
16
             <div v-if="org_id != 10138">
17
-                <printOne v-if="org_id != 10088 && org_id != 10215" 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>
18
-                <printFour v-if="org_id == 10088" 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"></printFour>
19
-                <printFive v-if="org_id == 10215 || org_id == 0" 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"></printFive>
17
+                <printOne v-if="org_id != 10088 && org_id != 10215 && org_id!=0" 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>
18
+                <printFour v-if="org_id == 10088 || org_id == 0" 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"></printFour>
19
+                <printFive v-if="org_id == 10215 " 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"></printFive>
20
             </div>
20
             </div>
21
             <div v-else>
21
             <div v-else>
22
                 <printThree 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"></printThree>
22
                 <printThree 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"></printThree>

+ 35 - 3
src/xt_pages/outpatientDoctorStation/template/printFour.vue View File

55
             <p>
55
             <p>
56
             医师:
56
             医师:
57
             <span
57
             <span
58
-              style="width: 100px; display: inline-block"
58
+              style="display: inline-block"
59
               v-if="item.creator == ''"
59
               v-if="item.creator == ''"
60
             >
60
             >
61
                 {{ item.doctor }}
61
                 {{ item.doctor }}
62
               </span>
62
               </span>
63
             <span
63
             <span
64
-              style="width: 100px; display: inline-block"
64
+              style="display: inline-block"
65
               v-else-if="doc_name != ''"
65
               v-else-if="doc_name != ''"
66
             >
66
             >
67
                 {{ doc_name }}
67
                 {{ doc_name }}
71
               :src="setAdminUserES(item.creator,item.doctor)"
71
               :src="setAdminUserES(item.creator,item.doctor)"
72
               alt=""
72
               alt=""
73
               srcset=""
73
               srcset=""
74
-              v-else
74
+
75
             />
75
             />
76
           </p>
76
           </p>
77
               <p>日期:{{getTime(item.ctime)?getTime(item.ctime):""}}</p>
77
               <p>日期:{{getTime(item.ctime)?getTime(item.ctime):""}}</p>
125
         projectList:[],
125
         projectList:[],
126
         orgname:"",
126
         orgname:"",
127
         diagnoses:[],
127
         diagnoses:[],
128
+        operatorMaps: {},
129
+        operators: [],
130
+        doctorList_1: [],
128
       }
131
       }
129
     },
132
     },
130
    methods:{
133
    methods:{
134
+   // 电子签名
135
+   setAdminUserES(id,name) {
136
+      console.log(id)
137
+      console.log(name)
138
+      console.log(this.operatorMaps)
139
+
140
+
141
+      if (id == 0) {
142
+        return "";
143
+      }
144
+      if (id in this.operatorMaps) {
145
+        return this.operatorMaps[id].url;
146
+      } else {
147
+        this.doc_name = name
148
+        return "";
149
+      }
150
+    },
131
      getAge(patient){
151
      getAge(patient){
132
        var thisLen = patient.id_card_no.length
152
        var thisLen = patient.id_card_no.length
133
        var birth = ''
153
        var birth = ''
191
             this.advicePrint = advicePrint
211
             this.advicePrint = advicePrint
192
             this.prescriptions = advicePrint
212
             this.prescriptions = advicePrint
193
             console.log("处方222222",this.prescriptions)
213
             console.log("处方222222",this.prescriptions)
214
+            this.doctorList_1 = response.data.data.eles;
215
+            console.log(this.doctorList_1, "医生列表");
216
+            if (this.doctorList_1.length > 0) {
217
+              var operatorsLen = this.doctorList_1.length;
218
+              for (var index = 0; index < operatorsLen; index++) {
219
+                this.$set(
220
+                  this.operatorMaps,
221
+                  this.doctorList_1[index].creator,
222
+                  this.doctorList_1[index]
223
+                );
224
+              }
225
+            }
194
             var hisPatient = response.data.data.hisPatient
226
             var hisPatient = response.data.data.hisPatient
195
             console.log("hisPatient",hisPatient)
227
             console.log("hisPatient",hisPatient)
196
             this.hisPatient = hisPatient
228
             this.hisPatient = hisPatient

+ 0 - 2
src/xt_pages/workforce/remind_print_setting_two.vue View File

26
                     <span v-if="type ==1 && printObj.name == 1">{{main_collection.patient.name}} </span>
26
                     <span v-if="type ==1 && printObj.name == 1">{{main_collection.patient.name}} </span>
27
                     <span v-if="type ==2 && printObj.name == 1">{{main_collection.patient}} </span>
27
                     <span v-if="type ==2 && printObj.name == 1">{{main_collection.patient}} </span>
28
                   </span>&nbsp;&nbsp;
28
                   </span>&nbsp;&nbsp;
29
-                  <!-- <span style="font-weight: bolder;">
30
-                    {{main_collection.patient.name}} </span>&nbsp;&nbsp;  -->
31
                   <span>
29
                   <span>
32
                     <span v-if="main_collection.patient.gender==1">男</span>
30
                     <span v-if="main_collection.patient.gender==1">男</span>
33
                     <span v-if="main_collection.patient.gender==2">女</span>
31
                     <span v-if="main_collection.patient.gender==2">女</span>