提交 8870c7b6 authored 作者: 钟是志's avatar 钟是志

27436 [贵建学工]资助

上级 44360ed4
......@@ -16,7 +16,7 @@ export default class AuditPage extends Component {
componentDidMount() {}
handleButtonSet = () => {
const { hasBatchAudit, batchAuditButtonName, noNeedForm } = this.props;
const { hasBatchAudit, batchAuditButtonName, noNeedForm, tab2Buttons = [] } = this.props;
return {
tab1: [
hasBatchAudit
......@@ -56,7 +56,7 @@ export default class AuditPage extends Component {
}
: false,
].filter((i) => i),
tab2: [],
tab2: tab2Buttons,
};
};
......
......@@ -156,7 +156,7 @@ export default class Index extends React.Component {
allConfigSetInfo,
tableInfo,
} = this.state;
const { hasBatchAudit, batchAuditButtonName, showPrint, noNeedForm } = this.props;
const { hasBatchAudit, batchAuditButtonName, showPrint, noNeedForm, tab2Buttons = [] } = this.props;
if (!workId) {
return null;
}
......@@ -173,6 +173,7 @@ export default class Index extends React.Component {
batchAuditButtonName={batchAuditButtonName}
showPrint={showPrint}
noNeedForm={noNeedForm}
tab2Buttons={tab2Buttons}
/>
);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论