Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayPc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
mingPayPc
Commits
b4154d70
Commit
b4154d70
authored
Nov 28, 2019
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Plain Diff
错别字
parents
95837682
006dc37b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
addOrRights.vue
src/components/pages/rightsManagement/addOrRights.vue
+0
-1
rightsManagement.vue
src/components/pages/rightsManagement/rightsManagement.vue
+2
-4
No files found.
src/components/pages/rightsManagement/addOrRights.vue
View file @
b4154d70
...
@@ -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=
"请填写角色名称"
...
...
src/components/pages/rightsManagement/rightsManagement.vue
View file @
b4154d70
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment