|
@@ -205,7 +205,7 @@
|
|
|
icon="el-icon-moon"
|
|
|
plain
|
|
|
@click="handleUpdateIsAuto(scope.row,'01')"
|
|
|
- v-hasPermi="['qw:user:login']"
|
|
|
+ v-hasPermi="['qw:user:isauto']"
|
|
|
>
|
|
|
启用插件
|
|
|
</el-button>
|
|
@@ -216,7 +216,7 @@
|
|
|
icon="el-icon-moon"
|
|
|
plain
|
|
|
@click="handleUpdateIsAuto(scope.row,'00')"
|
|
|
- v-hasPermi="['qw:user:login']"
|
|
|
+ v-hasPermi="['qw:user:isauto']"
|
|
|
>
|
|
|
禁用插件
|
|
|
</el-button>
|
|
@@ -477,6 +477,7 @@
|
|
|
|
|
|
<script>
|
|
|
import {
|
|
|
+ updateIsAuto,
|
|
|
updateUser,
|
|
|
exportUser,
|
|
|
getMyQwCompanyList,
|
|
@@ -842,7 +843,7 @@ export default {
|
|
|
id:val.id,
|
|
|
isAuto:code
|
|
|
}
|
|
|
- updateUser(this.isAutoForm).then(res => {
|
|
|
+ updateIsAuto(this.isAutoForm).then(res => {
|
|
|
if (code==='00'){
|
|
|
this.$message.success('禁用成功');
|
|
|
}else {
|