|
@@ -19,6 +19,7 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ //时间线数据格式
|
|
mockTimeLine:[
|
|
mockTimeLine:[
|
|
{
|
|
{
|
|
nodeType:1,
|
|
nodeType:1,
|
|
@@ -27,13 +28,13 @@ export default {
|
|
approverName:'张三',
|
|
approverName:'张三',
|
|
approveTime:'2023-10-10 10:10:10'
|
|
approveTime:'2023-10-10 10:10:10'
|
|
}],
|
|
}],
|
|
- nodeStatus:'passed',//节点已通过,withdraw:节点已撤回
|
|
|
|
|
|
+ nodeStatus:'passed',//passed节点已通过,return节点已撤回,reject节点已驳回,future节点未进行到
|
|
},{
|
|
},{
|
|
nodeType:2,
|
|
nodeType:2,
|
|
nodeText:'审批人:', //需要拼接成 审批人:2人(会签)
|
|
nodeText:'审批人:', //需要拼接成 审批人:2人(会签)
|
|
nodeStatus:'process',//节点正在进行中
|
|
nodeStatus:'process',//节点正在进行中
|
|
approveType:'会签',
|
|
approveType:'会签',
|
|
- approveList:[
|
|
|
|
|
|
+ approveList:[//参与审批的人员
|
|
{
|
|
{
|
|
approverName:'李四',
|
|
approverName:'李四',
|
|
approveTime:'2023-10-10 10:15:10',
|
|
approveTime:'2023-10-10 10:15:10',
|
|
@@ -45,57 +46,6 @@ export default {
|
|
approveReason:'就是驳回'
|
|
approveReason:'就是驳回'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
- },
|
|
|
|
- {
|
|
|
|
- nodeType:2,
|
|
|
|
- nodeText:'审批人:', //需要拼接
|
|
|
|
- nodeStatus:'reject',//节点驳回
|
|
|
|
- approveType:'依次审批',
|
|
|
|
- approveList:[
|
|
|
|
- {
|
|
|
|
- approverName:'李四',
|
|
|
|
- approveTime:'',
|
|
|
|
- approveStatus:'待处理'
|
|
|
|
- },{
|
|
|
|
- approverName:'王五',
|
|
|
|
- approveTime:'',
|
|
|
|
- approveStatus:'待处理'
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- nodeType:2,
|
|
|
|
- nodeText:'审批人:', //需要拼接
|
|
|
|
- nodeStatus:'return',//节点撤回
|
|
|
|
- approveType:'依次审批',
|
|
|
|
- approveList:[
|
|
|
|
- {
|
|
|
|
- approverName:'李四',
|
|
|
|
- approveTime:'',
|
|
|
|
- approveStatus:'待处理'
|
|
|
|
- },{
|
|
|
|
- approverName:'王五',
|
|
|
|
- approveTime:'',
|
|
|
|
- approveStatus:'待处理'
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- nodeType:2,
|
|
|
|
- nodeText:'审批人:', //需要拼接
|
|
|
|
- nodeStatus:'future',//节点未进行到
|
|
|
|
- approveType:'依次审批',
|
|
|
|
- approveList:[
|
|
|
|
- {
|
|
|
|
- approverName:'李四',
|
|
|
|
- approveTime:'',
|
|
|
|
- approveStatus:'待处理'
|
|
|
|
- },{
|
|
|
|
- approverName:'王五',
|
|
|
|
- approveTime:'',
|
|
|
|
- approveStatus:'待处理'
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
}
|
|
}
|
|
]
|
|
]
|
|
};
|
|
};
|