Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 31fc6c0f
authored
Apr 21, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
UI样式调整
1 parent
3b31816d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
src/views/employee/index.vue
src/views/role/index.vue
src/views/employee/index.vue
View file @
31fc6c0
<!-- 员工管理 -->
<!-- 员工管理 -->
<
template
>
<
template
>
<div
class=
"config-employee employee-list"
>
<div
class=
"config-employee employee-list"
>
<div
style=
"margin-bottom:
2
0px"
>
<div
style=
"margin-bottom:
1
0px"
>
<GLButton
@
click=
"handleEdit(1)"
:size=
"size"
class=
"el-icon-plus"
fn=
"创建员工"
type=
"primary"
mode=
"el-button"
>
创建员工
</GLButton>
<GLButton
@
click=
"handleEdit(1)"
:size=
"size"
class=
"el-icon-plus"
fn=
"创建员工"
type=
"primary"
mode=
"el-button"
>
创建员工
</GLButton>
<!--
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
>
创建员工
</el-button>
-->
<!--
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
>
创建员工
</el-button>
-->
</div>
</div>
...
@@ -31,9 +31,9 @@
...
@@ -31,9 +31,9 @@
<p>
启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:
</p>
<p>
启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:
</p>
<p>
1. 角色管理-创建角色
</p>
<p>
1. 角色管理-创建角色
</p>
<p>
2. 选择员工账户-修改角色
</p>
<p>
2. 选择员工账户-修改角色
</p>
<GLButton
mode=
"el-switch"
fn=
"开关"
size=
"mini"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
<GLButton
mode=
"el-switch"
fn=
"开关"
width=
"32"
size=
"mini"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
</el-popover>
</el-popover>
<GLButton
mode=
"el-switch"
fn=
"开关"
v-else
size=
"mini"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
<GLButton
mode=
"el-switch"
fn=
"开关"
width=
"32"
v-else
size=
"mini"
slot=
"reference"
v-model=
"scope.scope.statusName"
active-value=
"启用"
inactive-value=
"禁用"
@
change=
"e => handleSwitchChange(e, scope.scope)"
></GLButton>
<span
style=
"margin-left: 8px"
>
{{
scope
.
scope
.
statusName
}}
</span>
<span
style=
"margin-left: 8px"
>
{{
scope
.
scope
.
statusName
}}
</span>
</GLButton>
</GLButton>
</
template
>
</
template
>
...
@@ -431,7 +431,7 @@ export default {
...
@@ -431,7 +431,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
lang=
"scss"
scoped
>
.config-employee
{
.config-employee
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
...
@@ -459,4 +459,17 @@ export default {
...
@@ -459,4 +459,17 @@ export default {
padding
:
0
;
padding
:
0
;
border
:
0
;
border
:
0
;
}
}
/
deep
/
{
.el-switch__core
{
height
:
16px
;
&::after
{
top
:
0
;
width
:
14px
;
height
:
14px
;
}
}
.el-switch.is-checked
.el-switch__core
::after
{
margin-left
:
-14px
;
}
}
</
style
>
</
style
>
src/views/role/index.vue
View file @
31fc6c0
...
@@ -323,7 +323,7 @@ export default {
...
@@ -323,7 +323,7 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
20px
2
0px
0
;
padding
:
0
20px
1
0px
0
;
}
}
.table_widget
{
.table_widget
{
width
:
100%
;
width
:
100%
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment