Commit fd1543dc authored by wuhao's avatar wuhao 🎯

asder

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