Commit f0e1e58a by nanrui

inf入口跳转交易修改额补充。

parent 03e649ca
......@@ -79,7 +79,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -376,10 +376,10 @@ export default {
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
async onChoose(code){
async onChoose(code, prePageId){
//跳转交易
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
......
......@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -429,10 +429,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -79,7 +79,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -382,10 +382,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -79,7 +79,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -424,11 +424,11 @@ export default {
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
async onChoose(code){
async onChoose(code, prePageId){
//跳转交易
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$refs.childs.initdialog = false
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
} ,
async getDitSelInfo(code){
//跳转交易
......
......@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -398,9 +398,9 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getLetSelInfo(code) {
......
......@@ -452,9 +452,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -81,7 +81,7 @@
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -245,9 +245,10 @@ export default {
this.opndat = opndat;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code)
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false
},
closeTrn(refId) {
......
......@@ -554,9 +554,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -435,9 +435,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -440,9 +440,10 @@ export default {
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
async onChoose(code){
async onChoose(code, prePageId){
//跳转交易
this.$router.history.push("/business/" + code)
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
......
......@@ -430,9 +430,10 @@ export default {
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -670,9 +670,10 @@ export default {
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
this.$router.history.push("/business/" + code);
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -75,7 +75,7 @@ export default {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
this.$emit("onChoose", code.toLowerCase(), this.model.pageId);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -402,10 +402,10 @@ export default {
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
async onChoose(code, prePageId) {
//跳转交易
// this.$router.history.push("/business/" + code);
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId: this.model.pageId } });
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false;
},
async getLetSelInfo(code) {
......
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