status
parent
0e940ee6df
commit
9fde658aa0
|
|
@ -29,9 +29,9 @@
|
|||
:status-text="statusFun(item.workflow_check.check_status, 'statusExpense', 'name')"
|
||||
:status-color="statusFun(item.workflow_check.check_status, 'statusExpense', 'color')"
|
||||
:body="[
|
||||
{ label:'请假类型', value: item.type.name },
|
||||
{ label:'请假事由', value: item.reason },
|
||||
{ label:'申请时间', value: item.created_format },
|
||||
{ label:'请假类型: ', value: item.type.name },
|
||||
{ label:'请假事由: ', value: item.reason },
|
||||
{ label:'申请时间: ', value: item.created_format },
|
||||
]"
|
||||
@click.stop="applyDetail(item)"
|
||||
/>
|
||||
|
|
@ -54,10 +54,10 @@
|
|||
:status-text="statusFun( item.check_status,'statusExpense2','name')"
|
||||
:status-color="statusFun( item.check_status,'statusExpense2','color')"
|
||||
:body="[
|
||||
{ label:'申请人', value: item.check.subject.employee.name },
|
||||
{ label:'请假类型', value: item.check.subject.type.name },
|
||||
{ label:'请假事由', value: item.check.subject.reason },
|
||||
{ label:'申请时间', value: item.check.subject.created_format },
|
||||
{ label:'申请人: ', value: item.check.subject.employee.name },
|
||||
{ label:'请假类型: ', value: item.check.subject.type.name },
|
||||
{ label:'请假事由: ', value: item.check.subject.reason },
|
||||
{ label:'申请时间: ', value: item.check.subject.created_format },
|
||||
]"
|
||||
@click.stop="checkDetail(item)"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ const columns = [
|
|||
{ title: '申请人', dataIndex: 'employee.name' },
|
||||
{ title: '所属门店', dataIndex: 'store.title' },
|
||||
{ title: '电话号码', dataIndex: 'employee.phone' },
|
||||
{ title: '目的地', dataIndex: 'address' },
|
||||
{ title: '申请时间', dataIndex: 'created_format' },
|
||||
{ title: '目的地', dataIndex: 'address' },
|
||||
{ title: '开始时间', dataIndex: 'start_format' },
|
||||
{ title: '结束时间', dataIndex: 'end_format' },
|
||||
{ title: '出差原因', dataIndex: 'reason', labelPosition: 'top' },
|
||||
|
|
|
|||
|
|
@ -1,12 +1,8 @@
|
|||
<template>
|
||||
<view>
|
||||
<CuNavbar title="出差申请">
|
||||
<CuNavbar title="出差报备">
|
||||
<template #right>
|
||||
<view
|
||||
@click="goPath('/pages/business/create')"
|
||||
class="text-24rpx text-white"
|
||||
>申请</view
|
||||
>
|
||||
<view @click="goPath('/pages/business/create')" class="text-24rpx text-white">申请</view>
|
||||
</template>
|
||||
</CuNavbar>
|
||||
<uv-sticky bgColor="#fff">
|
||||
|
|
@ -82,7 +78,7 @@ import ListItem from '@/components/list-item'
|
|||
|
||||
const tabList = ref([
|
||||
{
|
||||
name: '出差申请',
|
||||
name: '我的出差',
|
||||
apiUrl: '/hr/offical-bussiness',
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
<uv-line color="#f5f5f5"></uv-line>
|
||||
<uv-form-item
|
||||
required
|
||||
label="请输入加班事由"
|
||||
label="加班事由"
|
||||
prop="reason"
|
||||
labelPosition="top"
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue