Commit dd8485a8 authored by youjie's avatar youjie

no message

parent 3bea95b2
...@@ -198,18 +198,11 @@ ...@@ -198,18 +198,11 @@
let ActionMenuCode = userInfo.ActionMenuCode; let ActionMenuCode = userInfo.ActionMenuCode;
this.msg.TCNUM = this.$route.query.TCNUM?this.$route.query.TCNUM:'' this.msg.TCNUM = this.$route.query.TCNUM?this.$route.query.TCNUM:''
if (this.$route.query) { //不大于0的话用默认值 if (this.$route.query) { //不大于0的话用默认值
if (this.$route.query.PeriodId && this.$route.query.PeriodId > 0) { this.msg.PeriodId = this.$route.query.PeriodId?Number(this.$route.query.PeriodId):0
this.msg.PeriodId = Number(this.$route.query.PeriodId) this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):-1
} this.msg.RB_Branch_Id = this.$route.query.RB_Branch_Id?Number(this.$route.query.RB_Branch_Id):-1
if (this.$route.query.UserId && this.$route.query.UserId > 0) { this.msg.OutBranchId = this.$route.query.OutBranchId?Number(this.$route.query.OutBranchId):-1
this.msg.UserId = Number(this.$route.query.UserId) this.msg.RB_Department_Id = this.$route.query.RB_Department_Id?Number(this.$route.query.RB_Department_Id):-1
}
if (this.$route.query.RB_Branch_Id) {
this.msg.RB_Branch_Id = Number(this.$route.query.RB_Branch_Id)
}
if (this.$route.query.RB_Department_Id && this.$route.query.RB_Department_Id > 0) {
this.msg.RB_Department_Id = Number(this.$route.query.RB_Department_Id)
}
} }
if (ActionMenuCode.indexOf('home_CommissionSeeAll') != -1) { //是否有看所有人的权限 if (ActionMenuCode.indexOf('home_CommissionSeeAll') != -1) { //是否有看所有人的权限
this.disabled = false; this.disabled = false;
......
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