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 ee5465b7
authored
Jul 21, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'huy_dev_v2.7.0' of
http://192.168.3.233:8090/saas/scrm-micro-setti…
…ngs into huy_dev_v2.7.0
2 parents
57aa2acc
de98bfd4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
11 deletions
package.json
src/assets/css/common.scss
src/assets/css/demo.scss
src/views/employee/detail/info.vue
src/views/employee/detail/record.vue
src/views/employee/detailEmployee.vue
src/views/employee/editEmployee.vue
src/views/employee/index.vue
package.json
View file @
ee5465b
...
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.4.
2
"
,
"glsx-components"
:
"^1.4.
4
"
,
"lodash"
:
"^4.17.21"
,
"qrcodejs2"
:
"^0.0.2"
,
"vue"
:
"^2.6.10"
,
...
...
src/assets/css/common.scss
View file @
ee5465b
...
...
@@ -237,6 +237,9 @@ img {
}
.gl-message-box
{
.el-message-box__title
{
line-height
:
27px
;
}
.el-message-box__headerbtn
{
height
:
100%
;
top
:
0
;
...
...
src/assets/css/demo.scss
View file @
ee5465b
...
...
@@ -22,12 +22,16 @@
color
:
#333333
;
font-weight
:
600
;
}
.el-button.is-plain
{
color
:
#666
;
border-color
:
rgba
(
105
,
105
,
105
,
0
.3000
)
}
.el-button--primary.is-plain
{
color
:
#5850FF
;
border-color
:
#5850FF
;
}
.emptyBg
{
width
:
100%
;
...
...
@@ -38,4 +42,8 @@
.message-z
{
z-index
:
9999
!
important
;
}
.el-popover
{
padding
:
10px
12px
!
important
;
}
\ No newline at end of file
src/views/employee/detail/info.vue
View file @
ee5465b
...
...
@@ -81,7 +81,7 @@ export default {
margin-bottom
:
64px
;
}
.config-employee
.container
{
margin-top
:
20px
;
/* margin-top: 20px; */
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
/* padding: 20px; */
...
...
src/views/employee/detail/record.vue
View file @
ee5465b
...
...
@@ -105,7 +105,7 @@ export default {
margin-bottom
:
64px
;
}
.config-employee
.container
{
margin-top
:
20px
;
/* margin-top: 20px; */
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
;
...
...
src/views/employee/detailEmployee.vue
View file @
ee5465b
...
...
@@ -58,7 +58,7 @@ export default {
margin-bottom
:
64px
;
}
.config-employee
.container
{
margin-top
:
20px
;
/* margin-top: 20px; */
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
;
...
...
src/views/employee/editEmployee.vue
View file @
ee5465b
...
...
@@ -452,7 +452,7 @@ export default {
margin-bottom
:
64px
;
}
.config-employee
.container
{
margin-top
:
20px
;
/* margin-top: 20px; */
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
/* padding: 20px; */
...
...
src/views/employee/index.vue
View file @
ee5465b
...
...
@@ -12,10 +12,10 @@
<div
class=
"table-header"
>
<div
class=
"header-text"
>
员工列表
</div>
<div
class=
"table-btn"
>
<el-button
v-if=
"($globalState.session.userType == 1 && $globalState.session.accountLevel == 4) || ($globalState.session.userType == 2 && $globalState.session.isMerchantStaffAdmin)"
:size=
"size"
type=
"primary"
plain
@
click=
"batch(1)"
>
批量分配角色
</el-button>
<el-button
v-if=
"($globalState.session.userType == 1 && $globalState.session.accountLevel == 4) || ($globalState.session.userType == 2 && $globalState.session.isMerchantStaffAdmin)"
:size=
"size"
plain
@
click=
"batch(2)"
>
批量启用
</el-button>
<!--
<el-button
@
click=
"handleExport"
:size=
"size"
type=
"primary"
plain
mode=
"el-button"
>
导出
</el-button>
-->
<GLButton
@
click=
"handleExport"
fn=
"导出"
:size=
"size"
type=
"primary"
plain
mode=
"el-button"
>
导出
</GLButton>
<el-button
v-if=
"($globalState.session.userType == 1 && $globalState.session.accountLevel == 4) || ($globalState.session.userType == 2 && $globalState.session.isMerchantStaffAdmin)"
:size=
"size"
plain
@
click=
"batch(1)"
>
批量分配角色
</el-button>
<el-button
v-if=
"($globalState.session.userType == 1 && $globalState.session.accountLevel == 4) || ($globalState.session.userType == 2 && $globalState.session.isMerchantStaffAdmin)"
:size=
"size"
plain
@
click=
"batch(2)"
>
批量启用
</el-button>
</div>
</div>
<!-- 表格区域 开始 -->
...
...
@@ -29,7 +29,7 @@
<template
slot=
"otherOptions"
slot-scope=
"scope"
>
<GLButton
mode=
"div"
fn=
"开关"
>
<el-popover
v-if=
"scope.scope.statusName == '禁用'"
placement=
"top"
width=
"18
0"
trigger=
"hover"
>
<el-popover
v-if=
"scope.scope.statusName == '禁用'"
placement=
"top"
title=
"提示"
width=
"20
0"
trigger=
"hover"
>
<p>
启用前,你可先为该员工创建角色,配置其所需的功能权限。如下所示:
</p>
<p>
1. 角色管理-创建角色
</p>
<p>
2. 选择员工账户-修改角色
</p>
...
...
@@ -315,7 +315,7 @@ export default {
},
{
type
:
'GLButton'
,
name
:
'
修改
'
,
name
:
'
编辑
'
,
condition
:
row
=>
{
return
true
},
...
...
@@ -633,7 +633,7 @@ export default {
float
:
right
;
}
.config-employee
.container
{
margin-bottom
:
20px
;
//
margin-bottom
:
20px
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
;
...
...
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