parent
c6e71bd069
commit
43ff36d59f
|
|
@ -16,6 +16,7 @@ class Index extends Component {
|
|||
render() {
|
||||
const { theme, background, tip, tipPosi, itemTypeList, title } = this.props;
|
||||
const { onlyOneGrup, showData } = dealTemplate(itemTypeList, "mobile");
|
||||
console.log(dealTemplate(itemTypeList, "mobile"));
|
||||
return (
|
||||
<React.Fragment>
|
||||
<div className="pbmc-head">{title || getLabel(111, "薪酬预览")}</div>
|
||||
|
|
@ -31,7 +32,7 @@ class Index extends Component {
|
|||
{/*}*/}
|
||||
</div>
|
||||
{
|
||||
!onlyOneGrup && tipPosi === "1" && tip &&
|
||||
!onlyOneGrup && tipPosi.toString() === "1" && tip &&
|
||||
<div className="corporate-culture-text top" title={tip}>{tip}</div>
|
||||
}
|
||||
<div className="salary-detail-table-container">
|
||||
|
|
@ -46,7 +47,7 @@ class Index extends Component {
|
|||
}
|
||||
<div className="group-list">
|
||||
{
|
||||
(onlyOneGrup && tipPosi === "1" && tip) && (<div className="list-item send-tip top">
|
||||
(onlyOneGrup && tipPosi.toString() === "1" && tip) && (<div className="list-item send-tip top">
|
||||
<div className="label">{getLabel(111, "发放说明")}</div>
|
||||
<div className="detail">{tip}</div>
|
||||
</div>)
|
||||
|
|
@ -62,7 +63,7 @@ class Index extends Component {
|
|||
})
|
||||
}
|
||||
{
|
||||
(onlyOneGrup && tipPosi === "2" && tip) && (<div className="list-item send-tip bottom">
|
||||
(onlyOneGrup && tipPosi.toString() === "2" && tip) && (<div className="list-item send-tip bottom">
|
||||
<div className="label">{getLabel(111, "发放说明")}</div>
|
||||
<div className="detail">{tip}</div>
|
||||
</div>)
|
||||
|
|
@ -73,7 +74,7 @@ class Index extends Component {
|
|||
}
|
||||
</div>
|
||||
{
|
||||
!onlyOneGrup && tipPosi === "2" && tip &&
|
||||
!onlyOneGrup && tipPosi.toString() === "2" && tip &&
|
||||
<div className="corporate-culture-text footer" title={tip}>{tip}</div>
|
||||
}
|
||||
{this.props.children}
|
||||
|
|
|
|||
Loading…
Reference in New Issue