2 Commity 4fb905881e ... f39a6dd9d0

Autor SHA1 Wiadomość Data
  yq1 f39a6dd9d0 Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch 1 tydzień temu
  yq1 3257d2db9a 9月10,批量打印处方笺 1 tydzień temu

+ 7 - 9
src/xt_pages/outpatientDoctorStation/batch_print_template/batchPrintThree.vue Wyświetl plik

91
 
91
 
92
           <div class="infoTitle">
92
           <div class="infoTitle">
93
             <div>
93
             <div>
94
-              姓名:{{
95
-                i.name
96
-                  ? i.name.indexOf("(") > -1
97
-                  ?i.name.substring(
98
-                    0,
99
-                    i.name.indexOf("(")
100
-                  )
94
+              姓名:
95
+              {{ i.name ? i.name.indexOf("(") > -1
96
+                 ?i.name.substring(0, i.name.indexOf("("))
101
                   : i.name
97
                   : i.name
102
                   : ""
98
                   : ""
103
               }}
99
               }}
197
           <div style="display: flex">
193
           <div style="display: flex">
198
             <div>
194
             <div>
199
               医&nbsp;&nbsp;&nbsp;&nbsp;师:
195
               医&nbsp;&nbsp;&nbsp;&nbsp;师:
196
+              
200
               <span
197
               <span
201
                 style="width: 100px; display: inline-block"
198
                 style="width: 100px; display: inline-block"
202
-                v-if="i.info.creator == 0"
199
+                v-if="setAdminUserES(i.info.creator)==''"
203
               >
200
               >
204
                {{ i.info.doctor ? i.info.doctor : "" }}
201
                {{ i.info.doctor ? i.info.doctor : "" }}
205
               </span>
202
               </span>
320
     // 电子签名
317
     // 电子签名
321
     setAdminUserES(id) {
318
     setAdminUserES(id) {
322
       console.log(id)
319
       console.log(id)
323
-      console.log(this.operatorMaps)
320
+      console.log('this.operatorMaps',this.operatorMaps)
324
 
321
 
325
       if (id == 0) {
322
       if (id == 0) {
326
         return "";
323
         return "";
327
       }
324
       }
328
       if (id in this.operatorMaps) {
325
       if (id in this.operatorMaps) {
326
+        console.log('this.operatorMaps[id].url',this.operatorMaps[id].url);
329
         return this.operatorMaps[id].url;
327
         return this.operatorMaps[id].url;
330
       } else {
328
       } else {
331
         return "";
329
         return "";

+ 1 - 1
src/xt_pages/outpatientDoctorStation/batch_print_treatTemplate/treatBatchPrint.vue Wyświetl plik

186
           医&nbsp;&nbsp;&nbsp;&nbsp;师:
186
           医&nbsp;&nbsp;&nbsp;&nbsp;师:
187
           <span
187
           <span
188
             style="width: 100px; display: inline-block"
188
             style="width: 100px; display: inline-block"
189
-            v-if="i.info.creator == 0"
189
+            v-if="setAdminUserES(item.creator) == ''"
190
           >
190
           >
191
             {{ i.info.doctor ? i.info.doctor : "" }}
191
             {{ i.info.doctor ? i.info.doctor : "" }}
192
 
192