基本信息页面暂存

This commit is contained in:
xixi 2024-05-15 18:00:20 +08:00
parent c5c1792fc1
commit 7a885cec8e
5 changed files with 917 additions and 304 deletions

View File

@ -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
} }

View File

@ -153,30 +153,30 @@ export default function Index() {
setNow('创建项目') setNow('创建项目')
setPathArray([{ title: <Link to={'/home'}></Link> }, { title: '创建项目' }]) 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('编辑项目') setNow('编辑项目')
// setEditname(location.pathname) // 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')) { } else if (location.pathname.includes('/proj-new')) {
setNow('新建项目') setNow('新建项目')
// setNewname(location.pathname) // setNewname(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-efree')) { } else if (location.pathname.includes('/proj-efree')) {
setNow('编辑项目') setNow('编辑项目')
// setNewname(location.pathname) // setNewname(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-eall')) { } else if (location.pathname.includes('/proj-eall')) {
setNow('编辑项目') setNow('编辑项目')
// setNewname(location.pathname) // setNewname(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-edit/step1')) { } else if (location.pathname.includes('/proj-edit/step1')) {
setNow('标题简介') setNow('标题简介')
// setNewname(location.pathname) // 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: '标题简介' }])
}else if (location.pathname.includes('/proj-edit/step2')) { } else if (location.pathname.includes('/proj-edit/step2')) {
setNow('标题简介') setNow('标题简介')
// setNewname(location.pathname) // 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 // /proj-edit/step1
@ -231,6 +231,11 @@ export default function Index() {
list={agentMenu.list} list={agentMenu.list}
handleListItem={agentMenu.handleListItem} handleListItem={agentMenu.handleListItem}
/> />
{/* <MenuWithBottomButtom
button={agentMenu.button}
list={agentMenu.list}
handleListItem={agentMenu.handleListItem}
/> */}
</div> </div>
<div className="right"> <div className="right">
<div> <div>

File diff suppressed because it is too large Load Diff

View File

@ -60,6 +60,8 @@ export default function ProjEditStep4() {
messageApi, messageApi,
url: `/api/proj/get/edit-step4/${pathParams.projId}`, url: `/api/proj/get/edit-step4/${pathParams.projId}`,
onSuccess({data}: AxiosResponse) { onSuccess({data}: AxiosResponse) {
console.log(data);
form.setFieldsValue({ form.setFieldsValue({
authorName: data.authorName, authorName: data.authorName,
authorIdCardType: data.authorIdCardType ? data.authorIdCardType : 'BUSINESS_LICENSE', authorIdCardType: data.authorIdCardType ? data.authorIdCardType : 'BUSINESS_LICENSE',

View File

@ -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-Modal {}
.belongPeople-Mtop { .belongPeople-Mtop {
@ -117,10 +125,99 @@
color: #222222; color: #222222;
border-bottom: 1px solid #EFEFEE; border-bottom: 1px solid #EFEFEE;
/* display: block; */ /* display: block; */
padding-bottom: 8px;
/* box-sizing: border-box; */
} }
.blongNameInt {
.css-dev-only-do-not-override-1ae8k9u.ant-modal .ant-modal-footer{
display: flex; 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;
} }