|
|
@@ -2,9 +2,9 @@
|
|
|
<div class="chart-list">
|
|
|
<div class="chart-item weather-item">
|
|
|
<chart-box name="气象预警">
|
|
|
- <!-- <template #title-right>
|
|
|
+ <template #title-right>
|
|
|
<div class="button" @click="gybg">果园报告</div>
|
|
|
- </template> -->
|
|
|
+ </template>
|
|
|
<div class="base-wrap">
|
|
|
<div class="base-item" v-for="(item, index) in baseData.labels" :key="index">
|
|
|
<div class="label">{{ item }}风险</div>
|
|
|
@@ -270,9 +270,9 @@ const growObj = ref({});
|
|
|
const ecologyObj = ref({});
|
|
|
|
|
|
const gybg = () => {
|
|
|
- VE_API.farm_files.last({ farmId: 766, key: "pdf_report" }).then(({ data }) => {
|
|
|
- eventBus.emit("homePage:gybg", { filename: data.path, title: "果园报告" });
|
|
|
- });
|
|
|
+ // VE_API.farm_files.last({ farmId: 766, key: "pdf_report" }).then(({ data }) => {
|
|
|
+ // });
|
|
|
+ eventBus.emit("homePage:gybg", { filename: "ts", title: "果园报告" });
|
|
|
};
|
|
|
</script>
|
|
|
|