Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
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 bf5bab3a
authored
Sep 26, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sop
1 parent
3261cff5
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
313 additions
and
23 deletions
src/api/modules/home.js
src/api/modules/journey.js
src/assets/css/common.scss
src/main.js
src/setup/qiankun.js
src/store/modules/journey.js
src/utils/util.js
src/views/home/components/Journey.vue
src/views/home/components/MicroStore.vue
src/views/home/components/home-step.vue
src/api/modules/home.js
View file @
bf5bab3
...
...
@@ -305,6 +305,25 @@ const analysisOrder = params => {
sign
:
true
})
}
//客户群
const
queryCrowdTree
=
params
=>
{
params
.
method
=
'scrm.api.datahub.user.queryCrowdTree'
return
http
({
url
:
'rop-scrm-datahub/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
const
queryLabelCount
=
params
=>
{
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelCount'
return
http
({
url
:
'rop-scrm-datahub/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
export
default
{
getChart
,
...
...
@@ -335,5 +354,7 @@ export default {
serviceBillStat
,
viewData
,
tendency
,
analysisOrder
analysisOrder
,
queryCrowdTree
,
queryLabelCount
}
src/api/modules/journey.js
0 → 100644
View file @
bf5bab3
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-07 16:54:06
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-09-26 11:45:19
* @FilePath: \scrm-micro-journey\src\api\modules\journeyConfig.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import
{
http_sop
}
from
'@/main'
//查询模板实例客户分页列表
const
getCustomersList
=
params
=>
{
return
http_sop
({
url
:
`http://gateway.platform.dev.glsx.com.cn/process/sop/api/sopInsts/customers`
,
method
:
'get'
,
data
:
params
,
sign
:
false
})
}
//旅程列表
const
byGroupIdSop
=
params
=>
{
return
http_sop
({
url
:
'http://gateway.platform.dev.glsx.com.cn/process/sop/api/sopInsts/byGroupId'
,
method
:
'get'
,
data
:
params
,
sign
:
false
})
}
//旅程列表详情
const
getInstIdDetail
=
params
=>
{
return
http_sop
({
url
:
'http://gateway.platform.dev.glsx.com.cn/process/sop/api/sopInsts/'
+
params
.
instId
,
method
:
'get'
,
// data: params,
sign
:
false
})
}
export
default
{
getCustomersList
,
byGroupIdSop
,
getInstIdDetail
}
src/assets/css/common.scss
View file @
bf5bab3
...
...
@@ -144,6 +144,7 @@ img {
.flex-row-between
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
.glsx-table
.line-ellipsis
{
display
:
inline
;
...
...
src/main.js
View file @
bf5bab3
...
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Date: 2021-08-13 14:12:11
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-0
5-20 10:49:23
* @LastEditTime: 2023-0
9-26 11:38:56
* @FilePath: \scrm\scrm-sub-blog\src\main.js
*/
import
Vue
from
'vue'
...
...
@@ -20,6 +20,7 @@ Vue.prototype.defaultLabelWidth = '154px'
start
()
export
{
bootstrap
,
mount
,
unmount
}
from
'@/setup'
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
export
const
http_sop
=
params
=>
Vue
.
prototype
.
$http_sop
(
params
)
export
const
http_common
=
params
=>
Vue
.
prototype
.
$http_common
(
params
)
export
const
http_merchant
=
params
=>
Vue
.
prototype
.
$http_merchant
(
params
)
export
const
http_gpt
=
params
=>
Vue
.
prototype
.
$http_gpt
(
params
)
src/setup/qiankun.js
View file @
bf5bab3
...
...
@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-07-22 18:15:13
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-0
7-13 12:04:30
* @LastEditTime: 2023-0
9-26 11:40:41
* @FilePath: \scrm-micro-home\src\setup\qiankun.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
...
...
@@ -28,13 +28,14 @@ let routes = []
let
router
=
null
let
instance
=
null
export
async
function
bootstrap
({
name
,
id
,
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
sign
,
secret
,
request_common
,
request_merchant
,
request_gpt
,
sign_common
,
scene
,
cavansObj
}
=
await
fetchConfig
(
common
)
const
{
response
,
request
,
sign
,
secret
,
request_common
,
re
sponse_sop
,
re
quest_merchant
,
request_gpt
,
sign_common
,
scene
,
cavansObj
}
=
await
fetchConfig
(
common
)
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
cavansObj
=
cavansObj
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_sop
=
new
common
.
Http
({
response
:
response_sop
,
request
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
,
'Content-Type'
:
'application/json'
}
})
Vue
.
prototype
.
$http_merchant
=
new
common
.
Http
({
response
,
request
:
request_merchant
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_gpt
=
new
common
.
Http
({
response
,
request
:
request_gpt
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
'md5'
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
...
...
src/store/modules/journey.js
0 → 100644
View file @
bf5bab3
/*
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-05-16 17:13:33
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-09-26 14:55:34
* @FilePath: \scrm-micro-home\src\store\modules\marketing.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
export
default
{
namespaced
:
true
,
state
:
{
journey_num
:
0
},
mutations
:
{
// 设置客户信息
SET_JOURNEY_NUM
(
state
,
data
)
{
state
.
journey_num
=
data
}
}
}
src/utils/util.js
View file @
bf5bab3
...
...
@@ -67,6 +67,67 @@ util.getPrevMonth = function() {
}
return
year
+
'年'
+
month
+
'月'
}
util
.
getDays
=
function
()
{
// 获取Date()对象
let
date
=
new
Date
()
// 获取当前事件的年份转为字符串
let
year
=
date
.
getFullYear
().
toString
()
// 获取月份,注意:月份默认从0开始,所以要+1
let
month
=
date
.
getMonth
()
+
1
<
10
?
'0'
+
(
date
.
getMonth
()
+
1
).
toString
()
:
(
date
.
getMonth
()
+
1
).
toString
()
// 获取天,
let
day
=
date
.
getDate
()
.
toString
()
.
padStart
(
2
,
0
)
// 获取时
let
hour
=
date
.
getHours
()
.
toString
()
.
padStart
(
2
,
0
)
// 获取分
let
minute
=
date
.
getMinutes
()
.
toString
()
.
padStart
(
2
,
0
)
// 获取秒
let
second
=
date
.
getSeconds
()
.
toString
()
.
padStart
(
2
,
0
)
// 拼接时间
// 例如:1号:00:00:00,当日:当前时间
// 举例:2022-09-01 00:00:00 2022-09-29 13:39:29
let
begin
=
year
+
'-'
+
month
+
'-01'
+
' 00:00:00'
// 当月第一天
let
end
=
year
+
'-'
+
month
+
'-'
+
day
+
' '
+
hour
+
':'
+
minute
+
':'
+
second
// 当天
return
[
begin
,
end
]
}
util
.
getMonth
=
function
()
{
// 获取Date()对象
let
date
=
new
Date
()
// 获取当前事件的年份转为字符串
let
year
=
date
.
getFullYear
().
toString
()
// 获取月份,注意:月份默认从0开始,所以要+1
let
month
=
date
.
getMonth
()
+
1
<
10
?
'0'
+
(
date
.
getMonth
()
+
1
).
toString
()
:
(
date
.
getMonth
()
+
1
).
toString
()
// 获取天,
let
day
=
date
.
getDate
()
<
10
?
'0'
+
date
.
getDate
().
toString
:
date
.
getDate
().
toString
()
// 获取时
let
hour
=
date
.
getHours
().
toString
()
// 获取分
let
minute
=
date
.
getMinutes
().
toString
()
// 获取秒
let
second
=
date
.
getSeconds
().
toString
()
// 拼接时间
// 例如:1号:00:00:00,当日:当前时间
// 举例:2022-09-01 00:00:00 2022-09-29 13:39:29
let
begin
=
year
+
'-'
+
month
+
'-01'
+
' 00:00:00'
// 当月第一天
let
end
=
year
+
'-'
+
month
+
'-'
+
day
+
' '
+
hour
+
':'
+
minute
+
':'
+
second
// 当天
console
.
log
(
begin
)
console
.
log
(
end
)
}
util
.
getCurrentMonthLast
=
function
(
date
)
{
var
endDate
=
new
Date
(
date
)
var
month
=
endDate
.
getMonth
()
...
...
src/views/home/components/Journey.vue
View file @
bf5bab3
...
...
@@ -7,10 +7,10 @@
<div
class=
"analysis-item"
v-for=
"(item, index) in journeyList"
:key=
"index"
>
<div
class=
"analysis-item-head"
>
<img
:src=
"require(`@/assets/img/home/icon-$
{index + 1}.png`)" />
<span>
{{
item
.
titl
e
}}
</span>
<span>
{{
item
.
instNam
e
}}
</span>
<a
@
click=
"handleJump(item)"
v-if=
"index == 0"
>
查看使用情况
</a>
<a
@
click=
"handleJump(item)"
v-else
>
去使用
</a>
<div
:class=
"
{ 'analysis-item-status': true, 'is-disable': item.
s
tatus != 1 }">
<div
:class=
"
{ 'analysis-item-status': true, 'is-disable': item.
instS
tatus != 1 }">
<i
:class=
"`$
{getStatusValue(item, 'icon')}`">
</i>
<span>
{{
getStatusValue
(
item
,
'label'
)
}}
</span>
</div>
...
...
@@ -18,7 +18,7 @@
<div
class=
"analysis-process"
>
<div
class=
"analysis-process-item"
v-for=
"(p, i) in item.journeyItem"
:key=
"i"
:style=
"
{ height: index === 0 ? '72px' : '92px' }">
<div
class=
"analysis-process-title"
>
{{
p
.
label
}}
</div>
<div
class=
"analysis-process-task"
v-if=
"index ==
1"
>
当前客户:
{{
p
.
process
}}
</div>
<div
class=
"analysis-process-task"
v-if=
"index ==
0"
>
当前客户:
{{
p
.
customerList
.
length
}}
</div>
<div
class=
"analysis-process-task"
>
SOP任务:
{{
p
.
process
}}
</div>
</div>
</div>
...
...
@@ -29,13 +29,15 @@
<
script
>
const
STATUS
=
[
{
label
:
'已启用'
,
value
:
1
,
icon
:
'el-icon-check'
},
{
label
:
'未启用'
,
value
:
2
,
icon
:
'el-icon-close'
},
{
label
:
'已禁用'
,
value
:
3
,
icon
:
'el-icon-remove-outline'
}
{
label
:
'未启用'
,
value
:
0
,
icon
:
'el-icon-close'
},
{
label
:
'已禁用'
,
value
:
-
1
,
icon
:
'el-icon-remove-outline'
}
]
import
{
mapMutations
}
from
'vuex'
export
default
{
data
()
{
return
{
journeyList
:
[
journeyList
:
[],
journeyList2
:
[
{
id
:
1
,
title
:
'续保客户旅程1'
,
...
...
@@ -93,11 +95,45 @@ export default {
]
}
},
mounted
()
{},
mounted
()
{
this
.
byGroupIdSop
()
},
methods
:
{
...
mapMutations
(
'journey'
,
[
'SET_JOURNEY_NUM'
]),
async
byGroupIdSop
()
{
const
res
=
await
this
.
$apis
.
journey
.
byGroupIdSop
({
groupId
:
'M153312087'
,
pageNumber
:
1
,
pageSize
:
1000
})
const
journeyList
=
res
.
list
||
[]
this
.
SET_JOURNEY_NUM
(
journeyList
.
length
)
journeyList
.
forEach
(
item
=>
{
const
stages
=
JSON
.
parse
(
item
.
instParam
).
stages
item
.
journeyItem
=
[]
let
process
=
0
for
(
let
k
in
stages
)
{
process
++
item
.
journeyItem
.
push
({
customerList
:
[],
label
:
stages
[
k
].
value
,
process
})
}
})
const
enable
=
journeyList
.
find
(
item
=>
item
.
instStatus
==
1
)
//已启用
const
unenable
=
journeyList
.
find
(
item
=>
item
.
instStatus
==
-
1
)
//未启用
const
customerList
=
await
Promise
.
all
([
this
.
$apis
.
journey
.
getCustomersList
({
sopJourneyId
:
enable
.
instId
,
pageSize
:
10000
,
pageNumber
:
1
}),
this
.
$apis
.
journey
.
getCustomersList
({
sopJourneyId
:
unenable
.
instId
})])
enable
.
journeyItem
.
forEach
(
i
=>
{
customerList
[
0
].
list
.
forEach
(
v
=>
{
if
(
i
.
label
==
v
.
sopJourneyStage
)
{
i
.
customerList
.
push
(
v
)
}
})
})
this
.
journeyList
=
[
enable
,
unenable
]
},
//状态值映射
getStatusValue
(
val
,
prop
)
{
return
STATUS
.
find
(
item
=>
item
.
value
==
val
.
s
tatus
)[
prop
]
return
STATUS
.
find
(
item
=>
item
.
value
==
val
.
instS
tatus
)[
prop
]
},
handleJump
()
{}
}
...
...
src/views/home/components/MicroStore.vue
View file @
bf5bab3
...
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-14 10:26:58
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-09-2
2 16:44:42
* @LastEditTime: 2023-09-2
6 15:48:06
* @FilePath: \scrm-micro-home\src\views\home\components\MicroStore.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
...
...
@@ -34,7 +34,17 @@
</div>
</div>
<div
class=
"analysis-bar-right"
>
<div
class=
"chart-title"
>
销售额趋势
</div>
<div
class=
"flex-row-between"
>
<div
class=
"chart-title"
>
销售额趋势
</div>
<div
class=
"chart-time"
>
<el-radio-group
v-model=
"dateValue"
size=
"small"
>
<el-radio-button
label=
"month"
>
本月
</el-radio-button>
<el-radio-button
label=
"year"
>
全年
</el-radio-button>
</el-radio-group>
<el-date-picker
class=
"chart-time-picker"
@
change=
"dateChange"
v-model=
"timeValue"
size=
"small"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</div>
</div>
<line-chart
:lineList=
"lineList"
domId=
"store1"
functionStr=
"getLineOddOptions"
></line-chart>
</div>
</div>
...
...
@@ -64,15 +74,19 @@
</div>
</
template
>
<
script
>
import
util
from
'@/utils/util'
import
*
as
dayjs
from
'dayjs'
export
default
{
data
()
{
return
{
dateValue
:
1
,
lineList
:
{
title
:
'精改业务-精品升级'
,
backgroundColor
:
'linear-gradient(179deg, #F5F7FF 1%, #F9FBFF 100%);'
,
color
:
[
'#98B8FF'
,
'#5850FF'
,
'#83D8FF'
,
'#0087FA'
],
lineList
:
[]
},
timeValue
:
[],
orderDetail
:
{},
orderList
:
[
{
label
:
'商城'
,
color
:
'#5850FF'
,
orderSource
:
1
,
saleAmount
:
0
,
orderCount
:
0
,
radio
:
0
},
...
...
@@ -84,12 +98,57 @@ export default {
]
}
},
watch
:
{
dateValue
(
val
)
{
if
(
val
)
{
this
.
storeData
(
val
)
}
}
},
mounted
()
{
this
.
getLineList
()
const
start
=
new
Date
()
this
.
timeValue
=
[
start
.
setTime
(
start
.
getTime
()
-
3600
*
1000
*
24
*
14
),
new
Date
()]
this
.
init
(
this
.
timeValue
)
},
methods
:
{
getLineList
()
{
this
.
$apis
.
home
.
analysisOrder
({}).
then
(
res
=>
{
init
(
date
)
{
this
.
getLineList
({
startTime
:
dayjs
(
date
[
0
]).
format
(
'YYYY-MM-DD'
),
endTime
:
dayjs
(
date
[
1
]).
format
(
'YYYY-MM-DD'
)
})
},
dateChange
(
val
)
{
const
params
=
{
startTime
:
dayjs
(
val
[
0
]).
format
(
'YYYY-MM-DD'
),
endTime
:
dayjs
(
val
[
1
]).
format
(
'YYYY-MM-DD'
)
}
this
.
getLineList
(
params
)
},
storeData
(
name
)
{
let
startTime
,
endTime
let
now
=
new
Date
()
let
nowMonth
=
now
.
getMonth
()
let
nowYear
=
now
.
getFullYear
()
this
.
currentTime
=
name
switch
(
name
)
{
case
'month'
:
startTime
=
new
Date
(
nowYear
,
nowMonth
,
1
)
endTime
=
new
Date
()
// endTime = new Date(nowYear, nowMonth + 1, 0)
break
case
'year'
:
startTime
=
new
Date
(
nowYear
,
0
,
1
)
endTime
=
new
Date
()
// endTime = new Date(nowYear, 11, 31)
this
.
dateChange
(
this
.
date
,
2
)
break
}
this
.
timeValue
=
[
startTime
,
endTime
]
this
.
dateChange
(
this
.
timeValue
)
},
getLineList
(
params
)
{
this
.
$apis
.
home
.
analysisOrder
(
params
).
then
(
res
=>
{
console
.
log
(
res
,
9999999
)
this
.
orderDetail
=
res
||
{}
this
.
lineList
.
lineList
=
res
.
trendData
||
[]
...
...
@@ -182,6 +241,13 @@ export default {
color
:
#333333
;
text-align
:
center
;
}
.chart-time
{
display
:
flex
;
justify-content
:
center
;
&-picker
{
margin-left
:
10px
;
}
}
}
.analysis-circle
{
margin-top
:
16px
;
...
...
src/views/home/components/home-step.vue
View file @
bf5bab3
...
...
@@ -64,24 +64,24 @@
<div>
<div
class=
"step-icon"
><img
src=
"@/assets/img/home/step2_i.png"
alt=
""
/></div>
<div
class=
"step-title-h2 number"
>
10
{{
labelCount
}}
<span>
个
</span>
</div>
<div
class=
"step-title-h3 text-center"
>
标签数
</div>
<div
class=
"step-operation"
@
click=
"jumpUrl('/custom/crowdManage/index')"
>
<label>
人群
管理
</label>
<label>
标签
管理
</label>
</div>
</div>
<div>
<div
class=
"step-icon"
><img
src=
"@/assets/img/home/step3_i.png"
alt=
""
/></div>
<div
class=
"step-title-h2 number"
>
10
{{
crowdTotal
}}
<span>
个
</span>
</div>
<div
class=
"step-title-h3 text-center"
>
人群数
</div>
<div
class=
"step-operation"
@
click=
"jumpUrl('/custom/crowdManage/index')"
>
<label>
标签
管理
</label>
<label>
人群
管理
</label>
</div>
</div>
</div>
...
...
@@ -93,7 +93,7 @@
<div
class=
"background-f7 step-border-4"
>
<div
class=
"step-icon"
><img
src=
"@/assets/img/home/step4_i.png"
alt=
""
/></div>
<div
class=
"step-title-h2 number"
>
10
{{
journey_num
}}
<span>
个
</span>
</div>
<div
class=
"step-title-h3 text-center"
>
客户旅程数
</div>
...
...
@@ -119,11 +119,13 @@
</
template
>
<
script
>
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
export
default
{
name
:
'homeStep'
,
data
()
{
return
{
crowdTotal
:
0
,
labelCount
:
0
,
cgacarUrl
:
false
,
loading
:
false
,
customerCount
:
0
,
...
...
@@ -136,6 +138,9 @@ export default {
entmicroAddCustomerCountPercent
:
0
}
},
computed
:
{
...
mapState
(
'journey'
,
[
'journey_num'
])
},
methods
:
{
...
mapActions
(
'marketing'
,
[
'setCustomDetail'
]),
jumpUrl
(
url
)
{
...
...
@@ -157,10 +162,48 @@ export default {
this
.
entmicroAddCustomerCountPercent
=
customerCount
?
((
100
*
this
.
entmicroAddCustomerCount
)
/
customerCount
).
toFixed
(
2
)
:
0
}
})
},
//标签数
queryLabelCount
()
{
this
.
$apis
.
home
.
queryLabelCount
({
labelStatReq
:
{
shopId
:
this
.
$globalState
.
session
.
merchantId
,
edition
:
1
}
})
.
then
(
res
=>
{
const
{
bizLabelCount
,
rcLabelCount
,
traLabelCount
}
=
res
this
.
labelCount
=
bizLabelCount
+
rcLabelCount
+
traLabelCount
})
},
//人群数
async
queryCrowdTree
()
{
const
res
=
await
Promise
.
all
([
this
.
$apis
.
home
.
queryCrowdTree
({
req
:
{
pageSize
:
1
,
pageNum
:
1
,
crowdType
:
2
,
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
}),
this
.
$apis
.
home
.
queryCrowdTree
({
req
:
{
pageSize
:
1
,
pageNum
:
1
,
crowdType
:
1
,
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
})
])
this
.
crowdTotal
=
res
.
reduce
((
prev
,
cur
)
=>
prev
+
cur
.
total
,
0
)
}
},
mounted
()
{
this
.
viewData
()
this
.
queryCrowdTree
()
this
.
queryLabelCount
()
if
(
/cgacar/
.
test
(
location
.
host
))
{
this
.
cgacarUrl
=
true
}
...
...
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