Commit a28199bb authored by denghr's avatar denghr

按钮权限

parent 7354dfb2
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="操作" width="150" fixed="right"> <el-table-column align="center" label="操作" width="150" fixed="right">
<template scope="scope"> <template scope="scope">
<el-button class="el-button el-button--text el-button--small" size="small" v-if="scope.row.status==0" @click="clickHandler(scope.row)">处理</el-button> <el-button class="el-button el-button--text el-button--small" size="small" v-if="scope.row.status==0&&app" @click="clickHandler(scope.row)">处理</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -166,10 +166,12 @@ ...@@ -166,10 +166,12 @@
zoneId:null zoneId:null
}, },
allBranchCompany:[], allBranchCompany:[],
app:false,
} }
}, },
created() { created() {
this.getList(); this.getList();
this.app = this.elements['app'];
}, },
computed: { computed: {
...mapGetters([ ...mapGetters([
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
<template scope="scope"> <template scope="scope">
<el-button size="small" class="el-button el-button--text el-button--small" @click="viewDetails(scope.row)">查看详情 <el-button size="small" class="el-button el-button--text el-button--small" @click="viewDetails(scope.row)">查看详情
</el-button> </el-button>
<el-button size="small" class="el-button el-button--text el-button--small" @click="peopleSetting(scope.row)">身份设置 <el-button size="small" class="el-button el-button--text el-button--small" v-if="admin_btn_user_postion_put" @click="peopleSetting(scope.row)">身份设置
</el-button> </el-button>
<el-button class="el-button el-button--text el-button--small" v-if="scope.row.status!=1&&userList_btn_edit" size="small" @click=" setMember(scope.row)">设置会员信息 <el-button class="el-button el-button--text el-button--small" v-if="scope.row.status!=1&&userList_btn_edit" size="small" @click=" setMember(scope.row)">设置会员信息
</el-button> </el-button>
...@@ -705,6 +705,7 @@ ...@@ -705,6 +705,7 @@
userList_btn_forbidden: false,//禁用 userList_btn_forbidden: false,//禁用
userList_btn_unmute:false,//取消禁用 userList_btn_unmute:false,//取消禁用
userList_btn_del: false,//删除 userList_btn_del: false,//删除
admin_btn_user_postion_put:false,//身份设置
settingList:[], settingList:[],
} }
}, },
...@@ -713,6 +714,7 @@ ...@@ -713,6 +714,7 @@
this.userList_btn_forbidden=this.elements['userList:btn_forbidden'];//禁用 this.userList_btn_forbidden=this.elements['userList:btn_forbidden'];//禁用
this.userList_btn_unmute=this.elements['userList:btn_unmute'];//取消禁用 this.userList_btn_unmute=this.elements['userList:btn_unmute'];//取消禁用
this.userList_btn_del=this.elements['userList:btn_del'];//删除 this.userList_btn_del=this.elements['userList:btn_del'];//删除
this.admin_btn_user_postion_put=this.elements['admin:btn:user_postion:put'];//身份设置
this.getList(); this.getList();
this.getMembersLevel(); this.getMembersLevel();
} }
......
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