From cd7c5aa52df36cb4127c213bee936d2c761363a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Tue, 20 Aug 2024 00:47:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{workflow => flowable}/category/index.ts | 14 ++++---- .../{workflow => flowable}/category/types.ts | 0 .../{workflow => flowable}/deploy/index.ts | 12 +++---- .../{workflow => flowable}/deploy/types.ts | 0 .../api/{workflow => flowable}/form/index.ts | 10 +++--- .../api/{workflow => flowable}/form/types.ts | 0 .../{workflow => flowable}/identity/index.ts | 6 ++-- .../{workflow => flowable}/identity/types.ts | 0 .../{workflow => flowable}/listener/index.ts | 18 +++++----- .../{workflow => flowable}/listener/types.ts | 0 .../api/{workflow => flowable}/model/index.ts | 20 +++++------ .../api/{workflow => flowable}/model/types.ts | 0 .../{workflow => flowable}/work/process.ts | 26 +++++++------- .../api/{workflow => flowable}/work/task.ts | 16 ++++----- .../api/{workflow => flowable}/work/types.ts | 0 .../{workflow => flowable}/category/index.vue | 21 +++++------ .../{workflow => flowable}/deploy/index.vue | 24 ++++++------- .../{workflow => flowable}/form/index.vue | 23 ++++++------ .../{workflow => flowable}/listener/index.vue | 27 +++++++------- .../{workflow => flowable}/model/index.vue | 35 ++++++++++--------- .../{workflow => flowable}/work/claim.vue | 22 ++++++------ .../{workflow => flowable}/work/copy.vue | 20 +++++------ .../{workflow => flowable}/work/detail.vue | 12 +++---- .../{workflow => flowable}/work/finished.vue | 24 ++++++------- .../{workflow => flowable}/work/index.vue | 0 .../{workflow => flowable}/work/initiate.vue | 19 +++++----- .../views/{workflow => flowable}/work/own.vue | 28 +++++++-------- .../{workflow => flowable}/work/start.vue | 2 +- .../{workflow => flowable}/work/todo.vue | 21 +++++------ 29 files changed, 203 insertions(+), 197 deletions(-) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/category/index.ts (76%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/category/types.ts (100%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/deploy/index.ts (74%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/deploy/types.ts (100%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/form/index.ts (84%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/form/types.ts (100%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/identity/index.ts (70%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/identity/types.ts (100%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/listener/index.ts (80%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/listener/types.ts (100%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/model/index.ts (79%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/model/types.ts (100%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/work/process.ts (74%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/work/task.ts (77%) rename yanzhu-ui-vue3/src/api/{workflow => flowable}/work/types.ts (100%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/category/index.vue (91%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/deploy/index.vue (93%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/form/index.vue (92%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/listener/index.vue (95%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/model/index.vue (94%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/work/claim.vue (89%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/work/copy.vue (89%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/work/detail.vue (98%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/work/finished.vue (89%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/work/index.vue (100%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/work/initiate.vue (91%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/work/own.vue (89%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/work/start.vue (96%) rename yanzhu-ui-vue3/src/views/{workflow => flowable}/work/todo.vue (89%) diff --git a/yanzhu-ui-vue3/src/api/workflow/category/index.ts b/yanzhu-ui-vue3/src/api/flowable/category/index.ts similarity index 76% rename from yanzhu-ui-vue3/src/api/workflow/category/index.ts rename to yanzhu-ui-vue3/src/api/flowable/category/index.ts index d9259059..3e04e3c8 100644 --- a/yanzhu-ui-vue3/src/api/workflow/category/index.ts +++ b/yanzhu-ui-vue3/src/api/flowable/category/index.ts @@ -1,11 +1,11 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; -import { CategoryForm, CategoryQuery, CategoryVO } from '@/api/workflow/category/types'; +import { CategoryForm, CategoryQuery, CategoryVO } from '@/api/flowable/category/types'; // 查询流程分类列表 export function listCategory(query: CategoryQuery): AxiosPromise { return request({ - url: '/workflow/category/list', + url: '/flowable/category/list', method: 'get', params: query }); @@ -14,7 +14,7 @@ export function listCategory(query: CategoryQuery): AxiosPromise { // 查询流程分类列表 export function listAllCategory(query?: CategoryQuery): AxiosPromise { return request({ - url: '/workflow/category/listAll', + url: '/flowable/category/listAll', method: 'get', params: query }); @@ -23,7 +23,7 @@ export function listAllCategory(query?: CategoryQuery): AxiosPromise { return request({ - url: '/workflow/category/' + categoryId, + url: '/flowable/category/' + categoryId, method: 'get' }); } @@ -31,7 +31,7 @@ export function getCategory(categoryId?: string | number): AxiosPromise) { return request({ - url: '/workflow/category/' + categoryIds, + url: '/flowable/category/' + categoryIds, method: 'delete' }); } diff --git a/yanzhu-ui-vue3/src/api/workflow/category/types.ts b/yanzhu-ui-vue3/src/api/flowable/category/types.ts similarity index 100% rename from yanzhu-ui-vue3/src/api/workflow/category/types.ts rename to yanzhu-ui-vue3/src/api/flowable/category/types.ts diff --git a/yanzhu-ui-vue3/src/api/workflow/deploy/index.ts b/yanzhu-ui-vue3/src/api/flowable/deploy/index.ts similarity index 74% rename from yanzhu-ui-vue3/src/api/workflow/deploy/index.ts rename to yanzhu-ui-vue3/src/api/flowable/deploy/index.ts index 5afda887..8c015bed 100644 --- a/yanzhu-ui-vue3/src/api/workflow/deploy/index.ts +++ b/yanzhu-ui-vue3/src/api/flowable/deploy/index.ts @@ -1,11 +1,11 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; -import { DeployVO, ProcessQuery } from '@/api/workflow/deploy/types'; +import { DeployVO, ProcessQuery } from '@/api/flowable/deploy/types'; // 查询流程部署列表 export function listDeploy(query: ProcessQuery): AxiosPromise { return request({ - url: '/workflow/deploy/list', + url: '/flowable/deploy/list', method: 'get', params: query }); @@ -13,7 +13,7 @@ export function listDeploy(query: ProcessQuery): AxiosPromise { export function listPublish(query: ProcessQuery): AxiosPromise { return request({ - url: '/workflow/deploy/publishList', + url: '/flowable/deploy/publishList', method: 'get', params: query }); @@ -22,7 +22,7 @@ export function listPublish(query: ProcessQuery): AxiosPromise { // 获取流程模型流程图 export function getBpmnXml(definitionId?: string) { return request({ - url: '/workflow/deploy/bpmnXml/' + definitionId, + url: '/flowable/deploy/bpmnXml/' + definitionId, method: 'get' }); } @@ -30,7 +30,7 @@ export function getBpmnXml(definitionId?: string) { // 修改流程状态 export function changeState(params?: any) { return request({ - url: '/workflow/deploy/changeState', + url: '/flowable/deploy/changeState', method: 'put', params: params }); @@ -39,7 +39,7 @@ export function changeState(params?: any) { // 删除流程部署 export function delDeploy(deployIds?: string | string[]) { return request({ - url: '/workflow/deploy/' + deployIds, + url: '/flowable/deploy/' + deployIds, method: 'delete' }); } diff --git a/yanzhu-ui-vue3/src/api/workflow/deploy/types.ts b/yanzhu-ui-vue3/src/api/flowable/deploy/types.ts similarity index 100% rename from yanzhu-ui-vue3/src/api/workflow/deploy/types.ts rename to yanzhu-ui-vue3/src/api/flowable/deploy/types.ts diff --git a/yanzhu-ui-vue3/src/api/workflow/form/index.ts b/yanzhu-ui-vue3/src/api/flowable/form/index.ts similarity index 84% rename from yanzhu-ui-vue3/src/api/workflow/form/index.ts rename to yanzhu-ui-vue3/src/api/flowable/form/index.ts index 68065ce0..a406b6ff 100644 --- a/yanzhu-ui-vue3/src/api/workflow/form/index.ts +++ b/yanzhu-ui-vue3/src/api/flowable/form/index.ts @@ -5,7 +5,7 @@ import { AxiosPromise } from 'axios'; // 查询流程表单列表 export function listForm(query?: FormQuery): AxiosPromise { return request({ - url: '/workflow/form/list', + url: '/flowable/form/list', method: 'get', params: query }); @@ -14,7 +14,7 @@ export function listForm(query?: FormQuery): AxiosPromise { // 查询流程表单详细 export function getForm(formId: string | number): AxiosPromise { return request({ - url: '/workflow/form/' + formId, + url: '/flowable/form/' + formId, method: 'get' }); } @@ -22,7 +22,7 @@ export function getForm(formId: string | number): AxiosPromise { // 新增流程表单 export function addForm(data: FormForm) { return request({ - url: '/workflow/form', + url: '/flowable/form', method: 'post', data: data }); @@ -31,7 +31,7 @@ export function addForm(data: FormForm) { // 修改流程表单 export function updateForm(data: FormForm) { return request({ - url: '/workflow/form', + url: '/flowable/form', method: 'put', data: data }); @@ -40,7 +40,7 @@ export function updateForm(data: FormForm) { // 删除流程表单 export function delForm(formId?: string | number | (string | number)[]) { return request({ - url: '/workflow/form/' + formId, + url: '/flowable/form/' + formId, method: 'delete' }); } diff --git a/yanzhu-ui-vue3/src/api/workflow/form/types.ts b/yanzhu-ui-vue3/src/api/flowable/form/types.ts similarity index 100% rename from yanzhu-ui-vue3/src/api/workflow/form/types.ts rename to yanzhu-ui-vue3/src/api/flowable/form/types.ts diff --git a/yanzhu-ui-vue3/src/api/workflow/identity/index.ts b/yanzhu-ui-vue3/src/api/flowable/identity/index.ts similarity index 70% rename from yanzhu-ui-vue3/src/api/workflow/identity/index.ts rename to yanzhu-ui-vue3/src/api/flowable/identity/index.ts index 0eb9280c..0ab10a96 100644 --- a/yanzhu-ui-vue3/src/api/workflow/identity/index.ts +++ b/yanzhu-ui-vue3/src/api/flowable/identity/index.ts @@ -1,11 +1,11 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; -import { UserVO, DeptVO } from '@/api/workflow/identity/types'; +import { UserVO, DeptVO } from '@/api/flowable/identity/types'; // 查询流程模型信息 export function selectUser(query?: any): AxiosPromise { return request({ - url: '/workflow/identity/selectUser', + url: '/flowable/identity/selectUser', method: 'get', params: query }); @@ -13,7 +13,7 @@ export function selectUser(query?: any): AxiosPromise { export function deptTreeSelect(): AxiosPromise { return request({ - url: '/workflow/identity/deptTree', + url: '/flowable/identity/deptTree', method: 'get' }); } diff --git a/yanzhu-ui-vue3/src/api/workflow/identity/types.ts b/yanzhu-ui-vue3/src/api/flowable/identity/types.ts similarity index 100% rename from yanzhu-ui-vue3/src/api/workflow/identity/types.ts rename to yanzhu-ui-vue3/src/api/flowable/identity/types.ts diff --git a/yanzhu-ui-vue3/src/api/workflow/listener/index.ts b/yanzhu-ui-vue3/src/api/flowable/listener/index.ts similarity index 80% rename from yanzhu-ui-vue3/src/api/workflow/listener/index.ts rename to yanzhu-ui-vue3/src/api/flowable/listener/index.ts index 4417c1e4..4cceecc5 100644 --- a/yanzhu-ui-vue3/src/api/workflow/listener/index.ts +++ b/yanzhu-ui-vue3/src/api/flowable/listener/index.ts @@ -5,7 +5,7 @@ import {AxiosPromise} from 'axios'; // 分页查询流程监听器 export function queryListenerPage(query?: ListenerQuery): AxiosPromise { return request({ - url: '/workflow/listener/queryPage', + url: '/flowable/listener/queryPage', method: 'get', params: query }); @@ -14,7 +14,7 @@ export function queryListenerPage(query?: ListenerQuery): AxiosPromise { return request({ - url: '/workflow/listener/queryList', + url: '/flowable/listener/queryList', method: 'get', params: query }); @@ -23,7 +23,7 @@ export function queryListenerList(query?: ListenerQuery): AxiosPromise { return request({ - url: '/workflow/listener/query/' + formId, + url: '/flowable/listener/query/' + formId, method: 'get' }); } @@ -31,7 +31,7 @@ export function getListener(formId: string | number): AxiosPromise { // 新增流程监听器 export function addListener(data: ListenerForm) { return request({ - url: '/workflow/listener/insert', + url: '/flowable/listener/insert', method: 'post', data: data }); @@ -40,7 +40,7 @@ export function addListener(data: ListenerForm) { // 修改流程监听器 export function updateListener(data: ListenerForm) { return request({ - url: '/workflow/listener/update', + url: '/flowable/listener/update', method: 'post', data: data }); @@ -49,7 +49,7 @@ export function updateListener(data: ListenerForm) { // 删除流程监听器 export function delListener(listenerId?: string | number | (string | number)[]) { return request({ - url: '/workflow/listener/delete/' + listenerId, + url: '/flowable/listener/delete/' + listenerId, method: 'post' }); } @@ -57,7 +57,7 @@ export function delListener(listenerId?: string | number | (string | number)[]) // 新增流程监听器字段 export function insertListenerFieldAPI(data: ListenerFieldForm) { return request({ - url: '/workflow/listener/insertField', + url: '/flowable/listener/insertField', method: 'post', data: data }); @@ -66,7 +66,7 @@ export function insertListenerFieldAPI(data: ListenerFieldForm) { // 修改流程监听器字段 export function updateListenerFieldAPI(data: ListenerFieldForm) { return request({ - url: '/workflow/listener/updateField', + url: '/flowable/listener/updateField', method: 'post', data: data }); @@ -75,7 +75,7 @@ export function updateListenerFieldAPI(data: ListenerFieldForm) { // 删除流程监听器字段 export function deleteListenerFieldAPI(fieldIds?: string | number | (string | number)[]) { return request({ - url: '/workflow/listener/deleteField/' + fieldIds, + url: '/flowable/listener/deleteField/' + fieldIds, method: 'post' }); } diff --git a/yanzhu-ui-vue3/src/api/workflow/listener/types.ts b/yanzhu-ui-vue3/src/api/flowable/listener/types.ts similarity index 100% rename from yanzhu-ui-vue3/src/api/workflow/listener/types.ts rename to yanzhu-ui-vue3/src/api/flowable/listener/types.ts diff --git a/yanzhu-ui-vue3/src/api/workflow/model/index.ts b/yanzhu-ui-vue3/src/api/flowable/model/index.ts similarity index 79% rename from yanzhu-ui-vue3/src/api/workflow/model/index.ts rename to yanzhu-ui-vue3/src/api/flowable/model/index.ts index bcccfead..cb24c413 100644 --- a/yanzhu-ui-vue3/src/api/workflow/model/index.ts +++ b/yanzhu-ui-vue3/src/api/flowable/model/index.ts @@ -5,7 +5,7 @@ import { ModelQuery, ModelVO } from './types'; // 查询流程模型信息 export function listModel(query?: ModelQuery): AxiosPromise { return request({ - url: '/workflow/model/list', + url: '/flowable/model/list', method: 'get', params: query }); @@ -14,7 +14,7 @@ export function listModel(query?: ModelQuery): AxiosPromise { // 查询流程模型信息 export function historyModel(query?: ModelQuery): AxiosPromise { return request({ - url: '/workflow/model/historyList', + url: '/flowable/model/historyList', method: 'get', params: query }); @@ -22,7 +22,7 @@ export function historyModel(query?: ModelQuery): AxiosPromise { export function getModel(modelId?: string) { return request({ - url: '/workflow/model/' + modelId, + url: '/flowable/model/' + modelId, method: 'get' }); } @@ -30,7 +30,7 @@ export function getModel(modelId?: string) { // 新增模型信息 export function addModel(data?: any) { return request({ - url: '/workflow/model', + url: '/flowable/model', method: 'post', data: data }); @@ -39,7 +39,7 @@ export function addModel(data?: any) { // 修改模型信息 export function updateModel(data?: any) { return request({ - url: '/workflow/model', + url: '/flowable/model', method: 'put', data: data }); @@ -48,7 +48,7 @@ export function updateModel(data?: any) { // 保存流程模型 export function saveModel(data?: any) { return request({ - url: '/workflow/model/save', + url: '/flowable/model/save', method: 'post', data: data }); @@ -56,7 +56,7 @@ export function saveModel(data?: any) { export function latestModel(params?: any) { return request({ - url: '/workflow/model/latest', + url: '/flowable/model/latest', method: 'post', params: params }); @@ -64,14 +64,14 @@ export function latestModel(params?: any) { export function delModel(modelIds?: string | string[]) { return request({ - url: '/workflow/model/' + modelIds, + url: '/flowable/model/' + modelIds, method: 'delete' }); } export function deployModel(params?: any) { return request({ - url: '/workflow/model/deploy', + url: '/flowable/model/deploy', method: 'post', params: params }); @@ -80,7 +80,7 @@ export function deployModel(params?: any) { // 获取流程模型流程图 export function getBpmnXml(modelId?: string) { return request({ - url: '/workflow/model/bpmnXml/' + modelId, + url: '/flowable/model/bpmnXml/' + modelId, method: 'get' }); } diff --git a/yanzhu-ui-vue3/src/api/workflow/model/types.ts b/yanzhu-ui-vue3/src/api/flowable/model/types.ts similarity index 100% rename from yanzhu-ui-vue3/src/api/workflow/model/types.ts rename to yanzhu-ui-vue3/src/api/flowable/model/types.ts diff --git a/yanzhu-ui-vue3/src/api/workflow/work/process.ts b/yanzhu-ui-vue3/src/api/flowable/work/process.ts similarity index 74% rename from yanzhu-ui-vue3/src/api/workflow/work/process.ts rename to yanzhu-ui-vue3/src/api/flowable/work/process.ts index 9a562aff..117d718a 100644 --- a/yanzhu-ui-vue3/src/api/workflow/work/process.ts +++ b/yanzhu-ui-vue3/src/api/flowable/work/process.ts @@ -1,11 +1,11 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; -import { ProcessQuery, ProcessVO } from '@/api/workflow/work/types'; +import { ProcessQuery, ProcessVO } from '@/api/flowable/work/types'; // 查询流程列表 export function listProcess(query?: ProcessQuery): AxiosPromise { return request({ - url: '/workflow/process/list', + url: '/flowable/process/list', method: 'get', params: query }); @@ -14,7 +14,7 @@ export function listProcess(query?: ProcessQuery): AxiosPromise { // 查询流程列表 export function getProcessForm(query?: any) { return request({ - url: '/workflow/process/getProcessForm', + url: '/flowable/process/getProcessForm', method: 'get', params: query }); @@ -23,7 +23,7 @@ export function getProcessForm(query?: any) { // 部署流程实例 export function startProcess(processDefId?: string, data?: string) { return request({ - url: '/workflow/process/start/' + processDefId, + url: '/flowable/process/start/' + processDefId, method: 'post', data: data }); @@ -32,7 +32,7 @@ export function startProcess(processDefId?: string, data?: string) { // 删除流程实例 export function delProcess(ids?: string) { return request({ - url: '/workflow/process/instance/' + ids, + url: '/flowable/process/instance/' + ids, method: 'delete' }); } @@ -40,14 +40,14 @@ export function delProcess(ids?: string) { // 获取流程图 export function getBpmnXml(processDefId?: string) { return request({ - url: '/workflow/process/bpmnXml/' + processDefId, + url: '/flowable/process/bpmnXml/' + processDefId, method: 'get' }); } export function detailProcess(query?: any) { return request({ - url: '/workflow/process/detail', + url: '/flowable/process/detail', method: 'get', params: query }); @@ -56,7 +56,7 @@ export function detailProcess(query?: any) { // 我的发起的流程 export function listOwnProcess(query?: any) { return request({ - url: '/workflow/process/ownList', + url: '/flowable/process/ownList', method: 'get', params: query }); @@ -65,7 +65,7 @@ export function listOwnProcess(query?: any) { // 我待办的流程 export function listTodoProcess(query?: any) { return request({ - url: '/workflow/process/todoList', + url: '/flowable/process/todoList', method: 'get', params: query }); @@ -74,7 +74,7 @@ export function listTodoProcess(query?: any) { // 我待签的流程 export function listClaimProcess(query?: any) { return request({ - url: '/workflow/process/claimList', + url: '/flowable/process/claimList', method: 'get', params: query }); @@ -83,7 +83,7 @@ export function listClaimProcess(query?: any) { // 我已办的流程 export function listFinishedProcess(query?: any) { return request({ - url: '/workflow/process/finishedList', + url: '/flowable/process/finishedList', method: 'get', params: query }); @@ -92,7 +92,7 @@ export function listFinishedProcess(query?: any) { // 查询流程抄送列表 export function listCopyProcess(query?: any) { return request({ - url: '/workflow/process/copyList', + url: '/flowable/process/copyList', method: 'get', params: query }); @@ -101,7 +101,7 @@ export function listCopyProcess(query?: any) { // 取消申请 export function stopProcess(data?: any) { return request({ - url: '/workflow/task/stopProcess', + url: '/flowable/task/stopProcess', method: 'post', data: data }); diff --git a/yanzhu-ui-vue3/src/api/workflow/work/task.ts b/yanzhu-ui-vue3/src/api/flowable/work/task.ts similarity index 77% rename from yanzhu-ui-vue3/src/api/workflow/work/task.ts rename to yanzhu-ui-vue3/src/api/flowable/work/task.ts index c8f47cf4..58c126ec 100644 --- a/yanzhu-ui-vue3/src/api/workflow/work/task.ts +++ b/yanzhu-ui-vue3/src/api/flowable/work/task.ts @@ -3,7 +3,7 @@ import request from '@/utils/request'; // 完成任务 export function complete(data?: any) { return request({ - url: '/workflow/task/complete', + url: '/flowable/task/complete', method: 'post', data: data }); @@ -12,7 +12,7 @@ export function complete(data?: any) { // 委派任务 export function delegate(data?: any) { return request({ - url: '/workflow/task/delegate', + url: '/flowable/task/delegate', method: 'post', data: data }); @@ -21,7 +21,7 @@ export function delegate(data?: any) { // 转办任务 export function transfer(data?: any) { return request({ - url: '/workflow/task/transfer', + url: '/flowable/task/transfer', method: 'post', data: data }); @@ -30,7 +30,7 @@ export function transfer(data?: any) { // 退回任务 export function returnTask(data?: any) { return request({ - url: '/workflow/task/return', + url: '/flowable/task/return', method: 'post', data: data }); @@ -39,7 +39,7 @@ export function returnTask(data?: any) { // 拒绝任务 export function rejectTask(data?: any) { return request({ - url: '/workflow/task/reject', + url: '/flowable/task/reject', method: 'post', data: data }); @@ -48,7 +48,7 @@ export function rejectTask(data?: any) { // 签收任务 export function claimTask(data?: any) { return request({ - url: '/workflow/task/claim', + url: '/flowable/task/claim', method: 'post', data: data }); @@ -57,7 +57,7 @@ export function claimTask(data?: any) { // 可退回任务列表 export function returnList(data?: any) { return request({ - url: '/workflow/task/returnList', + url: '/flowable/task/returnList', method: 'post', data: data }); @@ -66,7 +66,7 @@ export function returnList(data?: any) { // 撤回任务 export function revokeProcess(data?: any) { return request({ - url: '/workflow/task/revokeProcess', + url: '/flowable/task/revokeProcess', method: 'post', data: data }); diff --git a/yanzhu-ui-vue3/src/api/workflow/work/types.ts b/yanzhu-ui-vue3/src/api/flowable/work/types.ts similarity index 100% rename from yanzhu-ui-vue3/src/api/workflow/work/types.ts rename to yanzhu-ui-vue3/src/api/flowable/work/types.ts diff --git a/yanzhu-ui-vue3/src/views/workflow/category/index.vue b/yanzhu-ui-vue3/src/views/flowable/category/index.vue similarity index 91% rename from yanzhu-ui-vue3/src/views/workflow/category/index.vue rename to yanzhu-ui-vue3/src/views/flowable/category/index.vue index dc50dda6..a3eeb4f2 100644 --- a/yanzhu-ui-vue3/src/views/workflow/category/index.vue +++ b/yanzhu-ui-vue3/src/views/flowable/category/index.vue @@ -1,5 +1,5 @@