|
@@ -999,13 +999,32 @@ export default {
|
999
|
999
|
this.records[recordIndex].advices.push(item);
|
1000
|
1000
|
}
|
1001
|
1001
|
}
|
1002
|
|
- console.log(this.records, "this.records");
|
|
1002
|
+
|
1003
|
1003
|
// this.records.forEach(o => {
|
1004
|
1004
|
// console.log(o,'jj')
|
1005
|
1005
|
// this.blood_access_part_opera_name = this.bloodAccessParOperaName(
|
1006
|
1006
|
// o.assessment_before_dislysis.blood_access_part_opera_id)
|
1007
|
1007
|
// })
|
1008
|
|
-
|
|
1008
|
+ // const advice = []
|
|
1009
|
+ if(this.records.length>0){
|
|
1010
|
+ console.log(this.records, "this.records");
|
|
1011
|
+ for(let x in this.records){
|
|
1012
|
+
|
|
1013
|
+ if(this.records[x].his_advices.length>0){
|
|
1014
|
+ console.log(this.records, "this.records");
|
|
1015
|
+ const arr = this.records[x].his_advices
|
|
1016
|
+ for(let i in arr ){
|
|
1017
|
+ if(arr[i].delivery_way == '口服' ||
|
|
1018
|
+ arr[i].delivery_way == '中药口服' ||
|
|
1019
|
+ arr[i].delivery_way == '舌下含服'
|
|
1020
|
+ ){
|
|
1021
|
+ arr.splice(i,1)
|
|
1022
|
+ }
|
|
1023
|
+ }
|
|
1024
|
+ }
|
|
1025
|
+ // this.records[x].his_advices =advice
|
|
1026
|
+ }
|
|
1027
|
+ }
|
1009
|
1028
|
this.operators = resp.data.medical_staffs;
|
1010
|
1029
|
if (this.operators.length > 0) {
|
1011
|
1030
|
var operatorsLen = this.operators.length;
|