status
parent
9fde658aa0
commit
986da7a814
|
|
@ -215,8 +215,8 @@ onLoad((options) => {
|
||||||
startValue.value = res.start_at * 1000
|
startValue.value = res.start_at * 1000
|
||||||
endValue.value = res.end_at * 1000
|
endValue.value = res.end_at * 1000
|
||||||
dateValue.value = res.date * 1000
|
dateValue.value = res.date * 1000
|
||||||
form.start_at = timeFormat(res.start_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:ss')
|
form.end_at = timeFormat(res.end_at, 'yyyy-mm-dd hh:MM')
|
||||||
form.date = timeFormat(res.date, 'yyyy-mm-dd')
|
form.date = timeFormat(res.date, 'yyyy-mm-dd')
|
||||||
// form.duration = res.duration
|
// form.duration = res.duration
|
||||||
form.duration = res.hours
|
form.duration = res.hours
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="px-base" v-if="detail">
|
<view class="px-base" v-if="detail">
|
||||||
<CuNavbar title="加班申请">
|
<CuNavbar title="加班详情">
|
||||||
<template #right>
|
<template #right>
|
||||||
<uv-icon color="white" @click="open" name="more-dot-fill"></uv-icon>
|
<uv-icon color="white" @click="open" name="more-dot-fill"></uv-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<CuNavbar title="加班申请">
|
<CuNavbar title="加班报备">
|
||||||
<template #right>
|
<template #right>
|
||||||
<view @click="goPath('/pages/overtime/create')" class="text-24rpx text-white">申请</view>
|
<view @click="goPath('/pages/overtime/create')" class="text-24rpx text-white">申请</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue