|
@@ -8,6 +8,7 @@ import { CheckOutlined } from '@ant-design/icons';
|
|
import { queryRecordSheet, queryVserionByNode } from '@/services/boom';
|
|
import { queryRecordSheet, queryVserionByNode } from '@/services/boom';
|
|
import { async } from '@antv/x6/lib/registry/marker/async';
|
|
import { async } from '@antv/x6/lib/registry/marker/async';
|
|
import VersionModal from './VersionModal';
|
|
import VersionModal from './VersionModal';
|
|
|
|
+
|
|
const { Step } = Steps;
|
|
const { Step } = Steps;
|
|
|
|
|
|
const { TextArea } = Input;
|
|
const { TextArea } = Input;
|
|
@@ -125,9 +126,11 @@ function FlowModal(props) {
|
|
};
|
|
};
|
|
|
|
|
|
const handleChangeClick = item => {
|
|
const handleChangeClick = item => {
|
|
- let type = item.flow_id ? 'detail/queryAuditRecord' : 'detail/queryAuditExcel';
|
|
|
|
|
|
+ let file = isOut ? 'newList' : 'detail';
|
|
|
|
+ let type = item.flow_id ? '/queryAuditRecord' : '/queryAuditExcel';
|
|
|
|
+ console.log(`${file}${type}`);
|
|
dispatch({
|
|
dispatch({
|
|
- type,
|
|
|
|
|
|
+ type: `${file}${type}`,
|
|
payload: {
|
|
payload: {
|
|
excel_id: item.id,
|
|
excel_id: item.id,
|
|
pageSize: 100,
|
|
pageSize: 100,
|
|
@@ -297,7 +300,7 @@ const getColor = item => {
|
|
return color;
|
|
return color;
|
|
};
|
|
};
|
|
|
|
|
|
-// export default connect(({ xflow, detail }) => ({
|
|
|
|
-// flowDetail: xflow.flowDetail,
|
|
|
|
-// }))(FlowModal);
|
|
|
|
-export default FlowModal;
|
|
|
|
|
|
+export default connect(({ loading }) => ({
|
|
|
|
+ loading,
|
|
|
|
+}))(FlowModal);
|
|
|
|
+// export default FlowModal;
|