fix: 优化beta-gamma页面部分模块
This commit is contained in:
parent
88eb8d89b7
commit
f3c989afc3
|
@ -14,7 +14,7 @@
|
||||||
style="width: 154px"
|
style="width: 154px"
|
||||||
class="sample-select"
|
class="sample-select"
|
||||||
></custom-select>
|
></custom-select>
|
||||||
<pop-over-with-icon placement="right" v-model="qcFlagsVisible">
|
<pop-over-with-icon placement="right" v-model="qcFlagsVisible" :auto-adjust-overflow="false">
|
||||||
QC Flags
|
QC Flags
|
||||||
<beta-gamma-qc-flags slot="content" :data="qcFlags" @click="handleQcFlagClick" />
|
<beta-gamma-qc-flags slot="content" :data="qcFlags" @click="handleQcFlagClick" />
|
||||||
</pop-over-with-icon>
|
</pop-over-with-icon>
|
||||||
|
@ -191,14 +191,12 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
this.SampleType = SampleType
|
this.SampleType = SampleType
|
||||||
|
this.sampleDetail = {}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
currSpectrum: '',
|
currSpectrum: '',
|
||||||
// analyseCurrentSpectrum: {},
|
// analyseCurrentSpectrum: {},
|
||||||
qcFlags: {},
|
qcFlags: {},
|
||||||
|
|
||||||
sampleDetail: {},
|
|
||||||
|
|
||||||
spectraVisible: false,
|
spectraVisible: false,
|
||||||
spectraType: 'sample',
|
spectraType: 'sample',
|
||||||
|
|
||||||
|
@ -735,6 +733,7 @@ export default {
|
||||||
|
|
||||||
.pop-over-with-icon {
|
.pop-over-with-icon {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
|
||||||
&:nth-child(1) {
|
&:nth-child(1) {
|
||||||
width: 224px;
|
width: 224px;
|
||||||
|
|
|
@ -223,7 +223,7 @@ import { buildLineSeries, findSeriesByName, getXAxisAndYAxisByPosition, rangeNum
|
||||||
import SampleDataMixin from '@/views/spectrumAnalysis/SampleDataMixin'
|
import SampleDataMixin from '@/views/spectrumAnalysis/SampleDataMixin'
|
||||||
import GeneralCommentModal from './components/GeneralCommentModal.vue'
|
import GeneralCommentModal from './components/GeneralCommentModal.vue'
|
||||||
import EditSlopeModal from './components/EditSlopeModal.vue'
|
import EditSlopeModal from './components/EditSlopeModal.vue'
|
||||||
import Response from './Response.json'
|
// import Response from './Response.json'
|
||||||
import { updateBaseLine } from '@/utils/WasmHelper'
|
import { updateBaseLine } from '@/utils/WasmHelper'
|
||||||
import RectList from './components/RectList.vue'
|
import RectList from './components/RectList.vue'
|
||||||
import { isNullOrUndefined } from '@/utils/util'
|
import { isNullOrUndefined } from '@/utils/util'
|
||||||
|
|
|
@ -221,7 +221,6 @@ export default {
|
||||||
|
|
||||||
// 来源改变
|
// 来源改变
|
||||||
handleSourceChange() {
|
handleSourceChange() {
|
||||||
console.log('%c [ ]-226', 'font-size:13px; background:pink; color:#bf2c9f;', this.queryParam.dbName)
|
|
||||||
this.searchQuery()
|
this.searchQuery()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<div class="peak-info">
|
<div class="peak-info">
|
||||||
<button-with-switch-icon @change="handlePeakInfoChange" @click="handleTogglePeak"></button-with-switch-icon>
|
<button-with-switch-icon @change="handlePeakInfoChange" @click="handleTogglePeak"></button-with-switch-icon>
|
||||||
</div>
|
</div>
|
||||||
<pop-over-with-icon placement="right" v-model="subOperatorsState.qcFlagsVisible">
|
<pop-over-with-icon placement="right" v-model="subOperatorsState.qcFlagsVisible" :auto-adjust-overflow="false">
|
||||||
QC Flags
|
QC Flags
|
||||||
<qc-flags slot="content" :data="qcFlags" />
|
<qc-flags slot="content" :data="qcFlags" />
|
||||||
</pop-over-with-icon>
|
</pop-over-with-icon>
|
||||||
|
@ -111,7 +111,7 @@ import GraphAssistance from './components/SubOperators/GraphAssistance/GraphAssi
|
||||||
import NuclideLibrary from './components/SubOperators/NuclideLibrary.vue'
|
import NuclideLibrary from './components/SubOperators/NuclideLibrary.vue'
|
||||||
import ButtonWithSwitchIcon from './components/SubOperators/ButtonWithSwitchIcon.vue'
|
import ButtonWithSwitchIcon from './components/SubOperators/ButtonWithSwitchIcon.vue'
|
||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction } from '@/api/manage'
|
||||||
import Response from './response.json'
|
// import Response from './response.json'
|
||||||
import {
|
import {
|
||||||
buildLineSeries,
|
buildLineSeries,
|
||||||
findSeriesByName,
|
findSeriesByName,
|
||||||
|
@ -252,8 +252,6 @@ export default {
|
||||||
|
|
||||||
window.addEventListener('keydown', this.handleKeyboardEvent)
|
window.addEventListener('keydown', this.handleKeyboardEvent)
|
||||||
window.addEventListener('click', this.closePeakInfomationTooltip)
|
window.addEventListener('click', this.closePeakInfomationTooltip)
|
||||||
|
|
||||||
console.log('%c [ this.channelData ]-256', 'font-size:13px; background:#e2a49d; color:#ffe8e1;', this.channelData)
|
|
||||||
},
|
},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
this.cancelLastRequest()
|
this.cancelLastRequest()
|
||||||
|
@ -661,8 +659,6 @@ export default {
|
||||||
baseLineCP: shapeEnergyData,
|
baseLineCP: shapeEnergyData,
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('%c [ this.channelData ]-664', 'font-size:13px; background:#9bcb26; color:#dfff6a;', this.channelData)
|
|
||||||
|
|
||||||
this.resetThumbnailChartDataMax()
|
this.resetThumbnailChartDataMax()
|
||||||
|
|
||||||
// 设置 Spectrum Line
|
// 设置 Spectrum Line
|
||||||
|
@ -2130,6 +2126,7 @@ export default {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
height: 46px;
|
height: 46px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
|
||||||
.pop-over-with-icon {
|
.pop-over-with-icon {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
@ -2151,7 +2148,7 @@ export default {
|
||||||
.peak-info {
|
.peak-info {
|
||||||
width: 226px;
|
width: 226px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
display: inline-block;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 二级操作栏结束
|
// 二级操作栏结束
|
||||||
|
|
|
@ -1764,6 +1764,8 @@ export default {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
|
max-height: calc(100vh - 506px);
|
||||||
|
overflow: hidden auto;
|
||||||
|
|
||||||
&-submenu {
|
&-submenu {
|
||||||
&-active {
|
&-active {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user