Commit d9d0c463 authored by 高滢's avatar 高滢

Merge branch 'develop' of http://gitlab.91isoft.com:90/car-test/web into gaoying

parents 530af7a6 f0013528
<template>
<el-menu
style="margin-bottom: 30px"
:default-active="activeMenu"
mode="horizontal"
@select="handleSelect"
......
......@@ -528,10 +528,11 @@ export default {
handleStatusChange(row) {
const text = row.status === '0' ? '启用' : '停用'
this.$modal
.confirm('确认要"' + text + '""' + row.roleName + '"角色吗?', {
.confirm('确认要"' + text + '""' + row.roleName + '"角色吗?' ,{
type: 'warning',
title: text,
closeOnClickModal: false
})
.then(function () {
return changeRoleStatus(row.roleId, row.status)
})
......
......@@ -678,6 +678,8 @@ export default {
const text = row.status === '0' ? '启用' : '停用'
this.$modal
.confirm('确认要"' + text + '""' + row.userName + '"用户吗?', {
type: 'warning',
title: text,
closeOnClickModal: false
})
.then(function () {
......
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