yq1 1 年之前
父節點
當前提交
0190fae9ff
共有 1 個文件被更改,包括 25 次插入28 次删除
  1. 25 28
      src/xt_pages/outpatientDoctorStation/template/printFour.vue

+ 25 - 28
src/xt_pages/outpatientDoctorStation/template/printFour.vue 查看文件

55
             <p>
55
             <p>
56
             医师:
56
             医师:
57
             <span
57
             <span
58
-              style="display: inline-block"
59
-              v-if="item.creator == ''"
60
-            >
61
-                {{ item.doctor }}
58
+                style="width: 100px; display: inline-block"
59
+                v-if="item.creator == ''"
60
+              >
61
+                {{ item.doctor ? item.doctor : "" }}
62
               </span>
62
               </span>
63
-            <span
64
-              style="display: inline-block"
65
-              v-else-if="doc_name != ''"
66
-            >
63
+              <!-- <span
64
+                style="width: 100px; display: inline-block"
65
+                v-else-if="doc_name != ''"
66
+              >
67
                 {{ doc_name }}
67
                 {{ doc_name }}
68
-              </span>
69
-            <img
70
-              style="height: 50px;"
71
-              :src="setAdminUserES(item.creator,item.doctor)"
72
-              alt=""
73
-              srcset=""
74
-              v-else
75
-            />
76
-          </p>
68
+              </span> -->
69
+              <img
70
+                style="height: 30px"
71
+                :src="setAdminUserES(item.creator,item.doctor)"
72
+                alt=""
73
+                srcset=""
74
+                v-else
75
+              />
76
+            </p>
77
               <p>日期:{{getTime(item.ctime)?getTime(item.ctime):""}}</p>
77
               <p>日期:{{getTime(item.ctime)?getTime(item.ctime):""}}</p>
78
           </div>
78
           </div>
79
           <div class="actionBar">
79
           <div class="actionBar">
106
 import {getInitData} from "@/api/his/his"
106
 import {getInitData} from "@/api/his/his"
107
 export default {
107
 export default {
108
     props:{
108
     props:{
109
-      patient_id:Number,
110
-      record_date:String,
111
-      prescription_id:Number,
112
-      ids:String
109
+      patient_id: Number,
110
+      record_date: String,
111
+      prescription_id: Number,
112
+      his_patient_id:Number,
113
+      ids: String,
114
+      newHisPatient:Object,
113
     },
115
     },
114
     data(){
116
     data(){
115
       return {
117
       return {
132
     },
134
     },
133
    methods:{
135
    methods:{
134
    // 电子签名
136
    // 电子签名
135
-   setAdminUserES(id,name) {
136
-      console.log(id)
137
-      console.log(name)
138
-      console.log(this.operatorMaps)
139
-
140
-
137
+    setAdminUserES(id,name) {
141
       if (id == 0) {
138
       if (id == 0) {
142
         return "";
139
         return "";
143
       }
140
       }
144
       if (id in this.operatorMaps) {
141
       if (id in this.operatorMaps) {
145
         return this.operatorMaps[id].url;
142
         return this.operatorMaps[id].url;
146
       } else {
143
       } else {
147
-        this.doc_name = name
144
+        this.doc_name = name;
148
         return "";
145
         return "";
149
       }
146
       }
150
     },
147
     },