From e228c104d8261c50233e2082ce6989c6fbc5ae5c Mon Sep 17 00:00:00 2001
From: jason <2667446@qq.com>
Date: Tue, 1 Apr 2025 22:41:55 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=20=E6=96=B0=E5=A2=9E=E5=8F=91=E8=B5=B7?=
=?UTF-8?q?=E7=94=B3=E8=AF=B7=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/bpm/process-definition/index.vue | 330 +++++++++++++++++++++
src/service/bpm/definition/index.ts | 14 +
src/service/category/CategoryApi.ts | 4 +-
3 files changed, 346 insertions(+), 2 deletions(-)
create mode 100644 src/pages/bpm/process-definition/index.vue
create mode 100644 src/service/bpm/definition/index.ts
diff --git a/src/pages/bpm/process-definition/index.vue b/src/pages/bpm/process-definition/index.vue
new file mode 100644
index 0000000..8a7209c
--- /dev/null
+++ b/src/pages/bpm/process-definition/index.vue
@@ -0,0 +1,330 @@
+
+{
+ layout: 'default',
+ type: 'page',
+ style: {
+ navigationBarTitleText: '发起申请'
+ // navigationStyle: 'custom' TODO 这个导航栏需要自定义吗?
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ tab.name }}
+
+
+
+
+
+
+
+
+ {{ getCategoryName(category) }}
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+ 发起申请
+
+
+
+
+ 审批中心
+
+
+
+
+ 待定
+
+
+
+
+
+
+
diff --git a/src/service/bpm/definition/index.ts b/src/service/bpm/definition/index.ts
new file mode 100644
index 0000000..0eea375
--- /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 2fff5dc..574cd74 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')
}
--
Gitee