|
@@ -26,7 +26,7 @@ const FlowList = () => {
|
|
|
modalType: 'add',
|
|
|
modalVisible: false,
|
|
|
current: {
|
|
|
- ID: null,
|
|
|
+ dataID: null,
|
|
|
name: null,
|
|
|
readPretty: false
|
|
|
}
|
|
@@ -75,7 +75,7 @@ const FlowList = () => {
|
|
|
setState({
|
|
|
...state,
|
|
|
visible: true,
|
|
|
- current: { ...record.approval, readPretty: true }
|
|
|
+ current: { dataID: record.ID, name: record.name, readPretty: true }
|
|
|
})
|
|
|
}}>
|
|
|
{record.name}
|
|
@@ -110,7 +110,7 @@ const FlowList = () => {
|
|
|
setState({
|
|
|
...state,
|
|
|
visible: true,
|
|
|
- current: record.approval
|
|
|
+ current: { dataID: record.ID, name: record.name }
|
|
|
})
|
|
|
}}>
|
|
|
编辑流程
|