|
@@ -60,7 +60,9 @@ const { RangePicker } = DatePicker;
|
|
function FileManagement(props) {
|
|
function FileManagement(props) {
|
|
const [form] = Form.useForm();
|
|
const [form] = Form.useForm();
|
|
const [modal, contextHolder] = Modal.useModal();
|
|
const [modal, contextHolder] = Modal.useModal();
|
|
- const { initialState: { user } } = useModel('@@initialState');
|
|
|
|
|
|
+ const {
|
|
|
|
+ initialState: { user },
|
|
|
|
+ } = useModel('@@initialState');
|
|
const { userList, run: userListRun } = useModel('userList');
|
|
const { userList, run: userListRun } = useModel('userList');
|
|
const [tableData, setTableData] = useState([]);
|
|
const [tableData, setTableData] = useState([]);
|
|
const [visible, setVisible] = useState(false);
|
|
const [visible, setVisible] = useState(false);
|
|
@@ -681,7 +683,7 @@ function FileManagement(props) {
|
|
</Button>
|
|
</Button>
|
|
</Form.Item>
|
|
</Form.Item>
|
|
)}
|
|
)}
|
|
- <Form.Item>
|
|
|
|
|
|
+ {/* <Form.Item>
|
|
<Button
|
|
<Button
|
|
type="primary"
|
|
type="primary"
|
|
onClick={() => setPerOpen(true)}
|
|
onClick={() => setPerOpen(true)}
|
|
@@ -699,7 +701,7 @@ function FileManagement(props) {
|
|
>
|
|
>
|
|
申请权限
|
|
申请权限
|
|
</Button>
|
|
</Button>
|
|
- </Form.Item>
|
|
|
|
|
|
+ </Form.Item> */}
|
|
{isSuper && (
|
|
{isSuper && (
|
|
<Form.Item>
|
|
<Form.Item>
|
|
<Button
|
|
<Button
|