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