人员与中心配置系统中心与项目中心的关联关系调整
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-06-03 15:10:20 +08:00
parent 24e472d973
commit 0592f9fc3d
2 changed files with 4 additions and 4 deletions

View File

@ -519,7 +519,7 @@ export default {
this.$alert(this.$t('trials:sitesList:message:setSiteId')) this.$alert(this.$t('trials:sitesList:message:setSiteId'))
return return
} }
this.currentSiteId = row.SiteId this.currentSiteId = row.TrialSiteId
var title = this.$t('trials:sitesList:dialogTitle:assignStaff') var title = this.$t('trials:sitesList:dialogTitle:assignStaff')
console.log(title) console.log(title)
this.crc_model.title = title.replace('xxx', this.$route.query.trialCode) this.crc_model.title = title.replace('xxx', this.$route.query.trialCode)
@ -595,7 +595,7 @@ export default {
// sitecrc // sitecrc
getCrcList(row) { getCrcList(row) {
this.currentRow = { ...row } this.currentRow = { ...row }
this.currentSiteId = row.SiteId this.currentSiteId = row.TrialSiteId
var title = this.$t('trials:sitesList:dialogTitle:staff') var title = this.$t('trials:sitesList:dialogTitle:staff')
this.siteOfcrc_model.title = title.replace('xxx', row.TrialSiteCode) this.siteOfcrc_model.title = title.replace('xxx', row.TrialSiteCode)
this.siteOfcrc_model.visible = true this.siteOfcrc_model.visible = true
@ -603,7 +603,7 @@ export default {
}, },
getTrialSiteCRCList() { getTrialSiteCRCList() {
this.userListLoading = true this.userListLoading = true
getTrialSiteCRCList(this.trialId, this.currentRow.SiteId).then(res => { getTrialSiteCRCList(this.trialId, this.currentRow.TrialSiteId).then(res => {
this.userListLoading = false this.userListLoading = false
this.userList = res.Result this.userList = res.Result
}).catch(() => { this.userListLoading = false }) }).catch(() => { this.userListLoading = false })

View File

@ -195,7 +195,7 @@ export default {
for (let index = 0; index < val.length; index++) { for (let index = 0; index < val.length; index++) {
const param = { const param = {
TrialId: this.trialId, TrialId: this.trialId,
SiteId: val[index].Id, TrialSiteId: val[index].Id,
SiteName: val[index].SiteName SiteName: val[index].SiteName
} }
arr.push(param) arr.push(param)