提交 f13eb855 authored 作者: 王绍森's avatar 王绍森

9038 评奖评优与创新创业,2,校团委审核是 做批量审核 (院团委校团委全部做)

上级 0ae33146
import React, { useState } from 'react';
import PageTypeMatching from '@/highOrderComponent/PageTypeMatching';
import getInfoGenerator from '@/webPublic/FormInsertDiy/getInfoGenerator';
import AuditModal from './AuditModal'
import AuditModal from './AuditModal';
import { findValueByKey } from '../../../../pages/zydtw/Cxcy/utils';
import withGoBack from '@/highOrderComponent/withGoBack';
const defaultNameSpan = { big: 9, small: 9 };
const defaultFieldSpan = { big: 4, small: 4 };
......@@ -14,8 +15,7 @@ const defaultPageSetting = {
buttonArea: true,
};
export default function BatchAudit({
export default withGoBack(function BatchAudit({
appId,
flowNode,
getInfo,
......@@ -51,23 +51,22 @@ export default function BatchAudit({
setCode(findValueByKey(res.rows[0], 'code'));
}
return res;
}
},
},
tableRowKey: tableRowKey || 'buzinessId',
columns: columns || [],
};
const defaultPageButton = [
{
type:'create',
name: '批量审核',
component: 'RenderComponent',
render: ({ selectRows, getPage }) => {
return <AuditModal selectRows={selectRows} getPage={getPage} code={code} />;
}
},
];
const defaultPageButton = [
{
type: 'create',
name: '批量审核',
component: 'RenderComponent',
render: ({ selectRows, getPage }) => {
return <AuditModal selectRows={selectRows} getPage={getPage} code={code} />;
},
},
];
return (
<PageTypeMatching
......@@ -77,4 +76,4 @@ const defaultPageButton = [
pageSearch={pageSearch}
/>
);
}
});
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论