|
@@ -33,7 +33,6 @@ const goMyList = () => {
|
|
|
}
|
|
|
const routerDetail = (item) =>{
|
|
|
const id = item.businessId
|
|
|
- debugger
|
|
|
if (item.businessType === 'generateInspect') {
|
|
|
push({ name:'InspectOrderWrite', params:{id} })
|
|
|
}else if(item.businessType === 'failureReport') {
|
|
@@ -43,6 +42,15 @@ const routerDetail = (item) =>{
|
|
|
id: id
|
|
|
}
|
|
|
})
|
|
|
+ } else if (item.businessType === 'generateMaintain') {
|
|
|
+ push({ name: 'MaintainEdit', params: {id } })
|
|
|
+ } else if (item.businessType === 'maintainOut') {
|
|
|
+ push({
|
|
|
+ name: 'BpmProcessInstanceDetail',
|
|
|
+ query: {
|
|
|
+ id: id
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
// ========== 初始化 =========
|