#
vincentlu
4 天以前 9ecb8139c760c3b9db562982efc488cceead58eb
#
3个文件已修改
22 ■■■■■ 已修改文件
zy-acs-flow/src/i18n/en.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/i18n/zh.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/lane/LaneList.jsx 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/i18n/en.js
@@ -44,6 +44,7 @@
            statusFalse: 'Disable',
            true: 'Yes',
            false: 'No',
            na: 'N/A',
        },
        time: {
            after: 'Time After',
zy-acs-flow/src/i18n/zh.js
@@ -44,6 +44,7 @@
            statusFalse: '禁用',
            true: '是',
            false: '否',
            na: 'N/A',
        },
        time: {
            after: '开始时间',
zy-acs-flow/src/page/lane/LaneList.jsx
@@ -142,8 +142,24 @@
                    {/* <TextField source="name" label="table.field.lane.name" /> */}
                    <TextField source="hashCode" label="table.field.lane.hashCode" sortable={false} />
                    <TextField source="codes" label="table.field.lane.codes" sortable={false} />
                    <NumberField source="entryAngle" label="table.field.lane.entryAngle" sortable={false} />
                    <NumberField source="maximum" label="table.field.lane.maximum" />
                    <FunctionField
                        source="entryAngle"
                        label="table.field.lane.entryAngle"
                        sortable={false}
                        render={(record) => {
                            const value = record?.entryAngle;
                            return typeof value === 'number' && value >= 0 ? value : translate('common.enums.na');
                        }}
                    />
                    <FunctionField
                        source="maximum"
                        label="table.field.lane.maximum"
                        sortable={false}
                        render={(record) => {
                            const value = record?.maximum;
                            return typeof value === 'number' && value >= 0 ? value : translate('common.enums.na');
                        }}
                    />
                    {/* <DateField source="updateTime" label="common.field.updateTime" showTime /> */}
                    <DateField source="createTime" label="common.field.createTime" showTime />