fix: 修复Beta点击QC Flags弹窗中DetectorList 为undefined的问题,gamma双击图表改为显示peak弹窗
This commit is contained in:
parent
67757b84e7
commit
fc7c62b504
|
@ -204,20 +204,20 @@ export default {
|
|||
// 设置左上角台站和探测器列表
|
||||
setStationAndDetector({ detectorList, stationName, stationId }) {
|
||||
this.queryParams.stationName = stationName
|
||||
this.detectorList = detectorList.map((item) => ({
|
||||
label: item,
|
||||
value: item,
|
||||
this.detectorList = detectorList.map(({ detectorCode }) => ({
|
||||
label: detectorCode,
|
||||
value: detectorCode,
|
||||
}))
|
||||
this.queryParams.detectorName = detectorList[0]
|
||||
this.queryParams.detectorName = detectorList[0].detectorCode
|
||||
this.queryParams.stationId = stationId
|
||||
},
|
||||
|
||||
// 重置左上角查询信息
|
||||
handleReset() {
|
||||
this.queryParams.stationName = this.initialMDC.stationName
|
||||
this.detectorList = this.initialMDC.detectorList.map((item) => ({
|
||||
label: item,
|
||||
value: item,
|
||||
this.detectorList = this.initialMDC.detectorList.map(({ detectorCode }) => ({
|
||||
label: detectorCode,
|
||||
value: detectorCode,
|
||||
}))
|
||||
},
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
:option="option"
|
||||
:opts="opts"
|
||||
@zr:click="handleChartClick"
|
||||
@zr:dblclick="handleChartDblClick"
|
||||
@zr:dblclick="handleTogglePeak"
|
||||
@zr:mousedown="handleMouseDown"
|
||||
@zr:mouseup="handleMouseUp"
|
||||
@brushEnd="handleBrushEnd"
|
||||
|
@ -891,11 +891,6 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
// 双击还原
|
||||
handleChartDblClick() {
|
||||
this.handleResetChart()
|
||||
},
|
||||
|
||||
// 获取 Nuclide Library 数据
|
||||
async getSelPosNuclide(channel) {
|
||||
this.currChannel = channel
|
||||
|
|
Loading…
Reference in New Issue
Block a user