|
|
@@ -77,8 +77,8 @@
|
|
|
<text-ellipsis class="item-value" v-bind="textEllipsisBind"
|
|
|
:content="field.content" />
|
|
|
</div>
|
|
|
- <img class="card-item__phenotype-image" :src="field.image" alt=""
|
|
|
- @click="handlePhenotypeImagePreview(field.image)" />
|
|
|
+ <!-- <img class="card-item__phenotype-image" :src="field.image" alt=""
|
|
|
+ @click="handlePhenotypeImagePreview(field.image)" /> -->
|
|
|
</div>
|
|
|
<template v-else>
|
|
|
<span class="item-label">{{ t(`recordDetails.${field.labelKey}`) }}</span>
|
|
|
@@ -124,8 +124,8 @@
|
|
|
<span class="item-label">{{ t(`recordDetails.${field.labelKey}`) }}</span>
|
|
|
<text-ellipsis class="item-value" v-bind="textEllipsisBind" :content="field.content" />
|
|
|
</div>
|
|
|
- <img class="card-item__phenotype-image" :src="field.image" alt=""
|
|
|
- @click="handlePhenotypeImagePreview(field.image)" />
|
|
|
+ <!-- <img class="card-item__phenotype-image" :src="field.image" alt=""
|
|
|
+ @click="handlePhenotypeImagePreview(field.image)" /> -->
|
|
|
</div>
|
|
|
<template v-else>
|
|
|
<span class="item-label">{{ t(`recordDetails.${field.labelKey}`) }}</span>
|
|
|
@@ -756,7 +756,7 @@ const recordHeaderInfo = computed(() => {
|
|
|
}
|
|
|
return {
|
|
|
titleKey: 'agriRecord.phenologyWorkName',
|
|
|
- question: workDetail.value.interaction_issue,
|
|
|
+ question: workDetail.value.work_reason_short,
|
|
|
};
|
|
|
});
|
|
|
|
|
|
@@ -775,7 +775,7 @@ const leadDetailField = computed(() => {
|
|
|
}
|
|
|
return {
|
|
|
labelKey: 'farmAnalysisLabel',
|
|
|
- content: workDetail.value.crop_condition_analysis,
|
|
|
+ content: workDetail.value.work_reason_detail,
|
|
|
};
|
|
|
});
|
|
|
|
|
|
@@ -975,6 +975,7 @@ const getWorkDetail = async () => {
|
|
|
const res = await VE_API.monitor.getWorkDetail({ id: route.query.workId });
|
|
|
if (res.code === 200 && res.data.length) {
|
|
|
workDetail.value = res.data[0];
|
|
|
+ console.log(workDetail.value);
|
|
|
}
|
|
|
}
|
|
|
|