- {/*
diff --git a/src/components/step/step-proj-edit.css b/src/components/step/step-proj-edit.css
index 0b05633..b6a9bc3 100644
--- a/src/components/step/step-proj-edit.css
+++ b/src/components/step/step-proj-edit.css
@@ -1,5 +1,7 @@
.step-proj {
- width: 317px;
+ /* width: 317px; */
+ width: 21%;
+ /* background: skyblue; */
position: relative;
/* overflow: scroll; */
}
@@ -14,7 +16,7 @@
}
.step-proj .step {
- width: 309px;
+ width: 100%;
height: 56px;
/* background-color: rgb(248, 213, 219); */
margin-top: 10px;
@@ -27,7 +29,8 @@
/* Top 状态:已完成 开始---------------------------------------------------------------*/
.step-proj .step .complete-one {
- width: 309px;
+ /* width: 309px; */
+ width: 100%;
height: 56px;
/* background-color: pink; */
display: flex;
@@ -45,12 +48,12 @@
display: flex;
align-items: center;
justify-content: center;
- margin-left: 44px;
+ margin-left: 11%;
}
/* 已完成状态第一个序号 */
.step-proj .step .complete-one .complete-num {
- margin-left: 16px;
+ margin-left: 8%;
}
@@ -60,16 +63,18 @@
font-weight: 700;
font-size: 16px;
color: #FFFFFF;
- margin-left: 47px;
+ margin-left: 15%;
}
/* 已完成状态第一个标题 */
.step-proj .step .complete-one .complete-text {
- margin-left: 61px;
+ margin-left: 23%;
}
.step-proj .step .complete-two {
- width: 309px;
+ /* width: 309px; */
+ width: 100%;
+
height: 56px;
/* background-color: pink; */
display: flex;
@@ -79,7 +84,9 @@
}
.step-proj .step .complete-three {
- width: 309px;
+ /* width: 309px; */
+ width: 100%;
+
height: 56px;
/* background-color: pink; */
display: flex;
@@ -89,7 +96,9 @@
}
.step-proj .step .complete-four {
- width: 309px;
+ /* width: 309px; */
+ width: 100%;
+
height: 56px;
/* background-color: pink; */
display: flex;
@@ -99,11 +108,11 @@
}
/* 已完成状态连接线 */
.step-proj .step .setLine {
- width: 49px;
+ width: 10%;
height: 22px;
background-color: pink;
position: absolute;
- right: -67px;
+ right: -15%;
top: 17px;
}
.step-proj .step .complete-oneLine{
@@ -125,7 +134,9 @@
/* Top 状态:进行中 开始----------------------------------------------------------- */
.step-proj .step .processing-one {
- width: 309px;
+ /* width: 309px; */
+ width: 100%;
+
height: 56px;
/* background-color: pink; */
display: flex;
@@ -135,7 +146,9 @@
}
.step-proj .step .processing-two {
- width: 309px;
+ /* width: 309px; */
+ width: 100%;
+
height: 56px;
/* background-color: pink; */
display: flex;
@@ -145,7 +158,9 @@
}
.step-proj .step .processing-three {
- width: 309px;
+ /* width: 309px; */
+ width: 100%;
+
height: 56px;
/* background-color: pink; */
display: flex;
@@ -155,7 +170,9 @@
}
.step-proj .step .processing-four {
- width: 309px;
+ width: 100%;
+
+ /* width: 309px; */
height: 56px;
/* background-color: pink; */
display: flex;
@@ -168,7 +185,7 @@
height: 21px;
background: #FFFFFF;
border-radius: 50%;
- margin-left: 46px;
+ margin-left: 18%;
display: flex;
justify-content: center;
align-items: center;
@@ -183,7 +200,7 @@
font-weight: 700;
font-size: 16px;
color: #71757E;
- margin-left: 47px;
+ margin-left: 15%;
}
/* Top 状态:进行中 结束----------------------------------------------------------- */
@@ -193,9 +210,12 @@
/* Top 状态:未操作 开始 ------------------------------------------------------------ */
.step-proj .step .pending {
width: 309px;
+ width: 100%;
+
height: 56px;
display: flex;
align-items: center;
+ /* background: pink; */
background: url('../../static/editPro/no.png');
background-size: 100% 100%;
}
@@ -205,7 +225,7 @@
height: 21px;
background: #FFFFFF;
border-radius: 50%;
- margin-left: 46px;
+ margin-left: 18%;
display: flex;
justify-content: center;
align-items: center;
@@ -220,7 +240,7 @@
font-weight: 700;
font-size: 16px;
color: #71757E;
- margin-left: 47px;
+ margin-left: 15%;
}
.step-proj .step .no-line{
background:url('../../static/editPro/lineno.png');
diff --git a/src/layout/head/Head.tsx b/src/layout/head/Head.tsx
index f78a6fd..90f4b4b 100644
--- a/src/layout/head/Head.tsx
+++ b/src/layout/head/Head.tsx
@@ -36,12 +36,23 @@ export default function Head() {
authorId: '',
authorProvinceCity: ''
})
+
const setValue = () => {
// console.log(value);
+ }
+ const setConcatValue = ()=> {
+
}
// 联系人弹窗
const [contactModal, setContactModal] = useState(false)
-
+ const [concatPeopleInfo,setConcatPeopleInfo] = useState({
+ applyConcatId:'',
+ applyContactCsaNo:'',
+ applyContactEmail:'',
+ applyContactName:'',
+ applyContactPhone:'',
+ applyContactCompany:''
+ })
useEffect(() => {
reloadUser(messageApi, globalDispatchContext).then((data) => {
if (!data.hasUserInfo) {
@@ -278,7 +289,7 @@ export default function Head() {
}}>
-
+
{setContactModal(false)} } setConcatPeopleInfo={setConcatPeopleInfo} concatPeopleInfo={concatPeopleInfo} setConcatValue={setConcatValue}>
{contextHolder}
diff --git a/src/route/index/Index.tsx b/src/route/index/Index.tsx
index 95b56f1..bd80d0f 100644
--- a/src/route/index/Index.tsx
+++ b/src/route/index/Index.tsx
@@ -8,7 +8,7 @@ import MenuWithTopButton from "../../components/menu/MenuWithTopButton.tsx";
import MenuTreeWithTopButton from "../../components/menu/MenuTreeWithTopButton.tsx";
// import ListProj from "../../components/list/ListProj.tsx";
// import ListProjAgent from "../../components/list/ListProjAgent.tsx";
-import { MenuProps } from 'antd';
+import { MenuProps,Select } from 'antd';
import {
IndexListContext,
IndexListDataType,
@@ -29,8 +29,9 @@ const { Search } = Input;
export default function Index() {
-
- // const [keywords, setKeywords] = useState('');
+ // 关键字
+ const [keywords, setKeywords] = useState('');
+ const [type,setType] = useState('')
// const indexListContext = useContext(IndexListContext);
@@ -195,81 +196,119 @@ export default function Index() {
// const [newname,setNewname] = useState('')
const [pathArray, setPathArray] = useState
([])
+ const [showSearchBox,setShowSearchBox] = useState(true)
useEffect(() => {
// const nowname = sessionStorage.getItem('now')
console.log('路由名字', location.pathname);
if (location.pathname.includes('/home')) {
setNow('首页')
setPathArray([{ title: '首页' }])
+ setShowSearchBox(true)
+
} else if (location.pathname.includes('/proj-create')) {
+ setShowSearchBox(false)
setNow('创建项目')
setPathArray([{ title: 首页 }, { title: '创建项目' }])
// /config-mod-list /config-menu-list /config-mod-show
} else if (location.pathname.includes('/proj-edit') && !location.pathname.includes('/config-mod-show') && !location.pathname.includes('/config-mod-edit') && !location.pathname.includes('/step') && !location.pathname.includes('/config-loginpage') && !location.pathname.includes('/config-mod-save') && !location.pathname.includes('/config-mod-list') && !location.pathname.includes('/config-menu-list')) {
setNow('编辑项目')
+ setShowSearchBox(false)
+
// setEditname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: '编辑项目' }])
} else if (location.pathname.includes('/proj-new')) {
setNow('新建项目')
+ setShowSearchBox(false)
+
// setNewname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: '新建项目' }])
} else if (location.pathname.includes('/proj-efree')) {
setNow('编辑项目')
+ setShowSearchBox(false)
+
// setNewname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: '编辑项目' }])
} else if (location.pathname.includes('/proj-eall')) {
setNow('编辑项目')
+ setShowSearchBox(false)
+
// setNewname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: '编辑项目' }])
} else if (location.pathname.includes('/proj-edit/step1')) {
setNow('标题简介')
+ setShowSearchBox(false)
+
// setNewname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: { nav(-1) }}>编辑项目 }, { title: '标题简介' }])
} else if (location.pathname.includes('/proj-edit/step2')) {
setNow('标题简介')
+ setShowSearchBox(false)
+
// setNewname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: { nav(-1) }}>编辑项目 }, { title: '基本信息' }])
} else if (location.pathname.includes('/proj-edit/config-loginpage')) {
setNow('登录界面设置')
+ setShowSearchBox(false)
+
// setNewname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: { nav(-1) }}>编辑项目 }, { title: '登录界面设置' }])
} else if (location.pathname.includes('/proj-edit/config-mod-list')) {
setNow('系统菜单管理')
+ setShowSearchBox(false)
+
// setNewname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: { nav(-1) }}>编辑项目 }, { title: '系统菜单管理' }])
} else if (location.pathname.includes('/proj-edit/config-menu-list')) {
setNow('系统菜单顺序')
+ setShowSearchBox(false)
+
// setNewname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: { nav(-1) }}>编辑项目 }, { title: '系统菜单顺序' }])
} else if (location.pathname.includes('/step3')) {
setNow('软件功能特点')
+ setShowSearchBox(false)
+
// setNewname(location.pathname)
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: { nav(-1) }}>编辑项目 }, { title: '软件功能特点' }])
} else if (location.pathname.includes('/proj-edit/config-mod-save')) {
setNow('添加菜单')
+ setShowSearchBox(false)
+
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: { nav(-1) }}>编辑项目 }, { title: '添加菜单' }])
} else if (location.pathname.includes('/proj-edit/config-mod-edit')) {
setNow('编辑菜单')
+ setShowSearchBox(false)
+
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: { nav(-2) }}>编辑项目 }, { title: { nav(-1) }}>系统菜单管理 }, { title: '编辑菜单' }])
// /config-mod-edit /config-mod-show
} else if (location.pathname.includes('/proj-edit/config-mod-show')) {
setNow('查看菜单')
+ setShowSearchBox(false)
+
setPathArray([{ title: 首页 }, { title: 创建项目 }, { title: { nav(-2) }}>编辑项目 }, { title: { nav(-1) }}>系统菜单管理 }, { title: '查看菜单' }])
// /config-mod-edit
} else if (location.pathname.includes('/product-release')) {
setNow('首页')
+ setShowSearchBox(false)
+
setPathArray([{ title: '首页' }])
// /config-mod-edit /product-release /transaction-order
} else if (location.pathname.includes(' /transaction-order')) {
setNow('首页')
+ setShowSearchBox(false)
+
setPathArray([{ title: '首页' }])
// /config-mod-edit /product-release /transaction-order
} else if (location.pathname.includes(' /copyright-goods')) {
setNow('首页')
+ setShowSearchBox(false)
+
setPathArray([{ title: '首页' }])
// /config-mod-edit /product-release /transaction-order
} else if (location.pathname.includes(' /trading-goods')) {
setNow('首页')
+ setShowSearchBox(false)
+
setPathArray([{ title: '首页' }])
// /config-mod-edit /product-release /transaction-order
}
@@ -296,9 +335,11 @@ export default function Index() {
const handleSearch = (value: string) => {
console.log(value);
+ setKeywords(value)
nav('/home', {
state: {
- keyword: value
+ keyword: value,
+ name:type
}
})
}
@@ -348,7 +389,7 @@ export default function Index() {
当前位置:{now}