|
@@ -221,15 +221,19 @@ function FlowModal(props) {
|
|
|
<Flow meta={{ type: 'view' }} flowDetail={graphData} onSelectNode={handleSelectNode} />
|
|
|
</Col>
|
|
|
<Col span={8}>
|
|
|
- {isOut && data.length == 1 && !data[0].children && (
|
|
|
- <Button
|
|
|
- type="primary"
|
|
|
- style={{ float: 'right', marginBottom: '10px' }}
|
|
|
- onClick={() => setVersionVisible(true)}
|
|
|
- >
|
|
|
- 新建清单
|
|
|
- </Button>
|
|
|
- )}
|
|
|
+ <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
|
+ <div style={{ fontSize: '16px' }}>清单列表</div>
|
|
|
+ {isOut && (
|
|
|
+ <Button
|
|
|
+ type="primary"
|
|
|
+ style={{ float: 'right', marginBottom: '10px' }}
|
|
|
+ onClick={() => setVersionVisible(true)}
|
|
|
+ >
|
|
|
+ 新建清单
|
|
|
+ </Button>
|
|
|
+ )}
|
|
|
+ </div>
|
|
|
+
|
|
|
<div style={{ width: '100%' }}>
|
|
|
<Table
|
|
|
style={{ maxHeight: '90%' }}
|