|
@@ -125,12 +125,14 @@ function FlowModal(props) {
|
|
|
const res = await queryDelPurchaseExcel(data);
|
|
|
if (res.code == 200) {
|
|
|
message.success('删除成功');
|
|
|
- dispatch({
|
|
|
- type: 'xflow/queryBoomFlowDetail',
|
|
|
- payload: {
|
|
|
- id: templateId,
|
|
|
- },
|
|
|
- });
|
|
|
+ // dispatch({
|
|
|
+ // type: 'xflow/queryBoomFlowDetail',
|
|
|
+ // payload: {
|
|
|
+ // id: templateId,
|
|
|
+ // },
|
|
|
+ // });
|
|
|
+
|
|
|
+ initData(data.template_node_id);
|
|
|
}
|
|
|
},
|
|
|
});
|
|
@@ -366,7 +368,7 @@ function FlowModal(props) {
|
|
|
item.author == currentUser.ID && ( //自己创建的&&未提交的清单自己可以删除
|
|
|
<a
|
|
|
onClick={() => {
|
|
|
- onDelVersion({ excel_id: item.id });
|
|
|
+ onDelVersion({ excel_id: item.id, template_node_id: item.template_node_id });
|
|
|
}}
|
|
|
>
|
|
|
删除
|