diff --git a/pc4mobx/hrmSalary/pages/declare/components/declareTablelist/index.js b/pc4mobx/hrmSalary/pages/declare/components/declareTablelist/index.js index f80b51a5..f5df7059 100644 --- a/pc4mobx/hrmSalary/pages/declare/components/declareTablelist/index.js +++ b/pc4mobx/hrmSalary/pages/declare/components/declareTablelist/index.js @@ -86,7 +86,7 @@ class Index extends Component { } return { ...o, width }; }) - }); + }, ()=> props.onChangeAZOperate(canOperate)); } }).catch(() => this.setState({ loading: false })); }; diff --git a/pc4mobx/hrmSalary/pages/declare/declare.js b/pc4mobx/hrmSalary/pages/declare/declare.js index 2c6fa625..6da513ae 100644 --- a/pc4mobx/hrmSalary/pages/declare/declare.js +++ b/pc4mobx/hrmSalary/pages/declare/declare.js @@ -31,14 +31,15 @@ class Calculate extends Component { ] }, isRefresh: false, declareDaialog: { visible: false, title: "" }, - logDialogVisible: false, filterConditions: "[]" + logDialogVisible: false, filterConditions: "[]", + azOperate: false//艾志二开操作按钮的权限 }; this.handleDebounce = null; } renderCalculateOpts = () => { const { taxAgentStore: { showOperateBtn } } = this.props; - const { queryParams, isRefresh } = this.state; + const { queryParams, isRefresh, azOperate } = this.state; let calculateOpts = [