fix(infra): 分页查询列表隐藏非必要字段
This commit is contained in:
@@ -147,35 +147,35 @@ const { columns, columnChecks, data, loading, getData, getDataByPage, mobilePagi
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
formatter: row => <ElTag type={getBooleanTagType(row.allowEdit)}>{getBooleanLabel(row.allowEdit)}</ElTag>
|
formatter: row => <ElTag type={getBooleanTagType(row.allowEdit)}>{getBooleanLabel(row.allowEdit)}</ElTag>
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
prop: 'progressExcludedFlag',
|
// prop: 'progressExcludedFlag',
|
||||||
label: '不参与上层进度统计',
|
// label: '不参与上层进度统计',
|
||||||
width: 160,
|
// width: 160,
|
||||||
align: 'center',
|
// align: 'center',
|
||||||
formatter: row => (
|
// formatter: row => (
|
||||||
<ElTag type={getBooleanTagType(row.progressExcludedFlag)}>{getBooleanLabel(row.progressExcludedFlag)}</ElTag>
|
// <ElTag type={getBooleanTagType(row.progressExcludedFlag)}>{getBooleanLabel(row.progressExcludedFlag)}</ElTag>
|
||||||
)
|
// )
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
prop: 'allowCreateProject',
|
// prop: 'allowCreateProject',
|
||||||
label: '允许新建项目',
|
// label: '允许新建项目',
|
||||||
width: 130,
|
// width: 130,
|
||||||
align: 'center',
|
// align: 'center',
|
||||||
formatter: row => (
|
// formatter: row => (
|
||||||
<ElTag type={getBooleanTagType(row.allowCreateProject)}>{getBooleanLabel(row.allowCreateProject)}</ElTag>
|
// <ElTag type={getBooleanTagType(row.allowCreateProject)}>{getBooleanLabel(row.allowCreateProject)}</ElTag>
|
||||||
)
|
// )
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
prop: 'allowCreateRequirement',
|
// prop: 'allowCreateRequirement',
|
||||||
label: '允许新增需求',
|
// label: '允许新增需求',
|
||||||
width: 130,
|
// width: 130,
|
||||||
align: 'center',
|
// align: 'center',
|
||||||
formatter: row => (
|
// formatter: row => (
|
||||||
<ElTag type={getBooleanTagType(row.allowCreateRequirement)}>
|
// <ElTag type={getBooleanTagType(row.allowCreateRequirement)}>
|
||||||
{getBooleanLabel(row.allowCreateRequirement)}
|
// {getBooleanLabel(row.allowCreateRequirement)}
|
||||||
</ElTag>
|
// </ElTag>
|
||||||
)
|
// )
|
||||||
},
|
// },
|
||||||
{ prop: 'sort', label: '排序', width: 90, align: 'center' },
|
{ prop: 'sort', label: '排序', width: 90, align: 'center' },
|
||||||
{
|
{
|
||||||
prop: 'remark',
|
prop: 'remark',
|
||||||
|
|||||||
Reference in New Issue
Block a user