Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
0573468a
Commit
0573468a
authored
Jul 25, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
725
parent
3b238e76
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
42 additions
and
8 deletions
+42
-8
index.html
dev/index.html
+1
-1
46.ba61c3b96aa7867dabbc.js
dev/static/js/46.ba61c3b96aa7867dabbc.js
+1
-0
manifest.4cb1d939b5ad1e73f457.js
dev/static/js/manifest.4cb1d939b5ad1e73f457.js
+1
-0
index.html
dist/index.html
+1
-1
43.201a43bd4f25509da636.js
dist/static/js/43.201a43bd4f25509da636.js
+1
-0
44.4cd927d1beeb1eb03e7f.js
dist/static/js/44.4cd927d1beeb1eb03e7f.js
+1
-0
45.2c1e846220ec8e9e2732.js
dist/static/js/45.2c1e846220ec8e9e2732.js
+1
-0
46.acdf4b9cfba4319fd526.js
dist/static/js/46.acdf4b9cfba4319fd526.js
+1
-0
47.35771232868fe78ab72d.js
dist/static/js/47.35771232868fe78ab72d.js
+1
-0
48.83b2d3a51baa39f918fe.js
dist/static/js/48.83b2d3a51baa39f918fe.js
+1
-0
49.30e06597c06e17993be3.js
dist/static/js/49.30e06597c06e17993be3.js
+1
-0
50.040217a861897aec0d65.js
dist/static/js/50.040217a861897aec0d65.js
+1
-0
51.dcb6169cd9135aef0bef.js
dist/static/js/51.dcb6169cd9135aef0bef.js
+1
-0
52.f8dae6efa1ae6cd48da7.js
dist/static/js/52.f8dae6efa1ae6cd48da7.js
+1
-0
53.d0d2c8c28cd2a77d5673.js
dist/static/js/53.d0d2c8c28cd2a77d5673.js
+1
-0
54.143247583b003c1402e5.js
dist/static/js/54.143247583b003c1402e5.js
+1
-0
55.532efd95fcf915f5f1a8.js
dist/static/js/55.532efd95fcf915f5f1a8.js
+1
-0
56.049f25a6658844ffb7bf.js
dist/static/js/56.049f25a6658844ffb7bf.js
+1
-0
57.c99c2a2f0e5d1ab88d8e.js
dist/static/js/57.c99c2a2f0e5d1ab88d8e.js
+1
-0
58.74343ed15c0a649902ad.js
dist/static/js/58.74343ed15c0a649902ad.js
+1
-0
60.db82d558d1ab18cb61f6.js
dist/static/js/60.db82d558d1ab18cb61f6.js
+1
-0
61.f370bf9f2106ab67ce77.js
dist/static/js/61.f370bf9f2106ab67ce77.js
+1
-0
62.eb62c10416d15e49229a.js
dist/static/js/62.eb62c10416d15e49229a.js
+1
-0
63.29e73ed2ce65fe21ef18.js
dist/static/js/63.29e73ed2ce65fe21ef18.js
+1
-0
64.0c3aec5434272119f040.js
dist/static/js/64.0c3aec5434272119f040.js
+1
-0
65.9ba497838f1ec1f4d88d.js
dist/static/js/65.9ba497838f1ec1f4d88d.js
+1
-0
app.8ea6e77a49e8fb34782b.js
dist/static/js/app.8ea6e77a49e8fb34782b.js
+1
-0
manifest.83191ee41c16fa551d01.js
dist/static/js/manifest.83191ee41c16fa551d01.js
+1
-0
sourceConversionList.vue
src/components/conversionList/sourceConversionList.vue
+14
-6
No files found.
dev/index.html
View file @
0573468a
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
ef6c73fbcc7b55940e91
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.4e7d0f134d2c40038fa6.js
></script><script
type=
text/javascript
src=
/static/js/app.30b639df5f9a6e58e256.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
4cb1d939b5ad1e73f457
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.4e7d0f134d2c40038fa6.js
></script><script
type=
text/javascript
src=
/static/js/app.30b639df5f9a6e58e256.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/46.ba61c3b96aa7867dabbc.js
0 → 100644
View file @
0573468a
webpackJsonp
([
46
],{
"0PRh"
:
function
(
e
,
t
,
s
){
var
a
=
s
(
"srQM"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
s
(
"rjj0"
)(
"baa3e9e8"
,
a
,
!
1
,{})},
"8toi"
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"CCn6"
),
r
=
s
(
"kmJW"
),
i
=
s
(
"+TkF"
),
o
=
s
(
"Ix4X"
);
function
n
(
e
,
t
,
s
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
s
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
s
,
e
}
var
l
=
{
name
:
"periodsConversionList"
,
data
:
function
(){
var
e
,
t
=
this
;
return
n
(
e
=
{
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[]},
"total"
,
0
),
n
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
n
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
))}}),
n
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"classToday"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
classTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"classYesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
n
(
e
,
"classLast30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"classLast7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"propertyList"
,[]),
n
(
e
,
"spanArr"
,[]),
n
(
e
,
"contentSpanArr"
,[]),
n
(
e
,
"searchFrom"
,{
payTime
:[],
classTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
}),
n
(
e
,
"propertyList"
,[]),
n
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
n
(
e
,
"goodList"
,[]),
e
},
filters
:{
orderFilter
:
function
(
e
){
return
i
.
q
[
e
]},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
i
.
g
[
e
.
goods_type
]
+
"]【"
+
e
.
current_price
/
100
+
"元】"
+
e
.
name
}},
components
:{
page
:
r
.
a
},
methods
:{
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
a
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
,
console
.
log
(
e
.
goodList
,
176
)})},
rendertip
:
function
(
e
,
t
){
var
s
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
s
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
o
.
c
[
s
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
a
.
_108
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
s
){
s
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
s
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
s
=
e
.
getMonth
()
+
1
;
s
<
10
&&
(
s
=
"0"
+
s
);
var
a
=
e
.
getDate
();
return
a
<
10
&&
(
a
=
"0"
+
a
),
t
+
"-"
+
s
+
"-"
+
a
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
a
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
i
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
a
.
_79
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
,
console
.
log
(
320
)})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
out_trade_no
&&
(
t
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
pay_start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
pay_over_at
=
this
.
searchFrom
.
end_at
)),
this
.
searchFrom
.
classTime
&&
this
.
searchFrom
.
classTime
.
length
>
0
&&
(
console
.
log
(
this
.
searchFrom
.
classTime
),
this
.
searchFrom
.
classTime
[
0
]
&&
this
.
searchFrom
.
classTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
class_start_at
=
this
.
searchFrom
.
classTime
[
0
],
t
.
in_class_start_at
=
this
.
searchFrom
.
class_start_at
),
this
.
searchFrom
.
classTime
[
1
]
&&
this
.
searchFrom
.
classTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
class_end_at
=
this
.
searchFrom
.
classTime
[
1
],
t
.
in_class_over_at
=
this
.
searchFrom
.
class_end_at
)),
Object
(
a
.
_94
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
s
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
s
,
a
){
s
.
index
=
a
,
0
==
a
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
s
.
cur_date
==
t
.
list
[
a
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
a
);
var
r
=
s
.
invite_name
&&
s
.
invite_name
.
length
>
0
?
"("
+
s
.
invite_name
+
")"
:
""
,
i
=
s
.
goods_id
&&
s
.
goods_id
>
0
?
"【"
+
s
.
goods_id
+
"】"
:
""
,
o
=
s
.
watch_num
&&
s
.
watch_num
>
0
?
"【"
+
s
.
watch_num
+
"个课时】"
:
""
;
return
s
.
invite_type
=
""
+
s
.
invite_type
+
r
,
s
.
goods_name
=
""
+
i
+
s
.
goods_name
+
o
,
s
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
s
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
(),
this
.
getTeacherList
(),
this
.
getGoodsOption
()}},
c
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
s
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"支付时间"
}},[
s
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"进班时间"
}},[
s
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
classToday
,
e
.
classYesterday
,
e
.
classLast7Day
,
e
.
classLast30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
classTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"classTime"
,
t
)},
expression
:
"searchFrom.classTime"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
s
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
out_trade_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"out_trade_no"
,
t
)},
expression
:
"searchFrom.out_trade_no"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"用户id"
}},[
s
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
s
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
s
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"转化前商品"
}},[
s
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
a
){
return
s
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"销售组别"
}},[
s
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"销售老师"
}},[
s
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
changeTeacher
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
s
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
s
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,[
s
(
"div"
,{
staticClass
:
"flexRow"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
s
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
s
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
s
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
),
s
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
staticStyle
:{
"font-size"
:
"12px"
},
attrs
:{
prop
:
"duration_over_at"
,
label
:
"开课看课时间"
,
width
:
"200"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
开课日期:"
+
e
.
_s
(
t
.
row
.
periods_start_at
)
+
"
\n
"
),
s
(
"br"
),
e
.
_v
(
"
\n
结课日期:"
+
e
.
_s
(
t
.
row
.
periods_over_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"销售老师"
,
className
:
"f-c"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
invite_teacher_name
)),
s
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
invite_teacher_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"销售老师用户"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
invite_user_nickname
)),
s
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
invite_user_id
)
+
")"
),
s
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
invite_user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"带课老师"
,
className
:
"f-c"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
class_teacher_name
)),
s
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
class_teacher_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"销售老师用户"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
class_invite_user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
class_invite_user_nickname
)),
s
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
class_invite_user_id
)
+
")"
),
s
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
class_invite_user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_at"
,
label
:
"支付时间"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"in_class_at"
,
label
:
"进班时间"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"status"
,
label
:
"支付状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"orderFilter"
)(
t
.
row
.
status
))
+
"
\n
"
)]}}])})],
1
),
e
.
_v
(
" "
),
s
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)};
c
.
_withStripped
=!
0
;
var
h
=
{
render
:
c
,
staticRenderFns
:[]},
m
=
h
;
var
d
=!
1
;
var
_
=
s
(
"VU/8"
)(
l
,
m
,
!
1
,
function
(
e
){
d
||
s
(
"0PRh"
)},
null
,
null
);
_
.
options
.
__file
=
"src
\\
components
\\
conversionList
\\
sourceConversionList.vue"
;
t
.
default
=
_
.
exports
},
srQM
:
function
(
e
,
t
,
s
){(
e
.
exports
=
s
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.channel-trans-list {
\n
padding: 20px 0;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/conversionList/sourceConversionList.vue"
],
names
:[],
mappings
:
";AACA;EACE,gBAAgB;CACjB"
,
file
:
"sourceConversionList.vue"
,
sourcesContent
:[
"
\n
.channel-trans-list {
\n
padding: 20px 0;
\n
}
\n
"
],
sourceRoot
:
""
}])}});
\ No newline at end of file
dev/static/js/manifest.4cb1d939b5ad1e73f457.js
0 → 100644
View file @
0573468a
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
b
[
t
]
&&
u
.
push
(
b
[
t
][
0
]),
b
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
c
(
c
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
b
=
{
70
:
0
};
function
c
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
b
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
b
.
exports
,
b
,
b
.
exports
,
c
),
b
.
l
=!
0
,
b
.
exports
}
c
.
e
=
function
(
e
){
var
a
=
b
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
c
){
a
=
b
[
e
]
=
[
f
,
c
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
c
.
nc
&&
n
.
setAttribute
(
"nonce"
,
c
.
nc
),
n
.
src
=
c
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"bc93f4f9b878719d80e2"
,
1
:
"79fe09f100621f3b28a3"
,
2
:
"6a63304f003e5f0e10b7"
,
3
:
"0ec375af444b62fa4575"
,
4
:
"a498888b5a93052fce44"
,
5
:
"dc28b0af7634612ee863"
,
6
:
"4d0e143130ca414fafe5"
,
7
:
"30bb4528187d0a680c8e"
,
8
:
"cbb7898bb49422e0527d"
,
9
:
"773462290a556b4b6de5"
,
10
:
"ae1be5806294bcde4977"
,
11
:
"9ecd912e1017bbe60f78"
,
12
:
"6b575cde96baf9fdaf8c"
,
13
:
"f8ec5a72b76aac742bf8"
,
14
:
"a33abe8603b50e0f7aa4"
,
15
:
"c15242ccb70ebfa017ed"
,
16
:
"8532fe4f650f8d179908"
,
17
:
"c9f36aca73fb2779c53a"
,
18
:
"442886bb8539fcad4154"
,
19
:
"856082d59127c3ac4f30"
,
20
:
"5bcf1640b5d745cfb7aa"
,
21
:
"e8fc2f4dd5412baa339f"
,
22
:
"3960ceda2d926aa07a36"
,
23
:
"e601a9e703a8ff0c52c2"
,
24
:
"bd57becd4743218f2b67"
,
25
:
"e5d7e29763b61d22221d"
,
26
:
"f053236669093752f4a0"
,
27
:
"a756c82f7aa7d027b6e6"
,
28
:
"9b74f68733c5338fd518"
,
29
:
"addfc3d7ff7da9f10a6e"
,
30
:
"8e56eefb71fa5879d8e1"
,
31
:
"14bbc1de8cb35bccb4f2"
,
32
:
"e29b00e4db88f7612cab"
,
33
:
"cecf30d38575a7bb4d3b"
,
34
:
"1288bbcb44e68b667c33"
,
35
:
"7b2df88268396d5432f2"
,
36
:
"44095c68c658eb7e0763"
,
37
:
"ddf6ff59e2fb837390ed"
,
38
:
"a4f0e9f5ebb2bf176d2b"
,
39
:
"14bfda2ebfc101a835f0"
,
40
:
"5b56fc3b476a920a9fed"
,
41
:
"f5cbc80a06389832a034"
,
42
:
"641e664b7e3bea734130"
,
43
:
"91c26c0e019344e7cc8a"
,
44
:
"a0d5af33930f6aa4f9bf"
,
45
:
"51081f2343233bafd4e8"
,
46
:
"ba61c3b96aa7867dabbc"
,
47
:
"0ff3bedb057753e3baff"
,
48
:
"e78f17e072bff43457a7"
,
49
:
"cabe2f52b9b7ea00827a"
,
50
:
"66b8a7473b736314e28e"
,
51
:
"e06d8677ab1359234a9e"
,
52
:
"059d6a82f67b2a6417f7"
,
53
:
"a40c404aa33dec59d448"
,
54
:
"11ed5dbe93007b6a0f91"
,
55
:
"130a998d3a832080e04b"
,
56
:
"63d1c0f997e3cb3ca67f"
,
57
:
"fd962618bafde17368b3"
,
58
:
"2d598f68876b8c85c1f0"
,
59
:
"028a6cbeb6be8d483406"
,
60
:
"34bb194090b0b9a3943a"
,
61
:
"ba5758213799135a91df"
,
62
:
"9c768a8044b2a7a49036"
,
63
:
"17ce472ba407273c2548"
,
64
:
"39fa2eb469af247e6e86"
,
65
:
"1201150180d72fd9f175"
,
66
:
"2ba4da364b8ac343fb95"
,
67
:
"9b7c0eb2af10130246c5"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
b
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
b
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
c
.
m
=
e
,
c
.
c
=
f
,
c
.
d
=
function
(
e
,
a
,
f
){
c
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
c
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
c
.
d
(
a
,
"a"
,
a
),
a
},
c
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
c
.
p
=
"/"
,
c
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
0573468a
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.018fd36890641c9d60d522f7928e3276.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
1e117bdee676ae197742.js
></script><script
type=
text/javascript
src=
/static/js/vendor.ee6bbc8cffdb2ad400d2.js
></script><script
type=
text/javascript
src=
/static/js/app.dfc3c543def3f952aeb0
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.018fd36890641c9d60d522f7928e3276.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
83191ee41c16fa551d01.js
></script><script
type=
text/javascript
src=
/static/js/vendor.ee6bbc8cffdb2ad400d2.js
></script><script
type=
text/javascript
src=
/static/js/app.8ea6e77a49e8fb34782b
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dist/static/js/43.201a43bd4f25509da636.js
0 → 100644
View file @
0573468a
webpackJsonp
([
43
],{
"0HId"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
r
(
"CCn6"
),
n
=
r
(
"NC6I"
),
o
=
r
.
n
(
n
),
i
=
{
data
:
function
(){
return
{
login
:{
username
:
""
,
password
:
""
},
loginRules
:{
username
:[{
required
:
!
0
,
message
:
"请输入您的用户名"
,
trigger
:
"blur"
}],
password
:[{
required
:
!
0
,
message
:
"请输入您的密码"
,
trigger
:
"blur"
}]}}},
mounted
:
function
(){
var
e
=
this
;
document
.
onkeydown
=
function
(
t
){
var
r
=
t
||
window
.
event
;
if
(
13
===
(
r
.
keyCode
||
r
.
which
||
r
.
charCode
)
&&
"login"
===
e
.
$route
.
name
)
return
e
.
submitForm
(),
!
1
;
return
!
0
}},
methods
:{
submitForm
:
function
(){
var
e
=
this
;
this
.
$refs
.
loginForm
.
validate
(
function
(
t
){
if
(
t
){
var
r
=
{
username
:
e
.
login
.
username
,
password
:
o
()(
e
.
login
.
password
)};
Object
(
s
.
_128
)(
r
).
then
(
function
(
t
){
if
(
t
.
teacher_info
){
var
r
=
JSON
.
stringify
(
t
.
teacher_info
);
localStorage
.
setItem
(
"phoneNum"
,
r
)}
else
localStorage
.
setItem
(
"phoneNum"
,
""
);
e
.
$store
.
dispatch
(
"setToken"
,
t
.
token
),
e
.
$store
.
dispatch
(
"setUserName"
,
t
.
desc
),
e
.
$store
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
t
.
roles
.
menu_ids
)),
window
.
location
.
href
=
"/"
})}})},
goRegister
:
function
(){
this
.
$router
.
push
({
name
:
"register"
})}}},
a
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"login"
},[
r
(
"div"
,{
staticClass
:
"wrap-main"
},[
r
(
"h1"
,{
staticClass
:
"title"
},[
e
.
_v
(
"唱唱启蒙——后台管理系统"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"loginForm"
,
attrs
:{
model
:
e
.
login
,
rules
:
e
.
loginRules
}},[
r
(
"el-form-item"
,{
attrs
:{
prop
:
"username"
}},[
r
(
"el-input"
,{
attrs
:{
placeholder
:
"用户名"
},
model
:{
value
:
e
.
login
.
username
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"username"
,
t
)},
expression
:
"login.username"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
prop
:
"password"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"password"
,
placeholder
:
"密码"
},
model
:{
value
:
e
.
login
.
password
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"password"
,
t
)},
expression
:
"login.password"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
staticClass
:
"btn"
,
attrs
:{
size
:
"medium"
,
type
:
"primary"
},
on
:{
click
:
e
.
submitForm
}},[
e
.
_v
(
"登陆"
)]),
e
.
_v
(
" "
),
r
(
"router-link"
,{
staticClass
:
"fr"
,
attrs
:{
to
:{
name
:
"register"
}}},[
e
.
_v
(
"
\n
班主任注册入口
\n
"
)])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
l
=
r
(
"VU/8"
)(
i
,
a
,
!
1
,
function
(
e
){
r
(
"xq0c"
)},
"data-v-c31356dc"
,
null
);
t
.
default
=
l
.
exports
},
xq0c
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/44.4cd927d1beeb1eb03e7f.js
0 → 100644
View file @
0573468a
webpackJsonp
([
44
],{
Vt1u
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
o
(
"CCn6"
),
a
=
{
components
:{
page
:
o
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
roleList
:[],
exportMenuList
:[
"2-3"
,
"5-10"
,
"5-2"
,
"5-1"
,
"5-3"
,
"5-8"
,
"5-9"
,
"3-1"
,
"7-9"
,
"6-3"
],
dialog
:{
title
:
"新增角色"
,
show
:
!
1
,
select
:[],
chooseed
:[],
rules
:{
name
:[{
required
:
!
0
,
message
:
"请填写角色名称"
,
trigger
:
"change"
}]},
form
:{
name
:
""
,
menu_ids
:[],
id
:
""
}}}},
created
:
function
(){
this
.
getList
(),
this
.
getMenuList
()},
methods
:{
distribution
:
function
(
e
){},
rowClick
:
function
(
e
){
this
.
$router
.
push
({
name
:
"admin"
,
query
:{
roleId
:
e
.
id
}})},
getMenuList
:
function
(){
var
e
=
this
;
Object
(
n
.
_69
)().
then
(
function
(
t
){
t
&&
(
t
.
forEach
(
function
(
t
){
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
readonly
=!
1
,
t
.
delete
=!
1
,
e
.
exportMenuList
.
indexOf
(
t
.
cover
)
>-
1
&&
(
t
.
export
=!
1
),
"5-9"
!==
t
.
cover
&&
"7-9"
!==
t
.
cover
||
(
t
.
distribution
=!
1
),
"月课订单列表"
!==
t
.
name
&&
"日课订单列表"
!==
t
.
name
&&
"来源码管理"
!==
t
.
name
&&
"5-9"
!==
t
.
cover
&&
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
&&
"3-2"
!==
t
.
cover
||
(
t
.
refund
=!
1
),
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
&&
"3-2"
!==
t
.
cover
||
(
t
.
classManageUnlimited
=!
1
,
t
.
classManage
=!
1
,
t
.
classTakeUnlimited
=!
1
),
"5-1"
===
t
.
cover
&&
(
t
.
promoter
=!
1
)})}),
e
.
dialog
.
select
=
t
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
n
.
_90
)(
t
).
then
(
function
(
t
){
t
&&
(
e
.
roleList
=
t
.
list
,
e
.
total
=
t
.
total
)})},
edit
:
function
(
e
){
var
t
=
this
;
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑角色"
,
Object
(
n
.
_69
)().
then
(
function
(
o
){
o
&&
(
o
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
,
t
.
exportMenuList
.
indexOf
(
e
.
cover
)
>-
1
&&
(
e
.
export
=!
1
),
"5-9"
!==
e
.
cover
&&
"7-9"
!==
e
.
cover
||
(
e
.
distribution
=!
1
),
"月课订单列表"
!==
e
.
name
&&
"日课订单列表"
!==
e
.
name
&&
"来源码管理"
!==
e
.
name
&&
"5-9"
!==
e
.
cover
&&
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
&&
"3-2"
!==
e
.
cover
||
(
e
.
refund
=!
1
),
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
&&
"3-2"
!==
e
.
cover
||
(
e
.
classManageUnlimited
=!
1
,
e
.
classManage
=!
1
,
e
.
classTakeUnlimited
=!
1
),
"5-1"
===
e
.
cover
&&
(
e
.
promoter
=!
1
)})}),
t
.
dialog
.
select
=
o
,
Object
(
n
.
_89
)(
e
.
id
).
then
(
function
(
e
){
console
.
log
(
e
),
t
.
dialog
.
form
.
name
=
e
.
name
,
t
.
dialog
.
form
.
menu_ids
=
JSON
.
parse
(
e
.
menu_ids
),
t
.
dialog
.
chooseed
=
[],
t
.
dialog
.
form
.
menu_ids
.
forEach
(
function
(
e
){
t
.
dialog
.
chooseed
.
push
(
e
.
id
),
t
.
dialog
.
select
.
forEach
(
function
(
o
){
o
.
children
&&
o
.
children
.
forEach
(
function
(
n
){
n
.
id
===
e
.
id
&&
(
n
.
readonly
=!!
e
.
readonly
,
n
.
delete
=!!
e
.
delete
,
t
.
exportMenuList
.
indexOf
(
e
.
cover
)
>-
1
&&
(
n
.
export
=!!
e
.
export
),
"5-1"
!==
e
.
cover
&&
"5-10"
!==
e
.
cover
&&
"10-1"
!==
e
.
cover
&&
"5-9"
!==
e
.
cover
&&
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
&&
"3-2"
!==
o
.
cover
||
(
n
.
refund
=!!
e
.
refund
),
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
&&
"3-2"
!==
o
.
cover
||
(
n
.
classManage
=!!
e
.
classManage
,
n
.
classManageUnlimited
=!!
e
.
classManageUnlimited
,
n
.
classTakeUnlimited
=!!
e
.
classTakeUnlimited
),
"5-9"
!==
e
.
cover
&&
"7-9"
!==
e
.
cover
||
(
n
.
distribution
=!!
e
.
distribution
),
"5-1"
===
e
.
cover
&&
(
n
.
promoter
=!!
e
.
promoter
))})})}),
t
.
dialog
.
show
=!
0
,
t
.
$nextTick
(
function
(){
this
.
$refs
.
tree
.
setCheckedKeys
(
this
.
dialog
.
chooseed
)})}))})},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增菜单"
,
this
.
dialog
.
form
.
name
=
""
,
this
.
dialog
.
form
.
menu_ids
=
[],
this
.
getMenuList
()},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
R
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getList
()})})},
sub
:
function
(){
var
e
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
o
=
[];
e
.
$refs
.
tree
.
getCheckedNodes
().
forEach
(
function
(
e
){
var
t
=
void
0
;
!
1
!==
e
.
readonly
&&!
0
!==
e
.
readonly
||
(
t
=
{
id
:
e
.
id
,
cover
:
e
.
cover
,
readonly
:
e
.
readonly
}),
!
1
!==
e
.
delete
&&!
0
!==
e
.
delete
||
(
t
.
delete
=
e
.
delete
),
!
1
!==
e
.
refund
&&!
0
!==
e
.
refund
||
(
t
.
refund
=
e
.
refund
),
!
1
!==
e
.
classManage
&&!
0
!==
e
.
classManage
||
(
t
.
classManage
=
e
.
classManage
),
!
1
!==
e
.
classManageUnlimited
&&!
0
!==
e
.
classManageUnlimited
||
(
t
.
classManageUnlimited
=
e
.
classManageUnlimited
),
!
1
!==
e
.
classTakeUnlimited
&&!
0
!==
e
.
classTakeUnlimited
||
(
t
.
classTakeUnlimited
=
e
.
classTakeUnlimited
),
!
1
!==
e
.
promoter
&&!
0
!==
e
.
promoter
||
(
t
.
promoter
=
e
.
promoter
),
!
1
!==
e
.
export
&&!
0
!==
e
.
export
||
(
t
.
export
=
e
.
export
),
!
1
!==
e
.
distribution
&&!
0
!==
e
.
distribution
||
(
t
.
distribution
=
e
.
distribution
),
t
&&
o
.
push
(
t
)});
var
a
=
e
.
dialog
;
if
(
a
.
form
.
id
){
var
i
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
e
.
$confirm
(
"此操作将修改该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_176
)(
a
.
form
.
id
,
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
a
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
s
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
e
.
$confirm
(
"此操作将添加新角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_148
)(
s
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
a
.
show
=!
1
,
e
.
getList
()})})}}})}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"role"
},[
o
(
"div"
,{
staticClass
:
"head clear-both"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增角色"
)])],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
roleList
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"角色ID"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"角色名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
o
){
e
.
rowClick
(
t
.
row
)}}},[
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
name
))])]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"100vw"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"角色名称"
,
prop
:
"name"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"name"
,
t
)},
expression
:
"dialog.form.name"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"菜单选项"
}},[
o
(
"div"
,{
staticClass
:
"custom-tree-container"
},[
o
(
"el-tree"
,{
ref
:
"tree"
,
attrs
:{
data
:
e
.
dialog
.
select
,
"show-checkbox"
:
""
,
"node-key"
:
"id"
,
"default-checked-keys"
:
e
.
dialog
.
chooseed
,
"default-expand-all"
:
""
,
"expand-on-click-node"
:
!
1
,
props
:{
children
:
"children"
,
label
:
"name"
,
value
:
!
1
}},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
n
=
t
.
node
,
a
=
t
.
data
;
return
o
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
o
(
"span"
,[
e
.
_v
(
e
.
_s
(
n
.
label
))]),
e
.
_v
(
" "
),
0
!==
a
.
pid
?
o
(
"span"
,[
"5-1"
===
a
.
cover
||
"5-10"
===
a
.
cover
||
"5-9"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"退款"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"10-1"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"类别管理"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-1"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
promoter
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"promoter"
,
t
)},
expression
:
"data.promoter"
}},[
e
.
_v
(
"编辑推广人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"添加观摩班用户"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
classManage
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classManage"
,
t
)},
expression
:
"data.classManage"
}},[
e
.
_v
(
"添加带班班用户"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
classManageUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classManageUnlimited"
,
t
)},
expression
:
"data.classManageUnlimited"
}},[
e
.
_v
(
"添加观摩班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
classTakeUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classTakeUnlimited"
,
t
)},
expression
:
"data.classTakeUnlimited"
}},[
e
.
_v
(
"添加带班班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-9"
===
a
.
cover
||
"7-9"
===
a
.
cover
?
o
(
"el-checkbox"
,{
on
:{
change
:
e
.
distribution
},
model
:{
value
:
a
.
distribution
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"distribution"
,
t
)},
expression
:
"data.distribution"
}},[
e
.
_v
(
"批量分配"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
exportMenuList
.
indexOf
(
a
.
cover
)
>-
1
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
export
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"export"
,
t
)},
expression
:
"data.export"
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
readonly
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"readonly"
,
t
)},
expression
:
"data.readonly"
}},[
e
.
_v
(
"只读"
)]),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
delete
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"delete"
,
t
)},
expression
:
"data.delete"
}},[
e
.
_v
(
"删除"
)])],
1
):
e
.
_e
()])}}])})],
1
)])],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
o
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
e
){
o
(
"WUct"
)},
"data-v-a0c6d124"
,
null
);
t
.
default
=
s
.
exports
},
WUct
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/45.2c1e846220ec8e9e2732.js
0 → 100644
View file @
0573468a
webpackJsonp
([
45
],{
"6yV8"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
s
=
a
(
"kmJW"
),
n
=
a
(
"+TkF"
),
i
=
a
(
"Ix4X"
);
function
o
(
e
,
t
,
a
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
a
,
e
}
var
l
=
{
name
:
"teacherConversionList"
,
data
:
function
(){
var
e
,
t
=
this
;
return
o
(
e
=
{
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[]},
"total"
,
0
),
o
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
o
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"spanArr"
,[]),
o
(
e
,
"contentSpanArr"
,[]),
o
(
e
,
"searchFrom"
,{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
e
},
components
:{
page
:
s
.
a
},
methods
:{
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
i
.
c
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
r
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
n
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
r
.
_79
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
Object
(
r
.
_105
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
t
.
list
.
push
(
t
.
total_result
),
e
.
list
=
t
.
list
.
map
(
function
(
a
,
r
){
a
.
index
=
r
,
0
==
r
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
r
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
r
),
r
==
t
.
list
.
length
-
1
?
a
.
squad
=
"合计"
:
a
.
squad
=
"T"
+
a
.
squad
;
var
s
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
n
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
i
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
s
,
a
.
goods_name
=
""
+
n
+
a
.
goods_name
+
i
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getPeriodsOtherList
(),
this
.
getGoodsList
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"组ID"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"squad"
,
label
:
"组别"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"老师名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_class_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
friend_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_class_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
come_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_class_num"
,
label
:
"转化率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sum_buy_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_money"
,
width
:
"120"
,
label
:
"转化总额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"UuN7"
)},
null
,
null
);
t
.
default
=
h
.
exports
},
UuN7
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/46.acdf4b9cfba4319fd526.js
0 → 100644
View file @
0573468a
webpackJsonp
([
46
],{
"+jTk"
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
o
(
"CCn6"
),
i
=
o
(
"+TkF"
),
s
=
o
(
"kmJW"
),
l
=
o
(
"NC6I"
),
r
=
o
.
n
(
l
),
n
=
{
name
:
"admin"
,
components
:{
page
:
s
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
adminList
:[],
searchFrom
:{
user_name
:
""
,
status
:
""
,
role_id
:
""
},
dialog
:{
dialogType
:
0
,
title
:
"新增账号"
,
show
:
!
1
,
select
:[{
code
:
0
,
value
:
i
.
a
[
0
]},{
code
:
1
,
value
:
i
.
a
[
1
]}],
rules
:{
username
:[{
validator
:
function
(
t
,
o
,
a
){
""
===
o
&&
0
===
e
.
dialog
.
dialogType
?
a
(
new
Error
(
"请输入账号"
)):
a
()},
trigger
:
"blur"
}],
password
:[{
validator
:
function
(
t
,
o
,
a
){
""
!==
o
||
0
!==
e
.
dialog
.
dialogType
&&
2
!==
e
.
dialog
.
dialogType
?(
""
===
e
.
dialog
.
form
.
surePassword
||
0
!==
e
.
dialog
.
dialogType
&&
2
!==
e
.
dialog
.
dialogType
||
e
.
$refs
.
form
.
validateField
(
"surePassword"
),
a
()):
a
(
new
Error
(
"请输入密码"
))},
trigger
:
"blur"
}],
surePassword
:[{
validator
:
function
(
t
,
o
,
a
){
0
===
e
.
dialog
.
dialogType
||
2
===
e
.
dialog
.
dialogType
?
""
===
o
?
a
(
new
Error
(
"请再次输入密码"
)):
o
!==
e
.
dialog
.
form
.
password
?
a
(
new
Error
(
"两次输入密码不一致!"
)):
a
():
a
()},
trigger
:
"blur"
}],
role_id
:[{
validator
:
function
(
t
,
o
,
a
){
0
===
e
.
dialog
.
dialogType
||
1
===
e
.
dialog
.
dialogType
?
""
===
o
&&
a
(
new
Error
(
"请输入角色"
)):
a
()},
trigger
:
"blur"
}],
desc
:[{
validator
:
function
(
t
,
o
,
a
){
0
===
e
.
dialog
.
dialogType
||
1
===
e
.
dialog
.
dialogType
?
""
===
o
&&
a
(
new
Error
(
"请输入简述"
)):
a
()},
trigger
:
"blur"
}]},
form
:{
id
:
""
,
username
:
""
,
password
:
""
,
surePassword
:
""
,
role_id
:
""
,
status
:
0
,
desc
:
""
}},
roleList
:[]}},
filters
:{
adminStatus
:
function
(
e
){
return
i
.
a
[
e
]}},
created
:
function
(){
this
.
$route
.
query
.
roleId
&&
(
this
.
searchFrom
.
role_id
=
parseInt
(
this
.
$route
.
query
.
roleId
)),
this
.
getList
(),
this
.
getRoleList
()},
methods
:{
getRoleList
:
function
(){
var
e
=
this
;
Object
(
a
.
_90
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
t
&&
(
e
.
roleList
=
t
.
list
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
user_name
&&
(
t
.
user_name
=
this
.
searchFrom
.
user_name
),
""
!==
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
""
!==
this
.
searchFrom
.
role_id
&&
(
t
.
role_id
=
this
.
searchFrom
.
role_id
),
Object
(
a
.
_31
)(
t
).
then
(
function
(
t
){
e
.
adminList
=
t
.
list
,
e
.
total
=
Number
(
t
.
total
),
e
.
$store
.
commit
(
"mainCanShow"
)})},
editPW
:
function
(
e
){
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
dialogType
=
2
,
this
.
dialog
.
title
=
"修改密码"
,
this
.
dialog
.
form
.
password
=
""
,
this
.
dialog
.
form
.
surePassword
=
""
,
this
.
dialog
.
show
=!
0
},
edit
:
function
(
e
){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
dialogType
=
1
,
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑"
,
this
.
dialog
.
form
.
username
=
e
.
user_name
,
this
.
dialog
.
form
.
password
=
""
,
this
.
dialog
.
form
.
status
=
e
.
status
,
this
.
dialog
.
form
.
role_id
=
e
.
role_id
,
this
.
dialog
.
form
.
desc
=
e
.
desc
},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
dialogType
=
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增"
,
this
.
dialog
.
form
.
username
=
""
,
this
.
dialog
.
form
.
status
=
0
,
this
.
dialog
.
form
.
password
=
""
,
this
.
dialog
.
form
.
role_id
=
""
,
this
.
dialog
.
form
.
desc
=
""
},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该账号?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
H
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
})}),
t
.
getList
()})},
onSub
:
function
(){
var
e
=
this
,
t
=
this
.
dialog
;
if
(
1
===
t
.
dialogType
){
var
o
=
{
role_id
:
t
.
form
.
role_id
,
desc
:
t
.
form
.
desc
,
status
:
t
.
form
.
status
};
this
.
$confirm
(
"此操作将编辑该账号?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
_6
)(
t
.
form
.
id
,
o
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
show
=!
1
,
e
.
getList
()})})}
else
if
(
0
===
t
.
dialogType
){
var
i
=
{
role_id
:
t
.
form
.
role_id
,
desc
:
t
.
form
.
desc
,
passwd
:
r
()(
t
.
form
.
password
),
username
:
t
.
form
.
username
};
this
.
$confirm
(
"此操作将添加新账号?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
b
)(
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
t
.
show
=!
1
,
e
.
getList
()})})}
else
if
(
2
===
t
.
dialogType
){
var
s
=
{
passwd_new
:
r
()(
t
.
form
.
password
)};
this
.
$confirm
(
"此操作将修改此账号密码?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
_20
)(
t
.
form
.
id
,
s
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
show
=!
1
,
e
.
getList
()})})}}}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"admin"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
"margin-bottom"
:
"10px"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增角色"
)]),
e
.
_v
(
" "
),
o
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
inline
:
""
,
"label-width"
:
"80px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"用户名"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
user_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_name"
,
t
)},
expression
:
"searchFrom.user_name"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"状态"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择用户状态"
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
o
(
"el-option"
,{
attrs
:{
label
:
"全部"
,
value
:
""
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"启用"
,
value
:
0
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"冻结"
,
value
:
1
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"角色"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择角色类型"
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
role_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"role_id"
,
t
)},
expression
:
"searchFrom.role_id"
}},[
o
(
"el-option"
,{
attrs
:{
label
:
"全部"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
roleList
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,[
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
adminList
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"账号ID"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"user_name"
,
label
:
"用户名"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"role_name"
,
label
:
"角色"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"adminStatus"
)(
t
.
row
.
status
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"last_login_at"
,
label
:
"最后登陆时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"280"
}},[
o
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"warning"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
editPW
(
t
.
row
)}}},[
e
.
_v
(
"
\n
修改密码
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
e
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"30%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"80px"
}},[
0
===
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"账号"
,
prop
:
"username"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
username
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"username"
,
t
)},
expression
:
"dialog.form.username"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
===
e
.
dialog
.
dialogType
||
0
===
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"密码"
,
prop
:
"password"
}},[
o
(
"el-input"
,{
attrs
:{
type
:
"password"
},
model
:{
value
:
e
.
dialog
.
form
.
password
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"password"
,
t
)},
expression
:
"dialog.form.password"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
===
e
.
dialog
.
dialogType
||
0
===
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"确认密码"
,
prop
:
"surePassword"
}},[
o
(
"el-input"
,{
attrs
:{
type
:
"password"
},
model
:{
value
:
e
.
dialog
.
form
.
surePassword
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"surePassword"
,
t
)},
expression
:
"dialog.form.surePassword"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
!==
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"角色"
,
prop
:
"role_id"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dialog
.
form
.
role_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"role_id"
,
t
)},
expression
:
"dialog.form.role_id"
}},
e
.
_l
(
e
.
roleList
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
!==
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"简述"
,
prop
:
"desc"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"desc"
,
t
)},
expression
:
"dialog.form.desc"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
===
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"状态"
,
prop
:
"status"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dialog
.
form
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"status"
,
t
)},
expression
:
"dialog.form.status"
}},
e
.
_l
(
e
.
dialog
.
select
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
code
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
code
}})}))],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
c
=
o
(
"VU/8"
)(
n
,
d
,
!
1
,
function
(
e
){
o
(
"qbdU"
)},
"data-v-7e29e74f"
,
null
);
t
.
default
=
c
.
exports
},
qbdU
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/47.35771232868fe78ab72d.js
0 → 100644
View file @
0573468a
webpackJsonp
([
47
],{
"90Fj"
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
s
(
"CCn6"
),
o
=
s
(
"NC6I"
),
n
=
s
.
n
(
o
),
r
=
{
data
:
function
(){
return
{
login
:{
username
:
""
,
password
:
""
},
loginRules
:{
username
:[{
required
:
!
0
,
message
:
"请输入您的用户名"
,
trigger
:
"blur"
}],
password
:[{
required
:
!
0
,
message
:
"请输入您的密码"
,
trigger
:
"blur"
}]},
texT
:
"获取验证码"
,
disable
:
!
1
}},
mounted
:
function
(){
var
e
=
this
;
document
.
onkeydown
=
function
(
t
){
var
s
=
t
||
window
.
event
;
if
(
13
===
(
s
.
keyCode
||
s
.
which
||
s
.
charCode
)
&&
"login"
===
e
.
$route
.
name
)
return
e
.
submitForm
(),
!
1
;
return
!
0
}},
methods
:{
getCode
:
function
(){
var
e
=
this
;
if
(
this
.
login
.
take_class_mobile
){
this
.
disable
=!
0
;
var
t
=
10
;
Object
(
i
.
_137
)({
mobile
:
this
.
login
.
take_class_mobile
}).
then
(
function
(
s
){
e
.
texT
=
"10s"
;
var
i
=
setInterval
(
function
(){
t
--
,
e
.
texT
=
t
+
"s"
},
1
e3
);
setTimeout
(
function
(){
e
.
disable
=!
1
,
clearInterval
(
i
),
e
.
texT
=
"获取验证码"
},
1
e4
)})}
else
this
.
$message
(
"请填写手机号"
)},
submitForm
:
function
(){
var
e
=
this
;
this
.
$refs
.
loginForm
.
validate
(
function
(
t
){
if
(
t
){
var
s
=
{
username
:
e
.
login
.
username
,
password
:
n
()(
e
.
login
.
password
),
take_class_mobile
:
e
.
login
.
take_class_mobile
,
id_number
:
e
.
login
.
id_number
,
verify_code
:
e
.
login
.
verify_code
};
Object
(
i
.
_140
)(
s
).
then
(
function
(
t
){
if
(
t
.
teacher_info
){
var
s
=
JSON
.
stringify
(
t
.
teacher_info
);
localStorage
.
setItem
(
"phoneNum"
,
s
)}
else
localStorage
.
setItem
(
"phoneNum"
,
""
);
e
.
$store
.
dispatch
(
"setToken"
,
t
.
token
),
e
.
$store
.
dispatch
(
"setUserName"
,
t
.
desc
),
e
.
$store
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
t
.
roles
.
menu_ids
)),
window
.
location
.
href
=
"/"
})}})}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"login"
},[
s
(
"div"
,{
staticClass
:
"wrap-main"
},[
s
(
"h1"
,{
staticClass
:
"title"
},[
e
.
_v
(
"班主任注册"
)]),
e
.
_v
(
" "
),
s
(
"el-form"
,{
ref
:
"loginForm"
,
attrs
:{
model
:
e
.
login
,
rules
:
e
.
loginRules
}},[
s
(
"el-form-item"
,{
attrs
:{
prop
:
"take_class_mobile"
}},[
s
(
"el-input"
,{
attrs
:{
placeholder
:
"带班手机号"
},
model
:{
value
:
e
.
login
.
take_class_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"take_class_mobile"
,
t
)},
expression
:
"login.take_class_mobile"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
prop
:
"username"
}},[
s
(
"el-input"
,{
attrs
:{
placeholder
:
"姓名"
},
model
:{
value
:
e
.
login
.
username
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"username"
,
t
)},
expression
:
"login.username"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
prop
:
"password"
}},[
s
(
"el-input"
,{
attrs
:{
type
:
"password"
,
placeholder
:
"密码"
},
model
:{
value
:
e
.
login
.
password
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"password"
,
t
)},
expression
:
"login.password"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
prop
:
"id_number"
}},[
s
(
"el-input"
,{
attrs
:{
maxlength
:
"18"
,
placeholder
:
"身份证号"
},
model
:{
value
:
e
.
login
.
id_number
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"id_number"
,
t
)},
expression
:
"login.id_number"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
prop
:
"verify_code"
}},[
s
(
"el-input"
,{
attrs
:{
placeholder
:
"验证码"
},
model
:{
value
:
e
.
login
.
verify_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"verify_code"
,
t
)},
expression
:
"login.verify_code"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,[
s
(
"el-button"
,{
staticClass
:
"btn"
,
attrs
:{
size
:
"medium"
,
type
:
"success"
},
on
:{
click
:
e
.
submitForm
}},[
e
.
_v
(
"注册"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
staticClass
:
"btn code"
,
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
size
:
"medium"
,
type
:
"primary"
,
disabled
:
e
.
disable
,
plain
:
""
},
on
:{
click
:
e
.
getCode
}},[
e
.
_v
(
e
.
_s
(
e
.
texT
))])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
a
=
s
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
s
(
"cJVr"
)},
"data-v-78ce771a"
,
null
);
t
.
default
=
a
.
exports
},
cJVr
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/48.83b2d3a51baa39f918fe.js
0 → 100644
View file @
0573468a
webpackJsonp
([
48
],{
"8MDz"
:
function
(
t
,
e
){},
SKyX
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"CCn6"
),
r
=
{
name
:
"index"
,
data
:
function
(){
return
{
list
:[],
dateList
:[],
propertyList
:[
"title"
,
"start_at"
,
"total_join_num"
,
"total_max_join_num"
,
"total_target_join_num"
,
"complete_rate"
,
"target_diff"
,
"wait_join_num"
,
"other_wait_join_num"
]}},
methods
:{
initPage
:
function
(){
var
t
=
this
;
Object
(
a
.
_77
)().
then
(
function
(
e
){
t
.
list
=
e
,
e
[
0
].
date
&&
e
[
0
].
date
.
forEach
(
function
(
e
){
t
.
dateList
.
push
(
e
.
pay_date
)})})},
tableRowClassName
:
function
(
t
){
t
.
row
;
return
0
===
t
.
rowIndex
?
"warning-row"
:
""
},
arraySpanMethod
:
function
(
t
){
if
(
this
.
propertyList
.
indexOf
(
t
.
column
.
property
)
>-
1
){
if
(
0
===
t
.
rowIndex
||
t
.
row
.
id
!==
this
.
list
[
t
.
rowIndex
-
1
].
id
){
for
(
var
e
=
1
,
n
=
t
.
rowIndex
+
1
;
n
<
this
.
list
.
length
&&
t
.
row
.
id
===
this
.
list
[
n
].
id
;
n
++
)
e
++
;
return
{
rowspan
:
e
,
colspan
:
1
}}
return
{
rowspan
:
0
,
colspan
:
0
}}
return
{
rowspan
:
1
,
colspan
:
1
}}},
created
:
function
(){
this
.
initPage
()}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,[
n
(
"el-table"
,{
attrs
:{
border
:
""
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#5f5f5f"
,
color
:
"#fff"
},
data
:
t
.
list
,
height
:
"calc(100vh - 60px)"
,
size
:
"mini"
,
"row-class-name"
:
t
.
tableRowClassName
,
"span-method"
:
t
.
arraySpanMethod
}},[
n
(
"el-table-column"
,{
attrs
:{
"min-width"
:
"180"
,
prop
:
"wait_join_num"
,
align
:
"left"
,
fixed
:
"left"
,
label
:
"期数总状况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
期数名称:"
+
t
.
_s
(
e
.
row
.
title
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
开始时间:"
+
t
.
_s
(
e
.
row
.
start_at
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
团购待进班人数:"
+
t
.
_s
(
e
.
row
.
wait_join_num
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
外部订单待进班人数:"
+
t
.
_s
(
e
.
row
.
other_wait_join_num
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
总进班人数:"
+
t
.
_s
(
e
.
row
.
total_join_num
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
需求供量:"
+
t
.
_s
(
e
.
row
.
total_max_join_num
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
目标差距:"
+
t
.
_s
(
e
.
row
.
target_diff
<
0
?
"超标"
+-
1
*
e
.
row
.
target_diff
:
e
.
row
.
target_diff
)
+
"个
\n
"
),
n
(
"br"
),
t
.
_v
(
"完成率:
\n
"
),
n
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
status
:
e
.
row
.
complete_rate
>=
1
?
"exception"
:
"success"
,
percentage
:
1
e3
*
e
.
row
.
complete_rate
/
10
}})]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"class_name"
,
align
:
"center"
,
"min-width"
:
"80"
,
fixed
:
"left"
,
label
:
"班级名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
"合计"
===
e
.
row
.
title
?
"合计"
:
e
.
row
.
class_name
))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
"min-width"
:
"60"
,
align
:
"center"
,
label
:
"预计加入人数"
}}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
"min-width"
:
"60"
,
align
:
"center"
,
label
:
"已进班人数"
}}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"other_allot_num"
,
align
:
"center"
,
"min-width"
:
"60"
,
label
:
"外部订单已分配人数"
}}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dateList
,
function
(
e
,
a
){
return
n
(
"el-table-column"
,{
key
:
a
,
attrs
:{
align
:
"center"
,
label
:
e
}},[
n
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"60px"
,
prop
:
"wait_join_num"
,
label
:
"系统招生量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
date
[
a
].
total_buy_num
))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"60px"
,
prop
:
"wait_join_num"
,
label
:
"外部订单招生量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
date
[
a
].
total_other_buy_num
))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"60px"
,
label
:
"进班量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
date
[
a
].
total_into_num
))]}}])})],
1
)})],
2
)],
1
)},
staticRenderFns
:[]};
var
l
=
n
(
"VU/8"
)(
r
,
o
,
!
1
,
function
(
t
){
n
(
"8MDz"
)},
"data-v-6cb54dd1"
,
null
);
e
.
default
=
l
.
exports
}});
\ No newline at end of file
dist/static/js/49.30e06597c06e17993be3.js
0 → 100644
View file @
0573468a
webpackJsonp
([
49
],{
TZwE
:
function
(
e
,
t
){},
mjLz
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
i
=
{
name
:
"dayOrderCount"
,
data
:
function
(){
var
e
=
this
;
return
{
goodsList
:[],
headList
:[],
tableData
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
,
a
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_60
)({
limit
:
99999
,
course_type
:
1
,
status
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
(),
course_type
:
1
};
Object
(
r
.
_132
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
n
=
t
+
"-"
+
a
+
"-01"
,
i
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
n
,
i
]}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
type
:
"daterange"
,
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
e
){
a
(
"TZwE"
)},
"data-v-5cc01ba2"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/50.040217a861897aec0d65.js
0 → 100644
View file @
0573468a
webpackJsonp
([
50
],{
M7X6
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
s
=
a
(
"kmJW"
),
n
=
a
(
"+TkF"
),
i
=
a
(
"Ix4X"
);
function
o
(
e
,
t
,
a
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
a
,
e
}
var
l
=
{
name
:
"squadConversionList"
,
data
:
function
(){
var
e
,
t
=
this
;
return
o
(
e
=
{
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[]},
"total"
,
0
),
o
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
o
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"spanArr"
,[]),
o
(
e
,
"contentSpanArr"
,[]),
o
(
e
,
"searchFrom"
,{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
e
},
components
:{
page
:
s
.
a
},
methods
:{
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
i
.
c
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
r
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
n
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
r
.
_79
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
Object
(
r
.
_97
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
t
.
list
.
push
(
t
.
total_result
),
console
.
log
(
t
.
list
),
e
.
list
=
t
.
list
.
map
(
function
(
a
,
r
){
a
.
index
=
r
,
0
==
r
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
r
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
r
),
r
==
t
.
list
.
length
-
1
?
a
.
squad
=
"合计"
:
a
.
squad
=
"T"
+
a
.
squad
;
var
s
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
n
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
i
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
s
,
a
.
goods_name
=
""
+
n
+
a
.
goods_name
+
i
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"squad"
,
label
:
"组别"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_class_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
friend_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_class_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
come_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_class_num"
,
"render-header"
:
e
.
rendertip
,
label
:
"转化率"
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sum_buy_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_money"
,
width
:
"120"
,
label
:
"转化总额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"n8Qe"
)},
null
,
null
);
t
.
default
=
h
.
exports
},
n8Qe
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/51.dcb6169cd9135aef0bef.js
0 → 100644
View file @
0573468a
webpackJsonp
([
51
],{
EOXq
:
function
(
e
,
t
){},
"v/LD"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
i
=
{
name
:
"monthOrderCount"
,
data
:
function
(){
var
e
=
this
;
return
{
goodsList
:[],
headList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
,
a
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
tableData
:[],
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
n
=
t
+
"-"
+
a
+
"-01"
,
i
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
n
,
i
]},
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_60
)({
limit
:
99999
,
course_type
:
0
,
status
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
console
.
log
(
this
.
searchFrom
.
dateValue
),
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
()};
Object
(
r
.
_132
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
type
:
"daterange"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
e
){
a
(
"EOXq"
)},
"data-v-4efae2e6"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/52.f8dae6efa1ae6cd48da7.js
0 → 100644
View file @
0573468a
webpackJsonp
([
52
],{
NrkQ
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
(
a
(
"sf/l"
),
a
(
"CCn6"
)),
o
=
a
(
"+TkF"
),
i
=
{
name
:
"index"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
a
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
teacherId
:
null
,
secId
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
,
course_type
:
"-1"
},
tableData
:[],
commentForm
:{},
showCommentDialog
:
!
1
,
teacherList
:[],
goodList
:[]}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
o
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
created
:
function
(){
this
.
initPage
(),
this
.
getGoodsOption
(),
this
.
getTeacherList
()},
methods
:{
externalLaunchStatus
:
function
(
e
){
return
o
.
z
[
e
.
status
]},
formatTime
:
function
(
e
){
console
.
log
(
e
);
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
s
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
pullAll
:
function
(){
var
e
=
this
;
if
(
this
.
secId
.
length
<
1
)
return
this
.
$message
(
"请选择订单"
),
!
1
;
if
(
!
this
.
teacherId
)
return
this
.
$message
(
"请选择老师"
),
!
1
;
var
t
=
{
order_ids
:[]};
this
.
secId
.
forEach
(
function
(
e
){
t
.
order_ids
.
push
(
e
)}),
this
.
$confirm
(
"是否确定将这"
+
t
.
order_ids
.
length
+
"笔订单分配给该老师?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
v
)(
e
.
teacherId
,{
ids
:
t
.
order_ids
.
join
(
","
)}).
then
(
function
(
t
){
e
.
$message
({
message
:
"提交成功"
,
type
:
"success"
}),
e
.
initPage
()})}).
catch
(
function
(){})},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_108
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
handleSelectionChange
:
function
(
e
){
var
t
=
this
;
this
.
secId
=
[],
e
.
forEach
(
function
(
e
){
t
.
secId
.
push
(
e
.
id
)})},
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
t
.
course_type
=
this
.
searchFrom
.
course_type
),
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
t
.
goods_name
=
this
.
searchFrom
.
goods_name
),
-
1
!=
this
.
searchFrom
.
user_buy
&&
(
t
.
user_buy
=
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
order_id
&&
(
t
.
order_id
=
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
time
&&
2
==
this
.
searchFrom
.
time
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
time
[
0
],
t
.
end_at
=
this
.
searchFrom
.
time
[
1
]),
this
.
searchFrom
.
active_time
&&
2
==
this
.
searchFrom
.
active_time
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_time
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_time
[
1
]),
Object
(
s
.
_33
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
initPage
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
initPage
()},
doExport
:
function
(){
var
e
=
"?type=export"
;
this
.
searchFrom
.
source
&&
(
e
=
e
+
"&source="
+
this
.
searchFrom
.
source
),
this
.
searchFrom
.
mobile
&&
(
e
=
e
+
"&mobile="
+
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
e
=
e
+
"&status="
+
this
.
searchFrom
.
status
),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
e
=
e
+
"&course_type="
+
this
.
searchFrom
.
course_type
),
"-1"
!==
this
.
searchFrom
.
user_buy
&&
(
e
=
e
+
"&user_buy="
+
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
nickname
&&
(
e
=
e
+
"&nickname="
+
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
e
=
e
+
"&user_id="
+
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
teacher_id
&&
(
e
=
e
+
"&teacher_id="
+
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
e
=
e
+
"&goods_name="
+
this
.
searchFrom
.
goods_name
),
this
.
searchFrom
.
order_id
&&
(
e
=
e
+
"&order_id="
+
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
e
=
e
+
"&goods_id="
+
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
time
&&
2
==
this
.
searchFrom
.
time
.
length
&&
(
e
=
(
e
=
e
+
"&start_at="
+
this
.
searchFrom
.
time
[
0
])
+
"&end_at="
+
this
.
searchFrom
.
time
[
1
]),
this
.
searchFrom
.
active_time
&&
2
==
this
.
searchFrom
.
active_time
.
length
&&
(
e
=
(
e
=
e
+
"&active_start_at="
+
this
.
searchFrom
.
active_time
[
0
])
+
"&active_end_at="
+
this
.
searchFrom
.
active_time
[
1
]),
window
.
open
(
"/api/admin/ads/export/all"
+
e
)},
saveComment
:
function
(){
var
e
=
this
,
t
=
void
0
;
t
=
this
.
commentForm
.
id
?
this
.
commentForm
.
id
:
this
.
secId
.
join
(
","
);
var
a
=
this
.
commentForm
.
desc
?
this
.
commentForm
.
desc
:
""
;
a
&&
this
.
$confirm
(
"确认编辑备注"
,
"提示"
,{
confirmButtonText
:
"继续"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
_164
)({
ids
:
t
,
desc
:
a
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
showCommentDialog
=!
1
,
e
.
initPage
()})})},
editNote
:
function
(
e
,
t
){
this
.
showCommentDialog
=!
0
,
this
.
commentForm
=
{
id
:
e
,
desc
:
t
}},
editComment
:
function
(
e
,
t
){
this
.
secId
.
length
>
0
?
this
.
showCommentDialog
=!
0
:
this
.
$message
({
type
:
"warning"
,
message
:
"请选择"
})}}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"领取时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"激活时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
active_time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"active_time"
,
t
)},
expression
:
"searchFrom.active_time"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"是否激活"
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
,
size
:
"medium"
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
user_buy
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_buy"
,
t
)},
expression
:
"searchFrom.user_buy"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"已激活"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"未激活"
,
value
:
0
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"沟通状态"
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
,
size
:
"medium"
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"已激活"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"假号"
,
value
:
2
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"没兴趣"
,
value
:
3
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"待激活"
,
value
:
0
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
r
){
return
a
(
"el-option"
,{
key
:
r
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"180px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"未指定"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
e
.
$store
.
state
.
export
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_type"
,
t
)},
expression
:
"searchFrom.course_type"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
distribution
?
a
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
top
:
"10px"
,
right
:
"10px"
,
"font-size"
:
"14px"
}},[
e
.
_v
(
"
\n
老师:
\n
"
),
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
size
:
"small"
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
teacherId
,
callback
:
function
(
t
){
e
.
teacherId
=
t
},
expression
:
"teacherId"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
e
.
pullAll
}},[
e
.
_v
(
"批量分配"
)])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"领取人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
a
(
"div"
,[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
a
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝宝昵称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"telephone"
,
label
:
"领取电话"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
source
)
+
"("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"status"
,
formatter
:
e
.
externalLaunchStatus
,
label
:
"沟通状态"
,
width
:
"120"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"active_at"
,
label
:
"激活时间"
,
width
:
"90"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
"0000-00-00 00:00:00"
===
t
.
row
.
active_at
?
"未激活"
:
t
.
row
.
active_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"领取时间"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"180"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"编辑备注"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
showCommentDialog
,
"close-on-click-modal"
:
!
1
,
"close-on-press-escape"
:
!
1
,
"show-close"
:
!
1
,
width
:
"600px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showCommentDialog
=
t
}}},[
a
(
"div"
,[
a
(
"el-form"
,{
ref
:
"commentFrom"
,
attrs
:{
model
:
e
.
commentForm
}},[
a
(
"el-form-item"
,{
attrs
:{
prop
:
"desc"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
commentForm
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
commentForm
,
"desc"
,
t
)},
expression
:
"commentForm.desc"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
showCommentDialog
=!
1
,
e
.
commentForm
=
{}}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveComment
}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
e
){
a
(
"v23m"
)},
"data-v-496fcc98"
,
null
);
t
.
default
=
c
.
exports
},
v23m
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/53.d0d2c8c28cd2a77d5673.js
0 → 100644
View file @
0573468a
webpackJsonp
([
53
],{
"G/kT"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"kmJW"
),
o
=
a
(
"+TkF"
),
s
=
a
(
"Ix4X"
);
function
i
(
e
,
t
,
a
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
a
,
e
}
var
l
=
{
name
:
"channelGoodsConversionList"
,
data
:
function
(){
var
e
,
t
=
this
;
return
i
(
e
=
{
typeList
:[],
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
periodList
:[]},
"total"
,
0
),
i
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
i
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
i
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
i
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
i
(
e
,
"propertyList"
,[]),
i
(
e
,
"spanArr"
,[]),
i
(
e
,
"contentSpanArr"
,[]),
i
(
e
,
"searchFrom"
,{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
,
goods_id
:
""
}),
i
(
e
,
"propertyList"
,[]),
i
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
i
(
e
,
"goodList"
,[]),
e
},
filters
:{
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
o
.
g
[
e
.
goods_type
]
+
"]【"
+
e
.
current_price
/
100
+
"元】"
+
e
.
name
}},
components
:{
page
:
n
.
a
},
methods
:{
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
s
.
b
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
r
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
,
console
.
log
(
e
.
goodList
,
176
)}),
Object
(
r
.
_51
)({
page
:
1
,
limit
:
100
,
key
:
"code_rule_type"
}).
then
(
function
(
t
){
e
.
typeList
=
t
.
list
})},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
getPeriodsOtherListApi
({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
searchFrom
.
type_id
&&
(
t
.
type_id
=
this
.
searchFrom
.
type_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
Object
(
r
.
_44
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
r
){
a
.
index
=
r
,
0
==
r
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
r
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
r
);
var
n
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
o
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
s
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
n
,
a
.
goods_name
=
""
+
o
+
a
.
goods_name
+
s
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsOption
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
r
){
return
a
(
"el-option"
,{
key
:
r
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道类别"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type_id"
,
t
)},
expression
:
"searchFrom.type_id"
}},
e
.
_l
(
e
.
typeList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},[
a
(
"el-option"
,{
attrs
:{
value
:
""
,
label
:
"请选择"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"is_other"
,
label
:
"渠道来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
0
==
t
.
row
.
is_other
?
"内部"
:
"外部"
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type_name"
,
label
:
"渠道类别"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"渠道类型"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
,
width
:
"180"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_total_num"
,
label
:
"订单数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_num_except_total_num"
,
label
:
"到班率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
class_num_except_total_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_total_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
friend_num_except_total_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_total_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
come_num_except_total_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_total_num"
,
label
:
"转化率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sum_buy_num_except_total_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_money"
,
label
:
"转化总额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"aLWk"
)},
null
,
null
);
t
.
default
=
m
.
exports
},
aLWk
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/54.143247583b003c1402e5.js
0 → 100644
View file @
0573468a
webpackJsonp
([
54
],{
geSx
:
function
(
e
,
t
){},
lWjU
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
);
function
r
(
e
,
t
,
a
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
a
,
e
}
var
s
=
{
name
:
"index"
,
data
:
function
(){
var
e
,
t
=
this
;
return
r
(
e
=
{
list
:[],
dateList
:[],
propertyList
:[
"title"
,
"start_at"
,
"total_join_num"
,
"total_max_join_num"
,
"total_target_join_num"
,
"complete_rate"
,
"target_diff"
,
"wait_join_num"
,
"other_wait_join_num"
],
periodList
:[],
searchFrom
:{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
},
periods_id
:
""
},
"periodList"
,[]),
r
(
e
,
"total"
,
0
),
r
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
r
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
r
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
r
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
r
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
e
},
methods
:{
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
i
.
_79
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
})},
getList
:
function
(){
var
e
=
this
;
this
.
list
=
[],
this
.
dateList
=
[];
var
t
=
{};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
Object
(
i
.
_67
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
,
t
[
0
].
date
&&
t
[
0
].
date
.
forEach
(
function
(
t
){
e
.
dateList
.
push
(
t
.
cur_date
)})})},
tableRowClassName
:
function
(
e
){
e
.
row
;
return
0
===
e
.
rowIndex
?
"warning-row"
:
""
},
arraySpanMethod
:
function
(
e
){}},
created
:
function
(){
this
.
getList
(),
this
.
getPeriodsOtherList
()}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
staticClass
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#5f5f5f"
,
color
:
"#fff"
},
data
:
e
.
list
,
size
:
"mini"
,
height
:
"calc(100vh - 210px)"
,
"row-class-name"
:
e
.
tableRowClassName
,
"span-method"
:
e
.
arraySpanMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
align
:
"center"
,
"min-width"
:
"80"
,
fixed
:
""
,
label
:
"期数名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"is_other"
,
"min-width"
:
"160"
,
align
:
"left"
,
fixed
:
""
,
label
:
"渠道信息"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
来源:"
+
e
.
_s
(
0
==
t
.
row
.
is_other
?
"内部"
:
"外部"
)),
a
(
"br"
),
e
.
_v
(
"
\n
类别:"
+
e
.
_s
(
t
.
row
.
invite_type_name
)),
a
(
"br"
),
e
.
_v
(
"
\n
名称:"
+
e
.
_s
(
t
.
row
.
invite_name
)),
a
(
"br"
),
e
.
_v
(
"
\n
类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
dateList
,
function
(
t
,
i
){
return
a
(
"el-table-column"
,{
key
:
i
,
attrs
:{
align
:
"center"
,
label
:
t
}},[
a
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"60px"
,
prop
:
"wait_join_num"
,
label
:
"班级人数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
date
[
i
].
sum_class_num
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"60px"
,
label
:
"好友数"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
date
[
i
].
sum_friend_num
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"60px"
,
prop
:
"wait_join_num"
,
label
:
"好友率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
date
[
i
].
friend_num_except_class_num
)
+
"%"
)]}}])})],
1
)})],
2
)],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
a
(
"geSx"
)},
"data-v-423bf99e"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/55.532efd95fcf915f5f1a8.js
0 → 100644
View file @
0573468a
webpackJsonp
([
55
],{
iPJD
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
i
(
"CCn6"
),
l
=
{
name
:
"upload"
,
data
:
function
(){
return
{
fileList
:[]}},
methods
:{
uploadFileVideo1Banner
:
function
(
e
){
var
t
=
this
;
Object
(
n
.
_179
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
e
.
url
=
"https://cdn.singsingenglish.com/"
+
e
.
url
,
t
.
fileList
.
push
(
e
)})}}},
a
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,[
i
(
"el-upload"
,{
staticClass
:
"upload-demo"
,
attrs
:{
action
:
"/api/public/upload"
,
"http-request"
:
e
.
uploadFileVideo1Banner
,
"list-type"
:
"picture-card"
,
multiple
:
""
}}),
e
.
_v
(
" "
),
i
(
"pre"
,[
e
.
_v
(
" <p>
\n
"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
fileList
,
function
(
t
){
return
i
(
"pre"
,[
e
.
_v
(
' <img src="'
+
e
.
_s
(
t
.
url
)
+
'" style="display:block">
\
n '
)])}),
e
.
_v
(
" "
),
i
(
"pre"
,[
e
.
_v
(
" </p>
\n
"
)])],
2
)},
staticRenderFns
:[]};
var
r
=
i
(
"VU/8"
)(
l
,
a
,
!
1
,
function
(
e
){
i
(
"wi9J"
)},
"data-v-3a2ff3b1"
,
null
);
t
.
default
=
r
.
exports
},
wi9J
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/56.049f25a6658844ffb7bf.js
0 → 100644
View file @
0573468a
webpackJsonp
([
56
],{
AQKf
:
function
(
e
,
t
){},
TtuZ
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
r
=
a
(
"kmJW"
),
i
=
a
(
"+TkF"
),
n
=
a
(
"Ix4X"
);
function
o
(
e
,
t
,
a
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
a
,
e
}
var
l
=
{
name
:
"teacherPeriodsConversionList"
,
data
:
function
(){
var
e
,
t
=
this
;
return
o
(
e
=
{
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[]},
"total"
,
0
),
o
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
o
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"classToday"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
classTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"classYesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
o
(
e
,
"classLast30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"classLast7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"spanArr"
,[]),
o
(
e
,
"contentSpanArr"
,[]),
o
(
e
,
"searchFrom"
,{
classTime
:[],
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
e
},
components
:{
page
:
r
.
a
},
methods
:{
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
n
.
c
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_108
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
s
=
e
.
getDate
();
return
s
<
10
&&
(
s
=
"0"
+
s
),
t
+
"-"
+
a
+
"-"
+
s
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
s
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
i
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_79
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
this
.
searchFrom
.
classTime
&&
this
.
searchFrom
.
classTime
.
length
>
0
&&
(
console
.
log
(
this
.
searchFrom
.
classTime
),
this
.
searchFrom
.
classTime
[
0
]
&&
this
.
searchFrom
.
classTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
class_start_at
=
this
.
searchFrom
.
classTime
[
0
],
t
.
class_start_at
=
this
.
searchFrom
.
class_start_at
),
this
.
searchFrom
.
classTime
[
1
]
&&
this
.
searchFrom
.
classTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
class_end_at
=
this
.
searchFrom
.
classTime
[
1
],
t
.
class_end_at
=
this
.
searchFrom
.
class_end_at
)),
Object
(
s
.
_109
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
s
){
a
.
index
=
s
,
0
==
s
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
s
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
s
);
var
r
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
i
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
n
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
r
,
a
.
goods_name
=
""
+
i
+
a
.
goods_name
+
n
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getPeriodsOtherList
(),
this
.
getGoodsList
(),
this
.
getTeacherList
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"开结课日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
classToday
,
e
.
classYesterday
,
e
.
classLast7Day
,
e
.
classLast30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
classTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"classTime"
,
t
)},
expression
:
"searchFrom.classTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"组ID"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
changeTeacher
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
staticStyle
:{
"font-size"
:
"12px"
},
attrs
:{
prop
:
"duration_over_at"
,
label
:
"开课看课时间"
,
width
:
"200"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
开课日期:"
+
e
.
_s
(
t
.
row
.
start_at
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
结课日期:"
+
e
.
_s
(
t
.
row
.
over_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"老师名称"
,
width
:
"180"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_class_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
friend_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_class_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
come_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_class_num"
,
label
:
"转化率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sum_buy_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_money"
,
width
:
"120"
,
label
:
"转化总额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"AQKf"
)},
null
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/57.c99c2a2f0e5d1ab88d8e.js
0 → 100644
View file @
0573468a
webpackJsonp
([
57
],{
jxzv
:
function
(
e
,
t
){},
"s7i+"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
s
=
a
(
"+TkF"
),
n
=
{
name
:
"index"
,
data
:
function
(){
return
{
goodsList
:[],
headList
:[],
tableData
:[],
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
s
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_60
)({
limit
:
99999
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
()};
Object
(
r
.
_132
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
s
=
t
+
"-"
+
a
+
"-01"
,
n
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
s
,
n
]}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
type
:
"daterange"
,
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
searchFrom
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"searchFrom"
,
t
)},
expression
:
"searchFrom.searchFrom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
e
){
a
(
"jxzv"
)},
"data-v-2b84d96c"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/58.74343ed15c0a649902ad.js
0 → 100644
View file @
0573468a
webpackJsonp
([
58
],{
TPCG
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
i
(
"CCn6"
),
s
=
i
(
"+TkF"
),
n
=
{
name
:
"entrance"
,
props
:[
"entranceObj"
],
data
:
function
(){
return
{
yunjiDialog
:
!
1
,
yunjigoods
:
""
,
dialogTitle
:
""
,
formData
:{
type
:
""
,
name
:
""
},
starListV2
:[],
sourceStudentDialog
:
!
1
,
noticeDialog
:
!
1
,
periodDialog
:
!
1
,
activeName
:
"1"
,
form
:{
msg
:
""
},
form2
:{
msg
:
""
},
form3
:{
msg
:
""
},
form4
:{
msg
:
""
},
form5
:{
msg
:
""
},
form6
:{
msg
:
""
},
form7
:{
msg
:[]},
form8
:{
msg
:
""
},
thisList
:{},
thisList2
:{},
thisList3
:{},
thisList4
:{},
thisList5
:{},
thisList6
:{},
thisList7
:{},
thisList8
:{},
periodList
:[],
activeNames
:[
1
],
selectedGoods
:[],
secGoods
:[],
periodsId
:
""
,
periodsType
:
""
,
yunjiList
:[],
starList
:[],
starV2List
:[],
sourceStudentList
:[]}},
mounted
:
function
(){
this
.
second
()},
filters
:{},
methods
:{
initSource
:
function
(
t
){
console
.
log
(
t
),
this
.
formData
=
t
,
this
.
sourceStudentDialog
=!
0
,
this
.
dialogTitle
=
"招生来源编辑"
},
addSource
:
function
(){
this
.
formData
=
{
type
:
""
,
name
:
""
},
this
.
sourceStudentDialog
=!
0
,
this
.
dialogTitle
=
"招生来源新增"
},
editSourceStudent
:
function
(){
var
t
=
this
,
e
=
{
type
:
this
.
formData
.
type
,
source_name
:
this
.
formData
.
name
};
"招生来源编辑"
==
this
.
dialogTitle
?
Object
(
o
.
_143
)(
this
.
formData
.
type
,
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
Object
(
o
.
_96
)().
then
(
function
(
e
){
t
.
sourceStudentList
=
e
,
t
.
sourceStudentDialog
=!
1
})}):
Object
(
o
.
_141
)(
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
Object
(
o
.
_96
)().
then
(
function
(
e
){
t
.
sourceStudentList
=
e
,
t
.
sourceStudentDialog
=!
1
})})},
delSourceStudent
:
function
(
t
){
var
e
=
this
;
this
.
$confirm
(
"确认删除?"
).
then
(
function
(
i
){
Object
(
o
.
U
)(
t
.
type
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"删除成功"
}),
Object
(
o
.
_96
)().
then
(
function
(
t
){
e
.
sourceStudentList
=
t
})})}).
catch
(
function
(
t
){})},
delYunjiListFn
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
$confirm
(
"确认删除?"
).
then
(
function
(
i
){
Object
(
o
.
Y
)(
t
.
id
).
then
(
function
(
t
){
Object
(
o
.
_123
)().
then
(
function
(
t
){
e
.
yunjiList
=
t
,
e
.
$message
({
type
:
"success"
,
message
:
"删除成功"
})})})}).
catch
(
function
(
t
){})},
delStarListFn
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
$confirm
(
"确认删除?"
).
then
(
function
(
i
){
Object
(
o
.
V
)(
t
.
id
).
then
(
function
(
t
){
Object
(
o
.
_98
)().
then
(
function
(
t
){
e
.
starList
=
t
,
e
.
$message
({
type
:
"success"
,
message
:
"删除成功"
})})})}).
catch
(
function
(
t
){})},
delStarV2ListFn
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
$confirm
(
"确认删除?"
).
then
(
function
(
i
){
Object
(
o
.
W
)(
t
.
id
).
then
(
function
(
t
){
Object
(
o
.
_99
)().
then
(
function
(
t
){
e
.
starV2List
=
t
,
e
.
$message
({
type
:
"success"
,
message
:
"删除成功"
})})})}).
catch
(
function
(
t
){})},
setYunjiFn
:
function
(){
var
t
=
this
;
Object
(
o
.
u
)(
this
.
yunjigoods
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"数据插入成功"
}),
t
.
yunjiDialog
=!
1
,
Object
(
o
.
_123
)().
then
(
function
(
e
){
t
.
yunjiList
=
e
})})},
addPeriod
:
function
(){
var
t
=
this
;
console
.
log
(
this
.
periods
),
0
==
this
.
periodsType
||
(
1
==
this
.
periodsType
?
Object
(
o
.
q
)(
this
.
secGoods
[
1
]).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"数据插入成功"
}),
t
.
periodDialog
=!
1
,
Object
(
o
.
_98
)().
then
(
function
(
e
){
t
.
starList
=
e
})}):
Object
(
o
.
r
)(
this
.
secGoods
[
1
]).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"数据插入成功"
}),
t
.
periodDialog
=!
1
,
Object
(
o
.
_99
)().
then
(
function
(
e
){
t
.
starV2List
=
e
})}))},
handleItemChange
:
function
(
t
){
var
e
=
this
;
Object
(
o
.
_76
)({
goods_id
:
t
[
0
],
limit
:
100
,
page
:
1
}).
then
(
function
(
i
){
i
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
e
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
[
0
]}).
children
=
i
.
list
})},
onSend
:
function
(){
var
t
=
this
;
Object
(
o
.
_135
)(
this
.
secGoods
[
1
]).
then
(
function
(
e
){
t
.
noticeDialog
=!
1
,
t
.
$message
({
type
:
"success"
,
message
:
"发送成功"
+
e
.
num
+
"个"
})})},
periodDialogFn
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
periodsType
=
t
,
this
.
periodDialog
=!
0
;
Object
(
o
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
t
.
id
+
"]["
+
s
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
e
.
periodList
=
t
.
list
,
e
.
initQuery
()})},
stareriodDialogFn
:
function
(){
var
t
=
this
;
this
.
periodDialog
=!
0
;
Object
(
o
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
t
.
id
+
"]["
+
s
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
t
.
periodList
=
e
.
list
,
t
.
initQuery
()})},
noticeDialogFn
:
function
(){
var
t
=
this
;
this
.
noticeDialog
=!
0
;
Object
(
o
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
t
.
id
+
"]["
+
s
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
t
.
periodList
=
e
.
list
,
t
.
initQuery
()})},
initQuery
:
function
(){
var
t
=
this
,
e
=
this
.
$route
.
query
;
e
&&
e
.
goods_id
&&
e
.
periods_id
?(
this
.
goods_id
=
e
.
goods_id
,
this
.
selectedGoods
=
[
parseInt
(
e
.
goods_id
),
parseInt
(
e
.
periods_id
)],
Object
(
o
.
_76
)({
goods_id
:
this
.
selectedGoods
[
0
]}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]}).
children
=
e
.
list
;
var
i
=
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]});
t
.
periods
=
i
.
children
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
1
]}),
t
.
teacher_id
=
""
})):
Object
(
o
.
_53
)().
then
(
function
(
e
){
e
&&
(
t
.
goods_id
=
e
.
goods_id
,
t
.
selectedGoods
=
[
parseInt
(
e
.
goods_id
),
parseInt
(
e
.
id
)],
Object
(
o
.
_76
)({
goods_id
:
t
.
selectedGoods
[
0
]}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]}).
children
=
e
.
list
,
console
.
log
(
e
.
list
),
console
.
log
(
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]}).
children
);
var
i
=
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]});
t
.
periods
=
i
.
children
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
1
]}),
t
.
teacher_id
=
""
,
console
.
log
(
t
.
periodList
)}))})},
getClassList
:
function
(){
var
t
=
this
;
if
(
this
.
periods
){
this
.
getTeacher
();
var
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
teacher_id
&&
(
e
.
teacher_id
=
this
.
teacher_id
),
Object
(
o
.
_47
)(
this
.
periods
.
id
,
e
).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
arrive_course_rate
=
0
,
t
.
watch_course_rate
=
0
,
t
.
over_course_rate
=
0
,
t
.
work_rate
=
0
,
t
.
over_work_rate
=
0
,
t
.
clock_rate
=
0
,
t
.
over_clock_rate
=
0
,
t
.
transform_rate
=
0
}),
t
.
title
=
e
.
periods
,
t
.
title
.
count_join_num
=
e
.
count
.
count_join_num
?
e
.
count
.
count_join_num
:
"暂无"
,
t
.
title
.
count_max_join_num
=
e
.
count
.
count_max_join_num
?
e
.
count
.
count_max_join_num
:
"暂无"
,
t
.
title
.
count_teacher_num
=
e
.
count
.
count_teacher_num
?
e
.
count
.
count_teacher_num
:
"暂无"
,
t
.
countObj
=
e
.
count
?
e
.
count
:
""
,
t
.
classList
=
e
.
list
,
t
.
total
=
e
.
total
})}},
handleChange
:
function
(
t
){
var
e
=
this
;
"1"
===
t
?
this
.
first
():
"4"
===
t
?
this
.
four
():
"5"
===
t
?
this
.
five
():
"7"
===
t
?
this
.
seven
():
"8"
===
t
?
this
.
eight
():
"9"
===
t
?
Object
(
o
.
_123
)().
then
(
function
(
t
){
e
.
yunjiList
=
t
}):
"10"
===
t
?
Object
(
o
.
_98
)().
then
(
function
(
t
){
e
.
starList
=
t
}):
"11"
===
t
?
Object
(
o
.
_99
)().
then
(
function
(
t
){
e
.
starV2List
=
t
}):
"12"
===
t
&&
Object
(
o
.
_96
)().
then
(
function
(
t
){
e
.
sourceStudentList
=
t
})},
first
:
function
(){
var
t
=
this
;
Object
(
o
.
_51
)({
key
:
"new_user_redirect"
}).
then
(
function
(
e
){
console
.
log
(
e
);
var
i
=
e
.
list
[
0
];
t
.
form
.
msg
=
i
.
desc
,
t
.
thisList
=
i
})},
second
:
function
(){
var
t
=
this
;
Object
(
o
.
_60
)({
limit
:
100
}).
then
(
function
(
e
){
t
.
goodsList
=
e
.
list
,
Object
(
o
.
_51
)({
key
:
"share_goods_id"
}).
then
(
function
(
e
){
console
.
log
(
e
);
var
i
=
e
.
list
[
0
];
t
.
form2
.
msg
=
i
.
value
,
t
.
thisList2
=
i
}),
Object
(
o
.
_51
)({
key
:
"mp_ads_goods_id"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form3
.
msg
=
i
.
desc
,
t
.
thisList3
=
i
}}),
Object
(
o
.
_51
)({
key
:
"no_course_goods_id"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form6
.
msg
=
i
.
value
,
t
.
thisList6
=
i
}})})},
four
:
function
(){
var
t
=
this
;
Object
(
o
.
_51
)({
key
:
"success_group_before_hour"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form4
.
msg
=
i
.
desc
,
t
.
thisList4
=
i
}})},
five
:
function
(){
var
t
=
this
;
Object
(
o
.
_51
)({
key
:
"urge_group_share_hour"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form5
.
msg
=
i
.
desc
,
t
.
thisList5
=
i
}})},
seven
:
function
(){
var
t
=
this
;
Object
(
o
.
_51
)({
key
:
"automation_goods_ids"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form7
.
msg
=
i
.
value
.
split
(
","
),
t
.
thisList7
=
i
}})},
eight
:
function
(){
var
t
=
this
;
Object
(
o
.
_51
)({
key
:
"automation_conversion_goods_id"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form8
.
msg
=
i
.
value
,
t
.
thisList8
=
i
}})},
submitForm
:
function
(
t
){
var
e
=
this
;
this
.
$refs
[
t
].
validate
(
function
(
i
){
if
(
!
i
)
return
console
.
log
(
"error submit!!"
),
!
1
;
"form"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList
.
key
,
value
:
e
.
thisList
.
value
,
desc
:
e
.
form
.
msg
},
i
=
e
.
thisList
.
id
;
console
.
log
(
i
,
t
),
Object
(
o
.
_166
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form2"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList2
.
key
,
value
:
e
.
form2
.
msg
,
desc
:
e
.
thisList2
.
desc
},
i
=
e
.
thisList2
.
id
;
Object
(
o
.
_166
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form3"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList3
.
key
,
value
:
e
.
thisList3
.
value
,
desc
:
e
.
form3
.
msg
},
i
=
e
.
thisList3
.
id
;
Object
(
o
.
_166
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form4"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList4
.
key
,
value
:
e
.
thisList4
.
value
,
desc
:
e
.
form4
.
msg
},
i
=
e
.
thisList4
.
id
;
Object
(
o
.
_166
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form5"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList5
.
key
,
value
:
e
.
thisList5
.
value
,
desc
:
e
.
form5
.
msg
},
i
=
e
.
thisList5
.
id
;
Object
(
o
.
_166
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form6"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList6
.
key
,
value
:
e
.
form6
.
msg
,
desc
:
e
.
thisList6
.
desc
},
i
=
e
.
thisList6
.
id
;
Object
(
o
.
_166
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form7"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList7
.
key
,
value
:
e
.
form7
.
msg
.
join
(
","
),
desc
:
e
.
thisList7
.
desc
},
i
=
e
.
thisList7
.
id
;
Object
(
o
.
_166
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form8"
==
t
&&
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList8
.
key
,
value
:
e
.
form8
.
msg
,
desc
:
e
.
thisList8
.
desc
},
i
=
e
.
thisList8
.
id
;
Object
(
o
.
_166
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})})})}}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"box"
},[
i
(
"div"
,{
staticClass
:
"container"
},[
i
(
"div"
,{
staticClass
:
"item left"
},[
i
(
"div"
,{
staticStyle
:{
"margin-top"
:
"30px"
}},[
t
.
_v
(
"
\n
系统配置
\n
"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
"margin-top"
:
"30px"
}}),
t
.
_v
(
" "
),
i
(
"el-collapse"
,{
attrs
:{
accordion
:
""
},
on
:{
change
:
t
.
handleChange
},
model
:{
value
:
t
.
activeNames
,
callback
:
function
(
e
){
t
.
activeNames
=
e
},
expression
:
"activeNames"
}},[
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"设置无课用户点我要上课跳转地址"
,
name
:
"1"
}},[
i
(
"el-form"
,{
ref
:
"form"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
autocomplete
:
"off"
},
model
:{
value
:
t
.
form
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"msg"
,
t
.
_n
(
e
))},
expression
:
"form.msg"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"打卡商品"
,
name
:
"2"
}},[
i
(
"el-form"
,{
ref
:
"form2"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form2
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form2
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form2
,
"msg"
,
e
)},
expression
:
"form2.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
center
:
""
}},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form2"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"外部投放商品"
,
name
:
"3"
}},[
i
(
"el-form"
,{
ref
:
"form3"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form3
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form3
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form3
,
"msg"
,
e
)},
expression
:
"form3.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form3"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"默认成团时间(失效前几小时)"
,
name
:
"4"
}},[
i
(
"el-form"
,{
ref
:
"form4"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form4
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
autocomplete
:
"off"
},
model
:{
value
:
t
.
form4
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form4
,
"msg"
,
t
.
_n
(
e
))},
expression
:
"form4.msg"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form4"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"未成团催团通知时间(失效前几小时)"
,
name
:
"5"
}},[
i
(
"el-form"
,{
ref
:
"form5"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form5
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
autocomplete
:
"off"
},
model
:{
value
:
t
.
form5
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form5
,
"msg"
,
t
.
_n
(
e
))},
expression
:
"form5.msg"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form5"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"无课用户推荐商品"
,
name
:
"6"
}},[
i
(
"el-form"
,{
ref
:
"form6"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form6
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form6
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form6
,
"msg"
,
e
)},
expression
:
"form6.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form6"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"自动化推荐体验商品"
,
name
:
"7"
}},[
i
(
"el-form"
,{
ref
:
"form7"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form7
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form7
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form7
,
"msg"
,
e
)},
expression
:
"form7.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form7"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"自动化推荐转化商品ID"
,
name
:
"8"
}},[
i
(
"el-form"
,{
ref
:
"form8"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form8
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form8
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form8
,
"msg"
,
e
)},
expression
:
"form8.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form8"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"首页免费课程商品配置"
,
name
:
"9"
}},[
i
(
"div"
,[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
yunjiDialog
=!
0
}}},[
t
.
_v
(
"
\n
添加商品
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
yunjiList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"id"
,
width
:
"90"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"标题"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
delYunjiListFn
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)])]}}])})],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"全勤活动星星期数(赠绘本)"
,
name
:
"10"
}},[
i
(
"div"
,[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
periodDialogFn
(
1
)}}},[
t
.
_v
(
"
\n
添加期数
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
starList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"id"
,
width
:
"100"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"标题"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
delStarListFn
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)])]}}])})],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"全勤活动星星期数(返奖学金)"
,
name
:
"11"
}},[
i
(
"div"
,[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
periodDialogFn
(
2
)}}},[
t
.
_v
(
"
\n
添加期数
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
starV2List
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"id"
,
width
:
"100"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"标题"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
delStarV2ListFn
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)])]}}])})],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"招生来源列表"
,
name
:
"12"
}},[
i
(
"div"
,[
i
(
"el-button"
,{
on
:{
click
:
t
.
addSource
}},[
t
.
_v
(
"
\n
添加列表
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
sourceStudentList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"来源名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"type"
,
label
:
"type"
,
width
:
"90"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
delSourceStudent
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
""
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
initSource
(
e
.
row
)}}},[
t
.
_v
(
"
\n
编辑
\n
"
)])]}}])})],
1
)],
1
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"发生活动通知(限活动期数发送)"
,
visible
:
t
.
noticeDialog
},
on
:{
"update:visible"
:
function
(
e
){
t
.
noticeDialog
=
e
}}},[
i
(
"el-cascader"
,{
attrs
:{
options
:
t
.
periodList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
t
.
handleItemChange
},
model
:{
value
:
t
.
secGoods
,
callback
:
function
(
e
){
t
.
secGoods
=
e
},
expression
:
"secGoods"
}}),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
noticeDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSend
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"添加期数"
,
visible
:
t
.
periodDialog
},
on
:{
"update:visible"
:
function
(
e
){
t
.
periodDialog
=
e
}}},[
i
(
"el-cascader"
,{
attrs
:{
options
:
t
.
periodList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
t
.
handleItemChange
},
model
:{
value
:
t
.
secGoods
,
callback
:
function
(
e
){
t
.
secGoods
=
e
},
expression
:
"secGoods"
}}),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
periodDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
addPeriod
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialogTitle
,
visible
:
t
.
sourceStudentDialog
},
on
:{
"update:visible"
:
function
(
e
){
t
.
sourceStudentDialog
=
e
}}},[
i
(
"el-form"
,{
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"100px"
,
inline
:
""
}},[
i
(
"el-form-item"
,{
staticStyle
:{
"margin-left"
:
"10px"
},
attrs
:{
label
:
"来源名称"
}},[
i
(
"el-input"
,{
model
:{
value
:
t
.
formData
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"name"
,
e
)},
expression
:
"formData.name"
}})],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
sourceStudentDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
editSourceStudent
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialogTitle
,
visible
:
t
.
yunjiDialog
},
on
:{
"update:visible"
:
function
(
e
){
t
.
yunjiDialog
=
e
}}},[
i
(
"el-form"
,{
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
yunjigoods
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
yunjigoods
,
callback
:
function
(
e
){
t
.
yunjigoods
=
e
},
expression
:
"yunjigoods"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
yunjiDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
setYunjiFn
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
a
=
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
i
(
"ZkKo"
)},
"data-v-266cb59b"
,
null
);
e
.
default
=
a
.
exports
},
ZkKo
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/60.db82d558d1ab18cb61f6.js
0 → 100644
View file @
0573468a
webpackJsonp
([
60
],{
"1Mg7"
:
function
(
e
,
t
){},
hLMI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
a
(
"sf/l"
),
i
=
a
(
"CCn6"
),
o
=
{
name
:
"index"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
return
{
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
},
tableData
:[]}},
created
:
function
(){
this
.
initPage
()},
methods
:{
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
time
&&
(
t
.
time
=
this
.
searchFrom
.
time
),
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
t
.
date_start
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
),
t
.
date_end
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
Object
(
i
.
_34
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
initPage
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
initPage
()},
doExport
:
function
(){
var
e
=
"?type=export"
;
this
.
searchFrom
.
source
&&
(
e
=
e
+
"&source="
+
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
e
=
(
e
=
e
+
"&date_start="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
))
+
"&date_end="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
window
.
open
(
"/api/public/ads/export/all"
+
e
)}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
lg
:
10
,
sm
:
24
,
md
:
24
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
,
size
:
"small"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝贝名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"添加时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"1Mg7"
)},
"data-v-258bae78"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/61.f370bf9f2106ab67ce77.js
0 → 100644
View file @
0573468a
webpackJsonp
([
61
],{
D6So
:
function
(
t
,
e
){},
Dq6T
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
l
=
a
(
"CCn6"
),
s
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
watchTime
:[]},
dialogLoading
:
!
1
,
dialogVisible
:
!
1
,
tableData
:[],
dialog
:{
list
:[],
total
:
0
,
register
:
0
,
coursesList
:[],
course
:
0
,
time
:
""
,
name
:
""
,
codeList
:[],
inNum
:
0
},
tableHead
:{}}},
methods
:{
defaultTime
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getFullYear
(),
a
=
t
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
l
=
t
.
getDate
();
l
<
10
&&
(
l
=
"0"
+
l
);
var
s
=
e
+
"-"
+
a
+
"-01"
,
i
=
e
+
"-"
+
a
+
"-"
+
l
;
this
.
searchFrom
.
watchTime
=
[
s
,
i
]},
toDetail
:
function
(
t
,
e
,
a
){
var
s
=
this
;
this
.
dialogLoading
=!
0
,
this
.
dialogVisible
=!
0
;
var
i
=
{
cur_date
:
t
,
code
:
e
};
Object
(
l
.
_100
)(
i
).
then
(
function
(
l
){
s
.
dialog
.
name
=
s
.
tableHead
[
e
],
s
.
dialog
.
time
=
t
,
s
.
dialog
.
inNum
=
l
.
total
,
s
.
dialog
.
list
=
l
.
list
,
s
.
dialog
.
register
=
l
.
register
,
s
.
dialog
.
course
=
l
.
course
,
s
.
dialog
.
code
=
l
.
source
,
s
.
dialog
.
total
=
a
,
s
.
dialog
.
coursesList
=
l
.
courses
,
s
.
dialogLoading
=!
1
})},
getList
:
function
(){
var
t
=
this
,
e
=
{};
this
.
searchFrom
.
watchTime
&&
this
.
searchFrom
.
watchTime
.
length
>
0
&&
(
e
.
start_at
=
this
.
searchFrom
.
watchTime
[
0
],
e
.
end_at
=
this
.
searchFrom
.
watchTime
[
1
]),
Object
(
l
.
_118
)(
e
).
then
(
function
(
e
){
t
.
tableHead
=
e
[
0
],
t
.
tableData
=
e
.
slice
(
1
)})}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
getList
()}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"value-format"
:
"yyyy-MM-dd"
,
"end-placeholder"
:
"结束日期"
},
model
:{
value
:
t
.
searchFrom
.
watchTime
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"watchTime"
,
e
)},
expression
:
"searchFrom.watchTime"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
6
,
offset
:
6
}},[
a
(
"el-form-item"
,{
staticStyle
:{
float
:
"right"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
getList
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
border
:
""
}},
t
.
_l
(
t
.
tableHead
,
function
(
e
,
l
){
return
a
(
"el-table-column"
,{
key
:
e
,
attrs
:{
label
:
e
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
"cur_date"
!==
l
?
a
(
"div"
,{
staticClass
:
"link"
,
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
row
.
cur_date
,
l
,
e
.
row
[
l
])}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
[
l
])
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
"cur_date"
===
l
?
a
(
"span"
,[
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
[
l
]))]):
t
.
_e
()]}}])})})),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"详情"
,
visible
:
t
.
dialogVisible
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisible
=
e
}}},[
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
dialogLoading
,
expression
:
"dialogLoading"
}]},[
a
(
"el-row"
,{
staticClass
:
"dialog-tips"
},[
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
时间:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
a
(
"div"
,{
attrs
:{
title
:
t
.
dialog
.
time
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
time
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
状态:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
a
(
"div"
,{
attrs
:{
title
:
t
.
dialog
.
name
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
name
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
总数:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
a
(
"div"
,{
attrs
:{
title
:
t
.
dialog
.
total
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
total
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
进系统人数:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
a
(
"div"
,{
attrs
:{
title
:
t
.
dialog
.
inNum
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
inNum
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
注册数:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
a
(
"div"
,{
attrs
:{
title
:
t
.
dialog
.
register
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
register
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
有课人数:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
a
(
"div"
,{
attrs
:{
title
:
t
.
dialog
.
course
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
course
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dialog
.
code
,
function
(
e
,
l
){
return
a
(
"div"
,{
key
:
e
.
source_name
},[
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
a
(
"div"
,{
attrs
:{
title
:
e
.
source_name
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
source_name
)
+
":
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
source_num
)
+
"
\n
"
)])],
1
)}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dialog
.
coursesList
,
function
(
e
,
l
){
return
a
(
"div"
,{
key
:
e
.
courses_name
},[
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
a
(
"div"
,{
attrs
:{
title
:
e
.
courses_name
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
courses_name
)
+
":
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
courses_num
)
+
"
\n
"
)])],
1
)})],
2
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
dialog
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"昵称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_id"
,
label
:
"老系统用户ID"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"课程名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"instructor"
,
label
:
"开课日期"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source_title"
,
label
:
"来源名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"注册时间"
}})],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
t
){
a
(
"D6So"
)},
"data-v-1af5a426"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/62.eb62c10416d15e49229a.js
0 → 100644
View file @
0573468a
webpackJsonp
([
62
],{
"5t3x"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
s
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
watchTime
:[]},
tableData
:[],
tableHead
:[]}},
methods
:{
defaultTime
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getFullYear
(),
a
=
t
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
t
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
s
=
e
+
"-"
+
a
+
"-01"
,
l
=
e
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
watchTime
=
[
s
,
l
]},
getList
:
function
(){
var
t
=
this
,
e
=
{};
this
.
searchFrom
.
watchTime
&&
this
.
searchFrom
.
watchTime
.
length
>
0
&&
(
e
.
start_at
=
this
.
searchFrom
.
watchTime
[
0
],
e
.
end_at
=
this
.
searchFrom
.
watchTime
[
1
]),
Object
(
r
.
_121
)(
e
).
then
(
function
(
e
){
t
.
tableHead
=
e
[
0
],
t
.
tableData
=
e
.
slice
(
1
)})}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
getList
()}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"value-format"
:
"yyyy-MM-dd"
,
"end-placeholder"
:
"结束日期"
},
model
:{
value
:
t
.
searchFrom
.
watchTime
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"watchTime"
,
e
)},
expression
:
"searchFrom.watchTime"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
6
,
offset
:
6
}},[
a
(
"el-form-item"
,{
staticStyle
:{
float
:
"right"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
getList
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
border
:
""
}},
t
.
_l
(
t
.
tableHead
,
function
(
e
,
r
){
return
a
(
"el-table-column"
,{
key
:
e
,
attrs
:{
label
:
e
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
domProps
:{
innerHTML
:
t
.
_s
(
e
.
row
[
r
])}})]}}])})}))],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
t
){
a
(
"rRcd"
)},
"data-v-162158ea"
,
null
);
e
.
default
=
n
.
exports
},
rRcd
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/63.29e73ed2ce65fe21ef18.js
0 → 100644
View file @
0573468a
webpackJsonp
([
63
],{
"+Xua"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
r
=
a
(
"kmJW"
),
i
=
a
(
"+TkF"
),
n
=
a
(
"Ix4X"
);
function
o
(
e
,
t
,
a
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
a
,
e
}
var
l
=
{
name
:
"periodsConversionList"
,
data
:
function
(){
var
e
,
t
=
this
;
return
o
(
e
=
{
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[]},
"total"
,
0
),
o
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
o
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
))}}),
o
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"classToday"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
classTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"classYesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
o
(
e
,
"classLast30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"classLast7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"spanArr"
,[]),
o
(
e
,
"contentSpanArr"
,[]),
o
(
e
,
"searchFrom"
,{
payTime
:[],
classTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
e
},
components
:{
page
:
r
.
a
},
methods
:{
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
n
.
c
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_108
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
s
=
e
.
getDate
();
return
s
<
10
&&
(
s
=
"0"
+
s
),
t
+
"-"
+
a
+
"-"
+
s
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
s
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
i
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_79
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
,
console
.
log
(
320
)})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
this
.
searchFrom
.
classTime
&&
this
.
searchFrom
.
classTime
.
length
>
0
&&
(
console
.
log
(
this
.
searchFrom
.
classTime
),
this
.
searchFrom
.
classTime
[
0
]
&&
this
.
searchFrom
.
classTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
class_start_at
=
this
.
searchFrom
.
classTime
[
0
],
t
.
class_start_at
=
this
.
searchFrom
.
class_start_at
),
this
.
searchFrom
.
classTime
[
1
]
&&
this
.
searchFrom
.
classTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
class_end_at
=
this
.
searchFrom
.
classTime
[
1
],
t
.
class_end_at
=
this
.
searchFrom
.
class_end_at
)),
Object
(
s
.
_78
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
s
){
a
.
index
=
s
,
0
==
s
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
s
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
s
);
var
r
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
i
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
n
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
r
,
a
.
goods_name
=
""
+
i
+
a
.
goods_name
+
n
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
(),
this
.
getTeacherList
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"开结课日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
classToday
,
e
.
classYesterday
,
e
.
classLast7Day
,
e
.
classLast30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
classTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"classTime"
,
t
)},
expression
:
"searchFrom.classTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"组ID"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
changeTeacher
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
staticStyle
:{
"font-size"
:
"12px"
},
attrs
:{
prop
:
"duration_over_at"
,
label
:
"开课看课时间"
,
width
:
"200"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
开课日期:"
+
e
.
_s
(
t
.
row
.
start_at
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
结课日期:"
+
e
.
_s
(
t
.
row
.
over_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_class_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
friend_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_class_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
come_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_class_num"
,
label
:
"转化率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sum_buy_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_money"
,
width
:
"120"
,
label
:
"转化总额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"Z4/G"
)},
null
,
null
);
t
.
default
=
m
.
exports
},
"Z4/G"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/64.0c3aec5434272119f040.js
0 → 100644
View file @
0573468a
webpackJsonp
([
64
],{
OQC9
:
function
(
e
,
t
){},
XXYb
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
i
=
a
(
"kmJW"
),
r
=
a
(
"+TkF"
);
function
n
(
e
,
t
,
a
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
a
,
e
}
var
o
=
{
name
:
"channelTransList"
,
data
:
function
(){
var
e
,
t
=
this
;
return
n
(
e
=
{
typeList
:[],
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[]},
"total"
,
0
),
n
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
n
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"classToday"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
classTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"classYesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
n
(
e
,
"classLast30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"classLast7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"propertyList"
,[]),
n
(
e
,
"spanArr"
,[]),
n
(
e
,
"contentSpanArr"
,[]),
n
(
e
,
"searchFrom"
,{
payTime
:[],
classTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
}),
n
(
e
,
"propertyList"
,[]),
n
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
e
},
components
:{
page
:
i
.
a
},
methods
:{
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
exportDataTable
:
function
(){
var
e
=
{};
this
.
searchFrom
.
sort_value
&&
(
e
.
sort_value
=
this
.
searchFrom
.
sort_value
,
e
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
start_at
.
length
>
0
&&
this
.
searchFrom
.
end_at
.
length
>
0
&&
(
e
.
start_at
=
this
.
searchFrom
.
start_at
,
e
.
end_at
=
this
.
searchFrom
.
end_at
),
this
.
searchFrom
.
teacher_id
&&
(
e
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
type_id
&&
(
e
.
type_id
=
this
.
searchFrom
.
type_id
),
this
.
searchFrom
.
invite_type
.
length
>
0
&&
(
e
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
periods_id
&&
(
e
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
squad
&&
(
e
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
e
.
watch_num
=
this
.
searchFrom
.
watch_num
),
Object
(
s
.
_27
)(
"/api/admin/channel/class/list/export"
,
e
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
Object
(
s
.
_76
)({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
s
=
e
.
getDate
();
return
s
<
10
&&
(
s
=
"0"
+
s
),
t
+
"-"
+
a
+
"-"
+
s
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_108
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
}),
Object
(
s
.
_51
)({
page
:
1
,
limit
:
100
,
key
:
"code_rule_type"
}).
then
(
function
(
t
){
e
.
typeList
=
t
.
list
})},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
s
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
r
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_79
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
type_id
&&
(
t
.
type_id
=
this
.
searchFrom
.
type_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
this
.
searchFrom
.
classTime
&&
this
.
searchFrom
.
classTime
.
length
>
0
&&
(
console
.
log
(
this
.
searchFrom
.
classTime
),
this
.
searchFrom
.
classTime
[
0
]
&&
this
.
searchFrom
.
classTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
class_start_at
=
this
.
searchFrom
.
classTime
[
0
],
t
.
class_start_at
=
this
.
searchFrom
.
class_start_at
),
this
.
searchFrom
.
classTime
[
1
]
&&
this
.
searchFrom
.
classTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
class_end_at
=
this
.
searchFrom
.
classTime
[
1
],
t
.
class_end_at
=
this
.
searchFrom
.
class_end_at
)),
Object
(
s
.
_124
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
s
){
a
.
index
=
s
,
0
==
s
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
s
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
s
),
a
.
squad
=
"T"
+
a
.
squad
;
var
i
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
r
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
n
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
i
,
a
.
goods_name
=
""
+
r
+
a
.
goods_name
+
n
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getTeacherList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
()}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"开结课日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
classToday
,
e
.
classYesterday
,
e
.
classLast7Day
,
e
.
classLast30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
classTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"classTime"
,
t
)},
expression
:
"searchFrom.classTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道类别"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type_id"
,
t
)},
expression
:
"searchFrom.type_id"
}},
e
.
_l
(
e
.
typeList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"组ID"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
changeTeacher
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
_e
()],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"进量日期"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"渠道类型"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
,
width
:
"180"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
staticStyle
:{
"font-size"
:
"12px"
},
attrs
:{
prop
:
"duration_over_at"
,
label
:
"开课看课时间"
,
width
:
"200"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
开课日期:"
+
e
.
_s
(
t
.
row
.
start_at
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
结课日期:"
+
e
.
_s
(
t
.
row
.
over_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"squad"
,
label
:
"组ID"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"老师名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_num"
,
label
:
"购买人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_num"
,
label
:
"班级人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_friend_num"
,
label
:
"老师主动添加好友人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_friend_num"
,
label
:
"用户主动添加好友人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num"
,
label
:
"到课人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"one_buy_num"
,
label
:
"一年课购买人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"two_buy_num"
,
label
:
"两年课购买人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"one_buy_money"
,
label
:
"一年课转化金额"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"two_buy_money"
,
label
:
"两年课转化金额"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"OQC9"
)},
null
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/65.9ba497838f1ec1f4d88d.js
0 → 100644
View file @
0573468a
webpackJsonp
([
65
],{
"8toi"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
r
=
a
(
"kmJW"
),
i
=
a
(
"+TkF"
),
o
=
a
(
"Ix4X"
);
function
n
(
e
,
t
,
a
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
a
,
e
}
var
l
=
{
name
:
"periodsConversionList"
,
data
:
function
(){
var
e
,
t
=
this
;
return
n
(
e
=
{
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[]},
"total"
,
0
),
n
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
n
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
))}}),
n
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"classToday"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
classTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"classYesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
n
(
e
,
"classLast30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"classLast7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
classTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
n
(
e
,
"propertyList"
,[]),
n
(
e
,
"spanArr"
,[]),
n
(
e
,
"contentSpanArr"
,[]),
n
(
e
,
"searchFrom"
,{
payTime
:[],
classTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
}),
n
(
e
,
"propertyList"
,[]),
n
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
n
(
e
,
"goodList"
,[]),
e
},
filters
:{
orderFilter
:
function
(
e
){
return
i
.
q
[
e
]},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
i
.
g
[
e
.
goods_type
]
+
"]【"
+
e
.
current_price
/
100
+
"元】"
+
e
.
name
}},
components
:{
page
:
r
.
a
},
methods
:{
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
s
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
,
console
.
log
(
e
.
goodList
,
176
)})},
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
o
.
c
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_108
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
s
=
e
.
getDate
();
return
s
<
10
&&
(
s
=
"0"
+
s
),
t
+
"-"
+
a
+
"-"
+
s
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
s
.
_60
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
i
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_79
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
,
console
.
log
(
320
)})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
out_trade_no
&&
(
t
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
pay_start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
pay_over_at
=
this
.
searchFrom
.
end_at
)),
this
.
searchFrom
.
classTime
&&
this
.
searchFrom
.
classTime
.
length
>
0
&&
(
console
.
log
(
this
.
searchFrom
.
classTime
),
this
.
searchFrom
.
classTime
[
0
]
&&
this
.
searchFrom
.
classTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
class_start_at
=
this
.
searchFrom
.
classTime
[
0
],
t
.
in_class_start_at
=
this
.
searchFrom
.
class_start_at
),
this
.
searchFrom
.
classTime
[
1
]
&&
this
.
searchFrom
.
classTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
class_end_at
=
this
.
searchFrom
.
classTime
[
1
],
t
.
in_class_over_at
=
this
.
searchFrom
.
class_end_at
)),
Object
(
s
.
_94
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
s
){
a
.
index
=
s
,
0
==
s
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
s
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
s
);
var
r
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
i
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
o
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
r
,
a
.
goods_name
=
""
+
i
+
a
.
goods_name
+
o
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
(),
this
.
getTeacherList
(),
this
.
getGoodsOption
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"支付时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"进班时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
classToday
,
e
.
classYesterday
,
e
.
classLast7Day
,
e
.
classLast30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
classTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"classTime"
,
t
)},
expression
:
"searchFrom.classTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
out_trade_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"out_trade_no"
,
t
)},
expression
:
"searchFrom.out_trade_no"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户id"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"转化前商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
s
){
return
a
(
"el-option"
,{
key
:
s
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"销售组别"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"销售老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
changeTeacher
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
),
a
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
staticStyle
:{
"font-size"
:
"12px"
},
attrs
:{
prop
:
"duration_over_at"
,
label
:
"开课看课时间"
,
width
:
"200"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
开课日期:"
+
e
.
_s
(
t
.
row
.
periods_start_at
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
结课日期:"
+
e
.
_s
(
t
.
row
.
periods_over_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"销售老师"
,
className
:
"f-c"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
invite_teacher_name
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
invite_teacher_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"销售老师用户"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
invite_user_nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
invite_user_id
)
+
")"
),
a
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
invite_user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"带课老师"
,
className
:
"f-c"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
class_teacher_name
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
class_teacher_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"销售老师用户"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
class_invite_user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
class_invite_user_nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
class_invite_user_id
)
+
")"
),
a
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
class_invite_user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_at"
,
label
:
"支付时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"in_class_at"
,
label
:
"进班时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"status"
,
label
:
"支付状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"orderFilter"
)(
t
.
row
.
status
))
+
"
\n
"
)]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"jt5Q"
)},
null
,
null
);
t
.
default
=
h
.
exports
},
jt5Q
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.8ea6e77a49e8fb34782b.js
0 → 100644
View file @
0573468a
webpackJsonp
([
69
],{
"/Bbx"
:
function
(
e
,
n
){},
IcnI
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"NYxO"
),
a
=
t
(
"lRwf"
),
r
=
t
.
n
(
a
),
i
=
t
(
"zSLJ"
),
u
=
{
setToken
:
function
(
e
,
n
){
e
.
token
=
n
,
i
.
a
.
set
(
"cc_token"
,
n
)},
setUserName
:
function
(
e
,
n
){
e
.
userName
=
n
,
i
.
a
.
set
(
"cc_user_name"
,
n
)},
setPermission
:
function
(
e
,
n
){
e
.
progressList
=
n
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
n
))},
setMenu
:
function
(
e
,
n
){
e
.
menuList
=
n
},
readonly
:
function
(
e
,
n
){
e
.
readonly
=
n
},
deletePermission
:
function
(
e
,
n
){
e
.
deletePermission
=
n
},
distribution
:
function
(
e
,
n
){
e
.
distribution
=
n
},
classManage
:
function
(
e
,
n
){
e
.
classManage
=
n
},
classManageUnlimited
:
function
(
e
,
n
){
e
.
classManageUnlimited
=
n
},
classTakeUnlimited
:
function
(
e
,
n
){
e
.
classTakeUnlimited
=
n
},
promoter
:
function
(
e
,
n
){
e
.
promoter
=
n
},
mainCanShow
:
function
(
e
){
e
.
mainLoad
=!
1
},
mainUnShow
:
function
(
e
){
e
.
mainLoad
=!
0
},
changeParentRouter
:
function
(
e
,
n
){
e
.
menuList
.
find
(
function
(
e
){
return
e
.
name
===
n
.
name
}).
routerName
=
n
.
to
.
name
},
progress
:
function
(
e
,
n
){
switch
(
n
.
type
){
case
"new"
:
e
.
progressList
.
push
({
num
:
0
,
id
:
n
.
id
});
break
;
case
"change"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
}).
num
=
n
.
num
;
break
;
case
"delete"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
})}}};
r
.
a
.
use
(
o
.
a
);
n
.
a
=
new
o
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
export
:
!
1
,
orderRefund
:
!
1
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
distribution
:
!
1
,
classManage
:
!
1
,
classManageUnlimited
:
!
1
,
classTakeUnlimited
:
!
1
,
promoter
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
u
,
actions
:{
setToken
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setToken"
,
n
)},
setUserName
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setUserName"
,
n
)},
setProgress
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"progress"
,
n
)},
setPermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setPermission"
,
n
)},
setMenu
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setMenu"
,
n
)},
readonly
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"readonly"
,
n
)},
deletePermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"deletePermission"
,
n
)},
distribution
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"distribution"
,
n
)},
classManage
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classManage"
,
n
)},
classManageUnlimited
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classManageUnlimited"
,
n
)},
classTakeUnlimited
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classTakeUnlimited"
,
n
)},
promoter
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"promoter"
,
n
)}}})},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
[{
name
:
""
,
value
:
"教研管理"
,
icon
:
"icon-material"
,
list
:[{
value
:
"教材列表"
,
routerName
:
"resources"
,
path
:
"/resources"
,
cover
:
"1-1"
,
router
:{
path
:
"/resources"
,
name
:
"resources"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
1
)]).
then
(
function
(){
var
n
=
[
t
(
"z5EG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"商品课程"
,
icon
:
"icon-shangpin1"
,
list
:[{
value
:
"课程列表"
,
routerName
:
"lesson"
,
path
:
"/lesson"
,
cover
:
"2-1"
,
router
:{
path
:
"/lesson"
,
name
:
"lesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
9
)]).
then
(
function
(){
var
n
=
[
t
(
"AbSL"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"商品列表"
,
routerName
:
"shop"
,
path
:
"/shop"
,
cover
:
"4-1"
,
router
:{
path
:
"/shop"
,
name
:
"shop"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
14
)]).
then
(
function
(){
var
n
=
[
t
(
"1djJ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"期数管理"
,
icon
:
"icon-kecheng"
,
list
:[{
value
:
"期数列表"
,
routerName
:
"periods"
,
path
:
"/periods"
,
cover
:
"2-2"
,
router
:{
path
:
"/periods"
,
name
:
"periods"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
26
)]).
then
(
function
(){
var
n
=
[
t
(
"ayGs"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"班级列表"
,
routerName
:
"class"
,
path
:
"/class"
,
cover
:
"2-3"
,
router
:{
path
:
"/class"
,
name
:
"class"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
18
)]).
then
(
function
(){
var
n
=
[
t
(
"OX9A"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"市场招生统计"
,
routerName
:
"marketStatistics"
,
path
:
"/marketStatistics"
,
cover
:
"2-5"
,
router
:{
path
:
"/marketStatistics"
,
name
:
"marketStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
48
)]).
then
(
function
(){
var
n
=
[
t
(
"SKyX"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
34
)]).
then
(
function
(){
var
n
=
[
t
(
"sg/1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"自化课列表"
,
routerName
:
"autoClass"
,
path
:
"/autoClass"
,
cover
:
"2-6"
,
router
:{
path
:
"/autoClass"
,
name
:
"autoClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
29
)]).
then
(
function
(){
var
n
=
[
t
(
"f9Sx"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"销售管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"教师列表"
,
routerName
:
"teacher"
,
path
:
"/teacher"
,
cover
:
"3-1"
,
router
:{
path
:
"/teacher"
,
name
:
"teacher"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
2
)]).
then
(
function
(){
var
n
=
[
t
(
"Y0Vi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
5
)]).
then
(
function
(){
var
n
=
[
t
(
"xdzM"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
51
)]).
then
(
function
(){
var
n
=
[
t
(
"v/LD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
41
)]).
then
(
function
(){
var
n
=
[
t
(
"89rD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"业绩排行"
,
routerName
:
"achievement"
,
path
:
"/achievement"
,
cover
:
"5-7"
,
router
:{
path
:
"/achievement"
,
name
:
"achievement"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
25
)]).
then
(
function
(){
var
n
=
[
t
(
"Fmgy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"话术列表"
,
routerName
:
"talkingSkill"
,
path
:
"/talkingSkill"
,
cover
:
"11-6"
,
router
:{
path
:
"/talkingSkill"
,
name
:
"talkingSkill"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
24
)]).
then
(
function
(){
var
n
=
[
t
(
"CUAv"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"用户管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
4
)]).
then
(
function
(){
var
n
=
[
t
(
"jFLA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"老系统用户列表"
,
routerName
:
"oldUser"
,
path
:
"/oldUser"
,
cover
:
"3-3"
,
router
:{
path
:
"/oldUser"
,
name
:
"oldUser"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
39
)]).
then
(
function
(){
var
n
=
[
t
(
"K2yr"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"用户积分列表"
,
routerName
:
"integral"
,
path
:
"/integral"
,
cover
:
"3-4"
,
router
:{
path
:
"/integral"
,
name
:
"integral"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
13
)]).
then
(
function
(){
var
n
=
[
t
(
"NDyu"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"绑定子账号列表"
,
routerName
:
"subList"
,
path
:
"/subList"
,
cover
:
"3-5"
,
router
:{
path
:
"/subList"
,
name
:
"subList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
35
)]).
then
(
function
(){
var
n
=
[
t
(
"L5jB"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"订单管理"
,
icon
:
"icon-dingdan"
,
list
:[{
value
:
"日课订单列表"
,
routerName
:
"order"
,
path
:
"/order"
,
cover
:
"5-1"
,
router
:{
path
:
"/order"
,
name
:
"order"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
8
)]).
then
(
function
(){
var
n
=
[
t
(
"2qmY"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
40
)]).
then
(
function
(){
var
n
=
[
t
(
"F5pf"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"发货管理"
,
routerName
:
"consignment"
,
path
:
"/consignment"
,
cover
:
"5-4"
,
router
:{
path
:
"/consignment"
,
name
:
"consignment"
,
component
:
function
(
e
){
return
t
.
e
(
59
).
then
(
function
(){
var
n
=
[
t
(
"usUK"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"订单统计"
,
routerName
:
"orderCount"
,
path
:
"/orderCount"
,
cover
:
"5-5"
,
router
:{
path
:
"/orderCount"
,
name
:
"orderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
57
)]).
then
(
function
(){
var
n
=
[
t
(
"s7i+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"日课订单统计"
,
routerName
:
"dayOrderCount"
,
path
:
"/dayOrderCount"
,
cover
:
"5-11"
,
router
:{
path
:
"/dayOrderCount"
,
name
:
"dayOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
49
)]).
then
(
function
(){
var
n
=
[
t
(
"mjLz"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"优惠券列表"
,
routerName
:
"coupon"
,
path
:
"/coupon"
,
cover
:
"5-6"
,
router
:{
path
:
"/coupon"
,
name
:
"coupon"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
37
)]).
then
(
function
(){
var
n
=
[
t
(
"WvRy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"扫码入课列表"
,
routerName
:
"notBuyClass"
,
path
:
"/notBuyClass"
,
cover
:
"5-8"
,
router
:{
path
:
"/notBuyClass"
,
name
:
"notBuyClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
22
)]).
then
(
function
(){
var
n
=
[
t
(
"E6Zo"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部订单列表"
,
routerName
:
"yunji"
,
path
:
"/yunji"
,
cover
:
"5-9"
,
router
:{
path
:
"/yunji"
,
name
:
"yunji"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
15
)]).
then
(
function
(){
var
n
=
[
t
(
"69L+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"兑换码管理"
,
routerName
:
"exchange"
,
path
:
"/exchange"
,
cover
:
"5-13"
,
router
:{
path
:
"/exchange"
,
name
:
"exchange"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
12
)]).
then
(
function
(){
var
n
=
[
t
(
"CvLZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"数据管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"年课转化来源"
,
routerName
:
"sourceConversionList"
,
path
:
"/sourceConversionList"
,
cover
:
"9-9"
,
router
:{
path
:
"/sourceConversionList"
,
name
:
"sourceConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
65
)]).
then
(
function
(){
var
n
=
[
t
(
"8toi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"市场招生列表"
,
routerName
:
"marketEnrollmentConversionList"
,
path
:
"/marketEnrollmentConversionList"
,
cover
:
"9-8"
,
router
:{
path
:
"/marketEnrollmentConversionList"
,
name
:
"marketEnrollmentConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
54
)]).
then
(
function
(){
var
n
=
[
t
(
"lWjU"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"渠道转化数据"
,
routerName
:
"channelConversionList"
,
path
:
"/channelConversionList"
,
cover
:
"9-3"
,
router
:{
path
:
"/channelConversionList"
,
name
:
"channelConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
66
)]).
then
(
function
(){
var
n
=
[
t
(
"h0PA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"渠道分商品转化数据"
,
routerName
:
"channelGoodsConversionList"
,
path
:
"/channelGoodsConversionList"
,
cover
:
"9-2"
,
router
:{
path
:
"/channelGoodsConversionList"
,
name
:
"channelGoodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
53
)]).
then
(
function
(){
var
n
=
[
t
(
"G/kT"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"期数转化数据"
,
routerName
:
"periodsConversionList"
,
path
:
"/periodsConversionList"
,
cover
:
"9-4"
,
router
:{
path
:
"/periodsConversionList"
,
name
:
"periodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
63
)]).
then
(
function
(){
var
n
=
[
t
(
"+Xua"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"销售小组数据"
,
routerName
:
"squadConversionList"
,
path
:
"/squadConversionList"
,
cover
:
"9-5"
,
router
:{
path
:
"/squadConversionList"
,
name
:
"squadConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
50
)]).
then
(
function
(){
var
n
=
[
t
(
"M7X6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"班主任转化数据"
,
routerName
:
"teacherConversionList"
,
path
:
"/teacherConversionList"
,
cover
:
"9-6"
,
router
:{
path
:
"/teacherConversionList"
,
name
:
"teacherConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
45
)]).
then
(
function
(){
var
n
=
[
t
(
"6yV8"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"各期数班主任转化数据"
,
routerName
:
"teacherPeriodsConversionList"
,
path
:
"/teacherPeriodsConversionList"
,
cover
:
"9-7"
,
router
:{
path
:
"/teacherPeriodsConversionList"
,
name
:
"teacherPeriodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
56
)]).
then
(
function
(){
var
n
=
[
t
(
"TtuZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"明细数据列表"
,
routerName
:
"channelTransList"
,
path
:
"/channelTransList"
,
cover
:
"9-1"
,
router
:{
path
:
"/channelTransList"
,
name
:
"channelTransList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
64
)]).
then
(
function
(){
var
n
=
[
t
(
"XXYb"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"实物管理"
,
icon
:
"icon-shu"
,
list
:[{
value
:
"单品列表"
,
routerName
:
"single"
,
path
:
"/single"
,
cover
:
"6-1"
,
router
:{
path
:
"/single"
,
name
:
"single"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
21
)]).
then
(
function
(){
var
n
=
[
t
(
"B31M"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"盒子列表"
,
routerName
:
"box"
,
path
:
"/box"
,
cover
:
"6-2"
,
router
:{
path
:
"/box"
,
name
:
"box"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
17
)]).
then
(
function
(){
var
n
=
[
t
(
"+vCD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"待发货列表"
,
routerName
:
"logistics"
,
path
:
"/logistics"
,
cover
:
"6-3"
,
router
:{
path
:
"/logistics"
,
name
:
"logistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
23
)]).
then
(
function
(){
var
n
=
[
t
(
"eYh/"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"公众号"
,
icon
:
"icon-ai-weixin"
,
list
:[{
value
:
"自动回复"
,
routerName
:
"focusReply"
,
path
:
"/focusReply"
,
cover
:
"7-1"
,
router
:{
path
:
"/focusReply"
,
name
:
"focusReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
19
)]).
then
(
function
(){
var
n
=
[
t
(
"CK6D"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"关键词回复"
,
routerName
:
"autoReply"
,
path
:
"/autoReply"
,
cover
:
"7-2"
,
router
:{
path
:
"/autoReply"
,
name
:
"autoReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
20
)]).
then
(
function
(){
var
n
=
[
t
(
"65NY"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"公众号菜单"
,
routerName
:
"weChat"
,
path
:
"/weChat"
,
cover
:
"7-3"
,
router
:{
path
:
"/weChat"
,
name
:
"weChat"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
27
)]).
then
(
function
(){
var
n
=
[
t
(
"q5av"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"素材管理"
,
routerName
:
"weChatResource"
,
path
:
"/weChatResource"
,
cover
:
"7-4"
,
router
:{
path
:
"/weChatResource"
,
name
:
"weChatResource"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
28
)]).
then
(
function
(){
var
n
=
[
t
(
"Xhqp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"二维码管理"
,
routerName
:
"qrcode"
,
path
:
"/qrcode"
,
cover
:
"7-6"
,
router
:{
path
:
"/qrcode"
,
name
:
"qrcode"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
16
)]).
then
(
function
(){
var
n
=
[
t
(
"lNiQ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"群发助手"
,
routerName
:
"groupSend"
,
path
:
"/groupSend"
,
cover
:
"7-7"
,
router
:{
path
:
"/groupSend"
,
name
:
"groupSend"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
10
)]).
then
(
function
(){
var
n
=
[
t
(
"oerw"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"关注取关统计"
,
routerName
:
"watchCount"
,
path
:
"/watchCount"
,
cover
:
"7-8"
,
router
:{
path
:
"/watchCount"
,
name
:
"watchCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
61
)]).
then
(
function
(){
var
n
=
[
t
(
"Dq6T"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"微信统计"
,
routerName
:
"weChatStatistics"
,
path
:
"/weChatStatistics"
,
cover
:
"7-10"
,
router
:{
path
:
"/weChatStatistics"
,
name
:
"weChatStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
62
)]).
then
(
function
(){
var
n
=
[
t
(
"5t3x"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"测试"
,
routerName
:
"test"
,
path
:
"/test"
,
cover
:
"7-11"
,
router
:{
path
:
"/test"
,
name
:
"test"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
32
)]).
then
(
function
(){
var
n
=
[
t
(
"9ZSL"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"系统管理"
,
icon
:
"icon-xitongquanxian"
,
list
:[{
value
:
"首页管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"7-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
36
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"7-9"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
52
)]).
then
(
function
(){
var
n
=
[
t
(
"NrkQ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"来源码管理"
,
routerName
:
"sourceManage"
,
path
:
"/sourceManage"
,
cover
:
"10-1"
,
router
:{
path
:
"/sourceManage"
,
name
:
"sourceManage"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
38
)]).
then
(
function
(){
var
n
=
[
t
(
"/ubI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"短信发送记录"
,
routerName
:
"smsRecord"
,
path
:
"/smsRecord"
,
cover
:
"10-2"
,
router
:{
path
:
"/smsRecord"
,
name
:
"smsRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
30
)]).
then
(
function
(){
var
n
=
[
t
(
"qjS+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
58
)]).
then
(
function
(){
var
n
=
[
t
(
"TPCG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"后台管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"账号管理"
,
routerName
:
"admin"
,
path
:
"/admin"
,
cover
:
"8-1"
,
router
:{
path
:
"/admin"
,
name
:
"admin"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
46
)]).
then
(
function
(){
var
n
=
[
t
(
"+jTk"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"角色管理"
,
routerName
:
"role"
,
path
:
"/role"
,
cover
:
"8-2"
,
router
:{
path
:
"/role"
,
name
:
"role"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
44
)]).
then
(
function
(){
var
n
=
[
t
(
"Vt1u"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"菜单管理"
,
routerName
:
"menu"
,
path
:
"/menu"
,
cover
:
"8-3"
,
router
:{
path
:
"/menu"
,
name
:
"menu"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
67
)]).
then
(
function
(){
var
n
=
[
t
(
"aTXs"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"sysConfig"
,
path
:
"/sysConfig"
,
cover
:
"8-4"
,
router
:{
path
:
"/sysConfig"
,
name
:
"sysConfig"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
33
)]).
then
(
function
(){
var
n
=
[
t
(
"gaNG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"操作日志"
,
routerName
:
"adminLog"
,
path
:
"/adminLog"
,
cover
:
"8-5"
,
router
:{
path
:
"/adminLog"
,
name
:
"adminLog"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
42
)]).
then
(
function
(){
var
n
=
[
t
(
"WZgi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]}],
a
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
n
=
this
.
$store
.
state
.
progressList
;
console
.
log
(
this
.
$store
.
state
);
var
a
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
11
)]).
then
(
function
(){
var
n
=
[
t
(
"9PRC"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},
i
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
6
)]).
then
(
function
(){
var
n
=
[
t
(
"hFUZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}};
o
.
forEach
(
function
(
t
){
var
o
=!
1
,
u
=
[];
t
.
list
.
forEach
(
function
(
t
){
var
a
=
n
.
find
(
function
(
e
){
return
e
.
cover
===
t
.
cover
});
a
&&
(
t
.
router
.
meta
=
{},
t
.
router
.
meta
.
readonly
=!!
a
.
readonly
,
t
.
router
.
meta
.
delete
=!!
a
.
delete
,
t
.
router
.
meta
.
export
=!!
a
.
export
,
t
.
router
.
meta
.
refund
=!!
a
.
refund
,
t
.
router
.
meta
.
distribution
=!!
a
.
distribution
,
t
.
router
.
meta
.
classManage
=!!
a
.
classManage
,
t
.
router
.
meta
.
classManageUnlimited
=!!
a
.
classManageUnlimited
,
t
.
router
.
meta
.
classTakeUnlimited
=!!
a
.
classTakeUnlimited
,
t
.
router
.
meta
.
promoter
=!!
a
.
promoter
,
u
.
push
(
t
),
"3-1"
===
a
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
a
.
readonly
,
i
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
"3-2"
===
a
.
cover
&&
(
r
.
meta
=
{},
r
.
meta
.
readonly
=
a
.
readonly
,
r
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
r
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
t
.
router
),
o
=!
0
)}),
o
&&
(
t
.
list
=
u
,
a
.
push
(
t
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
a
)}}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
i
=
t
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
e
){
t
(
"/Bbx"
)},
null
,
null
).
exports
,
u
=
t
(
"lRwf"
),
c
=
t
.
n
(
u
),
s
=
t
(
"YaEn"
),
l
=
t
(
"IcnI"
),
h
=
t
(
"zL8q"
),
m
=
t
.
n
(
h
);
c
.
a
.
use
(
m
.
a
),
c
.
a
.
config
.
productionTip
=!
1
,
new
c
.
a
({
el
:
"#app"
,
store
:
l
.
a
,
router
:
s
.
a
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
OMN4
:
function
(
e
,
n
){
e
.
exports
=
axios
},
YaEn
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"IcnI"
),
a
=
t
(
"/ocq"
),
r
=
t
(
"zSLJ"
),
i
=
new
a
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
7
)]).
then
(
function
(){
var
n
=
[
t
(
"jHcp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
t
.
e
(
31
).
then
(
function
(){
var
n
=
[
t
(
"sJm1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
43
)]).
then
(
function
(){
var
n
=
[
t
(
"0HId"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/register"
,
name
:
"register"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
47
)]).
then
(
function
(){
var
n
=
[
t
(
"90Fj"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/outManager"
,
name
:
"outManager"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
60
)]).
then
(
function
(){
var
n
=
[
t
(
"hLMI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
55
)]).
then
(
function
(){
var
n
=
[
t
(
"iPJD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/newLesson"
,
name
:
"newLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
3
)]).
then
(
function
(){
var
n
=
[
t
(
"4t0V"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
i
.
beforeEach
(
function
(
e
,
n
,
t
){
if
(
o
.
a
.
commit
(
"mainCanShow"
),
r
.
a
.
get
(
"cc_token"
)
&&
(
o
.
a
.
dispatch
(
"setToken"
,
r
.
a
.
get
(
"cc_token"
)),
o
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
r
.
a
.
get
(
"cc_user_name"
)
&&
o
.
a
.
dispatch
(
"setUserName"
,
r
.
a
.
get
(
"cc_user_name"
))),
o
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
a
=
void
0
,
i
=
0
;
i
<
o
.
a
.
state
.
menuList
.
length
;
i
++
)
for
(
var
u
=
o
.
a
.
state
.
menuList
[
i
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
s
=
u
.
list
[
c
];
s
.
path
===
e
.
path
&&
(
a
=
s
)}
o
.
a
.
state
.
openedTab
.
indexOf
(
a
)
<
0
&&
o
.
a
.
state
.
openedTab
.
push
(
a
)}
if
(
e
.
meta
.
readonly
?
o
.
a
.
dispatch
(
"readonly"
,
!
0
):
o
.
a
.
dispatch
(
"readonly"
,
!
1
),
o
.
a
.
state
.
orderRefund
=
e
.
meta
.
refund
,
o
.
a
.
state
.
export
=
e
.
meta
.
export
,
o
.
a
.
state
.
distribution
=
e
.
meta
.
distribution
,
o
.
a
.
state
.
classManage
=
e
.
meta
.
classManage
,
o
.
a
.
dispatch
(
"promoter"
,
e
.
meta
.
promoter
),
o
.
a
.
dispatch
(
"classManageUnlimited"
,
e
.
meta
.
classManageUnlimited
),
o
.
a
.
dispatch
(
"classTakeUnlimited"
,
e
.
meta
.
classTakeUnlimited
),
console
.
log
(
e
.
meta
),
"userDetail"
===
e
.
name
){
var
l
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
o
.
a
.
dispatch
(
"readonly"
,
l
)}
e
.
meta
.
delete
?
o
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
o
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
o
.
a
.
state
.
token
?
t
({
path
:
"/login"
}):
t
()}),
i
.
onError
(
function
(
e
){
var
n
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
t
=
i
.
history
.
pending
.
fullPath
;
n
&&
i
.
replace
(
t
)}),
n
.
a
=
i
},
lRwf
:
function
(
e
,
n
){
e
.
exports
=
Vue
},
zSLJ
:
function
(
e
,
n
,
t
){
"use strict"
;
n
.
a
=
{
set
:
function
(
e
,
n
,
t
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
t
),
window
.
document
.
cookie
=
e
+
"="
+
n
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
n
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
n
?
n
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.83191ee41c16fa551d01.js
0 → 100644
View file @
0573468a
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
70
:
0
};
function
b
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
b
),
a
.
l
=!
0
,
a
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
c
=
a
[
e
]
=
[
f
,
b
]});
c
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"2fe593be7397e6c8b9a6"
,
1
:
"e279586b39f6559ec18c"
,
2
:
"cde85624d8857b4670e8"
,
3
:
"d9e77e0bfd796116de33"
,
4
:
"64e32d13d0cb8c5549b8"
,
5
:
"af4b7e5e5b6895ca3b4b"
,
6
:
"1d737ca0423a21c8e7bf"
,
7
:
"b5896f98cf9e1b9ef26c"
,
8
:
"452c1511430941186d22"
,
9
:
"1437496a747ba8ae6a5a"
,
10
:
"4d599138879ace224b28"
,
11
:
"3b79614b347ff5994ba7"
,
12
:
"8d872fc4ee7b29e53c85"
,
13
:
"1ad793aafa52854c4e06"
,
14
:
"581498c4432c76083a8e"
,
15
:
"0872b14b3fcf11ef69f8"
,
16
:
"e7b02e73635111ce1f01"
,
17
:
"f407b3af09b84cd0150a"
,
18
:
"6557786d195b9ccfdcfd"
,
19
:
"99345919ad5dc5848ec8"
,
20
:
"f16ab7a1c666379dbd0f"
,
21
:
"1551d369cb3bc8ce3588"
,
22
:
"b95bf0e6c61905058351"
,
23
:
"e75b5bc706f78d534d9d"
,
24
:
"d58093f468065feda426"
,
25
:
"2e68a20df1657c9de3d6"
,
26
:
"554d9cfda75592924102"
,
27
:
"28ff2bc8621ed239b71f"
,
28
:
"1c3cf6b454479e1c1f7b"
,
29
:
"4e822e63ff1bcbc14162"
,
30
:
"455c49c2fec3dfbfa2eb"
,
31
:
"1c3f1b652018be655519"
,
32
:
"8ea1589d05aec12c10aa"
,
33
:
"1e4a1b2689726faeec1c"
,
34
:
"6b22e8fa1fbba25f31a3"
,
35
:
"646dd5773f8e45a240c2"
,
36
:
"c6ccb3780256a2ecc395"
,
37
:
"1fec274e4e95eb9a1609"
,
38
:
"d0d5be36c0b663727e66"
,
39
:
"f8c84a0978447862be2d"
,
40
:
"79ffc9773055443de3ae"
,
41
:
"f02b11c971ad81e4b852"
,
42
:
"9ddb2109ad2a184d1aeb"
,
43
:
"201a43bd4f25509da636"
,
44
:
"4cd927d1beeb1eb03e7f"
,
45
:
"2c1e846220ec8e9e2732"
,
46
:
"acdf4b9cfba4319fd526"
,
47
:
"35771232868fe78ab72d"
,
48
:
"83b2d3a51baa39f918fe"
,
49
:
"30e06597c06e17993be3"
,
50
:
"040217a861897aec0d65"
,
51
:
"dcb6169cd9135aef0bef"
,
52
:
"f8dae6efa1ae6cd48da7"
,
53
:
"d0d2c8c28cd2a77d5673"
,
54
:
"143247583b003c1402e5"
,
55
:
"532efd95fcf915f5f1a8"
,
56
:
"049f25a6658844ffb7bf"
,
57
:
"c99c2a2f0e5d1ab88d8e"
,
58
:
"74343ed15c0a649902ad"
,
59
:
"f3ee362cbcbb912b4b29"
,
60
:
"db82d558d1ab18cb61f6"
,
61
:
"f370bf9f2106ab67ce77"
,
62
:
"eb62c10416d15e49229a"
,
63
:
"29e73ed2ce65fe21ef18"
,
64
:
"0c3aec5434272119f040"
,
65
:
"9ba497838f1ec1f4d88d"
,
66
:
"92cadb0befba54d673a9"
,
67
:
"8862fbb146929fd02f85"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
c
,
f
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/conversionList/sourceConversionList.vue
View file @
0573468a
...
...
@@ -105,16 +105,24 @@
<img
class=
"avatar"
:src=
"scope.row.user_avatar"
/>
{{
scope
.
row
.
user_nickname
}}
<br>
(ID:
{{
scope
.
row
.
user_id
}}
)
<br>
手机:
{{
scope
.
row
.
user_mobile
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"goods_id"
label=
"商品id"
></el-table-column>
<el-table-column
prop=
"goods_name"
label=
"商品名称"
></el-table-column>
<el-table-column
prop=
"periods_id"
label=
"期数id"
></el-table-column>
<el-table-column
prop=
"periods_title"
label=
"期数标题"
></el-table-column>
<el-table-column
prop=
"periods_start_at"
label=
"开课时间"
></el-table-column>
<el-table-column
prop=
"periods_over_at"
label=
"结束时间"
></el-table-column>
<el-table-column
prop=
"duration_over_at"
label=
"开课看课时间"
style=
"font-size:12px;"
width=
"200"
>
<
template
slot-scope=
"scope"
>
开课日期:
{{
scope
.
row
.
periods_start_at
}}
<br>
结课日期:
{{
scope
.
row
.
periods_over_at
}}
</
template
>
</el-table-column>
<el-table-column
label=
"销售老师"
className=
"f-c"
width=
"1
5
0"
>
width=
"1
2
0"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
invite_teacher_name
}}
<br>
(ID:
{{
scope
.
row
.
invite_teacher_id
}}
)
</
template
>
...
...
@@ -130,7 +138,7 @@
<el-table-column
label=
"带课老师"
className=
"f-c"
width=
"1
5
0"
>
width=
"1
2
0"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
class_teacher_name
}}
<br>
(ID:
{{
scope
.
row
.
class_teacher_id
}}
)
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment