Commit 6b3a356a authored by 张豪's avatar 张豪

Merge branch 'zh' into dev

parents 2131591b 136b0313
......@@ -24,6 +24,13 @@ module.exports = {
"^/awecloud": ""
}
},
"/vmap": {
target: "https://apaas3.wodcloud.com/vmap/",
changeOrigin: true,
pathRewrite: {
"^/vmap": ""
}
},
},
// Various Dev Server settings
host: "localhost", // can be overwritten by process.env.HOST
......
......@@ -1587,12 +1587,14 @@ export default {
goBack(type) {
let self = this;
if (type == "map") {
self.$store.commit("setZnztDetailsParams", {
type: "",
queryType: "webmap",
id: self.portal_id,
});
this.$router.push("/intelligent_drawing");
// self.$store.commit("setZnztDetailsParams", {
// type: "",
// queryType: "webmap",
// id: self.portal_id,
// });
// this.$router.push("/intelligent_drawing");
let shareWebMapParam =JSON.parse(window.sessionStorage.getItem('shareWebMapParam'))
window.location.href = '/vmap/#/map'+`?id=${shareWebMapParam.portalid}`
} else if (type == "process") {
this.$router.push("/progress/designer");
}
......
......@@ -972,8 +972,8 @@ export default {
pic: require("@/assets/imgs/home_tool_ic_znht.png"),
bg: "#e5f4fe",
color: "#38aef9",
url: "/intelligent_drawing",
target: 0
url: "/vmap/#/map",
target: 1
},
{
text: "流程设计",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment