Parcourir la source

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

陈少旭 il y a 4 mois
Parent
révision
2f13ba7cd3

+ 13 - 1
src/router/modules/dialysis.js Voir le fichier

@@ -120,6 +120,18 @@ export default {
120 120
       }
121 121
     },
122 122
 
123
+    {
124
+      path: '/dialysis/doctocInspection/print',
125
+      component: () => import('@/xt_pages/dialysis/doctorInspectionPrint'),
126
+      name: '透析项目打印',
127
+      hidden: true,
128
+      is_menu: false,
129
+      meta: {
130
+        title: '透析项目打印',
131
+        noCache: true
132
+      }
133
+    },
134
+
123 135
     {
124 136
       path: '/dialysis/doctorAdviceStaticPrint',
125 137
       component: () => import('@/xt_pages/dialysis/doctorAdviceStaticPrint'),
@@ -781,7 +793,7 @@ export default {
781 793
         noCache: true
782 794
       }
783 795
     },
784
-    
796
+
785 797
     {
786 798
       path: '/dialysis/print/batch/thirtyTwo',
787 799
       component: () =>

+ 20 - 3
src/xt_pages/data/druguseTemplate.vue Voir le fichier

@@ -301,6 +301,12 @@
301 301
                     </template>
302 302
                   </el-table-column>
303 303
 
304
+                  <el-table-column prop="remark" align="center" label="医嘱嘱托">
305
+                    <template slot-scope="scope">
306
+                      {{scope.row.remark}}
307
+                    </template>
308
+                  </el-table-column>
309
+
304 310
                 </el-table>
305 311
               </div>
306 312
               <div slot="footer" class="dialog-footer">
@@ -488,6 +494,12 @@
488 494
                     </el-form-item>
489 495
                   </el-col>
490 496
 
497
+                  <el-col :span="12">
498
+                    <el-form-item prop="day_count" label="医嘱嘱托:">
499
+                      <el-input style="width: 200px" v-model="templateForm.remark"></el-input>&nbsp;
500
+                    </el-form-item>
501
+                  </el-col>
502
+
491 503
                 </el-row>
492 504
               </el-form>
493 505
               <div slot="footer" class="dialog-footer">
@@ -1422,7 +1434,8 @@
1422 1434
           execution_frequency: '',
1423 1435
           id: 0,
1424 1436
           drug_id:0,
1425
-          way:0
1437
+          way:0,
1438
+          remark:""
1426 1439
         },
1427 1440
         dialogConfigVisible:false,
