参数调整,接口错误信息处理
This commit is contained in:
parent
eb1ea53b8f
commit
9038fc5116
|
@ -61,7 +61,7 @@
|
|||
<template slot="title">
|
||||
<a-checkbox v-model="queryParams.filterGrpbox">Filter</a-checkbox>
|
||||
</template>
|
||||
<a-checkbox :disabled="filterDisabled" v-model="queryParams.xeResFlag">Xe Result Flag</a-checkbox>
|
||||
<a-checkbox :disabled="filterDisabled" v-model="queryParams.xeResultFlag">Xe Result Flag</a-checkbox>
|
||||
<!-- 配置详情 -->
|
||||
<div class="filter-options">
|
||||
<div class="filter-option">
|
||||
|
@ -255,7 +255,7 @@ export default {
|
|||
initialMDC: {}, // 初始化的信息,用于重置
|
||||
|
||||
queryParams: {
|
||||
xeResFlag: false,
|
||||
xeResultFlag: false,
|
||||
},
|
||||
detectorList: [], // 探测器列表
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<span class="processing-monitor-content-bar-percent">{{ percent * 100 }}%</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 15px; font-size: 12px">{{ analysedFileName[0] }}</div>
|
||||
<div style="margin-top: 15px; font-size: 12px">{{ analysedFileName.length > 0 ? analysedFileName[0] : '' }}</div>
|
||||
<div slot="custom-footer">
|
||||
<a-button @click="visible = false">Cancel</a-button>
|
||||
</div>
|
||||
|
@ -22,6 +22,14 @@ export default {
|
|||
},
|
||||
analysedFileName: {
|
||||
type: Array,
|
||||
default: () => [],
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
percent(newValue, oldValue) {
|
||||
if (newValue == 1) {
|
||||
this.visible = false
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1557,6 +1557,7 @@ export default {
|
|||
content: () => arr.map((text) => <div>{text}</div>),
|
||||
})
|
||||
}
|
||||
return message
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
|
|
|
@ -794,6 +794,8 @@ export default {
|
|||
},
|
||||
|
||||
handleReprocessAll() {
|
||||
this.percentBar = 0
|
||||
this.finishCont = 0
|
||||
this.analyzeAllModalVisible = true
|
||||
const { inputFileName, sampleType } = this.sampleData
|
||||
// 获取所有的gamma list
|
||||
|
@ -829,6 +831,14 @@ export default {
|
|||
if (fileNames.length > 0) {
|
||||
this.fetchReprocessing(fileNames, currFileName, sampleType)
|
||||
}
|
||||
} else {
|
||||
this.analyzeAllModalVisible = false
|
||||
const arr = res.split('\n')
|
||||
this.$warning({
|
||||
title: 'Warning',
|
||||
content: () => arr.map((text) => <div>{text}</div>),
|
||||
})
|
||||
return
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
@ -841,6 +851,14 @@ export default {
|
|||
if (fileNames.length > 0) {
|
||||
this.fetchReprocessing(fileNames, currFileName, sampleType)
|
||||
}
|
||||
} else {
|
||||
this.analyzeAllModalVisible = false
|
||||
const arr = message.split('\n')
|
||||
this.$warning({
|
||||
title: 'Warning',
|
||||
content: () => arr.map((text) => <div>{text}</div>),
|
||||
})
|
||||
return
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
|
|
Loading…
Reference in New Issue
Block a user