|
@@ -253,6 +253,7 @@
|
|
|
|
|
|
|
|
<div
|
|
<div
|
|
|
class="fixed-btn-wrap center"
|
|
class="fixed-btn-wrap center"
|
|
|
|
|
+ v-if="curRole == '2'"
|
|
|
>
|
|
>
|
|
|
<div class="fixed-btn excute" @click="handleShare" v-if="workItem.reviewImage && workItem.reviewImage.length">分享成果</div>
|
|
<div class="fixed-btn excute" @click="handleShare" v-if="workItem.reviewImage && workItem.reviewImage.length">分享成果</div>
|
|
|
<div class="fixed-btn second" @click="handleRemindUser" v-else>提醒农户拍照</div>
|
|
<div class="fixed-btn second" @click="handleRemindUser" v-else>提醒农户拍照</div>
|
|
@@ -289,6 +290,7 @@ const curRole = ref("");
|
|
|
const isPlan = ref(false);
|
|
const isPlan = ref(false);
|
|
|
const loading = ref(false);
|
|
const loading = ref(false);
|
|
|
|
|
|
|
|
|
|
+
|
|
|
const diffInDays = (date, type = "minus") => {
|
|
const diffInDays = (date, type = "minus") => {
|
|
|
const targetDate = new Date(date);
|
|
const targetDate = new Date(date);
|
|
|
const currentDate = new Date(); // 获取当前系统时间
|
|
const currentDate = new Date(); // 获取当前系统时间
|