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)