|
|
@@ -328,7 +328,6 @@ import priceTable from "../agri_work/components/priceTable.vue";
|
|
|
import priceSheetPopup from "@/components/popup/priceSheetPopup.vue";
|
|
|
import uploadExecute from "@/views/old_mini/task_condition/components/uploadExecute.vue";
|
|
|
import { base_img_url2 } from "@/api/config";
|
|
|
-import { ElMessage } from "element-plus";
|
|
|
|
|
|
const router = useRouter();
|
|
|
const store = useStore();
|
|
|
@@ -432,25 +431,18 @@ const handleConfirmComplete = () => {
|
|
|
|
|
|
const handleForward = () => {
|
|
|
onlyShare.value = true;
|
|
|
- if(parmasPage.value.farmMiniUserId){
|
|
|
- setTimeout(() => {
|
|
|
- uploadExecuteRef.value.showPopup({...parmasPage.value, type:'quotation'});
|
|
|
- }, 10);
|
|
|
- }else{
|
|
|
- ElMessage.warning('尚未绑定用户,暂时无法分享')
|
|
|
- }
|
|
|
+ setTimeout(() => {
|
|
|
+ uploadExecuteRef.value.showPopup({...parmasPage.value, type:'quotation'});
|
|
|
+ }, 10);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
const onlyShare = ref(false);
|
|
|
const handleShare = () => {
|
|
|
onlyShare.value = true;
|
|
|
- if(parmasPage.value.farmMiniUserId){
|
|
|
- setTimeout(() => {
|
|
|
- uploadExecuteRef.value.showPopup(parmasPage.value);
|
|
|
- }, 10);
|
|
|
- }else{
|
|
|
- ElMessage.warning('尚未绑定用户,暂时无法分享')
|
|
|
- }
|
|
|
+ setTimeout(() => {
|
|
|
+ uploadExecuteRef.value.showPopup(parmasPage.value);
|
|
|
+ }, 10);
|
|
|
};
|
|
|
const showUploadExecutePopup = () => {
|
|
|
if (detailData.value?.executeEvidence.length) {
|
|
|
@@ -458,13 +450,10 @@ const showUploadExecutePopup = () => {
|
|
|
} else {
|
|
|
onlyShare.value = false;
|
|
|
}
|
|
|
- if(parmasPage.value.farmMiniUserId){
|
|
|
- setTimeout(() => {
|
|
|
- uploadExecuteRef.value.showPopup(parmasPage.value);
|
|
|
- }, 10);
|
|
|
- }else{
|
|
|
- ElMessage.warning('尚未绑定用户,暂时无法分享')
|
|
|
- }
|
|
|
+ setTimeout(() => {
|
|
|
+ uploadExecuteRef.value.showPopup(parmasPage.value);
|
|
|
+ }, 10);
|
|
|
+
|
|
|
};
|
|
|
// 地图
|
|
|
// const areaRef = ref(null);
|