From a6d4f89aadc20beb4e742728690ec6b45bd7e8b6 Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 9 Jul 2024 16:36:12 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E5=BC=82=E5=B8=B8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=AE=B0=E5=BD=95=E3=80=81=E9=A1=B5=E9=9D=A2=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/favicon.ico | Bin 5663 -> 16958 bytes src/api/ems/record/recordAlarmData.js | 8 + src/assets/logo/logo.png | Bin 5663 -> 3397 bytes src/layout/components/Navbar.vue | 205 ++++++++++++++++-- .../ems/record/recordAlarmData/index.vue | 132 +++++------ .../ems/record/recordAlarmRule/index.vue | 158 +++++++------- src/views/mes/base/baseTeamMembers/index.vue | 10 + .../mes/record/recordStaffSalary/index.vue | 62 ++++-- .../mes/record/teamEmployeesWages/index.vue | 2 +- 9 files changed, 392 insertions(+), 185 deletions(-) diff --git a/public/favicon.ico b/public/favicon.ico index e26376026420542212ed58d90d0ed34f554fa4ae..8b5b41029dbd78291f35941b360313bdeb053f69 100644 GIT binary patch literal 16958 zcmeHNdvH|M8UHq$-MqBm&p+=Q_dur z@>66_R;>J7nprxZ79mOLX8E)$UhYaJndUW5O#Lrt@ljE_Ld7=43Jx}>1A7WdK`!9o zot#NZIyj)30`G*g|6SX!P^wv?Y~agJQA(V#^8Qql^bdjGBwfq2N?(nki_}r)r3%-? z!@qm`CB!_1%AATBy5DGvlui%pK0-QzK6_Ri;$ntOwdK#=mi`~SZvf*DintOC2I*_7 z{b>JzY6}$9GClo0>6Yuws`rsAUZUJYnV_A*@63upzdiNsy26WMj|LOqEj6UN~ofwr%C}HS`Py zf>df(s3uP(#2_&z3FCM!^N<-O6J(@BQuQgrby0>wl{u=|k7Xx1gK`|@JZ-wiNA(4x z=UkvN2lS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VP zPs^4Xc>MxrsW#M9V*lD85LOCp=F^GKJpn>%Q;Y^>4==VlYTCO|4^&7;9(e5&vsb23+jj1) z4F{o&?1`kXX!p1QbG-x^0H9^JkC(#5i6HC4TWS(z9%5Q}!C`+cIJOr-(fMiVq%-|BreT|=+0PWgXb&y5S$ zG_jI1l%yt}bT4l#k^g0eq2yHHjK&w{?`d3k@CQ?v1K)MT#dYWTTR+A7RoqtH(&|aO_;V>9LbLXPn3YBbp>+MnYOoTceweya=B)lEz5H zLp=NDAK0Im^8*inYho^qYR#Qdzn_6Db?UQTs4j<|%h}JQ5#? z5{Fs+B?@B0C()s2L3QFMo?LZZrBRzLX=X>-xfw1_^{nkMY^?6lVgoW|%aOd~y;V$f zSC2PJkfFe5A(&8sdo{0Co%f9>o#kz*CRzHQ8F$tEB>cewUnj)^>+%O%(dyCa!bQiP zd$9D}qa>x9CI;OPHw~G}AbY<}mG;j)*X33HunLBdiRVoznp0xEgd+S?KC>~mPK80W zQ^foF{<7rqIFN9hCB? zZ{1Q3@oG>#AA8vR@Mza{MS#=Uc_yV~`NUvJ{jza zT|v*pR%1$2TRUMF0e`DV+%8O#ii1Jz8+U5lkts*sd)3SKz%c(j|OkN$*b3z1o8lke_ zZzLZqleC$I#|o*|>1;QvIPMtF8WlW@z%EFY@*W$g1UVFe01tVC?CaWvKX+N~&SMFh w3o}1aSIuJtnzw?rKNs-3{y)=#g);%#4FR;juZ0`#H8`NAtff?~VD @@ -57,8 +125,41 @@ import Search from '@/components/HeaderSearch' import RuoYiGit from '@/components/RuoYi/Git' import RuoYiDoc from '@/components/RuoYi/Doc' import settings from '@/settings' +import { handleExceptions, listRecordAlarmData } from '@/api/ems/record/recordAlarmData' export default { + dicts: ['alarm_type', 'alarm_status'], + data() { + return { + poolNameList: [], + poolName: '', + alarmTitle: '异常处理', + alarmOpen: false, + alarmLoading: false, + alarmDataList: [], + alarmDataTotal: 0, + // 选中数组 + objIds: [], + // 非单个禁用 + single: true, + // 非多个禁用 + multiple: true, + // 查询参数 + queryParams: { + pageNum: 1, + pageSize: 10, + alarmStatus: '1' + } + } + }, + created() { + localStorage.setItem('this.alarmDataTotal', 0) + }, + mounted() { + // 定时获取提示路由信息 + this.getAlarmData() + // setInterval(() => this.getAlarmData(), 1000 * 60); + }, components: { Breadcrumb, TopNav, @@ -93,6 +194,58 @@ export default { } }, methods: { + // 打开右下角异常 + openAlarm() { + this.$notify({ + title: '异常数据提示', + position: 'bottom-right', + message: this.$createElement( + 'div', + { + on: { + click: () => { + this.getAlarmData(true) + } + } + }, + [this.$createElement('el-button', {}, ['点击查看'])] + ) + }) + }, + /** 报警列表 */ + getAlarmData(open) { + this.alarmOpen = open + this.alarmLoading = true + this.getAlarmDataList() + }, + getAlarmDataList() { + listRecordAlarmData(this.queryParams).then((response) => { + this.alarmDataList = response.rows + this.alarmDataTotal = response.total + this.alarmLoading = false + if (localStorage.getItem('this.alarmDataTotal') != this.alarmDataTotal) { + localStorage.setItem('this.alarmDataTotal', this.alarmDataTotal) + this.openAlarm() + } + }) + }, + /** 跳转处理 */ + jumpProcessing(row) { + if (this.objIds.length === 0) { + this.$modal.msgWarning('请勾选设备进行异常处理!') + return + } + handleExceptions(this.objIds).then(response => { + this.$modal.msgSuccess('处理成功') + this.alarmOpen = false + }) + }, + // 多选框选中数据 + handleSelectionChangeAlarm(selection) { + this.objIds = selection.map((item) => item.objId) + this.single = selection.length !== 1 + this.multiple = !selection.length + }, toggleSideBar() { this.$store.dispatch('app/toggleSideBar') }, @@ -103,23 +256,41 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - if (!settings.casEnable){ - location.href = '/index'; + if (!settings.casEnable) { + location.href = '/index' } }) - }).catch(() => {}); + }).catch(() => { + }) } } }