Commit 66aedf5a authored by youjie's avatar youjie

no message

parent 152509c7
......@@ -193,6 +193,14 @@
}
},
watch: {
msg:{
handler(newValue, oldValue) {
this.getList()
},
deep: true,
},
},
mounted() {
let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode;
......@@ -213,16 +221,17 @@
this.msg.Type = this.$route.query.Type
}
this.msg.TCNUM = this.$route.query.TCNUM?this.$route.query.TCNUM:""
this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):-1
this.isSearch = this.$route.query.isSearch?this.$route.query.isSearch:false
}
if (ActionMenuCode.indexOf('home_CommissionSeeAll') != -1) { //是否有看所有人的权限
this.disabled = false;
} else {
this.disabled = true;
this.msg.UserId = Number(userInfo.EmployeeId)
if(!this.$route.query.UserId){
this.msg.UserId = Number(userInfo.EmployeeId)
}
}
this.getList();
this.getList()
this.getqishilist()
this.getCompanyList() //获取公司
this.getEmployee() //人员
......
......@@ -218,7 +218,9 @@
this.disabled = false;
} else {
this.disabled = true;
this.msg.UserId = Number(userInfo.EmployeeId)
if(!this.$route.query.UserId){
this.msg.UserId = Number(userInfo.EmployeeId)
}
}
this.getList();
this.getqishilist()
......
......@@ -1463,7 +1463,7 @@
name = 'ServiceCommissiondetails'
obj.UserId = item.UserId
obj.TCNUM = row.TCNUM
obj.Type = ''
obj.Type = 2
}
this.$router.push({
name: name,
......
......@@ -955,7 +955,7 @@
name = 'ServiceCommissiondetails'
obj.UserId = item.UserId
obj.TCNUM = row.TCNUM
obj.Type = ''
obj.Type = 2
}
this.$router.push({
name: 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