From 847b294cf2b5782c471dfd394a8ff2327963da97 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 17 三月 2025 09:30:42 +0800 Subject: [PATCH] 检验任务-提交流程修改 --- src/components/Table/lims-table.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue index dcfa7cc..d71bc90 100644 --- a/src/components/Table/lims-table.vue +++ b/src/components/Table/lims-table.vue @@ -30,7 +30,8 @@ </div> <!-- 鍥剧墖 --> <div v-else-if="item.dataType == 'image'"> - <img :src="javaApi + '/img/' + item.prop" alt="" style="width: 40px; height: 40px; margin-top: 10px" /> + <img :src="javaApi + '/img/' + scope.row[item.prop]" alt="" + style="width: 40px; height: 40px; margin-top: 10px" /> </div> <!-- tag --> @@ -229,7 +230,7 @@ }, rowStyle: { type: Object || Function, - default: () => { }, + default: () => null, }, tableData: { type: Array, @@ -260,6 +261,9 @@ }, mounted() { this.calculateSpanInfo(); + this.$nextTick(() => { + this.$refs.multipleTable.doLayout(); + }); }, methods: { getWidth(row) { @@ -442,7 +446,7 @@ } >>>.el-table__body-wrapper::-webkit-scrollbar { - height: 14px; + height: 10px; /* 璁剧疆婊氬姩鏉″搴� */ } </style> -- Gitblit v1.9.3