diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index bc62a3c4..cecb3686 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -573,6 +573,40 @@ const remainingRouter: AppRouteRecordRaw[] = [ component: () => import('@/views/crm/product/detail/index.vue') } ] + }, + { + path: '/pms', + component: Layout, + name: 'pms', + meta: { + hidden: true + }, + children: [ + { + path: 'project/bpm/ProjectBpmCreate', + component: () => import('@/views/pms/project/bpm/ProjectBpmCreate.vue'), + name: 'ProjectBpmCreate', + meta: { + noCache: true, + hidden: true, + canTo: true, + title: '发起项目立项', + activeMenu: 'pms/project' + } + }, + { + path: 'project/bpm/ProjectBpmDetail', + component: () => import('@/views/pms/project/bpm/ProjectBpmDetail.vue'), + name: 'ProjectBpmDetail', + meta: { + noCache: true, + hidden: true, + canTo: true, + title: '查看项目立项详情', + activeMenu: 'pms/project' + } + } + ] } ] diff --git a/src/views/pms/project/ProjectForm.vue b/src/views/pms/project/ProjectForm.vue index ba6ed1ae..ba858205 100644 --- a/src/views/pms/project/ProjectForm.vue +++ b/src/views/pms/project/ProjectForm.vue @@ -186,7 +186,7 @@ - + diff --git a/src/views/pms/project/bpm/ProjectBpmDetail.vue b/src/views/pms/project/bpm/ProjectBpmDetail.vue new file mode 100644 index 00000000..08a74788 --- /dev/null +++ b/src/views/pms/project/bpm/ProjectBpmDetail.vue @@ -0,0 +1,115 @@ + + diff --git a/src/views/pms/project/index.vue b/src/views/pms/project/index.vue index a5841013..116dbe01 100644 --- a/src/views/pms/project/index.vue +++ b/src/views/pms/project/index.vue @@ -103,6 +103,15 @@ > 编辑 + + 进度 + ([]) // 列表的数据 const total = ref(0) // 列表的总页数 const userOptions = ref([]) // 用户列表 +const router = useRouter() // 路由 const queryParams = reactive({ pageNo: 1, pageSize: 10, @@ -217,6 +227,16 @@ const handleExport = async () => { } } +/** 审批进度 */ +const handleProcessDetail = (row) => { + router.push({ + name: 'BpmProcessInstanceDetail', + query: { + id: row.processInstanceId + } + }) +} + /** 初始化 **/ onMounted(() => { getList()