瀏覽代碼

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1 年之前
父節點
當前提交
6140483d15

+ 3 - 3
src/xt_pages/medicalScheduling/medical_print.vue 查看文件

21
                         <table class="table">
21
                         <table class="table">
22
                             <thead>
22
                             <thead>
23
                                 <tr>
23
                                 <tr>
24
-                                    <td width="120">医护姓名</td>
24
+                                    <td width="120">医护<br/>姓名</td>
25
                                     <td width="120">周一<br />({{ weekArr[0] }})</td>
25
                                     <td width="120">周一<br />({{ weekArr[0] }})</td>
26
                                     <td width="120">周二<br />({{ weekArr[1] }})</td>
26
                                     <td width="120">周二<br />({{ weekArr[1] }})</td>
27
                                     <td width="120">周三<br />({{ weekArr[2] }})</td>
27
                                     <td width="120">周三<br />({{ weekArr[2] }})</td>
31
                                     <td width="120">周日<br />({{ weekArr[6] }})</td>
31
                                     <td width="120">周日<br />({{ weekArr[6] }})</td>
32
                                     <td width="120">调休<br /></td>
32
                                     <td width="120">调休<br /></td>
33
                                     <td width="120">加班<br /></td>
33
                                     <td width="120">加班<br /></td>
34
-                                    <td width="120">累计时数<br /></td>
34
+                                    <td width="120">累计<br/>时数<br /></td>
35
                                     <td width="120">公休<br /></td>
35
                                     <td width="120">公休<br /></td>
36
                                 </tr>
36
                                 </tr>
37
                             </thead>
37
                             </thead>
94
     },
94
     },
95
     methods:{
95
     methods:{
96
       printAction: function() {
96
       printAction: function() {
97
-          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
97
+          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 0px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 0px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
98
 
98
 
99
           printJS({
99
           printJS({
100
           printable: 'print_content',
100
           printable: 'print_content',

+ 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
     },