|
|
@@ -14,16 +14,16 @@
|
|
|
距离执行时间还差 {{ daysDiff }} 天
|
|
|
</div>
|
|
|
<div class="status-sub" v-if="!detail?.flowStatus || detail?.flowStatus === 0">
|
|
|
- 预计触发时间 {{ detail?.activateTime ? formatDate(detail.activateTime) : "--" }}
|
|
|
+ 预计触发时间 {{ detail?.executeDate || "--" }}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="work-wrap">
|
|
|
+ <div class="work-wrap" :class="{ 'has-bottom': info?.appType === 2 || (info?.appType === 1 && detail?.flowStatus === 3) }">
|
|
|
<!-- 农事组信息 -->
|
|
|
- <div class="box-wrap group-info group-box" v-if="detail?.executionLimitDays">
|
|
|
+ <div class="box-wrap group-info group-box" v-if="detail?.executionLimitDays && detail?.flowStatus !== 5">
|
|
|
<div class="group-name">
|
|
|
- 该农事为 <span class="light-text">限时溯源农事</span> ,请在 <span class="light-text">{{detail?.executionLimitDays}}天内</span>
|
|
|
+ 该农事为 <span class="light-text">标准防治溯源农事</span> ,请在<span v-if="detail?.flowStatus !== 3">触发后</span> <span class="light-text">{{detail?.executionLimitDays}}天内</span>
|
|
|
完成溯源认证上传,如果逾期未认证,该农事将不可溯源认证,且不计入飞鸟有味平台
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -114,7 +114,7 @@
|
|
|
<!-- 农事凭证 -->
|
|
|
<div class="work-info photo-box" v-if="prescription.cropAlbum && prescription.cropAlbum.length">
|
|
|
<div class="photo-title">农事凭证</div>
|
|
|
- <div class="photo-sub-title" v-if="info?.appType === 1">来自于 某某某农资机构</div>
|
|
|
+ <div class="photo-sub-title" v-if="info?.appType === 1">来自于 {{ detail?.executorOrganizationName || "--" }}</div>
|
|
|
<div class="photo-img-wrap">
|
|
|
<photo-provider :photo-closable="true">
|
|
|
<photo-consumer v-for="(src, index) in prescription.cropAlbum" intro="农事凭证" :key="index"
|
|
|
@@ -141,9 +141,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <ExecutePopup ref="executePopupRef" />
|
|
|
-
|
|
|
-
|
|
|
+ <ExecutePopup ref="executePopupRef" @executeSuccess="getDetail" />
|
|
|
|
|
|
<upload-tips v-model:show="showUploadTipsPopup" />
|
|
|
</div>
|
|
|
@@ -196,7 +194,6 @@ const detail = ref({
|
|
|
post: null,
|
|
|
expertNameFromFarmBasicInfo: "",
|
|
|
rangeWkt: null,
|
|
|
- activateTime: null,
|
|
|
});
|
|
|
|
|
|
/** 凭证图片统一为 { filename } */
|
|
|
@@ -254,7 +251,6 @@ const getDetail = () => {
|
|
|
expertNameFromFarmBasicInfo:
|
|
|
data?.expertNameFromFarmBasicInfo ?? "",
|
|
|
rangeWkt: data?.rangeWkt ?? null,
|
|
|
- activateTime: data?.activateTime ?? null,
|
|
|
};
|
|
|
});
|
|
|
};
|
|
|
@@ -341,7 +337,7 @@ const handleTagType = (tagType) => {
|
|
|
}
|
|
|
|
|
|
const handleExecute = () => {
|
|
|
- executePopupRef.value.openPopup(miniJson.value.recordId);
|
|
|
+ executePopupRef.value.openPopup(miniJson.value.recordId, miniJson.value.hideDraw);
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -481,7 +477,9 @@ const changeExecutionMethod = (stageIndex, value) => {
|
|
|
top: -16px;
|
|
|
padding: 0 12px 12px;
|
|
|
z-index: 2;
|
|
|
- margin-bottom: 60px;
|
|
|
+ &.has-bottom {
|
|
|
+ margin-bottom: 60px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.box-wrap {
|