Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 fdf7b40a
authored
Feb 13, 2022
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
echarts引用问题
1 parent
dc08bbef
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
188 additions
and
168 deletions
linkwe-ui/src/api/redPacketTool/staffManage.js
linkwe-ui/src/views/-index.vue
linkwe-ui/src/views/application/fissionDetail/index.vue
linkwe-ui/src/views/application/taskDetail/index.vue
linkwe-ui/src/views/dashboard/BarChart.vue
linkwe-ui/src/views/dashboard/LineChart.vue
linkwe-ui/src/views/dashboard/PieChart.vue
linkwe-ui/src/views/dashboard/RaddarChart.vue
linkwe-ui/src/views/drainageCode/staff/detail.vue
linkwe-ui/src/views/operateCenter/index/dataAnalysis.vue
linkwe-ui/src/views/redPacketTool/staffManage.vue
linkwe-ui/src/api/redPacketTool/staffManage.js
View file @
fdf7b40
...
@@ -51,3 +51,11 @@ export function batchUpdate(params) {
...
@@ -51,3 +51,11 @@ export function batchUpdate(params) {
data
:
params
data
:
params
})
})
}
}
export
function
remove
(
params
)
{
return
request
({
url
:
service
+
'/batchUpdateUserRedEnvelopsLimit'
,
method
:
'post'
,
data
:
params
})
}
linkwe-ui/src/views/-index.vue
View file @
fdf7b40
...
@@ -5,18 +5,18 @@
...
@@ -5,18 +5,18 @@
<p>
{{
parseTime
(
nowTime
)
}}
</p>
<p>
{{
parseTime
(
nowTime
)
}}
</p>
</div>
-->
</div>
-->
<div
class=
"tables"
>
<div
class=
"tables"
>
<div
style=
"text-align:left"
>
<div
style=
"text-align:
left"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-between"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-between"
>
<el-col
:span=
"24"
class=
"title_name"
<el-col
:span=
"24"
class=
"title_name"
>
数据总览
>
数据总览
<span
class=
"
fontgay"
>
最近更新:
{{
uptime
}}
</span>
<span
class=
"fontgay"
>
最近更新:
{{
uptime
}}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
<el-row
type=
"flex"
type=
"flex"
class=
"row-bg"
class=
"row-bg"
justify=
"space-between"
justify=
"space-between"
style=
"margin-top:
35px; text-align: center;
"
style=
"margin-top:
35px; text-align: center
"
>
>
<el-col
:span=
"6"
class=
"col_style"
>
企业成员总数
</el-col>
<el-col
:span=
"6"
class=
"col_style"
>
企业成员总数
</el-col>
<el-col
:span=
"6"
class=
"col_style"
>
客户总人数
</el-col>
<el-col
:span=
"6"
class=
"col_style"
>
客户总人数
</el-col>
...
@@ -27,7 +27,13 @@
...
@@ -27,7 +27,13 @@
type=
"flex"
type=
"flex"
class=
"row-bg"
class=
"row-bg"
justify=
"space-between"
justify=
"space-between"
style=
"margin-top:10px;font-size:35px;font-weight:bold;color:#0079DE; text-align: center;"
style=
"
margin-top: 10px;
font-size: 35px;
font-weight: bold;
color: #0079de;
text-align: center;
"
>
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<count-to
:start-val=
"0"
:end-val=
"table.userCount"
:duration=
"durationCount"
/>
<count-to
:start-val=
"0"
:end-val=
"table.userCount"
:duration=
"durationCount"
/>
...
@@ -48,12 +54,12 @@
...
@@ -48,12 +54,12 @@
</el-row>
</el-row>
</div>
</div>
</div>
</div>
<div
class=
"dataall"
style=
"margin-top:10px"
>
<div
class=
"dataall"
style=
"margin-top:
10px"
>
<div
style=
"text-align:left"
>
<div
style=
"text-align:
left"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-between"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-between"
>
<el-col
:span=
"10"
class=
"title_name"
>
数据趋势
</el-col>
<el-col
:span=
"10"
class=
"title_name"
>
数据趋势
</el-col>
<el-col
:span=
"10"
style=
"text-align:right"
>
<el-col
:span=
"10"
style=
"text-align:
right"
>
<el-radio-group
v-model=
"timeType"
style=
"margin-top: 20px
;
"
@
change=
"timeTypeCheck"
>
<el-radio-group
v-model=
"timeType"
style=
"margin-top: 20px"
@
change=
"timeTypeCheck"
>
<el-radio-button
label=
"today"
>
今日
</el-radio-button>
<el-radio-button
label=
"today"
>
今日
</el-radio-button>
<el-radio-button
label=
"week"
>
本周
</el-radio-button>
<el-radio-button
label=
"week"
>
本周
</el-radio-button>
<el-radio-button
label=
"month"
>
本月
</el-radio-button>
<el-radio-button
label=
"month"
>
本月
</el-radio-button>
...
@@ -68,7 +74,7 @@
...
@@ -68,7 +74,7 @@
type=
"flex"
type=
"flex"
class=
"row-bg"
class=
"row-bg"
justify=
"space-between"
justify=
"space-between"
style=
"margin-top:
30px; text-align: center;
"
style=
"margin-top:
30px; text-align: center
"
>
>
<el-col
:span=
"6"
>
新增客户数
</el-col>
<el-col
:span=
"6"
>
新增客户数
</el-col>
<el-col
:span=
"6"
>
新增客群数
</el-col>
<el-col
:span=
"6"
>
新增客群数
</el-col>
...
@@ -79,7 +85,13 @@
...
@@ -79,7 +85,13 @@
type=
"flex"
type=
"flex"
class=
"row-bg"
class=
"row-bg"
justify=
"space-between"
justify=
"space-between"
style=
"margin-top:10px;font-size:35px;font-weight:bold;color: #0079DE; text-align: center;"
style=
"
margin-top: 10px;
font-size: 35px;
font-weight: bold;
color: #0079de;
text-align: center;
"
>
>
<el-col
:span=
"6"
>
{{
erchatsTable
.
newContactCnt
}}
</el-col>
<el-col
:span=
"6"
>
{{
erchatsTable
.
newContactCnt
}}
</el-col>
<el-col
:span=
"6"
>
{{
erchatsTable
.
newChatCnt
}}
</el-col>
<el-col
:span=
"6"
>
{{
erchatsTable
.
newChatCnt
}}
</el-col>
...
@@ -90,7 +102,7 @@
...
@@ -90,7 +102,7 @@
type=
"flex"
type=
"flex"
class=
"row-bg"
class=
"row-bg"
justify=
"space-between"
justify=
"space-between"
style=
"margin-top:
10px; text-align: center;
"
style=
"margin-top:
10px; text-align: center
"
>
>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
比
{{
time
}}
比
{{
time
}}
...
@@ -129,12 +141,7 @@
...
@@ -129,12 +141,7 @@
<div
class=
"car card"
>
<div
class=
"car card"
>
<el-row
type=
"flex"
justify=
"space-between"
>
<el-row
type=
"flex"
justify=
"space-between"
>
<el-col
<el-col
:span=
"24"
style=
"font-size: 24px; line-height: 80px"
>
快捷功能
</el-col>
:span=
"24"
style=
"font-size: 24px; line-height:80px
"
>
快捷功能
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
v-for=
"(item, i) in car"
:key=
"i"
>
<el-col
:span=
"6"
v-for=
"(item, i) in car"
:key=
"i"
>
...
@@ -162,7 +169,7 @@
...
@@ -162,7 +169,7 @@
type=
"flex"
type=
"flex"
class=
"row-bg"
class=
"row-bg"
justify=
"center"
justify=
"center"
style=
"text-align:center"
style=
"text-align:
center"
>
>
<el-col
:span=
"10"
class=
"flexspan"
>
<el-col
:span=
"10"
class=
"flexspan"
>
<img
src=
"../assets/index/bzwd.png"
/>
<img
src=
"../assets/index/bzwd.png"
/>
...
@@ -181,7 +188,7 @@
...
@@ -181,7 +188,7 @@
<span
class=
"inedx_r_top_bottomp1"
><img
src=
"../assets/index/gxrz.png"
/>
更新日志
</span>
<span
class=
"inedx_r_top_bottomp1"
><img
src=
"../assets/index/gxrz.png"
/>
更新日志
</span>
<span
<span
class=
"fr"
class=
"fr"
style=
"color:
#0079DE
"
style=
"color:
#0079de
"
@
click=
"msgInfo('《更新日志》正在加急上线中,敬请关注…')"
@
click=
"msgInfo('《更新日志》正在加急上线中,敬请关注…')"
>
更多
</span
>
更多
</span
>
>
...
@@ -194,7 +201,7 @@
...
@@ -194,7 +201,7 @@
</div>
</div>
<div
class=
"inedx_r_top_bottom"
>
<div
class=
"inedx_r_top_bottom"
>
<span
class=
"inedx_r_top_bottomp1"
><img
src=
"../assets/index/qyxy.png"
/>
私域学院
</span>
<span
class=
"inedx_r_top_bottomp1"
><img
src=
"../assets/index/qyxy.png"
/>
私域学院
</span>
<span
class=
"fr"
style=
"color:
#0079DE
"
>
更多
</span>
<span
class=
"fr"
style=
"color:
#0079de
"
>
更多
</span>
<ul>
<ul>
<li
v-for=
"(index, i) in 3"
:key=
"i"
@
click=
"msgInfo('暂无内容')"
>
<li
v-for=
"(index, i) in 3"
:key=
"i"
@
click=
"msgInfo('暂无内容')"
>
即将上线,敬请期待
即将上线,敬请期待
...
@@ -202,16 +209,16 @@
...
@@ -202,16 +209,16 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
<div
class=
"inedx_r_top_bottom"
style=
"text-align:center"
>
<div
class=
"inedx_r_top_bottom"
style=
"text-align:
center"
>
<p
style=
"text-align:left"
>
<p
style=
"text-align:
left"
>
<span
class=
"inedx_r_top_bottomp1"
>
<span
class=
"inedx_r_top_bottomp1"
>
<img
src=
"../assets/index/kfq.png"
/>
官方交流
</span
<img
src=
"../assets/index/kfq.png"
/>
官方交流
</span
>
>
</p>
</p>
<img
:src=
"bossImg"
class=
"img"
/>
<img
:src=
"bossImg"
class=
"img"
/>
</div>
</div>
<div
class=
"inedx_r_top_bottom"
style=
"text-align:center"
>
<div
class=
"inedx_r_top_bottom"
style=
"text-align:
center"
>
<p
style=
"text-align:left"
>
<p
style=
"text-align:
left"
>
<span
class=
"inedx_r_top_bottomp1"
>
<span
class=
"inedx_r_top_bottomp1"
>
<img
src=
"../assets/index/khq.png"
/>
联系客服
</span
<img
src=
"../assets/index/khq.png"
/>
联系客服
</span
>
>
...
@@ -224,7 +231,7 @@
...
@@ -224,7 +231,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
*
as
api
from
'@/api/index'
import
*
as
api
from
'@/api/index'
import
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
import
CountTo
from
'vue-count-to'
import
CountTo
from
'vue-count-to'
export
default
{
export
default
{
name
:
'Index'
,
name
:
'Index'
,
...
@@ -370,7 +377,7 @@ export default {
...
@@ -370,7 +377,7 @@ export default {
let
obj
=
document
.
getElementById
(
'echart'
)
let
obj
=
document
.
getElementById
(
'echart'
)
let
charts
=
echarts
.
init
(
obj
)
let
charts
=
echarts
.
init
(
obj
)
let
timer
=
0
let
timer
=
0
window
.
onresize
=
function
()
{
window
.
onresize
=
function
()
{
clearTimeout
(
timer
)
clearTimeout
(
timer
)
timer
=
setTimeout
(()
=>
{
timer
=
setTimeout
(()
=>
{
charts
.
resize
()
charts
.
resize
()
...
...
linkwe-ui/src/views/application/fissionDetail/index.vue
View file @
fdf7b40
<
script
>
<
script
>
import
*
as
api
from
'@/api/task'
import
*
as
api
from
'@/api/task'
import
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
export
default
{
export
default
{
name
:
'taskDetail'
,
name
:
'taskDetail'
,
data
()
{
data
()
{
...
@@ -10,13 +10,13 @@ export default {
...
@@ -10,13 +10,13 @@ export default {
pageSize
:
10
,
pageSize
:
10
,
name
:
''
,
// "客户名称",
name
:
''
,
// "客户名称",
beginTime
:
''
,
// "开始时间",
beginTime
:
''
,
// "开始时间",
endTime
:
''
,
// "结束时间"
endTime
:
''
// "结束时间"
},
},
dateRange
:
[],
dateRange
:
[],
tableData
:
[],
tableData
:
[],
dateSelect
:
7
,
dateSelect
:
7
,
taskDetail
:
{},
taskDetail
:
{},
statData
:
[]
,
statData
:
[]
}
}
},
},
created
()
{
created
()
{
...
@@ -41,12 +41,12 @@ export default {
...
@@ -41,12 +41,12 @@ export default {
let
option
=
{
let
option
=
{
tooltip
:
{
tooltip
:
{
//设置tip提示
//设置tip提示
trigger
:
'axis'
,
trigger
:
'axis'
},
},
legend
:
{
legend
:
{
//设置区分(哪条线属于什么)
//设置区分(哪条线属于什么)
data
:
[
'日新增客户数'
,
'活动参与客户数'
,
'完成任务的客户数'
]
,
data
:
[
'日新增客户数'
,
'活动参与客户数'
,
'完成任务的客户数'
]
},
},
color
:
[
'#8AE09F'
,
'#FA6F53'
,
'#1890ff'
],
//设置区分(每条线是什么颜色,和 legend 一一对应)
color
:
[
'#8AE09F'
,
'#FA6F53'
,
'#1890ff'
],
//设置区分(每条线是什么颜色,和 legend 一一对应)
xAxis
:
{
xAxis
:
{
...
@@ -57,9 +57,9 @@ export default {
...
@@ -57,9 +57,9 @@ export default {
// name: '日期', //X轴 name
// name: '日期', //X轴 name
nameTextStyle
:
{
nameTextStyle
:
{
//坐标轴名称的文字样式
//坐标轴名称的文字样式
fontSize
:
16
,
fontSize
:
16
// padding: [0, 0, 0, 20]
// padding: [0, 0, 0, 20]
}
,
}
// axisLine: { //坐标轴轴线相关设置。
// axisLine: { //坐标轴轴线相关设置。
// lineStyle: {
// lineStyle: {
// color: '#FA6F53',
// color: '#FA6F53',
...
@@ -70,14 +70,14 @@ export default {
...
@@ -70,14 +70,14 @@ export default {
nameTextStyle
:
{
nameTextStyle
:
{
color
:
'#FA6F53'
,
color
:
'#FA6F53'
,
fontSize
:
16
,
fontSize
:
16
,
padding
:
[
0
,
0
,
10
,
0
]
,
padding
:
[
0
,
0
,
10
,
0
]
},
},
// axisLine: {
// axisLine: {
// lineStyle: {
// lineStyle: {
// color: '#FA6F53',
// color: '#FA6F53',
// }
// }
// },
// },
type
:
'value'
,
type
:
'value'
},
},
series
:
[
series
:
[
{
{
...
@@ -87,9 +87,9 @@ export default {
...
@@ -87,9 +87,9 @@ export default {
lineStyle
:
{
lineStyle
:
{
// 线条样式 => 必须使用normal属性
// 线条样式 => 必须使用normal属性
normal
:
{
normal
:
{
color
:
'#8AE09F'
,
color
:
'#8AE09F'
}
,
}
}
,
}
},
},
{
{
name
:
'活动参与客户数'
,
name
:
'活动参与客户数'
,
...
@@ -97,9 +97,9 @@ export default {
...
@@ -97,9 +97,9 @@ export default {
type
:
'line'
,
type
:
'line'
,
lineStyle
:
{
lineStyle
:
{
normal
:
{
normal
:
{
color
:
'#FA6F53'
,
color
:
'#FA6F53'
}
,
}
}
,
}
},
},
{
{
name
:
'完成任务的客户数'
,
name
:
'完成任务的客户数'
,
...
@@ -107,15 +107,15 @@ export default {
...
@@ -107,15 +107,15 @@ export default {
type
:
'line'
,
type
:
'line'
,
lineStyle
:
{
lineStyle
:
{
normal
:
{
normal
:
{
color
:
'#FA6F53'
,
color
:
'#FA6F53'
}
,
}
}
,
}
}
,
}
]
,
]
}
}
this
.
initChart
(
option
)
this
.
initChart
(
option
)
}
,
}
}
,
}
},
},
methods
:
{
methods
:
{
getList
(
id
)
{
getList
(
id
)
{
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
let
params
=
{
let
params
=
{
beginTime
:
this
.
dateRange
[
0
],
beginTime
:
this
.
dateRange
[
0
],
endTime
:
this
.
dateRange
[
1
],
endTime
:
this
.
dateRange
[
1
],
taskFissionId
:
this
.
$route
.
query
.
id
,
taskFissionId
:
this
.
$route
.
query
.
id
}
}
api
.
getStat
(
params
).
then
((
res
)
=>
{
api
.
getStat
(
params
).
then
((
res
)
=>
{
this
.
statData
=
res
.
data
?
res
.
data
.
data
:
[]
this
.
statData
=
res
.
data
?
res
.
data
.
data
:
[]
...
@@ -160,8 +160,8 @@ export default {
...
@@ -160,8 +160,8 @@ export default {
date
.
setDate
(
date
.
getDate
()
-
days
)
date
.
setDate
(
date
.
getDate
()
-
days
)
this
.
dateRange
=
[
this
.
getTime
(
date
),
this
.
getTime
()]
this
.
dateRange
=
[
this
.
getTime
(
date
),
this
.
getTime
()]
this
.
getChartsData
()
this
.
getChartsData
()
}
,
}
}
,
}
}
}
</
script
>
</
script
>
...
@@ -170,7 +170,7 @@ export default {
...
@@ -170,7 +170,7 @@ export default {
<div
class=
"task-detail-model task-detail-left"
>
<div
class=
"task-detail-model task-detail-left"
>
<h4
class=
"title"
>
任务活动信息
</h4>
<h4
class=
"title"
>
任务活动信息
</h4>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
style=
"margin-bottom:30px"
>
创建人:
</div>
<div
class=
"task-label"
style=
"margin-bottom:
30px"
>
创建人:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
createBy
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
createBy
}}
</div>
</div>
</div>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
...
@@ -185,11 +185,9 @@ export default {
...
@@ -185,11 +185,9 @@ export default {
<div
class=
"task-label"
>
裂变客户数量:
</div>
<div
class=
"task-label"
>
裂变客户数量:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
fissNum
}}
人
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
fissNum
}}
人
</div>
</div>
</div>
<div
class=
"task-row"
style=
"margin-bottom:30px"
>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-label"
>
活动时间:
</div>
<div
class=
"task-label"
>
活动时间:
</div>
<div
class=
"task-value"
>
<div
class=
"task-value"
>
{{
taskDetail
.
startTime
}}
至
{{
taskDetail
.
overTime
}}
</div>
{{
taskDetail
.
startTime
}}
至
{{
taskDetail
.
overTime
}}
</div>
</div>
</div>
<!--
<div
class=
"task-row"
>
<!--
<div
class=
"task-row"
>
<div
class=
"task-label"
>
活动发起成员:
</div>
<div
class=
"task-label"
>
活动发起成员:
</div>
...
@@ -201,9 +199,9 @@ export default {
...
@@ -201,9 +199,9 @@ export default {
</div>
-->
</div>
-->
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
>
裂变海报:
</div>
<div
class=
"task-label"
>
裂变海报:
</div>
<img
style=
"width:30px"
:src=
"taskDetail.postersUrl"
/>
<img
style=
"width:
30px"
:src=
"taskDetail.postersUrl"
/>
</div>
</div>
<div
class=
"task-row"
style=
"margin-bottom:30px"
>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-label"
>
群活码:
</div>
<div
class=
"task-label"
>
群活码:
</div>
<img
style=
"width: 50px"
:src=
"taskDetail.fissionTarget"
/>
<img
style=
"width: 50px"
:src=
"taskDetail.fissionTarget"
/>
</div>
</div>
...
@@ -212,9 +210,13 @@ export default {
...
@@ -212,9 +210,13 @@ export default {
<div
class=
"task-label"
>
兑奖链接:
</div>
<div
class=
"task-label"
>
兑奖链接:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
rewardUrl
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
rewardUrl
}}
</div>
</div>
</div>
<div
class=
"task-row"
style=
"margin-bottom:30px"
>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-label"
>
兑奖图片:
</div>
<div
class=
"task-label"
>
兑奖图片:
</div>
<img
style=
"width:30px"
v-if=
"taskDetail.rewardImageUrl"
:src=
"taskDetail.rewardImageUrl"
/>
<img
style=
"width: 30px"
v-if=
"taskDetail.rewardImageUrl"
:src=
"taskDetail.rewardImageUrl"
/>
</div>
</div>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
>
新客欢迎语:
</div>
<div
class=
"task-label"
>
新客欢迎语:
</div>
...
@@ -240,7 +242,7 @@ export default {
...
@@ -240,7 +242,7 @@ export default {
@
change=
"getChartsData"
@
change=
"getChartsData"
></el-date-picker>
></el-date-picker>
</div>
</div>
<div
id=
"chartLineBox"
style=
"width: 100%;
height: 354px;
"
></div>
<div
id=
"chartLineBox"
style=
"width: 100%;
height: 354px
"
></div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
linkwe-ui/src/views/application/taskDetail/index.vue
View file @
fdf7b40
<
script
>
<
script
>
import
*
as
api
from
"@/api/task"
;
import
*
as
api
from
'@/api/task'
import
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
export
default
{
export
default
{
name
:
'taskDetail'
,
name
:
'taskDetail'
,
data
()
{
data
()
{
return
{
return
{
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
name
:
""
,
// "客户名称",
name
:
''
,
// "客户名称",
beginTime
:
""
,
// "开始时间",
beginTime
:
''
,
// "开始时间",
endTime
:
""
// "结束时间"
endTime
:
''
// "结束时间"
},
},
dateRange
:
[],
dateRange
:
[],
tableData
:
[],
tableData
:
[],
dateSelect
:
'近7日'
,
dateSelect
:
'近7日'
,
dateRange
:
[],
dateRange
:
[],
taskDetail
:
{},
taskDetail
:
{},
statData
:
[]
statData
:
[]
}
}
},
},
created
()
{
created
()
{
this
.
getList
(
this
.
$route
.
query
.
id
)
this
.
getList
(
this
.
$route
.
query
.
id
)
this
.
getChartsData
({
seven
:
true
})
this
.
getChartsData
({
seven
:
true
})
},
},
mounted
()
{
mounted
()
{},
},
watch
:
{
watch
:{
statData
:
{
statData
:{
handler
(
newVal
,
oldVal
)
{
handler
(
newVal
,
oldVal
){
let
xData
=
[],
let
xData
=
[],
attends
=
[],
completes
=
[],
increases
=
[]
attends
=
[],
for
(
let
i
=
0
;
i
<
newVal
.
length
;
i
++
){
completes
=
[],
increases
=
[]
for
(
let
i
=
0
;
i
<
newVal
.
length
;
i
++
)
{
xData
.
push
(
newVal
[
i
].
day
)
xData
.
push
(
newVal
[
i
].
day
)
attends
.
push
(
newVal
[
i
].
attend
)
attends
.
push
(
newVal
[
i
].
attend
)
completes
.
push
(
newVal
[
i
].
complete
)
completes
.
push
(
newVal
[
i
].
complete
)
...
@@ -38,23 +40,27 @@ export default {
...
@@ -38,23 +40,27 @@ export default {
}
}
// 指定图表的配置项和数据
// 指定图表的配置项和数据
let
option
=
{
let
option
=
{
tooltip
:
{
//设置tip提示
tooltip
:
{
//设置tip提示
trigger
:
'axis'
trigger
:
'axis'
},
},
legend
:
{
//设置区分(哪条线属于什么)
legend
:
{
data
:
[
'日新增客户数'
,
'活动参与客户数'
,
'完成任务的客户数'
]
//设置区分(哪条线属于什么)
data
:
[
'日新增客户数'
,
'活动参与客户数'
,
'完成任务的客户数'
]
},
},
color
:
[
'#8AE09F'
,
'#FA6F53'
,
'#1890ff'
],
//设置区分(每条线是什么颜色,和 legend 一一对应)
color
:
[
'#8AE09F'
,
'#FA6F53'
,
'#1890ff'
],
//设置区分(每条线是什么颜色,和 legend 一一对应)
xAxis
:
{
//设置x轴
xAxis
:
{
//设置x轴
type
:
'category'
,
type
:
'category'
,
boundaryGap
:
false
,
//坐标轴两边不留白
boundaryGap
:
false
,
//坐标轴两边不留白
data
:
xData
,
data
:
xData
,
// name: '日期', //X轴 name
// name: '日期', //X轴 name
nameTextStyle
:
{
//坐标轴名称的文字样式
nameTextStyle
:
{
fontSize
:
16
,
//坐标轴名称的文字样式
fontSize
:
16
// padding: [0, 0, 0, 20]
// padding: [0, 0, 0, 20]
},
}
// axisLine: { //坐标轴轴线相关设置。
// axisLine: { //坐标轴轴线相关设置。
// lineStyle: {
// lineStyle: {
// color: '#FA6F53',
// color: '#FA6F53',
...
@@ -79,11 +85,12 @@ export default {
...
@@ -79,11 +85,12 @@ export default {
name
:
'日新增客户数'
,
name
:
'日新增客户数'
,
data
:
increases
,
data
:
increases
,
type
:
'line'
,
// 类型为折线图
type
:
'line'
,
// 类型为折线图
lineStyle
:
{
// 线条样式 => 必须使用normal属性
lineStyle
:
{
// 线条样式 => 必须使用normal属性
normal
:
{
normal
:
{
color
:
'#8AE09F'
,
color
:
'#8AE09F'
}
}
}
},
},
},
{
{
name
:
'活动参与客户数'
,
name
:
'活动参与客户数'
,
...
@@ -91,9 +98,9 @@ export default {
...
@@ -91,9 +98,9 @@ export default {
type
:
'line'
,
type
:
'line'
,
lineStyle
:
{
lineStyle
:
{
normal
:
{
normal
:
{
color
:
'#FA6F53'
,
color
:
'#FA6F53'
}
}
}
},
},
},
{
{
name
:
'完成任务的客户数'
,
name
:
'完成任务的客户数'
,
...
@@ -101,44 +108,36 @@ export default {
...
@@ -101,44 +108,36 @@ export default {
type
:
'line'
,
type
:
'line'
,
lineStyle
:
{
lineStyle
:
{
normal
:
{
normal
:
{
color
:
'#FA6F53'
,
color
:
'#FA6F53'
}
}
}
},
}
}
]
]
}
}
this
.
initChart
(
option
)
this
.
initChart
(
option
)
}
}
}
}
},
},
methods
:
{
methods
:
{
getList
(
id
)
{
getList
(
id
)
{
api
.
getTaskDetail
(
id
)
api
.
getTaskDetail
(
id
).
then
((
res
)
=>
{
.
then
(
res
=>
{
this
.
taskDetail
=
res
.
data
this
.
taskDetail
=
res
.
data
})
})
},
},
getChartsData
(
params
){
getChartsData
(
params
)
{
params
=
Object
.
assign
({},
params
,{
taskFissionId
:
this
.
$route
.
query
.
id
})
params
=
Object
.
assign
({},
params
,
{
taskFissionId
:
this
.
$route
.
query
.
id
})
api
.
getStat
(
params
)
api
.
getStat
(
params
).
then
((
res
)
=>
{
.
then
(
res
=>
{
this
.
statData
=
res
.
data
?
res
.
data
.
data
:
[]
this
.
statData
=
res
.
data
?
res
.
data
.
data
:
[]
})
})
},
},
resetForm
()
{
resetForm
()
{},
exportCustomer
()
{},
},
dateChange
(
event
)
{
exportCustomer
()
{
},
dateChange
(
event
)
{
console
.
log
(
event
)
console
.
log
(
event
)
},
},
initChart
(
option
)
{
initChart
(
option
)
{
if
(
!
this
.
chartLine
)
{
if
(
!
this
.
chartLine
)
{
this
.
chartLine
=
echarts
.
init
(
document
.
getElementById
(
'chartLineBox'
));
this
.
chartLine
=
echarts
.
init
(
document
.
getElementById
(
'chartLineBox'
))
}
}
this
.
chartLine
.
setOption
(
option
)
this
.
chartLine
.
setOption
(
option
)
}
}
...
@@ -151,63 +150,59 @@ export default {
...
@@ -151,63 +150,59 @@ export default {
<div
class=
"task-detail-model task-detail-left"
>
<div
class=
"task-detail-model task-detail-left"
>
<h4
class=
"title"
>
任务活动信息
</h4>
<h4
class=
"title"
>
任务活动信息
</h4>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
style=
"margin-bottom:
30px"
>
创建人:
</div>
<div
class=
"task-label"
style=
"margin-bottom:
30px"
>
创建人:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
createBy
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
createBy
}}
</div>
</div>
</div>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
>
活动名称:
</div>
<div
class=
"task-label"
>
活动名称:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
taskName
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
taskName
}}
</div>
</div>
</div>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
>
裂变引导语:
</div>
<div
class=
"task-label"
>
裂变引导语:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
fissInfo
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
fissInfo
}}
</div>
</div>
</div>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
>
裂变客户数量:
</div>
<div
class=
"task-label"
>
裂变客户数量:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
fissNum
}}
人
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
fissNum
}}
人
</div>
</div>
</div>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-label"
>
活动时间:
</div>
<div
class=
"task-label"
>
活动时间:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
startTime
}}
至
{{
taskDetail
.
overTime
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
startTime
}}
至
{{
taskDetail
.
overTime
}}
</div>
</div>
</div>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
>
活动发起成员:
</div>
<div
class=
"task-label"
>
活动发起成员:
</div>
<div
class=
"task-value"
></div>
<div
class=
"task-value"
></div>
</div>
</div>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-label"
>
客户标签:
</div>
<div
class=
"task-label"
>
客户标签:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
customerTag
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
customerTag
}}
</div>
</div>
</div>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
>
裂变海报:
</div>
<div
class=
"task-label"
>
裂变海报:
</div>
<img
style=
"width:30px"
:src=
"taskDetail.postersUrl"
/>
<img
style=
"width: 30px"
:src=
"taskDetail.postersUrl"
/>
</div>
</div>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-label"
>
员工:
</div>
<div
class=
"task-label"
>
员工:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
fissionTarget
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
fissionTarget
}}
</div>
</div>
</div>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
>
兑奖链接:
</div>
<div
class=
"task-label"
>
兑奖链接:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
rewardUrl
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
rewardUrl
}}
</div>
</div>
</div>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-row"
style=
"margin-bottom:
30px"
>
<div
class=
"task-label"
>
兑奖图片:
</div>
<div
class=
"task-label"
>
兑奖图片:
</div>
<img
style=
"width:30px"
:src=
"taskDetail.rewardImageUrl"
/>
<img
style=
"width: 30px"
:src=
"taskDetail.rewardImageUrl"
/>
</div>
</div>
<div
class=
"task-row"
>
<div
class=
"task-row"
>
<div
class=
"task-label"
>
新客欢迎语:
</div>
<div
class=
"task-label"
>
新客欢迎语:
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
welcomeMsg
}}
</div>
<div
class=
"task-value"
>
{{
taskDetail
.
welcomeMsg
}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"task-detail-model task-detail-right"
>
<div
class=
"task-detail-model task-detail-right"
>
<h4
class=
"title"
>
关键数据
</h4>
<h4
class=
"title"
>
关键数据
</h4>
<div
class=
"dateRang"
>
<div
class=
"dateRang"
>
<el-radio-group
<el-radio-group
@
change=
"dateChange"
v-model=
"dateSelect"
style=
"margin-bottom: 10px"
>
@
change=
'dateChange'
v-model=
"dateSelect"
style=
"margin-bottom:10px"
>
<el-radio-button
label=
"近7日"
></el-radio-button>
<el-radio-button
label=
"近7日"
></el-radio-button>
<el-radio-button
label=
"近30日"
></el-radio-button>
<el-radio-button
label=
"近30日"
></el-radio-button>
</el-radio-group>
</el-radio-group>
...
@@ -220,10 +215,7 @@ export default {
...
@@ -220,10 +215,7 @@ export default {
align=
"right"
align=
"right"
></el-date-picker>
></el-date-picker>
</div>
</div>
<div
<div
id=
"chartLineBox"
style=
"width: 100%; height: 354px"
></div>
id=
"chartLineBox"
style=
"width: 100%;height: 354px;"
>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
linkwe-ui/src/views/dashboard/BarChart.vue
View file @
fdf7b40
<
template
>
<
template
>
<div
:class=
"className"
:style=
"
{
height:height,width:width
}" />
<div
:class=
"className"
:style=
"
{
height: height, width: width
}" />
</
template
>
</
template
>
<
script
>
<
script
>
import
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
require
(
'echarts/theme/macarons'
)
// echarts theme
require
(
'echarts/theme/macarons'
)
// echarts theme
import
resize
from
'./mixins/resize'
import
resize
from
'./mixins/resize'
...
@@ -49,7 +49,8 @@ export default {
...
@@ -49,7 +49,8 @@ export default {
this
.
chart
.
setOption
({
this
.
chart
.
setOption
({
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
,
trigger
:
'axis'
,
axisPointer
:
{
// 坐标轴指示器,坐标轴触发有效
axisPointer
:
{
// 坐标轴指示器,坐标轴触发有效
type
:
'shadow'
// 默认为直线,可选为:'line' | 'shadow'
type
:
'shadow'
// 默认为直线,可选为:'line' | 'shadow'
}
}
},
},
...
@@ -60,41 +61,49 @@ export default {
...
@@ -60,41 +61,49 @@ export default {
bottom
:
'3%'
,
bottom
:
'3%'
,
containLabel
:
true
containLabel
:
true
},
},
xAxis
:
[{
xAxis
:
[
{
type
:
'category'
,
type
:
'category'
,
data
:
[
'Mon'
,
'Tue'
,
'Wed'
,
'Thu'
,
'Fri'
,
'Sat'
,
'Sun'
],
data
:
[
'Mon'
,
'Tue'
,
'Wed'
,
'Thu'
,
'Fri'
,
'Sat'
,
'Sun'
],
axisTick
:
{
axisTick
:
{
alignWithLabel
:
true
alignWithLabel
:
true
}
}
}],
}
yAxis
:
[{
],
yAxis
:
[
{
type
:
'value'
,
type
:
'value'
,
axisTick
:
{
axisTick
:
{
show
:
false
show
:
false
}
}
}],
}
series
:
[{
],
series
:
[
{
name
:
'pageA'
,
name
:
'pageA'
,
type
:
'bar'
,
type
:
'bar'
,
stack
:
'vistors'
,
stack
:
'vistors'
,
barWidth
:
'60%'
,
barWidth
:
'60%'
,
data
:
[
79
,
52
,
200
,
334
,
390
,
330
,
220
],
data
:
[
79
,
52
,
200
,
334
,
390
,
330
,
220
],
animationDuration
animationDuration
},
{
},
{
name
:
'pageB'
,
name
:
'pageB'
,
type
:
'bar'
,
type
:
'bar'
,
stack
:
'vistors'
,
stack
:
'vistors'
,
barWidth
:
'60%'
,
barWidth
:
'60%'
,
data
:
[
80
,
52
,
200
,
334
,
390
,
330
,
220
],
data
:
[
80
,
52
,
200
,
334
,
390
,
330
,
220
],
animationDuration
animationDuration
},
{
},
{
name
:
'pageC'
,
name
:
'pageC'
,
type
:
'bar'
,
type
:
'bar'
,
stack
:
'vistors'
,
stack
:
'vistors'
,
barWidth
:
'60%'
,
barWidth
:
'60%'
,
data
:
[
30
,
52
,
200
,
334
,
390
,
330
,
220
],
data
:
[
30
,
52
,
200
,
334
,
390
,
330
,
220
],
animationDuration
animationDuration
}]
}
]
})
})
}
}
}
}
...
...
linkwe-ui/src/views/dashboard/LineChart.vue
View file @
fdf7b40
<
template
>
<
template
>
<div
:class=
"className"
:style=
"
{
height:height,width:width
}" />
<div
:class=
"className"
:style=
"
{
height: height, width: width
}" />
</
template
>
</
template
>
<
script
>
<
script
>
import
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
require
(
'echarts/theme/macarons'
)
// echarts theme
require
(
'echarts/theme/macarons'
)
// echarts theme
import
resize
from
'./mixins/resize'
import
resize
from
'./mixins/resize'
...
@@ -92,8 +92,10 @@ export default {
...
@@ -92,8 +92,10 @@ export default {
legend
:
{
legend
:
{
data
:
[
'expected'
,
'actual'
]
data
:
[
'expected'
,
'actual'
]
},
},
series
:
[{
series
:
[
name
:
'expected'
,
itemStyle
:
{
{
name
:
'expected'
,
itemStyle
:
{
normal
:
{
normal
:
{
color
:
'#FF005A'
,
color
:
'#FF005A'
,
lineStyle
:
{
lineStyle
:
{
...
@@ -127,7 +129,8 @@ export default {
...
@@ -127,7 +129,8 @@ export default {
data
:
actualData
,
data
:
actualData
,
animationDuration
:
2800
,
animationDuration
:
2800
,
animationEasing
:
'quadraticOut'
animationEasing
:
'quadraticOut'
}]
}
]
})
})
}
}
}
}
...
...
linkwe-ui/src/views/dashboard/PieChart.vue
View file @
fdf7b40
<
template
>
<
template
>
<div
:class=
"className"
:style=
"
{
height:height,width:width
}" />
<div
:class=
"className"
:style=
"
{
height: height, width: width
}" />
</
template
>
</
template
>
<
script
>
<
script
>
import
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
require
(
'echarts/theme/macarons'
)
// echarts theme
require
(
'echarts/theme/macarons'
)
// echarts theme
import
resize
from
'./mixins/resize'
import
resize
from
'./mixins/resize'
...
...
linkwe-ui/src/views/dashboard/RaddarChart.vue
View file @
fdf7b40
<
template
>
<
template
>
<div
:class=
"className"
:style=
"
{
height:height,width:width
}" />
<div
:class=
"className"
:style=
"
{
height: height, width: width
}" />
</
template
>
</
template
>
<
script
>
<
script
>
import
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
require
(
'echarts/theme/macarons'
)
// echarts theme
require
(
'echarts/theme/macarons'
)
// echarts theme
import
resize
from
'./mixins/resize'
import
resize
from
'./mixins/resize'
...
@@ -49,7 +49,8 @@ export default {
...
@@ -49,7 +49,8 @@ export default {
this
.
chart
.
setOption
({
this
.
chart
.
setOption
({
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
,
trigger
:
'axis'
,
axisPointer
:
{
// 坐标轴指示器,坐标轴触发有效
axisPointer
:
{
// 坐标轴指示器,坐标轴触发有效
type
:
'shadow'
// 默认为直线,可选为:'line' | 'shadow'
type
:
'shadow'
// 默认为直线,可选为:'line' | 'shadow'
}
}
},
},
...
@@ -81,7 +82,8 @@ export default {
...
@@ -81,7 +82,8 @@ export default {
bottom
:
'10'
,
bottom
:
'10'
,
data
:
[
'Allocated Budget'
,
'Expected Spending'
,
'Actual Spending'
]
data
:
[
'Allocated Budget'
,
'Expected Spending'
,
'Actual Spending'
]
},
},
series
:
[{
series
:
[
{
type
:
'radar'
,
type
:
'radar'
,
symbolSize
:
0
,
symbolSize
:
0
,
areaStyle
:
{
areaStyle
:
{
...
@@ -108,7 +110,8 @@ export default {
...
@@ -108,7 +110,8 @@ export default {
}
}
],
],
animationDuration
:
animationDuration
animationDuration
:
animationDuration
}]
}
]
})
})
}
}
}
}
...
...
linkwe-ui/src/views/drainageCode/staff/detail.vue
View file @
fdf7b40
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
</template>
</template>
<
script
>
<
script
>
import
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
import
PreviewClient
from
'@/components/previewInMobileClient.vue'
import
PreviewClient
from
'@/components/previewInMobileClient.vue'
import
{
getDetail
,
getTotal
,
downloadBatch
}
from
'@/api/drainageCode/staff'
import
{
getDetail
,
getTotal
,
downloadBatch
}
from
'@/api/drainageCode/staff'
...
...
linkwe-ui/src/views/operateCenter/index/dataAnalysis.vue
View file @
fdf7b40
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
*
as
api
from
'@/api/index'
import
*
as
api
from
'@/api/index'
import
echarts
from
'echarts'
import
*
as
echarts
from
'echarts'
import
CountTo
from
'vue-count-to'
import
CountTo
from
'vue-count-to'
export
default
{
export
default
{
name
:
'Index'
,
name
:
'Index'
,
...
...
linkwe-ui/src/views/redPacketTool/staffManage.vue
View file @
fdf7b40
...
@@ -41,14 +41,12 @@
...
@@ -41,14 +41,12 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"今日已发放金额/剩余金额"
align=
"center"
>
<el-table-column
label=
"今日已发放金额/剩余金额"
align=
"center"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
{{
row
.
todayIssuedAmount
}}
/
{{
{{
row
.
todayIssuedAmount
}}
/
{{
row
.
todayIssuedAmount
-
row
.
singleCustomerReceiveMoney
}}
accSub
(
row
.
singleCustomerReceiveMoney
,
row
.
todayIssuedAmount
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"今日已发放次数/剩余次数"
align=
"center"
>
<el-table-column
label=
"今日已发放次数/剩余次数"
align=
"center"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
{{
row
.
todayIssuedNum
}}
/
{{
accSub
(
row
.
singleCustomerReceiveNum
,
row
.
todayIssuedNum
)
}}
{{
row
.
todayIssuedNum
}}
/
{{
row
.
todayIssuedNum
-
row
.
singleCustomerReceiveNum
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"累计已发放次数/金额"
align=
"center"
width=
"180"
>
<el-table-column
label=
"累计已发放次数/金额"
align=
"center"
width=
"180"
>
...
@@ -132,7 +130,6 @@
...
@@ -132,7 +130,6 @@
<
script
>
<
script
>
import
{
getList
,
addOrUpdate
,
remove
}
from
'@/api/redPacketTool/staffManage'
import
{
getList
,
addOrUpdate
,
remove
}
from
'@/api/redPacketTool/staffManage'
import
{
accSub
}
from
'@/utils/common'
export
default
{
export
default
{
name
:
'member'
,
name
:
'member'
,
data
()
{
data
()
{
...
@@ -187,7 +184,6 @@ export default {
...
@@ -187,7 +184,6 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
methods
:
{
methods
:
{
accSub
,
getList
()
{
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
getList
(
this
.
query
)
getList
(
this
.
query
)
...
...
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