|
@@ -49,7 +49,8 @@
|
|
|
<el-icon><Plus /></el-icon>
|
|
<el-icon><Plus /></el-icon>
|
|
|
<span>继续上传照片</span>
|
|
<span>继续上传照片</span>
|
|
|
</div> -->
|
|
</div> -->
|
|
|
- <uploader class="upload-wrap continue-upload-btn" multiple :max-count="10" :after-read="afterReadUpload">
|
|
|
|
|
|
|
+ <uploader class="upload-wrap continue-upload-btn" multiple :max-count="10"
|
|
|
|
|
+ :after-read="afterReadUpload">
|
|
|
<div class="upload-btn">
|
|
<div class="upload-btn">
|
|
|
<el-icon>
|
|
<el-icon>
|
|
|
<Plus />
|
|
<Plus />
|
|
@@ -97,7 +98,7 @@
|
|
|
<template v-if="!item.expanded">
|
|
<template v-if="!item.expanded">
|
|
|
<span class="proportion-text" v-if="item.replyText">当前果园{{ item.phenologyName }}占比: {{
|
|
<span class="proportion-text" v-if="item.replyText">当前果园{{ item.phenologyName }}占比: {{
|
|
|
item.replyText
|
|
item.replyText
|
|
|
- }}%</span>
|
|
|
|
|
|
|
+ }}%</span>
|
|
|
<span class="proportion-text" v-else>暂无数据</span>
|
|
<span class="proportion-text" v-else>暂无数据</span>
|
|
|
</template>
|
|
</template>
|
|
|
<div class="toggle-btn" @click="toggleExpand(item)">
|
|
<div class="toggle-btn" @click="toggleExpand(item)">
|
|
@@ -108,11 +109,19 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
<div class="empty-data" v-if="!loading && listData.length === 0">暂无数据</div>
|
|
<div class="empty-data" v-if="!loading && listData.length === 0">暂无数据</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="custom-bottom-fixed-btns" :class="{ 'center-btn': true}">
|
|
|
|
|
+ <!-- <div class="bottom-btn secondary-btn" @click="handleShowDroneConsultPopup">获取自动飞行航线</div>
|
|
|
|
|
+ <div class="bottom-btn secondary-btn">邀请农情互动</div> -->
|
|
|
|
|
+ <div class="bottom-btn primary-btn" @click="handleSubmitAll">一键提交</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
<!-- 农场信息完善弹窗 -->
|
|
<!-- 农场信息完善弹窗 -->
|
|
|
<farm-info-popup :oldUser="oldUser" :expertMiniUserId="query.expertMiniUserId" v-model:show="showFarmInfoPopup" />
|
|
<farm-info-popup :oldUser="oldUser" :expertMiniUserId="query.expertMiniUserId" v-model:show="showFarmInfoPopup" />
|
|
|
|
|
+ <!-- 无人机/飞行航线咨询弹窗 -->
|
|
|
|
|
+ <drone-consult-popup v-model:show="showDroneConsultPopup" @copy="onCopyWechatId" />
|
|
|
|
|
|
|
|
<!-- 示例照片轮播组件 -->
|
|
<!-- 示例照片轮播组件 -->
|
|
|
<example-popup v-model:show="showExamplePopup" :images="exampleList" :start-index="exampleStartIndex"
|
|
<example-popup v-model:show="showExamplePopup" :images="exampleList" :start-index="exampleStartIndex"
|
|
@@ -156,6 +165,7 @@ import { Uploader, Popup } from "vant";
|
|
|
import customHeader from "@/components/customHeader.vue";
|
|
import customHeader from "@/components/customHeader.vue";
|
|
|
import upload from "@/components/upload.vue";
|
|
import upload from "@/components/upload.vue";
|
|
|
import FarmInfoPopup from "@/components/popup/farmInfoPopup.vue";
|
|
import FarmInfoPopup from "@/components/popup/farmInfoPopup.vue";
|
|
|
|
|
+import DroneConsultPopup from "@/components/popup/droneConsultPopup.vue";
|
|
|
import ExamplePopup from "./components/examplePopup.vue";
|
|
import ExamplePopup from "./components/examplePopup.vue";
|
|
|
import { useRouter, useRoute } from "vue-router";
|
|
import { useRouter, useRoute } from "vue-router";
|
|
|
import { base_img_url2 } from "@/api/config";
|
|
import { base_img_url2 } from "@/api/config";
|
|
@@ -165,6 +175,14 @@ import { getFileExt } from "@/utils/util";
|
|
|
import MorePopup from "./components/morePopup.vue";
|
|
import MorePopup from "./components/morePopup.vue";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+const showDroneConsultPopup = ref(false);
|
|
|
|
|
+const handleShowDroneConsultPopup = () => {
|
|
|
|
|
+ // showDroneConsultPopup.value = true;
|
|
|
|
|
+ router.push(
|
|
|
|
|
+ `/draw_region?type=droneConsult`
|
|
|
|
|
+ );
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
const showFarmInfoPopup = ref(false);
|
|
const showFarmInfoPopup = ref(false);
|
|
|
const loading = ref(false);
|
|
const loading = ref(false);
|
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
@@ -381,6 +399,10 @@ const openMorePopup = (images) => {
|
|
|
morePopupRef.value.openPopup();
|
|
morePopupRef.value.openPopup();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+const onCopyWechatId = () => {
|
|
|
|
|
+ ElMessage.success("微信号已复制");
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
const oldUser = ref(false);
|
|
const oldUser = ref(false);
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
// 初始化加载
|
|
// 初始化加载
|
|
@@ -388,7 +410,7 @@ onMounted(() => {
|
|
|
// 加载数据
|
|
// 加载数据
|
|
|
loadData();
|
|
loadData();
|
|
|
oldUser.value = query.value.oldUser && Boolean(query.value.oldUser);
|
|
oldUser.value = query.value.oldUser && Boolean(query.value.oldUser);
|
|
|
- if(oldUser.value){
|
|
|
|
|
|
|
+ if (oldUser.value) {
|
|
|
showFarmInfoPopup.value = true;
|
|
showFarmInfoPopup.value = true;
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
@@ -405,6 +427,10 @@ const getFarmList = async () => {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+const handleSubmitAll = () => {
|
|
|
|
|
+ console.log("一键提交");
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
</script>
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
.interaction-list {
|
|
.interaction-list {
|
|
@@ -697,6 +723,14 @@ const getFarmList = async () => {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.center-btn{
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ .primary-btn{
|
|
|
|
|
+ padding: 10px 32px;
|
|
|
|
|
+ background: #2199F8;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.upload-progress-popup {
|
|
.upload-progress-popup {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
padding: 20px 16px;
|
|
padding: 20px 16px;
|