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 d75ace31
authored
Jul 26, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
99d2df9a
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
115 additions
and
76 deletions
src/views/employee/detail/config.vue
src/views/employee/detail/info.vue
src/views/employee/detail/record.vue
src/views/employee/detailEmployee.vue
src/views/employee/editEmployee.vue
src/views/followUp/index.vue
src/views/employee/detail/config.vue
View file @
d75ace3
...
@@ -141,7 +141,7 @@ export default {
...
@@ -141,7 +141,7 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.tab_line
{
.tab_line
{
width
:
100%
;
width
:
100%
;
height
:
2px
;
height
:
2px
;
...
@@ -156,9 +156,7 @@ export default {
...
@@ -156,9 +156,7 @@ export default {
margin-bottom
:
64px
;
margin-bottom
:
64px
;
}
}
.config-employee.config-config
.container
{
.config-employee.config-config
.container
{
margin-top
:
20px
;
background
:
#ffffff
;
background
:
#ffffff
;
//
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
0
20px
;
padding
:
0
20px
;
.content-title
{
.content-title
{
display
:
inline-block
;
display
:
inline-block
;
...
...
src/views/employee/detail/info.vue
View file @
d75ace3
<!-- 基本信息 -->
<!-- 基本信息 -->
<
template
>
<
template
>
<div>
<div
class=
"config-employee config-info"
>
<div
class=
"config-employee config-info"
>
<div
class=
"container edit-box"
>
<div
class=
"container edit-box"
>
<p
class=
"edit-title"
>
员工基本信息
</p>
<p
class=
"edit-title"
>
员工基本信息
</p>
<el-form
label-width=
"140px"
:inline=
"true"
style=
"margin: 32px 0 12px;
"
>
<div
class=
"info-box
"
>
<el-form-item
class=
"basic-info"
isEdit=
"true"
v-for=
"(item, index) in detailFormData"
:key=
"index"
:label=
"item.label + ':'
"
>
<div
class=
"info-box-left
"
>
<span
class=
"txt-ellipsis"
style=
"display: inline-block; width: 100%; height: 28px;"
:title=
"info[item.name] || '-'"
>
{{
info
[
item
.
name
]
||
'-'
}}
</span
>
<div
class=
"label-height"
>
</el-form-item
>
<span
class=
"info-box-label"
>
姓名:
</span
>
</el-form
>
<span
class=
"info-box-msg"
>
{{
info
.
staffName
}}
</span
>
</div>
</div>
<div
class=
"container edit-box"
>
<div
class=
"label-height"
>
<span
class=
"info-box-label"
>
登录手机号:
</span>
<span
class=
"info-box-msg"
>
{{
info
.
staffPhone
}}
</span>
</div>
<div>
<span
class=
"info-box-label"
>
职务:
</span>
<span
class=
"info-box-msg"
>
{{
info
.
staffJob
}}
</span>
</div>
</div>
<div
class=
"info-box-right"
>
<div
class=
"label-height"
>
<span
class=
"info-box-label"
>
角色名称:
</span>
<span
class=
"info-box-msg"
>
{{
info
.
roleName
}}
</span>
</div>
<div
class=
"label-height"
>
<span
class=
"info-box-label"
>
创建人:
</span>
<span
class=
"info-box-msg"
>
{{
info
.
createdAccount
}}
</span>
</div>
<div>
<span
class=
"info-box-label"
>
企微号:
</span>
<span
class=
"info-box-msg"
>
{{
info
.
entmicroName
}}
</span>
</div>
</div>
</div>
</div>
</div>
<div
class=
"next-merchant container"
>
<p
class=
"edit-title"
>
可见下级商户
</p>
<p
class=
"edit-title"
>
可见下级商户
</p>
<div
class=
"config-mer-name"
>
<div
class=
"config-mer-name"
>
<p
class=
"txt-ellipsis"
style=
"margin-bottom: 24px"
v-for=
"(item, index) in info.visibleInferiorMerName.split(',')"
:key=
"index"
:title=
"item"
>
{{
item
}}
</p>
<p
class=
"txt-ellipsis"
style=
"margin-bottom: 24px"
v-for=
"(item, index) in info.visibleInferiorMerName.split(',')"
:key=
"index"
:title=
"item"
>
{{
item
}}
</p>
...
@@ -26,33 +53,7 @@ export default {
...
@@ -26,33 +53,7 @@ export default {
info
:
{
info
:
{
visibleInferiorMerName
:
''
visibleInferiorMerName
:
''
},
},
powerDataArray
:
[],
powerDataArray
:
[]
detailFormData
:
[
{
label
:
'姓名'
,
name
:
'staffName'
},
{
label
:
'角色名称'
,
name
:
'roleName'
},
{
label
:
'登录手机号'
,
name
:
'staffPhone'
},
{
label
:
'创建人'
,
name
:
'createdAccount'
},
{
label
:
'职务'
,
name
:
'staffJob'
},
{
label
:
'企微号'
,
name
:
'entmicroName'
}
]
}
}
},
},
...
@@ -76,15 +77,34 @@ export default {
...
@@ -76,15 +77,34 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
lang=
"scss"
>
.config-employee
{
.info-box
{
margin-bottom
:
64px
;
display
:
flex
;
padding
:
32px
0
;
&-left,
&-right
{
width
:
50%
;
}
&
-label
{
display
:
inline-block
;
width
:
154px
;
font-size
:
14px
;
color
:
#666666
;
text-align
:
right
;
}
&
-msg
{
font-size
:
14px
;
color
:
#333333
;
}
}
}
.
config-employee
.container
{
.
next-merchant
{
margin-top
:
20px
;
margin-top
:
20px
;
}
.label-height
{
margin-bottom
:
20px
;
}
.config-employee
.container
{
background
:
#ffffff
;
background
:
#ffffff
;
/* box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); */
/* padding: 20px; */
}
}
.config-employee
.edit-box.container
{
.config-employee
.edit-box.container
{
padding
:
0
0
20px
;
padding
:
0
0
20px
;
...
@@ -119,7 +139,6 @@ export default {
...
@@ -119,7 +139,6 @@ export default {
height
:
58px
;
height
:
58px
;
line-height
:
58px
;
line-height
:
58px
;
border-bottom
:
1px
solid
#e7eaec
;
border-bottom
:
1px
solid
#e7eaec
;
margin
:
0
0
;
padding
:
0
20px
;
padding
:
0
20px
;
}
}
...
...
src/views/employee/detail/record.vue
View file @
d75ace3
<!-- 修改记录 -->
<!-- 修改记录 -->
<
template
>
<
template
>
<div
class=
"config-employee"
>
<div
class=
"config-employee"
>
<div
class=
"config-employee-main"
>
<p
class=
"edit-title"
>
操作记录
</p>
<div
class=
"container"
>
<div
class=
"container"
>
<!--
<p
class=
"edit-sub-title p-rl-20"
>
修改记录
</p>
-->
<GLTable
ref=
"employeeRef"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"employeeRef"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<template
slot=
"auth-button"
slot-scope=
"scope"
>
<template
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看
</el-button>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看
</el-button>
...
@@ -12,6 +13,7 @@
...
@@ -12,6 +13,7 @@
</GLTable>
</GLTable>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -100,26 +102,31 @@ export default {
...
@@ -100,26 +102,31 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
lang=
"scss"
scoped
>
.config-employee
{
.config-employee
{
margin-bottom
:
64px
;
&-main
{
background
:
#ffffff
;
}
}
.edit-title
{
font-size
:
16px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
600
;
color
:
#333333
;
padding
:
20px
20px
;
border-bottom
:
1px
solid
#e5e5e5
;
}
}
.config-employee
.container
{
.config-employee
.container
{
margin-top
:
20px
;
background
:
#ffffff
;
background
:
#ffffff
;
/* box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); */
padding
:
20px
;
padding
:
20px
;
}
}
.config-employee
.p-rl-20
{
padding
:
0
20px
;
}
.config-employee
.flex
{
.config-employee
.flex
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.config-employee
.edit-container
{
/*
.config-employee .edit-container {
margin-bottom: 84px;
margin-bottom: 84px;
}
}
*/
.config-employee
.footer
{
.config-employee
.footer
{
position
:
fixed
;
position
:
fixed
;
...
...
src/views/employee/detailEmployee.vue
View file @
d75ace3
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<el-tab-pane
label=
"账户权限"
name=
"config"
>
<el-tab-pane
label=
"账户权限"
name=
"config"
>
<config
:id=
"id"
></config>
<config
:id=
"id"
></config>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"
修改
记录"
name=
"record"
>
<el-tab-pane
label=
"
编辑
记录"
name=
"record"
>
<record
:id=
"id"
></record>
<record
:id=
"id"
></record>
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
...
@@ -49,7 +49,7 @@ export default {
...
@@ -49,7 +49,7 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
lang=
"scss"
>
.config-employee
{
.config-employee
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
...
@@ -102,10 +102,17 @@ export default {
...
@@ -102,10 +102,17 @@ export default {
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.config-employee
.el-tabs__nav-wrap
:after
{
.config-employee
.el-tabs__nav-wrap
:after
{
opacity
:
0
;
height
:
1px
;
}
}
.config-employee
.el-tabs__item
{
/
deep
/
{
height
:
20px
!important
;
.el-tabs__item
{
line-height
:
10px
!important
;
font-size
:
16px
!important
;
color
:
#666666
;
height
:
35px
!important
;
line-height
:
20px
!important
;
}
.el-tabs__item.is-active
{
color
:
#5850ff
;
}
}
}
</
style
>
</
style
>
src/views/employee/editEmployee.vue
View file @
d75ace3
...
@@ -130,7 +130,7 @@ export default {
...
@@ -130,7 +130,7 @@ export default {
isBlock
:
true
,
isBlock
:
true
,
editFormData
:
[
editFormData
:
[
{
{
label
:
'所属商户'
,
label
:
'所属商户
:
'
,
name
:
'merchantId'
,
name
:
'merchantId'
,
type
:
'selectInput'
,
type
:
'selectInput'
,
noClearable
:
true
,
noClearable
:
true
,
...
@@ -139,16 +139,18 @@ export default {
...
@@ -139,16 +139,18 @@ export default {
optionId
:
'id'
,
optionId
:
'id'
,
optionLabel
:
'merchantName'
,
optionLabel
:
'merchantName'
,
optionsName
:
'allMerchantList'
,
optionsName
:
'allMerchantList'
,
addHtml
:
'merchantId'
addHtml
:
'merchantId'
,
placeholder
:
'请选择所属商户'
},
},
{
{
label
:
'员工姓名'
,
label
:
'员工姓名
:
'
,
name
:
'staffName'
,
name
:
'staffName'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
15
maxlength
:
15
,
placeholder
:
'请输入员工姓名'
},
},
{
{
label
:
'登录手机号'
,
label
:
'登录手机号
:
'
,
name
:
'staffPhone'
,
name
:
'staffPhone'
,
type
:
'input'
,
type
:
'input'
,
placeholder
:
'请输入您有效的手机号作为登录账户'
,
placeholder
:
'请输入您有效的手机号作为登录账户'
,
...
@@ -156,20 +158,21 @@ export default {
...
@@ -156,20 +158,21 @@ export default {
isDisabled
:
false
isDisabled
:
false
},
},
{
{
label
:
'登录密码'
,
label
:
'登录密码
:
'
,
name
:
'password'
,
name
:
'password'
,
showPass
:
true
,
showPass
:
true
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
20
,
maxlength
:
20
,
suffixSlot
:
'passwordSlot'
suffixSlot
:
'passwordSlot'
,
placeholder
:
'请输入登录密码'
},
},
{
{
label
:
'可见商户'
,
label
:
'可见商户
:
'
,
name
:
'visibleInferiorMer'
,
name
:
'visibleInferiorMer'
,
addHtml
:
'visibleInferiorMer'
addHtml
:
'visibleInferiorMer'
},
},
{
{
label
:
'角色权限'
,
label
:
'角色权限
:
'
,
name
:
'roleIds'
,
name
:
'roleIds'
,
type
:
'select'
,
type
:
'select'
,
optionList
:
[],
optionList
:
[],
...
@@ -179,7 +182,7 @@ export default {
...
@@ -179,7 +182,7 @@ export default {
suffixSlot
:
'roleIdsSlot'
suffixSlot
:
'roleIdsSlot'
},
},
{
{
label
:
'头像'
,
label
:
'头像
:
'
,
name
:
'merchantImg'
,
name
:
'merchantImg'
,
type
:
'upload'
,
type
:
'upload'
,
maxPhotoNum
:
1
,
maxPhotoNum
:
1
,
...
@@ -199,16 +202,18 @@ export default {
...
@@ -199,16 +202,18 @@ export default {
}
}
},
},
{
{
label
:
'邮箱'
,
label
:
'邮箱
:
'
,
name
:
'staffEmail'
,
name
:
'staffEmail'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
30
maxlength
:
30
,
placeholder
:
'请输入邮箱'
},
},
{
{
label
:
'主要职务'
,
label
:
'主要职务
:
'
,
name
:
'staffJob'
,
name
:
'staffJob'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
10
maxlength
:
10
,
placeholder
:
'请输入主要职务'
}
}
],
],
baseData
:
{
baseData
:
{
...
@@ -447,7 +452,7 @@ export default {
...
@@ -447,7 +452,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
lang=
"scss"
scoped
>
.config-employee
.container
{
.config-employee
.container
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
background
:
#ffffff
;
background
:
#ffffff
;
...
@@ -526,4 +531,7 @@ export default {
...
@@ -526,4 +531,7 @@ export default {
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
}
}
/
deep
/
.el-form-item
{
margin-bottom
:
20px
!important
;
}
</
style
>
</
style
>
src/views/followUp/index.vue
View file @
d75ace3
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
<div
class=
"table-header"
>
<div
class=
"table-header"
>
<div
class=
"header-text"
>
跟进专员列表
</div>
<div
class=
"header-text"
>
跟进专员列表
</div>
<div
class=
"table-btn"
>
<div
class=
"table-btn"
>
<
GLButton
fn=
"新增"
size=
"small"
type=
"primary"
plain
@
click=
"openDrawer"
>
添加专员
</GLButton
>
<
!--
<GLButton
fn=
"新增"
size=
"small"
type=
"primary"
plain
@
click=
"openDrawer"
>
添加专员
</GLButton>
--
>
<
!--
<el-button
size=
"small"
type=
"primary"
plain
@
click=
"openDrawer"
>
跟进专员
</el-button>
--
>
<
el-button
size=
"small"
type=
"primary"
plain
@
click=
"openDrawer"
>
跟进专员
</el-button
>
</div>
</div>
</div>
</div>
<GLTable
ref=
"table"
:layout=
"layout"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
@
refreshTable=
"handleSearch"
>
<GLTable
ref=
"table"
:layout=
"layout"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
@
refreshTable=
"handleSearch"
>
...
...
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