11
This commit is contained in:
@ -89,7 +89,7 @@ function Login(props) {
|
||||
</div>
|
||||
<div>
|
||||
<Input id='username-input'
|
||||
placeholder="请输入用户名"
|
||||
placeholder="请输入教师工号"
|
||||
prefix={<UserOutlined/>}
|
||||
size={"large"}
|
||||
style={{marginBottom: '20px'}}
|
||||
@ -116,9 +116,9 @@ function Login(props) {
|
||||
<Footer style={{background: 'rgba(0,0,0,0)'}}>
|
||||
<Flex vertical justify={'center'} align={'center'} wrap={"wrap"}>
|
||||
<Typography.Text type={"secondary"}>Powered by ©2023
|
||||
- {new Date().getFullYear()} SimRobot Studio</Typography.Text>
|
||||
<Typography.Text type={"secondary"}>SimRobot Studio
|
||||
来自哈尔滨师范大学计算机科学与信息工程学院软件工程系</Typography.Text>
|
||||
- {new Date().getFullYear()}来自哈师大教务处</Typography.Text>
|
||||
<Typography.Text type={"secondary"}>
|
||||
</Typography.Text>
|
||||
</Flex>
|
||||
</Footer>
|
||||
</Layout>
|
||||
|
||||
BIN
src/page/Dashboard/DataCheck.zip
Normal file
BIN
src/page/Dashboard/DataCheck.zip
Normal file
Binary file not shown.
@ -9,7 +9,7 @@ const CardAction = (record, messageApi, navigator) => {
|
||||
const commonAxios = creatMessageCommonAxios(messageApi);
|
||||
|
||||
const downloadRecord = (recordId) => {
|
||||
let baseUrl = window.BACKEND_ADDRESS || baseWebConfig.baseUrl
|
||||
let baseUrl = baseWebConfig.baseUrl
|
||||
commonAxios.get(`${baseUrl}/api/v1/workload/certificate/download/${recordId}`, {responseType: 'blob'}).then((response) => {
|
||||
if (response.data.type === 'application/json') {
|
||||
messageApi.error('证明已失效 (GENERATE_CERTIFICATE_ERROR_007)');
|
||||
|
||||
@ -13,7 +13,7 @@ const AddUserDrawer = props => {
|
||||
};
|
||||
const fileUploadProps = {
|
||||
name: 'file',
|
||||
action: window.BACKEND_ADDRESS || baseWebConfig.baseUrl + '/api/v1/teacher/import',
|
||||
action: baseWebConfig.baseUrl + '/api/v1/teacher/import',
|
||||
headers: {
|
||||
authorization: `Bearer ${localStorage.getItem('token') || ''}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user