diff --git a/yanzhu-ui-vue3/src/api/flowable/category/index.ts b/yanzhu-ui-vue3/src/api/flowable/category/index.ts deleted file mode 100644 index 3e04e3c8..00000000 --- a/yanzhu-ui-vue3/src/api/flowable/category/index.ts +++ /dev/null @@ -1,55 +0,0 @@ -import request from '@/utils/request'; -import { AxiosPromise } from 'axios'; -import { CategoryForm, CategoryQuery, CategoryVO } from '@/api/flowable/category/types'; - -// 查询流程分类列表 -export function listCategory(query: CategoryQuery): AxiosPromise { - return request({ - url: '/flowable/category/list', - method: 'get', - params: query - }); -} - -// 查询流程分类列表 -export function listAllCategory(query?: CategoryQuery): AxiosPromise { - return request({ - url: '/flowable/category/listAll', - method: 'get', - params: query - }); -} - -// 查询流程分类详细 -export function getCategory(categoryId?: string | number): AxiosPromise { - return request({ - url: '/flowable/category/' + categoryId, - method: 'get' - }); -} - -// 新增流程分类 -export function addCategory(data: CategoryForm) { - return request({ - url: '/flowable/category', - method: 'post', - data: data - }); -} - -// 修改流程分类 -export function updateCategory(data: CategoryForm) { - return request({ - url: '/flowable/category', - method: 'put', - data: data - }); -} - -// 删除流程分类 -export function delCategory(categoryIds?: string | number | Array) { - return request({ - url: '/flowable/category/' + categoryIds, - method: 'delete' - }); -} diff --git a/yanzhu-ui-vue3/src/api/flowable/category/types.ts b/yanzhu-ui-vue3/src/api/flowable/category/types.ts deleted file mode 100644 index e8fcccda..00000000 --- a/yanzhu-ui-vue3/src/api/flowable/category/types.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * 流程分类查询对象类型 - */ -export interface CategoryQuery extends PageQuery { - categoryName?: string; - code?: string; -} - -/** - * 流程分类返回对象 - */ -export interface CategoryVO extends BaseEntity { - categoryId: string | number; - categoryName: string; - code: string; - remark: string; -} - -export interface CategoryForm { - categoryId?: string | number; - categoryName?: string; - code?: string; - remark?: string; -} diff --git a/yanzhu-ui-vue3/src/views/flowable/category/index.vue b/yanzhu-ui-vue3/src/views/flowable/category/index.vue deleted file mode 100644 index a3eeb4f2..00000000 --- a/yanzhu-ui-vue3/src/views/flowable/category/index.vue +++ /dev/null @@ -1,211 +0,0 @@ - - -