Merge branch 'feature-analysis-RLR-renpy' of http://git.hivekion.com:3000/xiaoguangbin/AnalysisSystemForRadionuclide_vue into master-dev
This commit is contained in:
commit
4eaeda87ff
|
@ -464,13 +464,15 @@ export default {
|
|||
if (res.success) {
|
||||
// this.isReAnalyed_beta = true
|
||||
this.analyseCurrentSpectrum = res.result
|
||||
res.result.XeData.forEach((item) => {
|
||||
item.conc = parseFloat(item.conc.toPrecision(6))
|
||||
item.concErr = parseFloat(item.concErr.toPrecision(6))
|
||||
item.lc = parseFloat(item.lc.toPrecision(6))
|
||||
item.mdc = parseFloat(item.mdc.toPrecision(6))
|
||||
})
|
||||
this.$emit('reAnalyCurr', true, res.result.XeData)
|
||||
if (res.result.XeData && res.result.XeData.length > 0) {
|
||||
res.result.XeData.forEach((item) => {
|
||||
item.conc = parseFloat(item.conc.toPrecision(6))
|
||||
item.concErr = parseFloat(item.concErr.toPrecision(6))
|
||||
item.lc = parseFloat(item.lc.toPrecision(6))
|
||||
item.mdc = parseFloat(item.mdc.toPrecision(6))
|
||||
})
|
||||
this.$emit('reAnalyCurr', true, res.result.XeData)
|
||||
}
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
|
|
|
@ -913,6 +913,8 @@ export default {
|
|||
this.resetChartOpts()
|
||||
|
||||
this.selectedKeys = []
|
||||
|
||||
this.selectedTableItem = null
|
||||
} else {
|
||||
this.$message.error(message)
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@ export default {
|
|||
return {
|
||||
queryParam: {
|
||||
menuTypes: 'G,B',
|
||||
sampleType: 'P',
|
||||
sampleType: '',
|
||||
startDate: moment().add(-7, 'd').format('YYYY-MM-DD'),
|
||||
endDate: moment().format('YYYY-MM-DD'),
|
||||
dbName: 'auto',
|
||||
|
@ -326,13 +326,19 @@ export default {
|
|||
]
|
||||
if (event == 'B') {
|
||||
this.sampleTypeOption = arr_B
|
||||
this.queryParam.sampleType = 'B'
|
||||
this.$nextTick(() => {
|
||||
this.queryParam.sampleType = 'B'
|
||||
})
|
||||
} else if (event == 'G') {
|
||||
this.sampleTypeOption = arr_G
|
||||
this.queryParam.sampleType = 'P'
|
||||
this.$nextTick(() => {
|
||||
this.queryParam.sampleType = 'P'
|
||||
})
|
||||
} else {
|
||||
this.sampleTypeOption = arr_A
|
||||
this.queryParam.sampleType = 'P'
|
||||
this.$nextTick(() => {
|
||||
this.queryParam.sampleType = ''
|
||||
})
|
||||
}
|
||||
this.getStationAndDetectorList(event)
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user