|
@@ -2225,6 +2225,7 @@
|
2225
|
2225
|
}
|
2226
|
2226
|
}
|
2227
|
2227
|
if (index == 1) {
|
|
2228
|
+ console.log(this.prescriptions)
|
2228
|
2229
|
|
2229
|
2230
|
for (let i = 0; i < this.prescriptions.length; i++) {
|
2230
|
2231
|
for(let b = 0; b < this.prescriptions[i].advices.length; b++){
|
|
@@ -2885,6 +2886,15 @@
|
2885
|
2886
|
unit: temp2[b].unit,
|
2886
|
2887
|
type: temp2[b].type
|
2887
|
2888
|
}
|
|
2889
|
+
|
|
2890
|
+ if (temp2[b].type == 2){
|
|
2891
|
+ obj['project'] = temp2[b].project
|
|
2892
|
+
|
|
2893
|
+ }else if(temp2[b].type == 3){
|
|
2894
|
+
|
|
2895
|
+ obj['good_info'] = temp2[b].good_info
|
|
2896
|
+
|
|
2897
|
+ }
|
2888
|
2898
|
if (temp2[b].team_id == undefined) {
|
2889
|
2899
|
obj['team_id'] = 0
|
2890
|
2900
|
} else {
|