Commit 04e552b4 authored by zhengke's avatar zhengke

no message

parent f016afcb
......@@ -93,7 +93,7 @@
<div class="selection-box">
<div v-for="(item, index) in selectionList"
:key="index">
<template v-if="msg.IsSelectAdmin==1&&item.name!='转移'">
<template v-if="item.show">
<el-button @click="item.myFun">
<i :class="item.class"></i>{{item.name}}
</el-button>
......@@ -409,15 +409,18 @@
selectionList: [{
name: '转移',
class: 'iconfont iconplus-transfer',
myFun: this.transfer
myFun: this.transfer,
show: true
}, {
name: '转化为客户',
class: 'iconfont iconplus-transfer',
myFun: this.waters
myFun: this.waters,
show: true
}, {
name: '删除',
class: 'iconfont icondelete',
myFun: this.deleteClue
myFun: this.deleteClue,
show: true
}],
sceneList: [],
SceneEmployeeList: [],
......@@ -466,6 +469,11 @@
this.IsSelectAdminList = res.data.data.Content.split(',')
if(this.IsSelectAdminList.indexOf(this.userInfo.EmployeeId.toString())!=-1){
this.msg.IsSelectAdmin = 1
this.selectionList.forEach(item=>{
if(item.name=='转移'){
item.show = false
}
})
this.getList()
}else{
this.getList()
......
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