复核报错提示信息修改
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
5e67f8b65f
commit
9187c9db8c
|
@ -1273,7 +1273,8 @@ export default {
|
||||||
try {
|
try {
|
||||||
let params = {
|
let params = {
|
||||||
TrialId: this.data.TrialId,
|
TrialId: this.data.TrialId,
|
||||||
UserTypeEnum: 3
|
UserTypeEnum: 3,
|
||||||
|
SubjectVisitId: this.data.Id
|
||||||
}
|
}
|
||||||
let res = await getTrialUserRoleList(params)
|
let res = await getTrialUserRoleList(params)
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
|
@ -1293,18 +1294,17 @@ export default {
|
||||||
this.$emit('getList')
|
this.$emit('getList')
|
||||||
this.assignObj.visible = false
|
this.assignObj.visible = false
|
||||||
this.$emit("close")
|
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) {
|
} catch (err) {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
|
if (err.Code === 5 && err.ErrorMessage) {
|
||||||
|
this.$confirm(err.ErrorMessage, {
|
||||||
|
type: 'warning',
|
||||||
|
showCancelButton: false,
|
||||||
|
callback: (action) => { },
|
||||||
|
})
|
||||||
|
this.$emit('getList')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 保存审核问题
|
// 保存审核问题
|
||||||
|
|
|
@ -821,19 +821,18 @@ export default {
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.rowData = { ...row }
|
this.rowData = { ...row }
|
||||||
this.qcVisible = true
|
this.qcVisible = true
|
||||||
} else {
|
|
||||||
if (res.Code === 5 && res.ErrorMessage) {
|
|
||||||
this.$confirm(res.ErrorMessage, {
|
|
||||||
type: 'warning',
|
|
||||||
showCancelButton: false,
|
|
||||||
callback: (action) => { },
|
|
||||||
})
|
|
||||||
this.getList()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
if (err.Code === 5 && err.ErrorMessage) {
|
||||||
|
this.$confirm(err.ErrorMessage, {
|
||||||
|
type: 'warning',
|
||||||
|
showCancelButton: false,
|
||||||
|
callback: (action) => { },
|
||||||
|
})
|
||||||
|
this.getList()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue