|
@@ -227,7 +227,7 @@ function handleGoDetail(e){
|
|
|
<template v-if="row.Status === 1">
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- v-permission="'user:transform'"
|
|
|
+ v-permission="'user:globalTransform'"
|
|
|
link
|
|
|
@click="handleTransFormUser(row)"
|
|
|
>转客户</el-button
|
|
@@ -236,12 +236,14 @@ function handleGoDetail(e){
|
|
|
<template v-else>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
+ v-permission="'user:globalEdit'"
|
|
|
link
|
|
|
@click.stop="handleEditUser(row)"
|
|
|
>编辑</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
type="danger"
|
|
|
+ v-permission="'user:globalEnabled'"
|
|
|
link
|
|
|
v-if="row.Status"
|
|
|
@click.stop="handleDisabledUser(row)"
|
|
@@ -249,6 +251,7 @@ function handleGoDetail(e){
|
|
|
>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
+ v-permission="'user:globalEnabled'"
|
|
|
link
|
|
|
v-else
|
|
|
@click.stop="handleEnableUser(row)"
|
|
@@ -256,6 +259,7 @@ function handleGoDetail(e){
|
|
|
>
|
|
|
<el-button
|
|
|
type="danger"
|
|
|
+ v-permission="'user:globalDelete'"
|
|
|
link
|
|
|
@click.stop="handleDelUser(row)"
|
|
|
>删除</el-button
|