Commit cbae1d13 authored by youjie's avatar youjie

只看待我审核

parent fe7f44a3
...@@ -42,6 +42,14 @@ ...@@ -42,6 +42,14 @@
@keyup.native="checkInteger(msg,'TCID')"></el-input> @keyup.native="checkInteger(msg,'TCID')"></el-input>
</span> </span>
</li> </li>
<li>
<span><em>只看待我审核</em>
<el-switch
v-model="PendingMyTrial"
active-value="1"
inactive-value="0" @change="getPendingMyTrial"> </el-switch>
</span>
</li>
<li> <li>
<button class="hollowFixedBtn" type="button" <button class="hollowFixedBtn" type="button"
@click="getControlList">{{$t('pub.searchBtn')}}</button> @click="getControlList">{{$t('pub.searchBtn')}}</button>
...@@ -250,6 +258,7 @@ ...@@ -250,6 +258,7 @@
export default { export default {
data() { data() {
return { return {
PendingMyTrial: '0',
companyList:[], companyList:[],
cancelRemark: '', cancelRemark: '',
dataRow: null, dataRow: null,
...@@ -281,6 +290,7 @@ ...@@ -281,6 +290,7 @@
RB_Group_Id:'0', RB_Group_Id:'0',
Status:'0', Status:'0',
}, },
userinfo: {}
} }
}, },
components: { components: {
...@@ -289,11 +299,15 @@ ...@@ -289,11 +299,15 @@
created() { created() {
this.getTeamList() this.getTeamList()
let userinfo = this.getLocalStorage(); let userinfo = this.getLocalStorage();
this.userinfo = this.getLocalStorage()
this.getCompanyMsg.RB_Group_Id=userinfo.RB_Group_id; this.getCompanyMsg.RB_Group_Id=userinfo.RB_Group_id;
this.EmployeeId = userinfo.EmployeeId this.EmployeeId = userinfo.EmployeeId
let ActionMenuCode=userinfo.ActionMenuCode; let ActionMenuCode=userinfo.ActionMenuCode;
if(ActionMenuCode.indexOf('Finance_clumpSeeAll')!=-1){//如果有权限 可以查看所有 如果没有只能看自己审核的 if(ActionMenuCode.indexOf('Finance_clumpSeeAll')!=-1){//如果有权限 可以查看所有 如果没有只能看自己审核的
this.msg.OutGroupAuditEmpId = 0 if(userinfo.EmployeeId==2786||userinfo.EmployeeId==5){
this.PendingMyTrial = '1'
this.msg.OutGroupAuditEmpId = userinfo.EmployeeId
}else this.msg.OutGroupAuditEmpId = 0
}else{ }else{
this.msg.OutGroupAuditEmpId = userinfo.EmployeeId this.msg.OutGroupAuditEmpId = userinfo.EmployeeId
} }
...@@ -307,6 +321,17 @@ ...@@ -307,6 +321,17 @@
}, },
methods: { methods: {
getPendingMyTrial(){
let ActionMenuCode=this.userinfo.ActionMenuCode;
if(ActionMenuCode.indexOf('Finance_clumpSeeAll')!=-1){
if(this.PendingMyTrial=='0') {
this.msg.OutGroupAuditEmpId = '0'
}else{
this.msg.OutGroupAuditEmpId = this.userinfo.EmployeeId
}
this.getList()
}
},
// 销售预期提成 // 销售预期提成
goAnticipate(row,type){ goAnticipate(row,type){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
......
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