From 35c560ac7550e69a1c96a400c925ff900fb4c0b9 Mon Sep 17 00:00:00 2001 From: xuyiming Date: Thu, 16 Jul 2020 11:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E9=A6=96=E9=A1=B5fi?= =?UTF-8?q?xed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/workbench/workPlace.vue | 32 +++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/src/pages/workbench/workPlace.vue b/src/pages/workbench/workPlace.vue index dbbc1f1..78c90f5 100644 --- a/src/pages/workbench/workPlace.vue +++ b/src/pages/workbench/workPlace.vue @@ -57,8 +57,10 @@

- 云资源概况分析 - + + 数据分析中心 + +

@@ -124,7 +126,7 @@ v-for="(item, index) in online_tool_arr" :key="index + 300" class="online_box" - @click="goto_online_page(item.url,index)" + @click="goto_online_page(item.url,index,undefined,item.target)" @mouseenter="enter_online_tool(index)" @mouseleave="leave_online_tool()" :style="now_online==index&&item.move_bg?{backgroundColor:item.move_bg}:{ backgroundColor: item.bg }" @@ -960,10 +962,12 @@ export default { ], online_tool_arr: [ { - text: "智能绘图", + text: "智能制图", pic: require("@/assets/imgs/home_tool_ic_znht.png"), bg: "#e5f4fe", - color: "#38aef9" + color: "#38aef9", + url: "https://apaasgis.wodcloud.com/portal/geoplat/viewer/mapViewer.html", + target: 1 }, { text: "数据开发", @@ -981,13 +985,17 @@ export default { text: "流程设计", pic: require("@/assets/imgs/home_tool_ic_lcsj.png"), bg: "#e6ebfe", - color: "#515fe7" + color: "#515fe7", + url: "https://apaas.wodcloud.com/lcgl/index.html#/", + target: 1 }, { - text: "可视化报表", + text: "可视化图表", pic: require("@/assets/imgs/home_tool_ic_kshbb.png"), bg: "#fff2e2", - color: "#ea7d19" + color: "#ea7d19", + url: "https://apaas.wodcloud.com/bi/", + target: 1 }, { text: "模板应用", @@ -1143,9 +1151,13 @@ export default { } }); }, - goto_online_page(url,index,idx){ + goto_online_page(url,index,idx,target){ if(url){ - this.$router.push(url); + if (target==1) { + window.open(url); + } else { + this.$router.push(url); + } } }, get_service_list() { -- 2.26.0