Browse Source

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

XMLWAN 3 years ago
parent
commit
3d0aea97c1

+ 1 - 1
src/xt_pages/user/coursePrint.vue View File

@@ -115,7 +115,7 @@
115 115
     },
116 116
     methods: {
117 117
       printAction: function() {
118
-        const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
118
+        const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
119 119
         printJS({
120 120
           printable: 'print_content',
121 121
           type: 'html',

+ 16 - 16
src/xt_pages/user/templateSummary.vue View File

@@ -63,27 +63,27 @@
63 63
                 <div style="padding:10px;border-bottom:1px solid #DCDFE6;">阶段小结时间:{{getTime(editObj.record_time)}}</div>  
64 64
                 <div style="padding: 10px 10px 0;">阶段小结概要:</div>  
65 65
                 <div style="padding:10px;border-bottom:1px solid #DCDFE6;">
66
-                  <span style="margin-right:10px;line-height:20px;">干体重(kg):{{editObj.dry_weight}}</span>
67
-                  <span style="margin-right:10px;line-height:20px;">共透析:{{editObj.dialysis_count}}次</span>
68
-                  <span style="margin-right:10px;line-height:20px;">HD:{{editObj.hd_count}}次</span>
66
+                  <span style="margin-right:10px;line-height:30px;">干体重(kg):{{editObj.dry_weight}}</span>
67
+                  <span style="margin-right:10px;line-height:30px;">共透析:{{editObj.dialysis_count}}次</span>
68
+                  <span style="margin-right:10px;line-height:30px;">HD:{{editObj.hd_count}}次</span>
69 69
                   <br>
70
-                  <span style="margin-right:10px;line-height:20px;">HDF:{{editObj.hdf_count}}次</span>
71
-                  <span style="margin-right:10px;line-height:20px;">HP:{{editObj.hp_count}}次</span>
72
-                  <span style="margin-right:10px;line-height:20px;">其他:{{editObj.other_count}}次</span>
70
+                  <span style="margin-right:10px;line-height:30px;">HDF:{{editObj.hdf_count}}次</span>
71
+                  <span style="margin-right:10px;line-height:30px;">HP:{{editObj.hp_count}}次</span>
72
+                  <span style="margin-right:10px;line-height:30px;">其他:{{editObj.other_count}}次</span>
73 73
                    <br>
74
-                  <span style="margin-right:10px;line-height:20px;">透析器:{{editObj.dialzer_apparatus}}</span>
75
-                  <span style="margin-right:10px;line-height:20px;">抗凝剂:
74
+                  <span style="margin-right:10px;line-height:30px;">透析器:{{editObj.dialzer_apparatus}}</span>
75
+                  <span style="margin-right:10px;line-height:30px;">抗凝剂:
76 76
                     <span> {{getAnticoagulant(editObj.anticoagulant)}}</span>
77 77
                   </span>
78
-                  <span style="margin-right:10px;line-height:20px;">透析液:(钾:{{editObj.kalium}} 钙:{{editObj.autunite}} Na:{{editObj.natrium}})</span>
78
+                  <span style="margin-right:10px;line-height:30px;">透析液:(钾:{{editObj.kalium}} 钙:{{editObj.autunite}} Na:{{editObj.natrium}})</span>
79 79
                   <br>
80
-                  <span style="margin-right:10px;line-height:20px;">每次透析:<span v-if="editObj.hour!=''"> {{editObj.hour}}小时</span>
80
+                  <span style="margin-right:10px;line-height:30px;">每次透析:<span v-if="editObj.hour!=''"> {{editObj.hour}}小时</span>
81 81
                    <span v-if="editObj.minute!=''">{{editObj.minute}}</span>分</span>
82
-                  <span style="margin-right:10px;line-height:20px;">透前体重(kg):{{editObj.befor_weight}}</span>
83
-                  <span style="margin-right:10px;line-height:20px;">透后体重(kg):{{editObj.after_weight}}</span>
82
+                  <span style="margin-right:10px;line-height:30px;">透前体重(kg):{{editObj.befor_weight}}</span>
83
+                  <span style="margin-right:10px;line-height:30px;">透后体重(kg):{{editObj.after_weight}}</span>
84 84
                   <br>
85
-                  <span style="margin-right:10px;line-height:20px;">透前血压(mmHg):{{editObj.befor_pressure}}</span>
86
-                  <span style="margin-right:10px;line-height:20px;">透后血压(mmHg):{{editObj.after_pressure}}</span>
85
+                  <span style="margin-right:10px;line-height:30px;">透前血压(mmHg):{{editObj.befor_pressure}}</span>
86
+                  <span style="margin-right:10px;line-height:30px;">透后血压(mmHg):{{editObj.after_pressure}}</span>
87 87
                 </div>
88 88
                  <div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;">阶段小结总结:
89 89
                    {{editObj.template_summary_content}}
@@ -93,7 +93,7 @@
93 93
                     <div v-for="item in editObj.template_inspection_content">
94 94
                     <p style="font-weight: bold;margin: 10px 0;">{{ item.project_name }} 检查日期:{{getTime(item.arr[0].inspect_date)}}</p>
95 95
                     <div style="display:flex;flex-wrap: wrap;">
96
-                      <div v-for="it in item.arr" style="width:33%;">
96
+                      <div v-for="it in item.arr" style="width:33%;margin-bottom:5px;">
97 97
                         {{ it.item_name }} <span v-if="it.unit!=''">[{{it.unit}}]</span>:
98 98
                         <span v-if="parseInt(it.inspect_value) < parseInt(it.range_min)">
99 99
                             {{it.inspect_value}}↓
@@ -600,7 +600,7 @@
600 600
                       </div>
601 601
                      </div>
602 602
                   </el-row>
603
-                  <el-row>
603
+                  <el-row style="margin-top:10px;">
604 604
                     <el-col :span="8">
605 605
                       <el-form-item label="记录医生">
606 606
                         <el-select v-model="form.admin_user_id" placeholder="请选择">

+ 6 - 6
src/xt_pages/user/templateSummaryPrint.vue View File

@@ -10,12 +10,12 @@
10 10
       
11 11
       <div style="padding-bottom:20px;border-bottom:1px solid #000;margin-top:40px;">
12 12
          <span>姓名:{{patientList.patient.name}}</span>  
13
-         <span>年龄:{{getNewAge(patientList.patient.id_card_no)}}</span>  
14
-         <span>性别:
13
+         <span style="margin-left:20px;">年龄:{{getNewAge(patientList.patient.id_card_no)}}</span>  
14
+         <span style="margin-left:20px;">性别:
15 15
              <span v-if="patientList.patient.gender == 1">男</span>
16 16
              <span v-if="patientList.patient.gender == 2">女</span>
17 17
          </span> 
18
-         <span>诊断:{{patientList.patient.diagnose}}</span> 
18
+         <span style="margin-left:20px;">诊断:{{patientList.patient.diagnose}}</span> 
19 19
       </div>
20 20
       <div style="padding:20px 0;border-bottom:1px solid #000;font-weight:bold;">
21 21
         <span>阶段评估时间:{{getTime(patientList.record_time)}}</span>  
@@ -54,8 +54,8 @@
54 54
           <div v-for="item in patientList.template_inspection_content">
55 55
             <p>{{ item.project_name }} 检查日期:{{getTime(item.arr[0].inspect_date)}}</p>
56 56
             <div style="display:flex;flex-wrap: wrap;">
57
-              <div v-for="it in item.arr" style="width:33%;">
58
-            {{ it.item_name }} <span v-if="it.unit!=''"> [{{it.unit}}] </span>:
57
+              <div v-for="it in item.arr" style="width:33%;margin-bottom:10px;">
58
+                {{ it.item_name }} <span v-if="it.unit!=''"> [{{it.unit}}] </span>:
59 59
                 <span v-if="parseInt(it.inspect_value) < parseInt(it.range_min)">
60 60
                   {{it.inspect_value}}↓
61 61
                 </span> 
@@ -73,7 +73,7 @@
73 73
       </div>
74 74
      <div style="margin-top:10px;">
75 75
        <span>记录医生:{{getPatientList(patientList.admin_user_id)}}</span>  
76
-       <span>记录时间:{{getTime(patientList.record_time)}}</span>  
76
+       <span style="margin-left:20px;">记录时间:{{getTime(patientList.record_time)}}</span>  
77 77
      </div>
78 78
     </div>
79 79
   </div>