Commit 8e39dfa8 by wangna

申报交易跳转数据回填

parent a5519cfe
......@@ -370,7 +370,7 @@ export default {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
this.$router.push({ name: business.charAt(0).toUpperCase() + business.substring(1), params:{prePageId:this.model.pageId} });
}else{
const h = this.$createElement;
const msg = res.respMsg||'请求执行失败!'
......@@ -389,7 +389,8 @@ export default {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
// this.$router.push({ path: viewurl, query: {} });
this.$router.push({ name: business.charAt(0).toUpperCase() + business.substring(1), params:{prePageId:this.model.pageId} });
}else{
const h = this.$createElement;
const msg = res.respMsg||'请求执行失败!'
......@@ -408,7 +409,7 @@ export default {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
this.$router.push({ name: business.charAt(0).toUpperCase() + business.substring(1), params:{prePageId:this.model.pageId} });
}else{
const h = this.$createElement;
const msg = res.respMsg||'请求执行失败!'
......@@ -427,7 +428,7 @@ export default {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {} });
this.$router.push({ name: business.charAt(0).toUpperCase() + business.substring(1), params:{prePageId:this.model.pageId} });
}else{
const h = this.$createElement;
const msg = res.respMsg||'请求执行失败!'
......
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