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

View File

@ -109,8 +109,7 @@
<span <span
:class="[ :class="[
(record.detFileStatus && record.gasFileStatus && record.qcFileStatus) || (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_true'
: 'status_false', : 'status_false',
'status', 'status',