项目类型调整
This commit is contained in:
parent
c7db9784a2
commit
9ff9d1b1ee
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue