From f8612855ff813afdb71001878d38b897fdc43950 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Tue, 24 Mar 2026 12:08:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E9=A2=84=E5=A1=AB=E8=A1=A8=E5=8D=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Sidebar/index.vue | 2 ++ src/views/business/study/comp/ytbd/Sh.vue | 21 +++++++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index f65883f..052da34 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -14,6 +14,8 @@ backgroundSize: 'cover', backgroundRepeat: 'no-repeat', backgroundPosition: 'center', + overflowY: 'auto', + overflowX: 'hidden', height: 'calc(100vh - 100px)' }" mode="vertical" diff --git a/src/views/business/study/comp/ytbd/Sh.vue b/src/views/business/study/comp/ytbd/Sh.vue index 733058e..fbc33e7 100644 --- a/src/views/business/study/comp/ytbd/Sh.vue +++ b/src/views/business/study/comp/ytbd/Sh.vue @@ -67,7 +67,7 @@ - +
@@ -184,18 +184,25 @@ export default { this.$emit('close') this.open = false }, - reset() { - this.form = { + resetApprove() { + this.formApprove = { id: null, - studyId: null, qmyy: null, remark: null, qmrmm: null } - this.resetForm("form") + this.resetForm("formApprove") + }, + resetReject() { + this.formReject = { + id: null, + qmyy: null, + remark: null, + qmrmm: null + } + this.resetForm("formReject") }, show(row) { - this.reset() this.$modal.loading() studyFormPre_info({ id: row.id }).then(response => { this.form = response.data @@ -207,6 +214,7 @@ export default { }) }, showApprove() { + this.resetApprove() this.formApprove.id = this.form.id this.openApprove = true }, @@ -226,6 +234,7 @@ export default { }) }, showReject() { + this.resetReject() this.formReject.id = this.form.id this.openReject = true },