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