画标记增加提示语
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-07-30 11:45:02 +08:00
parent 3c4cce70c5
commit eb50f24204
1 changed files with 14 additions and 6 deletions

View File

@ -1363,10 +1363,12 @@ export default {
const isCriticalSequence = this.visitTaskList[taskIndex].StudyList[studyIndex].IsCriticalSequence
const keyImages = this.visitTaskList[taskIndex].KeyImages
const series = this.visitTaskList[taskIndex].StudyList[studyIndex].SeriesList[seriesIndex]
let file = series.find(item => item.ImageId === imageId)
if (file) {
getNetWorkSpeed()
setNetWorkSpeedSizeAll(percentComplete, detail.total, imageId)
if (series && series.length > 0) {
let file = series.find(item => item.ImageId === imageId)
if (file) {
getNetWorkSpeed()
setNetWorkSpeedSizeAll(percentComplete, detail.total, imageId)
}
}
if (percentComplete === 100) {
workSpeedclose()
@ -2941,11 +2943,16 @@ export default {
try {
const that = this
//
const { value } = await this.$prompt(this.$t('trials:noneDicom:message:msg1'), '', {
let message = this.$t('trials:noneDicom:message:msg1')
if (isShowCancelButton) {
message = `<div><p>${this.$t('trials:noneDicom:message:msg1')}</p><p style='font-size:12px'>${this.$t('trials:noneDicom:message:saveTip')}</p></div>`
}
const { value } = await this.$prompt( message, '', {
showClose: false,
cancelButtonText: isShowCancelButton ? this.$t('trials:reading:button:temporarySave') : this.$t('common:button:cancel'),
confirmButtonText: isShowCancelButton ? this.$t('trials:reading:button:enduringSave') : this.$t('trials:reading:button:relevancy'),
// showCancelButton: isShowCancelButton,
dangerouslyUseHTMLString: isShowCancelButton,
showCancelButton: true,
closeOnClickModal: false,
closeOnPressEscape: false,
@ -2965,7 +2972,8 @@ export default {
}
})
return value
} catch {
} catch(err) {
console.log(err)
return null
}
},