diff --git a/pc4mobx/hrmSalary/components/slideModalTitle/index.js b/pc4mobx/hrmSalary/components/slideModalTitle/index.js index 946b61ec..c4b6f7dd 100644 --- a/pc4mobx/hrmSalary/components/slideModalTitle/index.js +++ b/pc4mobx/hrmSalary/components/slideModalTitle/index.js @@ -5,7 +5,7 @@ import "./index.less" export default class SlideModalTitle extends React.Component { componentWillMount() { // 初始化渲染页面 this.state = { - editable: "" + editable: this.props.editable } } componentWillReceiveProps(nextProps){ diff --git a/pc4mobx/hrmSalary/debug.js b/pc4mobx/hrmSalary/debug.js index be660017..dbadd8b2 100644 --- a/pc4mobx/hrmSalary/debug.js +++ b/pc4mobx/hrmSalary/debug.js @@ -34,7 +34,7 @@ const Root = () => ( - + { Module.Route } diff --git a/pc4mobx/hrmSalary/pages/calculate/baseFormModal.js b/pc4mobx/hrmSalary/pages/calculate/baseFormModal.js index 4a04f93d..1deacd94 100644 --- a/pc4mobx/hrmSalary/pages/calculate/baseFormModal.js +++ b/pc4mobx/hrmSalary/pages/calculate/baseFormModal.js @@ -54,7 +54,7 @@ export default class baseFormModal extends React.Component { saveBasic(params).then((id) => { this.props.onCancel() this.props.onRefresh() - window.open("/spa/hrmSalary/static/index.html#/main/hrmSalary/calculateDetailz?id=" + id) + window.open("/spa/hrmSalary/static/index.html#/main/hrmSalary/calculateDetail?id=" + id) }) }