项目类型调整

This commit is contained in:
Yjhon 2022-02-14 16:53:18 +08:00
parent c7db9784a2
commit 9ff9d1b1ee
1 changed files with 10 additions and 1 deletions

View File

@ -92,7 +92,16 @@ export default {
}, },
}, },
{ title: '人数', key: 'personNum', dataIndex: 'personNum', customRender: (text) => text + '人' }, { title: '人数', key: 'personNum', dataIndex: 'personNum', customRender: (text) => text + '人' },
{ title: '项目类型', dataIndex: 'projectType', key: 'projectType' }, { title: '项目类型', dataIndex: 'projectType', key: 'projectType',customRender: (text, record, index) => {
//
if (text == 1) {
return '必修课'
}
if (text == 2) {
return '选修课'
}
},
},
{ {
title: '项目状态', title: '项目状态',
dataIndex: 'status', dataIndex: 'status',