From 0da3f425a7af89c85c2dd552db16ea179f1248c0 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 16 Sep 2024 11:34:33 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=A3=E0=B8=B1=E0=B8=81=E0=B8=A9=E0=B8=B2?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B9=83=E0=B8=99=E0=B8=95=E0=B8=B3?= =?UTF-8?q?=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=87=20=3D=3D>=20?= =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=E0=B9=82=E0=B8=84=E0=B8=A3?= =?UTF-8?q?=E0=B8=87=E0=B8=AA=E0=B8=A3=E0=B9=89=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interface/main.ts | 37 +++++++++++++++- src/modules/17_acting/views/main.vue | 63 ++++++++++++---------------- src/stores/structureTree.ts | 34 +++++++++++++-- 3 files changed, 94 insertions(+), 40 deletions(-) diff --git a/src/interface/main.ts b/src/interface/main.ts index edc4228f4..3d13a40da 100644 --- a/src/interface/main.ts +++ b/src/interface/main.ts @@ -54,4 +54,39 @@ interface DataStructureTree { children: DataStructureTree[]; } -export type { DataOption, FormProfile, RoleData, DataStructureTree }; +interface DataStrategy { + id: string; + level: number; + name: string; + children: DataStrategy[]; +} + +interface DataActing { + labelName: string; + orgCode: string; + orgLevel: 0; + orgName: string; + orgRootName: string; + orgTreeCode: string; + orgTreeId: string; + orgTreeName: string; + orgTreeShortName: string; + children: DataActing[]; + posMaster: PosMaster[]; +} + +interface PosMaster { + fullNameCurrentHolder: string; + orgLevel: number; + orgTreeId: string; + posmasterId: string; +} + +export type { + DataOption, + FormProfile, + RoleData, + DataStructureTree, + DataActing, + DataStrategy, +}; diff --git a/src/modules/17_acting/views/main.vue b/src/modules/17_acting/views/main.vue index e62bcbfbe..bb82329d1 100644 --- a/src/modules/17_acting/views/main.vue +++ b/src/modules/17_acting/views/main.vue @@ -1,9 +1,12 @@