diff --git a/.env.development b/.env.development index 83f4b20..848a991 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ NODE_ENV=development -VUE_APP_API_BASE_URL=http://182.92.183.230:9999 +VUE_APP_API_BASE_URL=http://nieziyan.natapp1.cc VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview diff --git a/src/assets/images/abnormalAlarm/return-active.png b/src/assets/images/abnormalAlarm/return-active.png new file mode 100644 index 0000000..eec7f1b Binary files /dev/null and b/src/assets/images/abnormalAlarm/return-active.png differ diff --git a/src/assets/images/abnormalAlarm/return.png b/src/assets/images/abnormalAlarm/return.png new file mode 100644 index 0000000..de37da3 Binary files /dev/null and b/src/assets/images/abnormalAlarm/return.png differ diff --git a/src/views/abnormalAlarm/analysisMonitor/alarmHistory/index.vue b/src/views/abnormalAlarm/analysisMonitor/alarmHistory/index.vue new file mode 100644 index 0000000..46dd640 --- /dev/null +++ b/src/views/abnormalAlarm/analysisMonitor/alarmHistory/index.vue @@ -0,0 +1,374 @@ + + + + + + + + {{ record.alarmValue }}{{ JSON.parse(record.operator).units }} + {{ JSON.parse(record.operator).name }} {{ JSON.parse(record.operator).operator }} {{ JSON.parse(record.operator).threshold }}{{ JSON.parse(record.operator).units }} + + + + + + + + + + return + + + + GENERAL INFORMATION + + + + + Site Code: + ARPO1 + + + + + Sample Geometry: + DISK 50X5_3M + + + + + + Detector Code: + ARPO1 001 + + + + + Spectrum Qualifier: + FULL + + + + + + System Type: + P + + + + + Sample Reference Identification: + 01888888880003 + + + + + + Measurement Identification: + ARP01_001-2023 / 03 / 21-14 : 10 : 55.0 + + + + + Gas Background Measurement Identification: + asdfasdf + + + + + + Detector Background Measurement Identification: + ARP01_001-2019 / 01 / 11-19 : 09 : 42.02 + + + + + Transmit Time: + 2023 / 03 / 21 14:30:01 + + + + ACQUISITION + + + + + Acquisition Time: + 2023 / 03 / 21 14:10:55 + + + + + + + Acquisition Real Time: + 938 + + + + + + + Acquisition Live Time: + 900 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/abnormalAlarm/components/searchBar.vue b/src/views/abnormalAlarm/components/searchBar.vue index da0610e..6360281 100644 --- a/src/views/abnormalAlarm/components/searchBar.vue +++ b/src/views/abnormalAlarm/components/searchBar.vue @@ -28,7 +28,7 @@ - + + + + + + + + + e.preventDefault()" + > + ALL + + + + + + + + + + + + + e.preventDefault()" + > + ALL + + + + + item.value) + } else { + this.queryParams.stations = [] + } + }, + filterOption(input, option) { + return ( + option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 + ); + }, + handleAllClickBox_source(e) { + this.allVal_source = e.target.checked + this.setSelectVal_source() + }, + handleAllClick_source(e) { + this.allVal_source = !this.allVal_source + this.setSelectVal_source() + }, + setSelectVal_source() { + if (this.allVal_source) { + this.queryParams.sources = this.sourceOptions.map(item => item.value) + } else { + this.queryParams.sources = [] + } + }, onTypeChange(val) { this.queryParams.types = val let length = this.typeOptions.length @@ -168,6 +268,24 @@ export default { this.allVal_name = false } }, + onStationChange(val) { + this.queryParams.stations = val + let length = this.options.length + if (val.length === length) { + this.allVal_station = true + } else { + this.allVal_station = false + } + }, + onSourceChange(val) { + this.queryParams.sources = val + let length = this.sourceOptions.length + if (val.length === length) { + this.allVal_source = true + } else { + this.allVal_source = false + } + }, onRangeDateChange(date, dateString) { this.queryParams.startDate = dateString[0] this.queryParams.endDate = dateString[1]