28169 před 1 rokem
rodič
revize
0eb6bb264b

+ 1 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyThree.vue Zobrazit soubor

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

+ 1 - 1
src/xt_pages/dialysis/details/index.vue Zobrazit soubor

@@ -489,7 +489,7 @@
489 489
               </div>
490 490
               <div style="display: flex;margin: 5px 0;">
491 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 493
               </div>
494 494
               <div style="margin: 5px 0;">
495 495
                 <div>透析液类型:

+ 0 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Zobrazit soubor

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

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue Zobrazit soubor

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

+ 3 - 3
src/xt_pages/hospitalStation/print.vue Zobrazit soubor

@@ -14,9 +14,9 @@
14 14
 
15 15
         <div class='dialysisPage'>
16 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 20
             </div>
21 21
             <div v-else>
22 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 Zobrazit soubor

@@ -55,13 +55,13 @@
55 55
             <p>
56 56
             医师:
57 57
             <span
58
-              style="width: 100px; display: inline-block"
58
+              style="display: inline-block"
59 59
               v-if="item.creator == ''"
60 60
             >
61 61
                 {{ item.doctor }}
62 62
               </span>
63 63
             <span
64
-              style="width: 100px; display: inline-block"
64
+              style="display: inline-block"
65 65
               v-else-if="doc_name != ''"
66 66
             >
67 67
                 {{ doc_name }}
@@ -71,7 +71,7 @@
71 71
               :src="setAdminUserES(item.creator,item.doctor)"
72 72
               alt=""
73 73
               srcset=""
74
-              v-else
74
+
75 75
             />
76 76
           </p>
77 77
               <p>日期:{{getTime(item.ctime)?getTime(item.ctime):""}}</p>
@@ -125,9 +125,29 @@ export default {
125 125
         projectList:[],
126 126
         orgname:"",
127 127
         diagnoses:[],
128
+        operatorMaps: {},
129
+        operators: [],
130
+        doctorList_1: [],
128 131
       }
129 132
     },
130 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 151
      getAge(patient){
132 152
        var thisLen = patient.id_card_no.length
133 153
        var birth = ''
@@ -191,6 +211,18 @@ export default {
191 211
             this.advicePrint = advicePrint
192 212
             this.prescriptions = advicePrint
193 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 226
             var hisPatient = response.data.data.hisPatient
195 227
             console.log("hisPatient",hisPatient)
196 228
             this.hisPatient = hisPatient

+ 0 - 2
src/xt_pages/workforce/remind_print_setting_two.vue Zobrazit soubor

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