From c2b4318c5665c957c6365f18c0c197655f44a49c Mon Sep 17 00:00:00 2001 From: renpy Date: Wed, 2 Aug 2023 18:05:46 +0800 Subject: [PATCH] =?UTF-8?q?analysisMonitor=20=E6=A8=A1=E5=9D=97=20alarm=20?= =?UTF-8?q?History=20=E9=A1=B5=E9=9D=A2=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .../images/abnormalAlarm/return-active.png | Bin 0 -> 1324 bytes src/assets/images/abnormalAlarm/return.png | Bin 0 -> 1324 bytes .../analysisMonitor/alarmHistory/index.vue | 374 ++++++++++++++++++ .../abnormalAlarm/components/searchBar.vue | 120 +++++- 5 files changed, 494 insertions(+), 2 deletions(-) create mode 100644 src/assets/images/abnormalAlarm/return-active.png create mode 100644 src/assets/images/abnormalAlarm/return.png create mode 100644 src/views/abnormalAlarm/analysisMonitor/alarmHistory/index.vue 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 0000000000000000000000000000000000000000..eec7f1ba0a44c0824e9c0e8ce9019e6024b64c91 GIT binary patch literal 1324 zcmaJ>ZA=?=9KHf$lebm3MeR2C=h*NC+Pf>IrAIsZa%D7Io2JyPq9E7aAGpB1cz3J? zi5Vc$j%2`yW?NLkd|#ANi7{qV$>fV!mT6r4uo;pS6Q^IaZt=s^;gwP52l0}-|4W|d z`Mo{4WWax*v`ANkAV{gVi3+OgF71OhKd zcfuf~nZ6gkhBgGruV6!ACG0yyMg`75XEBC2C#q}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YJdtSyj=iuAQQju1Y(c2hOlVlatw*C6Sq+7aAXknOK$KQ=pm(Fjz z!PF7{@ZuiM4%vnXsgBf!2(FI13o1X#%GGZC!S%i%!r;M%4+;YHP18&is>}t#88!+D zoIkkGe|kXfMD`;;BaR&X_=553)Rh;scx63=gKd48T5V@ZunYc5V=ffiDQcj>(YtUR zdn3QgtJ!=HOJe};$0wdV~H!X3gNj|iGg;MKk2xlMp&p7ZHD{wlA!n_XFjnQIRu oD(vH2wdG~1BF7m9K?X)PhJ;Ig1?l?xctPctr>mdKI;Vst0G$=ad;kCd literal 0 HcmV?d00001 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]