7.1 党建攻坚修改

This commit is contained in:
jl-zhoujl2
2022-07-01 10:43:11 +08:00
parent 1dcf4c84fc
commit d01758fe88
6 changed files with 32 additions and 23 deletions

View File

@ -51,9 +51,7 @@ const RightDisplayTitle = (props: any) => {
//右侧专业线内容
const RightDisplayContent = (props: any) => {
const displayContentClick = () => {
if (props.index == 0) {//党员数量
window.open("/partyMemberTopic/personInfor");
} else if (props.index == 1) {//党支部数量
if (props.index == 0 || props.index == 1) {//党员数量 //党支部数量
window.open("/partyMemberTopic/partyBranch");
}
}
@ -64,14 +62,14 @@ const RightDisplayContent = (props: any) => {
<div className='right-display-content-right'>
<div className='right-display-content-title'>
<span>{props.data[props.index].dataName}</span>
{props.data[props.index].dataCompare != null && <span className='right-display-content-percentage'>
{/* {props.data[props.index].dataCompare != null && <span className='right-display-content-percentage'>
<span>同比</span>
{props.data[props.index].dataCompare[0] == '+' ? (
<span className='right-display-content-percentage-increase'>{props.data[props.index].dataCompare} ↑</span>
) : (
<span className='right-display-content-percentage-reduce'>{props.data[props.index].dataCompare} ↓</span>
)}
</span>}
</span>} */}
</div>
<div className='right-display-content-content'>
<span className={`right-display-content-number ${props.color}`}>{props.data[props.index].dataValue}</span>
@ -215,10 +213,11 @@ const CommentModal = (props: any) => {
<div className='bottom-modal-body'>
<div className='radio-group'>
<Radio.Group onChange={onRadioChange} defaultValue={"1"}>
<Radio value="1" className="radio-content"></Radio>
<Radio value="2" className="radio-content"></Radio>
<Radio value="3" className="radio-content"></Radio>
<Radio value="4" className="radio-content"></Radio>
<Radio value="网络运营" className="radio-content"></Radio>
<Radio value="IT" className="radio-content">IT</Radio>
<Radio value="市场" className="radio-content"></Radio>
<Radio value="综合行政" className="radio-content"></Radio>
<Radio value="其他" className="radio-content"></Radio>
</Radio.Group>
</div>
<TextArea
@ -476,8 +475,8 @@ const Home: React.FC<{}> = () => {
</div>
<div className='right-display'>
<RightDisplayTitle title="党员及支部数量情况" />
<RightDisplayContent index={0} data={rightList} img={topic_partymember} color="number-blue" />
<RightDisplayContent index={1} data={rightList} img={topic_partybranch} color="number-blue" />
<RightDisplayContent index={0} data={rightList} img={topic_partymember} color="number-blue" />
</div>
<Divider className='right-divider' />
<div className='right-display'>
@ -504,7 +503,7 @@ const Home: React.FC<{}> = () => {
</div>
</div>
<div className='bottom-global'>
<LeftCardTop title="活动联系人" />
<LeftCardTop title="我要提意见" />
{contactData.length > 0 && contactData.map(([name, value], index) => (
<div key={index}>
<div className='bottom-title'>{name}</div>