Compare commits

..

No commits in common. "d82b894c0be835be841bf53db39970dcd3638190" and "5feb566d46761fa28c0d85f2a0f15274406e22a7" have entirely different histories.

2 changed files with 3 additions and 4 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,8 +109,7 @@
<span
:class="[
(record.detFileStatus && record.gasFileStatus && record.qcFileStatus) ||
(record.sampleFileName && !record.gasFileName && !record.detFileName && !record.qcFileName) ||
(record.sampleSystemType == 'C' && record.sampleFileName)
(record.sampleFileName && !record.gasFileName && !record.detFileName && !record.qcFileName)
? 'status_true'
: 'status_false',
'status',