提醒窗口多次弹出问题修复
parent
2d94f07796
commit
9d47ae2561
|
@ -54,7 +54,7 @@ export const anonymization = function (file, config) {
|
|||
}
|
||||
}
|
||||
}
|
||||
console.log(dataset)
|
||||
// console.log(dataset)
|
||||
let newDicomFile = dataset.write()
|
||||
const bufferArray = new Uint8Array(newDicomFile)
|
||||
const blob = new Blob([bufferArray], { type: 'application/octet-stream' })
|
||||
|
|
|
@ -581,7 +581,8 @@ export default {
|
|||
trialBodyPartTypes: [],
|
||||
trialModalitys: [],
|
||||
myInterval: [],
|
||||
studyErrorList: []
|
||||
studyErrorList: [],
|
||||
confirmFlag:false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -669,8 +670,10 @@ export default {
|
|||
cancelButtonText: this.$t("common:button:cancel"),
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.confirmFlag = false;
|
||||
this.$emit("update:activeName",'clinical-data');
|
||||
}).catch(() => {
|
||||
}).catch(() => {
|
||||
this.confirmFlag = false;
|
||||
});
|
||||
}else{
|
||||
if(showConfirm) return;
|
||||
|
@ -940,7 +943,7 @@ export default {
|
|||
beginUploadQueues() {
|
||||
this.scanState = 'uploading'
|
||||
this.studyErrorList = []
|
||||
console.log(this.uploadQueues, this.selectArr)
|
||||
// console.log(this.uploadQueues, this.selectArr)
|
||||
this.warningArr = []
|
||||
for (let i = 0; i < this.selectArr.length; ++i) {
|
||||
const index = this.selectArr[i].studyIndex
|
||||
|
@ -1078,6 +1081,7 @@ export default {
|
|||
})
|
||||
this.$refs.pathClear.value = ''
|
||||
this.btnLoading = false
|
||||
// console.log(11111);
|
||||
if (this.studyErrorList.length > 0) {
|
||||
let msg = this.$t('trials:uploadDicomFiles2:message:studyErrorList')
|
||||
msg = msg.replaceAll('xxx', this.studyErrorList.join('、'))
|
||||
|
@ -1087,6 +1091,9 @@ export default {
|
|||
this.beginUploadQueues()
|
||||
})
|
||||
}
|
||||
if(this.confirmFlag){
|
||||
this.getClinicalData(true);
|
||||
}
|
||||
})
|
||||
}).catch(_ => { this.btnLoading = false })
|
||||
},
|
||||
|
@ -1378,7 +1385,7 @@ export default {
|
|||
let flag = res.Result=== 'PET-CT' || res.Result==='CT、PT' || res.Result === 'PT、CT';
|
||||
// let flag = params.study.seriesList.some(item=>item.modality==='PT');
|
||||
if(flag){
|
||||
scope.getClinicalData(true);
|
||||
scope.confirmFlag = true;
|
||||
}
|
||||
scope.getStudyInfo()
|
||||
if (scope.$route.path !== '/trials/trials-panel/visit/crc-question') {
|
||||
|
|
Loading…
Reference in New Issue