画标记增加提示语
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3c4cce70c5
commit
eb50f24204
|
@ -1363,10 +1363,12 @@ export default {
|
||||||
const isCriticalSequence = this.visitTaskList[taskIndex].StudyList[studyIndex].IsCriticalSequence
|
const isCriticalSequence = this.visitTaskList[taskIndex].StudyList[studyIndex].IsCriticalSequence
|
||||||
const keyImages = this.visitTaskList[taskIndex].KeyImages
|
const keyImages = this.visitTaskList[taskIndex].KeyImages
|
||||||
const series = this.visitTaskList[taskIndex].StudyList[studyIndex].SeriesList[seriesIndex]
|
const series = this.visitTaskList[taskIndex].StudyList[studyIndex].SeriesList[seriesIndex]
|
||||||
let file = series.find(item => item.ImageId === imageId)
|
if (series && series.length > 0) {
|
||||||
if (file) {
|
let file = series.find(item => item.ImageId === imageId)
|
||||||
getNetWorkSpeed()
|
if (file) {
|
||||||
setNetWorkSpeedSizeAll(percentComplete, detail.total, imageId)
|
getNetWorkSpeed()
|
||||||
|
setNetWorkSpeedSizeAll(percentComplete, detail.total, imageId)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (percentComplete === 100) {
|
if (percentComplete === 100) {
|
||||||
workSpeedclose()
|
workSpeedclose()
|
||||||
|
@ -2941,11 +2943,16 @@ export default {
|
||||||
try {
|
try {
|
||||||
const that = this
|
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,
|
showClose: false,
|
||||||
cancelButtonText: isShowCancelButton ? this.$t('trials:reading:button:temporarySave') : this.$t('common:button:cancel'),
|
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'),
|
confirmButtonText: isShowCancelButton ? this.$t('trials:reading:button:enduringSave') : this.$t('trials:reading:button:relevancy'),
|
||||||
// showCancelButton: isShowCancelButton,
|
// showCancelButton: isShowCancelButton,
|
||||||
|
dangerouslyUseHTMLString: isShowCancelButton,
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
closeOnClickModal: false,
|
closeOnClickModal: false,
|
||||||
closeOnPressEscape: false,
|
closeOnPressEscape: false,
|
||||||
|
@ -2965,7 +2972,8 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return value
|
return value
|
||||||
} catch {
|
} catch(err) {
|
||||||
|
console.log(err)
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue