Commit fd0c39fa by yangxiaolei

跳转页面传值并搜索

parent b89963d5
......@@ -567,7 +567,12 @@ export default {
};
},
methods: {},
mounted: function () {},
mounted: function () {
if(this.$route.query && this.$route.query.trn){
this.model.infcon.ownref = this.$route.query.trn
this.handleSearch()
}
},
};
</script>
<style>
......
......@@ -431,6 +431,10 @@ export default {
},
methods: {},
created: function () {
if(this.$route.query && this.$route.query.trn){
this.model.infcon.seaownref = this.$route.query.trn
this.handleSearch()
}
},
computed:{
mode () {
......
......@@ -623,11 +623,13 @@ export default {
},
methods: {
onInfoView(type ="infbrd"){
let viewurl
let viewurl,orderNum
if(type == "infbrd"){
viewurl = "/#/info/infbrd"
orderNum = this.model.brdgrp.rec.ownref
viewurl = "/#/info/infbrd" + "?trn=" + orderNum
} else{
viewurl = "/#/info/inflid"
orderNum = this.model.lidgrp.rec.ownref
viewurl = "/#/info/inflid" + "?trn=" + orderNum
}
const serial = Utils.generateUUID();
window.open(viewurl, serial, 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
......
......@@ -601,7 +601,8 @@ export default {
// },
onInfoView(){
let viewurl = "/#/info/inflid"
let orderNum = this.model.lidgrp.rec.ownref
let viewurl = "/#/info/inflid" + "?trn=" + orderNum
const serial = Utils.generateUUID();
window.open(viewurl, serial, 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
},
......
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