fix;按乔的要求增加请求reset的接口 20231211:xiao
This commit is contained in:
parent
99e9ad2bd9
commit
35b315421a
|
@ -876,12 +876,18 @@ export default {
|
|||
},
|
||||
|
||||
// 点击Reset Button 重置
|
||||
handleReset() {
|
||||
async handleReset() {
|
||||
this.removeCache("CALIBRATION_BETA_"+this.newSampleData.inputFileName) // 删除fitting之后缓存的数据 20231101:xiao
|
||||
this.newCalibrationFuncModel = cloneDeep(newCalibrationFuncModel)
|
||||
this.list = []
|
||||
this.newE2C = []
|
||||
|
||||
// 按乔的要求增加请求reset的接口 20231211:xiao
|
||||
const res = await postAction('/spectrumAnalysis/resetButton', {
|
||||
tabName: "beta",
|
||||
sampleFileName: this.newSampleData.inputFileName
|
||||
})
|
||||
|
||||
this.figureChartOption = this.oldChartOption
|
||||
|
||||
this.figureChartOption = cloneDeep(this.oldChartOption)
|
||||
|
|
|
@ -656,12 +656,18 @@ export default {
|
|||
},
|
||||
|
||||
// 点击Reset Button 重置
|
||||
handleReset() {
|
||||
async handleReset() {
|
||||
this.$ls.remove("CALIBRATION_GAMMA_"+this.newSampleData.inputFileName) // 删除fitting之后缓存的数据 20231101:xiao
|
||||
this.newCalibrationFuncModel = cloneDeep(newCalibrationFuncModel)
|
||||
this.list = []
|
||||
this.newE2C = []
|
||||
|
||||
// 按乔的要求增加请求reset的接口 20231211:xiao
|
||||
const res = await postAction('/spectrumAnalysis/resetButton', {
|
||||
tabName: "gamma",
|
||||
sampleFileName: this.newSampleData.inputFileName
|
||||
})
|
||||
|
||||
this.figureChartOption = cloneDeep(this.oldChartOption)
|
||||
this.isFirstFitting = false
|
||||
this.isInverse = false
|
||||
|
@ -669,7 +675,6 @@ export default {
|
|||
|
||||
// 点击Fitting按钮执行重新计算
|
||||
async handleFitting() {
|
||||
console.log("isFirstFitting>>"+this.isFirstFitting);
|
||||
const hasEmpty = Object.entries(this.newCalibrationFuncModel).some(([_, v]) => !v)
|
||||
if (hasEmpty && this.list.length < 3) {
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user