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 @@ + + + + + \ 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 @@ - + + + + + +
+ + +
+ ALL +
+
+
+
+
+ + + + +
+ + +
+ 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]