Commit f9329782 by 刘泽奇

123

parent 89e24f54
......@@ -34,7 +34,8 @@ const store = new Vuex.Store({
currentCodePath: "",
currentUser: null,
curSelRow: {},
reqUrl: ""
reqUrl: "",
channelName:"",
},
});
Vue.mixin({
......
......@@ -244,31 +244,42 @@
}
break;
case "bw":
if (code.channelItemCode) {
switch (code.itemCode) {
case "zzsbzc":
this.$router.push({
path: `/${this.$root.channelName}/bwselftmreg`, query: {
sdsId: code.channelItemCode
}
});
/*this.$router.push({ path: "/jd/selftmreg", query: {} });*/
break;
case "fzsbzc":
if ($.cookie('userpin') && $.cookie('userpin') != "") {
if (code.channelItemCode) {
switch (code.itemCode) {
case "zzsbzc":
this.$router.push({
path: `/${this.$root.channelName}/bwselftmreg`, query: {
sdsId: code.channelItemCode
}
});
/*this.$router.push({ path: "/jd/selftmreg", query: {} });*/
break;
case "fzsbzc":
case "dbsbzc":
this.$router.push({
path: `/${this.$root.channelName}/servicedetails`, query: {
sdsId: code.channelItemCode
}
});
break;
default:
break;
case "dbsbzc":
this.$router.push({
path: `/${this.$root.channelName}/servicedetails`, query: {
sdsId: code.channelItemCode
}
});
break;
default:
break;
}
} else {
this.$message({
type: "warning",
message: "没有当前产品信息"
})
}
} else {
return
this.$message({
type: "warning",
message: "当前未登录"
})
}
break;
default:
......
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