diff --git a/src/api/bpm/processInstance/index.ts b/src/api/bpm/processInstance/index.ts index 10cd3bc81f76f002076c3916caa4673030401e02..a937eae2383362e5302191616f79348ed35bd9a4 100644 --- a/src/api/bpm/processInstance/index.ts +++ b/src/api/bpm/processInstance/index.ts @@ -20,6 +20,17 @@ export type ProcessInstanceVO = { endTime: string } +export type ProcessInstanceCCVO = { + type: number, + taskName: string, + taskKey: string, + processInstanceName: string, + processInstanceKey: string, + startUserId: string, + options:string [], + reason: string +} + export const getMyProcessInstancePage = async (params) => { return await request.get({ url: '/bpm/process-instance/my-page', params }) } @@ -39,3 +50,21 @@ export const cancelProcessInstance = async (id: number, reason: string) => { export const getProcessInstance = async (id: number) => { return await request.get({ url: '/bpm/process-instance/get?id=' + id }) } + +/** + * 抄送 + * @param data 抄送数据 + * @returns 是否抄送成功 + */ +export const createProcessInstanceCC = async (data) => { + return await request.post({ url: '/bpm/process-instance/cc/create', data: data }) +} + +/** + * 抄送列表 + * @param params + * @returns + */ +export const getProcessInstanceCCPage = async (params) => { + return await request.get({ url: '/bpm/process-instance/cc/my-page', params }) +} \ No newline at end of file diff --git a/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue b/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue new file mode 100644 index 0000000000000000000000000000000000000000..72be31507727a4c23a212968acca895ab9cdb167 --- /dev/null +++ b/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue @@ -0,0 +1,242 @@ + + diff --git a/src/views/bpm/task/cc/index.vue b/src/views/bpm/task/cc/index.vue new file mode 100644 index 0000000000000000000000000000000000000000..b385220903f39a5df75ff6c53d3cdf07a639dc49 --- /dev/null +++ b/src/views/bpm/task/cc/index.vue @@ -0,0 +1,134 @@ + + diff --git a/src/views/bpm/task/todo/index.vue b/src/views/bpm/task/todo/index.vue index c88768873cda8bb40e818affd5b5ab9b039e632f..b281d949e093d34e5b52da8d83b852b367ddc8c6 100644 --- a/src/views/bpm/task/todo/index.vue +++ b/src/views/bpm/task/todo/index.vue @@ -64,6 +64,7 @@ @@ -74,12 +75,14 @@ :total="total" @pagination="getList" /> +