更新 检后签到 提示

main
鹿和sa0ChunLuyu 1 year ago
parent d7d94666bf
commit 78c12636ac

@ -255,7 +255,7 @@ class FenzhenController extends Controller
$check_tip = false;
if ($error_day == -1) {
$et = $info->appointment_date . strtotime($res['data']['end_time']);
$et = '2024-10-10 00:00:00';
// $et = '2024-10-10 00:00:00';
$check_tip = (time() - strtotime($et)) > (60 * 20);
}
return \Yz::Return(true, "获取成功", [

@ -28,6 +28,19 @@
});
const fenzhen_list = ref(false);
const check_tip_show = ref(false);
const checkTipShow = () => {
check_tip_show.value = true
uni.showModal({
title: '提示',
content: '所有项目已完成,请进行检后签到',
showCancel: false,
confirmText: '确定',
success: function(res) {
}
});
}
const getFenzhenList = async (loading = true) => {
if (!!loading) {
uni.showLoading();
@ -38,7 +51,9 @@
uni.hideLoading();
$response(response, () => {
fenzhen_list.value = response.data;
console.log(window.location.href)
if (!check_tip_show.value) {
checkTipShow()
}
setTimeout(() => {
if (!!window.location.href.includes('/pages/user/fenzhen/fenzhen') &&
!window.location.href.includes('192.168.31.84:5173')) {
@ -175,6 +190,12 @@
<view class="info_title_wrapper">体检日期</view>
<view class="info_text_wrapper">{{
fenzhen_list.info.check_date
}}</view>
</view>
<view class="info_wrapper info2_wrapper">
<view class="info_title_wrapper">排队号</view>
<view class="info_text_wrapper">{{
fenzhen_list.info.plan_number
}}</view>
</view>
</view>
@ -282,7 +303,7 @@
</template>
<style scoped>
.item_desc_wrapper {
font-size: 14rpx;
font-size: 22rpx;
color: red;
margin-top: 10rpx;
}
@ -611,7 +632,7 @@
}
.info_box_wrapper {
margin-top: 60rpx;
margin-top: 30rpx;
margin-left: 29rpx;
}
@ -630,7 +651,7 @@
line-height: 48rpx;
text-align: center;
margin-right: 29rpx;
margin-top: 24rpx;
margin-top: 0rpx;
}
.info_wrapper {

Loading…
Cancel
Save