fix(api):update store

This commit is contained in:
wang_yp 2024-09-20 22:40:45 +08:00
parent cc4b544b2e
commit f7e8a7bd1e
5 changed files with 61 additions and 13 deletions

View File

@ -44,3 +44,20 @@ You dont have to ever use `eject`. The curated feature set is suitable for sm
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/). To learn React, check out the [React documentation](https://reactjs.org/).
添加的数据
1、队伍属性管理 添加队伍
2、个人身份管理 添加身份
3、组织架构通过部门来组织
首页:
1、组织架构 用户数量统计,党员数量统计
2、武装力量 根据队伍统计
3、年度训练 按照年度统计类别,次数 (任务发布时,可选择多个类别)
4、物资管理
5、档案管理
6、评优争先

View File

@ -15,7 +15,7 @@ const HomeBottom = () => {
return ( return (
<div className="bottom_container"> <div className="bottom_container">
<div className="bottom_content"> <div className="bottom_content">
<span onClick={openDispatch}></span> <span onClick={openDispatch}></span>
<span onClick={openDispatch}></span> <span onClick={openDispatch}></span>
<span onClick={openDispatch}>线</span> <span onClick={openDispatch}>线</span>
<span onClick={openDispatch}></span> <span onClick={openDispatch}></span>

View File

@ -30,12 +30,12 @@ const HomeLeft = () => {
</div> </div>
<div onClick={jumpToUser} className="org"> <div onClick={jumpToUser} className="org">
<div className="org_head"> <div className="org_head">
<p></p> <p></p>
</div> </div>
</div> </div>
<div onClick={openDispatch} className="org"> <div onClick={openDispatch} className="org">
<div className="org_head"> <div className="org_head">
<p>HomeLeft</p> <p></p>
</div> </div>
</div> </div>
<Modal <Modal

View File

@ -1,8 +1,24 @@
import "./right.less"; import "./right.less";
const HomeRight = () => { const HomeRight = () => {
return <div className="right_container"> return (
<div className="right_body">HomeRight</div> <div className="right_container">
</div>; <div className="org">
<div className="org_head">
<p></p>
</div>
</div>
<div className="org">
<div className="org_head">
<p></p>
</div>
</div>
<div className="org">
<div className="org_head">
<p></p>
</div>
</div>
</div>
);
}; };
export default HomeRight; export default HomeRight;

View File

@ -1,8 +1,23 @@
.right_container { .right_container {
width: 100%; width: 100%;
color: #fff; color: #fff;
display: flex;
align-items: center;
justify-content: center;
height: 100%; height: 100%;
width: 100%;
color: #fff;
height: auto;
.org {
width: 100%;
min-height: 200px;
text-align: center;
.org_head {
width: 100%;
background-image: url("../../../static/titie_secend@1x.png");
background-size: 100% 50px;
background-repeat: no-repeat;
line-height: 60px;
height: 50px;
text-align: left;
padding-left: 20px;
}
}
} }