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 bff48e75
authored
Jun 22, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
7e2b8c21
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
24 deletions
src/assets/css/common.scss
src/views/employee/index.vue
src/views/role/index.vue
src/assets/css/common.scss
View file @
bff48e7
...
@@ -102,8 +102,8 @@ img {
...
@@ -102,8 +102,8 @@ img {
}
}
.scrm-box-f
{
.scrm-box-f
{
background
:
#FFFFFF
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.10
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
}
}
.scrm-flex
{
.scrm-flex
{
...
@@ -139,7 +139,7 @@ img {
...
@@ -139,7 +139,7 @@ img {
::-webkit-scrollbar-thumb
{
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
/*滚动条里面小方块*/
border-radius
:
4px
;
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
.3
);
background-color
:
rgba
(
144
,
147
,
153
,
0
.3
);
}
}
.el-message--info
{
.el-message--info
{
...
@@ -186,19 +186,19 @@ img {
...
@@ -186,19 +186,19 @@ img {
}
}
.normal
{
.normal
{
background-color
:
#2CCA
74
;
background-color
:
#2cca
74
;
}
}
.draft
{
.draft
{
background-color
:
#FDB
757
;
background-color
:
#fdb
757
;
}
}
.dot1
{
.dot1
{
background-color
:
#FDB
757
;
background-color
:
#fdb
757
;
}
}
.dot2
{
.dot2
{
background-color
:
#2CCA
74
;
background-color
:
#2cca
74
;
}
}
.dot3
{
.dot3
{
...
@@ -206,14 +206,24 @@ img {
...
@@ -206,14 +206,24 @@ img {
}
}
.dot4
{
.dot4
{
background-color
:
#EB4E4E
;
background-color
:
#eb4e4e
;
}
}
.dot5
{
.dot5
{
background-color
:
#FDB
757
;
background-color
:
#fdb
757
;
}
}
}
}
.m-r-md
{
.m-r-md
{
margin-right
:
20px
;
margin-right
:
20px
;
}
}
// 顶部按钮
.top_widget
{
padding-bottom
:
16px
;
.el-button
{
span
{
margin-left
:
10px
;
}
}
}
src/views/employee/index.vue
View file @
bff48e7
<!-- 员工管理 -->
<!-- 员工管理 -->
<
template
>
<
template
>
<div
class=
"config-employee employee-list"
>
<div
class=
"config-employee employee-list"
>
<div
style=
"margin-bottom: 10px
"
>
<div
class=
"top_widget
"
>
<GLButton
@
click=
"handleEdit(1)"
:size=
"size"
class
=
"el-icon-plus"
fn=
"创建员工"
type=
"primary"
mode=
"el-button"
>
创建员工
</GLButton>
<GLButton
@
click=
"handleEdit(1)"
:size=
"size"
icon
=
"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>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -555,7 +555,8 @@ export default {
...
@@ -555,7 +555,8 @@ export default {
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
})
.
then
(()
=>
{
const
list
=
selectArr
.
map
(
item
=>
{
const
list
=
selectArr
.
map
(
item
=>
{
return
{
return
{
staffId
:
item
.
id
,
staffId
:
item
.
id
,
...
@@ -566,23 +567,23 @@ export default {
...
@@ -566,23 +567,23 @@ export default {
list
list
}
}
this
.
$apis
.
employee
.
updateStatusBatch
(
param
).
then
(
res
=>
{
this
.
$apis
.
employee
.
updateStatusBatch
(
param
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
this
.
$refs
.
employeeRef
.
refreshTable
(
false
)
this
.
$refs
.
employeeRef
.
refreshTable
(
false
)
}
else
{
}
else
{
this
.
$message
.
error
(
'操作失败'
)
this
.
$message
.
error
(
'操作失败'
)
}
}
})
})
}).
catch
(()
=>
{
})
.
catch
(()
=>
{
console
.
log
(
'点击了取消'
)
console
.
log
(
'点击了取消'
)
})
})
}
}
}
}
},
},
// 批量分配角色,确定按钮
// 批量分配角色,确定按钮
handleAssign
()
{
handleAssign
()
{
this
.
$refs
.
roleForm
.
validate
(
(
valid
)
=>
{
this
.
$refs
.
roleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
const
{
roleId
}
=
this
.
roleForm
const
{
roleId
}
=
this
.
roleForm
let
staffIds
=
this
.
$refs
.
employeeRef
.
mutiSelectArr
[
this
.
tableParams1
.
mutiSelectName
]
let
staffIds
=
this
.
$refs
.
employeeRef
.
mutiSelectArr
[
this
.
tableParams1
.
mutiSelectName
]
...
...
src/views/role/index.vue
View file @
bff48e7
<
template
>
<
template
>
<div
class=
"role-home-page"
>
<div
class=
"role-home-page"
>
<div
class=
"top_widget"
>
<div
class=
"top_widget"
>
<GLButton
size=
"small"
fn=
"创建角色"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage
"
>
创建角色
</GLButton>
<GLButton
:size=
"size"
fn=
"创建角色"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage"
mode=
"el-button
"
>
创建角色
</GLButton>
<!--
<el-button
size=
"small"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage"
>
创建角色
</el-button>
-->
<!--
<el-button
size=
"small"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage"
>
创建角色
</el-button>
-->
</div>
</div>
<div
class=
"table_widget"
>
<div
class=
"table_widget"
>
...
@@ -318,13 +318,7 @@ export default {
...
@@ -318,13 +318,7 @@ export default {
flex-direction
:
column
;
flex-direction
:
column
;
height
:
100%
;
height
:
100%
;
}
}
.top_widget
{
width
:
100%
;
display
:
flex
;
align-items
:
center
;
box-sizing
:
border-box
;
padding
:
0
20px
10px
0
;
}
.table_widget
{
.table_widget
{
width
:
100%
;
width
:
100%
;
//
height
:
calc
(
100%
-
138px
);
//
height
:
calc
(
100%
-
138px
);
...
...
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