From 3aedad63dd01f1fc5154cb520af32edab967d6e0 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周一, 12 5月 2025 09:15:26 +0800
Subject: [PATCH] Merge branch 'master' of http://222.71.245.114:9086/r/HIA24016N_PipeLineDemo
---
PipeLineLems/pipelinelems_web/src/widgets/MyPluginName/Models/MyEntityNameDrawer.ts | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/PipeLineLems/pipelinelems_web/src/widgets/MyPluginName/Models/MyEntityNameDrawer.ts b/PipeLineLems/pipelinelems_web/src/widgets/MyPluginName/Models/MyEntityNameDrawer.ts
new file mode 100644
index 0000000..3b840ea
--- /dev/null
+++ b/PipeLineLems/pipelinelems_web/src/widgets/MyPluginName/Models/MyEntityNameDrawer.ts
@@ -0,0 +1,38 @@
+import { Base } from '@/libs/Base/Base'
+import {
+ addMyEntityName,
+ getMyEntityName,
+ updateMyEntityName,
+} from './Service/MyEntityNameDrawer'
+import { useGlobalState } from '@/libs/Store/Store'
+
+export class MyEntityNameDrawer extends Base<{ [key: string]: any }> {
+ constructor() {
+ super({
+ data: [],
+ myEntityName: {},
+ })
+ }
+
+ /**
+ * 娣诲姞
+ * @param data
+ */
+ async addMyEntityName(data: Record<string, any>) {
+ return addMyEntityName(data)
+ }
+ /**
+ * 鏇存柊
+ * @param data
+ */
+ async updateMyEntityName(id: string, data: Record<string, any>) {
+ return updateMyEntityName(id, data)
+ }
+
+ /**
+ * 鑾峰彇璇︽儏
+ */
+ async getMyEntityNameDetail(current: any, id?: string) {
+ return getMyEntityName(id || current?.id)
+ }
+}
--
Gitblit v1.9.3