复核报错提示信息修改
continuous-integration/drone/push Build encountered an error Details

uat
wangxiaoshuang 2025-07-18 09:40:41 +08:00
parent 5e67f8b65f
commit 9187c9db8c
2 changed files with 18 additions and 19 deletions

View File

@ -1273,7 +1273,8 @@ export default {
try {
let params = {
TrialId: this.data.TrialId,
UserTypeEnum: 3
UserTypeEnum: 3,
SubjectVisitId: this.data.Id
}
let res = await getTrialUserRoleList(params)
if (res.IsSuccess) {
@ -1293,18 +1294,17 @@ export default {
this.$emit('getList')
this.assignObj.visible = false
this.$emit("close")
} else {
if (res.Code === 5 && res.ErrorMessage) {
this.$confirm(res.ErrorMessage, {
type: 'warning',
showCancelButton: false,
callback: (action) => { },
})
this.$emit('getList')
}
}
} catch (err) {
console.log(err)
if (err.Code === 5 && err.ErrorMessage) {
this.$confirm(err.ErrorMessage, {
type: 'warning',
showCancelButton: false,
callback: (action) => { },
})
this.$emit('getList')
}
}
},
//

View File

@ -821,19 +821,18 @@ export default {
if (res.IsSuccess) {
this.rowData = { ...row }
this.qcVisible = true
} else {
if (res.Code === 5 && res.ErrorMessage) {
this.$confirm(res.ErrorMessage, {
type: 'warning',
showCancelButton: false,
callback: (action) => { },
})
this.getList()
}
}
} catch (err) {
console.log(err)
this.loading = false
if (err.Code === 5 && err.ErrorMessage) {
this.$confirm(err.ErrorMessage, {
type: 'warning',
showCancelButton: false,
callback: (action) => { },
})
this.getList()
}
}
},