main
panliang 2024-05-03 18:04:16 +08:00
parent 1ef1ba811f
commit bf426c89ca
3 changed files with 13 additions and 2 deletions

View File

@ -10,7 +10,12 @@ export default {
dataIndex: 'check_status',
format: (value) => statusFun(value, 'statusExpense2', 'name')
},
{
title: '拒绝原因',
dataIndex: 'remarks',
labelPosition: 'top',
isShow: (row) => row?.check_status == 4
},
{ title: '申请人', dataIndex: 'check.employee.name'},
{

View File

@ -27,6 +27,12 @@ const baseColums = [
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: '申请人',
dataIndex: 'taskable.store_master.name',

View File

@ -27,7 +27,7 @@
:key="item.id"
:title="item.name"
:status-text="item.taskable.status_text"
:status-color="statusFun(item.taskable.status, 'statusExpense' ,'color')"
:status-color="statusFun(item.taskable.status, 'task_hygienes' ,'color')"
:body="[
{label: '任务时间: ', value: item.start_format + '-' + item.end_format}
]"