影像统计小于等于0时默认赋值为0
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
04f8a938c3
commit
91078abd15
|
@ -66,10 +66,10 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.IsHaveDicom" type="primary">{{
|
<el-tag v-if="scope.row.IsHaveDicom" type="primary">{{
|
||||||
$fd('IsDicom', true)
|
$fd('IsDicom', true)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<el-tag v-if="scope.row.IsHaveNoneDicom" type="primary">{{
|
<el-tag v-if="scope.row.IsHaveNoneDicom" type="primary">{{
|
||||||
$fd('IsDicom', false)
|
$fd('IsDicom', false)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- 影像数量 -->
|
<!-- 影像数量 -->
|
||||||
|
@ -307,7 +307,7 @@ export default {
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
this.selectArr = selection
|
this.selectArr = selection
|
||||||
let num = this.selectArr.reduce((sum, item) => sum + item.TotalImageSize, 0)
|
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)
|
this.image_size.CheckImageSize = this.$FormatSize(num)
|
||||||
},
|
},
|
||||||
// 获取site下拉框数据
|
// 获取site下拉框数据
|
||||||
|
|
Loading…
Reference in New Issue