复核报错提示信息修改
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,9 +1294,11 @@ export default {
this.$emit('getList')
this.assignObj.visible = false
this.$emit("close")
} else {
if (res.Code === 5 && res.ErrorMessage) {
this.$confirm(res.ErrorMessage, {
}
} catch (err) {
console.log(err)
if (err.Code === 5 && err.ErrorMessage) {
this.$confirm(err.ErrorMessage, {
type: 'warning',
showCancelButton: false,
callback: (action) => { },
@ -1303,9 +1306,6 @@ export default {
this.$emit('getList')
}
}
} catch (err) {
console.log(err)
}
},
//
handleSave(isMessage = false) {

View File

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