skyouc
2025-04-09 7cf530b0b63c8a06777f3915b08d742e46e2a5fc
rsf-admin/src/page/fields/FieldsList.jsx
@@ -60,21 +60,19 @@
const filters = [
    <SearchInput source="condition" alwaysOn />,
    <DateInput label='common.time.after' source="timeStart" alwaysOn />,
    <DateInput label='common.time.before' source="timeEnd" alwaysOn />,
    <TextInput source="fields" label="table.field.fields.fields" />,
    <TextInput source="fieldsAlise" label="table.field.fields.fieldsAlise" />,
    <SelectInput source="unique" label="table.field.fields.unique"
        choices={[
            { id: 0, name: ' 非唯一' },
            { id:   1, name: '  唯一' },
            { id: 0, name: ' 非必填' },
            { id: 1, name: '  必填' },
        ]}
    />,
    <SelectInput source="flagEnable" label="table.field.fields.flagEnable"
        choices={[
            { id: 0, name: ' 不启用' },
            { id:  1, name: ' 启用' },
            { id: 1, name: ' 启用' },
        ]}
    />,
@@ -105,7 +103,7 @@
                        theme.transitions.create(['all'], {
                            duration: theme.transitions.duration.enteringScreen,
                        }),
                    marginRight: !!drawerVal ? `${PAGE_DRAWER_WIDTH}px` : 0,
                    marginRight: drawerVal ? `${PAGE_DRAWER_WIDTH}px` : 0,
                }}
                title={"menu.fields"}
                empty={<EmptyData onClick={() => { setCreateDialog(true) }} />}
@@ -125,8 +123,6 @@
                    preferenceKey='fields'
                    bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
                    rowClick={(id, resource, record) => false}
                    expand={() => <FieldsPanel />}
                    expandSingle={true}
                    omit={['id', 'createTime', 'createBy', 'memo']}
                >
                    <NumberField source="id" />