Commit f0013528 authored by jiaxu.yan's avatar jiaxu.yan

Merge branch 'developer/yanjiaxu' into develop

parents f8140a79 8bcea4d2
<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