打卡记录及巡查轨迹问题修改

main
zhufu 2025-11-19 11:20:55 +08:00
parent cefa07622e
commit 9273b17963
1 changed files with 4 additions and 2 deletions

View File

@ -58,7 +58,7 @@
<div class="flex clockinfobox">
<img class="iconsimg" src="@/assets/images/chart/xunchaguiji/clockfill.png" />
<span class="lab">打卡时间</span>
<span class="val">{{ item.CreateTime }}</span>
<span class="val">{{ item.ClockonTime }}</span>
</div>
<div class="flex clockinfobox">
<img class="iconsimg" src="@/assets/images/chart/xunchaguiji/positionicon.png" />
@ -83,6 +83,8 @@ import { EventBus } from '@/utils/eventBus'
import axios from 'axios'
import { message } from 'ant-design-vue';
import { getAppEnvConfig } from '@/utils/env'
import dayjs from 'dayjs'
import * as mars3d from 'mars3d';
var { VITE_GLOB_API_URL } = getAppEnvConfig();
const props = defineProps({
@ -108,7 +110,7 @@ const navsIndex = ref('1')
const navsArr = ref(['巡查轨迹','打卡记录'])
const rangeValue = ref()
const userId = ref()
const dateRange = ref([null,null])
const dateRange = ref([dayjs().subtract(1, 'month').format('YYYY-MM-DD'),dayjs().format('YYYY-MM-DD')])
const polyLineArr = ref([])
const navsClick = (index) =>{
navsIndex.value = index