|
@@ -7,12 +7,12 @@
|
|
|
<img class="header-img" src="@/assets/img/home/report.png" alt="" />
|
|
<img class="header-img" src="@/assets/img/home/report.png" alt="" />
|
|
|
<div class="report-header">
|
|
<div class="report-header">
|
|
|
<!-- <img class="header-book" src="@/assets/img/home/book.png" alt="" /> -->
|
|
<!-- <img class="header-book" src="@/assets/img/home/book.png" alt="" /> -->
|
|
|
- <div class="time-tag">{{ workItem?.executeDate }}</div>
|
|
|
|
|
|
|
+ <div class="time-tag">{{ workItem?.reportDate }}</div>
|
|
|
<div class="report-title">长势报告</div>
|
|
<div class="report-title">长势报告</div>
|
|
|
<div class="report-info">
|
|
<div class="report-info">
|
|
|
<div class="info-item">
|
|
<div class="info-item">
|
|
|
<img class="info-icon" src="@/assets/img/home/farm.png" alt="" />
|
|
<img class="info-icon" src="@/assets/img/home/farm.png" alt="" />
|
|
|
- <span class="info-text">{{ workItem?.farmName }}</span>
|
|
|
|
|
|
|
+ <span class="info-text">{{ workItem?.orchardName }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -20,7 +20,7 @@
|
|
|
<div class="report-box">
|
|
<div class="report-box">
|
|
|
<div class="box-title">农情总结</div>
|
|
<div class="box-title">农情总结</div>
|
|
|
<div class="box-text">
|
|
<div class="box-text">
|
|
|
- {{ workItem?.resultInfo || "--" }}
|
|
|
|
|
|
|
+ {{ workItem?.summaryAgricultural || "--" }}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -29,15 +29,13 @@
|
|
|
<div class="box-text">
|
|
<div class="box-text">
|
|
|
<div class="box-bg">
|
|
<div class="box-bg">
|
|
|
<span class="box-subtitle">背景描述:</span>
|
|
<span class="box-subtitle">背景描述:</span>
|
|
|
- {{ workItem?.growthInfo?.description || "--" }}
|
|
|
|
|
|
|
+ <div v-html="workItem?.phenologyBackground"></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="box-advice">
|
|
<div class="box-advice">
|
|
|
<span class="box-subtitle">对策建议:</span>
|
|
<span class="box-subtitle">对策建议:</span>
|
|
|
- {{ workItem?.growthInfo?.advice || "--" }}
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="box-sum">
|
|
|
|
|
- 总结,该问题解决好了,可以达到什么效果。
|
|
|
|
|
|
|
+ <div v-html="workItem?.phenologySuggestion"></div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="box-sum" v-html="workItem?.phenologySummary"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -46,14 +44,14 @@
|
|
|
<div class="box-text">
|
|
<div class="box-text">
|
|
|
<div class="box-bg">
|
|
<div class="box-bg">
|
|
|
<span class="box-subtitle">背景描述:</span>
|
|
<span class="box-subtitle">背景描述:</span>
|
|
|
- {{ workItem?.growthInfo?.description || "--" }}
|
|
|
|
|
|
|
+ <div v-html="workItem?.pestBackground"></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="box-advice">
|
|
<div class="box-advice">
|
|
|
<span class="box-subtitle">对策建议:</span>
|
|
<span class="box-subtitle">对策建议:</span>
|
|
|
- {{ workItem?.growthInfo?.advice || "--" }}
|
|
|
|
|
|
|
+ <div v-html="workItem?.pestSuggestion"></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="box-sum">
|
|
<div class="box-sum">
|
|
|
- 总结,该问题解决好了,可以达到什么效果。
|
|
|
|
|
|
|
+ <div v-html="workItem?.pestSummary"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -63,11 +61,11 @@
|
|
|
<div class="box-text">
|
|
<div class="box-text">
|
|
|
<div class="box-bg">
|
|
<div class="box-bg">
|
|
|
<span class="box-subtitle">背景描述:</span>
|
|
<span class="box-subtitle">背景描述:</span>
|
|
|
- {{ workItem?.futureInfo?.description || "--" }}
|
|
|
|
|
|
|
+ <div v-html="workItem?.forecastBackground"></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="box-advice">
|
|
<div class="box-advice">
|
|
|
<span class="box-subtitle">对策建议:</span>
|
|
<span class="box-subtitle">对策建议:</span>
|
|
|
- {{ workItem?.futureInfo?.advice || "--" }}
|
|
|
|
|
|
|
+ <div v-html="workItem?.forecastSuggestion"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -76,7 +74,7 @@
|
|
|
<div class="box-text next-info">
|
|
<div class="box-text next-info">
|
|
|
<div class="box-bg">
|
|
<div class="box-bg">
|
|
|
<span class="box-subtitle">下一次农情互动预告:</span>
|
|
<span class="box-subtitle">下一次农情互动预告:</span>
|
|
|
- {{ workItem?.nextInfo?.advice || "--" }}
|
|
|
|
|
|
|
+ <div v-html="workItem?.nextInteractionPreview"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -117,17 +115,18 @@ const paramsPage = ref({});
|
|
|
onActivated(() => {
|
|
onActivated(() => {
|
|
|
window.scrollTo(0, 0);
|
|
window.scrollTo(0, 0);
|
|
|
paramsPage.value = route.query.miniJson ? JSON.parse(route.query.miniJson) : {};
|
|
paramsPage.value = route.query.miniJson ? JSON.parse(route.query.miniJson) : {};
|
|
|
- // getDetail();
|
|
|
|
|
|
|
+ getDetail();
|
|
|
// getResultReport();
|
|
// getResultReport();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
const getDetail = () => {
|
|
const getDetail = () => {
|
|
|
if (!paramsPage.value.id) return;
|
|
if (!paramsPage.value.id) return;
|
|
|
loading.value = true;
|
|
loading.value = true;
|
|
|
- VE_API.z_farm_work_record
|
|
|
|
|
- .getDetail({ id: paramsPage.value.id })
|
|
|
|
|
|
|
+ VE_API.farm
|
|
|
|
|
+ // .growthReport({ reportId: paramsPage.value.id })
|
|
|
|
|
+ .growthReport({ reportId: 1 })
|
|
|
.then(({ data }) => {
|
|
.then(({ data }) => {
|
|
|
- workItem.value = data[0];
|
|
|
|
|
|
|
+ workItem.value = data;
|
|
|
})
|
|
})
|
|
|
.finally(() => {
|
|
.finally(() => {
|
|
|
loading.value = false;
|
|
loading.value = false;
|