fix -- 修复流程图设计页面404以及显示异常bug
This commit is contained in:
@@ -74,6 +74,45 @@ export const constantRoutes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/definition',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: 'designer',
|
||||
component: () => import('@/views/workflow/definition/designer'),
|
||||
name: 'WorkflowDesigner',
|
||||
meta: { title: '流程设计', icon: '' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/task',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: 'record/index',
|
||||
component: () => import('@/views/workflow/task/record/index'),
|
||||
name: 'Record',
|
||||
meta: { title: '流程处理', icon: '' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/tool',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
children: [
|
||||
{
|
||||
path: 'build/index',
|
||||
component: () => import('@/views/tool/build/index'),
|
||||
name: 'FormBuild',
|
||||
meta: { title: '表单配置', icon: '' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/user',
|
||||
component: Layout,
|
||||
|
||||
@@ -476,7 +476,7 @@ export default {
|
||||
handleLoadXml(row) {
|
||||
this.process.open = false;
|
||||
this.$router.push({
|
||||
path: '/definition/designer/index',
|
||||
path: '/definition/designer',
|
||||
query: {
|
||||
definitionId: row.definitionId,
|
||||
processId: row.processKey,
|
||||
|
||||
@@ -295,6 +295,7 @@ export default {
|
||||
handleFlowRecord(row){
|
||||
this.$router.push({ path: '/task/record/index',
|
||||
query: {
|
||||
definitionId: row.procDefId,
|
||||
procInsId: row.procInsId,
|
||||
deployId: row.deployId,
|
||||
taskId: row.taskId,
|
||||
|
||||
Reference in New Issue
Block a user