diff --git a/src/api/bpm/task/index.ts b/src/api/bpm/task/index.ts
index 126f01eb..3177eefc 100644
--- a/src/api/bpm/task/index.ts
+++ b/src/api/bpm/task/index.ts
@@ -57,3 +57,10 @@ export const getReturnList = async (params) => {
export const okRollback = async (data) => {
return await request.put({ url: '/bpm/task/rollback', data })
}
+
+/**
+ * 委派
+ */
+export const delegateTask = async (data) => {
+ return await request.put({ url: '/bpm/task/delegate', data })
+}
diff --git a/src/views/bpm/processInstance/detail/ProcessInstanceTaskList.vue b/src/views/bpm/processInstance/detail/ProcessInstanceTaskList.vue
index ec87104d..6f4557ae 100644
--- a/src/views/bpm/processInstance/detail/ProcessInstanceTaskList.vue
+++ b/src/views/bpm/processInstance/detail/ProcessInstanceTaskList.vue
@@ -92,6 +92,9 @@ const getTimelineItemType = (item) => {
if (item.result === 5) {
return 'warning'
}
+ if (item.result === 6) {
+ return 'default'
+ }
return ''
}
diff --git a/src/views/bpm/processInstance/detail/TaskDelegateForm.vue b/src/views/bpm/processInstance/detail/TaskDelegateForm.vue
new file mode 100644
index 00000000..99c6cc7e
--- /dev/null
+++ b/src/views/bpm/processInstance/detail/TaskDelegateForm.vue
@@ -0,0 +1,86 @@
+
+
+
+
diff --git a/src/views/bpm/processInstance/detail/index.vue b/src/views/bpm/processInstance/detail/index.vue
index 6b57242d..d513bbbd 100644
--- a/src/views/bpm/processInstance/detail/index.vue
+++ b/src/views/bpm/processInstance/detail/index.vue
@@ -93,6 +93,8 @@
+
+