From 5e440a7dc434c43eb828fa62cf9c12b0078b8565 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期一, 20 一月 2025 11:36:18 +0800
Subject: [PATCH] !173 发布 5.3.0-BETA 公测版本 Merge pull request !173 from 疯狂的狮子Li/dev

---
 src/api/workflow/category/types.ts |   71 +++++++++++++++++++----------------
 1 files changed, 38 insertions(+), 33 deletions(-)

diff --git a/src/api/workflow/category/types.ts b/src/api/workflow/category/types.ts
index 414fa55..a093073 100644
--- a/src/api/workflow/category/types.ts
+++ b/src/api/workflow/category/types.ts
@@ -1,18 +1,16 @@
+export interface CategoryTreeVO {
+  id: number | string;
+  label: string;
+  parentId: number | string;
+  weight: number;
+  children: CategoryTreeVO[];
+}
 export interface CategoryVO {
-  /**
-   * 涓婚敭
-   */
-  id: string;
 
   /**
-   * 鍒嗙被鍚嶇О
+   * 娴佺▼鍒嗙被ID
    */
-  categoryName: string;
-
-  /**
-   * 鍒嗙被缂栫爜
-   */
-  categoryCode: string;
+  categoryId: string | number;
 
   /**
    * 鐖剁骇id
@@ -20,48 +18,55 @@
   parentId: string | number;
 
   /**
-   * 鎺掑簭
+   * 娴佺▼鍒嗙被鍚嶇О
    */
-  sortNum: number;
+  categoryName: string;
 
-  children?: CategoryVO[];
+  /**
+   * 鏄剧ず椤哄簭
+   */
+  orderNum: number;
+
+  /**
+   * 鍒涘缓鏃堕棿
+   */
+  createTime: string;
+
+  /**
+   * 瀛愬璞�
+   */
+  children: CategoryVO[];
 }
 
 export interface CategoryForm extends BaseEntity {
-  /**
-   * 涓婚敭
-   */
-  id?: string | number;
 
   /**
-   * 鍒嗙被鍚嶇О
+   * 娴佺▼鍒嗙被ID
+   */
+  categoryId?: string | number;
+
+  /**
+   * 娴佺▼鍒嗙被鍚嶇О
    */
   categoryName?: string;
 
   /**
-   * 鍒嗙被缂栫爜
-   */
-  categoryCode?: string;
-
-  /**
-   * 鐖剁骇id
+   * 鐖舵祦绋嬪垎绫籭d
    */
   parentId?: string | number;
 
   /**
-   * 鎺掑簭
+   * 鏄剧ず椤哄簭
    */
-  sortNum?: number;
+  orderNum?: number;
+
 }
 
-export interface CategoryQuery extends PageQuery {
+export interface CategoryQuery {
+
   /**
-   * 鍒嗙被鍚嶇О
+   * 娴佺▼鍒嗙被鍚嶇О
    */
   categoryName?: string;
 
-  /**
-   * 鍒嗙被缂栫爜
-   */
-  categoryCode?: string;
 }

--
Gitblit v1.9.3