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 @@