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
13131c87
Commit
13131c87
authored
Jun 14, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6.14
parent
fd2f6667
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
2 deletions
+6
-2
index.html
dist/index.html
+1
-1
app.9aedaf026c78ffbe0dad293ab2b1feb2.css
dist/static/css/app.9aedaf026c78ffbe0dad293ab2b1feb2.css
+1
-0
13.9c5d5f1f83b6129f498c.js
dist/static/js/13.9c5d5f1f83b6129f498c.js
+1
-0
app.1ecd8eb3d0776064ab26.js
dist/static/js/app.1ecd8eb3d0776064ab26.js
+1
-0
manifest.96edc69b52b6af1f7410.js
dist/static/js/manifest.96edc69b52b6af1f7410.js
+1
-0
index.vue
src/components/class/index.vue
+1
-1
No files found.
dist/index.html
View file @
13131c87
<!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.
d7605b2be6ac984503cff8f1f26f1a12.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.273734def466a58c4168.js
></script><script
type=
text/javascript
src=
/static/js/vendor.f14e7028641dac0809c7.js
></script><script
type=
text/javascript
src=
/static/js/app.c9e5583b6eee4dff3f88
.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.
9aedaf026c78ffbe0dad293ab2b1feb2.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.96edc69b52b6af1f7410.js
></script><script
type=
text/javascript
src=
/static/js/vendor.f14e7028641dac0809c7.js
></script><script
type=
text/javascript
src=
/static/js/app.1ecd8eb3d0776064ab26
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dist/static/css/app.9aedaf026c78ffbe0dad293ab2b1feb2.css
0 → 100644
View file @
13131c87
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/13.9c5d5f1f83b6129f498c.js
0 → 100644
View file @
13131c87
webpackJsonp
([
13
],{
"/FEl"
:
function
(
e
,
t
){},
MHl1
:
function
(
e
,
t
){},
OX9A
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
i
(
"CCn6"
),
s
=
i
(
"g5CC"
),
a
=
i
(
"+TkF"
),
n
=
i
(
"0qGg"
),
r
=
i
(
"kmJW"
),
l
=
{
data
:
function
(){
return
{
noticeDialog
:
!
1
,
nowPage
:
1
,
total
:
0
,
limit
:
10
,
periodsId
:
null
,
goods_id
:
null
,
goodsList
:[],
teacher_id
:
""
,
classList
:[],
title
:
""
,
countObj
:
""
,
teacherList
:[],
userObj
:{
classId
:
""
,
title
:
""
,
show
:
!
1
,
goods_id
:
null
},
dialogObj
:{
show
:
!
1
,
title
:
"添加班级"
,
periodsId
:
""
,
type
:
0
,
id
:
0
},
selectedGoods
:[],
secGoods
:[]}},
components
:{
UserList
:
n
.
a
,
classDialog
:
s
.
a
,
page
:
r
.
a
},
filters
:{
classTypeFilter
:
function
(
e
){
var
t
=
parseInt
(
e
);
return
1
===
t
?
"带班班级"
:
2
===
t
?
"观摩班级"
:
""
},
classSourceFilter
:
function
(
e
){
return
a
.
f
[
e
]},
percent
:
function
(
e
){
return
(
100
*
e
).
toFixed
(
2
)
+
"%"
}},
mounted
:
function
(){
this
.
initPage
()},
methods
:{
changeRow
:
function
(
e
,
t
){
t
.
indexOf
(
e
)
>-
1
&&
Object
(
o
.
_37
)(
e
.
periods_id
,
e
.
id
).
then
(
function
(
t
){
e
.
arrive_course_rate
=
t
.
arrive_course_rate
,
e
.
watch_course_rate
=
t
.
watch_course_rate
,
e
.
over_course_rate
=
t
.
over_course_rate
,
e
.
work_rate
=
t
.
work_rate
,
e
.
over_work_rate
=
t
.
over_work_rate
,
e
.
clock_rate
=
t
.
clock_rate
,
e
.
over_clock_rate
=
t
.
over_clock_rate
,
e
.
transform_rate
=
t
.
transform_rate
})},
initQuery
:
function
(){
var
e
=
this
,
t
=
this
.
$route
.
query
;
t
&&
t
.
goods_id
&&
t
.
periods_id
?(
this
.
goods_id
=
t
.
goods_id
,
this
.
selectedGoods
=
[
parseInt
(
t
.
goods_id
),
parseInt
(
t
.
periods_id
)],
Object
(
o
.
_62
)({
goods_id
:
this
.
selectedGoods
[
0
]}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]}).
children
=
t
.
list
;
var
i
=
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]});
e
.
periods
=
i
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
1
]}),
console
.
log
(
e
.
periods
),
e
.
teacher_id
=
""
,
e
.
getClassList
()})):
Object
(
o
.
_42
)().
then
(
function
(
t
){
console
.
log
(
t
),
t
&&
(
e
.
goods_id
=
t
.
goods_id
,
e
.
selectedGoods
=
[
parseInt
(
t
.
goods_id
),
parseInt
(
t
.
id
)],
Object
(
o
.
_62
)({
goods_id
:
e
.
selectedGoods
[
0
]}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]}).
children
=
t
.
list
;
var
i
=
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]});
e
.
periods
=
i
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
1
]}),
e
.
teacher_id
=
""
,
console
.
log
(
e
.
periods
),
e
.
getClassList
()}))}),
console
.
log
(
this
.
goodsList
)},
initPage
:
function
(){
var
e
=
this
;
Object
(
o
.
_47
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
console
.
log
(
t
),
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
a
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
,
e
.
initQuery
()})},
showUser
:
function
(
e
){
var
t
=
1
==
e
.
type
?
"(带班班级)"
:
"(观摩班级)"
;
this
.
userObj
=
{
classId
:
e
.
id
,
periods_id
:
e
.
periods_id
,
show
:
!
0
,
goods_id
:
this
.
goods_id
,
title
:
e
.
teacher_name
+
"班级用户列表"
+
t
,
teacherId
:
e
.
teacher_id
,
class_name
:
e
.
class_name
,
type
:
e
.
type
,
watch_num
:
this
.
title
.
watch_num
},
console
.
log
(
this
.
userObj
)},
getTeacher
:
function
(){
var
e
=
this
;
this
.
periods
&&
Object
(
o
.
_65
)(
this
.
periods
.
id
).
then
(
function
(
t
){
var
i
=
{};
t
=
t
.
reduce
(
function
(
e
,
t
){
return
!
i
[
t
.
teacher_id
]
&&
(
i
[
t
.
teacher_id
]
=
e
.
push
(
t
)),
e
},[]),
e
.
teacherList
=
t
})},
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
]}),
console
.
log
(
this
.
goodsList
),
console
.
log
(
this
.
periods
),
this
.
teacher_id
=
""
,
this
.
getTeacher
(),
this
.
getClassList
()}},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getClassList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getClassList
()},
onReflash
:
function
(
e
){
this
.
periods
=
e
,
this
.
selectedGoods
=
[
e
.
goods_id
,
e
.
id
],
this
.
getClassList
()},
getClassList
:
function
(){
var
e
=
this
;
if
(
this
.
periods
){
this
.
getTeacher
();
var
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
teacher_id
),
console
.
log
(
this
.
periods
),
Object
(
o
.
_36
)(
this
.
periods
.
id
,
t
).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
arrive_course_rate
=
0
,
e
.
watch_course_rate
=
0
,
e
.
over_course_rate
=
0
,
e
.
work_rate
=
0
,
e
.
over_work_rate
=
0
,
e
.
clock_rate
=
0
,
e
.
over_clock_rate
=
0
,
e
.
transform_rate
=
0
}),
e
.
title
=
t
.
periods
,
e
.
title
.
count_join_num
=
t
.
count
.
count_join_num
?
t
.
count
.
count_join_num
:
"暂无"
,
e
.
title
.
count_max_join_num
=
t
.
count
.
count_max_join_num
?
t
.
count
.
count_max_join_num
:
"暂无"
,
e
.
title
.
count_teacher_num
=
t
.
count
.
count_teacher_num
?
t
.
count
.
count_teacher_num
:
"暂无"
,
e
.
countObj
=
t
.
count
?
t
.
count
:
""
,
e
.
classList
=
t
.
list
,
e
.
total
=
t
.
total
})}},
handleItemChange
:
function
(
e
){
var
t
=
this
;
Object
(
o
.
_62
)({
goods_id
:
e
[
0
]}).
then
(
function
(
i
){
i
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
i
.
list
})},
delClass
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该班级?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
J
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getClassList
()})})},
onAdd
:
function
(){
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"添加班级"
,
type
:
0
,
teacherList
:
this
.
teacherList
?
this
.
teacherList
:[]},
this
.
periods
&&
(
this
.
dialogObj
.
periods
=
this
.
periods
,
this
.
dialogObj
.
periodsId
=
this
.
periods
.
id
)},
editClass
:
function
(
e
){
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"编辑班级"
,
type
:
1
,
id
:
e
.
id
,
teacherList
:
this
.
teacherList
?
this
.
teacherList
:[]},
this
.
periods
&&
(
this
.
dialogObj
.
periods
=
this
.
periods
,
this
.
dialogObj
.
periodsId
=
this
.
periods
.
id
)}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"class"
},[
i
(
"div"
,{
staticClass
:
"form-block"
},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
,
inline
:
""
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"期数"
}},[
i
(
"el-cascader"
,{
attrs
:{
options
:
e
.
goodsList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
e
.
handleItemChange
,
change
:
e
.
changePeriods
},
model
:{
value
:
e
.
selectedGoods
,
callback
:
function
(
t
){
e
.
selectedGoods
=
t
},
expression
:
"selectedGoods"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
i
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getClassList
},
model
:{
value
:
e
.
teacher_id
,
callback
:
function
(
t
){
e
.
teacher_id
=
t
},
expression
:
"teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
teacher_name
,
value
:
e
.
teacher_id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
getClassList
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticStyle
:{
float
:
"right"
}},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"success"
},
on
:{
click
:
e
.
onAdd
}},[
e
.
_v
(
"+添加班级"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
title
&&
e
.
title
.
title
?
i
(
"div"
,{
staticClass
:
"intro"
},[
i
(
"el-table"
,{
staticStyle
:{
display
:
"block"
,
margin
:
"20px auto"
,
background
:
"transparent"
},
attrs
:{
border
:
""
,
size
:
"mini"
,
data
:[
e
.
title
]}},[
i
(
"el-table-column"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"title"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"可看课包数"
,
prop
:
"watch_num"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"已看课包数"
,
prop
:
"has_watch_num"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"开始时间"
,
prop
:
"start_at"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"老师数量"
,
prop
:
"count_teacher_num"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"预计学员总数"
,
prop
:
"count_max_join_num"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"学员总数"
,
prop
:
"count_join_num"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"结束时间"
,
prop
:
"over_at"
}})],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
title
&&
e
.
title
.
title
?
e
.
_e
():
i
(
"div"
,[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"300px"
,
inline
:
""
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"暂无期数信息,请先选择期数"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
classList
},
on
:{
"expand-change"
:
e
.
changeRow
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:[
t
.
row
]}},[
i
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
arrive_course_rate
)))])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
watch_course_rate
)))])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
over_course_rate
)))])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
clock_rate
)))])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
over_clock_rate
)))])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"班级名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
class_name
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"qr"
,
label
:
"班级二维码"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
qr
?
i
(
"a"
,{
attrs
:{
href
:
t
.
row
.
qr
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
qr
,
alt
:
"二维码"
}})]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
qr
?
e
.
_e
():
i
(
"p"
,[
e
.
_v
(
"--"
)])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班主任"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"老师状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
0
===
t
.
row
.
teacher_status
?
"带班"
:
"不带班"
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"班级类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"classTypeFilter"
)(
t
.
row
.
type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大人数"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"现有人数"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"招生来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"classSourceFilter"
)(
t
.
row
.
source
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"250"
,
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
i
){
e
.
showUser
(
t
.
row
)}}},[
e
.
_v
(
"班级成员"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"warning"
},
on
:{
click
:
function
(
i
){
e
.
editClass
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
},
on
:{
click
:
function
(
i
){
e
.
delClass
(
t
.
row
)}}},[
e
.
_v
(
"删除"
)]):
e
.
_e
()]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
i
(
"class-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
onReflash
}}),
e
.
_v
(
" "
),
i
(
"user-list"
,{
attrs
:{
userObj
:
e
.
userObj
},
on
:{
reflash
:
e
.
getClassList
}})],
1
)},
staticRenderFns
:[]};
var
d
=
i
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
i
(
"/FEl"
),
i
(
"MHl1"
)},
"data-v-e62b5f1a"
,
null
);
t
.
default
=
d
.
exports
},
g5CC
:
function
(
e
,
t
,
i
){
"use strict"
;
var
o
=
i
(
"CCn6"
),
s
=
i
(
"+TkF"
),
a
=
{
props
:[
"dialogObj"
],
data
:
function
(){
var
e
=
[];
for
(
var
t
in
s
.
f
)
e
.
push
({
label
:
s
.
f
[
t
],
value
:
Number
(
t
)});
return
{
imageList
:[],
form
:{
teacher_id
:
""
,
max_join_num
:
""
,
class_name
:
""
,
source
:
""
,
qr
:
""
},
type
:
0
,
classSource
:
e
,
teacherList
:[],
exitTeacherList
:[],
goodsList
:[],
periods
:{},
uploadShow
:
!
0
}},
methods
:{
beforeAvatarUpload
:
function
(){
this
.
uploadShow
=!
1
},
handleRemove
:
function
(){
this
.
uploadShow
=!
0
},
handleAvatarSuccess
:
function
(
e
){
this
.
imageList
=
[{
name
:
e
.
data
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
data
.
url
}]},
uploadFile
:
function
(
e
){
var
t
=
this
;
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
this
.
fileUid
=
e
.
file
.
uid
,
Object
(
o
.
_148
)({
file
:
e
.
file
,
type
:
"all"
}).
then
(
function
(
e
){
t
.
form
.
media_id
=
e
.
wechat_info
?
e
.
wechat_info
.
media_id
:
""
,
t
.
imageList
=
[{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
}],
t
.
uploadShow
=!
1
,
t
.
loading
=!
1
,
t
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
t
.
loading
=!
1
})},
findDifferentArray
:
function
(
e
,
t
){
var
i
=
[];
return
e
.
forEach
(
function
(
e
){
-
1
===
t
.
findIndex
(
function
(
t
){
return
t
.
teacher_id
===
e
.
id
})
&&
i
.
push
(
e
)}),
i
},
getTeacher
:
function
(){
var
e
=
this
;
Object
(
o
.
_86
)({
limit
:
100
,
status
:
0
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
getTeacherByPeriods
:
function
(){
var
e
=
this
;
Object
(
o
.
_86
)({
limit
:
100
,
status
:
0
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
initPage
:
function
(){
var
e
=
this
;
switch
(
this
.
periods
=
this
.
dialogObj
.
periods
,
this
.
dialogObj
.
type
){
case
0
:
this
.
dialogObj
.
periodsId
||
this
.
getPeriodList
(),
this
.
form
=
{
teacher_id
:
""
,
max_join_num
:
""
,
source
:
""
,
qr
:
""
},
this
.
type
=
0
,
this
.
uploadShow
=!
0
,
this
.
getTeacher
();
break
;
case
1
:
this
.
type
=
1
,
Object
(
o
.
_35
)(
this
.
dialogObj
.
id
).
then
(
function
(
t
){
e
.
form
=
{
teacher_id
:
parseInt
(
t
.
teacher_id
),
max_join_num
:
t
.
max_join_num
,
class_name
:
t
.
class_name
,
source
:
t
.
source
},
t
.
qr
&&
(
e
.
form
.
qr
=
t
.
qr
,
e
.
imageList
=
[{
name
:
t
.
qr
,
url
:
t
.
qr
}]),
e
.
form
.
media_id
=
t
.
media_id
?
t
.
media_id
:
""
,
e
.
uploadShow
=!
t
.
qr
,
console
.
log
(
e
.
uploadShow
),
e
.
getTeacher
()})}},
getPeriodList
:
function
(){
var
e
=
this
;
Object
(
o
.
_47
)().
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
s
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
,
e
.
periods
||
Object
(
o
.
_62
)({
goods_id
:
e
.
goodsList
[
0
].
id
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
e
.
goodsList
[
0
].
children
=
t
.
list
,
e
.
periods
=
t
.
list
[
0
]})})},
onSave
:
function
(){
var
e
=
this
;
this
.
imageList
.
length
>
0
&&
(
this
.
form
.
qr
=
this
.
imageList
[
0
].
url
);
var
t
=
{
max_join_num
:
String
(
this
.
form
.
max_join_num
),
teacher_id
:
String
(
this
.
form
.
teacher_id
),
source
:
this
.
form
.
source
,
class_name
:
this
.
form
.
class_name
,
media_id
:
this
.
form
.
media_id
};
switch
(
this
.
form
.
qr
&&
(
t
.
qr
=
this
.
form
.
qr
),
console
.
log
(
t
),
this
.
dialogObj
.
type
){
case
0
:
var
i
=
this
.
dialogObj
.
periodsId
?
this
.
dialogObj
.
periodsId
:
this
.
periods
.
id
;
Object
(
o
.
g
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
e
.
$emit
(
"reflash"
,
e
.
periods
),
e
.
dialogObj
.
show
=!
1
});
break
;
case
1
:
Object
(
o
.
_4
)(
this
.
dialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
$emit
(
"reflash"
,
e
.
periods
),
e
.
dialogObj
.
show
=!
1
})}},
handleItemChange
:
function
(
e
){
var
t
=
this
;
Object
(
o
.
_62
)({
goods_id
:
e
[
0
]}).
then
(
function
(
i
){
i
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
i
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
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
.
getTeacherByPeriods
()}},
selectName
:
function
(
e
,
t
){
var
i
=
e
.
filter
(
function
(
e
,
i
){
return
e
.
id
==
t
});
this
.
form
.
class_name
=
i
[
0
].
name
+
"一班"
}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
this
.
initPage
()}}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogObj
.
title
,
visible
:
e
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"120px"
}},[
this
.
dialogObj
.
periodsId
?
e
.
_e
():
i
(
"el-form-item"
,{
attrs
:{
label
:
"期数"
}},[
i
(
"el-cascader"
,{
attrs
:{
options
:
e
.
goodsList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
e
.
handleItemChange
,
change
:
e
.
changePeriods
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
on
:{
change
:
function
(
t
){
e
.
selectName
(
e
.
teacherList
,
e
.
form
.
teacher_id
)}},
model
:{
value
:
e
.
form
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"teacher_id"
,
t
)},
expression
:
"form.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"班级名称"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"220px"
},
model
:{
value
:
e
.
form
.
class_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"class_name"
,
t
)},
expression
:
"form.class_name"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"最大学员"
}},[
i
(
"el-input-number"
,{
model
:{
value
:
e
.
form
.
max_join_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"max_join_num"
,
t
)},
expression
:
"form.max_join_num"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"招生来源"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
model
:{
value
:
e
.
form
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"source"
,
t
)},
expression
:
"form.source"
}},
e
.
_l
(
e
.
classSource
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"班级二维码"
}},[
i
(
"el-upload"
,{
class
:{
disabled
:
!
e
.
uploadShow
},
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
e
.
uploadFile
,
"before-upload"
:
e
.
beforeAvatarUpload
,
"list-type"
:
"picture-card"
,
"file-list"
:
e
.
imageList
,
"on-success"
:
e
.
handleAvatarSuccess
,
"on-remove"
:
e
.
handleRemove
}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSave
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
i
(
"VU/8"
)(
a
,
n
,
!
1
,
function
(
e
){
i
(
"gdey"
)},
"data-v-27bd0c65"
,
null
);
t
.
a
=
r
.
exports
},
gdey
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.1ecd8eb3d0776064ab26.js
0 → 100644
View file @
13131c87
webpackJsonp
([
58
],{
IcnI
:
function
(
e
,
t
,
n
){
"use strict"
;
var
o
=
n
(
"NYxO"
),
a
=
n
(
"lRwf"
),
r
=
n
.
n
(
a
),
i
=
n
(
"zSLJ"
),
u
=
{
setToken
:
function
(
e
,
t
){
e
.
token
=
t
,
i
.
a
.
set
(
"cc_token"
,
t
)},
setUserName
:
function
(
e
,
t
){
e
.
userName
=
t
,
i
.
a
.
set
(
"cc_user_name"
,
t
)},
setPermission
:
function
(
e
,
t
){
e
.
progressList
=
t
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
t
))},
setMenu
:
function
(
e
,
t
){
e
.
menuList
=
t
},
readonly
:
function
(
e
,
t
){
e
.
readonly
=
t
},
deletePermission
:
function
(
e
,
t
){
e
.
deletePermission
=
t
},
distribution
:
function
(
e
,
t
){
e
.
distribution
=
t
},
classManage
:
function
(
e
,
t
){
e
.
classManage
=
t
},
classManageUnlimited
:
function
(
e
,
t
){
e
.
classManageUnlimited
=
t
},
promoter
:
function
(
e
,
t
){
e
.
promoter
=
t
},
mainCanShow
:
function
(
e
){
e
.
mainLoad
=!
1
},
mainUnShow
:
function
(
e
){
e
.
mainLoad
=!
0
},
changeParentRouter
:
function
(
e
,
t
){
e
.
menuList
.
find
(
function
(
e
){
return
e
.
name
===
t
.
name
}).
routerName
=
t
.
to
.
name
},
progress
:
function
(
e
,
t
){
switch
(
t
.
type
){
case
"new"
:
e
.
progressList
.
push
({
num
:
0
,
id
:
t
.
id
});
break
;
case
"change"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
}).
num
=
t
.
num
;
break
;
case
"delete"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
})}}};
r
.
a
.
use
(
o
.
a
);
t
.
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
,
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
,
t
){(
0
,
e
.
commit
)(
"setToken"
,
t
)},
setUserName
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setUserName"
,
t
)},
setProgress
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"progress"
,
t
)},
setPermission
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setPermission"
,
t
)},
setMenu
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setMenu"
,
t
)},
readonly
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"readonly"
,
t
)},
deletePermission
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"deletePermission"
,
t
)},
distribution
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"distribution"
,
t
)},
classManage
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classManage"
,
t
)},
classManageUnlimited
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classManageUnlimited"
,
t
)},
promoter
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"promoter"
,
t
)}}})},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__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
([
n
.
e
(
0
),
n
.
e
(
1
)]).
then
(
function
(){
var
t
=
[
n
(
"z5EG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
9
)]).
then
(
function
(){
var
t
=
[
n
(
"AbSL"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"商品列表"
,
routerName
:
"shop"
,
path
:
"/shop"
,
cover
:
"4-1"
,
router
:{
path
:
"/shop"
,
name
:
"shop"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
15
)]).
then
(
function
(){
var
t
=
[
n
(
"1djJ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
25
)]).
then
(
function
(){
var
t
=
[
n
(
"ayGs"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"班级列表"
,
routerName
:
"class"
,
path
:
"/class"
,
cover
:
"2-3"
,
router
:{
path
:
"/class"
,
name
:
"class"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
13
)]).
then
(
function
(){
var
t
=
[
n
(
"OX9A"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"市场招生统计"
,
routerName
:
"marketStatistics"
,
path
:
"/marketStatistics"
,
cover
:
"2-5"
,
router
:{
path
:
"/marketStatistics"
,
name
:
"marketStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
53
)]).
then
(
function
(){
var
t
=
[
n
(
"SKyX"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
34
)]).
then
(
function
(){
var
t
=
[
n
(
"sg/1"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"自化课列表"
,
routerName
:
"autoClass"
,
path
:
"/autoClass"
,
cover
:
"2-6"
,
router
:{
path
:
"/autoClass"
,
name
:
"autoClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
28
)]).
then
(
function
(){
var
t
=
[
n
(
"f9Sx"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
2
)]).
then
(
function
(){
var
t
=
[
n
(
"Y0Vi"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
5
)]).
then
(
function
(){
var
t
=
[
n
(
"xdzM"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
43
)]).
then
(
function
(){
var
t
=
[
n
(
"v/LD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
39
)]).
then
(
function
(){
var
t
=
[
n
(
"89rD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"业绩排行"
,
routerName
:
"achievement"
,
path
:
"/achievement"
,
cover
:
"5-7"
,
router
:{
path
:
"/achievement"
,
name
:
"achievement"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
22
)]).
then
(
function
(){
var
t
=
[
n
(
"Fmgy"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"话术列表"
,
routerName
:
"talkingSkill"
,
path
:
"/talkingSkill"
,
cover
:
"11-6"
,
router
:{
path
:
"/talkingSkill"
,
name
:
"talkingSkill"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
24
)]).
then
(
function
(){
var
t
=
[
n
(
"CUAv"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
4
)]).
then
(
function
(){
var
t
=
[
n
(
"jFLA"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"老系统用户列表"
,
routerName
:
"oldUser"
,
path
:
"/oldUser"
,
cover
:
"3-3"
,
router
:{
path
:
"/oldUser"
,
name
:
"oldUser"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
38
)]).
then
(
function
(){
var
t
=
[
n
(
"K2yr"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"用户积分列表"
,
routerName
:
"integral"
,
path
:
"/integral"
,
cover
:
"3-4"
,
router
:{
path
:
"/integral"
,
name
:
"integral"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
14
)]).
then
(
function
(){
var
t
=
[
n
(
"NDyu"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"绑定子账号列表"
,
routerName
:
"subList"
,
path
:
"/subList"
,
cover
:
"3-5"
,
router
:{
path
:
"/subList"
,
name
:
"subList"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
35
)]).
then
(
function
(){
var
t
=
[
n
(
"L5jB"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
8
)]).
then
(
function
(){
var
t
=
[
n
(
"2qmY"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
40
)]).
then
(
function
(){
var
t
=
[
n
(
"F5pf"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"发货管理"
,
routerName
:
"consignment"
,
path
:
"/consignment"
,
cover
:
"5-4"
,
router
:{
path
:
"/consignment"
,
name
:
"consignment"
,
component
:
function
(
e
){
return
n
.
e
(
49
).
then
(
function
(){
var
t
=
[
n
(
"usUK"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"订单统计"
,
routerName
:
"orderCount"
,
path
:
"/orderCount"
,
cover
:
"5-5"
,
router
:{
path
:
"/orderCount"
,
name
:
"orderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
55
)]).
then
(
function
(){
var
t
=
[
n
(
"s7i+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"日课订单统计"
,
routerName
:
"dayOrderCount"
,
path
:
"/dayOrderCount"
,
cover
:
"5-11"
,
router
:{
path
:
"/dayOrderCount"
,
name
:
"dayOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
45
)]).
then
(
function
(){
var
t
=
[
n
(
"mjLz"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"优惠券列表"
,
routerName
:
"coupon"
,
path
:
"/coupon"
,
cover
:
"5-6"
,
router
:{
path
:
"/coupon"
,
name
:
"coupon"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
33
)]).
then
(
function
(){
var
t
=
[
n
(
"WvRy"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"扫码入课列表"
,
routerName
:
"notBuyClass"
,
path
:
"/notBuyClass"
,
cover
:
"5-8"
,
router
:{
path
:
"/notBuyClass"
,
name
:
"notBuyClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
23
)]).
then
(
function
(){
var
t
=
[
n
(
"E6Zo"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"外部订单列表"
,
routerName
:
"yunji"
,
path
:
"/yunji"
,
cover
:
"5-9"
,
router
:{
path
:
"/yunji"
,
name
:
"yunji"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
16
)]).
then
(
function
(){
var
t
=
[
n
(
"69L+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"兑换码管理"
,
routerName
:
"exchange"
,
path
:
"/exchange"
,
cover
:
"5-13"
,
router
:{
path
:
"/exchange"
,
name
:
"exchange"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
12
)]).
then
(
function
(){
var
t
=
[
n
(
"CvLZ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
21
)]).
then
(
function
(){
var
t
=
[
n
(
"B31M"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"盒子列表"
,
routerName
:
"box"
,
path
:
"/box"
,
cover
:
"6-2"
,
router
:{
path
:
"/box"
,
name
:
"box"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
18
)]).
then
(
function
(){
var
t
=
[
n
(
"+vCD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
19
)]).
then
(
function
(){
var
t
=
[
n
(
"CK6D"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"关键词回复"
,
routerName
:
"autoReply"
,
path
:
"/autoReply"
,
cover
:
"7-2"
,
router
:{
path
:
"/autoReply"
,
name
:
"autoReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
20
)]).
then
(
function
(){
var
t
=
[
n
(
"65NY"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"公众号菜单"
,
routerName
:
"weChat"
,
path
:
"/weChat"
,
cover
:
"7-3"
,
router
:{
path
:
"/weChat"
,
name
:
"weChat"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
26
)]).
then
(
function
(){
var
t
=
[
n
(
"q5av"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"素材管理"
,
routerName
:
"weChatResource"
,
path
:
"/weChatResource"
,
cover
:
"7-4"
,
router
:{
path
:
"/weChatResource"
,
name
:
"weChatResource"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
27
)]).
then
(
function
(){
var
t
=
[
n
(
"Xhqp"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"二维码管理"
,
routerName
:
"qrcode"
,
path
:
"/qrcode"
,
cover
:
"7-6"
,
router
:{
path
:
"/qrcode"
,
name
:
"qrcode"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
17
)]).
then
(
function
(){
var
t
=
[
n
(
"lNiQ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"群发助手"
,
routerName
:
"groupSend"
,
path
:
"/groupSend"
,
cover
:
"7-7"
,
router
:{
path
:
"/groupSend"
,
name
:
"groupSend"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
10
)]).
then
(
function
(){
var
t
=
[
n
(
"oerw"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"关注取关统计"
,
routerName
:
"watchCount"
,
path
:
"/watchCount"
,
cover
:
"7-8"
,
router
:{
path
:
"/watchCount"
,
name
:
"watchCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
51
)]).
then
(
function
(){
var
t
=
[
n
(
"Dq6T"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"微信统计"
,
routerName
:
"weChatStatistics"
,
path
:
"/weChatStatistics"
,
cover
:
"7-10"
,
router
:{
path
:
"/weChatStatistics"
,
name
:
"weChatStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
54
)]).
then
(
function
(){
var
t
=
[
n
(
"5t3x"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"测试"
,
routerName
:
"test"
,
path
:
"/test"
,
cover
:
"7-11"
,
router
:{
path
:
"/test"
,
name
:
"test"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
31
)]).
then
(
function
(){
var
t
=
[
n
(
"9ZSL"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
36
)]).
then
(
function
(){
var
t
=
[
n
(
"CGL6"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"7-9"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
46
)]).
then
(
function
(){
var
t
=
[
n
(
"NrkQ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"来源码管理"
,
routerName
:
"sourceManage"
,
path
:
"/sourceManage"
,
cover
:
"10-1"
,
router
:{
path
:
"/sourceManage"
,
name
:
"sourceManage"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
37
)]).
then
(
function
(){
var
t
=
[
n
(
"/ubI"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"短信发送记录"
,
routerName
:
"smsRecord"
,
path
:
"/smsRecord"
,
cover
:
"10-2"
,
router
:{
path
:
"/smsRecord"
,
name
:
"smsRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
29
)]).
then
(
function
(){
var
t
=
[
n
(
"qjS+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
48
)]).
then
(
function
(){
var
t
=
[
n
(
"TPCG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
42
)]).
then
(
function
(){
var
t
=
[
n
(
"+jTk"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"角色管理"
,
routerName
:
"role"
,
path
:
"/role"
,
cover
:
"8-2"
,
router
:{
path
:
"/role"
,
name
:
"role"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
44
)]).
then
(
function
(){
var
t
=
[
n
(
"Vt1u"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"菜单管理"
,
routerName
:
"menu"
,
path
:
"/menu"
,
cover
:
"8-3"
,
router
:{
path
:
"/menu"
,
name
:
"menu"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
56
)]).
then
(
function
(){
var
t
=
[
n
(
"aTXs"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"sysConfig"
,
path
:
"/sysConfig"
,
cover
:
"8-4"
,
router
:{
path
:
"/sysConfig"
,
name
:
"sysConfig"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
32
)]).
then
(
function
(){
var
t
=
[
n
(
"gaNG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"操作日志"
,
routerName
:
"adminLog"
,
path
:
"/adminLog"
,
cover
:
"8-5"
,
router
:{
path
:
"/adminLog"
,
name
:
"adminLog"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
41
)]).
then
(
function
(){
var
t
=
[
n
(
"WZgi"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]}],
a
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
t
=
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
([
n
.
e
(
0
),
n
.
e
(
11
)]).
then
(
function
(){
var
t
=
[
n
(
"9PRC"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}},
i
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
6
)]).
then
(
function
(){
var
t
=
[
n
(
"hFUZ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}};
o
.
forEach
(
function
(
n
){
var
o
=!
1
,
u
=
[];
n
.
list
.
forEach
(
function
(
n
){
var
a
=
t
.
find
(
function
(
e
){
return
e
.
cover
===
n
.
cover
});
a
&&
(
n
.
router
.
meta
=
{},
n
.
router
.
meta
.
readonly
=!!
a
.
readonly
,
n
.
router
.
meta
.
delete
=!!
a
.
delete
,
n
.
router
.
meta
.
export
=!!
a
.
export
,
n
.
router
.
meta
.
refund
=!!
a
.
refund
,
n
.
router
.
meta
.
distribution
=!!
a
.
distribution
,
n
.
router
.
meta
.
classManage
=!!
a
.
classManage
,
n
.
router
.
meta
.
classManageUnlimited
=!!
a
.
classManageUnlimited
,
n
.
router
.
meta
.
promoter
=!!
a
.
promoter
,
u
.
push
(
n
),
"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
(
n
.
router
),
o
=!
0
)}),
o
&&
(
n
.
list
=
u
,
a
.
push
(
n
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
a
)}}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
e
){
n
(
"lD5B"
)},
null
,
null
).
exports
,
u
=
n
(
"lRwf"
),
c
=
n
.
n
(
u
),
l
=
n
(
"YaEn"
),
s
=
n
(
"IcnI"
),
m
=
n
(
"zL8q"
),
p
=
n
.
n
(
m
);
c
.
a
.
use
(
p
.
a
),
c
.
a
.
config
.
productionTip
=!
1
,
new
c
.
a
({
el
:
"#app"
,
store
:
s
.
a
,
router
:
l
.
a
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
OMN4
:
function
(
e
,
t
){
e
.
exports
=
axios
},
YaEn
:
function
(
e
,
t
,
n
){
"use strict"
;
var
o
=
n
(
"IcnI"
),
a
=
n
(
"/ocq"
),
r
=
n
(
"zSLJ"
),
i
=
new
a
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
7
)]).
then
(
function
(){
var
t
=
[
n
(
"jHcp"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
n
.
e
(
30
).
then
(
function
(){
var
t
=
[
n
(
"sJm1"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
52
)]).
then
(
function
(){
var
t
=
[
n
(
"0HId"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/outManager"
,
name
:
"outManager"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
50
)]).
then
(
function
(){
var
t
=
[
n
(
"hLMI"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
47
)]).
then
(
function
(){
var
t
=
[
n
(
"iPJD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/newLesson"
,
name
:
"newLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
3
)]).
then
(
function
(){
var
t
=
[
n
(
"4t0V"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
i
.
beforeEach
(
function
(
e
,
t
,
n
){
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
l
=
u
.
list
[
c
];
l
.
path
===
e
.
path
&&
(
a
=
l
)}
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
),
console
.
log
(
e
.
meta
),
"userDetail"
===
e
.
name
){
var
s
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
o
.
a
.
dispatch
(
"readonly"
,
s
)}
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
?
n
({
path
:
"/login"
}):
n
()}),
i
.
onError
(
function
(
e
){
var
t
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
n
=
i
.
history
.
pending
.
fullPath
;
t
&&
i
.
replace
(
n
)}),
t
.
a
=
i
},
lD5B
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
zSLJ
:
function
(
e
,
t
,
n
){
"use strict"
;
t
.
a
=
{
set
:
function
(
e
,
t
,
n
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
n
),
window
.
document
.
cookie
=
e
+
"="
+
t
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
t
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
t
?
t
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.96edc69b52b6af1f7410.js
0 → 100644
View file @
13131c87
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
59
:
0
};
function
d
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
a
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ca8551b8563f1afabcc0"
,
1
:
"d8b0676de9833b9021c7"
,
2
:
"5e6646315ae04b68360f"
,
3
:
"308ac190d708f733a364"
,
4
:
"3ed3c98f0e8bb8f4ef9c"
,
5
:
"ad9300c494d4c666286a"
,
6
:
"38ce216bfbb49211be9f"
,
7
:
"1157891ad5749be5d64b"
,
8
:
"a4fe446cc35fde868e60"
,
9
:
"e49c8141a4ef2734a0e5"
,
10
:
"4a2a058fcfdc3a9ede7b"
,
11
:
"77b0b715272bfe303c20"
,
12
:
"7c180d5981bcb5433992"
,
13
:
"9c5d5f1f83b6129f498c"
,
14
:
"1e38b6fdde5584ef3181"
,
15
:
"52f3190e2b6e37ce517b"
,
16
:
"91106ddf055a867a2b98"
,
17
:
"a794e0f38ab5137556b3"
,
18
:
"c35f05005c52cabe7a24"
,
19
:
"934769d40f2856534a7b"
,
20
:
"5475c964eccb15a80955"
,
21
:
"ac6f1f47f0e69a69e851"
,
22
:
"bf963b5ed91ba1fb678e"
,
23
:
"dd16e9f3be25b283a07b"
,
24
:
"33816da4d42f0b109c1a"
,
25
:
"5499cab5ab4497b0e45b"
,
26
:
"2c7281b9cc34e7903508"
,
27
:
"942372ddcb3494d33291"
,
28
:
"dff1313541beec47ffcb"
,
29
:
"65bf42ad1887cf2b948e"
,
30
:
"3eb7e7a7715e62c5de5e"
,
31
:
"d0edc9700f5efa5efbca"
,
32
:
"24fa6f4fcdbe8fbe125d"
,
33
:
"286019c2c47106096b06"
,
34
:
"3e4b421119ac865ddd38"
,
35
:
"4e0aa7e86d8aeaeda4ce"
,
36
:
"a8b70a1bfbaed393b163"
,
37
:
"7c85f847967402dd7e55"
,
38
:
"1c86a4d4e7d757c4c511"
,
39
:
"c86f142e587554b79a16"
,
40
:
"50fcf555a30fb1cd8238"
,
41
:
"420efca685d2e4644b27"
,
42
:
"8099572a329ce3071e67"
,
43
:
"6dfefaf3a648746d5cb4"
,
44
:
"ad6fdf3e141b5549a687"
,
45
:
"83680e020ce50daffa54"
,
46
:
"3aeaae3569c063b74729"
,
47
:
"7f44d6cb5cc4435d0968"
,
48
:
"ab299efdfc633327e6e3"
,
49
:
"f76a19201df3442d8d55"
,
50
:
"dee77681c26bb297b91c"
,
51
:
"6bf290c8aa4503a54c02"
,
52
:
"10cfed150dabcd566a72"
,
53
:
"3f5786a6123130a25da5"
,
54
:
"0b2a5d55d346336b79c0"
,
55
:
"13f76f726131d89f89c2"
,
56
:
"0211d693d9108d37aa6b"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/class/index.vue
View file @
13131c87
...
@@ -388,7 +388,7 @@
...
@@ -388,7 +388,7 @@
}
}
console
.
log
(
this
.
periods
)
console
.
log
(
this
.
periods
)
getClassListApi
(
this
.
periods
.
id
,
json
).
then
(
res
=>
{
getClassListApi
(
this
.
periods
.
id
,
json
).
then
(
res
=>
{
debugger
//
debugger
res
.
list
.
forEach
(
data
=>
{
res
.
list
.
forEach
(
data
=>
{
data
.
arrive_course_rate
=
0
;
data
.
arrive_course_rate
=
0
;
data
.
watch_course_rate
=
0
;
data
.
watch_course_rate
=
0
;
...
...
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