diff --git a/src/pages/bpm/process-definition/index.vue b/src/pages/bpm/process-definition/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..8a7209c17feae22ce620bba96097a7a464fbe7d1 --- /dev/null +++ b/src/pages/bpm/process-definition/index.vue @@ -0,0 +1,330 @@ + +{ + layout: 'default', + type: 'page', + style: { + navigationBarTitleText: '发起申请' + // navigationStyle: 'custom' TODO 这个导航栏需要自定义吗? + } +} + + + + + + diff --git a/src/service/bpm/definition/index.ts b/src/service/bpm/definition/index.ts new file mode 100644 index 0000000000000000000000000000000000000000..0eea375f9eec36f250c1b9a8c7be2aa1e737d0c6 --- /dev/null +++ b/src/service/bpm/definition/index.ts @@ -0,0 +1,14 @@ +import { http, httpGet, httpPost } from '@/utils/http' + +/** + * 获取流程定义列表 + * + * @param params + */ +export const getProcessDefinitionList = async (params): Promise => { + return await http({ + url: '/bpm/process-definition/list', + query: params, + method: 'GET' + }) +} diff --git a/src/service/category/CategoryApi.ts b/src/service/category/CategoryApi.ts index 2fff5dc69af78743e8b8c3bb788c58225a27f881..574cd7464544ba394639409e411cb86c5668e509 100644 --- a/src/service/category/CategoryApi.ts +++ b/src/service/category/CategoryApi.ts @@ -11,6 +11,6 @@ export interface CategoryVO { // 查询流程分类列表 // todo 测试使用 拒绝anysripe -export const getCategorySimpleList = (): Promise => { - return httpGet('/bpm/category/simple-list') +export const getCategorySimpleList = (): Promise => { + return httpGet('/bpm/category/simple-list') }