|
@@ -970,6 +970,8 @@ export default {
|
970
|
970
|
}
|
971
|
971
|
|
972
|
972
|
this.advices = response.data.data.advices;
|
|
973
|
+
|
|
974
|
+
|
973
|
975
|
this.monitors = response.data.data.monitors;
|
974
|
976
|
console.log("透析监测", this.monitors);
|
975
|
977
|
this.summary = response.data.data.summary;
|
|
@@ -1148,9 +1150,23 @@ export default {
|
1148
|
1150
|
console.log(this.advice_groups);
|
1149
|
1151
|
|
1150
|
1152
|
var advices = response.data.data.advices;
|
|
1153
|
+
|
|
1154
|
+ var newDocArr= []
|
|
1155
|
+ for(let i=0;i<advices.length;i++){
|
|
1156
|
+ console.log("hhahahahh",advices[i].advice_name.indexOf("0.9%氯化钠注射液"))
|
|
1157
|
+ console.log("jjjjjjjjj",advices[i].delivery_way.indexOf("管路预冲"))
|
|
1158
|
+ if(advices[i].advice_name.indexOf("0.9%氯化钠注射液") ==-1 && advices[i].delivery_way.indexOf("管路预冲")==-1){
|
|
1159
|
+ newDocArr.push(advices[i])
|
|
1160
|
+ }
|
|
1161
|
+ }
|
|
1162
|
+ console.log("newDocArr----------------------",newDocArr)
|
|
1163
|
+
|
1151
|
1164
|
var doctorAdevieInfo = response.data.data.doctorAdevieInfo
|
1152
|
|
- var tableAdvice = advices.concat(doctorAdevieInfo);
|
1153
|
|
- console.log('tableAdvice',tableAdvice);
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+ var tableAdvice = newDocArr.concat(doctorAdevieInfo);
|
|
1169
|
+
|
1154
|
1170
|
console.log('response.data.data', response.data.data)
|
1155
|
1171
|
if (tableAdvice.length === 0) {
|
1156
|
1172
|
console.log('1111111',tableAdvice.length);
|