提交 43109a0c 作者: 翁进城

去除目录类型,上级目录字段

上级 2b469bbd
...@@ -123,7 +123,7 @@ const AddOrEditDec: React.FC<PropsType & selfPropsType> = ({ ...@@ -123,7 +123,7 @@ const AddOrEditDec: React.FC<PropsType & selfPropsType> = ({
<Form.Item label='分类模块' name='type' rules={[{ required: true }]}> <Form.Item label='分类模块' name='type' rules={[{ required: true }]}>
<Select options={typeOptions} allowClear={true} onChange={onChangeType}></Select> <Select options={typeOptions} allowClear={true} onChange={onChangeType}></Select>
</Form.Item> </Form.Item>
<Form.Item label='目录类型'> {/* <Form.Item label='目录类型'>
<Radio.Group onChange={(e: RadioChangeEvent) => setHasPid(e.target.value)} value={hasPid}> <Radio.Group onChange={(e: RadioChangeEvent) => setHasPid(e.target.value)} value={hasPid}>
<Radio value={false}>无关联目录</Radio> <Radio value={false}>无关联目录</Radio>
<Radio value={true}>有关联目录</Radio> <Radio value={true}>有关联目录</Radio>
...@@ -137,7 +137,7 @@ const AddOrEditDec: React.FC<PropsType & selfPropsType> = ({ ...@@ -137,7 +137,7 @@ const AddOrEditDec: React.FC<PropsType & selfPropsType> = ({
allowClear={true} allowClear={true}
></Select> ></Select>
</Form.Item> </Form.Item>
)} )} */}
<Form.Item label='目录名称' name='directoryName' rules={[{ required: true }]}> <Form.Item label='目录名称' name='directoryName' rules={[{ required: true }]}>
<Input placeholder='请输入目录名称' allowClear={true}></Input> <Input placeholder='请输入目录名称' allowClear={true}></Input>
......
...@@ -71,7 +71,7 @@ const DirectoryManage: FC = (props: any) => { ...@@ -71,7 +71,7 @@ const DirectoryManage: FC = (props: any) => {
}); });
return <div>{find?.label}</div>; return <div>{find?.label}</div>;
}, },
}, } /*
{ {
title: '目录类型', title: '目录类型',
dataIndex: 'directoryType', dataIndex: 'directoryType',
...@@ -83,7 +83,7 @@ const DirectoryManage: FC = (props: any) => { ...@@ -83,7 +83,7 @@ const DirectoryManage: FC = (props: any) => {
dataIndex: 'relevanceName', dataIndex: 'relevanceName',
key: 'relevanceName', key: 'relevanceName',
align: 'center', align: 'center',
}, }, */,
{ {
title: '操作', title: '操作',
key: 'action', key: 'action',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论