lugano病灶标记无截图时添加提示
parent
9fbeb4ce04
commit
9577d1d90e
|
@ -26,7 +26,7 @@
|
|||
/>
|
||||
<div ref="imagesWrapper" class="images">
|
||||
<div v-if="noData" class="empty-text">
|
||||
<slot name="empty">暂无数据</slot>
|
||||
<slot name="empty">{{ $t('trials:lugano:message:nodata') }}</slot>
|
||||
</div>
|
||||
<div v-show="!noData" class="items" :style="itemsStyle">
|
||||
<div
|
||||
|
@ -130,6 +130,11 @@ export default {
|
|||
const loading = this.$loading({ fullscreen: true })
|
||||
getPreviousOtherPicturePath({ rowId: this.lesionId }).then(res => {
|
||||
this.previewImages = res.Result
|
||||
if (this.previewImages.length === 0) {
|
||||
this.$alert(this.$t('trials:lugano:message:noScreenshot'), this.$t('trials:lugano:message:warnTip'), {
|
||||
callback: action => {}
|
||||
})
|
||||
}
|
||||
loading.close()
|
||||
resolve()
|
||||
}).catch(() => {
|
||||
|
|
Loading…
Reference in New Issue