Commit 06abd89c by nanrui

各inf查询交易(通过或不通过公共按钮组组件)跳转交易的修改。

parent 21b11571
......@@ -232,9 +232,10 @@ export
this.ownref = ownref
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) {
......
......@@ -378,7 +378,8 @@ export default {
},
async onChoose(code){
//跳转交易
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.model.pageId } });
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
......
......@@ -431,7 +431,8 @@ export default {
},
async onChoose(code) {
//跳转交易
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.model.pageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -384,7 +384,8 @@ export default {
},
async onChoose(code) {
//跳转交易
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.model.pageId } });
this.$refs.childs.initdialog = false;
},
async getDitSelInfo(code) {
......
......@@ -525,9 +525,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) {
......
......@@ -426,7 +426,8 @@ export default {
},
async onChoose(code){
//跳转交易
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.model.pageId } });
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
......
......@@ -464,9 +464,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) {
......
......@@ -404,7 +404,8 @@ export default {
},
async onChoose(code) {
//跳转交易
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.model.pageId } });
this.$refs.childs.initdialog = false;
},
async getLetSelInfo(code) {
......
......@@ -531,7 +531,8 @@ export default {
},
async onChoose(code) {
//跳转交易
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) {
......
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