From 6af0f6b0b83a65fd9bba157589a744f14ebcfb2b Mon Sep 17 00:00:00 2001
From: AprilWind <2100166581@qq.com>
Date: Tue, 23 Apr 2024 12:38:38 +0800
Subject: [PATCH] =?UTF-8?q?update=20=E5=B2=97=E4=BD=8D=E6=9F=A5=E8=AF=A2?=
=?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8D=95=E9=83=A8=E9=97=A8=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/post/types.ts | 1 +
src/views/system/post/index.vue | 19 ++++++++++++++-----
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/src/api/system/post/types.ts b/src/api/system/post/types.ts
index 1f43cef..45a0540 100644
--- a/src/api/system/post/types.ts
+++ b/src/api/system/post/types.ts
@@ -23,6 +23,7 @@ export interface PostForm {
export interface PostQuery extends PageQuery {
deptId: number | string;
+ belongDeptId: number | string;
postCode: string;
postName: string;
postCategory: string;
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index a5aff0c..690d929 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -33,6 +33,15 @@
+
+
+
@@ -72,8 +81,8 @@
-
-
+
+
@@ -106,13 +115,13 @@
-
+
@@ -229,7 +238,7 @@ const getTreeSelect = async () => {
/** 节点单击事件 */
const handleNodeClick = (data: DeptVO) => {
- queryParams.value.deptId = data.id;
+ queryParams.value.belongDeptId = data.id;
handleQuery();
};