|
|
@@ -432,7 +432,7 @@ const handleConfirmComplete = () => {
|
|
|
const handleForward = () => {
|
|
|
onlyShare.value = true;
|
|
|
setTimeout(() => {
|
|
|
- uploadExecuteRef.value.showPopup(query.id,'share-sheet');
|
|
|
+ uploadExecuteRef.value.showPopup(parmasPage.value,'share-sheet');
|
|
|
}, 10);
|
|
|
}
|
|
|
|
|
|
@@ -440,7 +440,7 @@ const onlyShare = ref(false);
|
|
|
const handleShare = () => {
|
|
|
onlyShare.value = true;
|
|
|
setTimeout(() => {
|
|
|
- uploadExecuteRef.value.showPopup();
|
|
|
+ uploadExecuteRef.value.showPopup(parmasPage.value);
|
|
|
}, 10);
|
|
|
};
|
|
|
const showUploadExecutePopup = () => {
|
|
|
@@ -450,13 +450,14 @@ const showUploadExecutePopup = () => {
|
|
|
onlyShare.value = false;
|
|
|
}
|
|
|
setTimeout(() => {
|
|
|
- uploadExecuteRef.value.showPopup(query.id);
|
|
|
+ uploadExecuteRef.value.showPopup(parmasPage.value);
|
|
|
}, 10);
|
|
|
};
|
|
|
// 地图
|
|
|
// const areaRef = ref(null);
|
|
|
// let newFarmMap = new NewFarmMap();
|
|
|
const quotationData = ref({});
|
|
|
+const parmasPage = ref({});
|
|
|
const toList = (val) => {
|
|
|
if (!val) return [];
|
|
|
return JSON.parse(val);
|
|
|
@@ -468,6 +469,14 @@ onMounted(async () => {
|
|
|
if (id) {
|
|
|
await getDetail(id);
|
|
|
}
|
|
|
+ parmasPage.value = {
|
|
|
+ farmMiniUserId:detailData.value.users[0]?.userId,
|
|
|
+ farmMiniUserName:detailData.value.expertUserName,
|
|
|
+ farmId:detailData.value.farmId,
|
|
|
+ executeEvidence:JSON.stringify(detailData.value.executeEvidence),
|
|
|
+ farmWorkName:detailData.value.farmWorkName,
|
|
|
+ id:detailData.value.id,
|
|
|
+ }
|
|
|
if (query.farmWorkOrderId || detailData.value?.flowStatus === 4) {
|
|
|
const farmWorkOrderId = query.farmWorkOrderId || detailData.value.orderId;
|
|
|
const { data } = await VE_API.z_farm_work_record_cost.listByOrderId({ farmWorkOrderId });
|