From 29e47e50c632ebc2af4e83f695a1f81f542aa422 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 17 Mar 2022 14:13:16 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E5=BC=B9=E6=A1=86=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index d1217999..5d1e546d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -133,11 +133,11 @@ export default { .dialog-h { .el-dialog__body { position: relative; - height: 82vh; + max-height: 82vh; box-sizing: border-box; padding: 0 10px 20px !important; .dialog-h-content { - height: calc(82vh - 80px); + max-height: calc(82vh - 80px); box-sizing: border-box; overflow: auto; } From dcedaa80d4ba14c6270ac795609852ec7ed9db73 Mon Sep 17 00:00:00 2001 From: 13176889840 <13176889840@163.com> Date: Thu, 17 Mar 2022 15:43:19 +0800 Subject: [PATCH 2/7] dd --- src/views/components/CTable.vue | 8 ++++---- src/views/modules/communityService/measure/index.vue | 4 ++-- src/views/modules/workPc/guidance/guidanceList.vue | 9 ++++++--- src/views/modules/workSys/resiCate.vue | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/views/components/CTable.vue b/src/views/components/CTable.vue index 86449a94..f5d2a8ee 100644 --- a/src/views/components/CTable.vue +++ b/src/views/components/CTable.vue @@ -93,10 +93,10 @@ {{item.lable}} diff --git a/src/views/modules/communityService/measure/index.vue b/src/views/modules/communityService/measure/index.vue index 221cf14e..e54a2355 100644 --- a/src/views/modules/communityService/measure/index.vue +++ b/src/views/modules/communityService/measure/index.vue @@ -163,14 +163,14 @@ :prop="item.columnName" :label="item.label" :align="item.align" - :width="item.width" + :min-width="item.width" :show-overflow-tooltip="true" > - + @@ -39,10 +38,12 @@ export default { customerId: "", }; }, + watch: { + // "$router.currentRoute.name": function () { + // console.log($router.currentRoute); + // }, + }, created() { - // this.$nextTick(() => { - // this.sendMessage() - // }) this.token = localStorage.getItem("token"); this.customerId = localStorage.getItem("customerId"); }, @@ -118,18 +119,6 @@ export default { ); this.$router.push({ name: "home" }); }, - sendMessage() { - // const iframe = this.$refs.iframes.contentWindow - const iframe = - document.getElementsByClassName("iframes")[0].contentWindow; - - console.log("iframe", iframe); - // iframe.postMessage({ - // token: localStorage.getItem('token'), - // customerId: localStorage.getItem('customerId') - // }, '*') - iframe.postMessage({ name: "lalalal" }, "*"); - }, }, }; From 24cfd27404e10f1b2679cc32da66b2111656c9a1 Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Fri, 18 Mar 2022 16:08:17 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E5=B5=8C=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 0b1df15f..b8763839 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -298,14 +298,14 @@ router.beforeEach((to, from, next) => { // url: "visual/basicinfo/basicInfoMain", children: [ { - url: "https://epmet-dev.elinkservice.cn/epmet-oper-gov/#/", + url: "https://test-rxs-job.elinkservice.cn/haiqin-ai/aisecurity.html#/monitor-panel", // url: "/visual/ai/index", name: "AI安防", id: "5feawfwa111111efwa57", }, { - url: "http://www.baidu.com", - // url: "/visual/ai/renliu", + // url: "http://www.baidu.com", + url: "/visual/ai/renliu", name: "人流数据", id: "5fwaefwae222112fawef58", }, @@ -325,7 +325,8 @@ router.beforeEach((to, from, next) => { id: "fewafwafewaefddd", }, { - url: "/visual/ai/yujing", + // url: "/visual/ai/yujing", + url: "https://test-rxs-job.elinkservice.cn/haiqin-ai/aisecurity.html#/data-analysis", name: "预警事件", id: "545345fdsfs", },