main
panliang 2024-05-03 21:02:01 +08:00
parent 9fde658aa0
commit 986da7a814
3 changed files with 4 additions and 4 deletions

View File

@ -215,8 +215,8 @@ onLoad((options) => {
startValue.value = res.start_at * 1000
endValue.value = res.end_at * 1000
dateValue.value = res.date * 1000
form.start_at = timeFormat(res.start_at, 'yyyy-mm-dd hh:MM:ss')
form.end_at = timeFormat(res.end_at, 'yyyy-mm-dd hh:MM:ss')
form.start_at = timeFormat(res.start_at, 'yyyy-mm-dd hh:MM')
form.end_at = timeFormat(res.end_at, 'yyyy-mm-dd hh:MM')
form.date = timeFormat(res.date, 'yyyy-mm-dd')
// form.duration = res.duration
form.duration = res.hours

View File

@ -1,6 +1,6 @@
<template>
<view class="px-base" v-if="detail">
<CuNavbar title="加班申请">
<CuNavbar title="加班详情">
<template #right>
<uv-icon color="white" @click="open" name="more-dot-fill"></uv-icon>
</template>

View File

@ -1,6 +1,6 @@
<template>
<view>
<CuNavbar title="加班申请">
<CuNavbar title="加班报备">
<template #right>
<view @click="goPath('/pages/overtime/create')" class="text-24rpx text-white">申请</view>
</template>