1428 1441
         templateFormEdit: {
@@ -1877,7 +1890,10 @@
1877 1890
             templateFormTwo.parent_id = this.parent_id
1878 1891
             templateFormTwo.drug_id = this.templateForm.drug_id
1879 1892
             templateFormTwo.way   = this.templateForm.way
1880
-
1893
+            templateFormTwo.remark = this.templateForm.remark
1894
+             
1895
+            console.log("remake------------------",templateFormTwo.remark)
1896
+           
1881 1897
             if (this.isAddChild) {
1882 1898
               CreateSubAdvice(templateFormTwo).then(response => {
1883 1899
                 if (response.data.state == 0) {
@@ -1933,7 +1949,7 @@
1933 1949
               templateFormTwo.parent_id = this.parent_id
1934 1950
               templateFormTwo.drug_id = this.templateForm.drug_id
1935 1951
               templateFormTwo.way  = this.templateForm.way
1936
-
1952
+              templateFormTwo.remark = this.templateForm.remark
1937 1953
               if (this.templateForm.frequency_type == 1) {
1938 1954
                 templateFormTwo.frequency_type = this.templateForm.frequency_type
1939 1955
                 templateFormTwo.day_count = '0'
@@ -1979,6 +1995,7 @@
1979 1995
                     this.adviceTableData[i].weekdays = templateFormTwo.weekdays
1980 1996
                     this.adviceTableData[i].drug_id =  templateFormTwo.drug_id
1981 1997
                     this.adviceTableData[i].way   = templateFormTwo.way
1998
+                    this.adviceTableData[i].remark =templateFormTwo.remark
1982 1999
 
1983 2000
                   }
1984 2001
                 }

+ 14 - 8
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue Voir le fichier

@@ -201,7 +201,7 @@
201 201
                       <span v-if="record.prescription.anticoagulant == 3">iu</span>
202 202
                       <span v-if="record.prescription.anticoagulant == 2">iu</span>
203 203
                       <span v-if="record.prescription.anticoagulant == 1">mg</span>;
204
-                      </span>
204
+                    </span>
205 205
                   </td>
206 206
                 </tr>
207 207
                 <tr>
@@ -265,7 +265,7 @@
265 265
                         ></label-box>
266 266
                           &nbsp; (总量:{{
267 267
                             record.prescription.displace_liqui_value
268
-                              ? prescription.displace_liqui_value
268
+                              ? record.prescription.displace_liqui_value
269 269
                               : "/"
270 270
                           }}L)
271 271
                       </span>&nbsp;
@@ -1192,12 +1192,18 @@
1192 1192
           </td>
1193 1193
         </tr>
1194 1194
         <tr>
1195
-        <td style="text-align:left;margin-left:15px" colspan="6">
1196
-              <span style="margin-left:15px">质控护士签名:
1197
-              </span>
1198
-             </td>
1199
-           </tr>
1200
-         </table>
1195
+          <td style="text-align:left;margin-left:15px" colspan="6">
1196
+            <span style="margin-left:15px">质控护士签名:
1197
+            </span>
1198
+          </td>
1199
+        </tr>
1200
+        <tr>
1201
+          <td style="text-align:left;margin-left:15px" colspan="6">
1202
+            <span style="margin-left:15px">护士长/组长签名:
1203
+            </span>
1204
+          </td>
1205
+        </tr>
1206
+      </table>
1201 1207
             <div style="margin-top:20px">
1202 1208
               <span style="margin-left:280px">肝素浓度:每毫升肝素生理盐水含肝素钠2.5毫克</span>
1203 1209
              </div>

+ 5 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_forty.vue Voir le fichier

@@ -322,15 +322,17 @@
322 322
                            <td width="60"></td>
323 323
                             <td width="60">穿刺针:</td>
324 324
                             <td width="280">
325
-                            <div>
326
-                                &nbsp;
325
+                            <div class="under-line">
326
+                              &nbsp;
327
+                              {{record.assessment_before_dislysis.puncture_needle ? record.assessment_before_dislysis.puncture_needle :''}}
328
+                                <!-- &nbsp;
327 329
                                 <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle == '16G' ? true : false" showValue="16G"></label-box>
328 330
                                 &nbsp;
329 331
                                 <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>
330 332
                                 &nbsp;
331 333
                                 <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
332 334
                                 &nbsp;
333
-                                <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle == '留置针16G' ? true : false" showValue="留置针16G"></label-box>
335
+                                <label-box :isChecked="record.assessment_before_dislysis.puncture_needle && record.assessment_before_dislysis.puncture_needle == '留置针' ? true : false" showValue="留置针16G"></label-box> -->
334 336
                             </div>
335 337
                             </td>
336 338
                             <td></td>

+ 14 - 0
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Voir le fichier

@@ -302,6 +302,20 @@
302 302
             </span>
303 303
           </template>
304 304
         </el-table-column>
305
+
306
+        <el-table-column
307
+          prop="checker"
308
+          min-width="30px"
309
+          align="center"
310
+          label="医嘱嘱托"
311
+        >
312
+          <template slot-scope="scope">
313
+            <span>
314
+              {{ scope.row.remark }}
315
+            </span>
316
+          </template>
317
+        </el-table-column>
318
+       
305 319
       </el-table>
306 320
 
307 321
 

+ 578 - 0
src/xt_pages/dialysis/doctorInspectionPrint.vue Voir le fichier

@@ -0,0 +1,578 @@
1
+<template>
2
+    <div class="main-contain">
3
+        <div class="position">
4
+        <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+        <el-row style="float:right;">
6
+            <el-col :span="24">
7
+            <el-button size="small" icon="el-icon-printer" type="primary" @click="printAction">打印</el-button>
8
+            </el-col>
9
+        </el-row>
10
+        </div>
11
+        <div class="app-container" style="background-color: white;">
12
+            <div id="dialysisTable">
13
+                <div class="order_title_panl">
14
+                    <span class="main_title">透析医嘱</span>
15
+                </div>
16
+                <p style="width: 960px;text-align: right;margin: 0 auto 10px;">日期:{{ time }}</p>
17
+                <table class="table dialysisTable" border="1" cellspacing="0" cellpadding="0">
18
+                    <tr>
19
+                    <th width="40px">姓名</th>
20
+                    <th width="50px">透析器</th>
21
+                    <th width="40px">床位号</th>
22
+                 
23
+                    <th width="50px">开始时间</th>
24
+                    <th width="200px">医嘱内容</th>
25
+                    <th width="50px">执行时间</th>
26
+                    <th width="50px">执行护士</th>
27
+                    <th width="50px">校对护士</th>
28
+                    <th width="50px">校对时间</th>
29
+                    <th width="50px">开嘱医生</th>
30
+                    <th width="50px">开嘱时间</th>
31
+                    </tr>
32
+                    <template v-for="(schedules, zone_name, index) in scheduleMap">
33
+                    <tr >
34
+                        <td>{{ zone_name }}</td>
35
+                        <td></td>
36
+                        <td></td>
37
+                        <td></td>
38
+                        <td></td>
39
+                        <td></td>
40
+                        <td></td>
41
+                        <td></td>
42
+                        <td></td>
43
+                        <td></td>
44
+                        <td></td>
45
+                    </tr>
46
+                    <template v-for="schedule in schedules">
47
+                        <template v-for="(group, group_index) in schedule.new_advice">
48
+                        <tr v-for="(advice, advice_index) in group.advices" :key="advice_index">
49
+                            <td
50
+                            v-if="advice_index == 0"
51
+                            :rowspan="group.advices.length"
52
+                            >{{ advice.parent_id == 0 ? schedule.patient.name : "" }}
53
+                            <br>
54
+                            ({{ advice.parent_id == 0 ? schedule.dialysis_no : ""}})
55
+                            <br>
56
+                            <span v-if="schedule.mode_id == 1">(HD)</span>
57
+                            <span v-if="schedule.mode_id == 2">(HDF)</span>
58
+                            <span v-if="schedule.mode_id == 3">(HD+HP)</span>
59
+                            <span v-if="schedule.mode_id == 4">(HP)</span>
60
+                            <span v-if="schedule.mode_id == 5">(HF)</span>
61
+                            <span v-if="schedule.mode_id == 6">(SCUF)</span>
62
+                            <span v-if="schedule.mode_id == 7">(IUF)</span>
63
+                            <span v-if="schedule.mode_id == 8">(HFHD)</span>
64
+                            <span v-if="schedule.mode_id == 9">(HFHD+HP)</span>
65
+                            <span v-if="schedule.mode_id == 10">(PHF)</span>
66
+                            <span v-if="schedule.mode_id == 11">(HFR)</span>
67
+                            <span v-if="schedule.mode_id == 12">(HDF+HP)</span>
68
+                            <span v-if="schedule.mode_id == 13">(CRRT)</span>
69
+                            <span v-if="schedule.mode_id == 14">(腹水回输)</span>
70
+                            <span v-if="schedule.mode_id == 24">I-HDF</span>
71
+                            </td>
72
+                           
73
+                            <td v-if="advice_index == 0" :rowspan="group.advices.length">
74
+                               {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialyzer_perfusion_apparatus : ""}}
75
+                               {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialysis_dialyszers : "/"}}
76
+                               {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialysis_irrigation : "/"}}
77
+                               {{advice.parent_id == 0 && schedule.prescription!=null ?  schedule.prescription.dialysis_strainer : ""}}
78
+                              
79
+                            </td>
80
+                            <td>
81
+                                {{ schedule.device_number.number }}
82
+                            </td>
83
+                           
84
+                            <td v-if="advice_index == 0" :rowspan="group.advices.length">
85
+                            {{
86
+                            advice.parent_id == 0
87
+                            ? parseTime(advice.start_time, "{m}-{d} {h}:{i}")
88
+                            : ""
89
+                            }}
90
+                            </td>
91
+                            <td
92
+                            :class="
93
+                                advice.parent_id == 0
94
+                                ? 'advice_content'
95
+                                : 'subadvice_content'
96
+                            "
97
+                            >
98
+                            <span>{{ advice.advice_name }}</span>
99
+                            <span>{{ advice.advice_desc }}{{ advice.drug_spec_unit }}</span>
100
+                            <span v-if="advice.prescribing_number">
101
+                                {{ advice.prescribing_number
102
+                                }}{{ advice.prescribing_number_unit }}
103
+                            </span>
104
+                            <span v-if="advice.single_dose">
105
+                                单次用量 {{ advice.single_dose
106
+                                }}{{ advice.single_dose_unit }}
107
+                            </span>
108
+                            <span>{{ advice.delivery_way }}</span>
109
+                            <span>{{ advice.execution_frequency }}</span>
110
+                            <span
111
+                                v-if="advice.parent_id == 0 && advice.remark.length > 0"
112
+                            >({{ advice.remark }})</span>
113
+                            </td>
114
+                            <td>{{ parseTime(advice.execution_time, "{m}-{d} {h}:{i}") }}</td>
115
+                            <td>{{ getName(advice.execution_staff) }}</td>
116
+                            <td>{{ getName(advice.checker) }}</td>
117
+                            <td>{{ parseTime(advice.check_time, "{m}-{d} {h}:{i}") }}</td>
118
+                            <td>{{ getName(advice.advice_doctor) }}</td>
119
+                            <td>{{ parseTime(advice.start_time, "{m}-{d} {h}:{i}") }}</td>
120
+                        </tr>
121
+                        </template>
122
+                     </template>
123
+                    </template>
124
+                </table>
125
+            </div>
126
+        </div>
127
+
128
+        
129
+    </div>
130
+</template>
131
+
132
+<script>
133
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
134
+import { getSchedualDoctors } from '@/api/advice'
135
+import { parseTime } from '@/utils'
136
+import print from 'print-js'
137
+const moment = require('moment')
138
+export default {
139
+    components:{
140
+        BreadCrumb
141
+    },
142
+    data(){
143
+        return{
144
+            crumbs: [
145
+                { path: false, name: '耗材药品' },
146
+                { path: false, name: '打印' }
147
+            ],
148
+            tableData:[],
149
+            start_time:"",
150
+            end_time:"",
151
+            print_time:moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
152
+
153
+            zone_selected: 0,
154
+            scheduleMap:[],
155
+            time:'',
156
+            show:true,
157
+            showOne:false,
158
+            delivery_way:"",
159
+            org_id:0,
160
+        }
161
+    },
162
+    methods:{
163
+        printAction: function() {
164
+            const style = '@media print { .dialysisTable{width:960px;margin: 0 auto;text-align: center;border-collapse: collapse;}.order_title_panl {text-align: center;.main_title {font-size: 18px;line-height: 40px;font-weight: 500;}}.dialysisTable tr{padding: 5px 0;}.dialysisTable th {color: #000;padding: 0;margin: 0;height: 30px;}.dialysisTable tr td {padding: 0px 0;}.subadvice_content {text-align: left;padding-left: 25px !important;padding-right: 5px !important;}.advice_content {text-align: left;padding-left: 5px !important;padding-right: 5px !important;padding: 5px 5px !important;} }'
165
+
166
+            printJS({
167
+            printable: 'dialysisTable',
168
+            type: 'html',
169
+            documentTitle: '  ',
170
+            style: style,
171
+            scanStyles: false
172
+            })
173
+        },
174
+        requestSchedualDoctors (time) {
175
+            let newTime =  moment(time).format('YYYY-MM-DD')
176
+            getSchedualDoctors({
177
+            date: newTime,
178
+            patient_type: 0,
179
+            advice_type: 2,
180
+            delivery_way:this.delivery_way,
181
+            excution_way:this.$route.query.excution_way,
182
+            }).then(rs => {
183
+                var resp = rs.data
184
+                if (resp.state == 1) {
185
+                this.admin_user = resp.data.adminUser
186
+                var config = resp.data.config
187
+                let project_config = resp.data.project_config
188
+                
189
+                if(project_config.is_open == 1){
190
+                    this.project = resp.data.project
191
+                    
192
+                    resp.data.hisAdvices.map((item,index) => {
193
+                     item.doctor_advice = []
194
+                    item.new_advice = item.new_advice ? item.new_advice : []
195
+                     
196
+                    if(this.project[index].project.length > 0){
197
+                        this.project[index].project.map(it => {
198
+                        let obj = {
199
+                            advice_doctor: it.doctor,
200
+                            start_time:it.start_time,
201
+                            advice_name: it.type == 2 ? it.project.project_name : it.good_info.good_name,
202
+                            execution_time:it.execution_time,
203
+                            execution_state:it.execution_state,
204
+                            execution_staff:it.execution_staff,
205
+                            check_time:it.check_time,
206
+                            check_state:it.check_state,
207
+                            checker:it.checker,
208
+                            created_time:it.ctime,
209
+                            remark:'',
210
+                            id:it.id,
211
+                            parent_id:0,
212
+                            groupno:0,
213
+                            advice_type:6
214
+                        }
215
+  
216
+                         item.doctor_advice.push(obj)
217
+                        })
218
+                    }
219
+                    
220
+                   })
221
+                }
222
+
223
+                if(config.is_open == 1){
224
+                   var schedulesArr = resp.data.hisAdvices
225
+                   let schedules = []
226
+                   var ids = this.$store.getters.temp_params.advice_ids
227
+                   console.log('ids',ids)
228
+                   schedulesArr.map(item => {
229
+                    if(ids.indexOf(item.patient_id) > -1){
230
+                        schedules.push(item)
231
+                    }
232
+
233
+                })
234
+
235
+                for (let i = 0; i < schedules.length; i++) {
236
+                    schedules[i].dialysis_no = schedules[i].patient.dialysis_no
237
+                }
238
+
239
+
240
+                var arr = []
241
+                for (let j = 0; j < schedules.length; j++) {
242
+                    arr.push(schedules[j].dialysis_no)
243
+                }
244
+                arr.sort(function (a, b) {
245
+                    return a - b
246
+                })
247
+
248
+
249
+                var arrTwo = []
250
+                for (let i = 0; i < arr.length; i++) {
251
+                    for (let j = 0; j < schedules.length; j++) {
252
+                    if (arr[i] == schedules[j].dialysis_no) {
253
+                        arrTwo.push(schedules[j])
254
+                    }
255
+                    }
256
+                }
257
+
258
+                arrTwo.map((item, index) => {
259
+
260
+                    item.doctor_advice.sort(this.compare('start_time'))
261
+                })
262
+
263
+
264
+                const res = new Map()
265
+                let a = arrTwo.filter(
266
+                    a => !res.has(a.dialysis_no) && res.set(a.dialysis_no, 1)
267
+                )
268
+
269
+
270
+
271
+                schedules = a
272
+                var zoneMap = {}
273
+                var scheduleMap = {}
274
+                for (let index = 0; index < schedules.length; index++) {
275
+                    const schedule = schedules[index]
276
+                    if (schedule.doctor_advice.length == 0) {
277
+                    continue
278
+                    }
279
+                    if (scheduleMap[schedule.device_number.zone.name] == null) {
280
+                    scheduleMap[schedule.device_number.zone.name] = []
281
+                    }
282
+                    scheduleMap[schedule.device_number.zone.name].push(schedule)
283
+                    if (zoneMap[schedule.device_number.zone.name] == null) {
284
+                    zoneMap[schedule.device_number.zone.name] =
285
+                        schedule.device_number.zone
286
+                    }
287
+                }
288
+
289
+                var zones = []
290
+                zones.push({ value: 0, text: '全部分区' })
291
+                for (var zoneName in zoneMap) {
292
+                    zones.push({ value: zoneMap[zoneName].id, text: zoneName })
293
+                }
294
+
295
+                zones = zones.sort(function (a, b) {
296
+                    return a.value > b.value
297
+                })
298
+                this.zones = zones
299
+                for (var key in scheduleMap) {
300
+                    let mapArr = scheduleMap[key]
301
+                    for (let i = 0; i < mapArr.length; i++) {
302
+                    mapArr[i]['new_advice'] = []
303
+                    }
304
+                }
305
+
306
+                for (var key in scheduleMap) {
307
+                    let mapArr = scheduleMap[key]
308
+                    for (let i = 0; i < mapArr.length; i++) {
309
+                    var maps = mapArr[i]
310
+                    var resp_advices = maps.doctor_advice
311
+                    if (resp_advices.length > 0) {
312
+                        var newGroupObject = function () {
313
+                        return Object.assign(
314
+                            {},
315
+                            {
316
+                            group_no: 0,
317
+                            advices: []
318
+                            }
319
+                        )
320
+                        }
321
+                        var initGroupBlock = function (group, advice) {
322
+                        group.group_no = advice.groupno
323
+                        }
324
+
325
+                        var advice_groups = []
326
+                        var group = newGroupObject()
327
+                        for (let index = 0; index < resp_advices.length; index++) {
328
+                        const advice = resp_advices[index]
329
+                        if (advice.groupno == 0) {
330
+                            // 老版本的医嘱
331
+                            if (advice.parent_id > 0) {
332
+                            if (advice_groups.length > 0) {
333
+                                var parent_group = advice_groups[advice_groups.length - 1]
334
+                                if (parent_group.advices.length > 0) {
335
+                                if (parent_group.advices[0].id == advice.parent_id) {
336
+                                    parent_group.advices.push(advice)
337
+                                }
338
+                                }
339
+                            }
340
+                            continue
341
+                            } else {
342
+                            if (group.group_no > 0) {
343
+                                advice_groups.push(group)
344
+                                group = newGroupObject()
345
+                            }
346
+
347
+                            initGroupBlock(group, advice)
348
+                            group.advices.push(advice)
349
+                            advice_groups.push(group)
350
+                            group = newGroupObject()
351
+                            continue
352
+                            }
353
+                        } else {
354
+                            if (group.group_no > 0 && group.group_no != advice.groupno) {
355
+                            advice_groups.push(group)
356
+                            group = newGroupObject()
357
+                            }
358
+                            if (group.group_no == 0) {
359
+                            initGroupBlock(group, advice)
360
+                            }
361
+                            if (group.group_no == advice.groupno) {
362
+                            group.advices.push(advice)
363
+                            }
364
+                        }
365
+                        }
366
+                        if (group.group_no > 0) {
367
+                        // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加
368
+                        advice_groups.push(group)
369
+                        }
370
+                        advice_groups = advice_groups
371
+                    } else {
372
+                        advice_groups = []
373
+                    }
374
+                    
375
+                    maps.new_advice = advice_groups
376
+                    }
377
+                 }
378
+
379
+                    this.scheduleMap = scheduleMap
380
+
381
+                   
382
+                 
383
+                 }
384
+                
385
+              
386
+
387
+                
388
+ 
389
+
390
+                }
391
+            })
392
+        },
393
+        compare (property) {
394
+            return function (a, b) {
395
+                var value1 = a[property]
396
+                var value2 = b[property]
397
+                return value1 - value2
398
+            }
399
+        },
400
+        parseTime: function (time, layout) {
401
+            if (time == 0) {
402
+                return ''
403
+            }
404
+            return parseTime(time, layout)
405
+        },
406
+        getName (val) {
407
+            for (let i = 0; i < this.admin_user.length; i++) {
408
+                if (this.admin_user[i].id == val) {
409
+                    return this.admin_user[i].name
410
+                }
411
+            }
412
+        },
413
+    },
414
+    computed: {
415
+      filtedScheduals: function () {
416
+        var scheduleMap = new Object()
417
+        if (this.zone_selected == 0) {
418
+            for (const key in this.scheduleMap) {
419
+            scheduleMap[key] = this.scheduleMap[key]
420
+            }
421
+        } else {
422
+            var zone_name = this.zones[this.zone_selected].text
423
+            scheduleMap[zone_name] = this.scheduleMap[zone_name]
424
+        }
425
+
426
+        if (this.schedule_type_selected != 0) {
427
+            var _scheduleMap = {}
428
+            for (const key in scheduleMap) {
429
+            var origin_schedules = scheduleMap[key]
430
+            var schedules = []
431
+            for (let index = 0; index < origin_schedules.length; index++) {
432
+                const schedule = origin_schedules[index]
433
+                if (schedule.schedule_type == this.schedule_type_selected) {
434
+                schedules.push(schedule)
435
+                }
436
+            }
437
+            if (schedules.length > 0) {
438
+                _scheduleMap[key] = schedules
439
+            }
440
+            }
441
+
442
+            scheduleMap = _scheduleMap
443
+        }
444
+        for (var key in scheduleMap) {
445
+            let mapArr = scheduleMap[key]
446
+            for (let i = 0; i < mapArr.length; i++) {
447
+            mapArr[i]['new_advice'] = []
448
+            }
449
+        }
450
+
451
+        for (var key in scheduleMap) {
452
+            let mapArr = scheduleMap[key]
453
+            for (let i = 0; i < mapArr.length; i++) {
454
+            var maps = mapArr[i]
455
+            var resp_advices = maps.doctor_advice
456
+            if (resp_advices.length > 0) {
457
+                var newGroupObject = function () {
458
+                return Object.assign(
459
+                    {},
460
+                    {
461
+                    group_no: 0,
462
+                    advices: []
463
+                    }
464
+                )
465
+                }
466
+                var initGroupBlock = function (group, advice) {
467
+                group.group_no = advice.groupno
468
+                }
469
+
470
+                var advice_groups = []
471
+                var group = newGroupObject()
472
+                for (let index = 0; index < resp_advices.length; index++) {
473
+                const advice = resp_advices[index]
474
+                if (advice.groupno == 0) {
475
+                    // 老版本的医嘱
476
+                    if (advice.parent_id > 0) {
477
+                    if (advice_groups.length > 0) {
478
+                        var parent_group = advice_groups[advice_groups.length - 1]
479
+                        if (parent_group.advices.length > 0) {
480
+                        if (parent_group.advices[0].id == advice.parent_id) {
481
+                            parent_group.advices.push(advice)
482
+                        }
483
+                        }
484
+                    }
485
+                    continue
486
+                    } else {
487
+                    if (group.group_no > 0) {
488
+                        advice_groups.push(group)
489
+                        group = newGroupObject()
490
+                    }
491
+
492
+                    initGroupBlock(group, advice)
493
+                    group.advices.push(advice)
494
+                    advice_groups.push(group)
495
+                    group = newGroupObject()
496
+                    continue
497
+                    }
498
+                } else {
499
+                    if (group.group_no > 0 && group.group_no != advice.groupno) {
500
+                    advice_groups.push(group)
501
+                    group = newGroupObject()
502
+                    }
503
+                    if (group.group_no == 0) {
504
+                    initGroupBlock(group, advice)
505
+                    }
506
+                    if (group.group_no == advice.groupno) {
507
+                    group.advices.push(advice)
508
+                    }
509
+                }
510
+                }
511
+                if (group.group_no > 0) {
512
+                // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加
513
+                advice_groups.push(group)
514
+                }
515
+                advice_groups = advice_groups
516
+            } else {
517
+                advice_groups = []
518
+            }
519
+            maps.new_advice = advice_groups
520
+            }
521
+        }
522
+        console.log("222222",scheduleMap)
523
+        return scheduleMap
524
+        }
525
+    },
526
+    created(){
527
+      var time = this.$route.query.time
528
+      var delivery_way = this.$route.query.delivery_way
529
+      this.delivery_way = delivery_way
530
+      this.time = moment(time).format('YYYY-MM-DD')
531
+      console.log(11,this.$route.query)
532
+      this.requestSchedualDoctors(time)
533
+      this.org_id = this.$store.getters.xt_user.template_info.org_id;
534
+    }
535
+}
536
+</script>
537
+
538
+
539
+<style rel="stylesheet/scss" lang="scss" scoped>
540
+.dialysisTable{
541
+    width:960px;
542
+    margin: 0 auto;
543
+    text-align: center;
544
+    border-collapse: collapse;
545
+}
546
+.order_title_panl {
547
+    text-align: center;
548
+
549
+    .main_title {
550
+      font-size: 18px;
551
+      line-height: 40px;
552
+      font-weight: 500;
553
+    }
554
+}
555
+.dialysisTable tr{
556
+    padding: 10px 0;
557
+}
558
+.dialysisTable th {
559
+    color: #000;
560
+    padding: 0;
561
+    margin: 0;
562
+    height: 30px;
563
+}
564
+.dialysisTable tr td {
565
+    padding: 12px 0;
566
+}
567
+.subadvice_content {
568
+    text-align: left;
569
+    padding-left: 25px !important;
570
+    padding-right: 5px !important;
571
+}
572
+.advice_content {
573
+    text-align: left;
574
+    padding-left: 5px !important;
575
+    padding-right: 5px !important;
576
+    padding: 15px 5px !important;
577
+}
578
+</style>

+ 34 - 0
src/xt_pages/dialysis/newDoctorAdvice.vue Voir le fichier

@@ -20,6 +20,15 @@
20 20
           type="primary"
21 21
           >医嘱打印
22 22
       </el-button>
23
+
24
+      <el-button
25
+          size="small"
26
+          icon="el-icon-printer"
27
+          :disabled="selecting_schs.length == 0"
28
+          @click="batchPrintActionFour"
29
+          type="primary"
30
+          >项目打印
31
+      </el-button>
23 32
     </div>
24 33
     </div>
25 34
     <div class="app-container">
@@ -1561,6 +1570,31 @@ export default {
1561 1570
 
1562 1571
 
1563 1572
 
1573
+    },
1574
+    batchPrintActionFour:function(){
1575
+      console.log("处方哈回复奥回复的话啊哈地方h")
1576
+      if(this.selecting_schs.length === 0) {
1577
+        this.$message.error("请至少选择一条需要打印的内容");
1578
+        return false;
1579
+      }
1580
+      // 模板ID为6
1581
+      var sch_ids = [];
1582
+
1583
+      for (let index = 0; index < this.selecting_schs.length; index++) {
1584
+        sch_ids.push(this.selecting_schs[index].patient_id);
1585
+      }
1586
+
1587
+      this.$store.dispatch("SetAdviceIDs", sch_ids);
1588
+       var name = ""
1589
+        for(let i=0;i<this.deliveryWay.length;i++){
1590
+            if(this.delivery_way == this.deliveryWay[i].id){
1591
+              name = this.deliveryWay[i].name
1592
+            }
1593
+        }
1594
+        if(name == '全部'){
1595
+          name = ""
1596
+       }
1597
+       this.$router.push({ path: "/dialysis/doctocInspection/print",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way,schedulType:this.schedulType,partitionType:this.partitionType} });
1564 1598
     },
1565 1599
     signPrintAction:function(){
1566 1600
       if (this.selecting_schs.length === 0) {

+ 14 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Voir le fichier

@@ -1086,6 +1086,20 @@
1086 1086
               </span>
1087 1087
             </td>
1088 1088
           </tr>
1089
+          <tr>
1090
+            <td style="text-align:left;" colspan="6">
1091
+              <span style="display:inline-block;margin-left:15px;">护士长/组长签名:
1092
+                <span v-if="setAdminUserES(dialysisOrder.quality_nurse_id) == ''">
1093
+                    {{getAdminUser(dialysisOrder.quality_nurse_id)}}
1094
+                </span>
1095
+              <span
1096
+                v-else style="align-items:center;justify-content:space-around;height:36px;"
1097
+              >
1098
+                <img style="height:30px;" :src="setAdminUserES(dialysisOrder.quality_nurse_id)" alt srcset />
1099
+              </span>
1100
+              </span>
1101
+            </td>
1102
+          </tr>
1089 1103
         </table>
1090 1104
 
1091 1105
         <!-- <div style="margin-top:20px">

+ 6 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue Voir le fichier

@@ -388,15 +388,18 @@
388 388
                   <td width='20'></td>
389 389
                   <td width="70">穿刺针:</td>
390 390
                   <td width="280" style="text-align:left;">
391
-                    <div>
391
+                    <div class="under-line">
392
+                      {{predialysis.puncture_needle ? predialysis.puncture_needle :''}}
393
+                    </div>
394
+                    <!-- <div>
392 395
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle =='16G' ? true : false" showValue="16G"></label-box>
393 396
                       &nbsp;
394 397
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : false" showValue="17G"></label-box>
395 398
                       &nbsp;
396 399
                       <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('钝针') > -1 ? true : false" showValue="钝针"></label-box>
397 400
                       &nbsp;
398
-                      <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle == '留置针16G' ? true : false" showValue="留置针16G"></label-box>
399
-                    </div>
401
+                      <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle == '留置针' ? true : false" showValue="留置针16G"></label-box>
402
+                    </div> -->
400 403
                   </td>
401 404
 
402 405
                   <td></td>

+ 1 - 1
src/xt_pages/stock/stockInOrderAdd.vue Voir le fichier

@@ -787,7 +787,7 @@
787 787
               array[i].packing_price = array[i].packing_price.toString()
788 788
             }
789 789
 
790
-            if(this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10278 || this.$store.getters.xt_user.org_id == 10610 ||  this.$store.getters.xt_user.org_id == 10537 ||  this.$store.getters.xt_user.org_id == 10480 ) {
790
+            if(this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10278 || this.$store.getters.xt_user.org_id == 10610 ||  this.$store.getters.xt_user.org_id == 10537 ) {
791 791
               for (let i = 0; i < array.length; i++) {
792 792
                 if (array[i].good_code.length == 0) {
793 793
                   this.$message.error(array[i].good_name  + " 溯源码不能为空");

+ 38 - 35
src/xt_pages/user/components/PatientDetail.vue Voir le fichier

@@ -1034,11 +1034,19 @@
1034 1034
     <!-- 打印预览 style="display: none"-->
1035 1035
     <div style="display: none">
1036 1036
       <div id="print-info-box" v-if="org_id !=10206">
1037
-        <div class="print_main_content" style="margin-top: 70px;">
1038
-          <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1039
-          <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div>
1037
+        <div class="print_main_content" style="">
1038
+          <!-- <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1039
+          <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div> -->
1040 1040
           <div >
1041 1041
             <table style="border-collapse: collapse;">
1042
+              <thead>
1043
+                <tr>
1044
+                  <th colspan="8">
1045
+                    <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1046
+                    <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div>
1047
+                  </th>
1048
+                </tr>
1049
+              </thead>
1042 1050
               <!-- 用 thead 规定好宽度 -->
1043 1051
               <!-- <thead>
1044 1052
                 <tr v-show="false">
@@ -1055,35 +1063,35 @@
1055 1063
               <tbody>
1056 1064
                 <tr>
1057 1065
                   <!--  -->
1058
-                  <td style="width:8%;padding: 3px 0px;font-size: 17px;font-weight: 500;">
1066
+                  <td style="width:8%;padding: 3px 0px;font-size: 16px;font-weight: 500;">
1059 1067
                     姓名
1060 1068
                     <!-- <div class="td_proj_title">姓名</div> -->
1061 1069
                   </td>
1062
-                  <td style="padding: 3px 0px;font-size: 17px;">
1070
+                  <td style="padding: 3px 0px;font-size: 16px;">
1063 1071
                     {{ patientPrint.name }}
1064 1072
                     <!-- <div class="td_proj_content">{{ patientPrint.name }}</div> -->
1065 1073
                   </td>
1066
-                  <td style="padding: 3px 0px;font-size: 17px;">
1074
+                  <td style="padding: 3px 0px;font-size: 16px;">
1067 1075
                     性别
1068 1076
                     <!-- <div class="td_proj_title">性别</div> -->
1069 1077
                   </td>
1070
-                  <td style="padding: 3px 0px;font-size: 17px;">
1078
+                  <td style="padding: 3px 0px;font-size: 16px;">
1071 1079
                     {{ patientPrint.gender }}
1072 1080
                     <!-- <div class="td_proj_content">{{ patientPrint.gender }}</div> -->
1073 1081
                   </td>
1074
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1082
+                  <td style="padding: 3px 0px;font-size: 16px;font-weight: 500;">
1075 1083
                     年龄
1076 1084
                     <!-- <div class="td_proj_title">年龄</div> -->
1077 1085
                   </td>
1078
-                  <td style="padding: 3px 0px;font-size: 17px;">
1086
+                  <td style="padding: 3px 0px;font-size: 16px;">
1079 1087
                     {{ patientPrint.age }}岁
1080 1088
                     <!-- <div class="td_proj_content">{{ patientPrint.age }}岁</div> -->
1081 1089
                   </td>
1082
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1090
+                  <td style="padding: 3px 0px;font-size: 16px;font-weight: 500;">
1083 1091
                     籍贯
1084 1092
                     <!-- <div class="td_proj_title">籍贯</div> -->
1085 1093
                   </td>
1086
-                  <td style="padding: 3px 0px;font-size: 17px;">
1094
+                  <td style="padding: 3px 0px;font-size: 16px;">
1087 1095
                     {{ patientPrint.native_place }}
1088 1096
                     <!-- <div class="td_proj_content td_align_left">
1089 1097
                       {{ patientPrint.native_place }}
@@ -1091,41 +1099,41 @@
1091 1099
                   </td>
1092 1100
                 </tr>
1093 1101
                 <tr>
1094
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1102
+                  <td style="padding: 3px 0px;font-size: 16px;font-weight: 500;">
1095 1103
                     职业
1096 1104
                     <!-- <div class="td_proj_title">职业</div> -->
1097 1105
                   </td>
1098
-                  <td style="padding: 3px 0px;font-size: 17px;">
1106
+                  <td style="padding: 3px 0px;font-size: 16px;">
1099 1107
                     {{ patientPrint.profession }}
1100 1108
                     <!-- <div class="td_proj_content">
1101 1109
                       {{ patientPrint.profession }}
1102 1110
                     </div> -->
1103 1111
                   </td>
1104
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1112
+                  <td style="padding: 3px 0px;font-size: 16px;font-weight: 500;">
1105 1113
                     婚姻
1106 1114
                     <!-- <div class="td_proj_title">婚姻</div> -->
1107 1115
                   </td>
1108
-                  <td style="padding: 3px 0px;font-size: 17px;">
1116
+                  <td style="padding: 3px 0px;font-size: 16px;">
1109 1117
                     {{ patientPrint.marital_status }}
1110 1118
                     <!-- <div class="td_proj_content">
1111 1119
                       {{ patientPrint.marital_status }}
1112 1120
                     </div> -->
1113 1121
                   </td>
1114
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1122
+                  <td style="padding: 3px 0px;font-size: 16px;font-weight: 500;">
1115 1123
                     透析号
1116 1124
                     <!-- <div class="td_proj_title">透析号</div> -->
1117 1125
                   </td>
1118
-                  <td style="padding: 3px 0px;font-size: 17px;">
1126
+                  <td style="padding: 3px 0px;font-size: 16px;">
1119 1127
                     {{ patientPrint.dialysis_no }}
1120 1128
                     <!-- <div class="td_proj_content">
1121 1129
                       {{ patientPrint.dialysis_no }}
1122 1130
                     </div> -->
1123 1131
                   </td>
1124
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1132
+                  <td style="padding: 3px 0px;font-size: 16px;font-weight: 500;">
1125 1133
                     身份证号
1126 1134
                     <!-- <div class="td_proj_title">身份证号</div> -->
1127 1135
                   </td>
1128
-                  <td style="padding: 3px 0px;font-size: 17px;">
1136
+                  <td style="padding: 3px 0px;font-size: 16px;">
1129 1137
                     {{ patientPrint.id_card_no }}
1130 1138
                     <!-- <div class="td_proj_content td_align_left">
1131 1139
                       {{ patientPrint.id_card_no }}
@@ -1133,29 +1141,29 @@
1133 1141
                   </td>
1134 1142
                 </tr>
1135 1143
                 <tr>
1136
-                  <td  style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1144
+                  <td  style="padding: 3px 0px;font-size: 16px;font-weight: 500;">
1137 1145
                     民族
1138 1146
                     <!-- <div class="td_proj_title">民族</div>  valign="top" -->
1139 1147
                   </td>
1140
-                  <td style="padding: 3px 0px;font-size: 17px;">
1148
+                  <td style="padding: 3px 0px;font-size: 16px;">
1141 1149
                     {{ patientPrint.nation }}
1142 1150
                     <!-- <div class="td_proj_content">{{ patientPrint.nation }}</div> -->
1143 1151
                   </td>
1144
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1152
+                  <td style="padding: 3px 0px;font-size: 16px;font-weight: 500;">
1145 1153
                     电话
1146 1154
                     <!-- <div class="td_proj_title">电话</div> -->
1147 1155
                   </td>
1148
-                  <td  colspan="3" style="padding: 3px 0px;font-size: 17px;">
1156
+                  <td  colspan="3" style="padding: 3px 0px;font-size: 16px;">
1149 1157
                     {{ patientPrint.phone }}
1150 1158
                     <!-- <div class="td_proj_content td_align_left">
1151 1159
                       {{ patientPrint.phone }}
1152 1160
                     </div> -->
1153 1161
                    </td>
1154
-                 <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1162
+                 <td style="padding: 3px 0px;font-size: 16px;font-weight: 500;">
1155 1163
                     家属电话
1156 1164
                     <!-- <div class="td_proj_title">家属电话</div> -->
1157 1165
                   </td>
1158
-                  <td style="padding: 3px 0px;font-size: 17px;">
1166
+                  <td style="padding: 3px 0px;font-size: 16px;">
1159 1167
                     {{ patientPrint.home_telephone }}
1160 1168
                     <!-- <div class="td_proj_content td_align_left">
1161 1169
                       {{ patientPrint.home_telephone }}
@@ -1163,8 +1171,8 @@
1163 1171
                   </td>
1164 1172
                 </tr>
1165 1173
                 <tr>
1166
-                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">地址</td>
1167
-                  <td colspan="7" style="text-align: left; padding:0px 5px;font-size: 17px;">
1174
+                  <td style="padding: 3px 0px;font-size: 16px;font-weight: 500;">地址</td>
1175
+                  <td colspan="7" style="text-align: left; padding:0px 5px;font-size: 16px;">
1168 1176
                     <!-- class="td_proj_content td_align_left" -->
1169 1177
                     <!-- <div > -->
1170 1178
                       {{ patientPrint.home_address }}
@@ -1172,12 +1180,12 @@
1172 1180
                   </td>
1173 1181
                 </tr>
1174 1182
                 <tr>
1175
-                  <td style="padding: 3px 0px;font-size: 17px; font-weight: 500;">
1183
+                  <td style="padding: 3px 0px;font-size: 16px; font-weight: 500;">
1176 1184
                     主诉
1177 1185
                     <!-- <div class="td_proj_title">主诉</div> -->
1178 1186
                   </td>
1179 1187
                   <!-- class="td_proj_content td_align_left" -->
1180
-                  <td colspan="7" style="text-align: left; padding:0px 5px ;font-size: 17px;">
1188
+                  <td colspan="7" style="text-align: left; padding:0px 5px ;font-size: 16px;">
1181 1189
                     {{ patientPrint.patient_complains }}
1182 1190
                     <!-- <div style="padding: 0px 0px;"
1183 1191
                       v-html="patientPrint.patient_complains"
@@ -1282,7 +1290,6 @@
1282 1290
             <div class="print_footnote_panel">
1283 1291
               <div class="proj">
1284 1292
                 <span class="proj_title">日期:</span>
1285
-
1286 1293
                 <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span>
1287 1294
                 <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span>
1288 1295
 
@@ -1881,9 +1888,7 @@ export default {
1881 1888
         "@page {margin-top:10px;}@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .print_main_content .order_title { text-align: center; font-size: 23px; line-height: 50px; font-weight: 500; } .print_main_content table { width: 100%; border-collapse: collapse; padding: 2px; }  .print_main_content table tbody tr{page-break-inside:avoid;} .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px; } .td_proj_title { font-size: 18px; line-height: 25px; font-weight: 500; } .td_proj_content { font-size: 18px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 17px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj .proj_title { font-weight: 500;} }";
1882 1889
       const style1 =
1883 1890
         "@page {margin-top:10px;}@media print { .print_main_content { background-color: white; width:960px; margin:0 auto; padding: 0 0 20px 0; } .print_main_content table { width: 100%; padding: 2px; }  .print_main_content table tbody tr{page-break-inside:avoid;} .print_main_content table tbody tr td { border: 1px solid; text-align: center; padding: 10px 8px; } .td_proj_title { font-size: 22px; line-height: 25px; font-weight: 500; } .td_proj_content { font-size: 22px; line-height: 25px; } .td_align_left { text-align: left; } .print_footnote_panel { font-size: 22px; line-height: 40px; } .print_footnote_panel .proj { display: inline-block; width: 49%; } .print_footnote_panel .proj .proj_title { font-weight: 500;} .wrapper {white-space: pre-wrap;} }";
1884
-      if(this.org_id != 10206 && this.org_id !=0){
1885
-        console.log('1111111');
1886
-
1891
+      if(this.org_id != 10206 ){
1887 1892
         setTimeout(() => {
1888 1893
           printJS({
1889 1894
             printable: "print-info-box",
@@ -1893,8 +1898,6 @@ export default {
1893 1898
           });
1894 1899
         }, 1);
1895 1900
       }else{
1896
-        console.log('121212','10206');
1897
-
1898 1901
         setTimeout(() => {
1899 1902
           printJS({
1900 1903
             printable: "print-info-box",

+ 4 - 4
src/xt_pages/user/components/PatientSidebar.vue Voir le fichier

@@ -179,10 +179,10 @@ export default {
179 179
             //   name: '3-3',
180 180
             //   label: '体格检查新'
181 181
             // },
182
-            {
183
-              name: '3-5',
184
-              label: '病程记录新'
185
-            },
182
+            // {
183
+            //   name: '3-5',
184
+            //   label: '病程记录新'
185
+            // },
186 186
             {
187 187
               name: '1-11',
188 188
               label: '首次病程记录'

+ 75 - 12
src/xt_pages/user/courseOfDisease_new.vue Voir le fichier

@@ -56,7 +56,7 @@
56 56
                   <el-button type="primary" size="small" @click="prints">打印</el-button>
57 57
                 </div>
58 58
                 <div v-if="add_index == 1">
59
-                  <el-button type="primary" size="small" @click="showSave">保存2</el-button>
59
+                  <el-button type="primary" size="small" @click="showSave">保存</el-button>
60 60
                   <el-button size="small" @click="showCancel">取消</el-button>
61 61
                 </div>
62 62
               </div>
@@ -93,7 +93,6 @@
93 93
                   自动生成
94 94
                 </el-button>
95 95
               </div>
96
-
97 96
               <ueditor ref="editor" id="editors" :content="new_content"></ueditor>
98 97
             </div>
99 98
           </div>
@@ -205,15 +204,14 @@
205 204
               </el-button>
206 205
             </div>
207 206
           </div>
207
+          <div>
208
+            <text_content @new_content="newcontent"></text_content>
209
+          </div>
208 210
         </div>
209 211
 
210 212
       </el-dialog>
211 213
 
212 214
 
213
-
214
-
215
-
216
-
217 215
     </div>
218 216
   </div>
219 217
 
@@ -225,6 +223,7 @@
225 223
   import PatientSidebar_new from './components/PatientSidebar_new'
226 224
   import Editor from '@/components/Editor'
227 225
   import ueditor from '@/components/Uedtior'
226
+  import text_content from './text_content'
228 227
   const moment = require('moment')
229 228
   import { getDataConfig } from "@/utils/data";
230 229
   import {
@@ -249,7 +248,8 @@
249 248
       BreadCrumb,
250 249
       Editor,
251 250
       PatientSidebar_new,
252
-      ueditor
251
+      ueditor,
252
+      text_content
253 253
     },
254 254
     data() {
255 255
       return {
@@ -296,7 +296,11 @@
296 296
         template_content:"",
297 297
         template_id:0,
298 298
         title:"",
299
-        templateList:[]
299
+        templateList:[],
300
+        tab:[{id:1,name:'人促红注射液',type:'长期医嘱',start:'2024-12-04',dosage:"3000iu",pinlv:'一周三次',status:''},
301
+            {id:2,name:'人促红注射液2',type:'长期医嘱',start:'2024-12-05',dosage:"3000iu",pinlv:'一周三次',status:''}, 
302
+        ],
303
+        
300 304
       }
301 305
     },
302 306
     created() {
@@ -312,11 +316,13 @@
312 316
         this.$router.push('/patients/patients')
313 317
         return
314 318
       }
319
+      //   const ceshi = ``
315 320
 
321
+      // // const ceshi=`hellow word`
322
+      // this.new_content = ceshi
323
+      // this.$refs.editor.contents=ceshi
316 324
       this.fetchAllDoctorAndNurse()
317 325
       this.getlist()
318
-
319
-
320 326
     },
321 327
     methods: {
322 328
       datachange(val){
@@ -489,9 +495,56 @@
489 495
        }
490 496
       },
491 497
       auto_click(){
498
+        this.start_date = this.getFirstDayOfWeek(new Date())
499
+        this.end_date = this.getTime(new Date())
492 500
         this.auto_dialog = true
501
+       
493 502
       },
494 503
       autotext_click(){
504
+        this.$nextTick(()=>{
505
+          const iframeDoc = document.getElementsByClassName('edui-editor-iframeholder')[0].getElementsByTagName('iframe')[0].contentDocument.getElementsByTagName('tbody')[0].children[9].children[1]
506
+          var newListArr =[]
507
+          for(let j in this.tab){
508
+            const obj={
509
+              id:this.tab[j].id,
510
+              newlist:'newList'+j
511
+            }
512
+            newListArr.push(obj) 
513
+          }
514
+          for(let i in this.tab){
515
+            for(let j in newListArr){
516
+              if(this.tab[i].id==newListArr[j].id){
517
+                let newList = document.createElement('p');
518
+                newList.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
519
+                let newListItem1 = document.createElement('span');
520
+                newListItem1.style.cssText= 'width: 30%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
521
+                let newListItem2 = document.createElement('span');
522
+                newListItem2.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
523
+                let newListItem3 = document.createElement('span');
524
+                newListItem3.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
525
+                let newListItem4 = document.createElement('span');
526
+                newListItem4.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
527
+                let newListItem5 = document.createElement('span');
528
+                newListItem5.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
529
+                let newListItem6 = document.createElement('span');
530
+                newListItem6.style.cssText= 'width: 10%;display: inline-block;padding: 5px 0;'
531
+                newListItem1.textContent = this.tab[i].name;
532
+                newListItem2.textContent = this.tab[i].type;
533
+                newListItem3.textContent = this.tab[i].start;
534
+                newListItem4.textContent = this.tab[i].dosage;
535
+                newListItem5.textContent = this.tab[i].pinlv;
536
+                newListItem6.textContent = this.tab[i].status;
537
+                newList.appendChild(newListItem1);
538
+                newList.appendChild(newListItem2);
539
+                newList.appendChild(newListItem3);
540
+                newList.appendChild(newListItem4);
541
+                newList.appendChild(newListItem5);
542
+                newList.appendChild(newListItem6);
543
+                iframeDoc.appendChild(newList)
544
+              }
545
+            }
546
+          }
547
+        })
495 548
         this.auto_dialog = false
496 549
         this.getAutoPatientContent()
497 550
       },
@@ -906,15 +959,21 @@
906 959
             var prescription =  response.data.data.prescription
907 960
 
908 961
             var berfor = response.data.data.berfor
909
-            
962
+
910 963
             var monitorList  = response.data.data.monitorList
911 964
 
912 965
             var dryweightList = response.data.data.dryweightList
913 966
 
914 967
             var inpectionList = response.data.data.inpectionList
915 968
           }
916
-       }) 
969
+       })
917 970
 
971
+      },
972
+      newcontent(val){
973
+        this.new_content =''
974
+        this.new_content = val
975
+        console.log('1111112323',this.new_content);
976
+        this.$refs.editor.contents = this.new_content
918 977
       }
919 978
     }
920 979
   }
@@ -986,6 +1045,10 @@
986 1045
     margin-bottom: 5px;
987 1046
     font-size: 16px;
988 1047
   }
1048
+
1049
+  .text_margin{
1050
+    display: block;
1051
+  }
989 1052
 </style>
990 1053
 <style lang="scss">
991 1054
 .el-table td,

+ 319 - 0
src/xt_pages/user/text_content.vue Voir le fichier

@@ -0,0 +1,319 @@
1
+<template>
2
+  <div>
3
+    <!-- <table border="1" class="table" style="border-collapse: collapse;width: 100%;">
4
+      <tr>
5
+        <th colspan="7" style="padding: 5px;">透析阶段小结(2024-12-01~2024-12-31)</th>
6
+      </tr>
7
+      <tr>
8
+        <td width="150" style="padding: 5px;">基本信息</td>
9
+        <td style="padding: 5px;" colspan="6">
10
+          <span>姓名:朱康林</span>  <span>性别:男</span>  <span>年龄:58</span>  <span>透析号:21000005</span>
11
+        </td>
12
+      </tr>
13
+      <tr>
14
+        <td style="align-items: center;padding: 5px;">透析处方</td>
15
+        <td colspan="6" style='padding:5px'>
16
+          <p style='font-weight: bold;'>总次数:1次;</p>
17
+          <p style='margin-bottom: 10px;' >其中HD1次,平均4.00小时/次,使用空心纤维血液透析器B-18BHF(B-18BHF);</p>
18
+          <p style='font-weight: bold;'>总次数:1次;</p>
19
+          <p style='margin-bottom: 10px;'>钾:2.0mmol/L;钙:1.5mmol/L;碳酸氢根:32mmol/L;处方钠:138~138mmol/L</p>
20
+          <p style='font-weight: bold;'>抗凝方式:</p>
21
+          <p >低分子肝素,剂量:3500.00~3500.00IU;</p>
22
+        </td>
23
+      </tr>
24
+      <tr>
25
+        <td style="align-items: center;padding: 5px;">透析情况</td>
26
+        <td colspan="6" style='padding:5px'>
27
+          <p>透析间期平均体重增加:2.90kg;</p>
28
+          <p>凝血:透析器-0度(1次);</p>
29
+          <p>平均血流量:250.00mL/min;最大血流量:250mL/min;</p>
30
+          <p>平均超滤量:2900.00ml/次;平均超滤率:9.84mL/kg/h;</p>
31
+          <p>
32
+            <span style='font-weight: bold;'>透前血压:</span>&nbsp;<span class="">收缩压:174~174mmHg;舒张压:69~69mmHg;</span>
33
+          </p>
34
+          <p>
35
+            <span style='font-weight: bold;'>透后血压:</span>&nbsp;<span class="">收缩压:155~155mmHg;舒张压:87~87mmHg;</span>
36
+          </p>
37
+          <p>
38
+            <span style='font-weight: bold;'>透中最低血压:</span>&nbsp;<span class="">收缩压:148~148mmHg;舒张压:56~56mmHg;</span>
39
+          </p>
40
+          <p>
41
+            <span style='font-weight: bold;'>透中最高血压:</span>&nbsp;<span class="">收缩压:175~175mmHg;舒张压:87~87mmHg;</span>
42
+          </p>
43
+        </td>
44
+      </tr>
45
+      <tr>
46
+        <td style="align-items: center;padding: 5px;">干体重</td>
47
+        <td colspan="6" style='padding: 5px;'>
48
+          <p>
49
+            <span style='font-weight: bold;'>当前干体重:</span>&nbsp;<span class="">73.7kg;</span>
50
+          </p>
51
+          <p>
52
+            <span style='font-weight: bold;'>调整记录:</span>&nbsp;<span class="">无</span>
53
+          </p>
54
+        </td>
55
+      </tr>
56
+      <tr>
57
+        <td style="align-items: center;padding: 5px;">血管通路</td>
58
+        <td colspan="6" style='padding: 5px;'>
59
+          <p>
60
+            <span style='font-weight: bold;'>使用的血管通路:</span>&nbsp;<span class="">${ this.ceshi } &nbsp;&nbsp;建立时间:${ this.ceshi }</span>
61
+          </p>   
62
+        </td>
63
+      </tr>
64
+      <tr>
65
+        <td style="align-items: center;padding: 5px;">合并症/并发症</td>
66
+        <td colspan="6" style='padding: 5px;'>
67
+          <p>
68
+            <span style='font-weight: bold;'>合并症:</span>&nbsp;<span class="">无</span>
69
+          </p>
70
+          <p>
71
+            <span style='font-weight: bold;'>透析并发症:</span>&nbsp;<span class="">无</span>
72
+          </p>
73
+        </td>
74
+      </tr>
75
+      <tr>
76
+        <td style="align-items: center;padding: 5px;">检验结果</td>
77
+        <td colspan="6" style='padding: 5px;'>
78
+          <span class="">无</span>
79
+        </td>
80
+      </tr>
81
+      <tr>
82
+        <td style="align-items: center;padding: 5px;">检查结果</td>
83
+        <td colspan="6" style='padding: 5px;'>
84
+          <span class="">无</span>
85
+        </td>
86
+      </tr>
87
+      <tr>
88
+        <td style="align-items: center;padding: 5px;">医嘱用药</td>
89
+        <td colspan="6" style="padding: 0;">
90
+          <p style="display: flex;text-align: center;border-bottom: 1px solid black;">
91
+            <span style="width: 30%;display: inline-block;padding: 5px;border-right: 1px solid black;">药物名称</span>
92
+            <span style="width:20% ;display: inline-block;border-right: 1px solid black;">医嘱类型</span>
93
+            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">开始时间</span>
94
+            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">单次用量</span>
95
+            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">执行频率</span>
96
+            <span style="width: 10%;display: inline-block;">状态</span>
97
+          </p>
98
+          <p v-for="(item,index) in num" :key="index" style="display: flex;text-align: center;border-bottom: 1px solid black;">
99
+            <span style="width: 30%;display: inline-block;text-align: left;border-right: 1px solid black;">{{ item }}</span>
100
+            <span style="width:20% ;display: inline-block;border-right: 1px solid black;padding: 5px;">{{ item }}</span>
101
+            <span style="width: 20%;display: inline-block; border-right: 1px solid black;">{{ item }}</span>
102
+            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">{{ item }}</span>
103
+            <span style="width: 20%;display: inline-block;border-right: 1px solid black;">执行频率</span>
104
+            <span style="width: 10%;display: inline-block;">状态</span>
105
+          </p>
106
+    
107
+        </td> 
108
+      </tr>
109
+      <tr>
110
+        <td style="align-items: center;padding: 5px;">透析总评价和建议</td>
111
+        <td colspan="6" style='padding: 5px;'>
112
+          <p class="">1、血压控制不良,随时监测血压,并加用口服降压药,将血压控制在正常范围;</p>
113
+          <p class="">2、透析间期体重增加稳定,继续保持;</p>
114
+          <p class="">3、血液透析时血流量达标,注意保护内瘘避免狭窄;</p>
115
+        </td>
116
+      </tr>
117
+      <tr>
118
+        <td style="align-items: center;padding: 5px;">医师签名</td>
119
+        <td></td>
120
+      </tr>
121
+    </table> -->
122
+    <div v-html="content" id="editer"></div>
123
+    <!-- <table border="1" style="border-collapse:collapse ;width: 100%;text-align: center;">
124
+                    <tr>
125
+                      <th style='padding: 5px;'>药物名称</th>
126
+                      <th style='padding: 5px;'>医嘱类型</th>
127
+                      <th style='padding: 5px;'>开始时间</th>
128
+                      <th style='padding: 5px;'>单次用量</th>
129
+                      <th style='padding: 5px;'>执行频率</th>
130
+                      <th style='padding: 5px;'>状态</th>
131
+                    </tr>
132
+                    <tr>
133
+                      <td style='padding: 5px;'>血液透析</td>
134
+                      <td style='padding: 5px;'>长期医嘱</td>
135
+                      <td style='padding: 5px;'>2021-11-06</td>
136
+                      <td style='padding: 5px;'>项</td>
137
+                      <td style='padding: 5px;'>一周三次</td>
138
+                      <td style='padding: 5px;'></td>
139
+                    </tr>
140
+                  </table> -->
141
+  </div>
142
+</template>
143
+
144
+<script>
145
+export default{
146
+  data(){
147
+    return {
148
+      content:'',
149
+      ceshi:111111,
150
+      num:6,
151
+      tab:[{id:1,name:'人促红注射液',type:'长期医嘱',start:'2024-12-04',dosage:"3000iu",pinlv:'一周三次',status:''},
152
+            {id:2,name:'人促红注射液2',type:'长期医嘱',start:'2024-12-05',dosage:"3000iu",pinlv:'一周三次',status:''}, 
153
+        ]
154
+    }
155
+  },
156
+  created(){
157
+    
158
+    const contents = `<table border="1" class="table" style="border-collapse: collapse;width: 100%;">
159
+              <tr>
160
+                <th colspan="2" style="padding: 5px;">透析阶段小结(2024-12-01~2024-12-31)</th>
161
+              </tr>
162
+              <tr>
163
+                <td width="130" style="padding: 5px;">基本信息</td>
164
+                <td style="padding: 5px;">
165
+                  <span>姓名:朱康林</span>  <span>性别:男</span>  <span>年龄:58</span>  <span>透析号:21000005</span>
166
+                </td>
167
+              </tr>
168
+              <tr>
169
+                <td style="align-items: center;padding: 5px;">透析处方</td>
170
+                <td style='padding:5px'>
171
+                  <p style='font-weight: bold;'>总次数:1次;</p>
172
+                  <p style='margin-bottom: 10px;' >其中HD1次,平均4.00小时/次,使用空心纤维血液透析器B-18BHF(B-18BHF);</p>
173
+                  <p style='font-weight: bold;'>总次数:1次;</p>
174
+                  <p style='margin-bottom: 10px;'>钾:2.0mmol/L;钙:1.5mmol/L;碳酸氢根:32mmol/L;处方钠:138~138mmol/L</p>
175
+                  <p style='font-weight: bold;'>抗凝方式:</p>
176
+                  <p >低分子肝素,剂量:3500.00~3500.00IU;</p>
177
+                </td>
178
+              </tr>
179
+              <tr>
180
+                <td style="align-items: center;padding: 5px;">透析情况</td>
181
+                <td style='padding:5px'>
182
+                  <p>透析间期平均体重增加:2.90kg;</p>
183
+                  <p>凝血:透析器-0度(1次);</p>
184
+                  <p>平均血流量:250.00mL/min;最大血流量:250mL/min;</p>
185
+                  <p>平均超滤量:2900.00ml/次;平均超滤率:9.84mL/kg/h;</p>
186
+                  <p><span style='font-weight: bold;'>透前血压:</span>&nbsp;<span class="">收缩压:174~174mmHg;舒张压:69~69mmHg;</span></p>
187
+                  <p><span style='font-weight: bold;'>透后血压:</span>&nbsp;<span class="">收缩压:155~155mmHg;舒张压:87~87mmHg;</span></p>
188
+                  <p><span style='font-weight: bold;'>透中最低血压:</span>&nbsp;<span class="">收缩压:148~148mmHg;舒张压:56~56mmHg;</span></p>
189
+                  <p><span style='font-weight: bold;'>透中最高血压:</span>&nbsp;<span class="">收缩压:175~175mmHg;舒张压:87~87mmHg;</span></p>
190
+                </td>
191
+              </tr>
192
+              <tr>
193
+                <td style="align-items: center;padding: 5px;">干体重</td>
194
+                <td style='padding: 5px;'>
195
+                  <p>
196
+                    <span style='font-weight: bold;'>当前干体重:</span>&nbsp;<span class="">73.7kg;</span>
197
+                  </p>
198
+                  <p>
199
+                    <span style='font-weight: bold;'>调整记录:</span>&nbsp;<span class="">无</span>
200
+                  </p>
201
+                </td>
202
+              </tr>
203
+              <tr>
204
+                <td style="align-items: center;padding: 5px;">血管通路</td>
205
+                <td style='padding: 5px;'>
206
+                  <p>
207
+                    <span style='font-weight: bold;'>使用的血管通路:</span>&nbsp;<span class="">${ this.ceshi } &nbsp;&nbsp;建立时间:${ this.ceshi }</span>
208
+                  </p>   
209
+                </td>
210
+              </tr>
211
+              <tr>
212
+                <td style="align-items: center;padding: 5px;">合并症/并发症</td>
213
+                <td style='padding: 5px;'>
214
+                  <p>
215
+                    <span style='font-weight: bold;'>合并症:</span>&nbsp;<span class="">无</span>
216
+                  </p>
217
+                  <p>
218
+                    <span style='font-weight: bold;'>透析并发症:</span>&nbsp;<span class="">无</span>
219
+                  </p>
220
+                </td>
221
+              </tr>
222
+              <tr>
223
+                <td style="align-items: center;padding: 5px;">检验结果</td>
224
+                <td style='padding: 5px;'>
225
+                  <span class="">无</span>
226
+                </td>
227
+              </tr>
228
+              <tr>
229
+                <td style="align-items: center;padding: 5px;">检查结果</td>
230
+                <td style='padding: 5px;'>
231
+                  <span class="">无</span>
232
+                </td>
233
+              </tr>
234
+              <tr>
235
+                <td style="align-items: center;padding: 5px;">医嘱用药</td>
236
+                <td  class='' style="padding: 0;">
237
+                  <p style="display: flex;text-align: center;border-bottom: 1px solid black;">
238
+<span style="width: 30%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">药物名称</span><span style="width:20% ;display: inline-block;padding: 5px 0;border-right: 1px solid black;">医嘱类型</span><span style="width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">开始时间</span><span style="width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">单次用量</span><span style="width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;">执行频率</span><span style="width: 10%;padding: 5px 0;display: inline-block;">状态</span></p>
239
+                </td>
240
+              </tr>
241
+              <tr>
242
+                <td style="align-items: center;padding: 5px;">透析总评价和建议</td>
243
+                <td style='padding: 5px;'>
244
+                  <p class="">1、血压控制不良,随时监测血压,并加用口服降压药,将血压控制在正常范围;</p>
245
+                  <p class="">2、透析间期体重增加稳定,继续保持;</p>
246
+                  <p class="">3、血液透析时血流量达标,注意保护内瘘避免狭窄;</p>
247
+                </td>
248
+              </tr>
249
+              <tr>
250
+                <td style="align-items: center;padding: 5px;">医师签名</td>
251
+                <td style='padding: 5px;'>
252
+                  <p class=""></p>
253
+                </td>
254
+              </tr>
255
+            </table>`
256
+    
257
+    this.content = contents
258
+    
259
+  },
260
+  mounted(){
261
+    console.log('document.getElementById3334',document.getElementById('editer'))
262
+    const iframeDoc = document.getElementById('editer').getElementsByTagName('tbody')[0].children[9].children[1]
263
+    var newListArr =[]
264
+    for(let j in this.tab){
265
+      const obj={
266
+        id:this.tab[j].id,
267
+        newlist:'newList'+j
268
+      }
269
+      newListArr.push(obj) 
270
+    }
271
+    for(let i in this.tab){
272
+      for(let j in newListArr){
273
+        if(this.tab[i].id==newListArr[j].id){
274
+          let newList = document.createElement('p');
275
+          newList.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
276
+          let newListItem1 = document.createElement('span');
277
+          newListItem1.style.cssText= 'width: 30%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
278
+          let newListItem2 = document.createElement('span');
279
+          newListItem2.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
280
+          let newListItem3 = document.createElement('span');
281
+          newListItem3.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
282
+          let newListItem4 = document.createElement('span');
283
+          newListItem4.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
284
+          let newListItem5 = document.createElement('span');
285
+          newListItem5.style.cssText= 'width: 20%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
286
+          let newListItem6 = document.createElement('span');
287
+          newListItem6.style.cssText= 'width: 10%;display: inline-block;padding: 5px 0;'
288
+          newListItem1.textContent = this.tab[i].name;
289
+          newListItem2.textContent = this.tab[i].type;
290
+          newListItem3.textContent = this.tab[i].start;
291
+          newListItem4.textContent = this.tab[i].dosage;
292
+          newListItem5.textContent = this.tab[i].pinlv;
293
+          newListItem6.textContent = this.tab[i].status;
294
+          newList.appendChild(newListItem1);
295
+          newList.appendChild(newListItem2);
296
+          newList.appendChild(newListItem3);
297
+          newList.appendChild(newListItem4);
298
+          newList.appendChild(newListItem5);
299
+          newList.appendChild(newListItem6);
300
+          iframeDoc.appendChild(newList)
301
+        }
302
+      }
303
+    }
304
+    this.$emit('new_content',this.content) 
305
+  }
306
+  
307
+}
308
+</script>
309
+<style lang="scss" scoped>
310
+  .table tr td,th{
311
+    padding: 5px;
312
+  }
313
+  .text{
314
+    font-weight: bold;
315
+  }
316
+  .textcontext{
317
+    margin-bottom: 10px;
318
+  }
319
+</style>