准入部门 接口联调
This commit is contained in:
@ -86,7 +86,7 @@ const LoginPage: React.FC = () => {
|
||||
return item.roleId
|
||||
})
|
||||
console.log(roleIdList, 'roleIdList');
|
||||
|
||||
sessionStorage.setItem('Userinfo', JSON.stringify(res));
|
||||
// const menuList = await findMenuList({ roleIdList });
|
||||
// sessionStorage.setItem('menuList', JSON.stringify(menuList.data));
|
||||
// }
|
||||
|
@ -197,7 +197,7 @@ form.setFieldsValue({ accessWorkName: autoTitle });
|
||||
name="deptId"
|
||||
rules={[{ required: true, message: '请选择准入部门' }]}
|
||||
>
|
||||
<AccessDepartmentSelect />
|
||||
<AccessDepartmentSelect style={{width: '100%'}} orgCategory='' />
|
||||
</Form.Item>
|
||||
|
||||
|
||||
|
@ -216,7 +216,7 @@ const SupplierEntryReview: React.FC = () => {
|
||||
<AdmissionTypeSelect/>
|
||||
</Form.Item>
|
||||
<Form.Item name="deptId" label="准入部门">
|
||||
<AccessDepartmentSelect />
|
||||
<AccessDepartmentSelect orgCategory='' />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item name="approveStatus" label="审批状态">
|
||||
|
@ -273,7 +273,7 @@ const CreateModal: React.FC<{ visible: boolean; onCancel: () => void; }> = ({ vi
|
||||
name="deptId"
|
||||
rules={[{ required: true, message: '请选择准入部门' }]}
|
||||
>
|
||||
<AccessDepartmentSelect style={{width: '100%'}} />
|
||||
<AccessDepartmentSelect style={{width: '100%'}} orgCategory='' />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
|
@ -1,10 +1,10 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { Modal, Form, Input, DatePicker, Button, Tree, Select, message, Spin, Upload } from 'antd';
|
||||
import { UploadOutlined } from '@ant-design/icons';
|
||||
import { categoryTree, uploadFile, superiorLockList, getSupplierPage, library, libraryData } from '../services';
|
||||
import { categoryTree, uploadFile, library, libraryData } from '../services';
|
||||
import type { UploadFile } from 'antd/es/upload/interface';
|
||||
import AccessDepartmentSelect from '@/components/AccessDepartmentSelect';
|
||||
import { getregionInternational, getAllAreaList } from '@/servers/api/register';
|
||||
import { getAllAreaList } from '@/servers/api/register';
|
||||
const { Option } = Select;
|
||||
|
||||
const approveTypeOptions = [
|
||||
|
Reference in New Issue
Block a user