|
|
@@ -206,7 +206,7 @@ const getFarmRiskAndTracking = async () => {
|
|
|
});
|
|
|
if (requestId !== fetchRequestId) return;
|
|
|
if (res.code === 200) {
|
|
|
- currentPheCode.value = res.current_phe_code;
|
|
|
+ currentPheCode.value = res.data.current_phe_code;
|
|
|
trackingList.value = [
|
|
|
{ ...res.data.phenology_tracking, theme: "blue", icon: require("@/assets/img/report/wh-icon.png"), workType: 'phenology' },
|
|
|
{ ...res.data.growth_abnormal_tracking, theme: "orange", icon: require("@/assets/img/report/yc-icon.png"), workType: 'growth' },
|