From 0592f9fc3d44286568bc28bb8ed86e4f9a9164b1 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 3 Jun 2024 15:10:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E4=B8=8E=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=B3=BB=E7=BB=9F=E4=B8=AD=E5=BF=83=E4=B8=8E?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=B8=AD=E5=BF=83=E7=9A=84=E5=85=B3=E8=81=94?= =?UTF-8?q?=E5=85=B3=E7=B3=BB=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../setting/personnel-manage/components/site.vue | 6 +++--- .../setting/personnel-manage/components/siteForm.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue b/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue index 3568ef66..e6194d32 100644 --- a/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue +++ b/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue @@ -519,7 +519,7 @@ export default { this.$alert(this.$t('trials:sitesList:message:setSiteId')) return } - this.currentSiteId = row.SiteId + this.currentSiteId = row.TrialSiteId var title = this.$t('trials:sitesList:dialogTitle:assignStaff') console.log(title) this.crc_model.title = title.replace('xxx', this.$route.query.trialCode) @@ -595,7 +595,7 @@ export default { // 获取某个site下的crc列表 getCrcList(row) { this.currentRow = { ...row } - this.currentSiteId = row.SiteId + this.currentSiteId = row.TrialSiteId var title = this.$t('trials:sitesList:dialogTitle:staff') this.siteOfcrc_model.title = title.replace('xxx', row.TrialSiteCode) this.siteOfcrc_model.visible = true @@ -603,7 +603,7 @@ export default { }, getTrialSiteCRCList() { this.userListLoading = true - getTrialSiteCRCList(this.trialId, this.currentRow.SiteId).then(res => { + getTrialSiteCRCList(this.trialId, this.currentRow.TrialSiteId).then(res => { this.userListLoading = false this.userList = res.Result }).catch(() => { this.userListLoading = false }) diff --git a/src/views/trials/trials-panel/setting/personnel-manage/components/siteForm.vue b/src/views/trials/trials-panel/setting/personnel-manage/components/siteForm.vue index b52f2422..abe8129b 100644 --- a/src/views/trials/trials-panel/setting/personnel-manage/components/siteForm.vue +++ b/src/views/trials/trials-panel/setting/personnel-manage/components/siteForm.vue @@ -195,7 +195,7 @@ export default { for (let index = 0; index < val.length; index++) { const param = { TrialId: this.trialId, - SiteId: val[index].Id, + TrialSiteId: val[index].Id, SiteName: val[index].SiteName } arr.push(param)