|
|
|
@ -87,8 +87,8 @@ |
|
|
|
|
<el-table-column label="操作"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="text" @click="edit(scope.row,'0',queryData.founder)">查看</el-button> |
|
|
|
|
<el-button v-if="scope.row.founder && (isSuper || roleName === scope.row.roleName)" type="text" @click="edit(scope.row,'1',queryData.founder)">编辑</el-button> |
|
|
|
|
<el-button v-if="scope.row.founder && (isSuper || roleName === scope.row.roleName)" type="text" @click="handleDelete(scope.row.projectId)">删除</el-button> |
|
|
|
|
<el-button v-if="scope.row.founder && (isSuper || roleName === scope.row.roleName || (roleName === '管理员' && !scope.row.roleName.includes('超级')))" type="text" @click="edit(scope.row,'1',queryData.founder)">编辑</el-button> |
|
|
|
|
<el-button v-if="scope.row.founder && (isSuper || roleName === scope.row.roleName || (roleName === '管理员' && !scope.row.roleName.includes('超级')))" type="text" @click="handleDelete(scope.row.projectId)">删除</el-button> |
|
|
|
|
<el-button v-if="auth('复制')" type="text" @click="copyData(scope.row.projectId)">复制</el-button> |
|
|
|
|
<el-switch |
|
|
|
|
v-if="auth('禁用')" |
|
|
|
|