提交代码
parent
8d96f8f34f
commit
cd7c5aa52d
|
@ -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<CategoryVO[]> {
|
||||
return request({
|
||||
url: '/workflow/category/list',
|
||||
url: '/flowable/category/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -14,7 +14,7 @@ export function listCategory(query: CategoryQuery): AxiosPromise<CategoryVO[]> {
|
|||
// 查询流程分类列表
|
||||
export function listAllCategory(query?: CategoryQuery): AxiosPromise<CategoryVO[]> {
|
||||
return request({
|
||||
url: '/workflow/category/listAll',
|
||||
url: '/flowable/category/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -23,7 +23,7 @@ export function listAllCategory(query?: CategoryQuery): AxiosPromise<CategoryVO[
|
|||
// 查询流程分类详细
|
||||
export function getCategory(categoryId?: string | number): AxiosPromise<CategoryVO> {
|
||||
return request({
|
||||
url: '/workflow/category/' + categoryId,
|
||||
url: '/flowable/category/' + categoryId,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ export function getCategory(categoryId?: string | number): AxiosPromise<Category
|
|||
// 新增流程分类
|
||||
export function addCategory(data: CategoryForm) {
|
||||
return request({
|
||||
url: '/workflow/category',
|
||||
url: '/flowable/category',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
|
@ -40,7 +40,7 @@ export function addCategory(data: CategoryForm) {
|
|||
// 修改流程分类
|
||||
export function updateCategory(data: CategoryForm) {
|
||||
return request({
|
||||
url: '/workflow/category',
|
||||
url: '/flowable/category',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
|
@ -49,7 +49,7 @@ export function updateCategory(data: CategoryForm) {
|
|||
// 删除流程分类
|
||||
export function delCategory(categoryIds?: string | number | Array<string | number>) {
|
||||
return request({
|
||||
url: '/workflow/category/' + categoryIds,
|
||||
url: '/flowable/category/' + categoryIds,
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
|
@ -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<DeployVO[]> {
|
||||
return request({
|
||||
url: '/workflow/deploy/list',
|
||||
url: '/flowable/deploy/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -13,7 +13,7 @@ export function listDeploy(query: ProcessQuery): AxiosPromise<DeployVO[]> {
|
|||
|
||||
export function listPublish(query: ProcessQuery): AxiosPromise<DeployVO[]> {
|
||||
return request({
|
||||
url: '/workflow/deploy/publishList',
|
||||
url: '/flowable/deploy/publishList',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -22,7 +22,7 @@ export function listPublish(query: ProcessQuery): AxiosPromise<DeployVO[]> {
|
|||
// 获取流程模型流程图
|
||||
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'
|
||||
});
|
||||
}
|
|
@ -5,7 +5,7 @@ import { AxiosPromise } from 'axios';
|
|||
// 查询流程表单列表
|
||||
export function listForm(query?: FormQuery): AxiosPromise<FormVO[]> {
|
||||
return request({
|
||||
url: '/workflow/form/list',
|
||||
url: '/flowable/form/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -14,7 +14,7 @@ export function listForm(query?: FormQuery): AxiosPromise<FormVO[]> {
|
|||
// 查询流程表单详细
|
||||
export function getForm(formId: string | number): AxiosPromise<FormVO> {
|
||||
return request({
|
||||
url: '/workflow/form/' + formId,
|
||||
url: '/flowable/form/' + formId,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ export function getForm(formId: string | number): AxiosPromise<FormVO> {
|
|||
// 新增流程表单
|
||||
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'
|
||||
});
|
||||
}
|
|
@ -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<UserVO[]> {
|
||||
return request({
|
||||
url: '/workflow/identity/selectUser',
|
||||
url: '/flowable/identity/selectUser',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -13,7 +13,7 @@ export function selectUser(query?: any): AxiosPromise<UserVO[]> {
|
|||
|
||||
export function deptTreeSelect(): AxiosPromise<DeptVO[]> {
|
||||
return request({
|
||||
url: '/workflow/identity/deptTree',
|
||||
url: '/flowable/identity/deptTree',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
|
@ -5,7 +5,7 @@ import {AxiosPromise} from 'axios';
|
|||
// 分页查询流程监听器
|
||||
export function queryListenerPage(query?: ListenerQuery): AxiosPromise<ListenerVO[]> {
|
||||
return request({
|
||||
url: '/workflow/listener/queryPage',
|
||||
url: '/flowable/listener/queryPage',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -14,7 +14,7 @@ export function queryListenerPage(query?: ListenerQuery): AxiosPromise<ListenerV
|
|||
// 列表查询流程监听器
|
||||
export function queryListenerList(query?: ListenerQuery): AxiosPromise<ListenerVO[]> {
|
||||
return request({
|
||||
url: '/workflow/listener/queryList',
|
||||
url: '/flowable/listener/queryList',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -23,7 +23,7 @@ export function queryListenerList(query?: ListenerQuery): AxiosPromise<ListenerV
|
|||
// 详细查询流程监听器
|
||||
export function getListener(formId: string | number): AxiosPromise<ListenerVO> {
|
||||
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<ListenerVO> {
|
|||
// 新增流程监听器
|
||||
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'
|
||||
});
|
||||
}
|
|
@ -5,7 +5,7 @@ import { ModelQuery, ModelVO } from './types';
|
|||
// 查询流程模型信息
|
||||
export function listModel(query?: ModelQuery): AxiosPromise<ModelVO[]> {
|
||||
return request({
|
||||
url: '/workflow/model/list',
|
||||
url: '/flowable/model/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -14,7 +14,7 @@ export function listModel(query?: ModelQuery): AxiosPromise<ModelVO[]> {
|
|||
// 查询流程模型信息
|
||||
export function historyModel(query?: ModelQuery): AxiosPromise<ModelVO[]> {
|
||||
return request({
|
||||
url: '/workflow/model/historyList',
|
||||
url: '/flowable/model/historyList',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -22,7 +22,7 @@ export function historyModel(query?: ModelQuery): AxiosPromise<ModelVO[]> {
|
|||
|
||||
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'
|
||||
});
|
||||
}
|
|
@ -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<ProcessVO[]> {
|
||||
return request({
|
||||
url: '/workflow/process/list',
|
||||
url: '/flowable/process/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
|
@ -14,7 +14,7 @@ export function listProcess(query?: ProcessQuery): AxiosPromise<ProcessVO[]> {
|
|||
// 查询流程列表
|
||||
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
|
||||
});
|
|
@ -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
|
||||
});
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="68px">
|
||||
|
@ -20,20 +20,20 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['workflow:category:add']">新增</el-button>
|
||||
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['flowable:category:add']">新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['workflow:category:edit']">
|
||||
<el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['flowable:category:edit']">
|
||||
修改
|
||||
</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['workflow:category:remove']">
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['flowable:category:remove']">
|
||||
删除
|
||||
</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport()" v-hasPermi="['workflow:category:export']">导出</el-button>
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport()" v-hasPermi="['flowable:category:export']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
@ -48,10 +48,10 @@
|
|||
<el-table-column label="操作" align="center" width="150" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="修改" placement="top">
|
||||
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['workflow:category:edit']"></el-button>
|
||||
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['flowable:category:edit']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['workflow:category:remove']"></el-button>
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['flowable:category:remove']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -83,9 +83,10 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Category" lang="ts">
|
||||
import { listCategory, getCategory, delCategory, addCategory, updateCategory } from "@/api/workflow/category";
|
||||
import { CategoryForm, CategoryQuery, CategoryVO } from "@/api/workflow/category/types";
|
||||
import { listCategory, getCategory, delCategory, addCategory, updateCategory } from "@/api/flowable/category";
|
||||
import { CategoryForm, CategoryQuery, CategoryVO } from "@/api/flowable/category/types";
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import { ElForm } from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
||||
|
@ -199,7 +200,7 @@ const handleDelete = async (row?: CategoryVO) => {
|
|||
}
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/category/export", {
|
||||
proxy?.download("flowable/category/export", {
|
||||
...queryParams.value
|
||||
}, `category_${new Date().getTime()}.xlsx`);
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="68px">
|
||||
|
@ -31,7 +31,7 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['workflow:deploy:remove']">
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['flowable:deploy:remove']">
|
||||
删除
|
||||
</el-button>
|
||||
</el-col>
|
||||
|
@ -59,10 +59,10 @@
|
|||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="版本管理" placement="top">
|
||||
<el-button link type="primary" icon="PriceTag" @click="handlePublish(scope.row)" v-hasPermi="['workflow:deploy:list']"></el-button>
|
||||
<el-button link type="primary" icon="PriceTag" @click="handlePublish(scope.row)" v-hasPermi="['flowable:deploy:list']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['workflow:deploy:remove']"></el-button>
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['flowable:deploy:remove']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -100,13 +100,13 @@
|
|||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="挂起" placement="top">
|
||||
<el-button link type="primary" icon="VideoPause" @click="handleChangeState(scope.row, 'suspended')" v-hasPermi="['workflow:deploy:status']"></el-button>
|
||||
<el-button link type="primary" icon="VideoPause" @click="handleChangeState(scope.row, 'suspended')" v-hasPermi="['flowable:deploy:status']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="激活" placement="top">
|
||||
<el-button link type="primary" icon="VideoPlay" @click="handleChangeState(scope.row, 'active')" v-hasPermi="['workflow:deploy:status']"></el-button>
|
||||
<el-button link type="primary" icon="VideoPlay" @click="handleChangeState(scope.row, 'active')" v-hasPermi="['flowable:deploy:status']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['workflow:deploy:remove']"></el-button>
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['flowable:deploy:remove']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -117,13 +117,13 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Deploy" lang="ts">
|
||||
import { listAllCategory } from '@/api/workflow/category'
|
||||
import { listDeploy, listPublish, getBpmnXml, changeState, delDeploy } from '@/api/workflow/deploy'
|
||||
import { listAllCategory } from '@/api/flowable/category'
|
||||
import { listDeploy, listPublish, getBpmnXml, changeState, delDeploy } from '@/api/flowable/deploy'
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import { CategoryVO } from "@/api/workflow/category/types";
|
||||
import {DeployVO, ProcessQuery} from "@/api/workflow/deploy/types";
|
||||
import { CategoryVO } from "@/api/flowable/category/types";
|
||||
import {DeployVO, ProcessQuery} from "@/api/flowable/deploy/types";
|
||||
import { ElForm } from 'element-plus';
|
||||
import {ModelVO} from "@/api/workflow/model/types";
|
||||
import {ModelVO} from "@/api/flowable/model/types";
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="70">
|
||||
|
@ -17,16 +17,16 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['workflow:form:add']">新增</el-button>
|
||||
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['flowable:form:add']">新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['workflow:form:edit']">修改</el-button>
|
||||
<el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['flowable:form:edit']">修改</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['workflow:form:remove']">删除</el-button>
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['flowable:form:remove']">删除</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['workflow:form:export']">导出</el-button>
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['flowable:form:export']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
@ -40,13 +40,13 @@
|
|||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="详情" placement="top">
|
||||
<el-button link type="primary" icon="View" @click="handleDetail(scope.row)" v-hasPermi="['workflow:form:query']"></el-button>
|
||||
<el-button link type="primary" icon="View" @click="handleDetail(scope.row)" v-hasPermi="['flowable:form:query']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="修改" placement="top">
|
||||
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['workflow:form:edit']"></el-button>
|
||||
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['flowable:form:edit']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['workflow:form:remove']"></el-button>
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['flowable:form:remove']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -92,9 +92,10 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Form" lang="ts">
|
||||
import { listForm, addForm, updateForm, getForm, delForm } from "@/api/workflow/form";
|
||||
import { FormForm, FormQuery, FormVO } from "@/api/workflow/form/types";
|
||||
import { listForm, addForm, updateForm, getForm, delForm } from "@/api/flowable/form";
|
||||
import { FormForm, FormQuery, FormVO } from "@/api/flowable/form/types";
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import { ElForm } from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
||||
|
@ -234,7 +235,7 @@ const handleDelete = async (row?: FormVO) => {
|
|||
}
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/form/export", {
|
||||
proxy?.download("flowable/form/export", {
|
||||
...queryParams.value
|
||||
}, `form_${new Date().getTime()}.xlsx`);
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2 app-container">
|
||||
<div class="app-container">
|
||||
<!-- 查询条件 -->
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div v-show="showSearch" class="search">
|
||||
|
@ -57,20 +57,20 @@
|
|||
<!-- 操作按钮 -->
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button v-hasPermi="['workflow:listener:add']" icon="Plus" plain type="primary" @click="handleAdd">新增</el-button>
|
||||
<el-button v-hasPermi="['flowable:listener:add']" icon="Plus" plain type="primary" @click="handleAdd">新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button v-hasPermi="['workflow:listener:edit']" :disabled="single" icon="Edit" plain type="success" @click="handleUpdate()"
|
||||
<el-button v-hasPermi="['flowable:listener:edit']" :disabled="single" icon="Edit" plain type="success" @click="handleUpdate()"
|
||||
>修改</el-button
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button v-hasPermi="['workflow:listener:remove']" :disabled="multiple" icon="Delete" plain type="danger" @click="handleDelete()"
|
||||
<el-button v-hasPermi="['flowable:listener:remove']" :disabled="multiple" icon="Delete" plain type="danger" @click="handleDelete()"
|
||||
>删除</el-button
|
||||
>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button v-hasPermi="['workflow:listener:export']" icon="Download" plain type="warning" @click="handleExport">导出</el-button>
|
||||
<el-button v-hasPermi="['flowable:listener:export']" icon="Download" plain type="warning" @click="handleExport">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
@ -101,7 +101,7 @@
|
|||
<template #default="scope">
|
||||
<el-tooltip content="修改" placement="top">
|
||||
<el-button
|
||||
v-hasPermi="['workflow:listener:edit']"
|
||||
v-hasPermi="['flowable:listener:edit']"
|
||||
icon="Edit"
|
||||
link
|
||||
type="primary"
|
||||
|
@ -110,7 +110,7 @@
|
|||
</el-tooltip>
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button
|
||||
v-hasPermi="['workflow:listener:remove']"
|
||||
v-hasPermi="['flowable:listener:remove']"
|
||||
icon="Delete"
|
||||
link
|
||||
type="danger"
|
||||
|
@ -144,13 +144,13 @@
|
|||
<el-table-column align="center" class-name="small-padding fixed-width" label="操作">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="添加字段" placement="top">
|
||||
<el-button v-hasPermi="['workflow:listener:edit']" icon="Plus" link type="primary" @click="addField(scope.row)"></el-button>
|
||||
<el-button v-hasPermi="['flowable:listener:edit']" icon="Plus" link type="primary" @click="addField(scope.row)"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="修改" placement="top">
|
||||
<el-button v-hasPermi="['workflow:listener:edit']" icon="Edit" link type="primary" @click="handleUpdate(scope.row)"></el-button>
|
||||
<el-button v-hasPermi="['flowable:listener:edit']" icon="Edit" link type="primary" @click="handleUpdate(scope.row)"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button v-hasPermi="['workflow:listener:remove']" icon="Delete" link type="danger" @click="handleDelete(scope.row)"></el-button>
|
||||
<el-button v-hasPermi="['flowable:listener:remove']" icon="Delete" link type="danger" @click="handleDelete(scope.row)"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -243,15 +243,16 @@ import {
|
|||
queryListenerPage,
|
||||
updateListener,
|
||||
updateListenerFieldAPI
|
||||
} from "@/api/workflow/listener";
|
||||
} from "@/api/flowable/listener";
|
||||
import {
|
||||
ListenerFieldForm,
|
||||
ListenerFieldVO,
|
||||
ListenerForm,
|
||||
ListenerQuery,
|
||||
ListenerVO
|
||||
} from "@/api/workflow/listener/types";
|
||||
} from "@/api/flowable/listener/types";
|
||||
import {ComponentInternalInstance} from "vue";
|
||||
import { ElForm } from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
const {
|
||||
|
@ -471,7 +472,7 @@ const handleFieldDelete = async (row?: ListenerFieldVO) => {
|
|||
}
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/form/export", {
|
||||
proxy?.download("flowable/form/export", {
|
||||
...queryParams.value
|
||||
}, `form_${new Date().getTime()}.xlsx`);
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="70">
|
||||
|
@ -40,13 +40,13 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['workflow:model:add']">新增</el-button>
|
||||
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['flowable:model:add']">新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete" v-hasPermi="['workflow:model:remove']">删除</el-button>
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete" v-hasPermi="['flowable:model:remove']">删除</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['workflow:model:export']">导出</el-button>
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['flowable:model:export']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
@ -74,19 +74,19 @@
|
|||
<el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="修改" placement="top">
|
||||
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['workflow:model:edit']"></el-button>
|
||||
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['flowable:model:edit']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['workflow:model:remove']"></el-button>
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['flowable:model:remove']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="设计" placement="top">
|
||||
<el-button link type="primary" icon="Brush" @click="handleDesigner(scope.row)" v-hasPermi="['workflow:model:designer']"></el-button>
|
||||
<el-button link type="primary" icon="Brush" @click="handleDesigner(scope.row)" v-hasPermi="['flowable:model:designer']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="部署" placement="top">
|
||||
<el-button link type="primary" icon="Promotion" @click="handleDeploy(scope.row)" v-hasPermi="['workflow:model:deploy']"></el-button>
|
||||
<el-button link type="primary" icon="Promotion" @click="handleDeploy(scope.row)" v-hasPermi="['flowable:model:deploy']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="历史" placement="top">
|
||||
<el-button link type="primary" icon="Discount" @click="handleHistory(scope.row)" v-hasPermi="['workflow:model:list']"></el-button>
|
||||
<el-button link type="primary" icon="Discount" @click="handleHistory(scope.row)" v-hasPermi="['flowable:model:list']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -148,10 +148,10 @@
|
|||
<el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="部署" placement="top">
|
||||
<el-button link type="primary" icon="Promotion" @click="handleDeploy(scope.row)" v-hasPermi="['workflow:model:deploy']"></el-button>
|
||||
<el-button link type="primary" icon="Promotion" @click="handleDeploy(scope.row)" v-hasPermi="['flowable:model:deploy']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="设为最新" placement="top">
|
||||
<el-button link type="primary" icon="Star" @click="handleLatest(scope.row)" v-hasPermi="['workflow:model:save']"></el-button>
|
||||
<el-button link type="primary" icon="Star" @click="handleLatest(scope.row)" v-hasPermi="['flowable:model:save']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -168,12 +168,13 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Model" lang="ts">
|
||||
import { getBpmnXml, listModel, historyModel, latestModel, addModel, updateModel, saveModel, delModel, deployModel, getModel } from "@/api/workflow/model";
|
||||
import { listAllCategory } from "@/api/workflow/category";
|
||||
import { ModelForm, ModelQuery, ModelVO, DesignerForm } from "@/api/workflow/model/types";
|
||||
import { CategoryVO } from "@/api/workflow/category/types";
|
||||
import { getBpmnXml, listModel, historyModel, latestModel, addModel, updateModel, saveModel, delModel, deployModel, getModel } from "@/api/flowable/model";
|
||||
import { listAllCategory } from "@/api/flowable/category";
|
||||
import { ModelForm, ModelQuery, ModelVO, DesignerForm } from "@/api/flowable/model/types";
|
||||
import { CategoryVO } from "@/api/flowable/category/types";
|
||||
import ProcessDesigner from "@/components/ProcessDesigner";
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import { ElForm } from 'element-plus';
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
||||
|
@ -320,7 +321,7 @@ const handleDelete = async (row?: ModelVO) => {
|
|||
}
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/model/export", {
|
||||
proxy?.download("flowable/model/export", {
|
||||
...queryParams.value
|
||||
}, `model_${new Date().getTime()}.xlsx`);
|
||||
};
|
||||
|
@ -349,7 +350,7 @@ const handleDeploy = (row?: ModelVO) => {
|
|||
proxy?.$modal.msgSuccess("操作成功");
|
||||
router.push({
|
||||
name: 'Deploy',
|
||||
path: '/workflow/deploy'
|
||||
path: '/flowable/deploy'
|
||||
});
|
||||
loading.value = false;
|
||||
});
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="70">
|
||||
|
@ -32,13 +32,12 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['workflow:process:claimExport']">导出</el-button>
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['flowable:process:claimExport']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
</template>
|
||||
|
||||
|
||||
<el-table v-loading="loading" :data="claimList">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="任务编号" align="center" prop="taskId" :show-overflow-tooltip="true" />
|
||||
|
@ -54,7 +53,7 @@
|
|||
<el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="签收" placement="top">
|
||||
<el-button link type="primary" icon="EditPen" @click="handleClaim(scope.row)" v-hasPermi="['workflow:process:claim']"></el-button>
|
||||
<el-button link type="primary" icon="EditPen" @click="handleClaim(scope.row)" v-hasPermi="['flowable:process:claim']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -66,15 +65,16 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Claim" lang="ts">
|
||||
import { listClaimProcess } from "@/api/workflow/work/process";
|
||||
import { claimTask } from "@/api/workflow/work/task";
|
||||
import { listClaimProcess } from "@/api/flowable/work/process";
|
||||
import { claimTask } from "@/api/flowable/work/task";
|
||||
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import { ProcessQuery, ProcessVO } from "@/api/workflow/work/types";
|
||||
import { ProcessQuery, ProcessVO } from "@/api/flowable/work/types";
|
||||
import { DateModelType } from "element-plus";
|
||||
import { listAllCategory } from "@/api/workflow/category";
|
||||
import { CategoryVO } from "@/api/workflow/category/types";
|
||||
import { ModelVO } from "@/api/workflow/model/types";
|
||||
import { listAllCategory } from "@/api/flowable/category";
|
||||
import { CategoryVO } from "@/api/flowable/category/types";
|
||||
import { ModelVO } from "@/api/flowable/model/types";
|
||||
import { ElForm } from 'element-plus';
|
||||
|
||||
const router = useRouter();
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
@ -127,7 +127,7 @@ const handleClaim = async (row: ProcessVO) => {
|
|||
}
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/process/claimExport", {
|
||||
proxy?.download("flowable/process/claimExport", {
|
||||
...queryParams.value
|
||||
}, `claim_${new Date().getTime()}.xlsx`);
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="70">
|
||||
|
@ -25,7 +25,7 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['workflow:process:copyExport']">导出</el-button>
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['flowable:process:copyExport']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="详情" placement="top">
|
||||
<el-button link type="primary" icon="View" @click="handleDetails(scope.row)" v-hasPermi="['workflow:process:query']"></el-button>
|
||||
<el-button link type="primary" icon="View" @click="handleDetails(scope.row)" v-hasPermi="['flowable:process:query']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -58,12 +58,12 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Copy" lang="ts">
|
||||
import { listCopyProcess } from "@/api/workflow/work/process"
|
||||
import {ProcessQuery, ProcessVO} from "@/api/workflow/work/types";
|
||||
|
||||
import { listCopyProcess } from "@/api/flowable/work/process"
|
||||
import {ProcessQuery, ProcessVO} from "@/api/flowable/work/types";
|
||||
import { ElForm } from 'element-plus';
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import { CategoryVO } from "@/api/workflow/category/types";
|
||||
import { listAllCategory } from "@/api/workflow/category";
|
||||
import { CategoryVO } from "@/api/flowable/category/types";
|
||||
import { listAllCategory } from "@/api/flowable/category";
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
||||
const copyList = ref<ProcessVO[]>([]);
|
||||
|
@ -110,7 +110,7 @@ const resetQuery = () => {
|
|||
/** 流程详情 */
|
||||
const handleDetails = (row: ProcessVO) => {
|
||||
// router.push({
|
||||
// path: '/workflow/process/detail/' + row.procInsId,
|
||||
// path: '/flowable/process/detail/' + row.procInsId,
|
||||
// query: {
|
||||
// processed: false
|
||||
// }
|
||||
|
@ -118,7 +118,7 @@ const handleDetails = (row: ProcessVO) => {
|
|||
}
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/process/copyExport", {
|
||||
proxy?.download("flowable/process/copyExport", {
|
||||
...queryParams.value
|
||||
}, `copy_process_${new Date().getTime()}.xlsx`);
|
||||
}
|
|
@ -188,12 +188,12 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Detail" lang="ts">
|
||||
import { detailProcess } from "@/api/workflow/work/process";
|
||||
import { complete, delegate, transfer, rejectTask, returnList, returnTask } from "@/api/workflow/work/task";
|
||||
import { deptTreeSelect, selectUser } from "@/api/workflow/identity";
|
||||
import { TaskForm } from "@/api/workflow/work/types";
|
||||
import { UserVO, DeptVO } from "@/api/workflow/identity/types";
|
||||
|
||||
import { detailProcess } from "@/api/flowable/work/process";
|
||||
import { complete, delegate, transfer, rejectTask, returnList, returnTask } from "@/api/flowable/work/task";
|
||||
import { deptTreeSelect, selectUser } from "@/api/flowable/identity";
|
||||
import { TaskForm } from "@/api/flowable/work/types";
|
||||
import { UserVO, DeptVO } from "@/api/flowable/identity/types";
|
||||
import { ElForm } from 'element-plus';
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import {useRoute} from "vue-router";
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="70">
|
||||
|
@ -32,7 +32,7 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['workflow:process:finishedExport']">导出</el-button>
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['flowable:process:finishedExport']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
@ -51,10 +51,10 @@
|
|||
<el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="详情" placement="top">
|
||||
<el-button link type="primary" icon="View" @click="handleDetails(scope.row)" v-hasPermi="['workflow:process:query']"></el-button>
|
||||
<el-button link type="primary" icon="View" @click="handleDetails(scope.row)" v-hasPermi="['flowable:process:query']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="撤回" placement="top">
|
||||
<el-button link type="primary" icon="View" @click="handleRevoke(scope.row)" v-hasPermi="['workflow:process:revoke']"></el-button>
|
||||
<el-button link type="primary" icon="View" @click="handleRevoke(scope.row)" v-hasPermi="['flowable:process:revoke']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -66,14 +66,14 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Finished" lang="ts">
|
||||
import { listFinishedProcess } from "@/api/workflow/work/process";
|
||||
import { revokeProcess } from "@/api/workflow/work/task";
|
||||
import {ProcessQuery, ProcessVO} from "@/api/workflow/work/types";
|
||||
import { listFinishedProcess } from "@/api/flowable/work/process";
|
||||
import { revokeProcess } from "@/api/flowable/work/task";
|
||||
import {ProcessQuery, ProcessVO} from "@/api/flowable/work/types";
|
||||
import {DateModelType} from "element-plus";
|
||||
|
||||
import { ElForm } from 'element-plus';
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import { listAllCategory } from "@/api/workflow/category";
|
||||
import { CategoryVO } from "@/api/workflow/category/types";
|
||||
import { listAllCategory } from "@/api/flowable/category";
|
||||
import { CategoryVO } from "@/api/flowable/category/types";
|
||||
const router = useRouter();
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
||||
|
@ -120,7 +120,7 @@ const resetQuery = () => {
|
|||
/** 流程流转记录 */
|
||||
const handleDetails = (row: any) => {
|
||||
router.push({
|
||||
path: '/workflow/process/detail/' + row.procInsId,
|
||||
path: '/flowable/process/detail/' + row.procInsId,
|
||||
query: {
|
||||
processed: false
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ const handleRevoke = async (row: any) => {
|
|||
}
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/process/finishedExport", {
|
||||
proxy?.download("flowable/process/finishedExport", {
|
||||
...queryParams.value
|
||||
}, `finished_${new Date().getTime()}.xlsx`);
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="70">
|
||||
|
@ -25,7 +25,7 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['workflow:process:startExport']">导出</el-button>
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['flowable:process:startExport']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
@ -56,7 +56,7 @@
|
|||
<el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="发起" placement="top">
|
||||
<el-button link type="primary" icon="VideoPlay" @click="handleStart(scope.row)" v-hasPermi="['workflow:process:start']"></el-button>
|
||||
<el-button link type="primary" icon="VideoPlay" @click="handleStart(scope.row)" v-hasPermi="['flowable:process:start']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -73,11 +73,12 @@
|
|||
</template>
|
||||
|
||||
<script setup name="WorkProcess" lang="ts">
|
||||
import { listProcess, getBpmnXml } from "@/api/workflow/work/process";
|
||||
import { listAllCategory } from "@/api/workflow/category";
|
||||
import { ProcessQuery, ProcessVO } from "@/api/workflow/work/types";
|
||||
import { CategoryVO } from "@/api/workflow/category/types";
|
||||
import { listProcess, getBpmnXml } from "@/api/flowable/work/process";
|
||||
import { listAllCategory } from "@/api/flowable/category";
|
||||
import { ProcessQuery, ProcessVO } from "@/api/flowable/work/types";
|
||||
import { CategoryVO } from "@/api/flowable/category/types";
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import { ElForm } from 'element-plus';
|
||||
|
||||
const router = useRouter();
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
@ -139,7 +140,7 @@ const handleProcessView = async (row: any) => {
|
|||
/** 发起流程 */
|
||||
const handleStart = (row: ProcessVO) => {
|
||||
router.push({
|
||||
path: '/workflow/process/start/' + row.deploymentId,
|
||||
path: '/flowable/process/start/' + row.deploymentId,
|
||||
query: {
|
||||
definitionId: row.definitionId,
|
||||
}
|
||||
|
@ -147,7 +148,7 @@ const handleStart = (row: ProcessVO) => {
|
|||
};
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/process/startExport", {
|
||||
proxy?.download("flowable/process/startExport", {
|
||||
...queryParams.value
|
||||
}, `start_process_${new Date().getTime()}.xlsx`);
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="70">
|
||||
|
@ -35,12 +35,12 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['workflow:process:remove']">
|
||||
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['flowable:process:remove']">
|
||||
删除
|
||||
</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['workflow:process:ownExport']">导出</el-button>
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['flowable:process:ownExport']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
@ -67,16 +67,16 @@
|
|||
<el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="详情" placement="top">
|
||||
<el-button link type="primary" icon="View" @click="handleDetails(scope.row)" v-hasPermi="['workflow:process:query']"></el-button>
|
||||
<el-button link type="primary" icon="View" @click="handleDetails(scope.row)" v-hasPermi="['flowable:process:query']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="取消" placement="top">
|
||||
<el-button link type="primary" icon="CircleClose" @click="handleStop(scope.row)" v-hasPermi="['workflow:process:cancel']"></el-button>
|
||||
<el-button link type="primary" icon="CircleClose" @click="handleStop(scope.row)" v-hasPermi="['flowable:process:cancel']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="再次发起" placement="top">
|
||||
<el-button link type="primary" icon="RefreshRight" @click="handleAgain(scope.row)" v-hasPermi="['workflow:process:start']"></el-button>
|
||||
<el-button link type="primary" icon="RefreshRight" @click="handleAgain(scope.row)" v-hasPermi="['flowable:process:start']"></el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="删除" placement="top">
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['workflow:process:remove']"></el-button>
|
||||
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['flowable:process:remove']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -88,10 +88,10 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Own" lang="ts">
|
||||
import { listOwnProcess, stopProcess, delProcess } from "@/api/workflow/work/process";
|
||||
import { listAllCategory } from "@/api/workflow/category";
|
||||
import { ProcessQuery, ProcessVO } from "@/api/workflow/work/types";
|
||||
import { CategoryVO } from "@/api/workflow/category/types";
|
||||
import { listOwnProcess, stopProcess, delProcess } from "@/api/flowable/work/process";
|
||||
import { listAllCategory } from "@/api/flowable/category";
|
||||
import { ProcessQuery, ProcessVO } from "@/api/flowable/work/types";
|
||||
import { CategoryVO } from "@/api/flowable/category/types";
|
||||
import { DateModelType } from "element-plus";
|
||||
import { ElForm } from 'element-plus';
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
|
@ -153,7 +153,7 @@ const handleSelectionChange = (selection: ProcessVO[]) => {
|
|||
/** 流程详情 */
|
||||
const handleDetails = (row: ProcessVO) => {
|
||||
router.push({
|
||||
path: '/workflow/process/detail/' + row.procInsId,
|
||||
path: '/flowable/process/detail/' + row.procInsId,
|
||||
query: {
|
||||
processed: false
|
||||
}
|
||||
|
@ -168,7 +168,7 @@ const handleStop = async (row: ProcessVO) => {
|
|||
/** 再次发起流程 */
|
||||
const handleAgain = (row: ProcessVO) => {
|
||||
// router.push({
|
||||
// path: '/workflow/process/start/' + row.deployId,
|
||||
// path: '/flowable/process/start/' + row.deployId,
|
||||
// query: {
|
||||
// definitionId: row.procDefId,
|
||||
// procInsId: row.procInsId
|
||||
|
@ -186,7 +186,7 @@ const handleDelete = async (row?: ProcessVO) => {
|
|||
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/process/ownExport", {
|
||||
proxy?.download("flowable/process/ownExport", {
|
||||
...queryParams.value
|
||||
}, `own_process_${new Date().getTime()}.xlsx`);
|
||||
}
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<script setup name="WorkStart" lang="ts">
|
||||
import { ElForm } from 'element-plus';
|
||||
import { getProcessForm, startProcess } from '@/api/workflow/work/process';
|
||||
import { getProcessForm, startProcess } from '@/api/flowable/work/process';
|
||||
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="p-2">
|
||||
<div class="app-container">
|
||||
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
||||
<div class="search" v-show="showSearch">
|
||||
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="70">
|
||||
|
@ -32,7 +32,7 @@
|
|||
<template #header>
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['workflow:process:todoExport']">导出</el-button>
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['flowable:process:todoExport']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-tooltip content="办理" placement="top">
|
||||
<el-button link type="primary" icon="EditPen" @click="handleProcess(scope.row)" v-hasPermi="['workflow:process:approval']"></el-button>
|
||||
<el-button link type="primary" icon="EditPen" @click="handleProcess(scope.row)" v-hasPermi="['flowable:process:approval']"></el-button>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -66,14 +66,15 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Todo" lang="ts">
|
||||
import { listTodoProcess } from '@/api/workflow/work/process';
|
||||
import { ProcessVO, ProcessQuery } from "@/api/workflow/work/types";
|
||||
import { listTodoProcess } from '@/api/flowable/work/process';
|
||||
import { ProcessVO, ProcessQuery } from "@/api/flowable/work/types";
|
||||
import {DateModelType} from "element-plus";
|
||||
import { ElForm } from 'element-plus';
|
||||
|
||||
import { ComponentInternalInstance } from "vue";
|
||||
import { listAllCategory } from "@/api/workflow/category";
|
||||
import { CategoryVO } from "@/api/workflow/category/types";
|
||||
import { ModelVO } from "@/api/workflow/model/types";
|
||||
import { listAllCategory } from "@/api/flowable/category";
|
||||
import { CategoryVO } from "@/api/flowable/category/types";
|
||||
import { ModelVO } from "@/api/flowable/model/types";
|
||||
const router = useRouter();
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
|
||||
|
@ -120,7 +121,7 @@ const resetQuery = () => {
|
|||
/** 跳转到处理页面 */
|
||||
const handleProcess = (row: ProcessVO) => {
|
||||
router.push({
|
||||
path: '/workflow/process/detail/' + row.procInsId,
|
||||
path: '/flowable/process/detail/' + row.procInsId,
|
||||
query: {
|
||||
taskId: row.taskId,
|
||||
processed: true
|
||||
|
@ -129,7 +130,7 @@ const handleProcess = (row: ProcessVO) => {
|
|||
}
|
||||
/** 导出按钮操作 */
|
||||
const handleExport = () => {
|
||||
proxy?.download("workflow/process/todoExport", {
|
||||
proxy?.download("flowable/process/todoExport", {
|
||||
...queryParams.value
|
||||
}, `todo_${new Date().getTime()}.xlsx`);
|
||||
}
|
Loading…
Reference in New Issue