diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/index.js b/pc4mobx/hrmSalary/pages/calculate/doCalc/index.js index 78a2db08..03267120 100644 --- a/pc4mobx/hrmSalary/pages/calculate/doCalc/index.js +++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/index.js @@ -37,10 +37,6 @@ class Index extends Component { this.timer = null; } - componentDidMount() { - console.log(this.props); - } - handleMenuClick = ({ key }) => { switch (key) { case "calc_selected": @@ -126,10 +122,12 @@ class Index extends Component { } }); break; + case "offlineCompare": + window.open(`/spa/hrmSalary/static/index.html#/main/hrmSalary/compareDetail?id=${salaryAcctRecordId}`, "_blank"); + break; default: break; } - console.log(key); }; renderReqBtns = () => { const { selectedKey } = this.state;