详情页表格调整,折线图,散点图坐标调整

This commit is contained in:
renpy 2023-07-07 17:10:23 +08:00
parent fe5166eb16
commit 24af99c0bd

View File

@ -99,6 +99,7 @@
:columns="columnsEnergy_G" :columns="columnsEnergy_G"
:list="dataSourceEnergy_G" :list="dataSourceEnergy_G"
:pagination="false" :pagination="false"
:canSelect="false"
> >
</custom-table> </custom-table>
<template v-if="allData.benergyBlock===null?false:true"> <template v-if="allData.benergyBlock===null?false:true">
@ -109,6 +110,7 @@
:columns="columnsEnergy_B" :columns="columnsEnergy_B"
:list="dataSourceEnergy_B" :list="dataSourceEnergy_B"
:pagination="false" :pagination="false"
:canSelect="false"
> >
</custom-table> </custom-table>
</template> </template>
@ -121,6 +123,7 @@
:columns="columnsResulution_G" :columns="columnsResulution_G"
:list="dataSourceResulution_G" :list="dataSourceResulution_G"
:pagination="false" :pagination="false"
:canSelect="false"
> >
</custom-table> </custom-table>
<template v-if="allData.bresolutionBlock===null?false:true"> <template v-if="allData.bresolutionBlock===null?false:true">
@ -131,6 +134,7 @@
:columns="columnsResulution_B" :columns="columnsResulution_B"
:list="dataSourceResulution_B" :list="dataSourceResulution_B"
:pagination="false" :pagination="false"
:canSelect="false"
> >
</custom-table> </custom-table>
</template> </template>
@ -143,6 +147,7 @@
:columns="columnsEfficiency_G" :columns="columnsEfficiency_G"
:list="dataSourceEfficiency_G" :list="dataSourceEfficiency_G"
:pagination="false" :pagination="false"
:canSelect="false"
> >
</custom-table> </custom-table>
<template v-if="allData.bgEfficiencyBlock===null?false:true"> <template v-if="allData.bgEfficiencyBlock===null?false:true">
@ -153,6 +158,7 @@
:columns="columnsEfficiency_BG" :columns="columnsEfficiency_BG"
:list="dataSourceEfficiency_BG" :list="dataSourceEfficiency_BG"
:pagination="false" :pagination="false"
:canSelect="false"
> >
</custom-table> </custom-table>
</template> </template>
@ -165,6 +171,7 @@
:columns="columnsRoiLimits" :columns="columnsRoiLimits"
:list="dataSourceRoiLimits" :list="dataSourceRoiLimits"
:pagination="false" :pagination="false"
:canSelect="false"
> >
</custom-table> </custom-table>
</a-tab-pane> </a-tab-pane>
@ -176,6 +183,7 @@
:columns="columnsRatios" :columns="columnsRatios"
:list="dataSourceRatios" :list="dataSourceRatios"
:pagination="false" :pagination="false"
:canSelect="false"
> >
</custom-table> </custom-table>
</a-tab-pane> </a-tab-pane>
@ -211,10 +219,10 @@
<div class="pane-title" style="margin-bottom: 15px;">HISTOGRAM</div> <div class="pane-title" style="margin-bottom: 15px;">HISTOGRAM</div>
<div class="gamma-spectrum-row"> <div class="gamma-spectrum-row">
<div> <div>
<span class="span-key">Number of B Channels</span><span class="row-val">{{ allData.bspectrumBlock.numberBChannels }}</span> <span class="span-key">Number of B Channels</span><span class="row-val">{{ allData.histogramBlock.bchannels }}</span>
<span class="span-key" style="margin-left: 35px;">B Energy Span</span><span class="row-val">{{ allData.bspectrumBlock.energySpan }}</span> <span class="span-key" style="margin-left: 35px;">B Energy Span</span><span class="row-val">{{ allData.histogramBlock.benergySpan }}</span>
<span class="span-key" style="margin-left: 35px;">Number of G Channels</span><span class="row-val">{{ allData.bspectrumBlock.energySpan }}</span> <span class="span-key" style="margin-left: 35px;">Number of G Channels</span><span class="row-val">{{ allData.histogramBlock.gchannels }}</span>
<span class="span-key" style="margin-left: 35px;">G Energy Span</span><span class="row-val">{{ allData.bspectrumBlock.energySpan }}</span> <span class="span-key" style="margin-left: 35px;">G Energy Span</span><span class="row-val">{{ allData.histogramBlock.genergySpan }}</span>
</div> </div>
</div> </div>
<div class="gamma-spectrum-chart" id="histogramChartRef"></div> <div class="gamma-spectrum-chart" id="histogramChartRef"></div>
@ -232,6 +240,7 @@
:columns="columnsCertificate" :columns="columnsCertificate"
:list="dataSourceCertificate" :list="dataSourceCertificate"
:pagination="false" :pagination="false"
:canSelect="false"
> >
</custom-table> </custom-table>
</a-tab-pane> </a-tab-pane>
@ -508,7 +517,6 @@ export default {
level_5:[], level_5:[],
level_6:[] level_6:[]
}, },
// dataSourceHistogray: [],
} }
}, },
mounted () { mounted () {
@ -614,18 +622,17 @@ export default {
} }
}, },
xAxis: { xAxis: {
// type:"value",
scale: false,
splitLine: { splitLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: "rgbA(64, 105, 121, 0.2)" color: "rgbA(64, 105, 121, 0.2)"
}, },
}, },
axisTick: {
show: false,
alignWithLabel: true,
interval: 5
},
boundaryGap:false, boundaryGap:false,
interval: 25,
max:str==="G"?this.allData.gspectrumBlock.numberGChannels:this.allData.bspectrumBlock.numberBChannels,
data: str === "G" ? this.dataSourceSpectrumX_G : this.dataSourceSpectrumX_B data: str === "G" ? this.dataSourceSpectrumX_G : this.dataSourceSpectrumX_B
}, },
grid: { grid: {
@ -641,12 +648,13 @@ export default {
lineStyle: { lineStyle: {
color: "rgbA(64, 105, 121, 0.2)" color: "rgbA(64, 105, 121, 0.2)"
} }
} },
scale: false
}, },
dataZoom: [ dataZoom: [
{ {
start: 0, start: 0,
end: 20 end: 255
} }
], ],
series: [ series: [
@ -704,6 +712,8 @@ export default {
color: "rgbA(64, 105, 121, 0.2)" color: "rgbA(64, 105, 121, 0.2)"
}, },
}, },
interval:65,
max:260
}, },
yAxis: { yAxis: {
scale: false, scale: false,
@ -713,6 +723,8 @@ export default {
color: "rgbA(64, 105, 121, 0.2)" color: "rgbA(64, 105, 121, 0.2)"
}, },
}, },
interval:65,
max:260
}, },
tooltip: { tooltip: {
trigger: "item", trigger: "item",