Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 fd497a78
authored
Jun 21, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新头像和手势代码
1 parent
4c546720
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
54 additions
and
75 deletions
src/assets/css/public.scss
src/assets/headPortrait.png
src/views/clientDataOverview/index.vue
src/views/guestGroup/add.vue
src/views/guestGroup/components/selectMember.vue
src/views/guestGroup/components/selectMembers.vue
src/views/guestGroup/detail.vue
src/views/guestGroup/index.vue
src/views/leadManage/index.vue
src/views/leadManage/leadAllocation.vue
src/assets/css/public.scss
View file @
fd497a7
...
...
@@ -187,4 +187,8 @@
width
:
16px
;
height
:
16px
;
vertical-align
:
middle
;
}
.headPortrait
{
vertical-align
:
middle
;
}
\ No newline at end of file
src/assets/headPortrait.png
0 → 100644
View file @
fd497a7
398 Bytes
src/views/clientDataOverview/index.vue
View file @
fd497a7
...
...
@@ -1213,6 +1213,7 @@ export default {
color
:
#5850ff
;
margin-right
:
20px
;
font-weight
:
500
;
cursor
:
pointer
;
}
}
.set
{
...
...
src/views/guestGroup/add.vue
View file @
fd497a7
...
...
@@ -12,21 +12,13 @@
</div>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"basicForm"
label-width=
"124px"
>
<el-form-item
label=
"自定义群名"
prop=
"groupName"
>
<el-input
v-model
.
trim=
"basicForm.groupName"
size=
"small"
placeholder=
"为群聊设个自定义组名,如“VIP服务群”"
maxlength=
"10"
></el-input>
<el-input
v-model
.
trim=
"basicForm.groupName"
size=
"small"
placeholder=
"为群聊设个自定义组名,如“VIP服务群”"
maxlength=
"10"
></el-input>
</el-form-item>
<el-form-item
label=
"群聊命名规则"
prop=
"groupNameRule"
>
<el-radio-group
v-model=
"basicForm.groupNameRule"
style=
"line-height: 40px; font-size: 14px; max-width: 600px;"
>
<el-radio-group
v-model=
"basicForm.groupNameRule"
style=
"line-height: 40px; font-size: 14px; max-width: 600px;"
>
<el-radio
v-for=
"(rule, index) in nameRules"
:label=
"rule.id"
:key=
"index"
>
{{
rule
.
rule
}}
<span
class=
"rule-tips"
>
{{
rule
.
tips
}}
</span>
<span
class=
"rule-tips"
>
{{
rule
.
tips
}}
</span>
</el-radio>
</el-radio-group>
<!--
<div
class=
"form-tips"
>
群聊名称后缀将以日期及序号进行累加,如“新车售后一组211011-1群”
</div>
-->
...
...
@@ -45,15 +37,9 @@
<div
:key=
"followkey"
class=
"sale-select"
v-show=
"basicForm.followList.length"
>
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
style=
"max-height: 64px"
>
<el-tag
v-for=
"(tag, idx) in basicForm.followList"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"removeFollow(idx)"
>
<i
class=
"el-icon-user-solid"
></i>
<el-tag
v-for=
"(tag, idx) in basicForm.followList"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"removeFollow(idx)"
>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
tag
.
staffName
}}
</el-tag>
</div>
...
...
@@ -75,15 +61,9 @@
<div
:key=
"key"
class=
"sale-select"
v-show=
"basicForm.userList.length"
>
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
style=
"max-height: 64px"
>
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"remove(tag, idx)"
>
<i
class=
"el-icon-user-solid"
></i>
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"remove(tag, idx)"
>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
tag
.
staffName
}}
</el-tag>
</div>
...
...
@@ -117,13 +97,7 @@
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
</div>
<basic-dialog
:title=
"'选择成员'"
:width=
"'1142px'"
:isVisible=
"membersVisible"
@
confirmDialog=
"handleConfirm"
@
closeDialog=
"membersVisible = !membersVisible"
>
<basic-dialog
:title=
"'选择成员'"
:width=
"'1142px'"
:isVisible=
"membersVisible"
@
confirmDialog=
"handleConfirm"
@
closeDialog=
"membersVisible = !membersVisible"
>
<!--
<SelectMembers
islord=
"false"
:selectData=
"selectData"
ref=
"membersForm"
></SelectMembers>
-->
<SelectMember
ref=
"membersForm"
v-if=
"membersVisible"
:selectData=
"selectData"
:followData=
"followData"
></SelectMember>
</basic-dialog>
...
...
src/views/guestGroup/components/selectMember.vue
View file @
fd497a7
...
...
@@ -89,7 +89,8 @@
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<i
class=
"el-icon-user-solid"
></i>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
tag
.
staffName
}}
</el-tag>
</div>
...
...
src/views/guestGroup/components/selectMembers.vue
View file @
fd497a7
...
...
@@ -5,25 +5,13 @@
<div
class=
"sale-select"
>
<div
class=
"el-input-tag input-tag-wrapper"
@
click=
"foucusTagInput"
>
<div
class=
"tag-box"
>
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<i
class=
"el-icon-user-solid"
></i>
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
tag
.
staffName
}}
</el-tag>
</div>
<el-input
size=
"small"
v-model
.
trim=
"newTag"
placeholder=
"选择员工"
@
input=
"inputTag"
style=
"outline: none; border: none"
></el-input>
<el-input
size=
"small"
v-model
.
trim=
"newTag"
placeholder=
"选择员工"
@
input=
"inputTag"
style=
"outline: none; border: none"
></el-input>
</div>
<div>
<el-button
size=
"small"
class=
"sale-select-btn"
type=
"primary"
@
click=
"searchEmp"
>
查询
</el-button>
...
...
@@ -31,12 +19,7 @@
</div>
<div>
<div
class=
"select-sale-panel"
>
<select-emp
:selectData=
"selectData"
:islord=
"islord"
@
selectTable=
"selectTable"
ref=
"selectEmpTabel"
></select-emp>
<select-emp
:selectData=
"selectData"
:islord=
"islord"
@
selectTable=
"selectTable"
ref=
"selectEmpTabel"
></select-emp>
<div
class=
"popper__arrow"
></div>
</div>
</div>
...
...
@@ -106,7 +89,7 @@ export default {
},
mounted
()
{}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
@import
'@/styles/variables.scss'
;
.drawer-sale-panel
{
...
...
src/views/guestGroup/detail.vue
View file @
fd497a7
...
...
@@ -31,7 +31,8 @@
<div
class=
"entmicro"
>
<div
class=
"entmicro-tag"
v-for=
"(tag, idx) in followList"
:key=
"tag.id"
>
<el-tag
type=
"info"
v-if=
"idx
< 6
"
:disable-transitions=
"false"
>
<i
class=
"el-icon-user-solid"
></i>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
tag
.
staffName
}}{{
tag
.
departmentName
?
`(${tag.departmentName
}
)`
:
''
}}
<
/el-tag
>
<
el
-
tag
type
=
"info"
v
-
if
=
"followList.length > 6 && idx == 6"
>
...
...
@@ -39,7 +40,8 @@
<
span
slot
=
"reference"
>
...({{
followList
.
length
}}
)
<
/span
>
<
div
class
=
"entmicro-hover"
>
<
el
-
tag
type
=
"info"
v
-
for
=
"(i, index) in followList"
:
key
=
"index"
:
disable
-
transitions
=
"false"
>
<
i
class
=
"el-icon-user-solid"
><
/i
>
<!--
<
i
class
=
"el-icon-user-solid"
><
/i> --
>
<
img
class
=
"headPortrait"
src
=
"@/assets/headPortrait.png"
/>
{{
i
.
staffName
}}
{{
i
.
departmentName
?
`(${i.departmentName
}
)`
:
''
}}
<
/el-tag
>
<
/div
>
...
...
@@ -53,7 +55,8 @@
<
div
class
=
"entmicro"
>
<
div
class
=
"entmicro-tag"
v
-
for
=
"(tag, idx) in memberList"
:
key
=
"tag.id"
>
<
el
-
tag
type
=
"info"
v
-
if
=
"idx < 6"
:
disable
-
transitions
=
"false"
>
<
i
class
=
"el-icon-user-solid"
><
/i
>
<!--
<
i
class
=
"el-icon-user-solid"
><
/i> --
>
<
img
class
=
"headPortrait"
src
=
"@/assets/headPortrait.png"
/>
{{
tag
.
staffName
}}
{{
tag
.
departmentName
?
`(${tag.departmentName
}
)`
:
''
}}
<
/el-tag
>
<
el
-
tag
type
=
"info"
v
-
if
=
"memberList.length > 6 && idx == 6"
>
...
...
@@ -61,7 +64,8 @@
<
span
slot
=
"reference"
>
...({{
memberList
.
length
}}
)
<
/span
>
<
div
class
=
"entmicro-hover"
>
<
el
-
tag
type
=
"info"
v
-
for
=
"(i, index) in memberList"
:
key
=
"index"
:
disable
-
transitions
=
"false"
>
<
i
class
=
"el-icon-user-solid"
><
/i
>
<!--
<
i
class
=
"el-icon-user-solid"
><
/i> --
>
<
img
class
=
"headPortrait"
src
=
"@/assets/headPortrait.png"
/>
{{
i
.
staffName
}}
{{
i
.
departmentName
?
`(${i.departmentName
}
)`
:
''
}}
<
/el-tag
>
<
/div
>
...
...
@@ -96,7 +100,8 @@
<
/span
>
<
div
slot
=
"groupOwner"
slot
-
scope
=
"scope"
>
<
el
-
tag
type
=
"info"
v
-
show
=
"scope.scope.lordName"
:
disable
-
transitions
=
"false"
>
<
i
class
=
"el-icon-user-solid"
><
/i
>
<!--
<
i
class
=
"el-icon-user-solid"
><
/i> --
>
<
img
class
=
"headPortrait"
src
=
"@/assets/headPortrait.png"
/>
{{
scope
.
scope
.
lordName
}}
{{
scope
.
scope
.
departmentName
?
`(${scope.scope.departmentName
}
)`
:
''
}}
<
/el-tag
>
<
/div
>
...
...
src/views/guestGroup/index.vue
View file @
fd497a7
...
...
@@ -19,15 +19,17 @@
<div
slot=
"entmicro-name"
class=
"entmicro"
slot-scope=
"scope"
>
<div
class=
"entmicro-tag"
v-for=
"(tag, idx) in scope.scope.userList"
:key=
"idx"
>
<el-tag
type=
"info"
v-if=
"idx
< 3
"
:disable-transitions=
"false"
>
<i
class=
"el-icon-user-solid"
></i>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
tag
.
staffName
}}{{
tag
.
departmentName
?
`(${tag.departmentName
}
)`
:
''
}}
<
/el-tag
>
<
el
-
tag
type
=
"info"
v
-
if
=
"scope.scope.userList.length > 3 && idx == 3"
>
<
el
-
popover
placement
=
"top"
width
=
"600"
trigger
=
"hover"
content
=
"这是一段内容,这是一段内容,这是一段内容,这是一段内容。"
>
<
span
slot
=
"reference"
>
...({{
scope
.
scope
.
userList
.
length
}}
)
<
/span
>
<
div
class
=
"entmicro-hover"
>
<
el
-
tag
type
=
"info"
v
-
for
=
"(i, index) in scope.scope.userList"
:
key
=
"index"
:
disable
-
transitions
=
"false"
>
<
i
class
=
"el-icon-user-solid"
><
/i
>
<
el
-
tag
class
=
"toptip"
type
=
"info"
v
-
for
=
"(i, index) in scope.scope.userList"
:
key
=
"index"
:
disable
-
transitions
=
"false"
>
<!--
<
i
class
=
"el-icon-user-solid"
><
/i> --
>
<
img
class
=
"headPortrait"
src
=
"@/assets/headPortrait.png"
/>
{{
i
.
staffName
}}
{{
i
.
departmentName
?
`(${i.departmentName
}
)`
:
''
}}
<
/el-tag
>
<
/div
>
...
...
@@ -36,8 +38,8 @@
<
/div
>
<
/div
>
<
span
slot
=
"status"
slot
-
scope
=
"scope"
>
<
span
:
class
=
"
{
circleStatusGray
:
scope
.
scope
.
status
===
2
,
circleStatusGreen
:
scope
.
scope
.
status
===
1
}"
><
/span
>
<
span
>
{{
scope
.
scope
.
status
==
'1'
?
'启用'
:
'停用'
}}
<
/span
>
<
span
:
class
=
"
{
circleStatusGray
:
scope
.
scope
.
status
===
2
,
circleStatusGreen
:
scope
.
scope
.
status
===
1
}"
><
/span
>
<
span
>
{{
scope
.
scope
.
status
==
'1'
?
'启用'
:
'停用'
}}
<
/span
>
<
/span
>
<
div
class
=
"table-btns"
slot
=
"optionBtns"
slot
-
scope
=
"scope"
>
<!--
<
el
-
button
type
=
"text"
@
click
=
"btnClick('edit', scope.scope)"
>
修改
<
/el-button
>
...
...
@@ -98,7 +100,7 @@ export default {
{
label
:
'创建时间'
,
prop
:
'createdTime'
,
line
:
1
,
line
:
1
// minWidth: 110
}
,
{
...
...
@@ -402,9 +404,15 @@ export default {
}
.
el
-
tag
{
margin
-
right
:
10
px
;
margin
-
bottom
:
10
px
;
//
margin-bottom: 10px;
cursor
:
pointer
;
}
.
toptip
{
margin
-
bottom
:
10
px
;
&
:
nth
-
last
-
of
-
type
(
-
n
+
4
)
{
margin
-
bottom
:
0
;
}
}
/deep/
{
.
search
-
form
{
padding
-
top
:
0
;
...
...
src/views/leadManage/index.vue
View file @
fd497a7
...
...
@@ -24,7 +24,8 @@
<!-- 跟进员工 -->
<
template
slot=
"userName"
slot-scope=
"scope"
>
<el-tag
type=
"info"
:disable-transitions=
"false"
v-if=
"scope.scope.userName"
>
<i
class=
"el-icon-user-solid"
></i>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
scope
.
scope
.
userName
}}
</el-tag>
</
template
>
...
...
src/views/leadManage/leadAllocation.vue
View file @
fd497a7
...
...
@@ -23,7 +23,8 @@
</span>
<div
class=
"el-input-tag input-tag-wrapper"
v-if=
"choicedStaff.beforeUserName"
>
<el-tag
effect=
"plain"
type=
"info"
:key=
"idx"
:disable-transitions=
"false"
closable
@
close=
"handleClose(1)"
>
<i
class=
"el-icon-user-solid"
></i>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
this
.
choicedStaff
.
beforeUserName
}}
</el-tag>
</div>
...
...
@@ -50,7 +51,8 @@
</span>
<div
class=
"el-input-tag input-tag-wrapper"
v-if=
"choicedStaff.afterUserName"
>
<el-tag
effect=
"plain"
type=
"info"
:key=
"idx"
:disable-transitions=
"false"
closable
@
close=
"handleClose(2)"
>
<i
class=
"el-icon-user-solid"
></i>
<!--
<i
class=
"el-icon-user-solid"
></i>
-->
<img
class=
"headPortrait"
src=
"@/assets/headPortrait.png"
/>
{{
choicedStaff
.
afterUserName
}}
</el-tag>
</div>
...
...
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