Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-template
Project
Project
Details
Activity
Releases
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
张伯涛
web-template
Commits
3e00909b
Commit
3e00909b
authored
Jan 08, 2021
by
shen_yan_pu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据权限框的样式
parent
8c2c5a4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
index.vue
src/views/system/role/index.vue
+19
-19
No files found.
src/views/system/role/index.vue
View file @
3e00909b
...
...
@@ -100,7 +100,7 @@
<span>
{{
scope
.
row
.
createDate
|
transformDateByFormat
(
'YYYY-MM-DD HH:mm'
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"240px"
>
<
template
slot-scope=
"scope"
>
<el-button
v-hasPermi=
"['sys:role:update']"
...
...
@@ -181,8 +181,10 @@
</el-dialog>
<!-- 分配角色数据权限对话框 -->
<el-dialog
title=
"数据权限信息"
:visible
.
sync=
"openDataScope"
width=
"500px"
append-to-body
>
<el-form
:model=
"form"
label-width=
"100px"
>
<el-dialog
class=
"roleDialog"
title=
"数据权限信息"
:visible
.
sync=
"openDataScope"
width=
"900px"
append-to-body
>
<el-row>
<el-col
style=
"width: 49%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"70px"
>
<el-form-item
label=
"角色名称"
>
<el-input
v-model
.
trim=
"form.roleName"
placeholder=
"请输入角色名称"
show-word-limit
:maxlength=
"30"
:disabled=
"true"
/>
</el-form-item>
...
...
@@ -209,10 +211,14 @@
</el-table-column>
</el-table>
</el-form>
<div
class=
"dividerStyle"
>
<el-divider
direction=
"vertical"
/>
</el-col>
<el-col
style=
"width: 1%"
>
<div
class=
"dividerStyle"
>
<el-divider
direction=
"vertical"
/>
</div>
<el-form
:model=
"form"
label-width=
"80px"
style=
"width:60%"
>
</el-col>
<el-col
style=
"width: 49%"
>
<el-form
:model=
"form"
label-width=
"80px"
>
<el-form-item
label=
"菜单名称"
prop=
"roleName"
>
<el-input
v-model=
"form.menuName"
placeholder=
"未选择菜单名称"
disabled
/>
</el-form-item>
...
...
@@ -243,6 +249,8 @@
></el-tree>
</el-form-item>
</el-form>
</el-col>
</el-row>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"cancelDataScope"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"submitDataScope"
>
确 定
</el-button>
...
...
@@ -300,8 +308,8 @@ export default {
// 数据范围选项
dataScopeOptions
:
[
{
dictV
alue
:
'1'
,
dictL
abel
:
'全部数据权限'
v
alue
:
'1'
,
l
abel
:
'全部数据权限'
},
{
value
:
'2'
,
...
...
@@ -665,16 +673,8 @@ export default {
margin-left
:
15px
;
}
}
.roleDialog
{
.el-dialog__body
{
display
:
flex
;
}
}
.dividerStyle
{
.el-divider--vertical
{
height
:
100%
;
margin-left
:
20px
;
width
:
2px
;
}
.el-divider--vertical
{
height
:
12em
;
width
:
4px
;
}
</
style
>
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