Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dl-ehr-mini
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
宁吉海
dl-ehr-mini
Commits
95a3248a
Commit
95a3248a
authored
Dec 26, 2025
by
ningjihai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外出---当日外出
parent
241c0d86
显示空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
88 行增加
和
88 行删除
+88
-88
api/attendance/outside.ts
+14
-14
approve/modules/attendance/cardSign/index.vue
+1
-1
approve/modules/attendance/outside/add.vue
+17
-17
approve/modules/attendance/outside/list.vue
+1
-1
approve/modules/attendance/outside/modules/DetailFlow.vue
+7
-7
approve/modules/attendance/outside/modules/OutsideListItem.vue
+6
-6
approve/modules/carUse/apply/list.vue
+1
-1
attendance/cardSign/index.vue
+1
-1
attendance/clockinCalendar/index.vue
+1
-1
attendance/outside/add.vue
+17
-17
attendance/outside/list.vue
+1
-1
attendance/outside/modules/DetailFlow.vue
+7
-7
attendance/outside/modules/OutsideListItem.vue
+6
-6
carUse/apply/list.vue
+1
-1
pages.json
+3
-3
pages/approve/index.vue
+2
-2
pages/stage/index.vue
+2
-2
没有找到文件。
api/attendance/outside.ts
View file @
95a3248a
...
@@ -5,7 +5,7 @@ import request from '../../common/utils/request'
...
@@ -5,7 +5,7 @@ import request from '../../common/utils/request'
* @param {object} data 查询参数
* @param {object} data 查询参数
* @param {object} data.pageNum 页数
* @param {object} data.pageNum 页数
* @param {object} data.pageSize 条数
* @param {object} data.pageSize 条数
* @param {object} data.location 外出地点
* @param {object} data.location
当日
外出地点
*/
*/
export
function
getOutsideApplylist
(
data
)
{
export
function
getOutsideApplylist
(
data
)
{
return
request
({
return
request
({
...
@@ -16,13 +16,13 @@ export function getOutsideApplylist(data) {
...
@@ -16,13 +16,13 @@ export function getOutsideApplylist(data) {
}
}
/**
/**
* 考勤-外出新增
* 考勤-
当日
外出新增
* @param {object} data 提交数据
* @param {object} data 提交数据
* @param {string} data.location 外出地点
* @param {string} data.location
当日
外出地点
* @param {string} data.outsideDate 外出日期
* @param {string} data.outsideDate
当日
外出日期
* @param {string} data.expectBeginTime 预计外出开始时间
* @param {string} data.expectBeginTime 预计
当日
外出开始时间
* @param {string} data.expectEndTime 预计外出结束时间
* @param {string} data.expectEndTime 预计
当日
外出结束时间
* @param {string} data.reason 外出事由
* @param {string} data.reason
当日
外出事由
*/
*/
export
function
addOutsideApply
(
data
)
{
export
function
addOutsideApply
(
data
)
{
return
request
({
return
request
({
...
@@ -33,15 +33,15 @@ export function addOutsideApply(data) {
...
@@ -33,15 +33,15 @@ export function addOutsideApply(data) {
}
}
/**
/**
* 考勤-外出更新
* 考勤-
当日
外出更新
* @param {object} data 提交数据
* @param {object} data 提交数据
* @param {string} data.id
* @param {string} data.id
* @param {string} data.auditStatus 审核状态
* @param {string} data.auditStatus 审核状态
* @param {string} data.location 外出地点
* @param {string} data.location
当日
外出地点
* @param {string} data.outsideDate 外出日期
* @param {string} data.outsideDate
当日
外出日期
* @param {string} data.expectBeginTime 预计外出开始时间
* @param {string} data.expectBeginTime 预计
当日
外出开始时间
* @param {string} data.expectEndTime 预计外出结束时间
* @param {string} data.expectEndTime 预计
当日
外出结束时间
* @param {string} data.reason 外出事由
* @param {string} data.reason
当日
外出事由
*/
*/
export
function
editOutsideApply
(
data
)
{
export
function
editOutsideApply
(
data
)
{
return
request
({
return
request
({
...
@@ -52,7 +52,7 @@ export function editOutsideApply(data) {
...
@@ -52,7 +52,7 @@ export function editOutsideApply(data) {
}
}
/**
/**
* 考勤-外出详情
* 考勤-
当日
外出详情
* @param {string} id id
* @param {string} id id
*/
*/
export
function
getOutsideApplyInfo
(
id
)
{
export
function
getOutsideApplyInfo
(
id
)
{
...
...
approve/modules/attendance/cardSign/index.vue
View file @
95a3248a
...
@@ -43,7 +43,7 @@ function onClickItem(item) {
...
@@ -43,7 +43,7 @@ function onClickItem(item) {
})
})
}
}
// 外出撤办
//
当日
外出撤办
function
onRevoke
(
item
)
{
function
onRevoke
(
item
)
{
uni
.
showModal
({
uni
.
showModal
({
title
:
'撤办'
,
title
:
'撤办'
,
...
...
approve/modules/attendance/outside/add.vue
View file @
95a3248a
...
@@ -86,16 +86,16 @@ onLoad((option) => {
...
@@ -86,16 +86,16 @@ onLoad((option) => {
// 表单验证规则
// 表单验证规则
const
rules
=
reactive
({
const
rules
=
reactive
({
location
:
[
location
:
[
{
required
:
true
,
message
:
'请输入外出地点'
}
{
required
:
true
,
message
:
'请输入
当日
外出地点'
}
],
],
outsideDate
:
[
outsideDate
:
[
{
required
:
true
,
message
:
'请选择外出日期'
}
{
required
:
true
,
message
:
'请选择
当日
外出日期'
}
],
],
expectBeginTime
:
[
expectBeginTime
:
[
{
required
:
true
,
message
:
'请选择外出开始时间'
}
{
required
:
true
,
message
:
'请选择
当日
外出开始时间'
}
],
],
expectEndTime
:
[
expectEndTime
:
[
{
required
:
true
,
message
:
'请选择外出结束时间'
}
{
required
:
true
,
message
:
'请选择
当日
外出结束时间'
}
],
],
reason
:
[
reason
:
[
{
required
:
true
,
message
:
'请输入事由'
}
{
required
:
true
,
message
:
'请输入事由'
}
...
@@ -105,7 +105,7 @@ const rules = reactive({
...
@@ -105,7 +105,7 @@ const rules = reactive({
]
]
})
})
// 选择外出日期 - 确认
// 选择
当日
外出日期 - 确认
function
onConfirmOutside
(
e
)
{
function
onConfirmOutside
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
...
@@ -231,11 +231,11 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -231,11 +231,11 @@ const onConfirmExpectEndTimeRef = (e) =>{
<div
class=
"container__body"
>
<div
class=
"container__body"
>
<div
class=
"container__card flex form-card-container"
>
<div
class=
"container__card flex form-card-container"
>
<uv-form
ref=
"formRef"
labelWidth=
"140"
label-position=
"top"
:rules=
"rules"
:model=
"form"
>
<uv-form
ref=
"formRef"
labelWidth=
"140"
label-position=
"top"
:rules=
"rules"
:model=
"form"
>
<!-- 外出地点 -->
<!--
当日
外出地点 -->
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出地点"
prop=
"location"
required
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出地点"
prop=
"location"
required
>
<uv-textarea
<uv-textarea
v-model=
"form.location"
v-model=
"form.location"
placeholder=
"请输入外出地点"
placeholder=
"请输入
当日
外出地点"
maxlength=
"300"
maxlength=
"300"
count
count
:rules=
"rules.location"
:rules=
"rules.location"
...
@@ -243,13 +243,13 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -243,13 +243,13 @@ const onConfirmExpectEndTimeRef = (e) =>{
/>
/>
</uv-form-item>
</uv-form-item>
<!-- 外出日期 -->
<!--
当日
外出日期 -->
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出日期"
prop=
"outsideDate"
required
@
click=
"openOutsideDatePicker"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出日期"
prop=
"outsideDate"
required
@
click=
"openOutsideDatePicker"
>
<uv-input
<uv-input
v-model=
"form.outsideDate"
v-model=
"form.outsideDate"
disabled
disabled
disabledColor=
"#fff"
disabledColor=
"#fff"
placeholder=
"点击选择外出日期"
placeholder=
"点击选择
当日
外出日期"
border=
"none"
border=
"none"
/>
/>
<template
v-slot:right
>
<template
v-slot:right
>
...
@@ -279,12 +279,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -279,12 +279,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
<!-- 时间范围选择 -->
<!-- 时间范围选择 -->
<
template
v-if=
"form.offNeedCheck === '1'"
>
<
template
v-if=
"form.offNeedCheck === '1'"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出开始时间"
prop=
"expectBeginTime"
required
@
click=
"openExpectBeginTimeRef"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出开始时间"
prop=
"expectBeginTime"
required
@
click=
"openExpectBeginTimeRef"
>
<uv-input
<uv-input
v-model=
"form.expectBeginTime"
v-model=
"form.expectBeginTime"
disabled
disabled
disabledColor=
"#fff"
disabledColor=
"#fff"
placeholder=
"点击选择外出开始时间"
placeholder=
"点击选择
当日
外出开始时间"
border=
"none"
border=
"none"
/>
/>
<template
v-slot:right
>
<template
v-slot:right
>
...
@@ -299,12 +299,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -299,12 +299,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
@
confirm=
"onConfirmExpectBeginTimeRef"
@
confirm=
"onConfirmExpectBeginTimeRef"
/>
/>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出结束时间"
prop=
"expectEndTime"
required
@
click=
"openExpectEndTimeRef"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出结束时间"
prop=
"expectEndTime"
required
@
click=
"openExpectEndTimeRef"
>
<uv-input
<uv-input
v-model=
"form.expectEndTime"
v-model=
"form.expectEndTime"
disabled
disabled
disabledColor=
"#fff"
disabledColor=
"#fff"
placeholder=
"点击选择外出结束时间"
placeholder=
"点击选择
当日
外出结束时间"
border=
"none"
border=
"none"
/>
/>
<
template
v-slot:right
>
<
template
v-slot:right
>
...
@@ -326,12 +326,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -326,12 +326,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
<!-- 仅开始时间选择 -->
<!-- 仅开始时间选择 -->
<
template
v-else
>
<
template
v-else
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出开始时间"
prop=
"expectBeginTime"
required
@
click=
"openExpectBeginTimeRef"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出开始时间"
prop=
"expectBeginTime"
required
@
click=
"openExpectBeginTimeRef"
>
<uv-input
<uv-input
v-model=
"form.expectBeginTime"
v-model=
"form.expectBeginTime"
disabled
disabled
disabledColor=
"#fff"
disabledColor=
"#fff"
placeholder=
"点击选择外出开始时间"
placeholder=
"点击选择
当日
外出开始时间"
border=
"none"
border=
"none"
/>
/>
<template
v-slot:right
>
<template
v-slot:right
>
...
...
approve/modules/attendance/outside/list.vue
View file @
95a3248a
...
@@ -49,7 +49,7 @@ function onClickAdd() {
...
@@ -49,7 +49,7 @@ function onClickAdd() {
uni
.
navigateTo
({
url
:
'/attendance/outside/add'
})
uni
.
navigateTo
({
url
:
'/attendance/outside/add'
})
}
}
// 外出撤办
//
当日
外出撤办
function
onRevoke
(
item
)
{
function
onRevoke
(
item
)
{
uni
.
showModal
({
uni
.
showModal
({
...
...
approve/modules/attendance/outside/modules/DetailFlow.vue
View file @
95a3248a
...
@@ -41,13 +41,13 @@ function onPreview(index) {
...
@@ -41,13 +41,13 @@ function onPreview(index) {
<
template
>
<
template
>
<div>
<div>
<van-cell-group>
<van-cell-group>
<van-cell
title=
"外出地点"
:value=
"detail.location"
/>
<van-cell
title=
"
当日
外出地点"
:value=
"detail.location"
/>
<van-cell
title=
"外出日期"
:value=
"detail.outsideDate"
/>
<van-cell
title=
"
当日
外出日期"
:value=
"detail.outsideDate"
/>
<van-cell
title=
"预计外出开始时间"
:value=
"detail.expectBeginTime"
/>
<van-cell
title=
"预计
当日
外出开始时间"
:value=
"detail.expectBeginTime"
/>
<van-cell
title=
"预计外出结束时间"
:value=
"detail.expectEndTime"
/>
<van-cell
title=
"预计
当日
外出结束时间"
:value=
"detail.expectEndTime"
/>
<van-cell
title=
"实际外出开始时间"
:value=
"detail.actualBeginTime ?? '-'"
/>
<van-cell
title=
"实际
当日
外出开始时间"
:value=
"detail.actualBeginTime ?? '-'"
/>
<van-cell
title=
"实际外出结束时间"
:value=
"detail.actualEndTime ?? '-'"
/>
<van-cell
title=
"实际
当日
外出结束时间"
:value=
"detail.actualEndTime ?? '-'"
/>
<van-cell
title=
"外出事由"
:value=
"detail.reason"
/>
<van-cell
title=
"
当日
外出事由"
:value=
"detail.reason"
/>
<van-grid
<van-grid
v-if=
"detail.fileList?.length"
v-if=
"detail.fileList?.length"
:border=
"false"
:border=
"false"
...
...
approve/modules/attendance/outside/modules/OutsideListItem.vue
View file @
95a3248a
...
@@ -23,15 +23,15 @@ function onRevoke() {
...
@@ -23,15 +23,15 @@ function onRevoke() {
<div
class=
"list-item__top"
>
<div
class=
"list-item__top"
>
<div
class=
"list-item__top-title"
>
<div
class=
"list-item__top-title"
>
<div
class=
"list-item__top-title-firstword"
>
{{
props
.
userInfo
.
nickName
.
substr
(
0
,
1
)
}}
</div>
<div
class=
"list-item__top-title-firstword"
>
{{
props
.
userInfo
.
nickName
.
substr
(
0
,
1
)
}}
</div>
<div
class=
"list-item__top-title-label"
>
{{
props
.
userInfo
.
nickName
}}
提交的外出
</div>
<div
class=
"list-item__top-title-label"
>
{{
props
.
userInfo
.
nickName
}}
提交的
当日
外出
</div>
</div>
</div>
<div
class=
"list-item__top-time"
>
{{
parseTime
(
props
.
item
.
createTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/div
>
<div
class=
"list-item__top-time"
>
{{
parseTime
(
props
.
item
.
createTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"list-item__date"
>
外出日期:
{{
props
.
item
.
outsideDate
}}
<
/div
>
<
div
class
=
"list-item__date"
>
当日
外出日期:
{{
props
.
item
.
outsideDate
}}
<
/div
>
<
div
class
=
"list-item__date"
>
预计外出开始时间:
{{
props
.
item
.
expectBeginTime
.
split
(
' '
)[
1
]
}}
<
/div
>
<
div
class
=
"list-item__date"
>
预计
当日
外出开始时间:
{{
props
.
item
.
expectBeginTime
.
split
(
' '
)[
1
]
}}
<
/div
>
<
div
class
=
"list-item__date"
>
预计外出结束时间:
{{
props
.
item
.
expectEndTime
.
split
(
' '
)[
1
]
}}
<
/div
>
<
div
class
=
"list-item__date"
>
预计
当日
外出结束时间:
{{
props
.
item
.
expectEndTime
.
split
(
' '
)[
1
]
}}
<
/div
>
<
div
class
=
"list-item__date"
>
实际外出开始时间:
{{
props
.
item
.
actualBeginTime
?.
split
(
' '
)[
1
]
??
'-'
}}
<
/div
>
<
div
class
=
"list-item__date"
>
实际
当日
外出开始时间:
{{
props
.
item
.
actualBeginTime
?.
split
(
' '
)[
1
]
??
'-'
}}
<
/div
>
<
div
class
=
"list-item__date"
>
实际外出结束时间:
{{
props
.
item
.
actualEndTime
?.
split
(
' '
)[
1
]
??
'-'
}}
<
/div
>
<
div
class
=
"list-item__date"
>
实际
当日
外出结束时间:
{{
props
.
item
.
actualEndTime
?.
split
(
' '
)[
1
]
??
'-'
}}
<
/div
>
<
div
class
=
"list-item__detail"
>
<
div
class
=
"list-item__detail"
>
<
div
>
请假事由:
<
/div
>
<
div
>
请假事由:
<
/div
>
<
div
class
=
"list-item__detail-content"
>
{{
props
.
item
.
reason
}}
<
/div
>
<
div
class
=
"list-item__detail-content"
>
{{
props
.
item
.
reason
}}
<
/div
>
...
...
approve/modules/carUse/apply/list.vue
View file @
95a3248a
...
@@ -54,7 +54,7 @@ function onClickAdd() {
...
@@ -54,7 +54,7 @@ function onClickAdd() {
}
}
// 外出撤办
//
当日
外出撤办
function
onRevoke
(
item
)
{
function
onRevoke
(
item
)
{
showConfirmDialog
({
showConfirmDialog
({
title
:
'撤办'
,
title
:
'撤办'
,
...
...
attendance/cardSign/index.vue
View file @
95a3248a
...
@@ -43,7 +43,7 @@ function onClickItem(item) {
...
@@ -43,7 +43,7 @@ function onClickItem(item) {
})
})
}
}
// 外出撤办
//
当日
外出撤办
function
onRevoke
(
item
)
{
function
onRevoke
(
item
)
{
console
.
log
(
item
)
console
.
log
(
item
)
uni
.
showModal
({
uni
.
showModal
({
...
...
attendance/clockinCalendar/index.vue
View file @
95a3248a
...
@@ -181,7 +181,7 @@ onMounted(async () => {
...
@@ -181,7 +181,7 @@ onMounted(async () => {
<
div
class
=
"tipeLi"
>
<
div
class
=
"tipeLi"
>
<
div
class
=
"topTime"
>
<
div
class
=
"topTime"
>
<
div
class
=
"icon icon5"
/>
<
div
class
=
"icon icon5"
/>
<
span
>
当天提交过:外出
/
出差
<
/span
>
<
span
>
当天提交过:
当日
外出
/
出差
<
/span
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"tipeLi"
>
<
div
class
=
"tipeLi"
>
...
...
attendance/outside/add.vue
View file @
95a3248a
...
@@ -86,16 +86,16 @@ onLoad((option) => {
...
@@ -86,16 +86,16 @@ onLoad((option) => {
// 表单验证规则
// 表单验证规则
const
rules
=
reactive
({
const
rules
=
reactive
({
location
:
[
location
:
[
{
required
:
true
,
message
:
'请输入外出地点'
}
{
required
:
true
,
message
:
'请输入
当日
外出地点'
}
],
],
outsideDate
:
[
outsideDate
:
[
{
required
:
true
,
message
:
'请选择外出日期'
}
{
required
:
true
,
message
:
'请选择
当日
外出日期'
}
],
],
expectBeginTime
:
[
expectBeginTime
:
[
{
required
:
true
,
message
:
'请选择外出开始时间'
}
{
required
:
true
,
message
:
'请选择
当日
外出开始时间'
}
],
],
expectEndTime
:
[
expectEndTime
:
[
{
required
:
true
,
message
:
'请选择外出结束时间'
}
{
required
:
true
,
message
:
'请选择
当日
外出结束时间'
}
],
],
reason
:
[
reason
:
[
{
required
:
true
,
message
:
'请输入事由'
}
{
required
:
true
,
message
:
'请输入事由'
}
...
@@ -105,7 +105,7 @@ const rules = reactive({
...
@@ -105,7 +105,7 @@ const rules = reactive({
]
]
})
})
// 选择外出日期 - 确认
// 选择
当日
外出日期 - 确认
function
onConfirmOutside
(
e
)
{
function
onConfirmOutside
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
...
@@ -231,11 +231,11 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -231,11 +231,11 @@ const onConfirmExpectEndTimeRef = (e) =>{
<div
class=
"container__body"
>
<div
class=
"container__body"
>
<div
class=
"container__card flex form-card-container"
>
<div
class=
"container__card flex form-card-container"
>
<uv-form
ref=
"formRef"
labelWidth=
"140"
label-position=
"top"
:rules=
"rules"
:model=
"form"
>
<uv-form
ref=
"formRef"
labelWidth=
"140"
label-position=
"top"
:rules=
"rules"
:model=
"form"
>
<!-- 外出地点 -->
<!--
当日
外出地点 -->
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出地点"
prop=
"location"
required
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出地点"
prop=
"location"
required
>
<uv-textarea
<uv-textarea
v-model=
"form.location"
v-model=
"form.location"
placeholder=
"请输入外出地点"
placeholder=
"请输入
当日
外出地点"
maxlength=
"300"
maxlength=
"300"
count
count
:rules=
"rules.location"
:rules=
"rules.location"
...
@@ -243,13 +243,13 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -243,13 +243,13 @@ const onConfirmExpectEndTimeRef = (e) =>{
/>
/>
</uv-form-item>
</uv-form-item>
<!-- 外出日期 -->
<!--
当日
外出日期 -->
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出日期"
prop=
"outsideDate"
required
@
click=
"openOutsideDatePicker"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出日期"
prop=
"outsideDate"
required
@
click=
"openOutsideDatePicker"
>
<uv-input
<uv-input
v-model=
"form.outsideDate"
v-model=
"form.outsideDate"
disabled
disabled
disabledColor=
"#fff"
disabledColor=
"#fff"
placeholder=
"点击选择外出日期"
placeholder=
"点击选择
当日
外出日期"
border=
"none"
border=
"none"
/>
/>
<template
v-slot:right
>
<template
v-slot:right
>
...
@@ -279,12 +279,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -279,12 +279,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
<!-- 时间范围选择 -->
<!-- 时间范围选择 -->
<
template
v-if=
"form.offNeedCheck === '1'"
>
<
template
v-if=
"form.offNeedCheck === '1'"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出开始时间"
prop=
"expectBeginTime"
required
@
click=
"openExpectBeginTimeRef"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出开始时间"
prop=
"expectBeginTime"
required
@
click=
"openExpectBeginTimeRef"
>
<uv-input
<uv-input
v-model=
"form.expectBeginTime"
v-model=
"form.expectBeginTime"
disabled
disabled
disabledColor=
"#fff"
disabledColor=
"#fff"
placeholder=
"点击选择外出开始时间"
placeholder=
"点击选择
当日
外出开始时间"
border=
"none"
border=
"none"
/>
/>
<template
v-slot:right
>
<template
v-slot:right
>
...
@@ -299,12 +299,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -299,12 +299,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
@
confirm=
"onConfirmExpectBeginTimeRef"
@
confirm=
"onConfirmExpectBeginTimeRef"
/>
/>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出结束时间"
prop=
"expectEndTime"
required
@
click=
"openExpectEndTimeRef"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出结束时间"
prop=
"expectEndTime"
required
@
click=
"openExpectEndTimeRef"
>
<uv-input
<uv-input
v-model=
"form.expectEndTime"
v-model=
"form.expectEndTime"
disabled
disabled
disabledColor=
"#fff"
disabledColor=
"#fff"
placeholder=
"点击选择外出结束时间"
placeholder=
"点击选择
当日
外出结束时间"
border=
"none"
border=
"none"
/>
/>
<
template
v-slot:right
>
<
template
v-slot:right
>
...
@@ -326,12 +326,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
...
@@ -326,12 +326,12 @@ const onConfirmExpectEndTimeRef = (e) =>{
<!-- 仅开始时间选择 -->
<!-- 仅开始时间选择 -->
<
template
v-else
>
<
template
v-else
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"外出开始时间"
prop=
"expectBeginTime"
required
@
click=
"openExpectBeginTimeRef"
>
<uv-form-item
borderBottom
customStyle=
"padding: 20rpx 32rpx;"
label=
"
当日
外出开始时间"
prop=
"expectBeginTime"
required
@
click=
"openExpectBeginTimeRef"
>
<uv-input
<uv-input
v-model=
"form.expectBeginTime"
v-model=
"form.expectBeginTime"
disabled
disabled
disabledColor=
"#fff"
disabledColor=
"#fff"
placeholder=
"点击选择外出开始时间"
placeholder=
"点击选择
当日
外出开始时间"
border=
"none"
border=
"none"
/>
/>
<template
v-slot:right
>
<template
v-slot:right
>
...
...
attendance/outside/list.vue
View file @
95a3248a
...
@@ -49,7 +49,7 @@ function onClickAdd() {
...
@@ -49,7 +49,7 @@ function onClickAdd() {
uni
.
navigateTo
({
url
:
'/attendance/outside/add'
})
uni
.
navigateTo
({
url
:
'/attendance/outside/add'
})
}
}
// 外出撤办
//
当日
外出撤办
function
onRevoke
(
item
)
{
function
onRevoke
(
item
)
{
uni
.
showModal
({
uni
.
showModal
({
...
...
attendance/outside/modules/DetailFlow.vue
View file @
95a3248a
...
@@ -41,13 +41,13 @@ function onPreview(index) {
...
@@ -41,13 +41,13 @@ function onPreview(index) {
<
template
>
<
template
>
<div>
<div>
<van-cell-group>
<van-cell-group>
<van-cell
title=
"外出地点"
:value=
"detail.location"
/>
<van-cell
title=
"
当日
外出地点"
:value=
"detail.location"
/>
<van-cell
title=
"外出日期"
:value=
"detail.outsideDate"
/>
<van-cell
title=
"
当日
外出日期"
:value=
"detail.outsideDate"
/>
<van-cell
title=
"预计外出开始时间"
:value=
"detail.expectBeginTime"
/>
<van-cell
title=
"预计
当日
外出开始时间"
:value=
"detail.expectBeginTime"
/>
<van-cell
title=
"预计外出结束时间"
:value=
"detail.expectEndTime"
/>
<van-cell
title=
"预计
当日
外出结束时间"
:value=
"detail.expectEndTime"
/>
<van-cell
title=
"实际外出开始时间"
:value=
"detail.actualBeginTime ?? '-'"
/>
<van-cell
title=
"实际
当日
外出开始时间"
:value=
"detail.actualBeginTime ?? '-'"
/>
<van-cell
title=
"实际外出结束时间"
:value=
"detail.actualEndTime ?? '-'"
/>
<van-cell
title=
"实际
当日
外出结束时间"
:value=
"detail.actualEndTime ?? '-'"
/>
<van-cell
title=
"外出事由"
:value=
"detail.reason"
/>
<van-cell
title=
"
当日
外出事由"
:value=
"detail.reason"
/>
<van-grid
<van-grid
v-if=
"detail.fileList?.length"
v-if=
"detail.fileList?.length"
:border=
"false"
:border=
"false"
...
...
attendance/outside/modules/OutsideListItem.vue
View file @
95a3248a
...
@@ -23,15 +23,15 @@ function onRevoke() {
...
@@ -23,15 +23,15 @@ function onRevoke() {
<div
class=
"list-item__top"
>
<div
class=
"list-item__top"
>
<div
class=
"list-item__top-title"
>
<div
class=
"list-item__top-title"
>
<div
class=
"list-item__top-title-firstword"
>
{{
props
.
userInfo
.
nickName
.
substr
(
0
,
1
)
}}
</div>
<div
class=
"list-item__top-title-firstword"
>
{{
props
.
userInfo
.
nickName
.
substr
(
0
,
1
)
}}
</div>
<div
class=
"list-item__top-title-label"
>
{{
props
.
userInfo
.
nickName
}}
提交的外出
</div>
<div
class=
"list-item__top-title-label"
>
{{
props
.
userInfo
.
nickName
}}
提交的
当日
外出
</div>
</div>
</div>
<div
class=
"list-item__top-time"
>
{{
parseTime
(
props
.
item
.
createTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/div
>
<div
class=
"list-item__top-time"
>
{{
parseTime
(
props
.
item
.
createTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"list-item__date"
>
外出日期:
{{
props
.
item
.
outsideDate
}}
<
/div
>
<
div
class
=
"list-item__date"
>
当日
外出日期:
{{
props
.
item
.
outsideDate
}}
<
/div
>
<
div
class
=
"list-item__date"
>
预计外出开始时间:
{{
props
.
item
.
expectBeginTime
.
split
(
' '
)[
1
]
}}
<
/div
>
<
div
class
=
"list-item__date"
>
预计
当日
外出开始时间:
{{
props
.
item
.
expectBeginTime
.
split
(
' '
)[
1
]
}}
<
/div
>
<
div
class
=
"list-item__date"
>
预计外出结束时间:
{{
props
.
item
.
expectEndTime
.
split
(
' '
)[
1
]
}}
<
/div
>
<
div
class
=
"list-item__date"
>
预计
当日
外出结束时间:
{{
props
.
item
.
expectEndTime
.
split
(
' '
)[
1
]
}}
<
/div
>
<
div
class
=
"list-item__date"
>
实际外出开始时间:
{{
props
.
item
.
actualBeginTime
?.
split
(
' '
)[
1
]
??
'-'
}}
<
/div
>
<
div
class
=
"list-item__date"
>
实际
当日
外出开始时间:
{{
props
.
item
.
actualBeginTime
?.
split
(
' '
)[
1
]
??
'-'
}}
<
/div
>
<
div
class
=
"list-item__date"
>
实际外出结束时间:
{{
props
.
item
.
actualEndTime
?.
split
(
' '
)[
1
]
??
'-'
}}
<
/div
>
<
div
class
=
"list-item__date"
>
实际
当日
外出结束时间:
{{
props
.
item
.
actualEndTime
?.
split
(
' '
)[
1
]
??
'-'
}}
<
/div
>
<
div
class
=
"list-item__detail"
>
<
div
class
=
"list-item__detail"
>
<
div
>
请假事由:
<
/div
>
<
div
>
请假事由:
<
/div
>
<
div
class
=
"list-item__detail-content"
>
{{
props
.
item
.
reason
}}
<
/div
>
<
div
class
=
"list-item__detail-content"
>
{{
props
.
item
.
reason
}}
<
/div
>
...
...
carUse/apply/list.vue
View file @
95a3248a
...
@@ -45,7 +45,7 @@ function onClickAdd() {
...
@@ -45,7 +45,7 @@ function onClickAdd() {
}
}
// 外出撤办
//
当日
外出撤办
function
onRevoke
(
item
)
{
function
onRevoke
(
item
)
{
showConfirmDialog
({
showConfirmDialog
({
title
:
'撤办'
,
title
:
'撤办'
,
...
...
pages.json
View file @
95a3248a
...
@@ -190,7 +190,7 @@
...
@@ -190,7 +190,7 @@
},{
},{
"path"
:
"outside/list"
,
"path"
:
"outside/list"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"外出申请记录"
,
"navigationBarTitleText"
:
"
当日
外出申请记录"
,
"componentPlaceholder"
:
{
"componentPlaceholder"
:
{
"custom-button"
:
"view"
"custom-button"
:
"view"
}
}
...
@@ -198,7 +198,7 @@
...
@@ -198,7 +198,7 @@
},{
},{
"path"
:
"outside/add"
,
"path"
:
"outside/add"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"外出申请"
,
"navigationBarTitleText"
:
"
当日
外出申请"
,
"componentPlaceholder"
:
{
"componentPlaceholder"
:
{
"custom-button"
:
"view"
"custom-button"
:
"view"
}
}
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
},{
},{
"path"
:
"outside/detail"
,
"path"
:
"outside/detail"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"外出详情"
,
"navigationBarTitleText"
:
"
当日
外出详情"
,
"componentPlaceholder"
:
{
"componentPlaceholder"
:
{
"custom-button"
:
"view"
"custom-button"
:
"view"
}
}
...
...
pages/approve/index.vue
View file @
95a3248a
...
@@ -41,7 +41,7 @@ const processCode = {
...
@@ -41,7 +41,7 @@ const processCode = {
'yichangjiaban'
:
'abnormalOvertime'
,
// 考勤-异常加班申请
'yichangjiaban'
:
'abnormalOvertime'
,
// 考勤-异常加班申请
'jititiaoxiu'
:
'dayOff'
,
// 考勤-集体调休
'jititiaoxiu'
:
'dayOff'
,
// 考勤-集体调休
'qianka'
:
'cardSign'
,
// 考勤-签卡
'qianka'
:
'cardSign'
,
// 考勤-签卡
'waichushenqing'
:
'outside'
,
// 考勤-外出申请
'waichushenqing'
:
'outside'
,
// 考勤-
当日
外出申请
'zhaopinxuqiu'
:
'recruitmentNeeds'
,
// 人事-招聘需求申请
'zhaopinxuqiu'
:
'recruitmentNeeds'
,
// 人事-招聘需求申请
'niruzhi'
:
'employmentApplication'
,
// 人事-拟入职申请
'niruzhi'
:
'employmentApplication'
,
// 人事-拟入职申请
'ruzhishenqing'
:
''
,
// 人事-入职申请
'ruzhishenqing'
:
''
,
// 人事-入职申请
...
@@ -87,7 +87,7 @@ const processCode = {
...
@@ -87,7 +87,7 @@ const processCode = {
// 'ATT_REGISTER_CARD': 'cardSign', // 考勤-签卡
// 'ATT_REGISTER_CARD': 'cardSign', // 考勤-签卡
// 'ATT_REGISTER_CARD_FACTORY': 'cardSign',
// 'ATT_REGISTER_CARD_FACTORY': 'cardSign',
// 'ATT_REGISTER_CARD_MARKETING': 'cardSign',
// 'ATT_REGISTER_CARD_MARKETING': 'cardSign',
// 'ATT_OUTSIDE_APPLY': 'outside' // 考勤-外出申请
// 'ATT_OUTSIDE_APPLY': 'outside' // 考勤-
当日
外出申请
}
}
provide
(
'process_group'
,
process_group
)
provide
(
'process_group'
,
process_group
)
...
...
pages/stage/index.vue
View file @
95a3248a
...
@@ -107,7 +107,7 @@ const partList = ref([
...
@@ -107,7 +107,7 @@ const partList = ref([
// hide: userInfo.value.companyId !== '18'
// hide: userInfo.value.companyId !== '18'
},
},
{
{
name
:
'外出申请'
,
name
:
'
当日
外出申请'
,
type
:
'waichushenqing'
,
type
:
'waichushenqing'
,
url
:
lizhishenqing
url
:
lizhishenqing
}
}
...
@@ -315,7 +315,7 @@ function handleNavPageXitem(val:any) {
...
@@ -315,7 +315,7 @@ function handleNavPageXitem(val:any) {
url
:
'/attendance/overTimeForLeave/list'
url
:
'/attendance/overTimeForLeave/list'
})
})
break
break
case
'waichushenqing'
:
// 外出申请
case
'waichushenqing'
:
//
当日
外出申请
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/attendance/outside/list'
url
:
'/attendance/outside/list'
})
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论