gamma 模块 Interactive tool 弹窗位置
Calibration 点击Reanalysis之后 返回结果 Result display 没有重新渲染 formFile 点击save to DB Result display 数据丢失
This commit is contained in:
parent
b5c51883da
commit
a8b4d34536
|
@ -183,15 +183,15 @@ export default {
|
||||||
sampleInfo: {
|
sampleInfo: {
|
||||||
type: Object,
|
type: Object,
|
||||||
},
|
},
|
||||||
// analyseCurrentSpectrum: {
|
analyseCurrentSpectrum: {
|
||||||
// type: Object,
|
type: Object,
|
||||||
// },
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
this.SampleType = SampleType
|
this.SampleType = SampleType
|
||||||
|
|
||||||
return {
|
return {
|
||||||
analyseCurrentSpectrum: {},
|
// analyseCurrentSpectrum: {},
|
||||||
qcFlags: {},
|
qcFlags: {},
|
||||||
|
|
||||||
spectraVisible: false,
|
spectraVisible: false,
|
||||||
|
@ -466,7 +466,8 @@ export default {
|
||||||
postAction('/spectrumAnalysis/analyseCurrentSpectrum', params).then((res) => {
|
postAction('/spectrumAnalysis/analyseCurrentSpectrum', params).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
// this.isReAnalyed_beta = true
|
// this.isReAnalyed_beta = true
|
||||||
this.analyseCurrentSpectrum = res.result
|
// this.analyseCurrentSpectrum = res.result
|
||||||
|
this.$emit('sendXeData', res.result.XeData)
|
||||||
if (res.result.XeData && res.result.XeData.length > 0) {
|
if (res.result.XeData && res.result.XeData.length > 0) {
|
||||||
res.result.XeData.forEach((item) => {
|
res.result.XeData.forEach((item) => {
|
||||||
item.conc = parseFloat(item.conc.toPrecision(6))
|
item.conc = parseFloat(item.conc.toPrecision(6))
|
||||||
|
@ -493,7 +494,8 @@ export default {
|
||||||
}
|
}
|
||||||
postAction('/spectrumAnalysis/analyseAllSpectrum', params).then((res) => {
|
postAction('/spectrumAnalysis/analyseAllSpectrum', params).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.analyseCurrentSpectrum = res.result
|
// this.analyseCurrentSpectrum = res.result
|
||||||
|
this.$emit('sendXeData', res.result.XeData)
|
||||||
res.result.XeData.forEach((item) => {
|
res.result.XeData.forEach((item) => {
|
||||||
item.conc = parseFloat(item.conc.toPrecision(6))
|
item.conc = parseFloat(item.conc.toPrecision(6))
|
||||||
item.concErr = parseFloat(item.concErr.toPrecision(6))
|
item.concErr = parseFloat(item.concErr.toPrecision(6))
|
||||||
|
|
|
@ -1820,7 +1820,12 @@ export default {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
::v-deep {
|
||||||
|
.ant-modal {
|
||||||
|
top: 5px;
|
||||||
|
padding-bottom: 7px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.is-modify,
|
.is-modify,
|
||||||
.is-fitting {
|
.is-fitting {
|
||||||
color: #f00;
|
color: #f00;
|
||||||
|
|
|
@ -49,12 +49,13 @@
|
||||||
ref="betaGammaAnalysisRef"
|
ref="betaGammaAnalysisRef"
|
||||||
@getFiles="getFiles"
|
@getFiles="getFiles"
|
||||||
@sendInfo="getStationName"
|
@sendInfo="getStationName"
|
||||||
|
@sendXeData="getXeData"
|
||||||
@reAnalyCurr="getReAnalyCurr"
|
@reAnalyCurr="getReAnalyCurr"
|
||||||
@reAnalyAll="getReAnalyAll"
|
@reAnalyAll="getReAnalyAll"
|
||||||
:sampleInfo="sampleInfo"
|
:sampleInfo="sampleInfo"
|
||||||
:sample="sampleData"
|
:sample="sampleData"
|
||||||
|
:analyseCurrentSpectrum="analyseCurrentSpectrumData"
|
||||||
/>
|
/>
|
||||||
<!-- :analyseCurrentSpectrum="analyseCurrentSpectrumData" -->
|
|
||||||
<!-- Beta-Gamma 分析 -->
|
<!-- Beta-Gamma 分析 -->
|
||||||
<div v-else class="empty">Please Select a Sample</div>
|
<div v-else class="empty">Please Select a Sample</div>
|
||||||
<resize-observer @notify="handleResize" />
|
<resize-observer @notify="handleResize" />
|
||||||
|
@ -376,7 +377,7 @@ export default {
|
||||||
betaGammaRlrModalVisible: false, // beta-gamma RLR 弹窗
|
betaGammaRlrModalVisible: false, // beta-gamma RLR 弹窗
|
||||||
statisticsParamerHistoryModalVisible: false, // beta-gamma Statistics Paramer History 弹窗
|
statisticsParamerHistoryModalVisible: false, // beta-gamma Statistics Paramer History 弹窗
|
||||||
bgLogViewerVisible: false, // beta-gamma Log 下的BG log viewer 弹窗
|
bgLogViewerVisible: false, // beta-gamma Log 下的BG log viewer 弹窗
|
||||||
// analyseCurrentSpectrumData: {},
|
analyseCurrentSpectrumData: {},
|
||||||
resultDisplayFlag: [],
|
resultDisplayFlag: [],
|
||||||
params_toDB: {
|
params_toDB: {
|
||||||
comment: '',
|
comment: '',
|
||||||
|
@ -467,7 +468,7 @@ export default {
|
||||||
this.params_toDB.checkDet = val.checkDet
|
this.params_toDB.checkDet = val.checkDet
|
||||||
},
|
},
|
||||||
getXeData(val) {
|
getXeData(val) {
|
||||||
// this.$set(this.analyseCurrentSpectrumData, 'XeData', val)
|
this.$set(this.analyseCurrentSpectrumData, 'XeData', val)
|
||||||
this.resultDisplayFlag = val
|
this.resultDisplayFlag = val
|
||||||
},
|
},
|
||||||
// formDB 来源 吧接口返回的文件名称添加到sampleData
|
// formDB 来源 吧接口返回的文件名称添加到sampleData
|
||||||
|
@ -1304,7 +1305,7 @@ export default {
|
||||||
title: 'BG log viewer',
|
title: 'BG log viewer',
|
||||||
show: this.isBetaGamma,
|
show: this.isBetaGamma,
|
||||||
handler: () => {
|
handler: () => {
|
||||||
if(this.params_toDB.savedAnalysisResult) {
|
if (this.params_toDB.savedAnalysisResult) {
|
||||||
this.bgLogViewerVisible = true
|
this.bgLogViewerVisible = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user