|
@@ -1949,20 +1949,22 @@ export default {
|
1949
|
1949
|
}
|
1950
|
1950
|
this.loading = false
|
1951
|
1951
|
const advice = response.data.data.advices
|
|
1952
|
+ const advice2 = response.data.data.DoctorAdvice
|
1952
|
1953
|
for(let i in advice){
|
1953
|
1954
|
if(advice[i].id !=undefined ){
|
1954
|
|
- console.log('response.data.data',this.doctor_advices);
|
|
1955
|
+
|
1955
|
1956
|
this.doctor_advices = advice
|
1956
|
1957
|
// response.data.data.advices == null ? [] : response.data.data.advices
|
1957
|
1958
|
}
|
1958
|
1959
|
}
|
|
1960
|
+ this.doctor_advices = this.doctor_advices.concat(advice2)
|
|
1961
|
+ console.log('response.data.data12111111',this.doctor_advices);
|
1959
|
1962
|
const advicearr = []
|
1960
|
1963
|
for(let i in this.doctor_advices){
|
1961
|
1964
|
if(this.doctor_advices[i].delivery_way!='口服' && this.doctor_advices[i].delivery_way!='中药口服' && this.doctor_advices[i].advice_name.indexOf('胰岛素')==-1){
|
1962
|
1965
|
if(this.doctor_advices[i].execution_frequency.indexOf("上机前") == -1 ){
|
1963
|
1966
|
advicearr.push(this.doctor_advices[i])
|
1964
|
1967
|
}
|
1965
|
|
-
|
1966
|
1968
|
}
|
1967
|
1969
|
|
1968
|
1970
|
// if(this.doctor_advices[i].delivery_way!='口服' && this.doctor_advices[i].delivery_way!='中药口服'){
|