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
fd2f6667
Commit
fd2f6667
authored
Jun 14, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6.14
parent
2dbaf625
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
34 additions
and
5 deletions
+34
-5
index.html
dev/index.html
+1
-1
43.d603227688acf7bf3460.js
dev/static/js/43.d603227688acf7bf3460.js
+1
-0
8.a0efeccf39c3c3960a10.js
dev/static/js/8.a0efeccf39c3c3960a10.js
+1
-0
app.4380645c03dad8ce2187.js
dev/static/js/app.4380645c03dad8ce2187.js
+1
-0
manifest.86eb2abf3a664e9f0efe.js
dev/static/js/manifest.86eb2abf3a664e9f0efe.js
+1
-0
index.html
dist/index.html
+1
-1
app.d7605b2be6ac984503cff8f1f26f1a12.css
dist/static/css/app.d7605b2be6ac984503cff8f1f26f1a12.css
+1
-0
44.ad6fdf3e141b5549a687.js
dist/static/js/44.ad6fdf3e141b5549a687.js
+1
-0
45.83680e020ce50daffa54.js
dist/static/js/45.83680e020ce50daffa54.js
+1
-0
8.a4fe446cc35fde868e60.js
dist/static/js/8.a4fe446cc35fde868e60.js
+1
-0
app.c9e5583b6eee4dff3f88.js
dist/static/js/app.c9e5583b6eee4dff3f88.js
+1
-0
manifest.273734def466a58c4168.js
dist/static/js/manifest.273734def466a58c4168.js
+1
-0
App.vue
src/App.vue
+1
-0
index.vue
src/components/order/index.vue
+2
-2
role.vue
src/components/system/role.vue
+11
-1
index.js
src/router/index.js
+1
-0
actions.js
src/store/actions.js
+3
-0
index.js
src/store/index.js
+1
-0
mutations.js
src/store/mutations.js
+3
-0
No files found.
dev/index.html
View file @
fd2f6667
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
7b6846ee1e2bdd1eb56a.js
></script><script
type=
text/javascript
src=
/static/js/vendor.4f218b4f48eb4bcaf1bd.js
></script><script
type=
text/javascript
src=
/static/js/app.e10659741a0bf2ba2d79
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
86eb2abf3a664e9f0efe.js
></script><script
type=
text/javascript
src=
/static/js/vendor.4f218b4f48eb4bcaf1bd.js
></script><script
type=
text/javascript
src=
/static/js/app.4380645c03dad8ce2187
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/43.d603227688acf7bf3460.js
0 → 100644
View file @
fd2f6667
webpackJsonp
([
43
],{
TkUD
:
function
(
e
,
t
,
n
){
var
o
=
n
(
"i3sb"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
n
(
"rjj0"
)(
"70ad75b8"
,
o
,
!
1
,{})},
Vt1u
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"CCn6"
),
a
=
{
components
:{
page
:
n
(
"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"
],
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
(
o
.
_55
)().
then
(
function
(
t
){
t
&&
(
t
.
forEach
(
function
(
t
){
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
readonly
=!
1
,
t
.
delete
=!
1
,
e
.
exportMenuList
.
indexOf
(
t
.
cover
)
>-
1
&&
(
t
.
export
=!
1
),
"5-9"
!==
t
.
cover
&&
"7-9"
!==
t
.
cover
||
(
t
.
distribution
=!
1
),
"月课订单列表"
!==
t
.
name
&&
"日课订单列表"
!==
t
.
name
&&
"来源码管理"
!==
t
.
name
&&
"5-9"
!==
t
.
cover
&&
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
||
(
t
.
refund
=!
1
),
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
||
(
t
.
classManageUnlimited
=!
1
,
t
.
classManage
=!
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
(
o
.
_74
)(
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
(
o
.
_55
)().
then
(
function
(
n
){
n
&&
(
n
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
,
t
.
exportMenuList
.
indexOf
(
e
.
cover
)
>-
1
&&
(
e
.
export
=!
1
),
"5-9"
!==
e
.
cover
&&
"7-9"
!==
e
.
cover
||
(
e
.
distribution
=!
1
),
"月课订单列表"
!==
e
.
name
&&
"日课订单列表"
!==
e
.
name
&&
"来源码管理"
!==
e
.
name
&&
"5-9"
!==
e
.
cover
&&
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
||
(
e
.
refund
=!
1
),
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
||
(
e
.
classManageUnlimited
=!
1
,
e
.
classManage
=!
1
),
"5-1"
===
e
.
cover
&&
(
e
.
promoter
=!
1
)})}),
t
.
dialog
.
select
=
n
,
Object
(
o
.
_73
)(
e
.
id
).
then
(
function
(
e
){
console
.
log
(
e
),
t
.
dialog
.
form
.
name
=
e
.
name
,
t
.
dialog
.
form
.
menu_ids
=
JSON
.
parse
(
e
.
menu_ids
),
t
.
dialog
.
chooseed
=
[],
t
.
dialog
.
form
.
menu_ids
.
forEach
(
function
(
e
){
t
.
dialog
.
chooseed
.
push
(
e
.
id
),
t
.
dialog
.
select
.
forEach
(
function
(
n
){
n
.
children
&&
n
.
children
.
forEach
(
function
(
n
){
n
.
id
===
e
.
id
&&
(
n
.
readonly
=!!
e
.
readonly
,
n
.
delete
=!!
e
.
delete
,
t
.
exportMenuList
.
indexOf
(
e
.
cover
)
>-
1
&&
(
n
.
export
=!!
e
.
export
),
"5-1"
!==
e
.
cover
&&
"5-10"
!==
e
.
cover
&&
"10-1"
!==
e
.
cover
&&
"5-9"
!==
e
.
cover
&&
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
||
(
n
.
refund
=!!
e
.
refund
),
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
||
(
n
.
classManage
=!!
e
.
classManage
,
n
.
classManageUnlimited
=!!
e
.
classManageUnlimited
),
"5-9"
!==
e
.
cover
&&
"7-9"
!==
e
.
cover
||
(
n
.
distribution
=!!
e
.
distribution
),
"5-1"
===
e
.
cover
&&
(
n
.
promoter
=!!
e
.
promoter
))})})}),
t
.
dialog
.
show
=!
0
,
t
.
$nextTick
(
function
(){
this
.
$refs
.
tree
.
setCheckedKeys
(
this
.
dialog
.
chooseed
)})}))})},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增菜单"
,
this
.
dialog
.
form
.
name
=
""
,
this
.
dialog
.
form
.
menu_ids
=
[],
this
.
getMenuList
()},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
P
)(
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
n
=
[];
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
.
promoter
&&!
0
!==
e
.
promoter
||
(
t
.
promoter
=
e
.
promoter
),
!
1
!==
e
.
export
&&!
0
!==
e
.
export
||
(
t
.
export
=
e
.
export
),
!
1
!==
e
.
distribution
&&!
0
!==
e
.
distribution
||
(
t
.
distribution
=
e
.
distribution
),
t
&&
n
.
push
(
t
)});
var
a
=
e
.
dialog
;
if
(
a
.
form
.
id
){
var
i
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
n
)};
e
.
$confirm
(
"此操作将修改该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_145
)(
a
.
form
.
id
,
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
a
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
s
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
n
)};
e
.
$confirm
(
"此操作将添加新角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_117
)(
s
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
a
.
show
=!
1
,
e
.
getList
()})})}}})}}},
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"role"
},[
n
(
"div"
,{
staticClass
:
"head clear-both"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增角色"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
roleList
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"角色ID"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"角色名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
e
.
rowClick
(
t
.
row
)}}},[
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
name
))])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
n
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"1100px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"角色名称"
,
prop
:
"name"
}},[
n
(
"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
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"菜单选项"
}},[
n
(
"div"
,{
staticClass
:
"custom-tree-container"
},[
n
(
"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
o
=
t
.
node
,
a
=
t
.
data
;
return
n
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
o
.
label
))]),
e
.
_v
(
" "
),
0
!==
a
.
pid
?
n
(
"span"
,[
"5-1"
===
a
.
cover
||
"5-10"
===
a
.
cover
||
"5-9"
===
a
.
cover
?
n
(
"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
?
n
(
"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
?
n
(
"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
?
n
(
"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
?
n
(
"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
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
classManageUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classManageUnlimited"
,
t
)},
expression
:
"data.classManageUnlimited"
}},[
e
.
_v
(
"添加观摩班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-9"
===
a
.
cover
||
"7-9"
===
a
.
cover
?
n
(
"el-checkbox"
,{
on
:{
change
:
e
.
distribution
},
model
:{
value
:
a
.
distribution
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"distribution"
,
t
)},
expression
:
"data.distribution"
}},[
e
.
_v
(
"批量分配"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
exportMenuList
.
indexOf
(
a
.
cover
)
>-
1
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
export
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"export"
,
t
)},
expression
:
"data.export"
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
readonly
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"readonly"
,
t
)},
expression
:
"data.readonly"
}},[
e
.
_v
(
"只读"
)]),
e
.
_v
(
" "
),
n
(
"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
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)};
i
.
_withStripped
=!
0
;
var
s
=
{
render
:
i
,
staticRenderFns
:[]},
r
=
s
;
var
l
=!
1
;
var
c
=
n
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
e
){
l
||
n
(
"TkUD"
)},
"data-v-baf7767a"
,
null
);
c
.
options
.
__file
=
"src
\\
components
\\
system
\\
role.vue"
;
t
.
default
=
c
.
exports
},
i3sb
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.custom-tree-node[data-v-baf7767a] {
\n
-webkit-box-flex: 1;
\n
-ms-flex: 1;
\n
flex: 1;
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
-webkit-box-pack: justify;
\n
-ms-flex-pack: justify;
\n
justify-content: space-between;
\n
font-size: 14px;
\n
padding-right: 8px;
\n
}
\n
.role[data-v-baf7767a] {
\n
width: 100%;
\n
padding: 20px 0;
\n
}
\n
.role .head[data-v-baf7767a] {
\n
margin-bottom: 10px;
\n
}
\n
.role .page-div[data-v-baf7767a] {
\n
text-align: center;
\n
padding-top: 20px;
\n
}
\n
.clear-both[data-v-baf7767a]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/system/role.vue"
],
names
:[],
mappings
:
";AACA;EACE,oBAAoB;MAChB,YAAY;UACR,QAAQ;EAChB,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,0BAA0B;MACtB,uBAAuB;UACnB,+BAA+B;EACvC,gBAAgB;EAChB,mBAAmB;CACpB;AACD;EACE,YAAY;EACZ,gBAAgB;CACjB;AACD;EACE,oBAAoB;CACrB;AACD;EACE,mBAAmB;EACnB,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb"
,
file
:
"role.vue"
,
sourcesContent
:[
"
\n
.custom-tree-node[data-v-baf7767a] {
\n
-webkit-box-flex: 1;
\n
-ms-flex: 1;
\n
flex: 1;
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
-webkit-box-pack: justify;
\n
-ms-flex-pack: justify;
\n
justify-content: space-between;
\n
font-size: 14px;
\n
padding-right: 8px;
\n
}
\n
.role[data-v-baf7767a] {
\n
width: 100%;
\n
padding: 20px 0;
\n
}
\n
.role .head[data-v-baf7767a] {
\n
margin-bottom: 10px;
\n
}
\n
.role .page-div[data-v-baf7767a] {
\n
text-align: center;
\n
padding-top: 20px;
\n
}
\n
.clear-both[data-v-baf7767a]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
"
],
sourceRoot
:
""
}])}});
\ No newline at end of file
dev/static/js/8.a0efeccf39c3c3960a10.js
0 → 100644
View file @
fd2f6667
webpackJsonp
([
8
],{
"+dYf"
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"eW9u"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"e77fce0c"
,
o
,
!
1
,{})},
"1d8X"
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"Yg4o"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"8bc76fe0"
,
o
,
!
1
,{})},
"2qmY"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
i
(
"CCn6"
),
r
=
i
(
"kmJW"
),
a
=
i
(
"P0f4"
),
n
=
i
(
"xGts"
),
s
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{}},
watch
:{
"dialogObj.show"
:{
deep
:
!
0
,
handler
:
function
(){
console
.
log
(
this
.
dialogObj
)}}},
methods
:{
handlerAddressChange
:
function
(
e
){
if
(
e
.
province
&&
e
.
city
&&
e
.
district
){
this
.
dialogObj
.
detail
=
e
.
detail
,
this
.
dialogObj
.
province
=
e
.
province
,
this
.
dialogObj
.
city
=
e
.
city
,
this
.
dialogObj
.
receive_mobile
=
e
.
mobile
,
this
.
dialogObj
.
receive_name
=
e
.
name
;
var
t
=
n
.
a
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
province
}),
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
city
}),
o
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
district
});
this
.
dialogObj
.
province_name
=
t
[
0
].
label
,
this
.
dialogObj
.
city_name
=
i
[
0
].
label
,
this
.
dialogObj
.
district_name
=
o
.
length
>
0
?
o
[
0
].
label
:
i
[
0
].
children
[
0
].
label
,
this
.
dialogObj
.
district
=
o
.
length
>
0
?
o
[
0
].
value
:
i
[
0
].
children
[
0
].
value
}},
saveAddress
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
province_id
:
e
.
dialogObj
.
province
,
province_name
:
e
.
dialogObj
.
province_name
,
city_id
:
e
.
dialogObj
.
city
,
city
:
e
.
dialogObj
.
city_name
,
area
:
e
.
dialogObj
.
district_name
,
area_id
:
e
.
dialogObj
.
district
,
address
:
e
.
dialogObj
.
detail
,
receive_name
:
e
.
dialogObj
.
receive_name
,
receive_mobile
:
e
.
dialogObj
.
receive_mobile
};
Object
(
o
.
Y
)(
e
.
dialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)})})}},
components
:{
vueAddress
:
a
.
a
},
mounted
:
function
(){
console
.
log
(
this
.
dialogObj
)}},
l
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"编辑收货地址"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"vue-address"
,{
attrs
:{
province
:
e
.
dialogObj
.
province
,
city
:
e
.
dialogObj
.
city
,
district
:
e
.
dialogObj
.
district
,
detail
:
e
.
dialogObj
.
detail
,
mobile
:
e
.
dialogObj
.
receive_mobile
,
name
:
e
.
dialogObj
.
receive_name
},
on
:{
change
:
e
.
handlerAddressChange
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAddress
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)};
l
.
_withStripped
=!
0
;
var
c
=
{
render
:
l
,
staticRenderFns
:[]},
d
=
c
;
var
_
=!
1
;
var
u
=
i
(
"VU/8"
)(
s
,
d
,
!
1
,
function
(
e
){
_
||
i
(
"ri1l"
)},
"data-v-60e716f4"
,
null
);
u
.
options
.
__file
=
"src
\\
components
\\
order
\\
dialog.vue"
;
var
h
=
u
.
exports
,
m
=
i
(
"O6Rd"
),
p
=
i
(
"zA5m"
),
f
=
i
(
"kmsh"
),
v
=
i
(
"+TkF"
),
g
=
{
name
:
"detail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:{},
show
:
!
1
}},
methods
:{
initDialog
:
function
(){
this
.
detail
=
this
.
dialogObj
.
detail
,
this
.
show
=
this
.
dialogObj
.
show
}},
filters
:{
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
v
.
k
[
e
]},
status
:
function
(
e
){
return
v
.
q
[
e
]},
buyType
:
function
(
e
){
return
v
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
b
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"订单详情"
,
center
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"订单号"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
detail
.
out_trade_no
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"商品名称"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
goods_name
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"用户昵称"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
detail
.
user_nickname
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"用户手机号"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
user_mobile
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人类型"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"inviteType"
)(
e
.
detail
.
invite_type
)))]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人ID"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
invite_id
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人收益"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
invite_earnings
?
e
.
detail
.
invite_earnings
/
100
:
0
)
+
"元"
)]),
e
.
_v
(
" "
),
2
===
e
.
detail
.
buy_type
?[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"团购信息"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"团ID:"
+
e
.
_s
(
e
.
detail
.
order_group_id
)),
i
(
"br"
),
e
.
_v
(
"是否是团长:"
+
e
.
_s
(
0
===
e
.
detail
.
is_captain
?
"否"
:
"是"
))])]:
e
.
_e
()],
2
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"期数ID"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
periods_id
))]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"描述"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
desc
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"收货地址"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
20
}},[
e
.
detail
.
user_address_id
&&
e
.
detail
.
address_info
?[
e
.
_v
(
"
\n
收货人:"
+
e
.
_s
(
e
.
detail
.
address_info
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
"
\n
手机号:"
+
e
.
_s
(
e
.
detail
.
address_info
.
receive_mobile
)),
i
(
"br"
),
e
.
_v
(
"
\n
收货地址: "
+
e
.
_s
(
e
.
detail
.
address_info
.
province_name
)
+
e
.
_s
(
e
.
detail
.
address_info
.
city
)
+
e
.
_s
(
e
.
detail
.
address_info
.
area
)
+
e
.
_s
(
e
.
detail
.
address_info
.
address
)
+
"
\n
"
)]:
e
.
_e
()],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"付款时间"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
pay_at
))])],
1
)],
1
)};
b
.
_withStripped
=!
0
;
var
y
=
{
render
:
b
,
staticRenderFns
:[]},
w
=
y
;
var
x
=!
1
;
var
O
=
i
(
"VU/8"
)(
g
,
w
,
!
1
,
function
(
e
){
x
||
i
(
"cCfO"
)},
"data-v-375439e2"
,
null
);
O
.
options
.
__file
=
"src
\\
components
\\
order
\\
detail.vue"
;
var
F
=
O
.
exports
,
A
=
i
(
"G2rA"
),
j
=
(
i
(
"sf/l"
),{
name
:
"index"
,
data
:
function
(){
var
e
=
this
;
return
{
nowPage
:
1
,
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"
]}},
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
limit
:
10
,
searchFrom
:{
nickname
:
""
,
wait_into_course
:
""
,
user_id
:
""
,
invite_type
:
""
,
invite_id
:
""
,
buy_type
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
payTime
:[],
order_group_id
:
""
,
is_captain
:
""
},
tableData
:[],
dialogObj
:{
show
:
!
1
},
refundDialogObj
:{
show
:
!
1
,
id
:
""
,
money
:
0
},
dialogDetailObj
:{
show
:
!
1
,
detail
:{}},
goodList
:[],
inviteTypeOption
:
v
.
l
,
orderStatusOption
:
v
.
r
,
buyTypeOption
:
v
.
c
,
inviteSearchPlaceholder
:
""
,
rules
:{
value
:[{
required
:
!
0
,
message
:
"请输入备注"
,
trigger
:
"change"
}]},
promoterDialog
:{
show
:
!
1
,
nowPage
:
1
,
total
:
0
,
limit
:
100
,
teacher_id
:
""
},
teacherList
:[],
loading
:
!
1
,
isLeaderOption
:
v
.
n
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
i
=
e
.
getMonth
()
+
1
;
i
<
10
&&
(
i
=
"0"
+
i
);
var
o
=
e
.
getDate
();
return
o
<
10
&&
(
o
=
"0"
+
o
),
t
+
"-"
+
i
+
"-"
+
o
},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
out_trade_no
},
showCoupon
:
function
(
e
){
this
.
couponDetail
.
show
=!
0
,
this
.
couponDetail
.
order_coupon_id
=
e
.
order_coupon_id
},
showSource
:
function
(
e
){
this
.
sourceDialog
.
show
=!
0
,
this
.
sourceDialog
.
out_trade_no
=
e
.
out_trade_no
},
changeRow
:
function
(
e
,
t
){
t
.
indexOf
(
e
)
>-
1
&&
Object
(
o
.
_72
)({
out_trade_no
:
e
.
out_trade_no
}).
then
(
function
(
t
){
e
.
refundList
=
t
.
list
})},
exportTable
:
function
(){
var
e
=
{};
this
.
searchFrom
.
nickname
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
invite_type
&&
(
e
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
invite_id
&&
(
e
.
invite_id
=
this
.
searchFrom
.
invite_id
),
this
.
searchFrom
.
order_group_id
&&
(
e
.
order_group_id
=
this
.
searchFrom
.
order_group_id
),
this
.
searchFrom
.
buy_type
&&
(
e
.
buy_type
=
this
.
searchFrom
.
buy_type
),
this
.
searchFrom
.
goods_id
&&
(
e
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),(
this
.
searchFrom
.
is_captain
||
0
==
this
.
searchFrom
.
is_captain
)
&&
(
e
.
is_captain
=
this
.
searchFrom
.
is_captain
),
this
.
searchFrom
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
searchFrom
.
receive_mobile
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
e
.
pay_start_at
=
this
.
searchFrom
.
payTime
[
0
],
e
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]),
this
.
searchFrom
.
wait_into_course
&&
(
e
.
wait_into_course
=
this
.
searchFrom
.
wait_into_course
),
e
.
course_type
=
1
,
Object
(
o
.
_19
)(
"/api/admin/order/export"
,
e
)},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
o
.
_47
)({
page
:
1
,
limit
:
100
,
course_type
:
1
,
status
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
onInviteTypeChange
:
function
(
e
){
0
===
e
?
this
.
inviteSearchPlaceholder
=
"用户ID"
:
1
===
e
?
this
.
inviteSearchPlaceholder
=
"老师ID"
:
2
===
e
&&
(
this
.
inviteSearchPlaceholder
=
"推广人ID"
),
this
.
getOrderList
()},
detail
:
function
(
e
){
var
t
=
e
;
this
.
dialogDetailObj
=
{
show
:
!
0
,
detail
:
t
}},
editComment
:
function
(
e
,
t
){
var
i
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
r
=
t
.
value
;
i
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_11
)(
e
,
"order"
,{
desc
:
r
}).
then
(
function
(
e
){
i
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
i
.
getOrderList
()})})})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getOrderList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getOrderList
()},
getOrderList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
invite_id
&&
(
t
.
invite_id
=
this
.
searchFrom
.
invite_id
),
this
.
searchFrom
.
order_group_id
&&
(
t
.
order_group_id
=
this
.
searchFrom
.
order_group_id
),
this
.
searchFrom
.
buy_type
&&
(
t
.
buy_type
=
this
.
searchFrom
.
buy_type
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
toString
()),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),(
this
.
searchFrom
.
is_captain
||
0
==
this
.
searchFrom
.
is_captain
)
&&
(
t
.
is_captain
=
this
.
searchFrom
.
is_captain
),
this
.
searchFrom
.
out_trade_no
&&
(
t
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
this
.
searchFrom
.
receive_mobile
&&
(
t
.
receive_mobile
=
this
.
searchFrom
.
receive_mobile
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]),
this
.
searchFrom
.
wait_into_course
&&
(
t
.
wait_into_course
=
this
.
searchFrom
.
wait_into_course
),
t
.
course_type
=
1
,
Object
(
o
.
_59
)(
t
).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
refundList
=
[]}),
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
changeDetailShow
:
function
(
e
){
this
.
dialogDetailObj
.
show
=
e
},
changeShow
:
function
(
e
){
this
.
refundDialogObj
.
show
=
e
},
onRefund
:
function
(
e
,
t
){
this
.
refundDialogObj
.
id
=
e
,
this
.
refundDialogObj
.
money
=
t
,
this
.
refundDialogObj
.
show
=!
0
},
onAfterRefund
:
function
(){
this
.
refundDialogObj
.
show
=!
1
,
this
.
getOrderList
()},
onUpdateAddress
:
function
(){
this
.
dialogObj
.
show
=!
1
,
this
.
getOrderList
()},
editAddress
:
function
(
e
){
if
(
e
.
address_info
&&
e
.
address_info
.
province_name
){
var
t
=
n
.
a
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
province_name
});
if
(
t
&&
t
.
length
>
0
)
if
(
this
.
dialogObj
.
province
=
e
.
address_info
.
province_id
?
e
.
address_info
.
province_id
:
t
[
0
].
value
,
e
.
address_info
.
city
){
var
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
city
});
if
(
this
.
dialogObj
.
city
=
e
.
address_info
.
city_id
?
e
.
address_info
.
city_id
:
i
[
0
].
value
,
e
.
address_info
.
area
){
var
o
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
area
});
this
.
dialogObj
.
district
=
e
.
address_info
.
area_id
?
e
.
address_info
.
area_id
:
o
[
0
].
value
}
else
this
.
dialogObj
.
district
=
""
}
else
this
.
dialogObj
.
city
=
""
;
else
this
.
dialogObj
.
province
=
""
,
this
.
dialogObj
.
district
=
""
,
this
.
dialogObj
.
city
=
""
}
else
this
.
dialogObj
.
province
=
""
,
this
.
dialogObj
.
city
=
""
,
this
.
dialogObj
.
district
=
""
;
this
.
dialogObj
.
detail
=
e
.
address_info
?
e
.
address_info
.
address
:
""
,
this
.
dialogObj
.
receive_mobile
=
e
.
address_info
?
e
.
address_info
.
receive_mobile
:
""
,
this
.
dialogObj
.
receive_name
=
e
.
address_info
?
e
.
address_info
.
receive_name
:
""
,
this
.
dialogObj
.
province_name
=
e
.
address_info
?
e
.
address_info
.
province_name
:
""
,
this
.
dialogObj
.
city_name
=
e
.
address_info
?
e
.
address_info
.
city
:
""
,
this
.
dialogObj
.
district_name
=
e
.
address_info
?
e
.
address_info
.
area
:
""
,
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
show
=!
0
},
getTeacherList
:
function
(
e
){
var
t
=
this
;
this
.
loading
=!
0
;
var
i
=
{
limit
:
this
.
promoterDialog
.
limit
,
page
:
this
.
promoterDialog
.
nowPage
};
e
&&
(
i
.
name
=
e
),
Object
(
o
.
_86
)(
i
).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
,
t
.
loading
=!
1
})},
handleCurrentTeacherChange
:
function
(
e
){
console
.
log
(
"handleCurrentTeacherChange"
,
e
)},
updateTeacher
:
function
(
e
){
this
.
promoterDialog
.
show
=!
0
,
this
.
promoterDialog
.
id
=
e
.
id
,
this
.
promoterDialog
.
teacher_id
=
e
.
invite_id
,
this
.
getTeacherList
()},
remoteMethod
:
function
(
e
){
""
!==
e
?
this
.
getTeacherList
(
e
):
this
.
getTeacherList
()},
saveTeacher
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"此操作将修改推广人?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
console
.
log
(
"this.promoterDialog.teacher_id"
,
e
.
promoterDialog
),
Object
(
o
.
_141
)(
e
.
promoterDialog
.
id
,
e
.
promoterDialog
.
teacher_id
).
then
(
function
(
t
){
e
.
promoterDialog
.
id
=
""
,
e
.
promoterDialog
.
teacher_id
=
""
,
e
.
promoterDialog
.
show
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
getOrderList
()})})}},
components
:{
addressDialog
:
h
,
refundDialog
:
p
.
a
,
detailDialog
:
F
,
refundDetail
:
A
.
a
,
sourceDialog
:
m
.
a
,
couponDialog
:
f
.
a
,
page
:
r
.
a
},
mounted
:
function
(){
this
.
$route
.
query
.
code
&&
(
this
.
searchFrom
.
invite_type
=
this
.
$route
.
query
.
code
),
this
.
getOrderList
(),
this
.
getGoodsOption
()},
watch
:{},
filters
:{
isLeader
:
function
(
e
){
return
v
.
m
[
e
]},
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
v
.
k
[
e
]},
status
:
function
(
e
){
return
v
.
q
[
e
]},
buyType
:
function
(
e
){
return
v
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
v
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}}}),
C
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"order"
},[
i
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
,
size
:
"small"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
receive_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"receive_mobile"
,
t
)},
expression
:
"searchFrom.receive_mobile"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
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
,
o
){
return
i
(
"el-option"
,{
key
:
o
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticClass
:
"test"
,
attrs
:{
label
:
"来源"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
e
.
inviteSearchPlaceholder
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type
\
t"
}},[
i
(
"template"
,{
slot
:
"prepend"
},[
e
.
_v
(
"CC -"
)])],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"推广人ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
attrs
:{
placeholder
:
e
.
inviteSearchPlaceholder
},
model
:{
value
:
e
.
searchFrom
.
invite_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_id"
,
t
)},
expression
:
"searchFrom.invite_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"团ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
model
:{
value
:
e
.
searchFrom
.
order_group_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"order_group_id"
,
t
)},
expression
:
"searchFrom.order_group_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"是否团长"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
is_captain
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"is_captain"
,
t
)},
expression
:
"searchFrom.is_captain"
}},
e
.
_l
(
e
.
isLeaderOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"购买方式"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
buy_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"buy_type"
,
t
)},
expression
:
"searchFrom.buy_type"
}},
e
.
_l
(
e
.
buyTypeOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
i
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},
e
.
_l
(
e
.
orderStatusOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"是否入课"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
wait_into_course
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"wait_into_course"
,
t
)},
expression
:
"searchFrom.wait_into_course"
}},[
i
(
"el-option"
,{
attrs
:{
label
:
"已入课"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
i
(
"el-option"
,{
attrs
:{
label
:
"未入课"
,
value
:
"1"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"交易订单号"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
out_trade_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"out_trade_no"
,
t
)},
expression
:
"searchFrom.out_trade_no"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
i
(
"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
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getOrderList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
exportTable
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
size
:
"small"
,
fixed
:
""
},
on
:{
"expand-change"
:
e
.
changeRow
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
,
width
:
"120"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
i
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
),
i
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
,
width
:
"160"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"250"
,
prop
:
"invite_id"
,
className
:
"f-c"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
invite_earnings
>
0
&&
0
!==
t
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
display
:
"flex"
,
color
:
"#409eff"
,
cursor
:
"pointer"
},
on
:{
click
:
function
(
i
){
e
.
showSource
(
t
.
row
)}}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
" 类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
" ("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
),
i
(
"br"
),
e
.
_v
(
" 收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_earnings
&&
0
!==
t
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
" 类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
" ("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
),
i
(
"br"
),
e
.
_v
(
" 收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_id
?
i
(
"div"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"order_group_id"
,
label
:
"团ID"
,
width
:
"80"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"是否团长"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"isLeader"
)(
t
.
row
.
is_captain
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"优惠活动"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
===
t
.
row
.
order_coupon_id
?
i
(
"span"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
!==
t
.
row
.
order_coupon_id
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
e
.
showCoupon
(
t
.
row
)}}},[
e
.
_v
(
"
\n
优惠券
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
e
.
showRef
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
!==
t
.
row
.
status
&&
3
!==
t
.
row
.
status
?
i
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"实付金额"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"moneytFilter"
)(
t
.
row
.
money
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
user_address_id
&&
t
.
row
.
address_info
?
i
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
address_info
.
receive_mobile
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
address_info
.
province_name
)
+
e
.
_s
(
t
.
row
.
address_info
.
city
)
+
e
.
_s
(
t
.
row
.
address_info
.
area
)
+
e
.
_s
(
t
.
row
.
address_info
.
address
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"时间"
,
width
:
"280"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
下单时间:"
+
e
.
_s
(
t
.
row
.
created_at
)),
i
(
"br"
),
e
.
_v
(
"
\n
购买时间:"
+
e
.
_s
(
t
.
row
.
pay_at
)),
i
(
"br"
),
e
.
_v
(
" "
),
1
!=
t
.
row
.
buy_type
?
i
(
"div"
,[
e
.
_v
(
"
\n
成团时间:"
+
e
.
_s
(
t
.
row
.
group_success_time
)),
i
(
"br"
),
e
.
_v
(
"
\n
截止时间:"
+
e
.
_s
(
t
.
row
.
deadline
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
width
:
"50"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"400"
}},[
i
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
1
!=
t
.
row
.
status
&&
4
!=
t
.
row
.
status
&&
5
!=
t
.
row
.
status
||!
e
.
$store
.
state
.
orderRefund
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
onRefund
(
t
.
row
.
id
,
t
.
row
.
money
)}}},[
e
.
_v
(
"
\n
退款
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"info"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editComment
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"
\n
编辑备注
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
plain
:
""
,
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editAddress
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑收货地址
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
promoter
?
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
updateTeacher
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑推广人
\n
"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
e
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
e
.
_v
(
" "
),
i
(
"address-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
onUpdateAddress
}}),
e
.
_v
(
" "
),
i
(
"refund-dialog"
,{
attrs
:{
dialogObj
:
e
.
refundDialogObj
},
on
:{
reflash
:
e
.
onAfterRefund
,
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
i
(
"detail-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogDetailObj
},
on
:{
changeShow
:
e
.
changeDetailShow
}}),
e
.
_v
(
" "
),
i
(
"source-dialog"
,{
attrs
:{
dialogObj
:
e
.
sourceDialog
}}),
e
.
_v
(
" "
),
i
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
i
(
"coupon-dialog"
,{
attrs
:{
dialogObj
:
e
.
couponDetail
}}),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"修改推广人"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
promoterDialog
.
show
,
width
:
"600"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
promoterDialog
,
"show"
,
t
)}}},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
i
(
"el-select"
,{
attrs
:{
filterable
:
""
,
remote
:
""
,
clearable
:
""
,
placeholder
:
"请输入名称"
,
"remote-method"
:
e
.
remoteMethod
,
loading
:
e
.
loading
},
model
:{
value
:
e
.
promoterDialog
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
promoterDialog
,
"teacher_id"
,
t
)},
expression
:
"promoterDialog.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
user_id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
promoterDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveTeacher
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)};
C
.
_withStripped
=!
0
;
var
k
=
{
render
:
C
,
staticRenderFns
:[]},
D
=
k
;
var
T
=!
1
;
var
B
=
i
(
"VU/8"
)(
j
,
D
,
!
1
,
function
(
e
){
T
||
(
i
(
"+dYf"
),
i
(
"1d8X"
))},
"data-v-e25265f8"
,
null
);
B
.
options
.
__file
=
"src
\\
components
\\
order
\\
index.vue"
;
t
.
default
=
B
.
exports
},
"F+JO"
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
""
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"refundDialog.vue"
,
sourceRoot
:
""
}])},
TGA0
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.el-col[data-v-375439e2] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-375439e2] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-375439e2] {
\n
color: #5982e6;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/order/detail.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,eAAe;CAChB"
,
file
:
"detail.vue"
,
sourcesContent
:[
"
\n
.el-col[data-v-375439e2] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-375439e2] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-375439e2] {
\n
color: #5982e6;
\n
}
\n
"
],
sourceRoot
:
""
}])},
U05e
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.dialog-footer[data-v-60e716f4] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/order/dialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,eAAe;EACf,mBAAmB;CACpB"
,
file
:
"dialog.vue"
,
sourcesContent
:[
"
\n
.dialog-footer[data-v-60e716f4] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
Yg4o
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.f-c > .cell {
\
r
\n
display: -webkit-box !important;
\
r
\n
display: -ms-flexbox !important;
\
r
\n
display: flex !important;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row;
\
r
\n
flex-flow: row;
\
r
\n
-webkit-box-pack: start;
\
r
\n
-ms-flex-pack: start;
\
r
\n
justify-content: flex-start;
\
r
\n
-webkit-box-align: center;
\
r
\n
-ms-flex-align: center;
\
r
\n
align-items: center;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/order/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.f-c > .cell {
\
r
\n
display: -webkit-box !important;
\
r
\n
display: -ms-flexbox !important;
\
r
\n
display: flex !important;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row;
\
r
\n
flex-flow: row;
\
r
\n
-webkit-box-pack: start;
\
r
\n
-ms-flex-pack: start;
\
r
\n
justify-content: flex-start;
\
r
\n
-webkit-box-align: center;
\
r
\n
-ms-flex-align: center;
\
r
\n
align-items: center;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])},
cCfO
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"TGA0"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"dc96e79c"
,
o
,
!
1
,{})},
eW9u
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.avatar[data-v-e25265f8] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
height: 50px;
\
r
\n
margin-right: 5px;
\
r
\n
border-radius: 50%;
\n
}
\n
.order[data-v-e25265f8] {
\
r
\n
padding: 20px 0;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/order/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,kBAAkB;EAClB,mBAAmB;CACpB;AACD;EACE,gBAAgB;CACjB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.avatar[data-v-e25265f8] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
height: 50px;
\
r
\n
margin-right: 5px;
\
r
\n
border-radius: 50%;
\n
}
\n
.order[data-v-e25265f8] {
\
r
\n
padding: 20px 0;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])},
jKuw
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"F+JO"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"679c3646"
,
o
,
!
1
,{})},
ri1l
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"U05e"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"cbfcbdae"
,
o
,
!
1
,{})},
zA5m
:
function
(
e
,
t
,
i
){
"use strict"
;
var
o
=
i
(
"CCn6"
),
r
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
show
:
!
1
,
id
:
""
,
loading
:
!
0
,
form
:{
money
:
0
,
refund_type
:
1
,
desc
:
""
},
rules
:{
money
:[{
required
:
!
0
,
message
:
"请输入退款金额"
,
trigger
:
"change"
}],
desc
:[{
required
:
!
0
,
message
:
"请输入退款原因"
,
trigger
:
"change"
}]}}},
methods
:{
save
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
dialogObj
.
id
&&
e
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
i
=
{
refund_money
:
100
*
parseFloat
(
e
.
form
.
money
),
desc
:
e
.
form
.
desc
,
refund_type
:
e
.
form
.
refund_type
};
e
.
dialogObj
.
order_type
&&
(
i
.
order_type
=
e
.
dialogObj
.
order_type
),
Object
(
o
.
_113
)(
e
.
dialogObj
.
id
,
i
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"退款成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
show
=!
1
})}})})},
initDialog
:
function
(){
this
.
show
=
this
.
dialogObj
.
show
,
this
.
dialogObj
.
id
&&
(
this
.
id
=
this
.
dialogObj
.
id
),
this
.
form
.
money
=
parseFloat
(
this
.
dialogObj
.
money
/
100
),
this
.
form
.
desc
=
this
.
dialogObj
.
desc
,
this
.
loading
=!
1
}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"退款"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
show
=
t
}}},[
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
rules
:
e
.
rules
}},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退款金额"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"key"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"money"
,
t
)},
expression
:
"form.money"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
6
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
100
}}},[
e
.
_v
(
"¥100"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
150
}}},[
e
.
_v
(
"¥150"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退课"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,[
i
(
"el-switch"
,{
attrs
:{
"active-value"
:
2
,
"inactive-value"
:
1
},
model
:{
value
:
e
.
form
.
refund_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"refund_type"
,
t
)},
expression
:
"form.refund_type"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退款原因"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,[
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
form
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"desc"
,
t
)},
expression
:
"form.desc"
}})],
1
)],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"确 定"
)])],
1
)])};
a
.
_withStripped
=!
0
;
var
n
=
{
render
:
a
,
staticRenderFns
:[]},
s
=
n
;
var
l
=!
1
;
var
c
=
i
(
"VU/8"
)(
r
,
s
,
!
1
,
function
(
e
){
l
||
i
(
"jKuw"
)},
"data-v-7cbba59e"
,
null
);
c
.
options
.
__file
=
"src
\\
components
\\
order
\\
refundDialog.vue"
;
t
.
a
=
c
.
exports
}});
\ No newline at end of file
dev/static/js/app.4380645c03dad8ce2187.js
0 → 100644
View file @
fd2f6667
webpackJsonp
([
58
],{
Cwy8
:
function
(
e
,
n
,
t
){
var
a
=
t
(
"LgZj"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
t
(
"rjj0"
)(
"bf21a3b6"
,
a
,
!
1
,{})},
IcnI
:
function
(
e
,
n
,
t
){
"use strict"
;
var
a
=
t
(
"NYxO"
),
o
=
t
(
"lRwf"
),
r
=
t
.
n
(
o
),
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
},
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
(
a
.
a
);
n
.
a
=
new
a
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
export
:
!
1
,
orderRefund
:
!
1
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
distribution
:
!
1
,
classManage
:
!
1
,
classManageUnlimited
:
!
1
,
promoter
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
u
,
actions
:{
setToken
:
function
(
e
,
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
)},
promoter
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"promoter"
,
n
)}}})},
LgZj
:
function
(
e
,
n
,
t
){(
e
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
#app {
\
r
\n
height: 100%;
\n
}
\n
html,body{
\
r
\n
height: 100%;
\
r
\n
margin: 0;
\
r
\n
padding: 0;
\n
}
\n
.el-collapse-item__arrow{margin-left: 0;
\n
}
\n
.fl{float: left;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/App.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;IACI,aAAa;IACb,UAAU;IACV,WAAW;CACd;AACD,yBAAyB,eAAe;CACvC;AACD,IAAI,YAAY;CACf"
,
file
:
"App.vue"
,
sourcesContent
:[
"
\n
#app {
\
r
\n
height: 100%;
\n
}
\n
html,body{
\
r
\n
height: 100%;
\
r
\n
margin: 0;
\
r
\n
padding: 0;
\n
}
\n
.el-collapse-item__arrow{margin-left: 0;
\n
}
\n
.fl{float: left;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
a
=
[{
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
(
13
)]).
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
(
16
)]).
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
(
23
)]).
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
(
17
)]).
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
(
50
)]).
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
(
31
)]).
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
(
35
)]).
then
(
function
(){
var
n
=
[
t
(
"f9Sx"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"销售管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"教师列表"
,
routerName
:
"teacher"
,
path
:
"/teacher"
,
cover
:
"3-1"
,
router
:{
path
:
"/teacher"
,
name
:
"teacher"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
2
)]).
then
(
function
(){
var
n
=
[
t
(
"Y0Vi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
5
)]).
then
(
function
(){
var
n
=
[
t
(
"xdzM"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
53
)]).
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
(
39
)]).
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
(
22
)]).
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
(
19
)]).
then
(
function
(){
var
n
=
[
t
(
"CUAv"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"用户管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
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
(
34
)]).
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
(
26
)]).
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
(
32
)]).
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
(
49
).
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
(
52
)]).
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
(
45
)]).
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
(
28
)]).
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
(
24
)]).
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
(
18
)]).
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
(
14
)]).
then
(
function
(){
var
n
=
[
t
(
"CvLZ"
)];
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
(
15
)]).
then
(
function
(){
var
n
=
[
t
(
"+vCD"
)];
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
(
20
)]).
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
(
25
)]).
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
(
30
)]).
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
(
36
)]).
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
(
10
)]).
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
(
9
)]).
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
(
47
)]).
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
(
55
)]).
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
(
29
)]).
then
(
function
(){
var
n
=
[
t
(
"9ZSL"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"系统管理"
,
icon
:
"icon-xitongquanxian"
,
list
:[{
value
:
"首页管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"7-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
27
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"7-9"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
51
)]).
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
(
33
)]).
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
(
38
)]).
then
(
function
(){
var
n
=
[
t
(
"qjS+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
56
)]).
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
(
42
)]).
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
(
43
)]).
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
(
41
)]).
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
(
37
)]).
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
(
54
)]).
then
(
function
(){
var
n
=
[
t
(
"WZgi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]}],
o
=
{
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
o
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
12
)]).
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
(
4
)]).
then
(
function
(){
var
n
=
[
t
(
"hFUZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}};
a
.
forEach
(
function
(
t
){
var
a
=!
1
,
u
=
[];
t
.
list
.
forEach
(
function
(
t
){
var
o
=
n
.
find
(
function
(
e
){
return
e
.
cover
===
t
.
cover
});
o
&&
(
t
.
router
.
meta
=
{},
t
.
router
.
meta
.
readonly
=!!
o
.
readonly
,
t
.
router
.
meta
.
delete
=!!
o
.
delete
,
t
.
router
.
meta
.
export
=!!
o
.
export
,
t
.
router
.
meta
.
refund
=!!
o
.
refund
,
t
.
router
.
meta
.
distribution
=!!
o
.
distribution
,
t
.
router
.
meta
.
classManage
=!!
o
.
classManage
,
t
.
router
.
meta
.
classManageUnlimited
=!!
o
.
classManageUnlimited
,
t
.
router
.
meta
.
promoter
=!!
o
.
promoter
,
u
.
push
(
t
),
"3-1"
===
o
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
o
.
readonly
,
i
.
meta
.
delete
=!!
o
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
"3-2"
===
o
.
cover
&&
(
r
.
meta
=
{},
r
.
meta
.
readonly
=
o
.
readonly
,
r
.
meta
.
delete
=!!
o
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
r
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
t
.
router
),
a
=!
0
)}),
a
&&
(
t
.
list
=
u
,
o
.
push
(
t
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
o
)}}},
r
=
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)};
r
.
_withStripped
=!
0
;
var
i
=
{
render
:
r
,
staticRenderFns
:[]},
u
=
i
;
var
c
=!
1
;
var
l
=
t
(
"VU/8"
)(
o
,
u
,
!
1
,
function
(
e
){
c
||
t
(
"Cwy8"
)},
null
,
null
);
l
.
options
.
__file
=
"src
\\
App.vue"
;
var
s
=
l
.
exports
,
p
=
t
(
"lRwf"
),
m
=
t
.
n
(
p
),
h
=
t
(
"YaEn"
),
d
=
t
(
"IcnI"
),
f
=
t
(
"zL8q"
),
v
=
t
.
n
(
f
);
m
.
a
.
use
(
v
.
a
),
m
.
a
.
config
.
productionTip
=!
1
,
new
m
.
a
({
el
:
"#app"
,
store
:
d
.
a
,
router
:
h
.
a
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
OMN4
:
function
(
e
,
n
){
e
.
exports
=
axios
},
YaEn
:
function
(
e
,
n
,
t
){
"use strict"
;
var
a
=
t
(
"IcnI"
),
o
=
t
(
"/ocq"
),
r
=
t
(
"zSLJ"
),
i
=
new
o
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
7
)]).
then
(
function
(){
var
n
=
[
t
(
"jHcp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
t
.
e
(
40
).
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
(
46
)]).
then
(
function
(){
var
n
=
[
t
(
"0HId"
)];
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
(
44
)]).
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
(
48
)]).
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
(
a
.
a
.
commit
(
"mainCanShow"
),
r
.
a
.
get
(
"cc_token"
)
&&
(
a
.
a
.
dispatch
(
"setToken"
,
r
.
a
.
get
(
"cc_token"
)),
a
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
r
.
a
.
get
(
"cc_user_name"
)
&&
a
.
a
.
dispatch
(
"setUserName"
,
r
.
a
.
get
(
"cc_user_name"
))),
a
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
o
=
void
0
,
i
=
0
;
i
<
a
.
a
.
state
.
menuList
.
length
;
i
++
)
for
(
var
u
=
a
.
a
.
state
.
menuList
[
i
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
l
=
u
.
list
[
c
];
l
.
path
===
e
.
path
&&
(
o
=
l
)}
a
.
a
.
state
.
openedTab
.
indexOf
(
o
)
<
0
&&
a
.
a
.
state
.
openedTab
.
push
(
o
)}
if
(
e
.
meta
.
readonly
?
a
.
a
.
dispatch
(
"readonly"
,
!
0
):
a
.
a
.
dispatch
(
"readonly"
,
!
1
),
a
.
a
.
state
.
orderRefund
=
e
.
meta
.
refund
,
a
.
a
.
state
.
export
=
e
.
meta
.
export
,
a
.
a
.
state
.
distribution
=
e
.
meta
.
distribution
,
a
.
a
.
state
.
classManage
=
e
.
meta
.
classManage
,
a
.
a
.
dispatch
(
"promoter"
,
e
.
meta
.
promoter
),
a
.
a
.
dispatch
(
"classManageUnlimited"
,
e
.
meta
.
classManageUnlimited
),
console
.
log
(
e
.
meta
),
"userDetail"
===
e
.
name
){
var
s
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
a
.
a
.
dispatch
(
"readonly"
,
s
)}
e
.
meta
.
delete
?
a
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
a
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
a
.
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
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
+
864
e5
*
t
),
window
.
document
.
cookie
=
e
+
"="
+
n
+
";path=/;expires="
+
a
.
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
dev/static/js/manifest.86eb2abf3a664e9f0efe.js
0 → 100644
View file @
fd2f6667
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
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
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
59
:
0
};
function
b
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
c
=
f
[
e
]
=
[
a
,
b
]});
c
[
2
]
=
a
;
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
:
"d5e86fd994371cc0a072"
,
1
:
"929bf767bb9e3630b9aa"
,
2
:
"e7feab54fdb21d59cb8e"
,
3
:
"a056df155a2c6be1e835"
,
4
:
"aae6f645ea606a26fbf9"
,
5
:
"dc500c9fabc7d9d50af4"
,
6
:
"48d029170af59d5ec98d"
,
7
:
"9ca89beeb1cefa2e3b06"
,
8
:
"a0efeccf39c3c3960a10"
,
9
:
"b93cc85ab22ab8156d0e"
,
10
:
"ca5cee4bda52cefaf9d1"
,
11
:
"c19712cec6989cbf811b"
,
12
:
"86af58cc8d9cc9637bc1"
,
13
:
"a6a7457d509ed9505973"
,
14
:
"a260202c04b91e6368cd"
,
15
:
"c9ac5b8b46c07132cc9f"
,
16
:
"a4abe733b2606bb0d283"
,
17
:
"66ae5d13894f725fdd41"
,
18
:
"46d2cc5e667abb836ffc"
,
19
:
"5aca3bf85d02f0fc17a2"
,
20
:
"c4a1bb678e521cd99c68"
,
21
:
"d21de744708e0fb9bc70"
,
22
:
"7840d98dc1b31f187782"
,
23
:
"40d2494f7138288121ec"
,
24
:
"63d3ca5afe804d2aef37"
,
25
:
"0b39cc17511b46eec645"
,
26
:
"607105895c0f00a11c62"
,
27
:
"eff437d8b410e12fe562"
,
28
:
"fa8f19bc7fdc20ad2a69"
,
29
:
"8e48863e6502b74f1f5f"
,
30
:
"87f60a87381060b254c8"
,
31
:
"61423bb8ec3ae0ad976d"
,
32
:
"7f3e427312782c85bde9"
,
33
:
"fd58ea4090f4da5b49ee"
,
34
:
"0a3bcff88636547fcb76"
,
35
:
"66846ef20bddca06013c"
,
36
:
"d5127a0f32a7ff81f9a0"
,
37
:
"eae4e9d26583381fc5ea"
,
38
:
"b26b10bb0519d7e64bd3"
,
39
:
"e1880a449b5b08dc1088"
,
40
:
"e950b366c4e39a38e908"
,
41
:
"9ae5107466982fac76ce"
,
42
:
"e1f4c11ab2d634ca6b4c"
,
43
:
"d603227688acf7bf3460"
,
44
:
"44c895ea1ac8194a0b79"
,
45
:
"0694cc643878b0b89209"
,
46
:
"85f5cf5906aaa6c4868e"
,
47
:
"ec4851310426b9a8c752"
,
48
:
"46fdfd634c6114390ff2"
,
49
:
"1749a50b157804f23e0c"
,
50
:
"a69c0c888df57a281381"
,
51
:
"07a6e249fc80f51f5dae"
,
52
:
"4373e0e585f8cdeeb307"
,
53
:
"f8671b80fc7401d44ba4"
,
54
:
"eb0993455b05c5010aaf"
,
55
:
"5131812b85d5dc6c5a00"
,
56
:
"7229854169db1c125351"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
c
,
a
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
fd2f6667
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
cdfeeda172e6e326533e477d216f30ef.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.d383a5a97a00bc929367.js
></script><script
type=
text/javascript
src=
/static/js/vendor.f14e7028641dac0809c7.js
></script><script
type=
text/javascript
src=
/static/js/app.bf461ccf96f9a018ed34
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
d7605b2be6ac984503cff8f1f26f1a12.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.273734def466a58c4168.js
></script><script
type=
text/javascript
src=
/static/js/vendor.f14e7028641dac0809c7.js
></script><script
type=
text/javascript
src=
/static/js/app.c9e5583b6eee4dff3f88
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dist/static/css/app.d7605b2be6ac984503cff8f1f26f1a12.css
0 → 100644
View file @
fd2f6667
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/44.ad6fdf3e141b5549a687.js
0 → 100644
View file @
fd2f6667
webpackJsonp
([
44
],{
Vt1u
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
o
(
"CCn6"
),
a
=
{
components
:{
page
:
o
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
roleList
:[],
exportMenuList
:[
"2-3"
,
"5-10"
,
"5-2"
,
"5-1"
,
"5-3"
,
"5-8"
,
"5-9"
,
"3-1"
,
"7-9"
],
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
.
_55
)().
then
(
function
(
t
){
t
&&
(
t
.
forEach
(
function
(
t
){
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
readonly
=!
1
,
t
.
delete
=!
1
,
e
.
exportMenuList
.
indexOf
(
t
.
cover
)
>-
1
&&
(
t
.
export
=!
1
),
"5-9"
!==
t
.
cover
&&
"7-9"
!==
t
.
cover
||
(
t
.
distribution
=!
1
),
"月课订单列表"
!==
t
.
name
&&
"日课订单列表"
!==
t
.
name
&&
"来源码管理"
!==
t
.
name
&&
"5-9"
!==
t
.
cover
&&
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
||
(
t
.
refund
=!
1
),
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
||
(
t
.
classManageUnlimited
=!
1
,
t
.
classManage
=!
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
.
_74
)(
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
.
_55
)().
then
(
function
(
o
){
o
&&
(
o
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
,
t
.
exportMenuList
.
indexOf
(
e
.
cover
)
>-
1
&&
(
e
.
export
=!
1
),
"5-9"
!==
e
.
cover
&&
"7-9"
!==
e
.
cover
||
(
e
.
distribution
=!
1
),
"月课订单列表"
!==
e
.
name
&&
"日课订单列表"
!==
e
.
name
&&
"来源码管理"
!==
e
.
name
&&
"5-9"
!==
e
.
cover
&&
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
||
(
e
.
refund
=!
1
),
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
||
(
e
.
classManageUnlimited
=!
1
,
e
.
classManage
=!
1
),
"5-1"
===
e
.
cover
&&
(
e
.
promoter
=!
1
)})}),
t
.
dialog
.
select
=
o
,
Object
(
n
.
_73
)(
e
.
id
).
then
(
function
(
e
){
console
.
log
(
e
),
t
.
dialog
.
form
.
name
=
e
.
name
,
t
.
dialog
.
form
.
menu_ids
=
JSON
.
parse
(
e
.
menu_ids
),
t
.
dialog
.
chooseed
=
[],
t
.
dialog
.
form
.
menu_ids
.
forEach
(
function
(
e
){
t
.
dialog
.
chooseed
.
push
(
e
.
id
),
t
.
dialog
.
select
.
forEach
(
function
(
o
){
o
.
children
&&
o
.
children
.
forEach
(
function
(
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
||
(
o
.
refund
=!!
e
.
refund
),
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
||
(
o
.
classManage
=!!
e
.
classManage
,
o
.
classManageUnlimited
=!!
e
.
classManageUnlimited
),
"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
.
P
)(
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
.
promoter
&&!
0
!==
e
.
promoter
||
(
t
.
promoter
=
e
.
promoter
),
!
1
!==
e
.
export
&&!
0
!==
e
.
export
||
(
t
.
export
=
e
.
export
),
!
1
!==
e
.
distribution
&&!
0
!==
e
.
distribution
||
(
t
.
distribution
=
e
.
distribution
),
t
&&
o
.
push
(
t
)});
var
a
=
e
.
dialog
;
if
(
a
.
form
.
id
){
var
i
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
e
.
$confirm
(
"此操作将修改该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_145
)(
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
.
_117
)(
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
:
"1100px"
},
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
?
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
?
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
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
classManageUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classManageUnlimited"
,
t
)},
expression
:
"data.classManageUnlimited"
}},[
e
.
_v
(
"添加观摩班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-9"
===
a
.
cover
||
"7-9"
===
a
.
cover
?
o
(
"el-checkbox"
,{
on
:{
change
:
e
.
distribution
},
model
:{
value
:
a
.
distribution
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"distribution"
,
t
)},
expression
:
"data.distribution"
}},[
e
.
_v
(
"批量分配"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
exportMenuList
.
indexOf
(
a
.
cover
)
>-
1
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
export
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"export"
,
t
)},
expression
:
"data.export"
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
readonly
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"readonly"
,
t
)},
expression
:
"data.readonly"
}},[
e
.
_v
(
"只读"
)]),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
delete
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"delete"
,
t
)},
expression
:
"data.delete"
}},[
e
.
_v
(
"删除"
)])],
1
):
e
.
_e
()])}}])})],
1
)])],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
o
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
e
){
o
(
"XYil"
)},
"data-v-6c4c6c74"
,
null
);
t
.
default
=
r
.
exports
},
XYil
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/45.83680e020ce50daffa54.js
0 → 100644
View file @
fd2f6667
webpackJsonp
([
45
],{
TZwE
:
function
(
e
,
t
){},
mjLz
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
i
=
{
name
:
"dayOrderCount"
,
data
:
function
(){
var
e
=
this
;
return
{
goodsList
:[],
headList
:[],
tableData
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
,
a
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_47
)({
limit
:
99999
,
course_type
:
1
,
status
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
(),
course_type
:
1
};
Object
(
r
.
_105
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
n
=
t
+
"-"
+
a
+
"-01"
,
i
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
n
,
i
]}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
type
:
"daterange"
,
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
e
){
a
(
"TZwE"
)},
"data-v-5cc01ba2"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/8.a4fe446cc35fde868e60.js
0 → 100644
View file @
fd2f6667
webpackJsonp
([
8
],{
"2qmY"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"CCn6"
),
o
=
i
(
"kmJW"
),
r
=
i
(
"P0f4"
),
s
=
i
(
"xGts"
),
n
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{}},
watch
:{
"dialogObj.show"
:{
deep
:
!
0
,
handler
:
function
(){
console
.
log
(
this
.
dialogObj
)}}},
methods
:{
handlerAddressChange
:
function
(
e
){
if
(
e
.
province
&&
e
.
city
&&
e
.
district
){
this
.
dialogObj
.
detail
=
e
.
detail
,
this
.
dialogObj
.
province
=
e
.
province
,
this
.
dialogObj
.
city
=
e
.
city
,
this
.
dialogObj
.
receive_mobile
=
e
.
mobile
,
this
.
dialogObj
.
receive_name
=
e
.
name
;
var
t
=
s
.
a
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
province
}),
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
city
}),
a
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
district
});
this
.
dialogObj
.
province_name
=
t
[
0
].
label
,
this
.
dialogObj
.
city_name
=
i
[
0
].
label
,
this
.
dialogObj
.
district_name
=
a
.
length
>
0
?
a
[
0
].
label
:
i
[
0
].
children
[
0
].
label
,
this
.
dialogObj
.
district
=
a
.
length
>
0
?
a
[
0
].
value
:
i
[
0
].
children
[
0
].
value
}},
saveAddress
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
province_id
:
e
.
dialogObj
.
province
,
province_name
:
e
.
dialogObj
.
province_name
,
city_id
:
e
.
dialogObj
.
city
,
city
:
e
.
dialogObj
.
city_name
,
area
:
e
.
dialogObj
.
district_name
,
area_id
:
e
.
dialogObj
.
district
,
address
:
e
.
dialogObj
.
detail
,
receive_name
:
e
.
dialogObj
.
receive_name
,
receive_mobile
:
e
.
dialogObj
.
receive_mobile
};
Object
(
a
.
Y
)(
e
.
dialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)})})}},
components
:{
vueAddress
:
r
.
a
},
mounted
:
function
(){
console
.
log
(
this
.
dialogObj
)}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"编辑收货地址"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"vue-address"
,{
attrs
:{
province
:
e
.
dialogObj
.
province
,
city
:
e
.
dialogObj
.
city
,
district
:
e
.
dialogObj
.
district
,
detail
:
e
.
dialogObj
.
detail
,
mobile
:
e
.
dialogObj
.
receive_mobile
,
name
:
e
.
dialogObj
.
receive_name
},
on
:{
change
:
e
.
handlerAddressChange
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAddress
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
n
,
l
,
!
1
,
function
(
e
){
i
(
"fj09"
)},
"data-v-746d5f77"
,
null
).
exports
,
d
=
i
(
"O6Rd"
),
_
=
i
(
"zA5m"
),
u
=
i
(
"kmsh"
),
h
=
i
(
"+TkF"
),
m
=
{
name
:
"detail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:{},
show
:
!
1
}},
methods
:{
initDialog
:
function
(){
this
.
detail
=
this
.
dialogObj
.
detail
,
this
.
show
=
this
.
dialogObj
.
show
}},
filters
:{
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
h
.
k
[
e
]},
status
:
function
(
e
){
return
h
.
q
[
e
]},
buyType
:
function
(
e
){
return
h
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"订单详情"
,
center
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"订单号"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
detail
.
out_trade_no
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"商品名称"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
goods_name
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"用户昵称"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
detail
.
user_nickname
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"用户手机号"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
user_mobile
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人类型"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"inviteType"
)(
e
.
detail
.
invite_type
)))]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人ID"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
invite_id
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人收益"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
invite_earnings
?
e
.
detail
.
invite_earnings
/
100
:
0
)
+
"元"
)]),
e
.
_v
(
" "
),
2
===
e
.
detail
.
buy_type
?[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"团购信息"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"团ID:"
+
e
.
_s
(
e
.
detail
.
order_group_id
)),
i
(
"br"
),
e
.
_v
(
"是否是团长:"
+
e
.
_s
(
0
===
e
.
detail
.
is_captain
?
"否"
:
"是"
))])]:
e
.
_e
()],
2
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"期数ID"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
periods_id
))]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"描述"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
desc
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"收货地址"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
20
}},[
e
.
detail
.
user_address_id
&&
e
.
detail
.
address_info
?[
e
.
_v
(
"
\n
收货人:"
+
e
.
_s
(
e
.
detail
.
address_info
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
"
\n
手机号:"
+
e
.
_s
(
e
.
detail
.
address_info
.
receive_mobile
)),
i
(
"br"
),
e
.
_v
(
"
\n
收货地址: "
+
e
.
_s
(
e
.
detail
.
address_info
.
province_name
)
+
e
.
_s
(
e
.
detail
.
address_info
.
city
)
+
e
.
_s
(
e
.
detail
.
address_info
.
area
)
+
e
.
_s
(
e
.
detail
.
address_info
.
address
)
+
"
\n
"
)]:
e
.
_e
()],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"付款时间"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
pay_at
))])],
1
)],
1
)},
staticRenderFns
:[]};
var
v
=
i
(
"VU/8"
)(
m
,
p
,
!
1
,
function
(
e
){
i
(
"w+vU"
)},
"data-v-fcd42b82"
,
null
).
exports
,
f
=
i
(
"G2rA"
),
g
=
(
i
(
"sf/l"
),{
name
:
"index"
,
data
:
function
(){
var
e
=
this
;
return
{
nowPage
:
1
,
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"
]}},
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
limit
:
10
,
searchFrom
:{
nickname
:
""
,
wait_into_course
:
""
,
user_id
:
""
,
invite_type
:
""
,
invite_id
:
""
,
buy_type
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
payTime
:[],
order_group_id
:
""
,
is_captain
:
""
},
tableData
:[],
dialogObj
:{
show
:
!
1
},
refundDialogObj
:{
show
:
!
1
,
id
:
""
,
money
:
0
},
dialogDetailObj
:{
show
:
!
1
,
detail
:{}},
goodList
:[],
inviteTypeOption
:
h
.
l
,
orderStatusOption
:
h
.
r
,
buyTypeOption
:
h
.
c
,
inviteSearchPlaceholder
:
""
,
rules
:{
value
:[{
required
:
!
0
,
message
:
"请输入备注"
,
trigger
:
"change"
}]},
promoterDialog
:{
show
:
!
1
,
nowPage
:
1
,
total
:
0
,
limit
:
100
,
teacher_id
:
""
},
teacherList
:[],
loading
:
!
1
,
isLeaderOption
:
h
.
n
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
i
=
e
.
getMonth
()
+
1
;
i
<
10
&&
(
i
=
"0"
+
i
);
var
a
=
e
.
getDate
();
return
a
<
10
&&
(
a
=
"0"
+
a
),
t
+
"-"
+
i
+
"-"
+
a
},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
out_trade_no
},
showCoupon
:
function
(
e
){
this
.
couponDetail
.
show
=!
0
,
this
.
couponDetail
.
order_coupon_id
=
e
.
order_coupon_id
},
showSource
:
function
(
e
){
this
.
sourceDialog
.
show
=!
0
,
this
.
sourceDialog
.
out_trade_no
=
e
.
out_trade_no
},
changeRow
:
function
(
e
,
t
){
t
.
indexOf
(
e
)
>-
1
&&
Object
(
a
.
_72
)({
out_trade_no
:
e
.
out_trade_no
}).
then
(
function
(
t
){
e
.
refundList
=
t
.
list
})},
exportTable
:
function
(){
var
e
=
{};
this
.
searchFrom
.
nickname
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
invite_type
&&
(
e
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
invite_id
&&
(
e
.
invite_id
=
this
.
searchFrom
.
invite_id
),
this
.
searchFrom
.
order_group_id
&&
(
e
.
order_group_id
=
this
.
searchFrom
.
order_group_id
),
this
.
searchFrom
.
buy_type
&&
(
e
.
buy_type
=
this
.
searchFrom
.
buy_type
),
this
.
searchFrom
.
goods_id
&&
(
e
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),(
this
.
searchFrom
.
is_captain
||
0
==
this
.
searchFrom
.
is_captain
)
&&
(
e
.
is_captain
=
this
.
searchFrom
.
is_captain
),
this
.
searchFrom
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
searchFrom
.
receive_mobile
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
e
.
pay_start_at
=
this
.
searchFrom
.
payTime
[
0
],
e
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]),
this
.
searchFrom
.
wait_into_course
&&
(
e
.
wait_into_course
=
this
.
searchFrom
.
wait_into_course
),
e
.
course_type
=
1
,
Object
(
a
.
_19
)(
"/api/admin/order/export"
,
e
)},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
a
.
_47
)({
page
:
1
,
limit
:
100
,
course_type
:
1
,
status
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
onInviteTypeChange
:
function
(
e
){
0
===
e
?
this
.
inviteSearchPlaceholder
=
"用户ID"
:
1
===
e
?
this
.
inviteSearchPlaceholder
=
"老师ID"
:
2
===
e
&&
(
this
.
inviteSearchPlaceholder
=
"推广人ID"
),
this
.
getOrderList
()},
detail
:
function
(
e
){
var
t
=
e
;
this
.
dialogDetailObj
=
{
show
:
!
0
,
detail
:
t
}},
editComment
:
function
(
e
,
t
){
var
i
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
o
=
t
.
value
;
i
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
_11
)(
e
,
"order"
,{
desc
:
o
}).
then
(
function
(
e
){
i
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
i
.
getOrderList
()})})})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getOrderList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getOrderList
()},
getOrderList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
invite_id
&&
(
t
.
invite_id
=
this
.
searchFrom
.
invite_id
),
this
.
searchFrom
.
order_group_id
&&
(
t
.
order_group_id
=
this
.
searchFrom
.
order_group_id
),
this
.
searchFrom
.
buy_type
&&
(
t
.
buy_type
=
this
.
searchFrom
.
buy_type
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
toString
()),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),(
this
.
searchFrom
.
is_captain
||
0
==
this
.
searchFrom
.
is_captain
)
&&
(
t
.
is_captain
=
this
.
searchFrom
.
is_captain
),
this
.
searchFrom
.
out_trade_no
&&
(
t
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
this
.
searchFrom
.
receive_mobile
&&
(
t
.
receive_mobile
=
this
.
searchFrom
.
receive_mobile
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]),
this
.
searchFrom
.
wait_into_course
&&
(
t
.
wait_into_course
=
this
.
searchFrom
.
wait_into_course
),
t
.
course_type
=
1
,
Object
(
a
.
_59
)(
t
).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
refundList
=
[]}),
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
changeDetailShow
:
function
(
e
){
this
.
dialogDetailObj
.
show
=
e
},
changeShow
:
function
(
e
){
this
.
refundDialogObj
.
show
=
e
},
onRefund
:
function
(
e
,
t
){
this
.
refundDialogObj
.
id
=
e
,
this
.
refundDialogObj
.
money
=
t
,
this
.
refundDialogObj
.
show
=!
0
},
onAfterRefund
:
function
(){
this
.
refundDialogObj
.
show
=!
1
,
this
.
getOrderList
()},
onUpdateAddress
:
function
(){
this
.
dialogObj
.
show
=!
1
,
this
.
getOrderList
()},
editAddress
:
function
(
e
){
if
(
e
.
address_info
&&
e
.
address_info
.
province_name
){
var
t
=
s
.
a
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
province_name
});
if
(
t
&&
t
.
length
>
0
)
if
(
this
.
dialogObj
.
province
=
e
.
address_info
.
province_id
?
e
.
address_info
.
province_id
:
t
[
0
].
value
,
e
.
address_info
.
city
){
var
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
city
});
if
(
this
.
dialogObj
.
city
=
e
.
address_info
.
city_id
?
e
.
address_info
.
city_id
:
i
[
0
].
value
,
e
.
address_info
.
area
){
var
a
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
area
});
this
.
dialogObj
.
district
=
e
.
address_info
.
area_id
?
e
.
address_info
.
area_id
:
a
[
0
].
value
}
else
this
.
dialogObj
.
district
=
""
}
else
this
.
dialogObj
.
city
=
""
;
else
this
.
dialogObj
.
province
=
""
,
this
.
dialogObj
.
district
=
""
,
this
.
dialogObj
.
city
=
""
}
else
this
.
dialogObj
.
province
=
""
,
this
.
dialogObj
.
city
=
""
,
this
.
dialogObj
.
district
=
""
;
this
.
dialogObj
.
detail
=
e
.
address_info
?
e
.
address_info
.
address
:
""
,
this
.
dialogObj
.
receive_mobile
=
e
.
address_info
?
e
.
address_info
.
receive_mobile
:
""
,
this
.
dialogObj
.
receive_name
=
e
.
address_info
?
e
.
address_info
.
receive_name
:
""
,
this
.
dialogObj
.
province_name
=
e
.
address_info
?
e
.
address_info
.
province_name
:
""
,
this
.
dialogObj
.
city_name
=
e
.
address_info
?
e
.
address_info
.
city
:
""
,
this
.
dialogObj
.
district_name
=
e
.
address_info
?
e
.
address_info
.
area
:
""
,
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
show
=!
0
},
getTeacherList
:
function
(
e
){
var
t
=
this
;
this
.
loading
=!
0
;
var
i
=
{
limit
:
this
.
promoterDialog
.
limit
,
page
:
this
.
promoterDialog
.
nowPage
};
e
&&
(
i
.
name
=
e
),
Object
(
a
.
_86
)(
i
).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
,
t
.
loading
=!
1
})},
handleCurrentTeacherChange
:
function
(
e
){
console
.
log
(
"handleCurrentTeacherChange"
,
e
)},
updateTeacher
:
function
(
e
){
this
.
promoterDialog
.
show
=!
0
,
this
.
promoterDialog
.
id
=
e
.
id
,
this
.
promoterDialog
.
teacher_id
=
e
.
invite_id
,
this
.
getTeacherList
()},
remoteMethod
:
function
(
e
){
""
!==
e
?
this
.
getTeacherList
(
e
):
this
.
getTeacherList
()},
saveTeacher
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"此操作将修改推广人?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
console
.
log
(
"this.promoterDialog.teacher_id"
,
e
.
promoterDialog
),
Object
(
a
.
_141
)(
e
.
promoterDialog
.
id
,
e
.
promoterDialog
.
teacher_id
).
then
(
function
(
t
){
e
.
promoterDialog
.
id
=
""
,
e
.
promoterDialog
.
teacher_id
=
""
,
e
.
promoterDialog
.
show
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
getOrderList
()})})}},
components
:{
addressDialog
:
c
,
refundDialog
:
_
.
a
,
detailDialog
:
v
,
refundDetail
:
f
.
a
,
sourceDialog
:
d
.
a
,
couponDialog
:
u
.
a
,
page
:
o
.
a
},
mounted
:
function
(){
this
.
$route
.
query
.
code
&&
(
this
.
searchFrom
.
invite_type
=
this
.
$route
.
query
.
code
),
this
.
getOrderList
(),
this
.
getGoodsOption
()},
watch
:{},
filters
:{
isLeader
:
function
(
e
){
return
h
.
m
[
e
]},
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
h
.
k
[
e
]},
status
:
function
(
e
){
return
h
.
q
[
e
]},
buyType
:
function
(
e
){
return
h
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
h
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}}}),
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"order"
},[
i
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
,
size
:
"small"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
receive_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"receive_mobile"
,
t
)},
expression
:
"searchFrom.receive_mobile"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
a
){
return
i
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticClass
:
"test"
,
attrs
:{
label
:
"来源"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
e
.
inviteSearchPlaceholder
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type
\
t"
}},[
i
(
"template"
,{
slot
:
"prepend"
},[
e
.
_v
(
"CC -"
)])],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"推广人ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
attrs
:{
placeholder
:
e
.
inviteSearchPlaceholder
},
model
:{
value
:
e
.
searchFrom
.
invite_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_id"
,
t
)},
expression
:
"searchFrom.invite_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"团ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
model
:{
value
:
e
.
searchFrom
.
order_group_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"order_group_id"
,
t
)},
expression
:
"searchFrom.order_group_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"是否团长"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
is_captain
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"is_captain"
,
t
)},
expression
:
"searchFrom.is_captain"
}},
e
.
_l
(
e
.
isLeaderOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"购买方式"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
buy_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"buy_type"
,
t
)},
expression
:
"searchFrom.buy_type"
}},
e
.
_l
(
e
.
buyTypeOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
i
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},
e
.
_l
(
e
.
orderStatusOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"是否入课"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
wait_into_course
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"wait_into_course"
,
t
)},
expression
:
"searchFrom.wait_into_course"
}},[
i
(
"el-option"
,{
attrs
:{
label
:
"已入课"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
i
(
"el-option"
,{
attrs
:{
label
:
"未入课"
,
value
:
"1"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"交易订单号"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
out_trade_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"out_trade_no"
,
t
)},
expression
:
"searchFrom.out_trade_no"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
i
(
"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
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getOrderList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
exportTable
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
size
:
"small"
,
fixed
:
""
},
on
:{
"expand-change"
:
e
.
changeRow
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
,
width
:
"120"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
i
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
),
i
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
,
width
:
"160"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"250"
,
prop
:
"invite_id"
,
className
:
"f-c"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
invite_earnings
>
0
&&
0
!==
t
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
display
:
"flex"
,
color
:
"#409eff"
,
cursor
:
"pointer"
},
on
:{
click
:
function
(
i
){
e
.
showSource
(
t
.
row
)}}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
" 类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
" ("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
),
i
(
"br"
),
e
.
_v
(
" 收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_earnings
&&
0
!==
t
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
" 类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
" ("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
),
i
(
"br"
),
e
.
_v
(
" 收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_id
?
i
(
"div"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"order_group_id"
,
label
:
"团ID"
,
width
:
"80"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"是否团长"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"isLeader"
)(
t
.
row
.
is_captain
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"优惠活动"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
===
t
.
row
.
order_coupon_id
?
i
(
"span"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
!==
t
.
row
.
order_coupon_id
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
e
.
showCoupon
(
t
.
row
)}}},[
e
.
_v
(
"
\n
优惠券
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
e
.
showRef
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
!==
t
.
row
.
status
&&
3
!==
t
.
row
.
status
?
i
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"实付金额"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"moneytFilter"
)(
t
.
row
.
money
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
user_address_id
&&
t
.
row
.
address_info
?
i
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
address_info
.
receive_mobile
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
address_info
.
province_name
)
+
e
.
_s
(
t
.
row
.
address_info
.
city
)
+
e
.
_s
(
t
.
row
.
address_info
.
area
)
+
e
.
_s
(
t
.
row
.
address_info
.
address
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"时间"
,
width
:
"280"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
下单时间:"
+
e
.
_s
(
t
.
row
.
created_at
)),
i
(
"br"
),
e
.
_v
(
"
\n
购买时间:"
+
e
.
_s
(
t
.
row
.
pay_at
)),
i
(
"br"
),
e
.
_v
(
" "
),
1
!=
t
.
row
.
buy_type
?
i
(
"div"
,[
e
.
_v
(
"
\n
成团时间:"
+
e
.
_s
(
t
.
row
.
group_success_time
)),
i
(
"br"
),
e
.
_v
(
"
\n
截止时间:"
+
e
.
_s
(
t
.
row
.
deadline
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
width
:
"50"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"400"
}},[
i
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
1
!=
t
.
row
.
status
&&
4
!=
t
.
row
.
status
&&
5
!=
t
.
row
.
status
||!
e
.
$store
.
state
.
orderRefund
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
onRefund
(
t
.
row
.
id
,
t
.
row
.
money
)}}},[
e
.
_v
(
"
\n
退款
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"info"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editComment
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"
\n
编辑备注
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
plain
:
""
,
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editAddress
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑收货地址
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
promoter
?
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
updateTeacher
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑推广人
\n
"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
e
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
e
.
_v
(
" "
),
i
(
"address-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
onUpdateAddress
}}),
e
.
_v
(
" "
),
i
(
"refund-dialog"
,{
attrs
:{
dialogObj
:
e
.
refundDialogObj
},
on
:{
reflash
:
e
.
onAfterRefund
,
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
i
(
"detail-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogDetailObj
},
on
:{
changeShow
:
e
.
changeDetailShow
}}),
e
.
_v
(
" "
),
i
(
"source-dialog"
,{
attrs
:{
dialogObj
:
e
.
sourceDialog
}}),
e
.
_v
(
" "
),
i
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
i
(
"coupon-dialog"
,{
attrs
:{
dialogObj
:
e
.
couponDetail
}}),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"修改推广人"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
promoterDialog
.
show
,
width
:
"600"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
promoterDialog
,
"show"
,
t
)}}},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
i
(
"el-select"
,{
attrs
:{
filterable
:
""
,
remote
:
""
,
clearable
:
""
,
placeholder
:
"请输入名称"
,
"remote-method"
:
e
.
remoteMethod
,
loading
:
e
.
loading
},
model
:{
value
:
e
.
promoterDialog
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
promoterDialog
,
"teacher_id"
,
t
)},
expression
:
"promoterDialog.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
user_id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
promoterDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveTeacher
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
y
=
i
(
"VU/8"
)(
g
,
b
,
!
1
,
function
(
e
){
i
(
"8nc/"
),
i
(
"JHEb"
)},
"data-v-aed5be8a"
,
null
);
t
.
default
=
y
.
exports
},
"8nc/"
:
function
(
e
,
t
){},
GB5s
:
function
(
e
,
t
){},
JHEb
:
function
(
e
,
t
){},
fj09
:
function
(
e
,
t
){},
"w+vU"
:
function
(
e
,
t
){},
zA5m
:
function
(
e
,
t
,
i
){
"use strict"
;
var
a
=
i
(
"CCn6"
),
o
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
show
:
!
1
,
id
:
""
,
loading
:
!
0
,
form
:{
money
:
0
,
refund_type
:
1
,
desc
:
""
},
rules
:{
money
:[{
required
:
!
0
,
message
:
"请输入退款金额"
,
trigger
:
"change"
}],
desc
:[{
required
:
!
0
,
message
:
"请输入退款原因"
,
trigger
:
"change"
}]}}},
methods
:{
save
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
dialogObj
.
id
&&
e
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
i
=
{
refund_money
:
100
*
parseFloat
(
e
.
form
.
money
),
desc
:
e
.
form
.
desc
,
refund_type
:
e
.
form
.
refund_type
};
e
.
dialogObj
.
order_type
&&
(
i
.
order_type
=
e
.
dialogObj
.
order_type
),
Object
(
a
.
_113
)(
e
.
dialogObj
.
id
,
i
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"退款成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
show
=!
1
})}})})},
initDialog
:
function
(){
this
.
show
=
this
.
dialogObj
.
show
,
this
.
dialogObj
.
id
&&
(
this
.
id
=
this
.
dialogObj
.
id
),
this
.
form
.
money
=
parseFloat
(
this
.
dialogObj
.
money
/
100
),
this
.
form
.
desc
=
this
.
dialogObj
.
desc
,
this
.
loading
=!
1
}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"退款"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
show
=
t
}}},[
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
rules
:
e
.
rules
}},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退款金额"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"key"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"money"
,
t
)},
expression
:
"form.money"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
6
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
100
}}},[
e
.
_v
(
"¥100"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
150
}}},[
e
.
_v
(
"¥150"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退课"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,[
i
(
"el-switch"
,{
attrs
:{
"active-value"
:
2
,
"inactive-value"
:
1
},
model
:{
value
:
e
.
form
.
refund_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"refund_type"
,
t
)},
expression
:
"form.refund_type"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退款原因"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,[
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
form
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"desc"
,
t
)},
expression
:
"form.desc"
}})],
1
)],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"确 定"
)])],
1
)])},
staticRenderFns
:[]};
var
s
=
i
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
e
){
i
(
"GB5s"
)},
"data-v-189146f3"
,
null
);
t
.
a
=
s
.
exports
}});
\ No newline at end of file
dist/static/js/app.c9e5583b6eee4dff3f88.js
0 → 100644
View file @
fd2f6667
webpackJsonp
([
58
],{
IcnI
:
function
(
e
,
t
,
n
){
"use strict"
;
var
o
=
n
(
"NYxO"
),
a
=
n
(
"lRwf"
),
r
=
n
.
n
(
a
),
i
=
n
(
"zSLJ"
),
u
=
{
setToken
:
function
(
e
,
t
){
e
.
token
=
t
,
i
.
a
.
set
(
"cc_token"
,
t
)},
setUserName
:
function
(
e
,
t
){
e
.
userName
=
t
,
i
.
a
.
set
(
"cc_user_name"
,
t
)},
setPermission
:
function
(
e
,
t
){
e
.
progressList
=
t
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
t
))},
setMenu
:
function
(
e
,
t
){
e
.
menuList
=
t
},
readonly
:
function
(
e
,
t
){
e
.
readonly
=
t
},
deletePermission
:
function
(
e
,
t
){
e
.
deletePermission
=
t
},
distribution
:
function
(
e
,
t
){
e
.
distribution
=
t
},
classManage
:
function
(
e
,
t
){
e
.
classManage
=
t
},
classManageUnlimited
:
function
(
e
,
t
){
e
.
classManageUnlimited
=
t
},
promoter
:
function
(
e
,
t
){
e
.
promoter
=
t
},
mainCanShow
:
function
(
e
){
e
.
mainLoad
=!
1
},
mainUnShow
:
function
(
e
){
e
.
mainLoad
=!
0
},
changeParentRouter
:
function
(
e
,
t
){
e
.
menuList
.
find
(
function
(
e
){
return
e
.
name
===
t
.
name
}).
routerName
=
t
.
to
.
name
},
progress
:
function
(
e
,
t
){
switch
(
t
.
type
){
case
"new"
:
e
.
progressList
.
push
({
num
:
0
,
id
:
t
.
id
});
break
;
case
"change"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
}).
num
=
t
.
num
;
break
;
case
"delete"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
})}}};
r
.
a
.
use
(
o
.
a
);
t
.
a
=
new
o
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
export
:
!
1
,
orderRefund
:
!
1
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
distribution
:
!
1
,
classManage
:
!
1
,
classManageUnlimited
:
!
1
,
promoter
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
u
,
actions
:{
setToken
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setToken"
,
t
)},
setUserName
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setUserName"
,
t
)},
setProgress
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"progress"
,
t
)},
setPermission
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setPermission"
,
t
)},
setMenu
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setMenu"
,
t
)},
readonly
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"readonly"
,
t
)},
deletePermission
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"deletePermission"
,
t
)},
distribution
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"distribution"
,
t
)},
classManage
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classManage"
,
t
)},
classManageUnlimited
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classManageUnlimited"
,
t
)},
promoter
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"promoter"
,
t
)}}})},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
[{
name
:
""
,
value
:
"教研管理"
,
icon
:
"icon-material"
,
list
:[{
value
:
"教材列表"
,
routerName
:
"resources"
,
path
:
"/resources"
,
cover
:
"1-1"
,
router
:{
path
:
"/resources"
,
name
:
"resources"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
1
)]).
then
(
function
(){
var
t
=
[
n
(
"z5EG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"商品课程"
,
icon
:
"icon-shangpin1"
,
list
:[{
value
:
"课程列表"
,
routerName
:
"lesson"
,
path
:
"/lesson"
,
cover
:
"2-1"
,
router
:{
path
:
"/lesson"
,
name
:
"lesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
9
)]).
then
(
function
(){
var
t
=
[
n
(
"AbSL"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"商品列表"
,
routerName
:
"shop"
,
path
:
"/shop"
,
cover
:
"4-1"
,
router
:{
path
:
"/shop"
,
name
:
"shop"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
14
)]).
then
(
function
(){
var
t
=
[
n
(
"1djJ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"期数管理"
,
icon
:
"icon-kecheng"
,
list
:[{
value
:
"期数列表"
,
routerName
:
"periods"
,
path
:
"/periods"
,
cover
:
"2-2"
,
router
:{
path
:
"/periods"
,
name
:
"periods"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
25
)]).
then
(
function
(){
var
t
=
[
n
(
"ayGs"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"班级列表"
,
routerName
:
"class"
,
path
:
"/class"
,
cover
:
"2-3"
,
router
:{
path
:
"/class"
,
name
:
"class"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
15
)]).
then
(
function
(){
var
t
=
[
n
(
"OX9A"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"市场招生统计"
,
routerName
:
"marketStatistics"
,
path
:
"/marketStatistics"
,
cover
:
"2-5"
,
router
:{
path
:
"/marketStatistics"
,
name
:
"marketStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
53
)]).
then
(
function
(){
var
t
=
[
n
(
"SKyX"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
34
)]).
then
(
function
(){
var
t
=
[
n
(
"sg/1"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"自化课列表"
,
routerName
:
"autoClass"
,
path
:
"/autoClass"
,
cover
:
"2-6"
,
router
:{
path
:
"/autoClass"
,
name
:
"autoClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
28
)]).
then
(
function
(){
var
t
=
[
n
(
"f9Sx"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"销售管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"教师列表"
,
routerName
:
"teacher"
,
path
:
"/teacher"
,
cover
:
"3-1"
,
router
:{
path
:
"/teacher"
,
name
:
"teacher"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
2
)]).
then
(
function
(){
var
t
=
[
n
(
"Y0Vi"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
5
)]).
then
(
function
(){
var
t
=
[
n
(
"xdzM"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
43
)]).
then
(
function
(){
var
t
=
[
n
(
"v/LD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
39
)]).
then
(
function
(){
var
t
=
[
n
(
"89rD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"业绩排行"
,
routerName
:
"achievement"
,
path
:
"/achievement"
,
cover
:
"5-7"
,
router
:{
path
:
"/achievement"
,
name
:
"achievement"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
22
)]).
then
(
function
(){
var
t
=
[
n
(
"Fmgy"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"话术列表"
,
routerName
:
"talkingSkill"
,
path
:
"/talkingSkill"
,
cover
:
"11-6"
,
router
:{
path
:
"/talkingSkill"
,
name
:
"talkingSkill"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
24
)]).
then
(
function
(){
var
t
=
[
n
(
"CUAv"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"用户管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
4
)]).
then
(
function
(){
var
t
=
[
n
(
"jFLA"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"老系统用户列表"
,
routerName
:
"oldUser"
,
path
:
"/oldUser"
,
cover
:
"3-3"
,
router
:{
path
:
"/oldUser"
,
name
:
"oldUser"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
38
)]).
then
(
function
(){
var
t
=
[
n
(
"K2yr"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"用户积分列表"
,
routerName
:
"integral"
,
path
:
"/integral"
,
cover
:
"3-4"
,
router
:{
path
:
"/integral"
,
name
:
"integral"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
13
)]).
then
(
function
(){
var
t
=
[
n
(
"NDyu"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"绑定子账号列表"
,
routerName
:
"subList"
,
path
:
"/subList"
,
cover
:
"3-5"
,
router
:{
path
:
"/subList"
,
name
:
"subList"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
35
)]).
then
(
function
(){
var
t
=
[
n
(
"L5jB"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"订单管理"
,
icon
:
"icon-dingdan"
,
list
:[{
value
:
"日课订单列表"
,
routerName
:
"order"
,
path
:
"/order"
,
cover
:
"5-1"
,
router
:{
path
:
"/order"
,
name
:
"order"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
8
)]).
then
(
function
(){
var
t
=
[
n
(
"2qmY"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
40
)]).
then
(
function
(){
var
t
=
[
n
(
"F5pf"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"发货管理"
,
routerName
:
"consignment"
,
path
:
"/consignment"
,
cover
:
"5-4"
,
router
:{
path
:
"/consignment"
,
name
:
"consignment"
,
component
:
function
(
e
){
return
n
.
e
(
49
).
then
(
function
(){
var
t
=
[
n
(
"usUK"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"订单统计"
,
routerName
:
"orderCount"
,
path
:
"/orderCount"
,
cover
:
"5-5"
,
router
:{
path
:
"/orderCount"
,
name
:
"orderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
55
)]).
then
(
function
(){
var
t
=
[
n
(
"s7i+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"日课订单统计"
,
routerName
:
"dayOrderCount"
,
path
:
"/dayOrderCount"
,
cover
:
"5-11"
,
router
:{
path
:
"/dayOrderCount"
,
name
:
"dayOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
45
)]).
then
(
function
(){
var
t
=
[
n
(
"mjLz"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"优惠券列表"
,
routerName
:
"coupon"
,
path
:
"/coupon"
,
cover
:
"5-6"
,
router
:{
path
:
"/coupon"
,
name
:
"coupon"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
33
)]).
then
(
function
(){
var
t
=
[
n
(
"WvRy"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"扫码入课列表"
,
routerName
:
"notBuyClass"
,
path
:
"/notBuyClass"
,
cover
:
"5-8"
,
router
:{
path
:
"/notBuyClass"
,
name
:
"notBuyClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
23
)]).
then
(
function
(){
var
t
=
[
n
(
"E6Zo"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"外部订单列表"
,
routerName
:
"yunji"
,
path
:
"/yunji"
,
cover
:
"5-9"
,
router
:{
path
:
"/yunji"
,
name
:
"yunji"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
16
)]).
then
(
function
(){
var
t
=
[
n
(
"69L+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"兑换码管理"
,
routerName
:
"exchange"
,
path
:
"/exchange"
,
cover
:
"5-13"
,
router
:{
path
:
"/exchange"
,
name
:
"exchange"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
12
)]).
then
(
function
(){
var
t
=
[
n
(
"CvLZ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"实物管理"
,
icon
:
"icon-shu"
,
list
:[{
value
:
"单品列表"
,
routerName
:
"single"
,
path
:
"/single"
,
cover
:
"6-1"
,
router
:{
path
:
"/single"
,
name
:
"single"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
21
)]).
then
(
function
(){
var
t
=
[
n
(
"B31M"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"盒子列表"
,
routerName
:
"box"
,
path
:
"/box"
,
cover
:
"6-2"
,
router
:{
path
:
"/box"
,
name
:
"box"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
18
)]).
then
(
function
(){
var
t
=
[
n
(
"+vCD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"公众号"
,
icon
:
"icon-ai-weixin"
,
list
:[{
value
:
"自动回复"
,
routerName
:
"focusReply"
,
path
:
"/focusReply"
,
cover
:
"7-1"
,
router
:{
path
:
"/focusReply"
,
name
:
"focusReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
19
)]).
then
(
function
(){
var
t
=
[
n
(
"CK6D"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"关键词回复"
,
routerName
:
"autoReply"
,
path
:
"/autoReply"
,
cover
:
"7-2"
,
router
:{
path
:
"/autoReply"
,
name
:
"autoReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
20
)]).
then
(
function
(){
var
t
=
[
n
(
"65NY"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"公众号菜单"
,
routerName
:
"weChat"
,
path
:
"/weChat"
,
cover
:
"7-3"
,
router
:{
path
:
"/weChat"
,
name
:
"weChat"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
26
)]).
then
(
function
(){
var
t
=
[
n
(
"q5av"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"素材管理"
,
routerName
:
"weChatResource"
,
path
:
"/weChatResource"
,
cover
:
"7-4"
,
router
:{
path
:
"/weChatResource"
,
name
:
"weChatResource"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
27
)]).
then
(
function
(){
var
t
=
[
n
(
"Xhqp"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"二维码管理"
,
routerName
:
"qrcode"
,
path
:
"/qrcode"
,
cover
:
"7-6"
,
router
:{
path
:
"/qrcode"
,
name
:
"qrcode"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
17
)]).
then
(
function
(){
var
t
=
[
n
(
"lNiQ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"群发助手"
,
routerName
:
"groupSend"
,
path
:
"/groupSend"
,
cover
:
"7-7"
,
router
:{
path
:
"/groupSend"
,
name
:
"groupSend"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
10
)]).
then
(
function
(){
var
t
=
[
n
(
"oerw"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"关注取关统计"
,
routerName
:
"watchCount"
,
path
:
"/watchCount"
,
cover
:
"7-8"
,
router
:{
path
:
"/watchCount"
,
name
:
"watchCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
51
)]).
then
(
function
(){
var
t
=
[
n
(
"Dq6T"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"微信统计"
,
routerName
:
"weChatStatistics"
,
path
:
"/weChatStatistics"
,
cover
:
"7-10"
,
router
:{
path
:
"/weChatStatistics"
,
name
:
"weChatStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
54
)]).
then
(
function
(){
var
t
=
[
n
(
"5t3x"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"测试"
,
routerName
:
"test"
,
path
:
"/test"
,
cover
:
"7-11"
,
router
:{
path
:
"/test"
,
name
:
"test"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
31
)]).
then
(
function
(){
var
t
=
[
n
(
"9ZSL"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"系统管理"
,
icon
:
"icon-xitongquanxian"
,
list
:[{
value
:
"首页管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"7-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
36
)]).
then
(
function
(){
var
t
=
[
n
(
"CGL6"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"7-9"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
46
)]).
then
(
function
(){
var
t
=
[
n
(
"NrkQ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"来源码管理"
,
routerName
:
"sourceManage"
,
path
:
"/sourceManage"
,
cover
:
"10-1"
,
router
:{
path
:
"/sourceManage"
,
name
:
"sourceManage"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
37
)]).
then
(
function
(){
var
t
=
[
n
(
"/ubI"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"短信发送记录"
,
routerName
:
"smsRecord"
,
path
:
"/smsRecord"
,
cover
:
"10-2"
,
router
:{
path
:
"/smsRecord"
,
name
:
"smsRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
29
)]).
then
(
function
(){
var
t
=
[
n
(
"qjS+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
48
)]).
then
(
function
(){
var
t
=
[
n
(
"TPCG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"后台管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"账号管理"
,
routerName
:
"admin"
,
path
:
"/admin"
,
cover
:
"8-1"
,
router
:{
path
:
"/admin"
,
name
:
"admin"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
42
)]).
then
(
function
(){
var
t
=
[
n
(
"+jTk"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"角色管理"
,
routerName
:
"role"
,
path
:
"/role"
,
cover
:
"8-2"
,
router
:{
path
:
"/role"
,
name
:
"role"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
44
)]).
then
(
function
(){
var
t
=
[
n
(
"Vt1u"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"菜单管理"
,
routerName
:
"menu"
,
path
:
"/menu"
,
cover
:
"8-3"
,
router
:{
path
:
"/menu"
,
name
:
"menu"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
56
)]).
then
(
function
(){
var
t
=
[
n
(
"aTXs"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"sysConfig"
,
path
:
"/sysConfig"
,
cover
:
"8-4"
,
router
:{
path
:
"/sysConfig"
,
name
:
"sysConfig"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
32
)]).
then
(
function
(){
var
t
=
[
n
(
"gaNG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"操作日志"
,
routerName
:
"adminLog"
,
path
:
"/adminLog"
,
cover
:
"8-5"
,
router
:{
path
:
"/adminLog"
,
name
:
"adminLog"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
41
)]).
then
(
function
(){
var
t
=
[
n
(
"WZgi"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]}],
a
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
t
=
this
.
$store
.
state
.
progressList
;
console
.
log
(
this
.
$store
.
state
);
var
a
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
11
)]).
then
(
function
(){
var
t
=
[
n
(
"9PRC"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}},
i
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
6
)]).
then
(
function
(){
var
t
=
[
n
(
"hFUZ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}};
o
.
forEach
(
function
(
n
){
var
o
=!
1
,
u
=
[];
n
.
list
.
forEach
(
function
(
n
){
var
a
=
t
.
find
(
function
(
e
){
return
e
.
cover
===
n
.
cover
});
a
&&
(
n
.
router
.
meta
=
{},
n
.
router
.
meta
.
readonly
=!!
a
.
readonly
,
n
.
router
.
meta
.
delete
=!!
a
.
delete
,
n
.
router
.
meta
.
export
=!!
a
.
export
,
n
.
router
.
meta
.
refund
=!!
a
.
refund
,
n
.
router
.
meta
.
distribution
=!!
a
.
distribution
,
n
.
router
.
meta
.
classManage
=!!
a
.
classManage
,
n
.
router
.
meta
.
classManageUnlimited
=!!
a
.
classManageUnlimited
,
n
.
router
.
meta
.
promoter
=!!
a
.
promoter
,
u
.
push
(
n
),
"3-1"
===
a
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
a
.
readonly
,
i
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
"3-2"
===
a
.
cover
&&
(
r
.
meta
=
{},
r
.
meta
.
readonly
=
a
.
readonly
,
r
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
r
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
n
.
router
),
o
=!
0
)}),
o
&&
(
n
.
list
=
u
,
a
.
push
(
n
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
a
)}}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
e
){
n
(
"lD5B"
)},
null
,
null
).
exports
,
u
=
n
(
"lRwf"
),
c
=
n
.
n
(
u
),
l
=
n
(
"YaEn"
),
s
=
n
(
"IcnI"
),
m
=
n
(
"zL8q"
),
p
=
n
.
n
(
m
);
c
.
a
.
use
(
p
.
a
),
c
.
a
.
config
.
productionTip
=!
1
,
new
c
.
a
({
el
:
"#app"
,
store
:
s
.
a
,
router
:
l
.
a
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
OMN4
:
function
(
e
,
t
){
e
.
exports
=
axios
},
YaEn
:
function
(
e
,
t
,
n
){
"use strict"
;
var
o
=
n
(
"IcnI"
),
a
=
n
(
"/ocq"
),
r
=
n
(
"zSLJ"
),
i
=
new
a
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
7
)]).
then
(
function
(){
var
t
=
[
n
(
"jHcp"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
n
.
e
(
30
).
then
(
function
(){
var
t
=
[
n
(
"sJm1"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
52
)]).
then
(
function
(){
var
t
=
[
n
(
"0HId"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/outManager"
,
name
:
"outManager"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
50
)]).
then
(
function
(){
var
t
=
[
n
(
"hLMI"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
47
)]).
then
(
function
(){
var
t
=
[
n
(
"iPJD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/newLesson"
,
name
:
"newLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
3
)]).
then
(
function
(){
var
t
=
[
n
(
"4t0V"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
i
.
beforeEach
(
function
(
e
,
t
,
n
){
if
(
o
.
a
.
commit
(
"mainCanShow"
),
r
.
a
.
get
(
"cc_token"
)
&&
(
o
.
a
.
dispatch
(
"setToken"
,
r
.
a
.
get
(
"cc_token"
)),
o
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
r
.
a
.
get
(
"cc_user_name"
)
&&
o
.
a
.
dispatch
(
"setUserName"
,
r
.
a
.
get
(
"cc_user_name"
))),
o
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
a
=
void
0
,
i
=
0
;
i
<
o
.
a
.
state
.
menuList
.
length
;
i
++
)
for
(
var
u
=
o
.
a
.
state
.
menuList
[
i
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
l
=
u
.
list
[
c
];
l
.
path
===
e
.
path
&&
(
a
=
l
)}
o
.
a
.
state
.
openedTab
.
indexOf
(
a
)
<
0
&&
o
.
a
.
state
.
openedTab
.
push
(
a
)}
if
(
e
.
meta
.
readonly
?
o
.
a
.
dispatch
(
"readonly"
,
!
0
):
o
.
a
.
dispatch
(
"readonly"
,
!
1
),
o
.
a
.
state
.
orderRefund
=
e
.
meta
.
refund
,
o
.
a
.
state
.
export
=
e
.
meta
.
export
,
o
.
a
.
state
.
distribution
=
e
.
meta
.
distribution
,
o
.
a
.
state
.
classManage
=
e
.
meta
.
classManage
,
o
.
a
.
dispatch
(
"promoter"
,
e
.
meta
.
promoter
),
o
.
a
.
dispatch
(
"classManageUnlimited"
,
e
.
meta
.
classManageUnlimited
),
console
.
log
(
e
.
meta
),
"userDetail"
===
e
.
name
){
var
s
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
o
.
a
.
dispatch
(
"readonly"
,
s
)}
e
.
meta
.
delete
?
o
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
o
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
o
.
a
.
state
.
token
?
n
({
path
:
"/login"
}):
n
()}),
i
.
onError
(
function
(
e
){
var
t
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
n
=
i
.
history
.
pending
.
fullPath
;
t
&&
i
.
replace
(
n
)}),
t
.
a
=
i
},
lD5B
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
zSLJ
:
function
(
e
,
t
,
n
){
"use strict"
;
t
.
a
=
{
set
:
function
(
e
,
t
,
n
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
n
),
window
.
document
.
cookie
=
e
+
"="
+
t
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
t
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
t
?
t
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.273734def466a58c4168.js
0 → 100644
View file @
fd2f6667
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
59
:
0
};
function
d
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
a
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ca8551b8563f1afabcc0"
,
1
:
"d8b0676de9833b9021c7"
,
2
:
"5e6646315ae04b68360f"
,
3
:
"308ac190d708f733a364"
,
4
:
"3ed3c98f0e8bb8f4ef9c"
,
5
:
"ad9300c494d4c666286a"
,
6
:
"38ce216bfbb49211be9f"
,
7
:
"1157891ad5749be5d64b"
,
8
:
"a4fe446cc35fde868e60"
,
9
:
"e49c8141a4ef2734a0e5"
,
10
:
"4a2a058fcfdc3a9ede7b"
,
11
:
"77b0b715272bfe303c20"
,
12
:
"7c180d5981bcb5433992"
,
13
:
"0ca5d081493094426adf"
,
14
:
"228dff515113f7797782"
,
15
:
"58ad3520bbd260cf12b0"
,
16
:
"91106ddf055a867a2b98"
,
17
:
"a794e0f38ab5137556b3"
,
18
:
"c35f05005c52cabe7a24"
,
19
:
"934769d40f2856534a7b"
,
20
:
"5475c964eccb15a80955"
,
21
:
"ac6f1f47f0e69a69e851"
,
22
:
"bf963b5ed91ba1fb678e"
,
23
:
"dd16e9f3be25b283a07b"
,
24
:
"33816da4d42f0b109c1a"
,
25
:
"5499cab5ab4497b0e45b"
,
26
:
"2c7281b9cc34e7903508"
,
27
:
"942372ddcb3494d33291"
,
28
:
"dff1313541beec47ffcb"
,
29
:
"65bf42ad1887cf2b948e"
,
30
:
"3eb7e7a7715e62c5de5e"
,
31
:
"d0edc9700f5efa5efbca"
,
32
:
"24fa6f4fcdbe8fbe125d"
,
33
:
"286019c2c47106096b06"
,
34
:
"3e4b421119ac865ddd38"
,
35
:
"4e0aa7e86d8aeaeda4ce"
,
36
:
"a8b70a1bfbaed393b163"
,
37
:
"7c85f847967402dd7e55"
,
38
:
"1c86a4d4e7d757c4c511"
,
39
:
"c86f142e587554b79a16"
,
40
:
"50fcf555a30fb1cd8238"
,
41
:
"420efca685d2e4644b27"
,
42
:
"8099572a329ce3071e67"
,
43
:
"6dfefaf3a648746d5cb4"
,
44
:
"ad6fdf3e141b5549a687"
,
45
:
"83680e020ce50daffa54"
,
46
:
"3aeaae3569c063b74729"
,
47
:
"7f44d6cb5cc4435d0968"
,
48
:
"ab299efdfc633327e6e3"
,
49
:
"f76a19201df3442d8d55"
,
50
:
"dee77681c26bb297b91c"
,
51
:
"6bf290c8aa4503a54c02"
,
52
:
"10cfed150dabcd566a72"
,
53
:
"3f5786a6123130a25da5"
,
54
:
"0b2a5d55d346336b79c0"
,
55
:
"13f76f726131d89f89c2"
,
56
:
"0211d693d9108d37aa6b"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/App.vue
View file @
fd2f6667
...
...
@@ -44,6 +44,7 @@ export default {
j
.
router
.
meta
.
distribution
=
!!
find
.
distribution
;
j
.
router
.
meta
.
classManage
=
!!
find
.
classManage
;
j
.
router
.
meta
.
classManageUnlimited
=
!!
find
.
classManageUnlimited
;
j
.
router
.
meta
.
promoter
=
!!
find
.
promoter
;
t
.
push
(
j
);
if
(
find
.
cover
===
'3-1'
){
routerTeacherDetail
.
meta
=
{};
...
...
src/components/order/index.vue
View file @
fd2f6667
...
...
@@ -173,10 +173,10 @@
<el-button
@
click=
"editComment(scope.row.id, scope.row.desc)"
type=
"info"
plain
size=
"mini"
>
编辑备注
</el-button>
<el-button
@
click=
"editAddress(scope.row)"
plain
type=
"info"
size=
"mini"
>
<el-button
@
click=
"editAddress(scope.row)"
plain
type=
"info"
size=
"mini"
>
编辑收货地址
</el-button>
<el-button
@
click=
"updateTeacher(scope.row)"
type=
"warning"
plain
size=
"mini"
>
<el-button
@
click=
"updateTeacher(scope.row)"
v-if=
"$store.state.promoter"
type=
"warning"
plain
size=
"mini"
>
编辑推广人
</el-button>
...
...
src/components/system/role.vue
View file @
fd2f6667
...
...
@@ -59,6 +59,7 @@
<span
v-if=
"data.pid !== 0"
>
<el-checkbox
v-model=
"data.refund"
v-if=
"data.cover ==='5-1'|| data.cover=== '5-10'|| data.cover=== '5-9'"
>
退款
</el-checkbox>
<el-checkbox
v-model=
"data.refund"
v-if=
"data.cover ==='10-1' "
>
类别管理
</el-checkbox>
<el-checkbox
v-model=
"data.promoter"
v-if=
"data.cover ==='5-1' "
>
编辑推广人
</el-checkbox>
<el-checkbox
v-model=
"data.refund"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1' "
>
添加观摩班用户
</el-checkbox>
<el-checkbox
v-model=
"data.classManage"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1' "
>
添加带班班用户
</el-checkbox>
<el-checkbox
v-model=
"data.classManageUnlimited"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1' "
>
添加观摩班(无限制)
</el-checkbox>
...
...
@@ -139,6 +140,8 @@
j
.
classManageUnlimited
=
false
;
j
.
classManage
=
false
;
}
if
(
j
.
cover
===
"5-1"
)
j
.
promoter
=
false
;
// promoter
})
}
});
...
...
@@ -185,6 +188,7 @@
j
.
classManageUnlimited
=
false
;
j
.
classManage
=
false
;
}
if
(
j
.
cover
===
"5-1"
)
j
.
promoter
=
false
;
})
}
});
...
...
@@ -215,6 +219,9 @@
if
(
i
.
cover
===
"5-9"
||
i
.
cover
===
"7-9"
){
x
.
distribution
=
!!
i
.
distribution
;
}
if
(
i
.
cover
===
"5-1"
){
x
.
promoter
=
!!
i
.
promoter
;
}
}
})
}
...
...
@@ -270,9 +277,12 @@
if
(
i
.
classManage
===
false
||
i
.
classManage
===
true
){
json
.
classManage
=
i
.
classManage
}
if
(
i
.
classManage
===
false
||
i
.
classManage
===
true
){
if
(
i
.
classManage
Unlimited
===
false
||
i
.
classManageUnlimited
===
true
){
json
.
classManageUnlimited
=
i
.
classManageUnlimited
}
if
(
i
.
promoter
===
false
||
i
.
promoter
===
true
){
json
.
promoter
=
i
.
promoter
}
if
(
i
.
export
===
false
||
i
.
export
===
true
){
json
.
export
=
i
.
export
}
...
...
src/router/index.js
View file @
fd2f6667
...
...
@@ -86,6 +86,7 @@ router.beforeEach((to,from,next)=> {
store
.
state
.
export
=
to
.
meta
.
export
;
store
.
state
.
distribution
=
to
.
meta
.
distribution
;
store
.
state
.
classManage
=
to
.
meta
.
classManage
;
store
.
dispatch
(
'promoter'
,
to
.
meta
.
promoter
)
store
.
dispatch
(
'classManageUnlimited'
,
to
.
meta
.
classManageUnlimited
)
console
.
log
(
to
.
meta
)
if
(
to
.
name
===
'userDetail'
){
...
...
src/store/actions.js
View file @
fd2f6667
...
...
@@ -31,5 +31,8 @@ export default{
},
classManageUnlimited
({
commit
},
data
){
commit
(
'classManageUnlimited'
,
data
)
},
promoter
({
commit
},
data
){
commit
(
'promoter'
,
data
)
}
}
src/store/index.js
View file @
fd2f6667
...
...
@@ -16,6 +16,7 @@ export default new vuex.Store({
distribution
:
false
,
classManage
:
false
,
classManageUnlimited
:
false
,
promoter
:
false
,
mainLoad
:
true
,
menuList
:[],
menuType
:
false
,
...
...
src/store/mutations.js
View file @
fd2f6667
...
...
@@ -33,6 +33,9 @@ const mutations={
classManageUnlimited
(
state
,
data
){
state
.
classManageUnlimited
=
data
;
},
promoter
(
state
,
data
){
state
.
promoter
=
data
;
},
mainCanShow
(
state
){
state
.
mainLoad
=
false
},
...
...
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