基本信息页面暂存
This commit is contained in:
parent
c5c1792fc1
commit
7a885cec8e
23
src/layout/Type/statedata.d.ts
vendored
23
src/layout/Type/statedata.d.ts
vendored
@ -1,3 +1,22 @@
|
||||
interface BelongDataType{
|
||||
|
||||
interface BelongDataType {
|
||||
crcAccountPassword: string
|
||||
crcAccountUsername: string
|
||||
gmtCreate: string
|
||||
gmtModified: string
|
||||
idCardNo: string
|
||||
idCardType: string
|
||||
isCrcAccount: number
|
||||
name: "Lam On Kay"
|
||||
nameEn: string
|
||||
projOwnerId: string
|
||||
provinceCity: string
|
||||
type: string
|
||||
}
|
||||
interface ContactDataType {
|
||||
csaNo: string
|
||||
gmtCreate: string
|
||||
gmtModified: string
|
||||
name: string
|
||||
phone: string
|
||||
projContactId: string
|
||||
}
|
@ -153,30 +153,30 @@ export default function Index() {
|
||||
setNow('创建项目')
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: '创建项目' }])
|
||||
//
|
||||
} else if (location.pathname.includes('/proj-edit')&&!location.pathname.includes('/step')) {
|
||||
} else if (location.pathname.includes('/proj-edit') && !location.pathname.includes('/step')) {
|
||||
setNow('编辑项目')
|
||||
// setEditname(location.pathname)
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title:'编辑项目'}])
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: '编辑项目' }])
|
||||
} else if (location.pathname.includes('/proj-new')) {
|
||||
setNow('新建项目')
|
||||
// setNewname(location.pathname)
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: '新建项目' }])
|
||||
}else if (location.pathname.includes('/proj-efree')) {
|
||||
} else if (location.pathname.includes('/proj-efree')) {
|
||||
setNow('编辑项目')
|
||||
// setNewname(location.pathname)
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: '编辑项目' }])
|
||||
}else if (location.pathname.includes('/proj-eall')) {
|
||||
} else if (location.pathname.includes('/proj-eall')) {
|
||||
setNow('编辑项目')
|
||||
// setNewname(location.pathname)
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: '编辑项目' }])
|
||||
}else if (location.pathname.includes('/proj-edit/step1')) {
|
||||
} else if (location.pathname.includes('/proj-edit/step1')) {
|
||||
setNow('标题简介')
|
||||
// setNewname(location.pathname)
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, {title: <a onClick={() => {nav(-1)}}>编辑项目</a>},{title: '标题简介'}])
|
||||
}else if (location.pathname.includes('/proj-edit/step2')) {
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: <a onClick={() => { nav(-1) }}>编辑项目</a> }, { title: '标题简介' }])
|
||||
} else if (location.pathname.includes('/proj-edit/step2')) {
|
||||
setNow('标题简介')
|
||||
// setNewname(location.pathname)
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, {title: <a onClick={() => {nav(-1)}}>编辑项目</a>},{title: '基本信息'}])
|
||||
setPathArray([{ title: <Link to={'/home'}>首页</Link> }, { title: <Link to={'/proj-create'}>创建项目</Link> }, { title: <a onClick={() => { nav(-1) }}>编辑项目</a> }, { title: '基本信息' }])
|
||||
}
|
||||
|
||||
// /proj-edit/step1
|
||||
@ -231,6 +231,11 @@ export default function Index() {
|
||||
list={agentMenu.list}
|
||||
handleListItem={agentMenu.handleListItem}
|
||||
/>
|
||||
{/* <MenuWithBottomButtom
|
||||
button={agentMenu.button}
|
||||
list={agentMenu.list}
|
||||
handleListItem={agentMenu.handleListItem}
|
||||
/> */}
|
||||
</div>
|
||||
<div className="right">
|
||||
<div>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -60,6 +60,8 @@ export default function ProjEditStep4() {
|
||||
messageApi,
|
||||
url: `/api/proj/get/edit-step4/${pathParams.projId}`,
|
||||
onSuccess({data}: AxiosResponse) {
|
||||
console.log(data);
|
||||
|
||||
form.setFieldsValue({
|
||||
authorName: data.authorName,
|
||||
authorIdCardType: data.authorIdCardType ? data.authorIdCardType : 'BUSINESS_LICENSE',
|
||||
|
@ -108,6 +108,14 @@
|
||||
|
||||
}
|
||||
|
||||
/* 创建/编辑/查看所属人 弹窗 */
|
||||
|
||||
/* 弹窗底部按钮 */
|
||||
.css-dev-only-do-not-override-1ae8k9u.ant-modal .ant-modal-footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.belongPeople-Modal {}
|
||||
|
||||
.belongPeople-Mtop {
|
||||
@ -117,10 +125,99 @@
|
||||
color: #222222;
|
||||
border-bottom: 1px solid #EFEFEE;
|
||||
/* display: block; */
|
||||
padding-bottom: 8px;
|
||||
/* box-sizing: border-box; */
|
||||
}
|
||||
|
||||
|
||||
.css-dev-only-do-not-override-1ae8k9u.ant-modal .ant-modal-footer{
|
||||
.blongNameInt {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
/* background-color: #E6E6E6; */
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
color: #222222;
|
||||
height: 50px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.blongSmallNamel {
|
||||
margin-left: 100px;
|
||||
/* height: 44px; */
|
||||
/* background-color: red; */
|
||||
margin-top: 10px;
|
||||
|
||||
}
|
||||
|
||||
.blongsmallTitle {
|
||||
width: 132px;
|
||||
text-align: end;
|
||||
/* background-color: #555555; */
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.blongSmallNameR {
|
||||
margin-left: 17px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.belongText {
|
||||
width: 1170px;
|
||||
height: 51px;
|
||||
background: #e0e6f1;
|
||||
/* text-indent: 23px; */
|
||||
}
|
||||
|
||||
.belongRedText {
|
||||
width: 1170px;
|
||||
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: #FF7979;
|
||||
padding: 10px;
|
||||
/* background-color: red; */
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.crcAccount {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
color: #222222;
|
||||
/* background-color: red; */
|
||||
margin-left: 10px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.contact-modal-context {
|
||||
display: flex;
|
||||
/* padding: 62px 44px 50px 42px; */
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.cas {
|
||||
display: flex;
|
||||
margin-left: 57px;
|
||||
margin-top: 44px;
|
||||
}
|
||||
|
||||
.cas-title {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 700;
|
||||
font-size: 17px;
|
||||
color: #222222;
|
||||
line-height: 31px;
|
||||
/* background-color: #CC0000; */
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cas-text {
|
||||
font-family: PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
color: #222222;
|
||||
line-height: 31px;
|
||||
/* background-color: #85cc00; */
|
||||
text-align: center;
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user