影像质控审核判断是否拥有下一任务逻辑变更
parent
a51d613633
commit
7bbf60dd7c
|
@ -1417,7 +1417,7 @@ export default {
|
|||
trialId: this.trialId,
|
||||
SubjectId: this.data.SubjectId
|
||||
}).then(res => {
|
||||
if (res.Result) {
|
||||
if (res.Result&&res.Result.VisitId) {
|
||||
this.$confirm(this.$t('trials:qcQuality:title:title2', '', {
|
||||
showCancelButton: false
|
||||
})).then(() => {
|
||||
|
@ -1426,7 +1426,7 @@ export default {
|
|||
SubjectId: this.data.SubjectId
|
||||
}).then(res => {
|
||||
this.$emit('getList')
|
||||
this.$emit('nextTask')
|
||||
this.$emit('nextTask',res.Result.VisitId);
|
||||
})
|
||||
})
|
||||
} else {
|
||||
|
|
|
@ -923,9 +923,15 @@ export default {
|
|||
})
|
||||
}).catch(() => {})
|
||||
},
|
||||
nextTask() {
|
||||
nextTask(visitId = null) {
|
||||
this.loading = true
|
||||
getNextQCInfo({ trialId: this.trialId }).then(res => {
|
||||
let obj = {
|
||||
trialId: this.trialId
|
||||
}
|
||||
if(visitId){
|
||||
obj.visitId = visitId;
|
||||
}
|
||||
getNextQCInfo(obj).then(res => {
|
||||
this.loading = false
|
||||
this.qcVisible = false
|
||||
if (res.Result) {
|
||||
|
|
Loading…
Reference in New Issue