增加Category results弹窗
This commit is contained in:
parent
5327bac762
commit
947471ecbd
|
|
@ -116,7 +116,7 @@
|
||||||
<!-- 主体部分结束 -->
|
<!-- 主体部分结束 -->
|
||||||
</a-spin>
|
</a-spin>
|
||||||
|
|
||||||
<statistics-paramer-history-modal-for-qc-flags v-model="statisticModalVisible" :statisticsType="statisticsType" />
|
<!-- <statistics-paramer-history-modal-for-qc-flags v-model="statisticModalVisible" :statisticsType="statisticsType" /> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,78 @@
|
||||||
|
<template>
|
||||||
|
<custom-modal v-model="visible" :width="750" title="Category results">
|
||||||
|
<a-table :loading="isLoading" :columns="columns" :dataSource="list" :pagination="false"> </a-table>
|
||||||
|
</custom-modal>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { getAction } from '@/api/manage'
|
||||||
|
import ModalMixin from '@/mixins/ModalMixin'
|
||||||
|
import SampleDataMixin from '@/views/spectrumAnalysis/SampleDataMixin'
|
||||||
|
|
||||||
|
const columns = [
|
||||||
|
{
|
||||||
|
title: '等级',
|
||||||
|
dataIndex: 'category',
|
||||||
|
align: 'center',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '核素名称',
|
||||||
|
dataIndex: 'nuclideName',
|
||||||
|
align: 'center',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '活度浓度',
|
||||||
|
dataIndex: 'conc',
|
||||||
|
align: 'center',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '阈值',
|
||||||
|
dataIndex: 'thresholdValue',
|
||||||
|
align: 'center',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '阈值计算时间',
|
||||||
|
dataIndex: 'calculationTime',
|
||||||
|
align: 'center',
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
export default {
|
||||||
|
mixins: [ModalMixin, SampleDataMixin],
|
||||||
|
data() {
|
||||||
|
this.columns = columns
|
||||||
|
return {
|
||||||
|
list: [],
|
||||||
|
isLoading: false,
|
||||||
|
fileName: '',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
async getData() {
|
||||||
|
const { sampleId, inputFileName: fileName, dbName, detFileName, gasFileName } = this.newSampleData
|
||||||
|
try {
|
||||||
|
this.isLoading = true
|
||||||
|
const res = await getAction('/spectrumAnalysis/categoryInfo', {
|
||||||
|
sampleId,
|
||||||
|
dbName,
|
||||||
|
})
|
||||||
|
if (res.success) {
|
||||||
|
this.list = res.result
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.message)
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
console.error(error)
|
||||||
|
} finally {
|
||||||
|
this.isLoading = false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
beforeModalOpen() {
|
||||||
|
this.list = []
|
||||||
|
this.getData()
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style lang="less" scoped></style>
|
||||||
|
|
@ -74,7 +74,15 @@ const items = [
|
||||||
{
|
{
|
||||||
label: 'Xe Volume[cm³]',
|
label: 'Xe Volume[cm³]',
|
||||||
name: 'xeVolume'
|
name: 'xeVolume'
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
label: 'Auto.Cat',
|
||||||
|
name: 'autoCategory'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: 'Category',
|
||||||
|
name: 'manCategory'
|
||||||
|
},
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
export default {
|
export default {
|
||||||
|
|
|
||||||
|
|
@ -225,6 +225,10 @@
|
||||||
<beta-gamma-qc-results-modal v-model="betaGammaQCResultsModalVisible" :sampleId="this.sampleData.sampleId" />
|
<beta-gamma-qc-results-modal v-model="betaGammaQCResultsModalVisible" :sampleId="this.sampleData.sampleId" />
|
||||||
<!-- Beta-Gamma 的 QC Result 弹窗 结束 -->
|
<!-- Beta-Gamma 的 QC Result 弹窗 结束 -->
|
||||||
|
|
||||||
|
<!-- Category results弹窗 -->
|
||||||
|
<beta-gamma-category-results-modal v-model="categoryResultsVisible" :sampleId="this.sampleData.sampleId" />
|
||||||
|
<!-- Category results弹窗结束 -->
|
||||||
|
|
||||||
<!-- Beta-Gamma 的 RLR 弹窗 -->
|
<!-- Beta-Gamma 的 RLR 弹窗 -->
|
||||||
<beta-gamma-rlr-modal v-model="betaGammaRlrModalVisible" />
|
<beta-gamma-rlr-modal v-model="betaGammaRlrModalVisible" />
|
||||||
<!-- Beta-Gamma 的 RLR 弹窗 结束 -->
|
<!-- Beta-Gamma 的 RLR 弹窗 结束 -->
|
||||||
|
|
@ -269,6 +273,9 @@ import BetaGammaCommentsModal from './components/Modals/BetaGammaModals/BetaGamm
|
||||||
import BetaGammaSpectrumModal from './components/Modals/BetaGammaModals/BetaGammaSpectrumModal.vue'
|
import BetaGammaSpectrumModal from './components/Modals/BetaGammaModals/BetaGammaSpectrumModal.vue'
|
||||||
import BetaGammaSampleInfomationModal from './components/Modals/BetaGammaModals/BetaGammaSampleInfomationModal.vue'
|
import BetaGammaSampleInfomationModal from './components/Modals/BetaGammaModals/BetaGammaSampleInfomationModal.vue'
|
||||||
import BetaGammaQcResultsModal from './components/Modals/BetaGammaModals/BetaGammaQCResultsModal.vue'
|
import BetaGammaQcResultsModal from './components/Modals/BetaGammaModals/BetaGammaQCResultsModal.vue'
|
||||||
|
|
||||||
|
import BetaGammaCategoryResultsModal from './components/Modals/BetaGammaModals/BetaGammaCategoryResultsModal.vue'
|
||||||
|
|
||||||
import BetaGammaRlrModal from './components/Modals/BetaGammaModals/BetaGammaRLRModal/index.vue'
|
import BetaGammaRlrModal from './components/Modals/BetaGammaModals/BetaGammaRLRModal/index.vue'
|
||||||
import StatisticsParamerHistoryModal from './components/Modals/BetaGammaModals/StatisticsParamerHistoryModal.vue'
|
import StatisticsParamerHistoryModal from './components/Modals/BetaGammaModals/StatisticsParamerHistoryModal.vue'
|
||||||
import FtransltModal from './components/Modals/FtransltModal/index.vue'
|
import FtransltModal from './components/Modals/FtransltModal/index.vue'
|
||||||
|
|
@ -324,6 +331,7 @@ export default {
|
||||||
BetaGammaSpectrumModal,
|
BetaGammaSpectrumModal,
|
||||||
BetaGammaSampleInfomationModal,
|
BetaGammaSampleInfomationModal,
|
||||||
BetaGammaQcResultsModal,
|
BetaGammaQcResultsModal,
|
||||||
|
BetaGammaCategoryResultsModal,
|
||||||
BetaGammaRlrModal,
|
BetaGammaRlrModal,
|
||||||
StatisticsParamerHistoryModal,
|
StatisticsParamerHistoryModal,
|
||||||
FtransltModal,
|
FtransltModal,
|
||||||
|
|
@ -408,6 +416,8 @@ export default {
|
||||||
betaGammaSpectrumModalVisible: false, // beta-gamma spectrum 弹窗
|
betaGammaSpectrumModalVisible: false, // beta-gamma spectrum 弹窗
|
||||||
betaGammaSampleInfomationModalVisible: false, // beta-gamma sample infomation 弹窗
|
betaGammaSampleInfomationModalVisible: false, // beta-gamma sample infomation 弹窗
|
||||||
betaGammaQCResultsModalVisible: false, // beta-gamma QC Result 弹窗
|
betaGammaQCResultsModalVisible: false, // beta-gamma QC Result 弹窗
|
||||||
|
|
||||||
|
categoryResultsVisible: false,//Category results弹窗
|
||||||
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 弹窗
|
||||||
|
|
@ -1580,6 +1590,13 @@ export default {
|
||||||
handler: () => (this.betaGammaRlrModalVisible = true),
|
handler: () => (this.betaGammaRlrModalVisible = true),
|
||||||
show: this.isBetaGamma,
|
show: this.isBetaGamma,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
type: 'a-menu-item',
|
||||||
|
title: 'Category results',
|
||||||
|
handler: () => (this.categoryResultsVisible = true),
|
||||||
|
show: true,
|
||||||
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user