diff --git a/src/views/abnormalAlarm/analysisMonitor/alarmRules/config/index.js b/src/views/abnormalAlarm/analysisMonitor/alarmRules/config/index.js new file mode 100644 index 0000000..e6e61ce --- /dev/null +++ b/src/views/abnormalAlarm/analysisMonitor/alarmRules/config/index.js @@ -0,0 +1,68 @@ +export const SampleTypeOptions = [ + { + label: 'All', + value: 'All' + }, + { + label: 'Gamma', + value: 'Gamma' + }, + { + label: 'Beta', + value: 'Beta' + } +] + +export const SampleMap = { + All: ['P', 'B', 'G', 'C'], + Gamma: ['P', 'G'], + Beta: ['B', 'C'] +} + +export const MenuNameMap = { + P: 'Particulate', + G: 'Noble Gas HPGe', + B: 'Noble Gas Beta-Gamma', + C: 'Self-Station' +} + +export const QcFlagOptions = { + P: [ + { label: 'acq_time (h)', isArray: false, value: 18, prop: 'acqTime' }, + { label: 'airFlow (m3/h)', isArray: false, value: 500, prop: 'airFlow' }, + { label: 'decay_time (h)', isArray: false, value: 26.4, prop: 'decayTime' }, + { label: 'samp_vol (m3)', isArray: false, value: 10800, prop: 'sampVol' }, + { label: 'Be7-FWHM (keV)', isArray: false, value: 1.7, prop: 'be7FWHM' }, + { + label: 'Ba140-MDC (uBq/m3)', + isArray: false, + value: 30, + prop: 'ba140MDC' + }, + { label: 'col_time (h)', isArray: true, value: [21.6, 26.4], prop: 'colTime' } + ], + B: [ + { label: 'Xenon Volume (ml)', isArray: false, value: 0.2, prop: 'xeVol' }, + { label: 'Collection Time (h)', isArray: true, value: [6.0, 24.0], prop: 'colTime' }, + { label: 'Acqusition Time (h)', isArray: true, value: [6.0, 24.0], prop: 'acqTime' }, + { label: 'MDC for Xe133 (mBq/m3)', isArray: true, value: [0.001, 5], prop: 'xe133MDC' }, + { label: 'Xe131m Flag', isArray: false, value: 1, disabled: true, prop: 'xe131mFlag' }, + { label: 'Xe133m Flag', isArray: false, value: 1, disabled: true, prop: 'xe133mFlag' }, + { label: 'Xe133 Flag', isArray: false, value: 1, disabled: true, prop: 'xe133Flag' }, + { label: 'Xe135 Flag', isArray: false, value: 1, disabled: true, prop: 'xe135Flag' } + ], + G: [ + { label: 'airFlow (m3/h)', isArray: false, value: 0.4, prop: 'airFlow' }, + { label: 'decay_time (h)', isArray: false, value: 10.0, prop: 'decayTime' }, + { label: 'samp_vol (m3)', isArray: false, value: 10, prop: 'sampVol' }, + { label: 'Xe133-MDC (uBq/m3)', isArray: false, value: 1000, prop: 'xe133MDC' }, + { label: 'acq_time (h)', isArray: true, value: [16.0, 24.0], prop: 'acqTime' }, + { label: 'col_time (h)', isArray: true, value: [21.6, 24.0], prop: 'colTime' }, + ], + C: [ + { label: 'Xe131m Flag', isArray: false, value: 1, disabled: true, prop: 'xe131mFlag' }, + { label: 'Xe133m Flag', isArray: false, value: 1, disabled: true, prop: 'xe133mFlag' }, + { label: 'Xe133 Flag', isArray: false, value: 1, disabled: true, prop: 'xe133Flag' }, + { label: 'Xe135 Flag', isArray: false, value: 1, disabled: true, prop: 'xe135Flag' } + ] +} diff --git a/src/views/abnormalAlarm/analysisMonitor/alarmRules/index.vue b/src/views/abnormalAlarm/analysisMonitor/alarmRules/index.vue index 0bca2e7..f4a3f48 100644 --- a/src/views/abnormalAlarm/analysisMonitor/alarmRules/index.vue +++ b/src/views/abnormalAlarm/analysisMonitor/alarmRules/index.vue @@ -154,6 +154,8 @@ @showSizeChange="handleSizeChange" /> + + - - - - + + + + - - - - + + + + + + + + + {{ item.label }} + + + + + + + + + {{ item }} + + + + + + - - + + - - - - - + + + + + + + + + {{ item.label }} + + + + + + + + + + - - + + - - - - - + + + + + +