Commit b4154d70 by fengzhaoyu

错别字

parents 95837682 006dc37b
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
<div class="title">添加角色</div> <div class="title">添加角色</div>
<a-form :form="form"> <a-form :form="form">
<a-form-item label="角色名称" v-bind="formItemLayout" > <a-form-item label="角色名称" v-bind="formItemLayout" >
{{roleName}}
<a-input <a-input
v-model="roleName" v-model="roleName"
placeholder="请填写角色名称" placeholder="请填写角色名称"
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
}], }],
superAdministratorList: [], // 超级管理员列表 superAdministratorList: [], // 超级管理员列表
roleList: [], // 超级管理员列表 roleList: [], // 超级管理员列表
superAdministratorListId: [] superAdministratorListId: [] // 超级管理员的ddId
} }
}, },
created () { created () {
...@@ -87,9 +87,7 @@ export default { ...@@ -87,9 +87,7 @@ export default {
methods: { methods: {
// 编辑超级管理员 // 编辑超级管理员
selectSuperAdministrator (record, text, index, superAdministratorListId) { selectSuperAdministrator (record, text, index, superAdministratorListId) {
console.log(record, 'sssss')
config.ddready('ddchooseTen', superAdministratorListId).then((res) => { config.ddready('ddchooseTen', superAdministratorListId).then((res) => {
console.log(res)
let roleId = record.key let roleId = record.key
let roleName = record.administratorName let roleName = record.administratorName
let roleDesc = '' let roleDesc = ''
...@@ -117,7 +115,7 @@ export default { ...@@ -117,7 +115,7 @@ export default {
const _that = this const _that = this
this.$confirm({ this.$confirm({
title: '确认要删除该角色吗?', title: '确认要删除该角色吗?',
content: '删除后,拥有该角色员工自动接触', content: '删除后,拥有该角色员工自动解除',
okText: '确定', okText: '确定',
cancelText: '取消', cancelText: '取消',
onOk () { onOk () {
......
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