[流程设计]解析字段列表名称列被字段挤压问题

zzq
Zhufu 2024-06-18 14:55:37 +08:00
parent 2c8af2da8c
commit 969774015c
2 changed files with 19 additions and 2 deletions

View File

@ -238,22 +238,27 @@
{
title: '名称',
dataIndex: 'label',
width: 100,
},
{
title: '字段',
dataIndex: 'fieldName',
ellipsis: true,
},
{
title: '必填',
dataIndex: 'required',
width: 85,
},
{
title: '编辑',
dataIndex: 'disabled',
width: 85,
},
{
title: '查看',
dataIndex: 'ifShow',
width: 85,
},
],
formRelations: [],
@ -480,6 +485,9 @@
}
}
}
:deep(.ant-checkbox+span){
padding-inline-end: 0px;
}
.l-rblock {
width: 100%;
height: 100%;

View File

@ -259,9 +259,9 @@
</template>
<template #bodyCell="{ column, text, record }">
<template v-if="['label', 'fieldName'].includes(column.dataIndex)">
<div>
<!-- <div> -->
{{ text }}
</div>
<!-- </div> -->
</template>
<template v-else-if="['required', 'disabled', 'ifShow'].includes(column.dataIndex)">
<div>
@ -628,22 +628,27 @@
{
title: '名称',
dataIndex: 'label',
width: 100,
},
{
title: '字段',
dataIndex: 'fieldName',
ellipsis: true,
},
{
title: '必填',
dataIndex: 'required',
width: 85,
},
{
title: '编辑',
dataIndex: 'disabled',
width: 85,
},
{
title: '查看',
dataIndex: 'ifShow',
width: 85,
},
],
isLooker: false,
@ -1024,6 +1029,10 @@
padding: 0 !important;
}
:deep(.ant-checkbox+span){
padding-inline-end: 0px;
}
::v-deep .ant-space {
width: 90%;
margin-left: 5%;