| | |
| | | let token = uni.getStorageSync('token') |
| | | let header = { |
| | | 'content-type': type ? 'application/x-www-form-urlencoded;charset=UTF-8' : 'application/json', |
| | | 'Authorization': 'Bearer ' + token, |
| | | 'Authorization': token, |
| | | 'lang': uni.getStorageSync('locale') === 'zh-Hans' ? 'zh_CN' : 'zh-tw', |
| | | } |
| | | const requestTask = uni.request({ |
| | |
| | | name: '人员管理', |
| | | path: '/setting/user', |
| | | component: './setting/user', |
| | | // access: '/system_setting/user_management', |
| | | // access: '/system_setting/people_management', |
| | | } |
| | | ], |
| | | }, |
| | |
| | | ); |
| | | }, |
| | | ...initialState?.settings, |
| | | pageTitleRender: () => '“三个身边”群众工作机制问题化解平台' |
| | | }; |
| | | }; |
| | | |
| | |
| | | :where(.css-dev-only-do-not-override-17md30i).ant-menu-light>.ant-menu .ant-menu-submenu-selected>.ant-menu-submenu-title{ |
| | | color: rgba(0, 0, 0, 0.95); |
| | | } |
| | | |
| | | .del-confirm { |
| | | .del-icon { |
| | | margin-right: 5px; |
| | | width: 22px; |
| | | height: 22px; |
| | | background-color: rgba(233, 157, 66, 1); |
| | | color: #fff; |
| | | border-radius: 50%; |
| | | align-content: center; |
| | | text-align: center; |
| | | } |
| | | |
| | | .ant-modal-confirm-btns { |
| | | .ant-btn-default:last-child { |
| | | border-color: red !important; |
| | | color: #fff !important; |
| | | background-color: red !important; |
| | | } |
| | | |
| | | .ant-btn-default { |
| | | color: #000 !important; |
| | | border-color: #d9d9d9 !important; |
| | | } |
| | | } |
| | | } |
| | |
| | | const okHandle = () => { |
| | | form.validateFields().then((values) => { |
| | | setSpinning(true) |
| | | values.menuIds = treeSeletKeys |
| | | values.systemMenuIds = treeSeletKeys |
| | | delete values.tree |
| | | if (data.id) { |
| | | values.id = data.id |
| | |
| | | return ( |
| | | <Space> |
| | | {record.roleId != 1 && ( |
| | | <Access accessible={access['/system_setting/role_management/edit']}> |
| | | <Access accessible={access['/system_setting/people_management/edit']}> |
| | | <Button |
| | | type="link" |
| | | onClick={() => { |
| | |
| | | </Access> |
| | | )} |
| | | {record.roleId != 1 && ( |
| | | <Access accessible={access['/system_setting/role_management/del']}> |
| | | <Access accessible={access['/system_setting/people_management/del']}> |
| | | <Button |
| | | type="link" |
| | | onClick={() => { |
| | |
| | | </Button> |
| | | </Access> |
| | | )} |
| | | <Access accessible={access['/system_setting/role_management/detail'] || false}> |
| | | <Access accessible={access['/system_setting/people_management/detail'] || false}> |
| | | <Button |
| | | type="link" |
| | | onClick={() => { |
| | |
| | | }} |
| | | // request={(params) => buildProTableDataSource(getList, params)} |
| | | toolBarRender={(action, selectRows) => [ |
| | | <Access accessible={access['/system_setting/role_management/add']}> |
| | | <Access accessible={access['/system_setting/people_management/add']}> |
| | | <Space> |
| | | <Button |
| | | type="primary" |