Commit fd1543dc authored by wuhao's avatar wuhao 🎯

asder

parent 232589d0
......@@ -4,31 +4,24 @@ import { DefaultFooter } from "@ant-design/pro-layout";
const Footer = () => {
const intl = useIntl();
const defaultMessage = intl.formatMessage({
id: "app.copyright.produced",
defaultMessage: "蚂蚁集团体验技术部出品",
});
const currentYear = new Date().getFullYear();
return (
<DefaultFooter
copyright={`${currentYear} ${defaultMessage}`}
copyright={`${currentYear} 江苏南高智能装备创新中心出品`}
links={[
{
key: "Ant Design Pro",
title: "Ant Design Pro",
href: "https://pro.ant.design",
title: "JiangSuNanGao",
blankTarget: true,
},
{
key: "github",
title: <GithubOutlined />,
href: "https://github.com/ant-design/ant-design-pro",
blankTarget: true,
},
{
key: "Ant Design",
title: "Ant Design",
href: "https://ant.design",
key: "Designed By Wuhao",
title: "Designed By Wuhao",
blankTarget: true,
},
]}
......
......@@ -110,12 +110,16 @@ ol {
padding: 10px 0 10px 0 !important;
}
.ant-pro-form-login-container {
padding-top: 22vh !important;
height: auto !important;
margin-top: -10vh;
padding: 0 !important;
background: transparent !important;
}
.ant-pro-form-login-main {
margin-top: 30px !important;
}
pre {
color: rgba(0, 0, 0, 0.85) !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
......@@ -223,5 +227,33 @@ pre {
.ant-pro-form-login-desc {
margin-bottom: 0 !important;
}
#content {
.ant-layout-footer {
background-color: transparent !important;
.ant-pro-global-footer {
margin: 0 !important;
padding: 0 !important;
}
}
.logincontent {
.ant-layout-footer {
background-color: #23394a !important;
.ant-pro-global-footer {
margin: 0 0 20px 0 !important;
padding: 0 !important;
* {
color: rgba(255, 255, 255, 0.6) !important;
}
.ant-pro-global-footer-copyright {
color: rgba(255, 255, 255, 0.3) !important;
}
}
}
}
.reg {
b {
color: #fff !important;
font-weight: normal !important;
}
}
This diff is collapsed.
......@@ -18,7 +18,10 @@
}
.content {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
height: 100%;
padding: 32px 0;
background-color: #23394a;
......@@ -26,6 +29,9 @@
@media (min-width: @screen-md-min) {
.content {
display: flex;
align-items: center;
justify-content: center;
padding: 32px 0 24px;
}
}
......@@ -42,3 +48,4 @@
color: @primary-color;
}
}
......@@ -22,29 +22,23 @@ export default {
name: ["userName"],
required: true,
},
gender: {
value: null,
type: "select",
title: "性别",
name: ["gender"],
required: false,
options: [
{
label: "男",
value: 1,
},
{
label: "女",
value: 2,
},
],
},
telephone: {
value: null,
type: "input",
title: "联系电话",
name: ["telephone"],
required: false,
},
departmentId: {
value: null,
type: "treeselect",
title: "组织",
name: ["departmentId"],
required: true,
options: {
database: departmentTree,
params: {},
},
},
factoryId: {
value: null,
......@@ -58,21 +52,10 @@ export default {
},
linked: true,
},
departmentId: {
value: null,
type: "treeselect",
title: "部门",
name: ["departmentId"],
required: true,
options: {
database: departmentTree,
params: {},
},
},
shopIdList: {
value: [],
type: "select",
title: "负责车间",
title: "负责仓库",
name: ["shopIdList"],
required: false,
belinked: {
......@@ -84,34 +67,6 @@ export default {
linked: true,
multiple: true,
},
sectionIdList: {
value: [],
type: "select",
title: "负责工段",
name: ["sectionIdList"],
required: false,
belinked: {
options: {
database: sectionSelectByShops,
params: { shopIdList: "linked", factoryId: "linked" },
},
},
multiple: true,
},
productionLineIdList: {
value: [],
type: "select",
title: "负责产线",
name: ["productionLineIdList"],
required: false,
belinked: {
options: {
database: productionLineSelectByShops,
params: { shopIdList: "linked", factoryId: "linked" },
},
},
multiple: true,
},
roleIdList: {
value: [],
type: "select",
......@@ -149,36 +104,6 @@ export default {
span: 12,
},
},
academicCareer: {
value: null,
type: "input",
title: "学历",
name: ["academicCareer"],
required: false,
col: {
span: 12,
},
},
university: {
value: null,
type: "input",
title: "毕业院校",
name: ["university"],
required: false,
col: {
span: 12,
},
},
major: {
value: null,
type: "input",
title: "专业",
name: ["major"],
required: false,
col: {
span: 12,
},
},
remark: {
value: null,
type: "textarea",
......@@ -187,17 +112,5 @@ export default {
required: false,
col: { span: 24 },
},
userImgList: {
value: null,
type: "upload",
title: "个人图片",
name: ["userImgList"],
required: false,
col: {
span: 24,
},
listType: "img",
multiple: false,
limit: 1,
},
};
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