|
@@ -568,11 +568,21 @@
|
568
|
568
|
</td>
|
569
|
569
|
<td height="30px" colspan="2" class="advice-name" style="padding:4px 5px;">
|
570
|
570
|
<span v-if="advice.parent_id > 0">---></span>
|
571
|
|
- <span>{{ advice.advice_name }}</span>
|
|
571
|
+ <span v-if="advice.advice_name">{{ advice.advice_name }}</span>
|
|
572
|
+ <span
|
|
573
|
+ v-else-if="
|
|
574
|
+ advice.project && advice.project.project_name
|
|
575
|
+ "
|
|
576
|
+ >{{ advice.project.project_name }}</span
|
|
577
|
+ >
|
|
578
|
+
|
572
|
579
|
<span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
|
573
|
580
|
<span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
|
574
|
581
|
<span v-if="advice.prescribing_number"> {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
|
575
|
582
|
<span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
|
|
583
|
+ <span v-if="advice && advice.project">{{
|
|
584
|
+ advice.project.unit
|
|
585
|
+ }}</span>
|
576
|
586
|
<span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
|
577
|
587
|
<span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
|
578
|
588
|
|
|
@@ -685,7 +695,7 @@
|
685
|
695
|
{{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : 0 }}
|
686
|
696
|
</div>
|
687
|
697
|
min
|
688
|
|
- </div>
|
|
698
|
+ </div>
|
689
|
699
|
</div>
|
690
|
700
|
<div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
|
691
|
701
|
<div class="inline_block" style="flex:1">
|
|
@@ -1389,13 +1399,31 @@ export default {
|
1389
|
1399
|
|
1390
|
1400
|
var doctorAdevieInfo = JSON.parse(JSON.stringify(response.data.data.advices))
|
1391
|
1401
|
this.tableAdvice = doctorAdevieInfo;
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+ let project_arr = response.data.data.projects
|
|
1405
|
+ // console.log(project_arr,'ppooo')
|
|
1406
|
+ // if(project_arr.length > 0){
|
|
1407
|
+ // this.tableAdvice.concat(project_arr)
|
|
1408
|
+ // }
|
|
1409
|
+ let flag = this.tableAdvice.findIndex(o => {
|
|
1410
|
+ return !o.advice_name
|
|
1411
|
+ })
|
|
1412
|
+ console.log(flag,'flag')
|
|
1413
|
+ for(let i=0;i<project_arr.length;i++){
|
|
1414
|
+ this.tableAdvice.splice(flag, 0, project_arr[i]);
|
|
1415
|
+ flag++
|
|
1416
|
+ }
|
|
1417
|
+
|
|
1418
|
+ console.log(this.tableAdvice,'新的心得')
|
|
1419
|
+
|
1392
|
1420
|
if (this.tableAdvice.length < 7) {
|
1393
|
1421
|
var nl = 6 - this.tableAdvice.length;
|
1394
|
1422
|
for (let index = 0; index < nl; index++) {
|
1395
|
1423
|
this.tableAdvice.push([]);
|
1396
|
1424
|
}
|
1397
|
1425
|
}
|
1398
|
|
-
|
|
1426
|
+ // console.log(project_arr,'project_arr')
|
1399
|
1427
|
this.monitors = response.data.data.monitors
|
1400
|
1428
|
this.summary = response.data.data.summary
|
1401
|
1429
|
this.org_template_info = response.data.data.org_template_info
|