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