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