Compare commits

...

2 Commits

2 changed files with 4 additions and 3 deletions

View File

@ -188,7 +188,7 @@ export default {
this.sampleDetail = data
this.emitGetFiles(data)
}
this.ROIAnalyzeLists = data.ROIAnalyzeLists
this.ROIAnalyzeLists = data.ROIAnalyzeLists || []
} else {
if (newVal.sampleId) {
this.getSampleDetail()
@ -360,7 +360,7 @@ export default {
// Update
async handleUpdate() {
const hasEmpty = this.roiParamList.some(
([startChannel, endChannel]) => (!startChannel && startChannel !== '0') || (!endChannel && endChannel !== '0')
([startChannel, endChannel]) => (!startChannel && startChannel != '0') || (!endChannel && endChannel != '0')
)
if (hasEmpty) {
this.$message.warning('Channel cannot be null')

View File

@ -109,7 +109,8 @@
<span
:class="[
(record.detFileStatus && record.gasFileStatus && record.qcFileStatus) ||
(record.sampleFileName && !record.gasFileName && !record.detFileName && !record.qcFileName)
(record.sampleFileName && !record.gasFileName && !record.detFileName && !record.qcFileName) ||
(record.sampleSystemType == 'C' && record.sampleFileName)
? 'status_true'
: 'status_false',
'status',