From c62c80733f73c24546296369a1995ca7f138e01c Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Fri, 29 Aug 2025 09:28:54 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E8=AF=BE=E9=A2=98=E7=BB=84?=
=?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E4=BF=A1=E6=81=AF=E5=A1=AB=E5=86=99?=
=?UTF-8?q?=E5=8F=98=E6=9B=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/admin.js | 7 ++++---
.../system/hospital/components/groupList.vue | 18 +++++++++++++-----
2 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/src/api/admin.js b/src/api/admin.js
index 152cbaf..554c469 100644
--- a/src/api/admin.js
+++ b/src/api/admin.js
@@ -357,11 +357,12 @@ export function deleteHospitalGroup(id) {
method: 'delete'
})
}
-// 删除课题组
-export function getGAUserList() {
+// 获取课题组相关ga
+export function getGAUserList(params) {
return request({
url: `/HospitalGroup/getGAUserList`,
- method: 'get'
+ method: 'get',
+ params
})
}
// 修改检查课题组
diff --git a/src/views/system/hospital/components/groupList.vue b/src/views/system/hospital/components/groupList.vue
index a8cae8b..3f61f62 100644
--- a/src/views/system/hospital/components/groupList.vue
+++ b/src/views/system/hospital/components/groupList.vue
@@ -102,7 +102,8 @@
-
+
@@ -216,9 +217,12 @@ export default {
})
this.from.IdentityUserIdList = []
},
- async getGAUserList() {
+ async getGAUserList(HospitalGroupId) {
try {
- let res = await getGAUserList()
+ let data = {
+ HospitalGroupId
+ }
+ let res = await getGAUserList(data)
if (res.IsSuccess) {
this.GAUserList = res.Result
}
@@ -239,12 +243,16 @@ export default {
})
},
handleAdd() {
- this.getGAUserList()
+ // this.getGAUserList()
+ Object.keys(this.from).forEach(key => {
+ this.from[key] = null
+ })
+ this.from.IdentityUserIdList = []
this.status = 'add'
this.visible = true
},
handleEdit(row) {
- this.getGAUserList()
+ this.getGAUserList(row.Id)
this.status = 'edit'
Object.keys(this.from).forEach(key => {
this.from[key] = row[key]