diff --git a/src/views/Business/Infbdd/BusNavbar.vue b/src/views/Business/Infbdd/BusNavbar.vue index 64d1a9a..24de8e5 100644 --- a/src/views/Business/Infbdd/BusNavbar.vue +++ b/src/views/Business/Infbdd/BusNavbar.vue @@ -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: "服务请求失败!" }); } diff --git a/src/views/Business/Infbdd/Infsea.vue b/src/views/Business/Infbdd/Infsea.vue index 4314621..cc687e1 100644 --- a/src/views/Business/Infbdd/Infsea.vue +++ b/src/views/Business/Infbdd/Infsea.vue @@ -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){ diff --git a/src/views/Business/Infbed/BusNavbar.vue b/src/views/Business/Infbed/BusNavbar.vue index 054c1ea..6cdfff2 100644 --- a/src/views/Business/Infbed/BusNavbar.vue +++ b/src/views/Business/Infbed/BusNavbar.vue @@ -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: "服务请求失败!" }); } diff --git a/src/views/Business/Infbed/Infsea.vue b/src/views/Business/Infbed/Infsea.vue index 9e520a4..0f88e30 100644 --- a/src/views/Business/Infbed/Infsea.vue +++ b/src/views/Business/Infbed/Infsea.vue @@ -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) { diff --git a/src/views/Business/Infbfd/BusNavbar.vue b/src/views/Business/Infbfd/BusNavbar.vue index 90f3679..cf670cd 100644 --- a/src/views/Business/Infbfd/BusNavbar.vue +++ b/src/views/Business/Infbfd/BusNavbar.vue @@ -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: "服务请求失败!" }); } diff --git a/src/views/Business/Infbfd/Infsea.vue b/src/views/Business/Infbfd/Infsea.vue index dab9916..1687da0 100644 --- a/src/views/Business/Infbfd/Infsea.vue +++ b/src/views/Business/Infbfd/Infsea.vue @@ -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) { diff --git a/src/views/Business/Infbrd/BusNavbar.vue b/src/views/Business/Infbrd/BusNavbar.vue index 64d1a9a..24de8e5 100644 --- a/src/views/Business/Infbrd/BusNavbar.vue +++ b/src/views/Business/Infbrd/BusNavbar.vue @@ -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: "服务请求失败!" }); } diff --git a/src/views/Business/Infbrd/Infsea.vue b/src/views/Business/Infbrd/Infsea.vue index 0f8fec7..c9b766e 100644 --- a/src/views/Business/Infbrd/Infsea.vue +++ b/src/views/Business/Infbrd/Infsea.vue @@ -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){ //跳转交易 diff --git a/src/views/Business/Infbtd/BusNavbar.vue b/src/views/Business/Infbtd/BusNavbar.vue index fdcbd27..89c9ce8 100644 --- a/src/views/Business/Infbtd/BusNavbar.vue +++ b/src/views/Business/Infbtd/BusNavbar.vue @@ -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: "服务请求失败!" }); } diff --git a/src/views/Business/Infbtd/Infsea.vue b/src/views/Business/Infbtd/Infsea.vue index 60976bc..9c4d1b7 100644 --- a/src/views/Business/Infbtd/Infsea.vue +++ b/src/views/Business/Infbtd/Infsea.vue @@ -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) { diff --git a/src/views/Business/Infccd/Infsea.vue b/src/views/Business/Infccd/Infsea.vue index 279aaeb..e9f072c 100644 --- a/src/views/Business/Infccd/Infsea.vue +++ b/src/views/Business/Infccd/Infsea.vue @@ -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) { diff --git a/src/views/Business/Infcld/BusNavbar.vue b/src/views/Business/Infcld/BusNavbar.vue index b23dce5..aba8b6d 100644 --- a/src/views/Business/Infcld/BusNavbar.vue +++ b/src/views/Business/Infcld/BusNavbar.vue @@ -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: "服务请求失败!" }); } diff --git a/src/views/Business/Infcld/Infsea.vue b/src/views/Business/Infcld/Infsea.vue index fcb8060..8e3f5e0 100644 --- a/src/views/Business/Infcld/Infsea.vue +++ b/src/views/Business/Infcld/Infsea.vue @@ -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) { diff --git a/src/views/Business/Infcpd/Infsea.vue b/src/views/Business/Infcpd/Infsea.vue index a154fba..7255e76 100644 --- a/src/views/Business/Infcpd/Infsea.vue +++ b/src/views/Business/Infcpd/Infsea.vue @@ -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) { diff --git a/src/views/Business/Infdet/Infsea.vue b/src/views/Business/Infdet/Infsea.vue index b653b4d..c454cd5 100644 --- a/src/views/Business/Infdet/Infsea.vue +++ b/src/views/Business/Infdet/Infsea.vue @@ -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) { diff --git a/src/views/Business/Infdid/Infsea.vue b/src/views/Business/Infdid/Infsea.vue index bea2d55..ab124e4 100644 --- a/src/views/Business/Infdid/Infsea.vue +++ b/src/views/Business/Infdid/Infsea.vue @@ -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){ diff --git a/src/views/Business/Infgcd/Infsea.vue b/src/views/Business/Infgcd/Infsea.vue index d520b71..45b4efd 100644 --- a/src/views/Business/Infgcd/Infsea.vue +++ b/src/views/Business/Infgcd/Infsea.vue @@ -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) { diff --git a/src/views/Business/Infgid/Infsea.vue b/src/views/Business/Infgid/Infsea.vue index 52a4e15..109e63d 100644 --- a/src/views/Business/Infgid/Infsea.vue +++ b/src/views/Business/Infgid/Infsea.vue @@ -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) { diff --git a/src/views/Business/Infltd/BusNavbar.vue b/src/views/Business/Infltd/BusNavbar.vue index f45e3be..1995819 100644 --- a/src/views/Business/Infltd/BusNavbar.vue +++ b/src/views/Business/Infltd/BusNavbar.vue @@ -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: "服务请求失败!" }); } diff --git a/src/views/Business/Infltd/Infsea.vue b/src/views/Business/Infltd/Infsea.vue index c33c7b5..f5a3f21 100644 --- a/src/views/Business/Infltd/Infsea.vue +++ b/src/views/Business/Infltd/Infsea.vue @@ -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) {