7.1 党建攻坚修改
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user