liuchen864
8 months ago
10 changed files with 4 additions and 707 deletions
@ -1,12 +1,12 @@ |
|||
# 页面标题 |
|||
VITE_APP_TITLE = 鸿翔TMS |
|||
VITE_APP_TITLE = QAD对外接口 |
|||
|
|||
# 生产环境配置 |
|||
VITE_APP_ENV = 'test' |
|||
|
|||
# 若依管理系统/生产环境 |
|||
VITE_APP_BASE_API = 'http://dev.ccwin-in.com:23111/api' |
|||
VITE_APP_BASE_API_IMAGE = 'http://dev.ccwin-in.com:23111' |
|||
VITE_APP_BASE_API = 'http://10.62.193.14:23111/api' |
|||
VITE_APP_BASE_API_IMAGE = 'http://10.62.193.14:23111' |
|||
|
|||
# 是否在打包时开启压缩,支持 gzip 和 brotli |
|||
VITE_BUILD_COMPRESS = gzip |
@ -1,140 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询流程定义列表
|
|||
export function listDefinition(query) { |
|||
return request({ |
|||
url: '/flowable/definition/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 部署流程实例
|
|||
export function definitionStart(procDefId, data) { |
|||
return request({ |
|||
url: '/flowable/definition/start/' + procDefId, |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 获取流程变量
|
|||
export function getProcessVariables(taskId) { |
|||
return request({ |
|||
url: '/flowable/task/processVariables/' + taskId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 激活/挂起流程
|
|||
export function updateState(params) { |
|||
return request({ |
|||
url: '/flowable/definition/updateState', |
|||
method: 'put', |
|||
params: params |
|||
}) |
|||
} |
|||
|
|||
// 指定流程办理人员列表
|
|||
export function userList(query) { |
|||
return request({ |
|||
url: '/flowable/definition/userList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 指定流程办理组列表
|
|||
export function roleList(query) { |
|||
return request({ |
|||
url: '/flowable/definition/roleList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 指定流程表达式
|
|||
export function expList(query) { |
|||
return request({ |
|||
url: '/flowable/definition/expList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 读取xml文件
|
|||
export function readXml(deployId) { |
|||
return request({ |
|||
url: '/flowable/definition/readXml/' + deployId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 读取image文件
|
|||
export function readImage(deployId) { |
|||
return request({ |
|||
url: '/flowable/definition/readImage/' + deployId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 获取流程执行节点
|
|||
export function getFlowViewer(procInsId, executionId) { |
|||
return request({ |
|||
url: '/flowable/task/flowViewer/' + procInsId + '/' + executionId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 流程节点数据
|
|||
export function flowXmlAndNode(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowXmlAndNode', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 读取xml文件
|
|||
export function saveXml(data) { |
|||
return request({ |
|||
url: '/flowable/definition/save', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 新增流程定义
|
|||
export function addDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程定义
|
|||
export function updateDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程定义
|
|||
export function delDeployment(deployId) { |
|||
return request({ |
|||
url: '/flowable/definition/' + deployId, |
|||
method: 'delete', |
|||
}) |
|||
} |
|||
|
|||
// 导出流程定义
|
|||
export function exportDeployment(query) { |
|||
return request({ |
|||
url: '/system/deployment/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -1,44 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询流程达式列表
|
|||
export function listExpression(query) { |
|||
return request({ |
|||
url: '/system/expression/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询流程达式详细
|
|||
export function getExpression(id) { |
|||
return request({ |
|||
url: '/system/expression/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程达式
|
|||
export function addExpression(data) { |
|||
return request({ |
|||
url: '/system/expression', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程达式
|
|||
export function updateExpression(data) { |
|||
return request({ |
|||
url: '/system/expression', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程达式
|
|||
export function delExpression(id) { |
|||
return request({ |
|||
url: '/system/expression/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -1,79 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询已办任务列表
|
|||
export function finishedList(query) { |
|||
return request({ |
|||
url: '/flowable/task/finishedList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 任务流转记录
|
|||
export function flowRecord(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowRecord', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 撤回任务
|
|||
export function revokeProcess(data) { |
|||
return request({ |
|||
url: '/flowable/task/revokeProcess', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 部署流程实例
|
|||
export function deployStart(deployId) { |
|||
return request({ |
|||
url: '/flowable/process/startFlow/' + deployId, |
|||
method: 'get', |
|||
}) |
|||
} |
|||
|
|||
// 查询流程定义详细
|
|||
export function getDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程定义
|
|||
export function addDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程定义
|
|||
export function updateDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程定义
|
|||
export function delDeployment(id) { |
|||
return request({ |
|||
url: '/flowable/instance/delete/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出流程定义
|
|||
export function exportDeployment(query) { |
|||
return request({ |
|||
url: '/system/deployment/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -1,68 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询流程表单列表
|
|||
export function listForm(query) { |
|||
return request({ |
|||
url: '/system/form/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
export function listAllForm(query) { |
|||
return request({ |
|||
url: '/system/form/formList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询流程表单详细
|
|||
export function getForm(formId) { |
|||
return request({ |
|||
url: '/system/form/' + formId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程表单
|
|||
export function addForm(data) { |
|||
return request({ |
|||
url: '/system/form', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程表单
|
|||
export function updateForm(data) { |
|||
return request({ |
|||
url: '/system/form', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
// 挂载表单
|
|||
export function addDeployForm(data) { |
|||
return request({ |
|||
url: '/system/form/addDeployForm', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程表单
|
|||
export function delForm(formId) { |
|||
return request({ |
|||
url: '/flowable/form/' + formId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出流程表单
|
|||
export function exportForm(query) { |
|||
return request({ |
|||
url: '/flowable/form/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -1,44 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询流程监听列表
|
|||
export function listListener(query) { |
|||
return request({ |
|||
url: '/system/listener/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询流程监听详细
|
|||
export function getListener(id) { |
|||
return request({ |
|||
url: '/system/listener/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程监听
|
|||
export function addListener(data) { |
|||
return request({ |
|||
url: '/system/listener', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程监听
|
|||
export function updateListener(data) { |
|||
return request({ |
|||
url: '/system/listener', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程监听
|
|||
export function delListener(id) { |
|||
return request({ |
|||
url: '/system/listener/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -1,113 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 我的发起的流程
|
|||
export function myProcessList(query) { |
|||
return request({ |
|||
url: '/flowable/task/myProcess', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
export function flowFormData(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowFormData', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
export function flowTaskInfo(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowTaskInfo', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 完成任务
|
|||
export function complete(data) { |
|||
return request({ |
|||
url: '/flowable/task/complete', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 取消申请
|
|||
export function stopProcess(data) { |
|||
return request({ |
|||
url: '/flowable/task/stopProcess', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 驳回任务
|
|||
export function rejectTask(data) { |
|||
return request({ |
|||
url: '/flowable/task/reject', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 可退回任务列表
|
|||
export function returnList(data) { |
|||
return request({ |
|||
url: '/flowable/task/returnList', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 部署流程实例
|
|||
export function deployStart(deployId) { |
|||
return request({ |
|||
url: '/flowable/process/startFlow/' + deployId, |
|||
method: 'get', |
|||
}) |
|||
} |
|||
|
|||
// 查询流程定义详细
|
|||
export function getDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程定义
|
|||
export function addDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程定义
|
|||
export function updateDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程定义
|
|||
export function delDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出流程定义
|
|||
export function exportDeployment(query) { |
|||
return request({ |
|||
url: '/system/deployment/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -1,132 +0,0 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询待办任务列表
|
|||
export function todoList(query) { |
|||
return request({ |
|||
url: '/flowable/task/todoList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 完成任务
|
|||
export function complete(data) { |
|||
return request({ |
|||
url: '/flowable/task/complete', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 委派任务
|
|||
export function delegate(data) { |
|||
return request({ |
|||
url: '/flowable/task/delegate', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 退回任务
|
|||
export function returnTask(data) { |
|||
return request({ |
|||
url: '/flowable/task/return', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 驳回任务
|
|||
export function rejectTask(data) { |
|||
return request({ |
|||
url: '/flowable/task/reject', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 可退回任务列表
|
|||
export function returnList(data) { |
|||
return request({ |
|||
url: '/flowable/task/returnList', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 下一节点
|
|||
export function getNextFlowNode(data) { |
|||
return request({ |
|||
url: '/flowable/task/nextFlowNode', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 下一节点
|
|||
export function getNextFlowNodeByStart(data) { |
|||
return request({ |
|||
url: '/flowable/task/nextFlowNodeByStart', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 部署流程实例
|
|||
export function deployStart(deployId) { |
|||
return request({ |
|||
url: '/flowable/process/startFlow/' + deployId, |
|||
method: 'get', |
|||
}) |
|||
} |
|||
|
|||
// 查询流程定义详细
|
|||
export function getDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增流程定义
|
|||
export function addDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改流程定义
|
|||
export function updateDeployment(data) { |
|||
return request({ |
|||
url: '/system/deployment', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除流程定义
|
|||
export function delDeployment(id) { |
|||
return request({ |
|||
url: '/system/deployment/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出流程定义
|
|||
export function exportDeployment(query) { |
|||
return request({ |
|||
url: '/system/deployment/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
// 流程节点表单
|
|||
export function flowTaskForm(query) { |
|||
return request({ |
|||
url: '/flowable/task/flowTaskForm', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
Loading…
Reference in new issue