fix(工作台): 修复工作台首页评审列表增加创建时间字段和排序

This commit is contained in:
xinxin.wu 2024-11-18 14:02:20 +08:00 committed by Craftsman
parent 552682bd44
commit d167dd2ba9
2 changed files with 12 additions and 1 deletions

View File

@ -153,7 +153,6 @@
} }
function changeProject() { function changeProject() {
emit('change');
nextTick(() => { nextTick(() => {
initCaseCount(); initCaseCount();
emit('change'); emit('change');

View File

@ -166,6 +166,18 @@
dataIndex: 'createUser', dataIndex: 'createUser',
width: 200, width: 200,
}, },
{
title: 'common.createTime',
slotName: 'createTime',
dataIndex: 'createTime',
showTooltip: true,
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,
},
width: 200,
showDrag: true,
},
]; ];
const { propsRes, propsEvent, loadList, setLoadListParams } = useTable(workReviewList, { const { propsRes, propsEvent, loadList, setLoadListParams } = useTable(workReviewList, {