spectrumAnalysis/getDBSearchList 接口增加参数
This commit is contained in:
parent
0fd0634c70
commit
3add369ae1
|
@ -108,6 +108,7 @@ export default {
|
||||||
this.columns = cloneDeep(columns)
|
this.columns = cloneDeep(columns)
|
||||||
this.disableMixinCreated = true
|
this.disableMixinCreated = true
|
||||||
return {
|
return {
|
||||||
|
searchSampleType: 'All',
|
||||||
visible: false,
|
visible: false,
|
||||||
loadType: 'compare',
|
loadType: 'compare',
|
||||||
queryParam: {
|
queryParam: {
|
||||||
|
@ -252,6 +253,7 @@ export default {
|
||||||
|
|
||||||
const { success, result, message } = await getAction('/spectrumAnalysis/getDBSearchList', {
|
const { success, result, message } = await getAction('/spectrumAnalysis/getDBSearchList', {
|
||||||
AllUsers: this.allUsersValue,
|
AllUsers: this.allUsersValue,
|
||||||
|
sampleType: this.searchSampleType,
|
||||||
})
|
})
|
||||||
if (success) {
|
if (success) {
|
||||||
this.stationList = result.stationCode.map((item) => ({ label: item, value: item }))
|
this.stationList = result.stationCode.map((item) => ({ label: item, value: item }))
|
||||||
|
@ -342,16 +344,22 @@ export default {
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
if (event == 'B') {
|
if (event == 'B') {
|
||||||
|
this.searchSampleType = 'Beta'
|
||||||
|
this.getStationAndDetectorList()
|
||||||
this.sampleTypeOption = arr_B
|
this.sampleTypeOption = arr_B
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.queryParam.sampleType = 'B'
|
this.queryParam.sampleType = 'B'
|
||||||
})
|
})
|
||||||
} else if (event == 'G') {
|
} else if (event == 'G') {
|
||||||
|
this.searchSampleType = 'Gamma'
|
||||||
|
this.getStationAndDetectorList()
|
||||||
this.sampleTypeOption = arr_G
|
this.sampleTypeOption = arr_G
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.queryParam.sampleType = 'P'
|
this.queryParam.sampleType = 'P'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
this.searchSampleType = 'All'
|
||||||
|
this.getStationAndDetectorList()
|
||||||
this.sampleTypeOption = arr_A
|
this.sampleTypeOption = arr_A
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.queryParam.sampleType = ''
|
this.queryParam.sampleType = ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user