status
parent
1ef1ba811f
commit
bf426c89ca
|
|
@ -10,7 +10,12 @@ export default {
|
||||||
dataIndex: 'check_status',
|
dataIndex: 'check_status',
|
||||||
format: (value) => statusFun(value, 'statusExpense2', 'name')
|
format: (value) => statusFun(value, 'statusExpense2', 'name')
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '拒绝原因',
|
||||||
|
dataIndex: 'remarks',
|
||||||
|
labelPosition: 'top',
|
||||||
|
isShow: (row) => row?.check_status == 4
|
||||||
|
},
|
||||||
|
|
||||||
{ title: '申请人', dataIndex: 'check.employee.name'},
|
{ title: '申请人', dataIndex: 'check.employee.name'},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,12 @@ const baseColums = [
|
||||||
return statusFun(value, 'task_hygienes', 'name')
|
return statusFun(value, 'task_hygienes', 'name')
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '拒绝原因',
|
||||||
|
dataIndex: 'taskable.workflow_check.check_remarks',
|
||||||
|
labelPosition: 'top',
|
||||||
|
isShow: (row) => row?.taskable?.workflow_check.check_status == 4
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '申请人',
|
title: '申请人',
|
||||||
dataIndex: 'taskable.store_master.name',
|
dataIndex: 'taskable.store_master.name',
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
:title="item.name"
|
:title="item.name"
|
||||||
:status-text="item.taskable.status_text"
|
:status-text="item.taskable.status_text"
|
||||||
:status-color="statusFun(item.taskable.status, 'statusExpense' ,'color')"
|
:status-color="statusFun(item.taskable.status, 'task_hygienes' ,'color')"
|
||||||
:body="[
|
:body="[
|
||||||
{label: '任务时间: ', value: item.start_format + '-' + item.end_format}
|
{label: '任务时间: ', value: item.start_format + '-' + item.end_format}
|
||||||
]"
|
]"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue