From 97eb95b8c75dfeed243d5a2161ad4b45ffcd8050 Mon Sep 17 00:00:00 2001 From: gengxin Date: Tue, 4 Mar 2025 07:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=9B=91=E5=90=AC=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/Organization.vue | 6 ++++-- src/views/lecturer/OrganizationApproval.vue | 15 ++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/views/lecturer/Organization.vue b/src/views/lecturer/Organization.vue index 153c2936..e337d711 100644 --- a/src/views/lecturer/Organization.vue +++ b/src/views/lecturer/Organization.vue @@ -8,7 +8,7 @@ - + @@ -34,12 +34,14 @@ export default { const state = reactive({ activeKey: '1', + organizationActive:"0" }); onMounted(() => { if (route.query.activeKey) { - state.activeKey = '2' + state.activeKey = '2'; + state.organizationActive = "1" } }) diff --git a/src/views/lecturer/OrganizationApproval.vue b/src/views/lecturer/OrganizationApproval.vue index 0b5729ac..b2bd07e3 100644 --- a/src/views/lecturer/OrganizationApproval.vue +++ b/src/views/lecturer/OrganizationApproval.vue @@ -534,7 +534,10 @@ export default { lockLecturer, AddApprover, }, - setup() { + props: { + organizationActive: String + }, + setup(props) { const formRef = ref(); const state = reactive({ @@ -1048,6 +1051,16 @@ export default { state.formParam.affiliationName = record.affiliationName; state.formParam.remark = record.remark; }; + + watch( + () => props.organizationActive, + (val) => { + console.log("organizationActive gx val",val) + } + ); + + + const cancel = () => { state.formParam = { orglistName: null,