From 1e76b8ee46c99ce3824771bd236743dded3e6416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Mon, 12 Sep 2022 21:17:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9event?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +-- src/views/am/area.vue | 22 ++------------- src/views/ecm/event.vue | 46 ++++++++++++------------------- src/views/ecm/event_cate_form.vue | 2 +- src/views/opm/operation_form.vue | 7 +++-- src/views/sys/user.vue | 2 +- 6 files changed, 27 insertions(+), 56 deletions(-) diff --git a/.env.development b/.env.development index 3787c6b3..9b458fcf 100644 --- a/.env.development +++ b/.env.development @@ -7,8 +7,8 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台' # 接口地址 #VUE_APP_API_BASEURL = http://1.203.161.103:2800/api #VUE_APP_WS_API = 'ws://localhost:8000' -#VUE_APP_API_BASEURL = http://10.99.5.79:20309/api -VUE_APP_API_BASEURL = http://127.0.0.1:8000/api +VUE_APP_API_BASEURL = http://10.99.5.79:20309/api +#VUE_APP_API_BASEURL = http://127.0.0.1:8000/api VUE_APP_BASEURL = http://127.0.0.1:8000 # 本地端口 diff --git a/src/views/am/area.vue b/src/views/am/area.vue index 431caca2..809ee55f 100644 --- a/src/views/am/area.vue +++ b/src/views/am/area.vue @@ -15,7 +15,7 @@
- - + - - + @@ -166,6 +143,17 @@ export default { return { defaultTime: ['00:00:00', '23:59:59'], timeRange: [], + objCateOptions: { + 'people':'人员', + 'opl': '作业', + 'other': '其他' + }, + eTypeOptions:{ + 'employee': '正式员工', + 'remployee': '相关方', + 'visitor': '访客', + 'driver': '司机' + }, cateOptions: [], areaOptions: [], dialog: { diff --git a/src/views/ecm/event_cate_form.vue b/src/views/ecm/event_cate_form.vue index 14aec6d5..2bd82d6f 100644 --- a/src/views/ecm/event_cate_form.vue +++ b/src/views/ecm/event_cate_form.vue @@ -40,7 +40,7 @@ - + diff --git a/src/views/opm/operation_form.vue b/src/views/opm/operation_form.vue index 6d560e42..82d83124 100644 --- a/src/views/opm/operation_form.vue +++ b/src/views/opm/operation_form.vue @@ -55,7 +55,7 @@ - + { + getVchannels(){ + this.$API.third.tdevice.list.req({ type: 60, page: 0 }).then((res) => { this.vchannelOptions = res; }); }, diff --git a/src/views/sys/user.vue b/src/views/sys/user.vue index eb1cfff4..5c3b4d63 100644 --- a/src/views/sys/user.vue +++ b/src/views/sys/user.vue @@ -296,7 +296,7 @@ export default { 'employee': '正式员工', 'remployee': '相关方', 'visitor': '访客', - 'driver':'司机' + 'driver':'货车司机' }, userTypeOptions2: [ {label:"正式员工", value:"employee"}, From 60a352aec89f13153e48e6c16caf3a471f8d4785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=89=8D=E6=98=8E?= <909355014@qq.com> Date: Tue, 13 Sep 2022 11:17:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?event=20vue=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ecm/event.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/ecm/event.vue b/src/views/ecm/event.vue index e11d5ade..6a78da1e 100644 --- a/src/views/ecm/event.vue +++ b/src/views/ecm/event.vue @@ -71,8 +71,8 @@