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
6033412e
Commit
6033412e
authored
Sep 21, 2018
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回车换行 角色树形图 打包
parent
7dd054d3
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
19 additions
and
12 deletions
+19
-12
index.js
config/index.js
+2
-2
index.html
dist/index.html
+1
-1
app.d0b13b798a8f118ac77da16d4fc9a1a3.css
dist/static/css/app.d0b13b798a8f118ac77da16d4fc9a1a3.css
+1
-1
0.905ab761eb081f07ec1d.js
dist/static/js/0.905ab761eb081f07ec1d.js
+0
-0
21.1cff5e892f2304c25d41.js
dist/static/js/21.1cff5e892f2304c25d41.js
+1
-1
22.a13143900b034ede203b.js
dist/static/js/22.a13143900b034ede203b.js
+1
-1
23.b3ac04d0c021899a4fc3.js
dist/static/js/23.b3ac04d0c021899a4fc3.js
+1
-1
24.2bca9087d93c1145e1e1.js
dist/static/js/24.2bca9087d93c1145e1e1.js
+1
-1
25.e24c5f35c405369b6432.js
dist/static/js/25.e24c5f35c405369b6432.js
+1
-1
app.25ba3a0e18d285b0fb5b.js
dist/static/js/app.25ba3a0e18d285b0fb5b.js
+1
-1
manifest.59b8cf8117b2d2050955.js
dist/static/js/manifest.59b8cf8117b2d2050955.js
+1
-1
index.js
src/router/index.js
+8
-1
No files found.
config/index.js
View file @
6033412e
...
...
@@ -12,8 +12,8 @@ module.exports = {
//本地代理设置
proxyTable
:
{
'/api'
:
{
//
target: 'http://local.base-api.sing.com', // 接口的域名
target
:
'http://wechat.test.singsingenglish.com/'
,
target
:
'http://local.base-api.sing.com'
,
// 接口的域名
//
target: 'http://wechat.test.singsingenglish.com/',
changeOrigin
:
true
,
// 如果接口跨域,需要进行这个参数配置
}
},
...
...
dist/index.html
View file @
6033412e
<!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_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.e4a339598693ed943398a7231f957023.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.53f0f3d0c8d67ef2f3a0.js
></script><script
type=
text/javascript
src=
/static/js/vendor.9122c146b78876133e6f.js
></script><script
type=
text/javascript
src=
/static/js/app.7db59e0a9c217bdd5de2.js
></script></body></html>
\ No newline at end of file
<!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_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.d0b13b798a8f118ac77da16d4fc9a1a3.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.59b8cf8117b2d2050955.js
></script><script
type=
text/javascript
src=
/static/js/vendor.9122c146b78876133e6f.js
></script><script
type=
text/javascript
src=
/static/js/app.25ba3a0e18d285b0fb5b.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
e4a339598693ed943398a7231f95702
3.css
→
dist/static/css/app.
d0b13b798a8f118ac77da16d4fc9a1a
3.css
View file @
6033412e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/0.
e84265a849badec441c8
.js
→
dist/static/js/0.
905ab761eb081f07ec1d
.js
View file @
6033412e
File moved
dist/static/js/2
5.ed6e48c5f7d722152b7d
.js
→
dist/static/js/2
1.1cff5e892f2304c25d41
.js
View file @
6033412e
webpackJsonp
([
25
],{
"BPN/"
:
function
(
e
,
t
){},
Vt1u
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
o
(
"CCn6"
),
n
=
{
components
:{
page
:
o
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
roleList
:[],
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
:{
getMenuList
:
function
(){
var
e
=
this
;
Object
(
a
.
_15
)().
then
(
function
(
t
){
t
&&
(
t
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
})}),
e
.
dialog
.
select
=
t
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
a
.
_22
)(
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
(
a
.
_15
)().
then
(
function
(
o
){
o
&&
(
o
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
})}),
t
.
dialog
.
select
=
o
,
Object
(
a
.
_21
)(
e
.
id
).
then
(
function
(
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
(
t
){
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
id
===
e
.
id
&&
(
t
.
readonly
=!!
e
.
readonly
,
t
.
delete
=!!
e
.
delete
)})})}),
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
(
a
.
A
)(
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
),
t
&&
o
.
push
(
t
)});
var
n
=
e
.
dialog
;
if
(
n
.
form
.
id
){
var
i
=
{
name
:
n
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
Object
(
a
.
_42
)(
n
.
form
.
id
,
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
n
.
show
=!
1
,
e
.
getList
()})}
else
{
var
l
=
{
name
:
n
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
Object
(
a
.
_37
)(
l
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
n
.
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
:{
prop
:
"name"
,
label
:
"角色名称"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
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
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"40%"
},
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
a
=
t
.
node
,
n
=
t
.
data
;
return
o
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
o
(
"span"
,[
e
.
_v
(
e
.
_s
(
a
.
label
))]),
e
.
_v
(
" "
),
0
!==
n
.
pid
?
o
(
"span"
,[
o
(
"el-checkbox"
,{
model
:{
value
:
n
.
readonly
,
callback
:
function
(
t
){
e
.
$set
(
n
,
"readonly"
,
t
)},
expression
:
"data.readonly"
}},[
e
.
_v
(
"只读"
)]),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
n
.
delete
,
callback
:
function
(
t
){
e
.
$set
(
n
,
"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
l
=
o
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
e
){
o
(
"BPN/"
)},
"data-v-49ca1d26"
,
null
);
t
.
default
=
l
.
exports
}});
\ No newline at end of file
webpackJsonp
([
21
],{
"S+Yb"
:
function
(
e
,
t
){},
Vt1u
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
o
(
"CCn6"
),
n
=
{
components
:{
page
:
o
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
roleList
:[],
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
:{
getMenuList
:
function
(){
var
e
=
this
;
Object
(
a
.
_15
)().
then
(
function
(
t
){
t
&&
(
t
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
})}),
e
.
dialog
.
select
=
t
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
a
.
_22
)(
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
(
a
.
_15
)().
then
(
function
(
o
){
o
&&
(
o
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
})}),
t
.
dialog
.
select
=
o
,
Object
(
a
.
_21
)(
e
.
id
).
then
(
function
(
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
(
t
){
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
id
===
e
.
id
&&
(
t
.
readonly
=!!
e
.
readonly
,
t
.
delete
=!!
e
.
delete
)})})}),
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
(
a
.
A
)(
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
),
t
&&
o
.
push
(
t
)});
var
n
=
e
.
dialog
;
if
(
n
.
form
.
id
){
var
i
=
{
name
:
n
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
Object
(
a
.
_42
)(
n
.
form
.
id
,
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
n
.
show
=!
1
,
e
.
getList
()})}
else
{
var
l
=
{
name
:
n
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
Object
(
a
.
_37
)(
l
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
n
.
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
:{
prop
:
"name"
,
label
:
"角色名称"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
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
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"40%"
},
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
a
=
t
.
node
,
n
=
t
.
data
;
return
o
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
o
(
"span"
,[
e
.
_v
(
e
.
_s
(
a
.
label
))]),
e
.
_v
(
" "
),
0
!==
n
.
pid
?
o
(
"span"
,[
o
(
"el-checkbox"
,{
model
:{
value
:
n
.
readonly
,
callback
:
function
(
t
){
e
.
$set
(
n
,
"readonly"
,
t
)},
expression
:
"data.readonly"
}},[
e
.
_v
(
"只读"
)]),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
n
.
delete
,
callback
:
function
(
t
){
e
.
$set
(
n
,
"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
l
=
o
(
"VU/8"
)(
n
,
i
,
!
1
,
function
(
e
){
o
(
"S+Yb"
)},
"data-v-e481b7a2"
,
null
);
t
.
default
=
l
.
exports
}});
\ No newline at end of file
dist/static/js/2
1.a6520d585e6bc88515ed
.js
→
dist/static/js/2
2.a13143900b034ede203b
.js
View file @
6033412e
webpackJsonp
([
21
],{
F5pf
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
,
o
=
a
(
"CCn6"
);
function
n
(
t
,
e
,
a
){
return
e
in
t
?
Object
.
defineProperty
(
t
,
e
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
t
[
e
]
=
a
,
t
}
var
l
=
{
name
:
"putForward"
,
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
search
:{
key
:
""
,
status
:
0
},
liStatus
:[{
label
:
"全部"
,
status
:
""
},{
label
:
"申请中"
,
status
:
0
},{
label
:
"提现成功"
,
status
:
1
},{
label
:
"提现失败"
,
status
:
2
}],
tableData
:[],
showDialog
:
!
1
,
showDesc
:
!
1
,
dialogTitle
:
"审核"
,
nowObj
:{
id
:
""
,
status
:
1
,
reason
:
""
,
desc
:
""
},
page
:{
current
:
1
,
pageSize
:
100
,
total
:
0
}}},
components
:{
page
:
a
(
"kmJW"
).
a
},
filters
:{
moneyYuan
:
function
(
t
){
return
(
t
/
100
).
toFixed
(
2
)
+
"元"
},
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"审核中"
:
1
===
t
?
e
=
"提现成功"
:
2
===
t
&&
(
e
=
"提现失败"
),
e
}},
mounted
:
function
(){
this
.
getList
()},
methods
:(
s
=
{
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
},
getList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
o
.
_29
)(
e
).
then
(
function
(
e
){
t
.
tableData
=
e
.
list
,
t
.
total
=
e
.
total
})},
onSearch
:
function
(){
this
.
page
.
current
=
1
,
this
.
getList
()},
checkMoney
:
function
(
t
){
this
.
nowObj
.
id
=
t
,
this
.
showDesc
=!
1
,
this
.
showDialog
=!
0
},
addDesc
:
function
(
t
,
e
){
this
.
nowObj
.
id
=
t
,
this
.
nowObj
.
desc
=
e
,
this
.
showDesc
=!
0
,
this
.
showDialog
=!
0
}},
n
(
s
,
"onPageChange"
,
function
(
t
){
this
.
page
.
current
=
t
,
this
.
getList
()}),
n
(
s
,
"doCallback"
,
function
(){
this
.
nowObj
.
id
=
""
,
this
.
nowObj
.
status
=
1
,
this
.
nowObj
.
reason
=
""
,
this
.
nowObj
.
desc
=
""
,
this
.
page
.
current
=
1
,
this
.
showDialog
=!
1
,
this
.
getList
(),
this
.
$message
({
message
:
"提交成功"
,
type
:
"success"
})}),
n
(
s
,
"onSave"
,
function
(
t
){
var
e
=
this
;
if
(
t
){
var
a
=
{
desc
:
this
.
nowObj
.
desc
};
if
(
""
===
a
.
desc
||
null
==
a
.
desc
)
return
this
.
$message
.
error
(
"请填写备注"
),
!
1
;
Object
(
o
.
P
)(
this
.
nowObj
.
id
,
"withdraw"
,
a
).
then
(
function
(
t
){
e
.
doCallback
()})}
else
{
var
s
=
{
reason
:
this
.
nowObj
.
reason
,
status
:
this
.
nowObj
.
status
};
if
((
""
===
s
.
reason
||
null
==
s
.
reason
)
&&
2
===
s
.
status
)
return
this
.
$message
.
error
(
"请填写失败理由"
),
!
1
;
s
.
reason
=
""
,
Object
(
o
.
_44
)(
this
.
nowObj
.
id
,
s
).
then
(
function
(
t
){
e
.
doCallback
()})}}),
s
)},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"putForward"
},[
a
(
"el-form"
,{
staticClass
:
"demo-form-inline"
,
attrs
:{
inline
:
!
0
,
model
:
t
.
search
,
"label-width"
:
"80px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"关键字"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"用户名/手机号"
},
model
:{
value
:
t
.
search
.
key
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"key"
,
e
)},
expression
:
"search.key"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"用户名/手机/课程名称"
},
model
:{
value
:
t
.
search
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"status"
,
e
)},
expression
:
"search.status"
}},
t
.
_l
(
t
.
liStatus
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
status
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
status
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSearch
}},[
t
.
_v
(
"查询"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
border
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"username"
,
label
:
"用户名"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"已获得总额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
getSumMoney
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"已提金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
alreadyMoney
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"可提余额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
resMoney
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
money
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
e
.
row
.
status
,
green
:
1
===
e
.
row
.
status
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"同意提现时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
pay_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"reason"
,
label
:
"失败原因"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
===
e
.
row
.
status
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
checkMoney
(
e
.
row
.
id
,
e
.
row
.
desc
)}}},[
t
.
_v
(
"
\n
审核
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
addDesc
(
e
.
row
.
id
,
e
.
row
.
desc
)}}},[
t
.
_v
(
"
\n
添加备注
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}}),
t
.
_v
(
" "
),
t
.
showDialog
?
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialogTitle
,
visible
:
t
.
showDialog
},
on
:{
"update:visible"
:
function
(
e
){
t
.
showDialog
=
e
}}},[
a
(
"el-form"
,{
ref
:
"saveuser"
,
attrs
:{
model
:
t
.
nowObj
,
"label-width"
:
"70px"
}},[
t
.
showDesc
?
t
.
_e
():
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[[
a
(
"el-radio-group"
,{
model
:{
value
:
t
.
nowObj
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
nowObj
,
"status"
,
e
)},
expression
:
"nowObj.status"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
t
.
_v
(
"提现成功"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
t
.
_v
(
"提现失败"
)])],
1
)]],
2
),
t
.
_v
(
" "
),
2
!==
t
.
nowObj
.
status
||
t
.
showDesc
?
t
.
_e
():
a
(
"el-form-item"
,{
attrs
:{
label
:
"失败理由"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
"3"
,
"auto-complete"
:
"off"
},
model
:{
value
:
t
.
nowObj
.
reason
,
callback
:
function
(
e
){
t
.
$set
(
t
.
nowObj
,
"reason"
,
e
)},
expression
:
"nowObj.reason"
}})],
1
),
t
.
_v
(
" "
),
t
.
showDesc
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"备注信息"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
"3"
,
"auto-complete"
:
"off"
},
model
:{
value
:
t
.
nowObj
.
desc
,
callback
:
function
(
e
){
t
.
$set
(
t
.
nowObj
,
"desc"
,
e
)},
expression
:
"nowObj.desc"
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
onSave
(
t
.
showDesc
)}}},[
t
.
_v
(
"保 存"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
showDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)])],
1
)],
1
):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
a
(
"P33w"
)},
"data-v-caa2f64c"
,
null
);
e
.
default
=
i
.
exports
},
P33w
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
22
],{
F5pf
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
,
o
=
a
(
"CCn6"
);
function
n
(
t
,
e
,
a
){
return
e
in
t
?
Object
.
defineProperty
(
t
,
e
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
t
[
e
]
=
a
,
t
}
var
l
=
{
name
:
"putForward"
,
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
search
:{
key
:
""
,
status
:
0
},
liStatus
:[{
label
:
"全部"
,
status
:
""
},{
label
:
"申请中"
,
status
:
0
},{
label
:
"提现成功"
,
status
:
1
},{
label
:
"提现失败"
,
status
:
2
}],
tableData
:[],
showDialog
:
!
1
,
showDesc
:
!
1
,
dialogTitle
:
"审核"
,
nowObj
:{
id
:
""
,
status
:
1
,
reason
:
""
,
desc
:
""
},
page
:{
current
:
1
,
pageSize
:
100
,
total
:
0
}}},
components
:{
page
:
a
(
"kmJW"
).
a
},
filters
:{
moneyYuan
:
function
(
t
){
return
(
t
/
100
).
toFixed
(
2
)
+
"元"
},
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"审核中"
:
1
===
t
?
e
=
"提现成功"
:
2
===
t
&&
(
e
=
"提现失败"
),
e
}},
mounted
:
function
(){
this
.
getList
()},
methods
:(
s
=
{
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
},
getList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
o
.
_29
)(
e
).
then
(
function
(
e
){
t
.
tableData
=
e
.
list
,
t
.
total
=
e
.
total
})},
onSearch
:
function
(){
this
.
page
.
current
=
1
,
this
.
getList
()},
checkMoney
:
function
(
t
){
this
.
nowObj
.
id
=
t
,
this
.
showDesc
=!
1
,
this
.
showDialog
=!
0
},
addDesc
:
function
(
t
,
e
){
this
.
nowObj
.
id
=
t
,
this
.
nowObj
.
desc
=
e
,
this
.
showDesc
=!
0
,
this
.
showDialog
=!
0
}},
n
(
s
,
"onPageChange"
,
function
(
t
){
this
.
page
.
current
=
t
,
this
.
getList
()}),
n
(
s
,
"doCallback"
,
function
(){
this
.
nowObj
.
id
=
""
,
this
.
nowObj
.
status
=
1
,
this
.
nowObj
.
reason
=
""
,
this
.
nowObj
.
desc
=
""
,
this
.
page
.
current
=
1
,
this
.
showDialog
=!
1
,
this
.
getList
(),
this
.
$message
({
message
:
"提交成功"
,
type
:
"success"
})}),
n
(
s
,
"onSave"
,
function
(
t
){
var
e
=
this
;
if
(
t
){
var
a
=
{
desc
:
this
.
nowObj
.
desc
};
if
(
""
===
a
.
desc
||
null
==
a
.
desc
)
return
this
.
$message
.
error
(
"请填写备注"
),
!
1
;
Object
(
o
.
P
)(
this
.
nowObj
.
id
,
"withdraw"
,
a
).
then
(
function
(
t
){
e
.
doCallback
()})}
else
{
var
s
=
{
reason
:
this
.
nowObj
.
reason
,
status
:
this
.
nowObj
.
status
};
if
((
""
===
s
.
reason
||
null
==
s
.
reason
)
&&
2
===
s
.
status
)
return
this
.
$message
.
error
(
"请填写失败理由"
),
!
1
;
s
.
reason
=
""
,
Object
(
o
.
_44
)(
this
.
nowObj
.
id
,
s
).
then
(
function
(
t
){
e
.
doCallback
()})}}),
s
)},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"putForward"
},[
a
(
"el-form"
,{
staticClass
:
"demo-form-inline"
,
attrs
:{
inline
:
!
0
,
model
:
t
.
search
,
"label-width"
:
"80px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"关键字"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"用户名/手机号"
},
model
:{
value
:
t
.
search
.
key
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"key"
,
e
)},
expression
:
"search.key"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"用户名/手机/课程名称"
},
model
:{
value
:
t
.
search
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
search
,
"status"
,
e
)},
expression
:
"search.status"
}},
t
.
_l
(
t
.
liStatus
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
status
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
status
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSearch
}},[
t
.
_v
(
"查询"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
border
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"username"
,
label
:
"用户名"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"已获得总额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
getSumMoney
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"已提金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
alreadyMoney
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"可提余额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
resMoney
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
money
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
e
.
row
.
status
,
green
:
1
===
e
.
row
.
status
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"同意提现时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
pay_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"reason"
,
label
:
"失败原因"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
===
e
.
row
.
status
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
checkMoney
(
e
.
row
.
id
,
e
.
row
.
desc
)}}},[
t
.
_v
(
"
\n
审核
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
addDesc
(
e
.
row
.
id
,
e
.
row
.
desc
)}}},[
t
.
_v
(
"
\n
添加备注
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}}),
t
.
_v
(
" "
),
t
.
showDialog
?
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialogTitle
,
visible
:
t
.
showDialog
},
on
:{
"update:visible"
:
function
(
e
){
t
.
showDialog
=
e
}}},[
a
(
"el-form"
,{
ref
:
"saveuser"
,
attrs
:{
model
:
t
.
nowObj
,
"label-width"
:
"70px"
}},[
t
.
showDesc
?
t
.
_e
():
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[[
a
(
"el-radio-group"
,{
model
:{
value
:
t
.
nowObj
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
nowObj
,
"status"
,
e
)},
expression
:
"nowObj.status"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
t
.
_v
(
"提现成功"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
t
.
_v
(
"提现失败"
)])],
1
)]],
2
),
t
.
_v
(
" "
),
2
!==
t
.
nowObj
.
status
||
t
.
showDesc
?
t
.
_e
():
a
(
"el-form-item"
,{
attrs
:{
label
:
"失败理由"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
"3"
,
"auto-complete"
:
"off"
},
model
:{
value
:
t
.
nowObj
.
reason
,
callback
:
function
(
e
){
t
.
$set
(
t
.
nowObj
,
"reason"
,
e
)},
expression
:
"nowObj.reason"
}})],
1
),
t
.
_v
(
" "
),
t
.
showDesc
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"备注信息"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
"3"
,
"auto-complete"
:
"off"
},
model
:{
value
:
t
.
nowObj
.
desc
,
callback
:
function
(
e
){
t
.
$set
(
t
.
nowObj
,
"desc"
,
e
)},
expression
:
"nowObj.desc"
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
onSave
(
t
.
showDesc
)}}},[
t
.
_v
(
"保 存"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
showDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)])],
1
)],
1
):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
a
(
"P33w"
)},
"data-v-caa2f64c"
,
null
);
e
.
default
=
i
.
exports
},
P33w
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/2
2.2149cac6e44654f98154
.js
→
dist/static/js/2
3.b3ac04d0c021899a4fc3
.js
View file @
6033412e
webpackJsonp
([
22
],{
hFUZ
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
l
=
e
(
"CCn6"
),
s
=
e
(
"+TkF"
),
i
=
{
name
:
"index"
,
components
:{
page
:
e
(
"kmJW"
).
a
},
data
:
function
(){
return
{
list
:[],
id
:
""
,
detail
:{},
total
:
0
,
limit
:
10
,
nowPage
:
1
}},
methods
:{
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getTeacherDetail
()},
getTeacherDetail
:
function
(){
var
t
=
this
,
a
=
this
.
id
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
l
.
_25
)(
a
,
e
).
then
(
function
(
a
){
a
.
class_list
&&
(
t
.
list
=
a
.
class_list
.
list
||
[],
t
.
total
=
a
.
class_list
.
total
),
t
.
detail
=
a
})}},
filters
:{
teacherType
:
function
(
t
){
return
s
.
l
[
t
]}},
mounted
:
function
(){
this
.
id
=
this
.
$route
.
params
.
id
,
this
.
getTeacherDetail
()}},
n
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"teacher"
},[
e
(
"div"
,{
staticClass
:
"header"
},[
e
(
"el-row"
,[
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"老师:"
)]),
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"二维码:"
)]),
t
.
_v
(
" "
),
e
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
}},[
e
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])],
1
),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
e
(
"el-row"
,[
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"绑定用户:"
)]),
t
.
_v
(
" "
),
e
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
e
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
")
\n
"
)])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
e
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
}},[
e
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"班级ID"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"参加人数"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开始时间"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
t
.
_v
(
" "
),
e
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}})],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
t
){
e
(
"qo1z"
)},
"data-v-bbfdc2f8"
,
null
);
a
.
default
=
r
.
exports
},
qo1z
:
function
(
t
,
a
){}});
\ No newline at end of file
webpackJsonp
([
23
],{
hFUZ
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
l
=
e
(
"CCn6"
),
s
=
e
(
"+TkF"
),
i
=
{
name
:
"index"
,
components
:{
page
:
e
(
"kmJW"
).
a
},
data
:
function
(){
return
{
list
:[],
id
:
""
,
detail
:{},
total
:
0
,
limit
:
10
,
nowPage
:
1
}},
methods
:{
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getTeacherDetail
()},
getTeacherDetail
:
function
(){
var
t
=
this
,
a
=
this
.
id
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
l
.
_25
)(
a
,
e
).
then
(
function
(
a
){
a
.
class_list
&&
(
t
.
list
=
a
.
class_list
.
list
||
[],
t
.
total
=
a
.
class_list
.
total
),
t
.
detail
=
a
})}},
filters
:{
teacherType
:
function
(
t
){
return
s
.
l
[
t
]}},
mounted
:
function
(){
this
.
id
=
this
.
$route
.
params
.
id
,
this
.
getTeacherDetail
()}},
n
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"teacher"
},[
e
(
"div"
,{
staticClass
:
"header"
},[
e
(
"el-row"
,[
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"老师:"
)]),
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"二维码:"
)]),
t
.
_v
(
" "
),
e
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
}},[
e
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])],
1
),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
e
(
"el-row"
,[
e
(
"el-col"
,{
attrs
:{
span
:
6
}},[
e
(
"label"
,[
t
.
_v
(
"绑定用户:"
)]),
t
.
_v
(
" "
),
e
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
e
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
")
\n
"
)])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
e
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
}},[
e
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"班级ID"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"参加人数"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开始时间"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
t
.
_v
(
" "
),
e
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}})],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
t
){
e
(
"qo1z"
)},
"data-v-bbfdc2f8"
,
null
);
a
.
default
=
r
.
exports
},
qo1z
:
function
(
t
,
a
){}});
\ No newline at end of file
dist/static/js/2
3.5b8bdbaad9a2d957df3d
.js
→
dist/static/js/2
4.2bca9087d93c1145e1e1
.js
View file @
6033412e
webpackJsonp
([
23
],{
XeyP
:
function
(
t
,
e
){},
Xhqp
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"CCn6"
),
s
=
{
name
:
"resource"
,
data
:
function
(){
return
{
mediaList
:[],
nowPage
:
1
,
total
:
0
,
limit
:
5
,
loading
:
!
1
,
type
:
"image"
,
imageList
:[],
uploadParam
:{
type
:
"wechat"
,
chunk
:
0
,
count
:
1
},
fileUid
:
null
,
showProgress
:
!
1
,
typeText
:{
image
:
"图片"
,
video
:
"视频"
,
voice
:
"语音"
}}},
components
:{
page
:
i
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getMediaList
(
this
.
type
)},
computed
:{
progress
:
function
(){
var
t
=
this
;
return
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
<
100
?
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
:
100
}},
methods
:{
getMediaType
:
function
(
t
){
this
.
type
=
t
,
this
.
nowPage
=
1
,
this
.
getMediaList
(
t
)},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getMediaList
(
this
.
type
)},
getMediaList
:
function
(
t
){
var
e
=
this
,
i
=
{
type
:
t
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
loading
=!
0
,
Object
(
a
.
_14
)(
i
).
then
(
function
(
i
){
e
.
loading
=!
1
,
e
.
type
=
t
,
e
.
mediaList
=
i
.
item
,
e
.
total
=
i
.
total_count
,
0
===
i
.
item
.
length
&&
e
.
$message
({
showClose
:
!
0
,
message
:
"暂无数据"
})}).
catch
(
function
(){
e
.
loading
=!
1
})},
handleUploadSuccess
:
function
(
t
){
console
.
log
(
"handleUploadSuccess"
,
t
),
200
===
t
.
code
&&
(
this
.
imageList
=
[{
name
:
t
.
data
.
url
,
url
:
"http://cdn.singsingenglish.com/"
+
t
.
data
.
url
}])},
uploadFile
:
function
(
t
){
var
e
=
this
;
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
t
.
file
.
uid
}),
this
.
fileUid
=
t
.
file
.
uid
,
this
.
showProgress
=!
0
,
Object
(
a
.
_43
)({
file
:
t
.
file
,
type
:
"wechat"
}).
then
(
function
(
t
){
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
"http://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
getMediaList
(
e
.
type
),
e
.
loading
=!
1
,
e
.
showProgress
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
e
.
loading
=!
1
,
e
.
showProgress
=!
1
})}}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"media"
},[
i
(
"h2"
,{
staticClass
:
"media-title"
},[
t
.
_v
(
"素材管理"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"ul"
,{
staticClass
:
"media-navs"
},[
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"image"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"image"
)}}},[
t
.
_m
(
0
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"voice"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"voice"
)}}},[
t
.
_m
(
1
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"video"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"video"
)}}},[
t
.
_m
(
2
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"media-panel"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top flex-bt"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top-left"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
typeText
[
t
.
type
])
+
"(共"
+
t
.
_s
(
t
.
total
)
+
"条)
\n
"
)]),
t
.
_v
(
" "
),
t
.
showProgress
?
i
(
"div"
,{
staticClass
:
"progress"
},[
i
(
"el-progress"
,{
attrs
:{
percentage
:
t
.
progress
,
status
:
"success"
}})],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"media-panel-top-right"
},[
i
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
t
.
uploadFile
,
"show-file-list"
:
!
1
,
data
:
t
.
uploadParam
}},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
staticStyle
:{
order
:
"2"
},
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
t
.
mediaList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
mediaList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
"image"
===
t
.
type
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
url
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticStyle
:{
width
:
"60px"
},
attrs
:{
src
:
e
.
row
.
url
}})]):
t
.
_e
(),
t
.
_v
(
" "
),
"video"
===
t
.
type
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
info
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
info
.
title
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
"voice"
===
t
.
type
?
i
(
"audio"
,{
attrs
:{
id
:
"myAudio"
,
controls
:
""
}},[
i
(
"source"
,{
attrs
:{
src
:
e
.
row
.
url
}}),
t
.
_v
(
"
\n
Your browser does not support the audio element.
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}})],
1
):
t
.
_e
()])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"图片"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"语音"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"视频"
),
e
(
"br"
)])}]};
var
o
=
i
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
t
){
i
(
"XeyP"
)},
"data-v-b8695b20"
,
null
);
e
.
default
=
o
.
exports
}});
\ No newline at end of file
webpackJsonp
([
24
],{
XeyP
:
function
(
t
,
e
){},
Xhqp
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"CCn6"
),
s
=
{
name
:
"resource"
,
data
:
function
(){
return
{
mediaList
:[],
nowPage
:
1
,
total
:
0
,
limit
:
5
,
loading
:
!
1
,
type
:
"image"
,
imageList
:[],
uploadParam
:{
type
:
"wechat"
,
chunk
:
0
,
count
:
1
},
fileUid
:
null
,
showProgress
:
!
1
,
typeText
:{
image
:
"图片"
,
video
:
"视频"
,
voice
:
"语音"
}}},
components
:{
page
:
i
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getMediaList
(
this
.
type
)},
computed
:{
progress
:
function
(){
var
t
=
this
;
return
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
<
100
?
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
:
100
}},
methods
:{
getMediaType
:
function
(
t
){
this
.
type
=
t
,
this
.
nowPage
=
1
,
this
.
getMediaList
(
t
)},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getMediaList
(
this
.
type
)},
getMediaList
:
function
(
t
){
var
e
=
this
,
i
=
{
type
:
t
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
loading
=!
0
,
Object
(
a
.
_14
)(
i
).
then
(
function
(
i
){
e
.
loading
=!
1
,
e
.
type
=
t
,
e
.
mediaList
=
i
.
item
,
e
.
total
=
i
.
total_count
,
0
===
i
.
item
.
length
&&
e
.
$message
({
showClose
:
!
0
,
message
:
"暂无数据"
})}).
catch
(
function
(){
e
.
loading
=!
1
})},
handleUploadSuccess
:
function
(
t
){
console
.
log
(
"handleUploadSuccess"
,
t
),
200
===
t
.
code
&&
(
this
.
imageList
=
[{
name
:
t
.
data
.
url
,
url
:
"http://cdn.singsingenglish.com/"
+
t
.
data
.
url
}])},
uploadFile
:
function
(
t
){
var
e
=
this
;
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
t
.
file
.
uid
}),
this
.
fileUid
=
t
.
file
.
uid
,
this
.
showProgress
=!
0
,
Object
(
a
.
_43
)({
file
:
t
.
file
,
type
:
"wechat"
}).
then
(
function
(
t
){
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
"http://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
getMediaList
(
e
.
type
),
e
.
loading
=!
1
,
e
.
showProgress
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
e
.
loading
=!
1
,
e
.
showProgress
=!
1
})}}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"media"
},[
i
(
"h2"
,{
staticClass
:
"media-title"
},[
t
.
_v
(
"素材管理"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"ul"
,{
staticClass
:
"media-navs"
},[
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"image"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"image"
)}}},[
t
.
_m
(
0
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"voice"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"voice"
)}}},[
t
.
_m
(
1
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"video"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"video"
)}}},[
t
.
_m
(
2
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"media-panel"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top flex-bt"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top-left"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
typeText
[
t
.
type
])
+
"(共"
+
t
.
_s
(
t
.
total
)
+
"条)
\n
"
)]),
t
.
_v
(
" "
),
t
.
showProgress
?
i
(
"div"
,{
staticClass
:
"progress"
},[
i
(
"el-progress"
,{
attrs
:{
percentage
:
t
.
progress
,
status
:
"success"
}})],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"media-panel-top-right"
},[
i
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
t
.
uploadFile
,
"show-file-list"
:
!
1
,
data
:
t
.
uploadParam
}},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
staticStyle
:{
order
:
"2"
},
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
t
.
mediaList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
mediaList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
"image"
===
t
.
type
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
url
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticStyle
:{
width
:
"60px"
},
attrs
:{
src
:
e
.
row
.
url
}})]):
t
.
_e
(),
t
.
_v
(
" "
),
"video"
===
t
.
type
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
info
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
info
.
title
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
"voice"
===
t
.
type
?
i
(
"audio"
,{
attrs
:{
id
:
"myAudio"
,
controls
:
""
}},[
i
(
"source"
,{
attrs
:{
src
:
e
.
row
.
url
}}),
t
.
_v
(
"
\n
Your browser does not support the audio element.
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
}})],
1
):
t
.
_e
()])])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"图片"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"语音"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"视频"
),
e
(
"br"
)])}]};
var
o
=
i
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
t
){
i
(
"XeyP"
)},
"data-v-b8695b20"
,
null
);
e
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/2
4.fa91fb2989f9333b0b71
.js
→
dist/static/js/2
5.e24c5f35c405369b6432
.js
View file @
6033412e
webpackJsonp
([
24
],{
WZgi
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
l
=
a
(
"CCn6"
),
r
=
{
name
:
"sysConfig"
,
components
:{
page
:
a
(
"kmJW"
).
a
},
data
:
function
(){
return
{
list
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
admin_id
:
""
,
url
:
""
,
desc
:
""
}}},
mounted
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(){
var
e
=
this
;
this
.
searchFrom
.
page
=
this
.
nowPage
;
var
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
admin_id
&&
(
t
.
admin_id
=
this
.
searchFrom
.
admin_id
),
this
.
searchFrom
.
url
&&
(
t
.
url
=
this
.
searchFrom
.
url
),
this
.
searchFrom
.
desc
&&
(
t
.
desc
=
this
.
searchFrom
.
desc
),
Object
(
l
.
V
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"log"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
admin_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"admin_id"
,
t
)},
expression
:
"searchFrom.admin_id"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"url"
,
t
)},
expression
:
"searchFrom.url"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"功能名"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"desc"
,
t
)},
expression
:
"searchFrom.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-form"
,{
staticClass
:
"demo-table-expand"
,
attrs
:{
"label-position"
:
"left"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求方法"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
method
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求链接"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
url
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
params
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"登陆名"
,
prop
:
"user_name"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户ID"
,
prop
:
"admin_id"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户名"
,
prop
:
"user_desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"功能名"
,
prop
:
"desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
}})],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
r
,
s
,
!
1
,
function
(
e
){
a
(
"nrSE"
)},
"data-v-4d31dc4f"
,
null
);
t
.
default
=
o
.
exports
},
nrSE
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
25
],{
WZgi
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
l
=
a
(
"CCn6"
),
r
=
{
name
:
"sysConfig"
,
components
:{
page
:
a
(
"kmJW"
).
a
},
data
:
function
(){
return
{
list
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
admin_id
:
""
,
url
:
""
,
desc
:
""
}}},
mounted
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(){
var
e
=
this
;
this
.
searchFrom
.
page
=
this
.
nowPage
;
var
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
admin_id
&&
(
t
.
admin_id
=
this
.
searchFrom
.
admin_id
),
this
.
searchFrom
.
url
&&
(
t
.
url
=
this
.
searchFrom
.
url
),
this
.
searchFrom
.
desc
&&
(
t
.
desc
=
this
.
searchFrom
.
desc
),
Object
(
l
.
V
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"log"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
admin_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"admin_id"
,
t
)},
expression
:
"searchFrom.admin_id"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"url"
,
t
)},
expression
:
"searchFrom.url"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"功能名"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"desc"
,
t
)},
expression
:
"searchFrom.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-form"
,{
staticClass
:
"demo-table-expand"
,
attrs
:{
"label-position"
:
"left"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求方法"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
method
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求链接"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
url
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
params
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"登陆名"
,
prop
:
"user_name"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户ID"
,
prop
:
"admin_id"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户名"
,
prop
:
"user_desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"功能名"
,
prop
:
"desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
}})],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
r
,
s
,
!
1
,
function
(
e
){
a
(
"nrSE"
)},
"data-v-4d31dc4f"
,
null
);
t
.
default
=
o
.
exports
},
nrSE
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.
7db59e0a9c217bdd5de2
.js
→
dist/static/js/app.
25ba3a0e18d285b0fb5b
.js
View file @
6033412e
webpackJsonp
([
31
],{
"81++"
:
function
(
e
,
n
){},
IcnI
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"7+uW"
),
a
=
t
(
"NYxO"
),
r
=
t
(
"zSLJ"
),
i
=
{
setToken
:
function
(
e
,
n
){
e
.
token
=
n
,
r
.
a
.
set
(
"cc_token"
,
n
)},
setUserName
:
function
(
e
,
n
){
e
.
userName
=
n
,
r
.
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
},
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
})}}},
u
=
{
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
){
var
t
=
e
.
commit
;
console
.
log
(
n
),
t
(
"deletePermission"
,
n
)}};
o
.
default
.
use
(
a
.
a
);
n
.
a
=
new
a
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
i
,
actions
:
u
})},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
t
(
"7+uW"
),
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
(
6
)]).
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
(
20
)]).
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
(
10
)]).
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
(
11
)]).
then
(
function
(){
var
n
=
[
t
(
"OX9A"
)];
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
(
17
)]).
then
(
function
(){
var
n
=
[
t
(
"sg/1"
)];
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
(
14
)]).
then
(
function
(){
var
n
=
[
t
(
"Y0Vi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
9
)]).
then
(
function
(){
var
n
=
[
t
(
"jFLA"
)];
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
(
2
)]).
then
(
function
(){
var
n
=
[
t
(
"2qmY"
)];
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
(
29
)]).
then
(
function
(){
var
n
=
[
t
(
"89rD"
)];
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
(
21
)]).
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
(
27
).
then
(
function
(){
var
n
=
[
t
(
"usUK"
)];
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
(
15
)]).
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
(
8
)]).
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
(
5
)]).
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
(
4
)]).
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
(
12
)]).
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
(
23
)]).
then
(
function
(){
var
n
=
[
t
(
"Xhqp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"Banner管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"7-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
16
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
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
(
28
)]).
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
(
25
)]).
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
(
26
)]).
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
(
19
)]).
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
(
24
)]).
then
(
function
(){
var
n
=
[
t
(
"WZgi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]}],
r
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
,
n
=
this
.
$store
.
state
.
progressList
,
t
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[],
a
.
forEach
(
function
(
o
){
var
a
=!
1
,
r
=
[];
o
.
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
,
r
.
push
(
t
),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
t
.
router
),
a
=!
0
)}),
a
&&
(
o
.
list
=
r
,
t
.
push
(
o
))}),
this
.
$router
.
addRoutes
(
this
.
$router
.
options
.
routes
),
this
.
$store
.
dispatch
(
"setMenu"
,
t
)}},
i
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)(
r
,
i
,
!
1
,
function
(
e
){
t
(
"81++"
)},
null
,
null
).
exports
,
c
=
t
(
"YaEn"
),
s
=
t
(
"zL8q"
),
l
=
t
.
n
(
s
),
p
=
(
t
(
"tvR6"
),
t
(
"IcnI"
));
o
.
default
.
use
(
l
.
a
),
o
.
default
.
config
.
productionTip
=!
1
,
new
o
.
default
({
el
:
"#app"
,
store
:
p
.
a
,
router
:
c
.
a
,
components
:{
App
:
u
},
template
:
"<App/>"
})},
YaEn
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"7+uW"
),
a
=
t
(
"IcnI"
),
r
=
t
(
"/ocq"
),
i
=
t
(
"zSLJ"
);
o
.
default
.
use
(
r
.
a
);
var
u
=
new
r
.
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
(
3
).
then
(
function
(){
var
n
=
[
t
(
"sJm1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
13
)]).
then
(
function
(){
var
n
=
[
t
(
"9PRC"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
22
)]).
then
(
function
(){
var
n
=
[
t
(
"hFUZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
18
)]).
then
(
function
(){
var
n
=
[
t
(
"0HId"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
u
.
beforeEach
(
function
(
e
,
n
,
t
){
if
(
a
.
a
.
commit
(
"mainCanShow"
),
i
.
a
.
get
(
"cc_token"
)
&&
(
a
.
a
.
dispatch
(
"setToken"
,
i
.
a
.
get
(
"cc_token"
)),
a
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
i
.
a
.
get
(
"cc_user_name"
)
&&
a
.
a
.
dispatch
(
"setUserName"
,
i
.
a
.
get
(
"cc_user_name"
))),
a
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
o
=
void
0
,
r
=
0
;
r
<
a
.
a
.
state
.
menuList
.
length
;
r
++
)
for
(
var
u
=
a
.
a
.
state
.
menuList
[
r
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
s
=
u
.
list
[
c
];
s
.
path
===
e
.
path
&&
(
o
=
s
)}
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
),
"userDetail"
===
e
.
name
){
var
l
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
a
.
a
.
dispatch
(
"readonly"
,
l
)}
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
()}),
n
.
a
=
u
},
tvR6
:
function
(
e
,
n
){},
zSLJ
:
function
(
e
,
n
,
t
){
"use strict"
;
n
.
a
=
{
set
:
function
(
e
,
n
,
t
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
t
),
window
.
document
.
cookie
=
e
+
"="
+
n
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
n
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
n
?
n
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
webpackJsonp
([
31
],{
"81++"
:
function
(
e
,
n
){},
IcnI
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"7+uW"
),
a
=
t
(
"NYxO"
),
r
=
t
(
"zSLJ"
),
i
=
{
setToken
:
function
(
e
,
n
){
e
.
token
=
n
,
r
.
a
.
set
(
"cc_token"
,
n
)},
setUserName
:
function
(
e
,
n
){
e
.
userName
=
n
,
r
.
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
},
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
})}}},
u
=
{
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
){
var
t
=
e
.
commit
;
console
.
log
(
n
),
t
(
"deletePermission"
,
n
)}};
o
.
default
.
use
(
a
.
a
);
n
.
a
=
new
a
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
i
,
actions
:
u
})},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
t
(
"7+uW"
),
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
(
6
)]).
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
(
20
)]).
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
(
10
)]).
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
(
11
)]).
then
(
function
(){
var
n
=
[
t
(
"OX9A"
)];
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
(
17
)]).
then
(
function
(){
var
n
=
[
t
(
"sg/1"
)];
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
(
14
)]).
then
(
function
(){
var
n
=
[
t
(
"Y0Vi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
9
)]).
then
(
function
(){
var
n
=
[
t
(
"jFLA"
)];
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
(
2
)]).
then
(
function
(){
var
n
=
[
t
(
"2qmY"
)];
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
(
29
)]).
then
(
function
(){
var
n
=
[
t
(
"89rD"
)];
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
(
22
)]).
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
(
27
).
then
(
function
(){
var
n
=
[
t
(
"usUK"
)];
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
(
15
)]).
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
(
8
)]).
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
(
5
)]).
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
(
4
)]).
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
(
12
)]).
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
(
24
)]).
then
(
function
(){
var
n
=
[
t
(
"Xhqp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"Banner管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"7-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
16
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
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
(
28
)]).
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
(
21
)]).
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
(
26
)]).
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
(
19
)]).
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
(
25
)]).
then
(
function
(){
var
n
=
[
t
(
"WZgi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]}],
r
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
,
n
=
this
.
$store
.
state
.
progressList
,
t
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[],
a
.
forEach
(
function
(
o
){
var
a
=!
1
,
r
=
[];
o
.
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
,
r
.
push
(
t
),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
t
.
router
),
a
=!
0
)}),
a
&&
(
o
.
list
=
r
,
t
.
push
(
o
))}),
this
.
$router
.
addRoutes
(
this
.
$router
.
options
.
routes
),
this
.
$store
.
dispatch
(
"setMenu"
,
t
)}},
i
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)(
r
,
i
,
!
1
,
function
(
e
){
t
(
"81++"
)},
null
,
null
).
exports
,
c
=
t
(
"YaEn"
),
s
=
t
(
"zL8q"
),
l
=
t
.
n
(
s
),
p
=
(
t
(
"tvR6"
),
t
(
"IcnI"
));
o
.
default
.
use
(
l
.
a
),
o
.
default
.
config
.
productionTip
=!
1
,
new
o
.
default
({
el
:
"#app"
,
store
:
p
.
a
,
router
:
c
.
a
,
components
:{
App
:
u
},
template
:
"<App/>"
})},
YaEn
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"7+uW"
),
a
=
t
(
"IcnI"
),
r
=
t
(
"/ocq"
),
i
=
t
(
"zSLJ"
);
o
.
default
.
use
(
r
.
a
);
var
u
=
new
r
.
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
(
3
).
then
(
function
(){
var
n
=
[
t
(
"sJm1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
13
)]).
then
(
function
(){
var
n
=
[
t
(
"9PRC"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
23
)]).
then
(
function
(){
var
n
=
[
t
(
"hFUZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
18
)]).
then
(
function
(){
var
n
=
[
t
(
"0HId"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
u
.
beforeEach
(
function
(
e
,
n
,
t
){
if
(
a
.
a
.
commit
(
"mainCanShow"
),
i
.
a
.
get
(
"cc_token"
)
&&
(
a
.
a
.
dispatch
(
"setToken"
,
i
.
a
.
get
(
"cc_token"
)),
a
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
i
.
a
.
get
(
"cc_user_name"
)
&&
a
.
a
.
dispatch
(
"setUserName"
,
i
.
a
.
get
(
"cc_user_name"
))),
a
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
o
=
void
0
,
r
=
0
;
r
<
a
.
a
.
state
.
menuList
.
length
;
r
++
)
for
(
var
u
=
a
.
a
.
state
.
menuList
[
r
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
s
=
u
.
list
[
c
];
s
.
path
===
e
.
path
&&
(
o
=
s
)}
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
),
"userDetail"
===
e
.
name
){
var
l
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
a
.
a
.
dispatch
(
"readonly"
,
l
)}
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
()}),
u
.
onError
(
function
(
e
){
var
n
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
t
=
u
.
history
.
pending
.
fullPath
;
n
&&
u
.
replace
(
t
)}),
n
.
a
=
u
},
tvR6
:
function
(
e
,
n
){},
zSLJ
:
function
(
e
,
n
,
t
){
"use strict"
;
n
.
a
=
{
set
:
function
(
e
,
n
,
t
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
t
),
window
.
document
.
cookie
=
e
+
"="
+
n
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
n
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
n
?
n
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.5
3f0f3d0c8d67ef2f3a0
.js
→
dist/static/js/manifest.5
9b8cf8117b2d2050955
.js
View file @
6033412e
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
t
,
a
){
for
(
var
d
,
o
,
b
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
o
=
f
[
i
],
n
[
o
]
&&
u
.
push
(
n
[
o
][
0
]),
n
[
o
]
=
0
;
for
(
d
in
t
)
Object
.
prototype
.
hasOwnProperty
.
call
(
t
,
d
)
&&
(
e
[
d
]
=
t
[
d
]);
for
(
c
&&
c
(
f
,
t
,
a
);
u
.
length
;)
u
.
shift
()();
if
(
a
)
for
(
i
=
0
;
i
<
a
.
length
;
i
++
)
b
=
r
(
r
.
s
=
a
[
i
]);
return
b
};
var
f
=
{},
n
=
{
32
:
0
};
function
r
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
n
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
n
.
exports
,
n
,
n
.
exports
,
r
),
n
.
l
=!
0
,
n
.
exports
}
r
.
e
=
function
(
e
){
var
c
=
n
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
r
){
c
=
n
[
e
]
=
[
f
,
r
]});
c
[
2
]
=
f
;
var
t
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
r
.
nc
&&
a
.
setAttribute
(
"nonce"
,
r
.
nc
),
a
.
src
=
r
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"e84265a849badec441c8"
,
1
:
"0052bf83b427b23f54b3"
,
2
:
"71ce0e8534ad0fb7a6cc"
,
3
:
"58df26638cb030357eb5"
,
4
:
"050046070d14b6d5dfef"
,
5
:
"2941036bd5eef756ecd2"
,
6
:
"090d3c91fe1290595ffc"
,
7
:
"77794e8aa5f30ed3bbf9"
,
8
:
"5dc8a96d8dc6aa6c173d"
,
9
:
"7d0140bc9f5f8fede1eb"
,
10
:
"8a113291e55554bd2281"
,
11
:
"0c81e93578aee6e54261"
,
12
:
"f67dc6647a7d0fec3ef3"
,
13
:
"ab7bad53bb2b286a5480"
,
14
:
"c5bff20c73cfa0fcec4e"
,
15
:
"beaedf43b9ef65d6531c"
,
16
:
"e51f5256213b5603773f"
,
17
:
"d10e46914ac273ee1e9e"
,
18
:
"d5570ab41c4a322b181a"
,
19
:
"23405634c017d755d44a"
,
20
:
"f5020fec0cbfc7819635"
,
21
:
"a6520d585e6bc88515ed"
,
22
:
"2149cac6e44654f98154"
,
23
:
"5b8bdbaad9a2d957df3d"
,
24
:
"fa91fb2989f9333b0b71"
,
25
:
"ed6e48c5f7d722152b7d"
,
26
:
"ed25837110be08a8fd1d"
,
27
:
"aed1710fdee959b271f5"
,
28
:
"acc72ffbf31d9875340f"
,
29
:
"e6dadb057c2f8f3818c9"
}[
e
]
+
".js"
;
var
d
=
setTimeout
(
o
,
12
e4
);
function
o
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
d
);
var
c
=
n
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
o
,
t
.
appendChild
(
a
),
f
},
r
.
m
=
e
,
r
.
c
=
f
,
r
.
d
=
function
(
e
,
c
,
f
){
r
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
r
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
c
,
"a"
,
c
),
c
},
r
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
r
.
p
=
"/"
,
r
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
t
,
a
){
for
(
var
o
,
d
,
b
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
d
=
f
[
i
],
n
[
d
]
&&
u
.
push
(
n
[
d
][
0
]),
n
[
d
]
=
0
;
for
(
o
in
t
)
Object
.
prototype
.
hasOwnProperty
.
call
(
t
,
o
)
&&
(
e
[
o
]
=
t
[
o
]);
for
(
c
&&
c
(
f
,
t
,
a
);
u
.
length
;)
u
.
shift
()();
if
(
a
)
for
(
i
=
0
;
i
<
a
.
length
;
i
++
)
b
=
r
(
r
.
s
=
a
[
i
]);
return
b
};
var
f
=
{},
n
=
{
32
:
0
};
function
r
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
n
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
n
.
exports
,
n
,
n
.
exports
,
r
),
n
.
l
=!
0
,
n
.
exports
}
r
.
e
=
function
(
e
){
var
c
=
n
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
r
){
c
=
n
[
e
]
=
[
f
,
r
]});
c
[
2
]
=
f
;
var
t
=
document
.
getElementsByTagName
(
"head"
)[
0
],
a
=
document
.
createElement
(
"script"
);
a
.
type
=
"text/javascript"
,
a
.
charset
=
"utf-8"
,
a
.
async
=!
0
,
a
.
timeout
=
12
e4
,
r
.
nc
&&
a
.
setAttribute
(
"nonce"
,
r
.
nc
),
a
.
src
=
r
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"905ab761eb081f07ec1d"
,
1
:
"0052bf83b427b23f54b3"
,
2
:
"71ce0e8534ad0fb7a6cc"
,
3
:
"58df26638cb030357eb5"
,
4
:
"050046070d14b6d5dfef"
,
5
:
"2941036bd5eef756ecd2"
,
6
:
"090d3c91fe1290595ffc"
,
7
:
"77794e8aa5f30ed3bbf9"
,
8
:
"5dc8a96d8dc6aa6c173d"
,
9
:
"7d0140bc9f5f8fede1eb"
,
10
:
"8a113291e55554bd2281"
,
11
:
"0c81e93578aee6e54261"
,
12
:
"f67dc6647a7d0fec3ef3"
,
13
:
"ab7bad53bb2b286a5480"
,
14
:
"c5bff20c73cfa0fcec4e"
,
15
:
"beaedf43b9ef65d6531c"
,
16
:
"e51f5256213b5603773f"
,
17
:
"d10e46914ac273ee1e9e"
,
18
:
"d5570ab41c4a322b181a"
,
19
:
"23405634c017d755d44a"
,
20
:
"f5020fec0cbfc7819635"
,
21
:
"1cff5e892f2304c25d41"
,
22
:
"a13143900b034ede203b"
,
23
:
"b3ac04d0c021899a4fc3"
,
24
:
"2bca9087d93c1145e1e1"
,
25
:
"e24c5f35c405369b6432"
,
26
:
"ed25837110be08a8fd1d"
,
27
:
"aed1710fdee959b271f5"
,
28
:
"acc72ffbf31d9875340f"
,
29
:
"e6dadb057c2f8f3818c9"
}[
e
]
+
".js"
;
var
o
=
setTimeout
(
d
,
12
e4
);
function
d
(){
a
.
onerror
=
a
.
onload
=
null
,
clearTimeout
(
o
);
var
c
=
n
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
a
.
onerror
=
a
.
onload
=
d
,
t
.
appendChild
(
a
),
f
},
r
.
m
=
e
,
r
.
c
=
f
,
r
.
d
=
function
(
e
,
c
,
f
){
r
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
r
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
c
,
"a"
,
c
),
c
},
r
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
r
.
p
=
"/"
,
r
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/router/index.js
View file @
6033412e
...
...
@@ -93,5 +93,12 @@ router.beforeEach((to,from,next)=> {
next
()
}
});
router
.
onError
((
error
)
=>
{
const
pattern
=
/Loading chunk
(\d)
+ failed/g
;
const
isChunkLoadFailed
=
error
.
message
.
match
(
pattern
);
const
targetPath
=
router
.
history
.
pending
.
fullPath
;
if
(
isChunkLoadFailed
)
{
router
.
replace
(
targetPath
);
}
});
export
default
router
;
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