|
@@ -54,6 +54,7 @@ function Auth(props) {
|
|
|
//调用接口获取version信息
|
|
|
dispatch({
|
|
|
type: 'auth/queryVersionByNode',
|
|
|
+ payload: { template_node_id: item.node_id },
|
|
|
callback: versionList => {
|
|
|
let version = versionList.find(v => v.id == item.id) || {};
|
|
|
localStorage.excelItem = JSON.stringify(version);
|
|
@@ -79,7 +80,7 @@ function Auth(props) {
|
|
|
expandable={{ expandedRowRender: record => renderUnauth(record.nodes) }}
|
|
|
pagination={false}
|
|
|
rowKey="key"
|
|
|
- loading={loading.models.auth}
|
|
|
+ loading={loading.effects['auth/queryVersionByNode'] || loading.models.authList}
|
|
|
/>
|
|
|
</Panel>
|
|
|
<Panel header="已审批" key="1">
|