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