|
@@ -84,46 +84,6 @@
|
84
|
84
|
<span style="display: inline-block;border-left: 5px solid #3891f1f5;padding-left: 5px;margin-bottom: 5px;">
|
85
|
85
|
病程内容
|
86
|
86
|
</span>
|
87
|
|
- <div style="display:flex;">
|
88
|
|
- <!-- <div>
|
89
|
|
- 取值时间:
|
90
|
|
- <el-select v-model="quzhi_date" @change="datachange" placeholder="请选择" style="width: 120px;">
|
91
|
|
- <el-option
|
92
|
|
- v-for="item in quzhi_options"
|
93
|
|
- :key="item.value"
|
94
|
|
- :label="item.label"
|
95
|
|
- :value="item.value">
|
96
|
|
- </el-option>
|
97
|
|
- </el-select>
|
98
|
|
- </div>
|
99
|
|
- <div style="margin:0 10px">
|
100
|
|
- <el-date-picker
|
101
|
|
- @change="changStartDate"
|
102
|
|
- v-model="start_date"
|
103
|
|
- type="date"
|
104
|
|
- value-format="yyyy-MM-dd"
|
105
|
|
- placeholder="选择日期"
|
106
|
|
- style="width: 150px;">
|
107
|
|
- </el-date-picker>
|
108
|
|
- <span>-</span>
|
109
|
|
- <el-date-picker
|
110
|
|
- @change="changEndDate"
|
111
|
|
- v-model="end_date"
|
112
|
|
- type="date"
|
113
|
|
- value-format="yyyy-MM-dd"
|
114
|
|
- placeholder="选择日期"
|
115
|
|
- style="width: 150px;">
|
116
|
|
- </el-date-picker>
|
117
|
|
- </div> -->
|
118
|
|
- <!-- <div>
|
119
|
|
- <el-button type="primary" size="small" @click="autotext_click">
|
120
|
|
- 生成
|
121
|
|
- </el-button>
|
122
|
|
- <el-button type="primary" size="small" @click="auto_dialog=false">
|
123
|
|
- 取消
|
124
|
|
- </el-button>
|
125
|
|
- </div> -->
|
126
|
|
- </div>
|
127
|
87
|
<div style="margin: 10px 0;">
|
128
|
88
|
<el-button type="primary" size="small" @click="template_click">
|
129
|
89
|
{{ add_index ==0 ? '设置模板' : '模板库' }}
|
|
@@ -162,7 +122,6 @@
|
162
|
122
|
</div>
|
163
|
123
|
</div>
|
164
|
124
|
|
165
|
|
-
|
166
|
125
|
<el-dialog
|
167
|
126
|
title="设置模板"
|
168
|
127
|
:visible.sync="template_dialog"
|
|
@@ -584,7 +543,7 @@
|
584
|
543
|
医嘱类型:
|
585
|
544
|
<el-select v-model="advice_type" @change="type_chang" placeholder="请选择" style="width: 120px;">
|
586
|
545
|
<el-option
|
587
|
|
-
|
|
546
|
+
|
588
|
547
|
v-for="item in type_option"
|
589
|
548
|
:key="item.value"
|
590
|
549
|
:label="item.label"
|
|
@@ -823,7 +782,7 @@
|
823
|
782
|
getPatientAdviceList,
|
824
|
783
|
getPatientInspectionList,
|
825
|
784
|
getInspectionByProjectId,
|
826
|
|
-
|
|
785
|
+
|
827
|
786
|
} from '@/api/patient'
|
828
|
787
|
import { fetchMoibleAllDoctorAndNurse } from "@/api/doctor";
|
829
|
788
|
import { parseTime } from '@/utils'
|
|
@@ -1275,13 +1234,12 @@
|
1275
|
1234
|
}
|
1276
|
1235
|
},
|
1277
|
1236
|
toAdviceContentPint(val){
|
1278
|
|
-
|
|
1237
|
+
|
1279
|
1238
|
console.log('blood_context',this.blood_context,this.template_content);
|
1280
|
1239
|
this.template_content = this.template_content +'<br/>'+ this.blood_context+'<br/>'+this.summary_context +'<br/>' +this.advice_context+'<br/>'+this.option_context
|
1281
|
1240
|
this.$refs.editor.contents = this.template_content
|
1282
|
1241
|
const iframe = document.getElementsByClassName('edui-editor-iframeholder')[0].getElementsByTagName('iframe')[0].contentDocument.getElementsByTagName('body')[0]
|
1283
|
|
- console.log('document.getElementsByClassName',);
|
1284
|
|
-
|
|
1242
|
+
|
1285
|
1243
|
this.$nextTick(()=>{
|
1286
|
1244
|
const new_list=document.createElement('table')
|
1287
|
1245
|
new_list.style.cssText='border:1px solid black;border-collapse:collapse;width:100%';
|
|
@@ -1331,7 +1289,7 @@
|
1331
|
1289
|
let new_td8 = document.createElement('td');
|
1332
|
1290
|
let new_td9 = document.createElement('td');
|
1333
|
1291
|
let new_td10 = document.createElement('td');
|
1334
|
|
- new_td1.textContent =this.getTimeThree(this.adviceList[i].start_time)
|
|
1292
|
+ new_td1.textContent =this.getTimeThree(this.adviceList[i].start_time)
|
1335
|
1293
|
new_td2.textContent =this.adviceList[i].advice_name
|
1336
|
1294
|
new_td3.textContent =this.adviceList[i].advice_desc
|
1337
|
1295
|
new_td4.textContent =this.adviceList[i].single_dose
|
|
@@ -1339,12 +1297,12 @@
|
1339
|
1297
|
new_td6.textContent =this.adviceList[i].execution_frequency
|
1340
|
1298
|
new_td7.textContent =this.adviceList[i].remark
|
1341
|
1299
|
if(this.adviceList[i].advice_type == 1){
|
1342
|
|
- new_td8.textContent =this.getTimeThree(this.adviceList[i].stop_time)
|
|
1300
|
+ new_td8.textContent =this.getTimeThree(this.adviceList[i].stop_time)
|
1343
|
1301
|
}else{
|
1344
|
|
- new_td8.textContent =this.getTimeThree(this.adviceList[i].execution_time)
|
|
1302
|
+ new_td8.textContent =this.getTimeThree(this.adviceList[i].execution_time)
|
1345
|
1303
|
}
|
1346
|
1304
|
new_td9.textContent =this.adviceList[i].stop_reason
|
1347
|
|
- new_td10.textContent =this.getDocName(this.adviceList[i].advice_doctor)
|
|
1305
|
+ new_td10.textContent =this.getDocName(this.adviceList[i].advice_doctor)
|
1348
|
1306
|
newListItem2.appendChild(new_td1);
|
1349
|
1307
|
newListItem2.appendChild(new_td2);
|
1350
|
1308
|
newListItem2.appendChild(new_td3);
|
|
@@ -1357,7 +1315,7 @@
|
1357
|
1315
|
newListItem2.appendChild(new_td10);
|
1358
|
1316
|
new_list.appendChild(newListItem2)
|
1359
|
1317
|
}
|
1360
|
|
- }
|
|
1318
|
+ }
|
1361
|
1319
|
|
1362
|
1320
|
if(this.adviceNewList!=null && this.adviceNewList.length>0 && this.all_select == 1){
|
1363
|
1321
|
for(let i in this.adviceNewList){
|
|
@@ -1372,7 +1330,7 @@
|
1372
|
1330
|
let new_td8 = document.createElement('td');
|
1373
|
1331
|
let new_td9 = document.createElement('td');
|
1374
|
1332
|
let new_td10 = document.createElement('td');
|
1375
|
|
- new_td1.textContent =this.getTimeThree(this.adviceNewList[i].start_time)
|
|
1333
|
+ new_td1.textContent =this.getTimeThree(this.adviceNewList[i].start_time)
|
1376
|
1334
|
new_td2.textContent =this.adviceNewList[i].advice_name
|
1377
|
1335
|
new_td3.textContent =this.adviceNewList[i].advice_desc
|
1378
|
1336
|
new_td4.textContent =this.adviceNewList[i].single_dose
|
|
@@ -1380,12 +1338,12 @@
|
1380
|
1338
|
new_td6.textContent =this.adviceNewList[i].execution_frequency
|
1381
|
1339
|
new_td7.textContent =this.adviceNewList[i].remark
|
1382
|
1340
|
if(this.adviceNewList[i].advice_type == 1){
|
1383
|
|
- new_td8.textContent =this.getTimeThree(this.adviceNewList[i].stop_time)
|
|
1341
|
+ new_td8.textContent =this.getTimeThree(this.adviceNewList[i].stop_time)
|
1384
|
1342
|
}else{
|
1385
|
|
- new_td8.textContent =this.getTimeThree(this.adviceNewList[i].execution_time)
|
|
1343
|
+ new_td8.textContent =this.getTimeThree(this.adviceNewList[i].execution_time)
|
1386
|
1344
|
}
|
1387
|
1345
|
new_td9.textContent =this.adviceNewList[i].stop_reason
|
1388
|
|
- new_td10.textContent =this.getDocName(this.adviceNewList[i].advice_doctor)
|
|
1346
|
+ new_td10.textContent =this.getDocName(this.adviceNewList[i].advice_doctor)
|
1389
|
1347
|
newListItem2.appendChild(new_td1);
|
1390
|
1348
|
newListItem2.appendChild(new_td2);
|
1391
|
1349
|
newListItem2.appendChild(new_td3);
|
|
@@ -1399,14 +1357,13 @@
|
1399
|
1357
|
new_list.appendChild(newListItem2)
|
1400
|
1358
|
}
|
1401
|
1359
|
}
|
1402
|
|
-
|
|
1360
|
+
|
1403
|
1361
|
const cont = iframe.getElementsByClassName('advice_table')[0]
|
1404
|
1362
|
cont.appendChild(new_list)
|
1405
|
1363
|
console.log('iframe.appendChild(new_list)',cont);
|
1406
|
1364
|
console.log('this.advice_context',this.advice_context);
|
1407
|
1365
|
})
|
1408
|
1366
|
|
1409
|
|
-
|
1410
|
1367
|
this.advice_dialog = false
|
1411
|
1368
|
},
|
1412
|
1369
|
getCurrentChangeOne(val){
|
|
@@ -1442,7 +1399,7 @@
|
1442
|
1399
|
rowclick(){
|
1443
|
1400
|
|
1444
|
1401
|
},
|
1445
|
|
-
|
|
1402
|
+
|
1446
|
1403
|
saveTemplate(){
|
1447
|
1404
|
|
1448
|
1405
|
var params = {
|
|
@@ -1540,7 +1497,7 @@
|
1540
|
1497
|
content:this.new_content,
|
1541
|
1498
|
admin_user_id:this.admin_user_id,
|
1542
|
1499
|
}
|
1543
|
|
- console.log("params",params)
|
|
1500
|
+ console.log("params",params.content)
|
1544
|
1501
|
createNewCourseOfDiseaseRecord(params).then(response => {
|
1545
|
1502
|
if(response.data.state == 1){
|
1546
|
1503
|
var msg = response.data.data.msg
|
|
@@ -1698,7 +1655,6 @@
|
1698
|
1655
|
console.log("start_time==============",params)
|
1699
|
1656
|
getAutoPatientContent(params).then(response=>{
|
1700
|
1657
|
if(response.data.state == 1){
|
1701
|
|
-
|
1702
|
1658
|
var prescription = response.data.data.prescription
|
1703
|
1659
|
this.prescription=[]
|
1704
|
1660
|
this.prescription = prescription
|
|
@@ -2245,9 +2201,6 @@
|
2245
|
2201
|
kalium = "钾:" + str.replace(/^"(.*)"$/, '$1')+"."+"0"+"mmol/L" + "(" +kaliumStr.split(":")[1]+")"
|
2246
|
2202
|
}
|
2247
|
2203
|
|
2248
|
|
-
|
2249
|
|
-
|
2250
|
|
-
|
2251
|
2204
|
let sodiumObj = {}
|
2252
|
2205
|
let sodiumStr =""
|
2253
|
2206
|
|
|
@@ -2351,8 +2304,6 @@
|
2351
|
2304
|
|
2352
|
2305
|
dialysisIrrigationStr = JSON.stringify(dialysisIrrigationObj).replace(/^{|}$/g, '')
|
2353
|
2306
|
|
2354
|
|
-
|
2355
|
|
-
|
2356
|
2307
|
// 医嘱
|
2357
|
2308
|
if(this.longAdvice!=null && this.longAdvice.length>0){
|
2358
|
2309
|
for(let i=0;i<this.longAdvice.length;i++){
|
|
@@ -2372,12 +2323,11 @@
|
2372
|
2323
|
}
|
2373
|
2324
|
}
|
2374
|
2325
|
|
2375
|
|
-
|
2376
|
2326
|
//抗凝剂
|
2377
|
2327
|
|
2378
|
2328
|
var anticoagulant_str =""
|
2379
|
2329
|
if(this.groupPrescriptionList!=null && this.groupPrescriptionList.length>0){
|
2380
|
|
-
|
|
2330
|
+
|
2381
|
2331
|
for(let i=0;i<this.groupPrescriptionList.length;i++){
|
2382
|
2332
|
anticoagulant_str += this.getAnticoagulantName(this.groupPrescriptionList[i].anticoagulant) +"," + "剂量:" +this.groupPrescriptionList[i].MinZongLiang +this.getAnticoagulantUnit(this.groupPrescriptionList[i].anticoagulant)+ "~" +this.groupPrescriptionList[i].MaxZongLiang + this.getAnticoagulantUnit(this.groupPrescriptionList[i].anticoagulant)
|
2383
|
2333
|
}
|
|
@@ -2394,9 +2344,9 @@
|
2394
|
2344
|
cha_weight += this.berforList[i].weight_before - this.berforList[i].WeightAfter
|
2395
|
2345
|
}
|
2396
|
2346
|
}
|
2397
|
|
-
|
|
2347
|
+
|
2398
|
2348
|
pingjun_weight = (cha_weight/befor_total).toFixed(2)
|
2399
|
|
-
|
|
2349
|
+
|
2400
|
2350
|
//透后凝血
|
2401
|
2351
|
var cruorNewArr = []
|
2402
|
2352
|
if(this.afterList!=null && this.afterList.length>0){
|
|
@@ -2404,7 +2354,7 @@
|
2404
|
2354
|
cruorNewArr.push(this.afterList[i].cruor)
|
2405
|
2355
|
}
|
2406
|
2356
|
}
|
2407
|
|
-
|
|
2357
|
+
|
2408
|
2358
|
let dialysisCrruorObj = {}
|
2409
|
2359
|
let dialysisCrruorStr = ""
|
2410
|
2360
|
if(cruorNewArr!=null && cruorNewArr.length>0){
|
|
@@ -2412,10 +2362,10 @@
|
2412
|
2362
|
dialysisCrruorObj[item] = (dialysisCrruorObj[item] + 1) || 1
|
2413
|
2363
|
})
|
2414
|
2364
|
}
|
2415
|
|
-
|
|
2365
|
+
|
2416
|
2366
|
|
2417
|
2367
|
dialysisCrruorStr = JSON.stringify(dialysisCrruorObj).replace(/^{|}$/g, '')
|
2418
|
|
-
|
|
2368
|
+
|
2419
|
2369
|
//监测
|
2420
|
2370
|
var blood_flow_volume_total = 0
|
2421
|
2371
|
var ultrafiltration_volume_total = 0
|
|
@@ -2441,7 +2391,7 @@
|
2441
|
2391
|
pingjun_ultrafiltration_volume_total = ""
|
2442
|
2392
|
}
|
2443
|
2393
|
pingjun_ultrafiltration_rate_total = (ultrafiltration_rate_total/total_length).toFixed(2)
|
2444
|
|
- if(pingjun_ultrafiltration_rate_total == "NaN"){
|
|
2394
|
+ if(pingjun_ultrafiltration_rate_total == "NaN"){
|
2445
|
2395
|
pingjun_ultrafiltration_rate_total = ""
|
2446
|
2396
|
}
|
2447
|
2397
|
var dry_weight_str = ""
|
|
@@ -2450,12 +2400,12 @@
|
2450
|
2400
|
for(let i=0;i<this.dryweightList.length;i++){
|
2451
|
2401
|
dry_weight_str = this.getTimeOne(this.dryweightList[i].ctime)+" " +this.dryweightList[i].adjusted_value.slice(4,6)+ this.dryweightList[i].adjusted_value.slice(0,3)+"kg" + "调整到" +" "+ this.dryweightList[i].dry_weight+"kg"+","
|
2452
|
2402
|
}
|
2453
|
|
- }
|
|
2403
|
+ }
|
2454
|
2404
|
|
2455
|
2405
|
//血管通路
|
2456
|
2406
|
var vascularAccess_str = ""
|
2457
|
2407
|
var created_time = ""
|
2458
|
|
-
|
|
2408
|
+
|
2459
|
2409
|
if(this.patientVascularAccess!=undefined){
|
2460
|
2410
|
vascularAccess_str = this.patientVascularAccess.blood_access_part_id + this.patientVascularAccess.blood_access_part_opera_id
|
2461
|
2411
|
created_time = this.getTime(this.patientVascularAccess.first_start_time)
|
|
@@ -2670,16 +2620,14 @@
|
2670
|
2620
|
jiancDoc.appendChild(newList)
|
2671
|
2621
|
for(let i in this.Inspect){
|
2672
|
2622
|
let newList1 = document.createElement('p');
|
2673
|
|
- const child1 = document.createElement('p')
|
2674
|
|
- const child2 = document.createElement('p')
|
2675
|
|
- const child3 = document.createElement('p')
|
|
2623
|
+ const child1 = document.createElement('span')
|
|
2624
|
+ const child2 = document.createElement('span')
|
2676
|
2625
|
newList1.appendChild(child1);
|
2677
|
2626
|
newList1.appendChild(child2);
|
2678
|
|
- newList1.appendChild(child3);
|
2679
|
2627
|
newList1.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
|
2680
|
2628
|
child1.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;'
|
2681
|
|
- child2.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;flex-wrap: wrap;'
|
2682
|
|
- child3.style.cssText= 'width: 40%;display: inline-block;display: flex;flex-wrap: wrap;'
|
|
2629
|
+ child2.style.cssText= 'width: 80%;display: inline-block;display: flex;flex-wrap: wrap;'
|
|
2630
|
+ // child3.style.cssText= 'width: 40%;display: inline-block;display: flex;flex-wrap: wrap;'
|
2683
|
2631
|
|
2684
|
2632
|
let newListItem1 = document.createElement('span');
|
2685
|
2633
|
newListItem1.style.cssText= 'flex:1;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
|
@@ -2691,9 +2639,9 @@
|
2691
|
2639
|
child1.appendChild(newListItem2);
|
2692
|
2640
|
for(let j in this.Inspect[i].left){
|
2693
|
2641
|
let newListItem3 = document.createElement('span');
|
2694
|
|
- newListItem3.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
|
2642
|
+ newListItem3.style.cssText= 'border-bottom: 1px solid black;width:25%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
2695
|
2643
|
let newListItem4 = document.createElement('span');
|
2696
|
|
- newListItem4.style.cssText= 'border-bottom: 1px solid black;width:50%;display: inline-block;padding: 5px 0;'
|
|
2644
|
+ newListItem4.style.cssText= 'border-bottom: 1px solid black;width:25%;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
2697
|
2645
|
newListItem3.textContent = this.Inspect[i].left[j].item_name;
|
2698
|
2646
|
newListItem4.textContent = this.Inspect[i].left[j].inspect_value;
|
2699
|
2647
|
child2.appendChild(newListItem3);
|
|
@@ -2701,13 +2649,14 @@
|
2701
|
2649
|
}
|
2702
|
2650
|
for(let x in this.Inspect[i].right){
|
2703
|
2651
|
let newListItem5 = document.createElement('span');
|
2704
|
|
- newListItem5.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
|
|
2652
|
+ newListItem5.style.cssText= 'width: 25%;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
|
2705
|
2653
|
let newListItem6 = document.createElement('span');
|
2706
|
|
- newListItem6.style.cssText= 'width: 50%;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;'
|
|
2654
|
+ newListItem6.style.cssText= 'width: 25%;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;border-right: 1px solid black;'
|
2707
|
2655
|
newListItem5.textContent = this.Inspect[i].right[x].item_name;
|
2708
|
2656
|
newListItem6.textContent = this.Inspect[i].right[x].inspect_value;
|
2709
|
|
- child3.appendChild(newListItem5);
|
2710
|
|
- child3.appendChild(newListItem6);
|
|
2657
|
+ child2.appendChild(newListItem5);
|
|
2658
|
+ child2.appendChild(newListItem6);
|
|
2659
|
+
|
2711
|
2660
|
}
|
2712
|
2661
|
jiancDoc.appendChild(newList1)
|
2713
|
2662
|
}
|
|
@@ -2798,16 +2747,15 @@
|
2798
|
2747
|
jiancDoc1.appendChild(newList)
|
2799
|
2748
|
for(let i in this.Inspect){
|
2800
|
2749
|
let newList1 = document.createElement('p');
|
2801
|
|
- const child1 = document.createElement('p')
|
2802
|
|
- const child2 = document.createElement('p')
|
2803
|
|
- const child3 = document.createElement('p')
|
|
2750
|
+ const child1 = document.createElement('span')
|
|
2751
|
+ const child2 = document.createElement('span')
|
|
2752
|
+ // const child3 = document.createElement('span')
|
2804
|
2753
|
newList1.appendChild(child1);
|
2805
|
2754
|
newList1.appendChild(child2);
|
2806
|
|
- newList1.appendChild(child3);
|
|
2755
|
+ // newList1.appendChild(child3);
|
2807
|
2756
|
newList1.style.cssText='display: flex;text-align: center;border-bottom: 1px solid black;';
|
2808
|
2757
|
child1.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;'
|
2809
|
|
- child2.style.cssText= 'width: 40%;display: inline-block;border-right: 1px solid black;display: flex;flex-wrap: wrap;'
|
2810
|
|
- child3.style.cssText= 'width: 40%;display: inline-block;display: flex;flex-wrap: wrap;'
|
|
2758
|
+ child2.style.cssText= 'width: 80%;display: inline-block;display: flex;flex-wrap: wrap;'
|
2811
|
2759
|
|
2812
|
2760
|
let newListItem1 = document.createElement('span');
|
2813
|
2761
|
newListItem1.style.cssText= 'flex:1;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
|
@@ -2819,9 +2767,9 @@
|
2819
|
2767
|
child1.appendChild(newListItem2);
|
2820
|
2768
|
for(let j in this.Inspect[i].left){
|
2821
|
2769
|
let newListItem3 = document.createElement('span');
|
2822
|
|
- newListItem3.style.cssText= 'border-bottom: 1px solid black;width:50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
|
2770
|
+ newListItem3.style.cssText= 'border-bottom: 1px solid black;width:25%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
2823
|
2771
|
let newListItem4 = document.createElement('span');
|
2824
|
|
- newListItem4.style.cssText= 'border-bottom: 1px solid black;width:50%;box-sizing: border-box;display: inline-block;padding: 5px 0;'
|
|
2772
|
+ newListItem4.style.cssText= 'border-bottom: 1px solid black;width:25%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;'
|
2825
|
2773
|
newListItem3.textContent = this.Inspect[i].left[j].item_name;
|
2826
|
2774
|
newListItem4.textContent = this.Inspect[i].left[j].inspect_value;
|
2827
|
2775
|
child2.appendChild(newListItem3);
|
|
@@ -2829,13 +2777,13 @@
|
2829
|
2777
|
}
|
2830
|
2778
|
for(let x in this.Inspect[i].right){
|
2831
|
2779
|
let newListItem5 = document.createElement('span');
|
2832
|
|
- newListItem5.style.cssText= 'width: 50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
|
|
2780
|
+ newListItem5.style.cssText= 'width: 25%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-right: 1px solid black;border-bottom: 1px solid black;'
|
2833
|
2781
|
let newListItem6 = document.createElement('span');
|
2834
|
|
- newListItem6.style.cssText= 'width: 50%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;'
|
|
2782
|
+ newListItem6.style.cssText= 'width: 25%;box-sizing: border-box;display: inline-block;padding: 5px 0;border-bottom: 1px solid black;border-right: 1px solid black;'
|
2835
|
2783
|
newListItem5.textContent = this.Inspect[i].right[x].item_name;
|
2836
|
2784
|
newListItem6.textContent = this.Inspect[i].right[x].inspect_value;
|
2837
|
|
- child3.appendChild(newListItem5);
|
2838
|
|
- child3.appendChild(newListItem6);
|
|
2785
|
+ child2.appendChild(newListItem5);
|
|
2786
|
+ child2.appendChild(newListItem6);
|
2839
|
2787
|
}
|
2840
|
2788
|
jiancDoc1.appendChild(newList1)
|
2841
|
2789
|
}
|
|
@@ -2884,7 +2832,7 @@
|
2884
|
2832
|
}
|
2885
|
2833
|
})
|
2886
|
2834
|
this.AuToShow = true
|
2887
|
|
-
|
|
2835
|
+
|
2888
|
2836
|
}
|
2889
|
2837
|
})
|
2890
|
2838
|
},
|
|
@@ -3447,7 +3395,7 @@
|
3447
|
3395
|
console.log('血压',this.bloodRows);
|
3448
|
3396
|
},
|
3449
|
3397
|
selectionchange2(val){
|
3450
|
|
-
|
|
3398
|
+
|
3451
|
3399
|
this.summaryRows = val
|
3452
|
3400
|
this.summary_context=""
|
3453
|
3401
|
if(val!=null){
|
|
@@ -3469,13 +3417,13 @@
|
3469
|
3417
|
console.log('透析小结',this.weightRows);
|
3470
|
3418
|
},
|
3471
|
3419
|
selectionchange4(val){
|
3472
|
|
-
|
|
3420
|
+
|
3473
|
3421
|
this.optionRows = val
|
3474
|
3422
|
this.getoption(val)
|
3475
|
3423
|
console.log('透析小结',this.weightRows);
|
3476
|
3424
|
},
|
3477
|
3425
|
selectionchange5(val){
|
3478
|
|
-
|
|
3426
|
+
|
3479
|
3427
|
this.adviceRows = val
|
3480
|
3428
|
this.getNewPatientAdviceList(val)
|
3481
|
3429
|
},
|
|
@@ -3514,7 +3462,7 @@
|
3514
|
3462
|
this.weight_context = `${arr.join('<br/>')}`
|
3515
|
3463
|
},
|
3516
|
3464
|
getoption(val){
|
3517
|
|
-
|
|
3465
|
+
|
3518
|
3466
|
var newArr = []
|
3519
|
3467
|
for(let i=0;i<this.systemPrescritpionList.length;i++){
|
3520
|
3468
|
for(let j=0;j<val.length;j++){
|
|
@@ -3522,10 +3470,10 @@
|
3522
|
3470
|
newArr.push(this.systemPrescritpionList[i])
|
3523
|
3471
|
}
|
3524
|
3472
|
}
|
3525
|
|
-
|
|
3473
|
+
|
3526
|
3474
|
}
|
3527
|
3475
|
const arr= []
|
3528
|
|
-
|
|
3476
|
+
|
3529
|
3477
|
if(newArr.length>0){
|
3530
|
3478
|
for(let i=0;i<newArr.length;i++){
|
3531
|
3479
|
const text = `<table border="1" style="border-collapse: collapse;width: 100%;">
|
|
@@ -3593,7 +3541,7 @@
|
3593
|
3541
|
})
|
3594
|
3542
|
},
|
3595
|
3543
|
option_click(val){
|
3596
|
|
-
|
|
3544
|
+
|
3597
|
3545
|
this.option_dialog =true
|
3598
|
3546
|
// this.start_date1 = this.timeForMat(7)
|
3599
|
3547
|
// this.end_date1 = this.getTime(new Date())
|
|
@@ -3620,7 +3568,7 @@
|
3620
|
3568
|
hospital_click(){
|
3621
|
3569
|
const text = `<p style="line-height: 50px;display: flex;"><span style="display: inline-block;flex: 1;">住院日期:</span><span style="display: inline-block;flex: 1;">出院日期:</span></p>
|
3622
|
3570
|
<p style="line-height: 50px;display: flex;"><span style="display: inline-block;flex: 1;">入院诊断:</span><span style="display: inline-block;flex: 1;">出院诊断:</span></p>`
|
3623
|
|
-
|
|
3571
|
+
|
3624
|
3572
|
this.$refs.editor.contents = this.$refs.editor.contents + text
|
3625
|
3573
|
},
|
3626
|
3574
|
Inspect_click(){
|
|
@@ -3635,7 +3583,7 @@
|
3635
|
3583
|
|
3636
|
3584
|
},
|
3637
|
3585
|
childclick(i){
|
3638
|
|
-
|
|
3586
|
+
|
3639
|
3587
|
var params = {
|
3640
|
3588
|
patient_id:i.patient_id,
|
3641
|
3589
|
project_id:i.project_id,
|
|
@@ -3651,11 +3599,11 @@
|
3651
|
3599
|
if(inspection[i].inspect_value!=""){
|
3652
|
3600
|
inspection_str += inspection[i].item_name+":" + inspection[i].inspect_value+","
|
3653
|
3601
|
}
|
3654
|
|
-
|
|
3602
|
+
|
3655
|
3603
|
}
|
3656
|
3604
|
}
|
3657
|
3605
|
this.inspect_context = inspection_str
|
3658
|
|
-
|
|
3606
|
+
|
3659
|
3607
|
}
|
3660
|
3608
|
})
|
3661
|
3609
|
// // const inspect_arr = []
|
|
@@ -3771,7 +3719,7 @@
|
3771
|
3719
|
if(response.data.state == 1){
|
3772
|
3720
|
this.systemPrescritpionList = []
|
3773
|
3721
|
var systemPrescritpionList = response.data.data.prescription
|
3774
|
|
-
|
|
3722
|
+
|
3775
|
3723
|
if(systemPrescritpionList!=null && systemPrescritpionList.length>0){
|
3776
|
3724
|
for(let i=0;i<systemPrescritpionList.length;i++){
|
3777
|
3725
|
systemPrescritpionList[i].mode_name = ""
|
|
@@ -3797,7 +3745,7 @@
|
3797
|
3745
|
return name
|
3798
|
3746
|
},
|
3799
|
3747
|
getPatientAdviceList(){
|
3800
|
|
- var ids = this.newIds.join()
|
|
3748
|
+ var ids = this.newIds.join()
|
3801
|
3749
|
var params = {
|
3802
|
3750
|
start_time:this.start_date1,
|
3803
|
3751
|
end_time:this.end_date1,
|
|
@@ -3814,7 +3762,7 @@
|
3814
|
3762
|
})
|
3815
|
3763
|
},
|
3816
|
3764
|
getNewPatientAdviceList(val){
|
3817
|
|
-
|
|
3765
|
+
|
3818
|
3766
|
var newArr= []
|
3819
|
3767
|
for(let i=0;i<val.length;i++){
|
3820
|
3768
|
for(let j=0;j<this.adviceList.length;j++){
|
|
@@ -3823,8 +3771,8 @@
|
3823
|
3771
|
}
|
3824
|
3772
|
}
|
3825
|
3773
|
}
|
3826
|
|
-
|
3827
|
|
-
|
|
3774
|
+
|
|
3775
|
+
|
3828
|
3776
|
this.adviceNewList = []
|
3829
|
3777
|
this.adviceNewList = newArr
|
3830
|
3778
|
this.all_select = 1
|
|
@@ -3859,11 +3807,11 @@
|
3859
|
3807
|
}
|
3860
|
3808
|
getPatientInspectionList(params).then(response=>{
|
3861
|
3809
|
if(response.data.state == 1){
|
3862
|
|
-
|
|
3810
|
+
|
3863
|
3811
|
var groupList = response.data.data.groupList
|
3864
|
3812
|
var inspection = response.data.data.inspection
|
3865
|
3813
|
this.inspectionList = inspection
|
3866
|
|
-
|
|
3814
|
+
|
3867
|
3815
|
if(groupList.length!=null && groupList.length>0){
|
3868
|
3816
|
for(let i=0;i<groupList.length;i++){
|
3869
|
3817
|
groupList[i].child = []
|
|
@@ -3874,15 +3822,15 @@
|
3874
|
3822
|
}
|
3875
|
3823
|
}
|
3876
|
3824
|
}
|
3877
|
|
-
|
|
3825
|
+
|
3878
|
3826
|
for(let i=0;i<groupList.length;i++){
|
3879
|
3827
|
for(let j=0;j<groupList[i].child.length;j++){
|
3880
|
|
- groupList[i].child =this.getInspection(groupList[i].child)
|
|
3828
|
+ groupList[i].child =this.getInspection(groupList[i].child)
|
3881
|
3829
|
}
|
3882
|
3830
|
}
|
3883
|
|
-
|
3884
|
|
- this.newInspectionList = groupList
|
3885
|
|
-
|
|
3831
|
+
|
|
3832
|
+ this.newInspectionList = groupList
|
|
3833
|
+
|
3886
|
3834
|
}
|
3887
|
3835
|
})
|
3888
|
3836
|
},
|
|
@@ -3899,7 +3847,7 @@
|
3899
|
3847
|
return tempArr;
|
3900
|
3848
|
},
|
3901
|
3849
|
changeInspetion(){
|
3902
|
|
-
|
|
3850
|
+
|
3903
|
3851
|
for(let i=0;i<this.newInspectionList.length;i++){
|
3904
|
3852
|
this.newInspectionList[i].childOne =[]
|
3905
|
3853
|
for(let j=0;j<this.inspectionList.length;j++){
|
|
@@ -3908,7 +3856,7 @@
|
3908
|
3856
|
}
|
3909
|
3857
|
}
|
3910
|
3858
|
}
|
3911
|
|
-
|
|
3859
|
+
|
3912
|
3860
|
var new_inspection_str =""
|
3913
|
3861
|
if(this.newInspectionList!=null&& this.newInspectionList.length>0){
|
3914
|
3862
|
for(let i=0;i<this.newInspectionList.length;i++){
|
|
@@ -3918,20 +3866,20 @@
|
3918
|
3866
|
if(this.newInspectionList[i].childOne[j].inspect_value!=""){
|
3919
|
3867
|
new_inspection_str+= this.newInspectionList[i].childOne[j].item_name+":" + this.newInspectionList[i].childOne[j].inspect_value+","+" "
|
3920
|
3868
|
}
|
3921
|
|
-
|
|
3869
|
+
|
3922
|
3870
|
}
|
3923
|
3871
|
}
|
3924
|
|
-
|
3925
|
|
- }
|
|
3872
|
+
|
|
3873
|
+ }
|
3926
|
3874
|
}
|
3927
|
3875
|
this.inspect_context = new_inspection_str
|
3928
|
3876
|
},
|
3929
|
3877
|
toSystemContentPint(){
|
3930
|
|
-
|
|
3878
|
+
|
3931
|
3879
|
this.$refs.editor.contents = this.$refs.editor.contents +this.option_context
|
3932
|
3880
|
this.option_dialog = false
|
3933
|
3881
|
},
|
3934
|
|
-
|
|
3882
|
+
|
3935
|
3883
|
|
3936
|
3884
|
},
|
3937
|
3885
|
beforeMount(){
|
|
@@ -3940,7 +3888,7 @@
|
3940
|
3888
|
mounted(){
|
3941
|
3889
|
|
3942
|
3890
|
},
|
3943
|
|
-
|
|
3891
|
+
|
3944
|
3892
|
|
3945
|
3893
|
}
|
3946
|
3894
|
</script>
|