From 9fe11a3b1c7ca926e2f4e97e36c2911c290a0ab2 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期一, 30 六月 2025 14:23:54 +0800 Subject: [PATCH] 修改bug --- laboratory/src/views/dataManagement/schemeManagement/addPlan.vue | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/laboratory/src/views/dataManagement/schemeManagement/addPlan.vue b/laboratory/src/views/dataManagement/schemeManagement/addPlan.vue index c14c0d1..6c214a1 100644 --- a/laboratory/src/views/dataManagement/schemeManagement/addPlan.vue +++ b/laboratory/src/views/dataManagement/schemeManagement/addPlan.vue @@ -223,7 +223,7 @@ ref="purposeEditor" :readOnly="isEdit" :value="editorContents.purpose" - height="200px" + height="400px" placeholder="请输入实验目的..." /> </div> @@ -239,7 +239,7 @@ ref="processEditor" :readOnly="isEdit" :value="editorContents.process" - height="200px" + height="400px" placeholder="请输入工艺参数及路线..." /> </div> @@ -757,6 +757,18 @@ } catch (err) { console.error("获取组别列表失败:", err); } + getParticipantsByDispatchId({ dispatchId: data.experimentDispatch.id }) + .then((res) => { + if (res) { + this.participantsData = res || []; + } else { + this.$message.error(res.msg || "获取参加人员列表失败"); + } + }) + .catch((err) => { + this.$message.error("获取参加人员列表失败"); + console.error("获取参加人员列表失败:", err); + }); } // 填充参与人员 @@ -956,12 +968,12 @@ } .groupTable { - width: 65%; + width: 100%; padding-left: 40px; } .rwuTable { - width: 85%; + width: 100%; padding-left: 40px; } @@ -1169,7 +1181,7 @@ .content-box { padding: 0 25px; margin-bottom: 20px; - width: 65%; + width: 95%; display: flex; .content-box-left { flex: 1; -- Gitblit v1.7.1