fix: 自建台站 resolution 中存在的问题
This commit is contained in:
parent
39badac6d9
commit
4de6d60399
|
@ -242,7 +242,7 @@ export default {
|
||||||
const { success, result, message } = await getAction('/selfStation/resolutionCalibration', {
|
const { success, result, message } = await getAction('/selfStation/resolutionCalibration', {
|
||||||
fileName,
|
fileName,
|
||||||
currentText,
|
currentText,
|
||||||
width: 80,
|
width: 992,
|
||||||
})
|
})
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
if (success) {
|
if (success) {
|
||||||
|
@ -270,8 +270,7 @@ export default {
|
||||||
const { AllData, equation, param, table, uncert } = result
|
const { AllData, equation, param, table, uncert } = result
|
||||||
// 有数据
|
// 有数据
|
||||||
if (AllData) {
|
if (AllData) {
|
||||||
// const [linePoint, scatterPoint] = AllData
|
const [linePoint, scatterPoint] = AllData
|
||||||
const [scatterPoint] = AllData
|
|
||||||
this.equation = equation
|
this.equation = equation
|
||||||
this.param = param
|
this.param = param
|
||||||
this.uncert = uncert
|
this.uncert = uncert
|
||||||
|
@ -280,13 +279,13 @@ export default {
|
||||||
this.generateTableId()
|
this.generateTableId()
|
||||||
|
|
||||||
const series = []
|
const series = []
|
||||||
// series.push(
|
series.push(
|
||||||
// buildLineSeries(
|
buildLineSeries(
|
||||||
// 'LineSeries',
|
'LineSeries',
|
||||||
// linePoint.pointlist.map(({ x, y }) => [x, y]),
|
linePoint.pointlist.map(({ x, y }) => [x, y]),
|
||||||
// linePoint.color
|
linePoint.color
|
||||||
// )
|
)
|
||||||
// )
|
)
|
||||||
series.push({
|
series.push({
|
||||||
type: 'scatter',
|
type: 'scatter',
|
||||||
data: scatterPoint.pointlist.map(({ x, y }) => {
|
data: scatterPoint.pointlist.map(({ x, y }) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user