41 lines
819 B
JavaScript
41 lines
819 B
JavaScript
let dataA = {
|
|
name: '流程A',
|
|
nodeList: [
|
|
{
|
|
id: 'nodeA',
|
|
name: '流程A-节点A',
|
|
type: 'task',
|
|
left: '26px',
|
|
top: '161px',
|
|
ico: 'el-icon-user-solid'
|
|
},
|
|
{
|
|
id: 'nodeB',
|
|
name: '流程A-节点B',
|
|
type: 'task',
|
|
left: '340px',
|
|
top: '161px',
|
|
ico: 'el-icon-goods'
|
|
},
|
|
{
|
|
id: 'nodeC',
|
|
name: '流程A-节点C',
|
|
type: 'task',
|
|
left: '739px',
|
|
top: '161px',
|
|
ico: 'el-icon-present'
|
|
}
|
|
],
|
|
lineList: [{
|
|
from: 'nodeA',
|
|
to: 'nodeB'
|
|
}, {
|
|
from: 'nodeB',
|
|
to: 'nodeC'
|
|
}]
|
|
}
|
|
|
|
export function getDataA () {
|
|
return dataA
|
|
}
|