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

27436 [贵建学工]资助

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