From b3f4499793fa7b21f6c5d1e099d6ed170ecbe47a Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期四, 15 五月 2025 16:38:45 +0800 Subject: [PATCH] 实验方案管理 --- laboratory/src/components/SelectMember/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/laboratory/src/components/SelectMember/index.vue b/laboratory/src/components/SelectMember/index.vue index 96ca265..621e526 100644 --- a/laboratory/src/components/SelectMember/index.vue +++ b/laboratory/src/components/SelectMember/index.vue @@ -59,7 +59,7 @@ </template> <script> -import { getRoleList, getUserList } from './service' +import { getRoleList, getUserList, listByRole } from './service' export default { props: { projectId: { @@ -118,7 +118,8 @@ if (this.projectId) { params.projectId = this.projectId; // TODO: 这里需要替换为新的接口调用 - // const res = await getProjectUserList(params); + const res = await listByRole(params); + this.tableData = res.records; } else { const res = await getUserList(params); this.tableData = res.records; -- Gitblit v1.7.1