Commit ea6ddc62 authored by 皮倩雯's avatar 皮倩雯

修改新接口问题

parent c8627e28
Pipeline #31329 passed with stages
in 48 minutes 31 seconds
.template_container{
width: 100%;
height: calc(100vh - 124px);
.ant-select-arrow .anticon {
vertical-align: middle;
}
.operate_bar{
width: 100%;
height: 60px;
......@@ -60,6 +63,7 @@
}
.ant-table-body{
max-height: 610px !important;
min-height:610px;
}
}
......@@ -14,6 +14,7 @@ const AddModal = props => {
const onSubmit = () => {
form.submit()
form.resetFields()
}
const onSubmitSuccess = () => {
const result = form.getFieldValue()
......
......@@ -31,7 +31,7 @@ const AddUserModal = props => {
} else {
notification.error({
message: '提交失败',
description: res.message,
description: res.msg,
});
}
})
......
......@@ -91,6 +91,7 @@ const RelateRoleModal = props => {
duration: 2,
});
} else {
console.log(1),
notification.error({
message: '提交失败',
description: res.msg,
......
......@@ -559,10 +559,10 @@ const UserManage = () => {
setTableData(table);
} else {
setTableLoading(false);
notification.error({
message: '获取失败',
description: res.msg,
});
// notification.error({
// message: '获取失败',
// description: res.msg,
// });
}
})
.catch(err => {
......@@ -837,6 +837,7 @@ const onTypeChange = (value) => {
// setTableLoading(false);
// message.error(err);
// });
console.log(currentUser.userID)
GetUserRelationListNew({ userID: currentUser.userID })
.then(res => {
setLoading(false);
......@@ -887,10 +888,11 @@ const onTypeChange = (value) => {
setRolelist(roleList);
setStationlist(stationList);
} else {
notification.error({
message: '提交失败',
description: res.message,
});
console.log(err)
// notification.error({
// message: '提交失败',
// description: res.message,
// });
}
})
.catch(err => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment