From 7c56ec3c6ad00d5a7be46965013db9f465a21dcf Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 19 Apr 2024 11:09:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/visitSelect/index.vue | 4 + src/directive/adaptive/adaptive.js | 9 +- .../components/confirm-visit-list.vue | 6 +- .../components/noticeMarquee.vue | 99 ++- .../hirVisit/components/edit-study-list.vue | 4 +- .../trials/trials-panel/hirVisit/index.vue | 5 +- .../reading/audit-records/index.vue | 787 +++++++++--------- .../reading/pending-review/index.vue | 2 +- .../subject-list/components/add-subject.vue | 9 +- .../subject/subject-list/index.vue | 8 +- 10 files changed, 489 insertions(+), 444 deletions(-) diff --git a/src/components/visitSelect/index.vue b/src/components/visitSelect/index.vue index 9bed791..742b19b 100644 --- a/src/components/visitSelect/index.vue +++ b/src/components/visitSelect/index.vue @@ -4,6 +4,7 @@ placeholder="请选择" @visible-change="selectChange" @change="handleChange" + :disabled="disabled" > { +const doResize = async (el, binding, vnode) => { // 获取表格Dom对象 const { componentInstance: $table } = await vnode // 获取调用传递过来的数据 @@ -14,7 +14,10 @@ const doResize = async(el, binding, vnode) => { if (!$table) return // 计算列表高度并设置 const height = window.innerHeight - el.getBoundingClientRect().top - bottomOffset - // $table.layout.setMaxHeight(height) + // $table.layout.setMaxHeight(height) bodyHeight + console.log($table); + console.log($table.layout.bodyHeight) + $table.bodyWrapper.style.height = `${$table.layout.bodyHeight}px` $table.layout.setHeight(height) // $table.maxHeight = height $table.doLayout() @@ -24,7 +27,7 @@ export default { // 初始化设置 bind(el, binding, vnode) { // 设置resize监听方法 - el.resizeListener = async() => { + el.resizeListener = async () => { await doResize(el, binding, vnode) } // 绑定监听方法到addResizeListener diff --git a/src/views/trials/trials-inspection/components/confirm-visit-list.vue b/src/views/trials/trials-inspection/components/confirm-visit-list.vue index af981fd..210cb38 100644 --- a/src/views/trials/trials-inspection/components/confirm-visit-list.vue +++ b/src/views/trials/trials-inspection/components/confirm-visit-list.vue @@ -141,6 +141,7 @@ @@ -464,6 +467,7 @@ export default { let data = { TrialId: this.submitMessage.TrialId, SubjectVisitIdList: [], + SubjectId: this.submitMessage.SubjectId, }; this.tableSelectData.forEach((item) => { data.SubjectVisitIdList.push(item.SubjectVisitId); diff --git a/src/views/trials/trials-layout/components/noticeMarquee.vue b/src/views/trials/trials-layout/components/noticeMarquee.vue index 6d4cd1b..824504f 100644 --- a/src/views/trials/trials-layout/components/noticeMarquee.vue +++ b/src/views/trials/trials-layout/components/noticeMarquee.vue @@ -1,79 +1,102 @@