Commit 7f0196be authored by 罗超's avatar 罗超

新增合同列表默认参数功能

parent 7eaf3c3f
...@@ -549,6 +549,12 @@ export default { ...@@ -549,6 +549,12 @@ export default {
created() { created() {
let data = JSON.parse(localStorage.getItem("loginUserInfo")); let data = JSON.parse(localStorage.getItem("loginUserInfo"));
this.loginId = data.data.Id; this.loginId = data.data.Id;
if(this.$route.query.no)
{
let no=decodeURIComponent(this.$route.query.no);
this.msg.Number=no
this.mymsg.Number=no
}
}, },
mounted() { mounted() {
this.getList(); this.getList();
......
...@@ -234,6 +234,10 @@ ...@@ -234,6 +234,10 @@
}; };
}, },
created() { created() {
if(this.$route.query.no){
let no=decodeURIComponent(this.$route.query.no);
this.msg.ContractNo=no
}
this.getEmployee() this.getEmployee()
}, },
mounted() { mounted() {
......
...@@ -378,7 +378,13 @@ export default { ...@@ -378,7 +378,13 @@ export default {
noDataMsg: "暂无相关数据", noDataMsg: "暂无相关数据",
}; };
}, },
created() {}, created() {
if(this.$route.query.no)
{
let no=decodeURIComponent(this.$route.query.no);
this.msg.ContractNo=no
}
},
mounted() { mounted() {
this.getList(); this.getList();
}, },
......
...@@ -409,7 +409,12 @@ export default { ...@@ -409,7 +409,12 @@ export default {
isShowEduForm: false, isShowEduForm: false,
}; };
}, },
created() {}, created() {
if(this.$route.query.no){
let no=decodeURIComponent(this.$route.query.no);
this.msg.ContractNo=no
}
},
mounted() { mounted() {
if (this.$route.query && this.$route.query.Name) { if (this.$route.query && this.$route.query.Name) {
//从订单完成统计跳转过来的带的参数 //从订单完成统计跳转过来的带的参数
......
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