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 8b312c2f
authored
Dec 09, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/saas/scrm-micro-custom
2 parents
72f0fdba
261e3274
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
20 deletions
src/components/echarts/multipleEchart.vue
src/views/clientDataOverview/index.vue
src/views/clientManage/clientDetail.vue
src/views/clientManage/index.vue
src/views/tagsManage/index.vue
src/components/echarts/multipleEchart.vue
View file @
8b312c2
...
...
@@ -37,10 +37,10 @@ export default {
if
(
this
.
totalData
&&
this
.
totalData
.
length
>
0
)
{
this
.
dateArray
=
this
.
totalData
.
map
(
item
=>
item
.
dateTime
)
//日期
this
.
customerCount
=
this
.
totalData
.
map
(
item
=>
item
.
newCustomerCount
)
this
.
customerRatio
=
this
.
totalData
.
map
(
item
=>
item
.
customerRatio
*
100
)
this
.
customerRatio
=
this
.
totalData
.
map
(
item
=>
item
.
customerRatio
.
toFixed
(
4
)
*
100
)
this
.
entmicroCount
=
this
.
totalData
.
map
(
item
=>
item
.
newEntmicroCount
)
this
.
entmicroRatio
=
this
.
totalData
.
map
(
item
=>
item
.
entmicroRatio
*
100
)
this
.
entmicroRatio
=
this
.
totalData
.
map
(
item
=>
item
.
entmicroRatio
.
toFixed
(
4
)
*
100
)
this
.
initChart
()
}
...
...
@@ -52,10 +52,10 @@ export default {
handler
(
val
)
{
this
.
dateArray
=
this
.
totalData
.
map
(
item
=>
item
.
dateTime
)
//日期
this
.
customerCount
=
this
.
totalData
.
map
(
item
=>
item
.
newCustomerCount
)
this
.
customerRatio
=
this
.
totalData
.
map
(
item
=>
item
.
customerRatio
*
100
)
this
.
customerRatio
=
this
.
totalData
.
map
(
item
=>
item
.
customerRatio
.
toFixed
(
4
)
*
100
)
this
.
entmicroCount
=
this
.
totalData
.
map
(
item
=>
item
.
newEntmicroCount
)
this
.
entmicroRatio
=
this
.
totalData
.
map
(
item
=>
item
.
entmicroRatio
*
100
)
this
.
entmicroRatio
=
this
.
totalData
.
map
(
item
=>
item
.
entmicroRatio
.
toFixed
(
4
)
*
100
)
this
.
initChart
()
}
...
...
src/views/clientDataOverview/index.vue
View file @
8b312c2
...
...
@@ -414,8 +414,11 @@ export default {
this
.
isNoBuyUp
=
res
.
purposeUp
this
.
isBuyUp
=
res
.
purchaseUp
//先看登录次数,首次进来为true,不管客户总数是否为0,都显示banner;
//不是首次进来,登录次数为2,客户总数大于0,不显示banner,小于0,继续显示banner;
//不是首次进来,登录次数为2,客户总数大于0,不显示banner,小于
等于
0,继续显示banner;
console
.
log
(
this
.
accountLevel
,
this
.
isShowModal
,
this
.
topDataObj
.
customerCount
,
'myData'
)
if
(
this
.
isShowModal
&&
this
.
accountLevel
!==
4
){
this
.
isShowModal
=
false
;
//关掉引导层
}
if
(
this
.
isShowModal
&&
this
.
accountLevel
==
4
)
{
this
.
isHasCustomerCountBanner
=
true
this
.
$nextTick
(()
=>
{
...
...
src/views/clientManage/clientDetail.vue
View file @
8b312c2
...
...
@@ -717,13 +717,14 @@ export default {
line-height
:
26px
;
border-radius
:
4px
;
//
border
:
1px
solid
$
btnBlue
;
border
:
1px
solid
#
999999
;
border
:
1px
solid
#
e8e8ea
;
text-align
:
center
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#
999999
;
color
:
#
666666
;
max-width
:
245px
;
cursor
:
pointer
;
background
:
#fafbfe
;
}
.activeTag
{
border
:
1px
solid
$
borderBlue
;
...
...
src/views/clientManage/index.vue
View file @
8b312c2
...
...
@@ -183,7 +183,8 @@ export default {
},
{
label
:
'跟进员工'
,
prop
:
'followStaff'
prop
:
'followStaff'
,
// addHtml:'followStaff'
},
{
label
:
'来源'
,
...
...
src/views/tagsManage/index.vue
View file @
8b312c2
...
...
@@ -103,6 +103,8 @@
<img
class=
"editIcon"
src=
"@/assets/tagsManage/edit.png"
@
click=
"showInput(item.id)"
alt=
""
v-show=
"!item.inputVisible"
/>
</span>
</div>
<div
class=
"row-tag"
v-for=
"(item, index) in tagForm.tagsList"
:key=
"index"
>
<!-- :onkeyup="(item.name = item.name.replace(/\s+/g, ''))" -->
<el-input
v-model
.
trim=
"item.name"
placeholder=
"添加标签名称(至少添加一个标签)"
maxlength=
"30"
show-word-limit
@
input=
"checkInputContent"
></el-input>
...
...
@@ -339,7 +341,7 @@ export default {
},
closeInitPanel
()
{
this
.
isFirstShow
=
false
//不用算高度
//不用算高度
// setTimeout(() => {
// this.$refs.tagsManage.setTableHeightFun()
// }, 200)
...
...
@@ -380,12 +382,12 @@ export default {
},
//重置表格
resetTable
()
{
this
.
isReload
=
false
this
.
isReload
=
false
this
.
searchForm
=
{
'labelTreeReq.shopId'
:
this
.
merchantId
,
'labelTreeReq.edition'
:
this
.
merchantModel
}
// this.$refs.tagsManage.refreshTable()
this
.
$nextTick
(()
=>
{
this
.
isReload
=
true
})
this
.
$nextTick
(()
=>
{
this
.
isReload
=
true
})
},
btnClick
(
pType
,
rowData
)
{
...
...
@@ -598,7 +600,7 @@ export default {
},
handleSelect
(
value
)
{
console
.
log
(
'值内容'
,
value
)
}
,
}
//注意问问他们后台怎么处理转义字符
//限制输入特殊字符
// keyUp(e) {
...
...
@@ -618,7 +620,7 @@ export default {
.scrm-sub-client-container
{
.pageTitle
{
position
:
relative
;
//
margin-top
:
30px
;
//
margin-top
:
30px
;
margin-bottom
:
20px
;
height
:
20px
;
font-size
:
20px
;
...
...
@@ -720,9 +722,12 @@ export default {
.allTagsWrap
{
position
:
relative
;
display
:
-webkit-box
;
//
max-height
:
56px
;
overflow
:
hidden
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
padding-bottom
:
-2px
;
box-sizing
:
border-box
;
&:hover
{
-webkit-line-clamp
:
9999
;
//
.tag-box-wrap
{
...
...
@@ -731,9 +736,9 @@ export default {
}
.tag-box-wrap
{
display
:
inline-block
;
margin-right
:
10px
;
//
margin-bottom
:
10px
;
//
margin-bottom
:
4px
;
//
margin-bottom
:
2px
;
padding
:
0
10px
;
box-sizing
:
border-box
;
min-width
:
76px
;
...
...
@@ -741,14 +746,21 @@ export default {
height
:
26px
;
line-height
:
26px
;
border-radius
:
4px
;
border
:
1px
solid
#999999
;
border
:
1px
solid
#e8e8ea
;
background
:
#fafbfe
;
text-align
:
center
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#
999999
;
color
:
#
666666
;
max-width
:
245px
;
cursor
:
pointer
;
//
&:first-child{
//
margin-bottom
:
4px
;
//
}
}
//
.tag-box-wrap
+
.tag-box-wrap
{
//
margin-bottom
:
4px
;
//
}
.expande-button-wrap
{
position
:
absolute
;
right
:
0
;
...
...
@@ -819,7 +831,7 @@ export default {
margin-right
:
10px
;
margin-bottom
:
10px
;
height
:
32px
;
background
:
#f
fffff
;
background
:
#f
afbfe
;
border-radius
:
2px
;
border
:
1px
solid
#e8e8ea
;
position
:
relative
;
...
...
@@ -842,6 +854,7 @@ export default {
position
:
absolute
;
top
:
-8px
;
right
:
-8px
;
//
z-index
:
9999
;
}
}
...
...
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