Commit d9d0c463 authored by 高滢's avatar 高滢

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

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