影像统计小于等于0时默认赋值为0
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-08-05 10:34:00 +08:00
parent 04f8a938c3
commit 91078abd15
1 changed files with 3 additions and 3 deletions

View File

@ -66,10 +66,10 @@
<template slot-scope="scope">
<el-tag v-if="scope.row.IsHaveDicom" type="primary">{{
$fd('IsDicom', true)
}}</el-tag>
}}</el-tag>
<el-tag v-if="scope.row.IsHaveNoneDicom" type="primary">{{
$fd('IsDicom', false)
}}</el-tag>
}}</el-tag>
</template>
</el-table-column>
<!-- 影像数量 -->
@ -307,7 +307,7 @@ export default {
handleSelectionChange(selection) {
this.selectArr = selection
let num = this.selectArr.reduce((sum, item) => sum + item.TotalImageSize, 0)
if (num <= 0) return this.image_size.CheckImageSize = null
if (num <= 0) return this.image_size.CheckImageSize = `0MB`
this.image_size.CheckImageSize = this.$FormatSize(num)
},
// site