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
3fb4993c
Commit
3fb4993c
authored
Aug 14, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
814
parent
ac9d3c71
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
13 additions
and
2 deletions
+13
-2
index.html
dev/index.html
+1
-1
46.da2784afdb15eaa3d3a7.js
dev/static/js/46.da2784afdb15eaa3d3a7.js
+1
-0
manifest.c901230a626e450396cf.js
dev/static/js/manifest.c901230a626e450396cf.js
+1
-0
index.html
dist/index.html
+1
-1
app.6365c633d5d3875c47c8d1f9f3df3993.css
dist/static/css/app.6365c633d5d3875c47c8d1f9f3df3993.css
+1
-0
43.a6e6bd7150bad2b7621f.js
dist/static/js/43.a6e6bd7150bad2b7621f.js
+1
-0
44.f3f98a3273994d34a7c6.js
dist/static/js/44.f3f98a3273994d34a7c6.js
+1
-0
45.3abf016a7197b02378f5.js
dist/static/js/45.3abf016a7197b02378f5.js
+1
-0
46.25f1e84eb915e58b73cf.js
dist/static/js/46.25f1e84eb915e58b73cf.js
+1
-0
47.9ec22fb69039ae95a1eb.js
dist/static/js/47.9ec22fb69039ae95a1eb.js
+1
-0
48.b008df9255d7a949f8ad.js
dist/static/js/48.b008df9255d7a949f8ad.js
+1
-0
app.f26eec2b8e120681b02f.js
dist/static/js/app.f26eec2b8e120681b02f.js
+1
-0
manifest.e2b233f1b661ddcd4767.js
dist/static/js/manifest.e2b233f1b661ddcd4767.js
+1
-0
No files found.
dev/index.html
View file @
3fb4993c
<!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.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
679cbe61245840d42345
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.e17f712b043f8cffc82a.js
></script><script
type=
text/javascript
src=
/static/js/app.26d3f70b300463e08311.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.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
c901230a626e450396cf
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.e17f712b043f8cffc82a.js
></script><script
type=
text/javascript
src=
/static/js/app.26d3f70b300463e08311.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.da2784afdb15eaa3d3a7.js
0 → 100644
View file @
3fb4993c
webpackJsonp
([
46
],{
"4tei"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
s
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
type
:
"1"
,
teacher_id
:
""
,
staff_id
:
""
},
teacherList
:[],
staffList
:[],
tableData
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
loading
:
!
1
}},
components
:{
page
:
a
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getTeacherList
(),
this
.
getStaffList
(),
this
.
getData
()},
filters
:{
reasonFormat
:
function
(
t
){
var
e
=
""
;
return
[{
id
:
0
,
name
:
"人员入职"
},{
id
:
1
,
name
:
"人员离职"
},{
id
:
2
,
name
:
"请假"
},{
id
:
3
,
name
:
"其它"
}].
forEach
(
function
(
a
){
a
.
id
==
t
&&
(
e
=
a
.
name
)}),
e
}},
methods
:{
getTeacherList
:
function
(){
var
t
=
this
;
Object
(
n
.
_112
)({
page
:
1
,
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
})},
getStaffList
:
function
(){
var
t
=
this
;
Object
(
n
.
_98
)({
page
:
1
,
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
staffList
=
e
.
list
})},
getData
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
teacher_id
&&
(
e
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
staff_id
&&
(
e
.
staff_id
=
this
.
searchFrom
.
staff_id
),
-
1
!=
this
.
searchFrom
.
type
&&
(
e
.
type
=
this
.
searchFrom
.
type
),
Object
(
n
.
_99
)(
e
).
then
(
function
(
e
){
t
.
tableData
=
e
.
list
,
t
.
total
=
e
.
total
})},
onSearch
:
function
(
t
,
e
){
t
&&
(
this
.
searchFrom
[
t
+
"_id"
]
=
e
),
this
.
getData
()},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getData
()},
onSizeChange
:
function
(
t
){
this
.
limit
=
t
,
this
.
nowPage
=
1
,
this
.
getData
()}}},
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"user"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"设备名称"
}},[
a
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
disabled
:
!
t
.
teacherList
.
length
},
on
:{
change
:
t
.
getData
},
model
:{
value
:
t
.
searchFrom
.
teacher_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"teacher_id"
,
e
)},
expression
:
"searchFrom.teacher_id"
}},
t
.
_l
(
t
.
teacherList
,
function
(
t
,
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"顾问名称"
}},[
a
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
disabled
:
!
t
.
staffList
.
length
},
on
:{
change
:
t
.
getData
},
model
:{
value
:
t
.
searchFrom
.
staff_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"staff_id"
,
e
)},
expression
:
"searchFrom.staff_id"
}},
t
.
_l
(
t
.
staffList
,
function
(
t
,
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getData
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
getData
},
model
:{
value
:
t
.
searchFrom
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"type"
,
e
)},
expression
:
"searchFrom.type"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部使用记录"
,
name
:
"-1"
}}),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"当前使用记录"
,
name
:
"1"
}}),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"历史使用记录"
,
name
:
"2"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
data
:
t
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"ID"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"设备名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"cell-link"
,
on
:{
click
:
function
(
a
){
t
.
onSearch
(
"teacher"
,
e
.
row
.
teacher_id
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
teacher_name
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"staff_name"
,
label
:
"当前顾问"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"cell-link"
,
on
:{
click
:
function
(
a
){
t
.
onSearch
(
"staff"
,
e
.
row
.
staff_id
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
staff_name
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"移交原因"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"reasonFormat"
)(
e
.
row
.
reason
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"设备开始使用时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"设备使用结束时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
"0000-00-00 00:00:00"
==
e
.
row
.
over_at
?
"-"
:
e
.
row
.
over_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
)};
r
.
_withStripped
=!
0
;
var
i
=
{
render
:
r
,
staticRenderFns
:[]},
o
=
i
;
var
l
=!
1
;
var
c
=
a
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
t
){
l
||
a
(
"sK78"
)},
"data-v-cf69d9d8"
,
null
);
c
.
options
.
__file
=
"src
\\
components
\\
system
\\
staffRecord.vue"
;
e
.
default
=
c
.
exports
},
"99gZ"
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.user[data-v-cf69d9d8] {
\n
/*height: 100%;*/
\n
overflow: auto;
\n
padding: 20px 0;
\n
}
\n
.user .btn-content[data-v-cf69d9d8] {
\n
text-align: center;
\n
}
\n
.user .page-div[data-v-cf69d9d8] {
\n
padding-top: 20px;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/system/staffRecord.vue"
],
names
:[],
mappings
:
";AACA;EACE,iBAAiB;EACjB,eAAe;EACf,gBAAgB;CACjB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB"
,
file
:
"staffRecord.vue"
,
sourcesContent
:[
"
\n
.user[data-v-cf69d9d8] {
\n
/*height: 100%;*/
\n
overflow: auto;
\n
padding: 20px 0;
\n
}
\n
.user .btn-content[data-v-cf69d9d8] {
\n
text-align: center;
\n
}
\n
.user .page-div[data-v-cf69d9d8] {
\n
padding-top: 20px;
\n
}
\n
"
],
sourceRoot
:
""
}])},
sK78
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"99gZ"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"37eb7c5c"
,
n
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/manifest.c901230a626e450396cf.js
0 → 100644
View file @
3fb4993c
!
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
=
{
73
:
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
:
"bb9c73b269e32912d4f9"
,
1
:
"2e662c3669ee86bf9f96"
,
2
:
"aaf67bba437922eee62d"
,
3
:
"8ea6fdcfd8f46913476a"
,
4
:
"16b223d5652398e52691"
,
5
:
"9bc1cb6928f4d8a76d84"
,
6
:
"642e1e7bd32162f3466f"
,
7
:
"f2bcdd0454c0ef02a67f"
,
8
:
"ea75e758386b24475a68"
,
9
:
"7ff64e20489dbd6ef591"
,
10
:
"e84121479d160a906b96"
,
11
:
"ea003377a45110fb8533"
,
12
:
"9d5d20ebc6e7c9c4d16d"
,
13
:
"5846f7712ac30dcea2c9"
,
14
:
"4263541ccf2f3c383d44"
,
15
:
"e28be0c804d03b4b1772"
,
16
:
"cb2d55614d0bbca15441"
,
17
:
"091228f0725776097583"
,
18
:
"b154c417f09a47fa818d"
,
19
:
"1e9f66a0d124bb915224"
,
20
:
"64fc5ea1ff8059e5e194"
,
21
:
"ae135f845d1a2399c64e"
,
22
:
"6c612139d971526327bb"
,
23
:
"e93c6feb862a38b62b33"
,
24
:
"293d5ebaf6d436b09f25"
,
25
:
"2cc8f85527653dd2ea8a"
,
26
:
"54499cd1b2e4136c3322"
,
27
:
"cbd1f14ea8459cdc523f"
,
28
:
"27e0be14db0b302f2b18"
,
29
:
"f6f2b79af6173afde29f"
,
30
:
"37d3ff7c8f46c888c00f"
,
31
:
"a8b24c9276375d6e8841"
,
32
:
"e0a6595be2d74995a950"
,
33
:
"f5c013df00eed62a4dca"
,
34
:
"e853c96815a6e97497d6"
,
35
:
"42cd2ab7093f20f22b8d"
,
36
:
"3a5e579e09e3dadae0df"
,
37
:
"1e422ea84dc78ce45d88"
,
38
:
"a109e74c89849c1009c9"
,
39
:
"78aa12bff38f31a7418e"
,
40
:
"7079c4a1c8249a2a1886"
,
41
:
"1e28bdfe96b606d751a4"
,
42
:
"0e33d8489572470ad249"
,
43
:
"1fa1f433409ca9d799b0"
,
44
:
"02a1e5d2c35a2112852e"
,
45
:
"76412844b4c8d7397854"
,
46
:
"da2784afdb15eaa3d3a7"
,
47
:
"dbbe737e2b5cdf5120a5"
,
48
:
"0a56b2e8cded7536605c"
,
49
:
"2bef17ca92260964110f"
,
50
:
"3845d6551721972a30c0"
,
51
:
"9948210c0c42b3ca42b6"
,
52
:
"e2d3302988e3216555a5"
,
53
:
"3be3d0c6bd9f4be64506"
,
54
:
"1685f8c534d136c9a18f"
,
55
:
"aa82545f4fd5bbba4499"
,
56
:
"38fadc7527cd386a22e2"
,
57
:
"301eb97ac852c9ac1e72"
,
58
:
"a02fa31df751466c1c66"
,
59
:
"04bb4bde128d457015af"
,
60
:
"cdbff1265bf71982ba8f"
,
61
:
"9feac9375d4c1cd84431"
,
62
:
"68b458d68c66dc7e0f3a"
,
63
:
"07dab85e0749d929647f"
,
64
:
"803d196ea9bfb44a9d7a"
,
65
:
"1a25ee4f3b00aba1e025"
,
66
:
"665af2c3f174bcb04e93"
,
67
:
"57863445ab51e8844fdf"
,
68
:
"4e84e9f482535849d31a"
,
69
:
"833df54c151d34d09cd0"
,
70
:
"315688773d1677e814e8"
}[
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
dist/index.html
View file @
3fb4993c
<!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.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
0c4231e9ef1a4af6ab1e9720958c4cfb.css
rel=
stylesheet
></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.6be93f31549d5445c81b.js
></script><script
type=
text/javascript
src=
/static/js/vendor.237bf7c34b305d463b3a.js
></script><script
type=
text/javascript
src=
/static/js/app.7caa46035a6eb801894b
.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.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
6365c633d5d3875c47c8d1f9f3df3993.css
rel=
stylesheet
></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.e2b233f1b661ddcd4767.js
></script><script
type=
text/javascript
src=
/static/js/vendor.237bf7c34b305d463b3a.js
></script><script
type=
text/javascript
src=
/static/js/app.f26eec2b8e120681b02f
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dist/static/css/app.6365c633d5d3875c47c8d1f9f3df3993.css
0 → 100644
View file @
3fb4993c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/43.a6e6bd7150bad2b7621f.js
0 → 100644
View file @
3fb4993c
webpackJsonp
([
43
],{
PnQL
:
function
(
t
,
e
){},
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
,
teacherTypeDialog
:
!
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
:[],
teacherTypeList
:[],
goodsList
:[]}},
mounted
:
function
(){
this
.
second
()},
filters
:{},
methods
:{
initTeacherType
:
function
(
t
){
this
.
dialogTitle
=
"编辑设备类型"
,
this
.
teacherTypeDialog
=!
0
,
this
.
formData
=
t
},
addTeacherType
:
function
(){
this
.
dialogTitle
=
"新增设备类型"
,
this
.
teacherTypeDialog
=!
0
},
editTeacherType
:
function
(){
var
t
=
this
;
"新增设备类型"
==
this
.
dialogTitle
?
Object
(
o
.
_151
)({
teacher_type_name
:
this
.
formData
.
name
}).
then
(
function
(
e
){
Object
(
o
.
_115
)().
then
(
function
(
e
){
t
.
teacherTypeList
=
e
,
t
.
teacherTypeDialog
=!
1
})}):
Object
(
o
.
_158
)({
teacher_type_name
:
this
.
formData
.
name
,
type
:
this
.
formData
.
type
}).
then
(
function
(
e
){
Object
(
o
.
_115
)().
then
(
function
(
e
){
t
.
teacherTypeList
=
e
,
t
.
teacherTypeDialog
=!
1
})})},
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
.
_155
)(
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
.
_148
)(
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
.
_129
)().
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
.
_100
)().
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
.
_101
)().
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
.
_129
)().
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
.
_100
)().
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
.
_101
)().
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
.
_141
)(
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
.
_129
)().
then
(
function
(
t
){
e
.
yunjiList
=
t
}),
"10"
===
t
&&
Object
(
o
.
_100
)().
then
(
function
(
t
){
e
.
starList
=
t
}),
"11"
===
t
&&
Object
(
o
.
_101
)().
then
(
function
(
t
){
e
.
starV2List
=
t
}),
"12"
===
t
&&
Object
(
o
.
_96
)().
then
(
function
(
t
){
e
.
sourceStudentList
=
t
}),
"13"
===
t
&&
Object
(
o
.
_115
)().
then
(
function
(
t
){
e
.
teacherTypeList
=
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
.
_181
)(
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
.
_181
)(
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
.
_181
)(
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
.
_181
)(
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
.
_181
)(
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
.
_181
)(
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
.
_181
)(
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
.
_181
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})})})}}},
a
=
{
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
(
"添加期数"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
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
:
"操作"
,
width
:
"120px"
},
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
(
"删除"
)])]}}])})],
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
(
"添加期数"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
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
:
"操作"
,
width
:
"120px"
},
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
"
)])]}}])})],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"活动方案列表"
,
name
:
"12"
}},[
i
(
"div"
,[
i
(
"el-button"
,{
on
:{
click
:
t
.
addSource
}},[
t
.
_v
(
"添加列表"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
attrs
:{
data
:
t
.
sourceStudentList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"来源名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"type"
,
label
:
"type"
,
width
:
"80px"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"160px"
},
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
(
"删除"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
initSource
(
e
.
row
)}}},[
t
.
_v
(
"编辑"
)])]}}])})],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"设备列表"
,
name
:
"13"
}},[
i
(
"div"
,[
i
(
"el-button"
,{
on
:{
click
:
t
.
addTeacherType
}},[
t
.
_v
(
"
\n
添加设备
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
teacherTypeList
}},[
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
:
""
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
initTeacherType
(
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-form"
,[
i
(
"el-form-item"
,{
attrs
:{
label
:
"选择期数"
}},[
i
(
"el-cascader"
,{
staticStyle
:{
width
:
"480px"
},
attrs
:{
"popper-class"
:
"refresh-cascader-multi width-480"
,
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"
}})],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
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"
:
"80px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"来源名称"
}},[
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
autosize
:{
minRows
:
2
}},
model
:{
value
:
t
.
formData
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"name"
,
e
)},
expression
:
"formData.name"
}})],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
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
.
teacherTypeDialog
},
on
:{
"update:visible"
:
function
(
e
){
t
.
teacherTypeDialog
=
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
.
teacherTypeDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
editTeacherType
}},[
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
r
=
i
(
"VU/8"
)(
n
,
a
,
!
1
,
function
(
t
){
i
(
"PnQL"
)},
"data-v-c1d4cc16"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/44.f3f98a3273994d34a7c6.js
0 → 100644
View file @
3fb4993c
webpackJsonp
([
44
],{
h0PA
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
o
=
a
(
"Ix4X"
),
s
=
(
a
(
"sf/l"
),{
name
:
"channelConversionList"
,
data
:
function
(){
var
e
=
this
;
return
{
updateTime
:
""
,
typeList
:[],
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
payTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
spanArr
:[],
contentSpanArr
:[],
searchFrom
:{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
},
propertyList
:[],
watchList
:[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}],
goodList
:[]}},
filters
:{
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
g
[
e
.
goods_type
]
+
"]【"
+
e
.
current_price
/
100
+
"元】"
+
e
.
name
}},
components
:{
page
:
a
(
"kmJW"
).
a
},
methods
:{
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
o
.
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
()},
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
.
type_id
&&
(
t
.
type_id
=
this
.
searchFrom
.
type_id
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
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
.
_43
)(
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
=
[]})},
getUpdateTime
:
function
(){
var
e
=
this
;
Object
(
r
.
_118
)().
then
(
function
(
t
){
t
.
time
&&
(
e
.
updateTime
=
t
.
time
)})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsOption
(),
this
.
getUpdateTime
()}}),
i
=
{
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"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"update-time"
},[
e
.
_v
(
"最近更新时间:"
+
e
.
_s
(
e
.
updateTime
?
e
.
updateTime
:
"-"
))]),
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
(
e
.
_s
(
0
==
t
.
row
.
is_other
?
"内部"
:
"外部"
))]}}])}),
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
:
"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
(
e
.
_s
(
t
.
row
.
class_num_except_total_num
)
+
"%"
)]}}])}),
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
(
e
.
_s
(
t
.
row
.
friend_num_except_total_num
)
+
"%"
)]}}])}),
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
(
e
.
_s
(
t
.
row
.
come_num_except_total_num
)
+
"%"
)]}}])}),
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
(
e
.
_s
(
t
.
row
.
sum_buy_num_except_total_num
)
+
"%"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
width
:
"120"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
width
:
"120"
,
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
l
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"t/Ac"
)},
null
,
null
);
t
.
default
=
l
.
exports
},
"t/Ac"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/45.3abf016a7197b02378f5.js
0 → 100644
View file @
3fb4993c
webpackJsonp
([
45
],{
"S+ab"
:
function
(
e
,
t
){},
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"
,
"10-8"
],
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
),
"6-3"
!==
t
.
cover
&&
"5-3"
!==
t
.
cover
&&
"5-9"
!==
t
.
cover
||
(
t
.
import
=!
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
),
"6-3"
!==
e
.
cover
&&
"5-3"
!==
e
.
cover
&&
"5-9"
!==
e
.
cover
||
(
e
.
import
=!
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
){
t
.
dialog
.
form
.
name
=
e
.
name
,
t
.
dialog
.
form
.
menu_ids
=
JSON
.
parse
(
e
.
menu_ids
),
console
.
log
(
t
.
dialog
.
form
.
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
(
o
){
o
.
id
===
e
.
id
&&
(
o
.
readonly
=!!
e
.
readonly
,
o
.
delete
=!!
e
.
delete
,
t
.
exportMenuList
.
indexOf
(
e
.
cover
)
>-
1
&&
(
o
.
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"
!==
e
.
cover
||
(
o
.
refund
=!!
e
.
refund
),
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
&&
"3-2"
!==
e
.
cover
||
(
o
.
classManage
=!!
e
.
classManage
,
o
.
classManageUnlimited
=!!
e
.
classManageUnlimited
,
o
.
classTakeUnlimited
=!!
e
.
classTakeUnlimited
),
"6-3"
!==
e
.
cover
&&
"5-3"
!==
e
.
cover
&&
"5-9"
!==
e
.
cover
||
(
o
.
import
=!!
e
.
import
),
"5-9"
!==
e
.
cover
&&
"7-9"
!==
e
.
cover
||
(
o
.
distribution
=!!
e
.
distribution
),
"5-1"
===
e
.
cover
&&
(
o
.
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
.
import
&&!
0
!==
e
.
import
||
(
t
.
import
=
e
.
import
),
!
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
.
_191
)(
a
.
form
.
id
,
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
a
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
r
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
e
.
$confirm
(
"此操作将添加新角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_163
)(
r
).
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
(
" "
),
"6-3"
===
a
.
cover
||
"5-3"
===
a
.
cover
||
"5-9"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
import
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"import"
,
t
)},
expression
:
"data.import"
}},[
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
r
=
o
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
e
){
o
(
"S+ab"
)},
"data-v-99da1852"
,
null
);
t
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/46.25f1e84eb915e58b73cf.js
0 → 100644
View file @
3fb4993c
webpackJsonp
([
46
],{
lWjU
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
r
=
{
name
:
"index"
,
data
:
function
(){
var
e
=
this
;
return
{
updateTime
:
""
,
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"
],
searchFrom
:{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
},
periods_id
:
""
,
periodList
:[],
total
:
0
,
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
payTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
watchList
:[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]}},
methods
:{
periodName
:
function
(
e
){
var
t
=
""
;
return
e
.
goods_id
&&
(
t
+=
"【"
+
e
.
goods_id
+
"】"
),
e
.
periods_title
&&
(
t
+=
""
+
e
.
periods_title
),
e
.
watch_num
?
t
+=
e
.
watch_num
+
"课时<br>"
:
t
+=
"<br>"
,
e
.
start_at
&&
(
t
+=
"("
+
e
.
start_at
.
slice
(
5
).
replace
(
"-"
,
""
)
+
")"
),(
e
.
has_watch_num
||
0
==
e
.
has_watch_num
)
&&
(
t
+=
"-d"
+
e
.
has_watch_num
),
t
},
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
){
t
.
list
.
forEach
(
function
(
e
){
e
.
label
=
"【"
+
e
.
goods_id
+
"】"
+
e
.
title
+
e
.
watch_num
+
"课时("
+
e
.
start_at
.
slice
(
5
).
replace
(
"-"
,
""
)
+
")-d"
+
e
.
has_watch_num
}),
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
){},
getUpdateTime
:
function
(){
var
e
=
this
;
Object
(
i
.
_118
)().
then
(
function
(
t
){
t
.
time
&&
(
e
.
updateTime
=
t
.
time
)})}},
created
:
function
(){
this
.
getList
(),
this
.
getPeriodsOtherList
(),
this
.
getUpdateTime
()}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticStyle
:{
"padding-top"
:
"20px"
}},[
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"
,{
staticStyle
:{
width
:
"480px"
},
attrs
:{
"popper-class"
:
"refresh-select-multi width-480"
,
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
.
label
,
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
(
"div"
,{
staticClass
:
"update-time"
},[
e
.
_v
(
"最近更新时间:"
+
e
.
_s
(
e
.
updateTime
?
e
.
updateTime
:
"-"
))]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#5f5f5f"
,
color
:
"#fff"
},
data
:
e
.
list
,
size
:
"mini"
,
"row-class-name"
:
e
.
tableRowClassName
,
"span-method"
:
e
.
arraySpanMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
fixed
:
""
,
label
:
"期数名称"
,
width
:
"120px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
domProps
:{
innerHTML
:
e
.
_s
(
e
.
periodName
(
t
.
row
))}})]}}])}),
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
n
=
a
(
"VU/8"
)(
r
,
s
,
!
1
,
function
(
e
){
a
(
"q53M"
)},
"data-v-963ff4cc"
,
null
);
t
.
default
=
n
.
exports
},
q53M
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/47.9ec22fb69039ae95a1eb.js
0 → 100644
View file @
3fb4993c
webpackJsonp
([
47
],{
M7X6
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
s
=
a
(
"kmJW"
),
i
=
a
(
"+TkF"
),
n
=
a
(
"Ix4X"
),
o
=
{
name
:
"squadConversionList"
,
data
:
function
(){
var
e
=
this
;
return
{
updateTime
:
""
,
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
payTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
spanArr
:[],
contentSpanArr
:[],
searchFrom
:{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
},
propertyList
:[],
watchList
:[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]}},
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
:
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
()},
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
+
"]["
+
i
.
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
){
t
.
list
.
forEach
(
function
(
e
){
e
.
label
=
"【"
+
e
.
goods_id
+
"】"
+
e
.
title
+
e
.
watch_num
+
"课时("
+
e
.
start_at
.
slice
(
5
).
replace
(
"-"
,
""
)
+
")-d"
+
e
.
has_watch_num
}),
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
+
")"
:
""
,
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
+
s
,
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
=
[]})},
getUpdateTime
:
function
(){
var
e
=
this
;
Object
(
r
.
_118
)().
then
(
function
(
t
){
t
.
time
&&
(
e
.
updateTime
=
t
.
time
)})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
(),
this
.
getUpdateTime
()}},
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
:
"渠道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"
,{
staticStyle
:{
width
:
"480px"
},
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
.
label
,
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
(
"div"
,{
staticClass
:
"update-time"
},[
e
.
_v
(
"最近更新时间:"
+
e
.
_s
(
e
.
updateTime
?
e
.
updateTime
:
"-"
))]),
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
c
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"R/OC"
)},
null
,
null
);
t
.
default
=
c
.
exports
},
"R/OC"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/48.b008df9255d7a949f8ad.js
0 → 100644
View file @
3fb4993c
webpackJsonp
([
48
],{
"4tei"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
l
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
type
:
"1"
,
teacher_id
:
""
,
staff_id
:
""
},
teacherList
:[],
staffList
:[],
tableData
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
loading
:
!
1
}},
components
:{
page
:
a
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getTeacherList
(),
this
.
getStaffList
(),
this
.
getData
()},
filters
:{
reasonFormat
:
function
(
t
){
var
e
=
""
;
return
[{
id
:
0
,
name
:
"人员入职"
},{
id
:
1
,
name
:
"人员离职"
},{
id
:
2
,
name
:
"请假"
},{
id
:
3
,
name
:
"其它"
}].
forEach
(
function
(
a
){
a
.
id
==
t
&&
(
e
=
a
.
name
)}),
e
}},
methods
:{
getTeacherList
:
function
(){
var
t
=
this
;
Object
(
n
.
_112
)({
page
:
1
,
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
})},
getStaffList
:
function
(){
var
t
=
this
;
Object
(
n
.
_98
)({
page
:
1
,
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
staffList
=
e
.
list
})},
getData
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
teacher_id
&&
(
e
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
staff_id
&&
(
e
.
staff_id
=
this
.
searchFrom
.
staff_id
),
-
1
!=
this
.
searchFrom
.
type
&&
(
e
.
type
=
this
.
searchFrom
.
type
),
Object
(
n
.
_99
)(
e
).
then
(
function
(
e
){
t
.
tableData
=
e
.
list
,
t
.
total
=
e
.
total
})},
onSearch
:
function
(
t
,
e
){
t
&&
(
this
.
searchFrom
[
t
+
"_id"
]
=
e
),
this
.
getData
()},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getData
()},
onSizeChange
:
function
(
t
){
this
.
limit
=
t
,
this
.
nowPage
=
1
,
this
.
getData
()}}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"user"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"设备名称"
}},[
a
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
disabled
:
!
t
.
teacherList
.
length
},
on
:{
change
:
t
.
getData
},
model
:{
value
:
t
.
searchFrom
.
teacher_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"teacher_id"
,
e
)},
expression
:
"searchFrom.teacher_id"
}},
t
.
_l
(
t
.
teacherList
,
function
(
t
,
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"顾问名称"
}},[
a
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
disabled
:
!
t
.
staffList
.
length
},
on
:{
change
:
t
.
getData
},
model
:{
value
:
t
.
searchFrom
.
staff_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"staff_id"
,
e
)},
expression
:
"searchFrom.staff_id"
}},
t
.
_l
(
t
.
staffList
,
function
(
t
,
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getData
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
getData
},
model
:{
value
:
t
.
searchFrom
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"type"
,
e
)},
expression
:
"searchFrom.type"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部使用记录"
,
name
:
"-1"
}}),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"当前使用记录"
,
name
:
"1"
}}),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"历史使用记录"
,
name
:
"2"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
data
:
t
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"ID"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"设备名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"cell-link"
,
on
:{
click
:
function
(
a
){
t
.
onSearch
(
"teacher"
,
e
.
row
.
teacher_id
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
teacher_name
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"staff_name"
,
label
:
"当前顾问"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"cell-link"
,
on
:{
click
:
function
(
a
){
t
.
onSearch
(
"staff"
,
e
.
row
.
staff_id
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
staff_name
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"移交原因"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"reasonFormat"
)(
e
.
row
.
reason
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"设备开始使用时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"设备使用结束时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
"0000-00-00 00:00:00"
==
e
.
row
.
over_at
?
"-"
:
e
.
row
.
over_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
a
(
"u/Tn"
)},
"data-v-7cd6a15e"
,
null
);
e
.
default
=
i
.
exports
},
"u/Tn"
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/app.f26eec2b8e120681b02f.js
0 → 100644
View file @
3fb4993c
webpackJsonp
([
72
],{
"+LtV"
:
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
,
import
:
!
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
(
13
)]).
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
(
25
)]).
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
(
12
)]).
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
(
54
)]).
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
(
4
)]).
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
(
56
)]).
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
(
35
)]).
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
(
27
)]).
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-yonghu"
,
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
(
6
)]).
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
(
42
)]).
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
(
11
)]).
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
(
37
)]).
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
(
60
).
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
(
59
)]).
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
(
53
)]).
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
(
38
)]).
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
(
14
)]).
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
(
16
)]).
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
(
62
)]).
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
(
46
)]).
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
(
44
)]).
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
(
67
)]).
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
(
68
)]).
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
(
47
)]).
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
(
50
)]).
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
(
63
)]).
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
(
69
)]).
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
(
18
)]).
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
(
26
)]).
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
(
17
)]).
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
(
64
)]).
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
(
65
)]).
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
:
"10-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
39
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"10-6"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
57
)]).
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
(
41
)]).
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
:
"staffRecord"
,
path
:
"/staffRecord"
,
cover
:
"10-7"
,
router
:{
path
:
"/staffRecord"
,
name
:
"staffRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
48
)]).
then
(
function
(){
var
n
=
[
t
(
"4tei"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"标签管理"
,
routerName
:
"tag"
,
path
:
"/tag"
,
cover
:
"10-8"
,
router
:{
path
:
"/tag"
,
name
:
"tag"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
52
)]).
then
(
function
(){
var
n
=
[
t
(
"aK2+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"员工管理"
,
routerName
:
"staff"
,
path
:
"/staff"
,
cover
:
"10-4"
,
router
:{
path
:
"/staff"
,
name
:
"staff"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
36
)]).
then
(
function
(){
var
n
=
[
t
(
"eqK0"
)];
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
(
43
)]).
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
(
55
)]).
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
(
45
)]).
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
(
70
)]).
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
(
51
)]).
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
(
15
)]).
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
(
5
)]).
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
,
t
.
router
.
meta
.
import
=!!
a
.
import
,
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
(
"+LtV"
)},
null
,
null
).
exports
,
u
=
t
(
"lRwf"
),
c
=
t
.
n
(
u
),
s
=
t
(
"YaEn"
),
l
=
t
(
"IcnI"
),
m
=
t
(
"zL8q"
),
h
=
t
.
n
(
m
);
c
.
a
.
use
(
h
.
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
({
scrollBehavior
:
function
(){
return
{
y
:
0
}},
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
(
66
)]).
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
(
49
)]).
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
(
61
)]).
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
(
58
)]).
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
,
console
.
log
(
e
),
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
.
state
.
import
=
e
.
meta
.
import
,
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.e2b233f1b661ddcd4767.js
0 → 100644
View file @
3fb4993c
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
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
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
73
:
0
};
function
b
(
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
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
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
,
b
){
a
=
f
[
e
]
=
[
c
,
b
]});
a
[
2
]
=
c
;
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
:
"f53a7f3eb4c46f7c2d2a"
,
1
:
"c28e796baaffd0573ba0"
,
2
:
"e3dbb28da4f7ae7aa5f2"
,
3
:
"14fb05c8724e39e40890"
,
4
:
"249d882696a333f1b056"
,
5
:
"ea2e36dde326ba58f246"
,
6
:
"6b767ea9644cfb2d4413"
,
7
:
"5370f5e4564f0e3e4bea"
,
8
:
"63cd9942487fbe2fb604"
,
9
:
"92c77ec3fcb7323391d2"
,
10
:
"e5097a8f8fa5b6a16c1c"
,
11
:
"d68fc8408fa5daf3209e"
,
12
:
"a0283a3e364037c2cfcc"
,
13
:
"6432bcf5da0f013391eb"
,
14
:
"b4378d386c5682223810"
,
15
:
"c0354d97a8993a6985a2"
,
16
:
"c0ee70cadb0c0728c333"
,
17
:
"95f8785dee398f87ee8f"
,
18
:
"3e4c043f8c91aabec2c1"
,
19
:
"894e26aa2fbeba9de418"
,
20
:
"cd649ea95020bd161866"
,
21
:
"f6da9a813cf918111c54"
,
22
:
"ba1ad42a16b9fcb51d63"
,
23
:
"dc54db049546d6fa995c"
,
24
:
"e3a8cdd8c07fe508697a"
,
25
:
"388b216dbca72c148809"
,
26
:
"6e2ef6b5c718b633632b"
,
27
:
"5763676a46c6a546cc2d"
,
28
:
"568c93370bafb7f7194b"
,
29
:
"86ff29ed680991eeeb1b"
,
30
:
"56132477ffa9d5b3dc4d"
,
31
:
"1c3f1b652018be655519"
,
32
:
"0e25c66254836e16cb44"
,
33
:
"9fee0fce8afa3291b65e"
,
34
:
"e1f704368a65d997b98f"
,
35
:
"14bb995fc3e4e528b9ce"
,
36
:
"6a6878dc6c0cd53b195a"
,
37
:
"ba23f2faeafbe3dae4d3"
,
38
:
"a1cb00620df61fedd354"
,
39
:
"608b5be8b9245db0e19c"
,
40
:
"fc254b999c536faf4a3e"
,
41
:
"fb5da53f70eeed726b41"
,
42
:
"94ea670c73176deafe16"
,
43
:
"a6e6bd7150bad2b7621f"
,
44
:
"f3f98a3273994d34a7c6"
,
45
:
"3abf016a7197b02378f5"
,
46
:
"25f1e84eb915e58b73cf"
,
47
:
"9ec22fb69039ae95a1eb"
,
48
:
"b008df9255d7a949f8ad"
,
49
:
"51ac225cfabfc23f4d46"
,
50
:
"7be3238144cb6bc8d9c5"
,
51
:
"4fceda502853ad709434"
,
52
:
"ec68e0b9839fbb8434fe"
,
53
:
"eb7bf7f1c692f8ed5104"
,
54
:
"800049bec094d7fe86b6"
,
55
:
"31789f5efcbe36b19c3a"
,
56
:
"c05178643e17bcc63492"
,
57
:
"9e41f4c2a9b101259a9e"
,
58
:
"e2c34d09d96f64f134f7"
,
59
:
"bf1136d19af5e9b57025"
,
60
:
"8b6ab62362de13ba6cde"
,
61
:
"c3b9d8d14406a65f36aa"
,
62
:
"312f6d5b49d7482b5059"
,
63
:
"e0e92a1b002cd066a694"
,
64
:
"d42b54497482ba74d75f"
,
65
:
"46b1884fa217b9693461"
,
66
:
"dfb406e4eb9bc8821301"
,
67
:
"ae028858c8036120ffd4"
,
68
:
"1d4da48743cfc06042d2"
,
69
:
"51c367b967dfaed5c15a"
,
70
:
"08f3c8d885b1528d83d1"
}[
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
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
a
,
c
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
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