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
d3a0a34b
Commit
d3a0a34b
authored
Apr 22, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4.22
parent
0183bd62
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
37 additions
and
7 deletions
+37
-7
index.html
dev/index.html
+1
-1
37.125eddcfc2c94a9eb2b5.js
dev/static/js/37.125eddcfc2c94a9eb2b5.js
+1
-0
manifest.4fa9dbab04f3ebb28765.js
dev/static/js/manifest.4fa9dbab04f3ebb28765.js
+1
-0
index.html
dist/index.html
+1
-1
app.e34e05cfe7a55bb4a94fad4ae1b8db4b.css
dist/static/css/app.e34e05cfe7a55bb4a94fad4ae1b8db4b.css
+1
-0
37.3a5830ea49f75eb58398.js
dist/static/js/37.3a5830ea49f75eb58398.js
+1
-0
38.a42d50ab65663013f796.js
dist/static/js/38.a42d50ab65663013f796.js
+1
-0
39.c206da0f4c5723230d29.js
dist/static/js/39.c206da0f4c5723230d29.js
+1
-0
40.9561959b996f20d07912.js
dist/static/js/40.9561959b996f20d07912.js
+1
-0
41.1bb48e1d35f76b87acad.js
dist/static/js/41.1bb48e1d35f76b87acad.js
+1
-0
app.e9e1cb56c8ab2ba23ba2.js
dist/static/js/app.e9e1cb56c8ab2ba23ba2.js
+1
-0
manifest.3ba6cf4d29692755e4dc.js
dist/static/js/manifest.3ba6cf4d29692755e4dc.js
+1
-0
menu.vue
src/components/system/menu.vue
+25
-5
No files found.
dev/index.html
View file @
d3a0a34b
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
d569cc44f3a2d5a9bcfe
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.520caa645c172051b099.js
></script><script
type=
text/javascript
src=
/static/js/app.812a35112b9b7b739747.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
4fa9dbab04f3ebb28765
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.520caa645c172051b099.js
></script><script
type=
text/javascript
src=
/static/js/app.812a35112b9b7b739747.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/37.125eddcfc2c94a9eb2b5.js
0 → 100644
View file @
d3a0a34b
webpackJsonp
([
37
],{
Lj0I
:
function
(
e
,
t
,
n
){
var
o
=
n
(
"R8/f"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
n
(
"rjj0"
)(
"4253a7b0"
,
o
,
!
1
,{})},
"R8/f"
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.menu[data-v-e32985a8] {
\n
padding: 20px 0;
\n
}
\n
.menu .head[data-v-e32985a8] {
\n
margin-bottom: 10px;
\n
}
\n
.menu .page-div[data-v-e32985a8] {
\n
text-align: center;
\n
padding-top: 20px;
\n
}
\n
.clear-both[data-v-e32985a8]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/system/menu.vue"
],
names
:[],
mappings
:
";AACA;EACE,gBAAgB;CACjB;AACD;EACE,oBAAoB;CACrB;AACD;EACE,mBAAmB;EACnB,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb"
,
file
:
"menu.vue"
,
sourcesContent
:[
"
\n
.menu[data-v-e32985a8] {
\n
padding: 20px 0;
\n
}
\n
.menu .head[data-v-e32985a8] {
\n
margin-bottom: 10px;
\n
}
\n
.menu .page-div[data-v-e32985a8] {
\n
text-align: center;
\n
padding-top: 20px;
\n
}
\n
.clear-both[data-v-e32985a8]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
"
],
sourceRoot
:
""
}])},
aTXs
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"CCn6"
),
a
=
{
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
menuList
:[{
cover
:
0
,
name
:
"系统"
},{
cover
:
2
,
name
:
"系统2"
}],
plist
:[],
dialog
:{
title
:
"新增菜单"
,
show
:
!
1
,
rules
:{
name
:[{
required
:
!
0
,
message
:
"请填写菜单名称"
,
trigger
:
"change"
}],
cover
:[{
required
:
!
0
,
message
:
"请填写菜单code"
,
trigger
:
"change"
}]},
form
:{
id
:
""
,
name
:
""
,
cover
:
""
,
pid
:
0
,
type
:
2
}}}},
created
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(){
var
e
=
this
;
Object
(
o
.
_49
)({
limit
:
100
}).
then
(
function
(
t
){
e
.
menuList
=
[],
e
.
plist
=
[];
var
n
=
[];
t
.
forEach
(
function
(
t
){
var
o
=
{};
o
.
cover
=
t
.
cover
,
o
.
name
=
t
.
name
,
o
.
pid
=
t
.
pid
,
o
.
id
=
t
.
id
,
o
.
created_at
=
t
.
created_at
,
n
.
push
(
o
),
e
.
plist
.
push
(
t
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
e
){
n
.
push
(
e
)})}),
e
.
menuList
=
n
,
console
.
log
(
e
.
menuList
)})},
edit
:
function
(
e
){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑菜单"
,
this
.
dialog
.
form
.
name
=
e
.
name
,
this
.
dialog
.
form
.
cover
=
e
.
cover
,
this
.
dialog
.
form
.
pid
=
e
.
pid
},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增菜单"
,
this
.
dialog
.
form
.
name
=
""
,
this
.
dialog
.
form
.
pid
=
0
,
this
.
dialog
.
form
.
cover
=
""
},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该菜单?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
K
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getList
()})})},
sub
:
function
(){
var
e
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
n
=
e
.
dialog
;
if
(
n
.
form
.
id
){
var
a
=
{
name
:
n
.
form
.
name
,
cover
:
n
.
form
.
cover
,
pid
:
n
.
form
.
pid
};
e
.
$confirm
(
"此操作将修改该菜单?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_122
)(
n
.
form
.
id
,
a
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
n
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
i
=
{
name
:
n
.
form
.
name
,
cover
:
n
.
form
.
cover
,
pid
:
n
.
form
.
pid
};
e
.
$confirm
(
"此操作将添加新菜单?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_99
)(
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
n
.
show
=!
1
,
e
.
getList
()})})}}})}}},
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"menu"
},[
n
(
"div"
,{
staticClass
:
"head clear-both"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增菜单"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
menuList
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"菜单名称"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"cover"
,
label
:
"菜单Code"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
?
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
n
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"30%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"菜单名称"
,
prop
:
"name"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"name"
,
t
)},
expression
:
"dialog.form.name"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"菜单Code"
,
prop
:
"cover"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
cover
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"cover"
,
t
)},
expression
:
"dialog.form.cover"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"上级菜单"
,
prop
:
"cover"
}},[
n
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dialog
.
form
.
pid
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"pid"
,
t
)},
expression
:
"dialog.form.pid"
}},[
n
(
"el-option"
,{
attrs
:{
label
:
"无"
,
value
:
0
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
plist
,
function
(
e
){
return
n
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)};
i
.
_withStripped
=!
0
;
var
r
=
{
render
:
i
,
staticRenderFns
:[]},
s
=
r
;
var
l
=!
1
;
var
c
=
n
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
l
||
n
(
"Lj0I"
)},
"data-v-e32985a8"
,
null
);
c
.
options
.
__file
=
"src
\\
components
\\
system
\\
menu.vue"
;
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dev/static/js/manifest.4fa9dbab04f3ebb28765.js
0 → 100644
View file @
d3a0a34b
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
n
,
r
){
for
(
var
b
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
b
in
n
)
Object
.
prototype
.
hasOwnProperty
.
call
(
n
,
b
)
&&
(
e
[
b
]
=
n
[
b
]);
for
(
a
&&
a
(
c
,
n
,
r
);
u
.
length
;)
u
.
shift
()();
if
(
r
)
for
(
i
=
0
;
i
<
r
.
length
;
i
++
)
o
=
d
(
d
.
s
=
r
[
i
]);
return
o
};
var
c
=
{},
f
=
{
56
:
0
};
function
d
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
a
[
2
]
=
c
;
var
n
=
document
.
getElementsByTagName
(
"head"
)[
0
],
r
=
document
.
createElement
(
"script"
);
r
.
type
=
"text/javascript"
,
r
.
charset
=
"utf-8"
,
r
.
async
=!
0
,
r
.
timeout
=
12
e4
,
d
.
nc
&&
r
.
setAttribute
(
"nonce"
,
d
.
nc
),
r
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"d1b22c3db9186b7c591b"
,
1
:
"f80382f5a602a9ab12c9"
,
2
:
"4d7dc4414edb0fe44584"
,
3
:
"0b2a631522fdc8850c19"
,
4
:
"8bbb720e89d91b306c2f"
,
5
:
"480fa42628b53851540a"
,
6
:
"06f9a9002ecc2d88f0de"
,
7
:
"997aae4e7209f11a9a4e"
,
8
:
"7580ee3104bfc883058a"
,
9
:
"c39634001e6cec8c8376"
,
10
:
"dd4b833f566b23148559"
,
11
:
"d558ef31a978ba38a492"
,
12
:
"bfe17d6c1f960736da32"
,
13
:
"52f1cc98a321d6cfce38"
,
14
:
"e8e2428513e1e902ea61"
,
15
:
"9323683336815bbc383f"
,
16
:
"bc763973217519eba9c0"
,
17
:
"d1f78960a0dbc64a6dd3"
,
18
:
"5c924a4578d6a44ce72f"
,
19
:
"fddbefbcbbb9921ce25c"
,
20
:
"ebdfb3b715206a4eba1a"
,
21
:
"cc6dfa69d779f30dd8ae"
,
22
:
"e62ee3852d56e995e338"
,
23
:
"36fdd705d17f7550c0d5"
,
24
:
"de47a09908df52e8f882"
,
25
:
"e11959101a255e068538"
,
26
:
"1316e225fc66a1ad35c5"
,
27
:
"7098a71a5d6987b5b7f4"
,
28
:
"944298fe3faf78a6258f"
,
29
:
"1f39218bc73353b2f869"
,
30
:
"ce6a174f79bf4be5cc2e"
,
31
:
"9f21fbe9433dff4ba9b5"
,
32
:
"6d8898ebf52b7a1f7a2c"
,
33
:
"1728faf5dfe4d43032ec"
,
34
:
"2aa1802ec9a32d3f8cee"
,
35
:
"3840e9f192a494a902b6"
,
36
:
"cc76b3e1f5f236f76436"
,
37
:
"125eddcfc2c94a9eb2b5"
,
38
:
"693dfaca431a17ff53cd"
,
39
:
"ba021ae90243ecca3b85"
,
40
:
"cb4a0d6f95f47c6e8137"
,
41
:
"9f5f1ebf49de9138a770"
,
42
:
"f4232be198ef303ca233"
,
43
:
"790e9555b1ee2e9221d3"
,
44
:
"14c48ffa27f02abc828e"
,
45
:
"232211b2a1861ed3626c"
,
46
:
"2b6bd996d5e1d9b81baf"
,
47
:
"67a5e1801c83df2ed651"
,
48
:
"88e7f40cf9be8a2498c7"
,
49
:
"62c6218ca11c61e08d2e"
,
50
:
"6939e694580c3394adaa"
,
51
:
"64e68edb4270ecca9f16"
,
52
:
"fadcb1e389fde30a6504"
,
53
:
"e655ff2d2f4699d082e6"
}[
e
]
+
".js"
;
var
b
=
setTimeout
(
t
,
12
e4
);
function
t
(){
r
.
onerror
=
r
.
onload
=
null
,
clearTimeout
(
b
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
r
.
onerror
=
r
.
onload
=
t
,
n
.
appendChild
(
r
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
d3a0a34b
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
b0d776f76d19ac44e23b5c6a340f8a78.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.ed07b7179249fdc53c6d.js
></script><script
type=
text/javascript
src=
/static/js/vendor.1989ff930c83bbe25dc0.js
></script><script
type=
text/javascript
src=
/static/js/app.d2a18b8f8f90e251ef7f
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
e34e05cfe7a55bb4a94fad4ae1b8db4b.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.3ba6cf4d29692755e4dc.js
></script><script
type=
text/javascript
src=
/static/js/vendor.1989ff930c83bbe25dc0.js
></script><script
type=
text/javascript
src=
/static/js/app.e9e1cb56c8ab2ba23ba2
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dist/static/css/app.e34e05cfe7a55bb4a94fad4ae1b8db4b.css
0 → 100644
View file @
d3a0a34b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/37.3a5830ea49f75eb58398.js
0 → 100644
View file @
d3a0a34b
webpackJsonp
([
37
],{
QEr8
:
function
(
e
,
t
){},
aTXs
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
o
(
"CCn6"
),
a
=
{
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
menuList
:[{
cover
:
0
,
name
:
"系统"
},{
cover
:
2
,
name
:
"系统2"
}],
plist
:[],
dialog
:{
title
:
"新增菜单"
,
show
:
!
1
,
rules
:{
name
:[{
required
:
!
0
,
message
:
"请填写菜单名称"
,
trigger
:
"change"
}],
cover
:[{
required
:
!
0
,
message
:
"请填写菜单code"
,
trigger
:
"change"
}]},
form
:{
id
:
""
,
name
:
""
,
cover
:
""
,
pid
:
0
,
type
:
2
}}}},
created
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(){
var
e
=
this
;
Object
(
i
.
_49
)({
limit
:
100
}).
then
(
function
(
t
){
e
.
menuList
=
[],
e
.
plist
=
[];
var
o
=
[];
t
.
forEach
(
function
(
t
){
var
i
=
{};
i
.
cover
=
t
.
cover
,
i
.
name
=
t
.
name
,
i
.
pid
=
t
.
pid
,
i
.
id
=
t
.
id
,
i
.
created_at
=
t
.
created_at
,
o
.
push
(
i
),
e
.
plist
.
push
(
t
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
e
){
o
.
push
(
e
)})}),
e
.
menuList
=
o
,
console
.
log
(
e
.
menuList
)})},
edit
:
function
(
e
){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑菜单"
,
this
.
dialog
.
form
.
name
=
e
.
name
,
this
.
dialog
.
form
.
cover
=
e
.
cover
,
this
.
dialog
.
form
.
pid
=
e
.
pid
},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增菜单"
,
this
.
dialog
.
form
.
name
=
""
,
this
.
dialog
.
form
.
pid
=
0
,
this
.
dialog
.
form
.
cover
=
""
},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该菜单?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
K
)(
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
.
dialog
;
if
(
o
.
form
.
id
){
var
a
=
{
name
:
o
.
form
.
name
,
cover
:
o
.
form
.
cover
,
pid
:
o
.
form
.
pid
};
e
.
$confirm
(
"此操作将修改该菜单?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
_122
)(
o
.
form
.
id
,
a
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
o
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
n
=
{
name
:
o
.
form
.
name
,
cover
:
o
.
form
.
cover
,
pid
:
o
.
form
.
pid
};
e
.
$confirm
(
"此操作将添加新菜单?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
_99
)(
n
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
o
.
show
=!
1
,
e
.
getList
()})})}}})}}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"menu"
},[
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
.
menuList
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"菜单名称"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"cover"
,
label
:
"菜单Code"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-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
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"30%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"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
:
"菜单Code"
,
prop
:
"cover"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
cover
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"cover"
,
t
)},
expression
:
"dialog.form.cover"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"上级菜单"
,
prop
:
"cover"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dialog
.
form
.
pid
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"pid"
,
t
)},
expression
:
"dialog.form.pid"
}},[
o
(
"el-option"
,{
attrs
:{
label
:
"无"
,
value
:
0
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
plist
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
o
(
"VU/8"
)(
a
,
n
,
!
1
,
function
(
e
){
o
(
"QEr8"
)},
"data-v-b78ed986"
,
null
);
t
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/38.a42d50ab65663013f796.js
0 → 100644
View file @
d3a0a34b
webpackJsonp
([
38
],{
PhCU
:
function
(
e
,
t
){},
WZgi
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
l
=
a
(
"CCn6"
),
s
=
{
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
.
_18
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()}}},
r
=
{
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"
,
inline
:
""
}},[
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
),
e
.
_v
(
" "
),
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
),
e
.
_v
(
" "
),
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
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
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"
,
sortable
:
""
}}),
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
:
"创建时间"
,
sortable
:
""
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
e
){
a
(
"PhCU"
)},
"data-v-b1a63dde"
,
null
);
t
.
default
=
i
.
exports
}});
\ No newline at end of file
dist/static/js/39.c206da0f4c5723230d29.js
0 → 100644
View file @
d3a0a34b
webpackJsonp
([
39
],{
"+jTk"
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
o
(
"CCn6"
),
i
=
o
(
"+TkF"
),
s
=
o
(
"kmJW"
),
l
=
o
(
"NC6I"
),
r
=
o
.
n
(
l
),
n
=
{
name
:
"admin"
,
components
:{
page
:
s
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
adminList
:[],
searchFrom
:{
user_name
:
""
,
status
:
""
,
role_id
:
""
},
dialog
:{
dialogType
:
0
,
title
:
"新增账号"
,
show
:
!
1
,
select
:[{
code
:
0
,
value
:
i
.
a
[
0
]},{
code
:
1
,
value
:
i
.
a
[
1
]}],
rules
:{
username
:[{
validator
:
function
(
t
,
o
,
a
){
""
===
o
&&
0
===
e
.
dialog
.
dialogType
?
a
(
new
Error
(
"请输入账号"
)):
a
()},
trigger
:
"blur"
}],
password
:[{
validator
:
function
(
t
,
o
,
a
){
""
!==
o
||
0
!==
e
.
dialog
.
dialogType
&&
2
!==
e
.
dialog
.
dialogType
?(
""
===
e
.
dialog
.
form
.
surePassword
||
0
!==
e
.
dialog
.
dialogType
&&
2
!==
e
.
dialog
.
dialogType
||
e
.
$refs
.
form
.
validateField
(
"surePassword"
),
a
()):
a
(
new
Error
(
"请输入密码"
))},
trigger
:
"blur"
}],
surePassword
:[{
validator
:
function
(
t
,
o
,
a
){
0
===
e
.
dialog
.
dialogType
||
2
===
e
.
dialog
.
dialogType
?
""
===
o
?
a
(
new
Error
(
"请再次输入密码"
)):
o
!==
e
.
dialog
.
form
.
password
?
a
(
new
Error
(
"两次输入密码不一致!"
)):
a
():
a
()},
trigger
:
"blur"
}],
role_id
:[{
validator
:
function
(
t
,
o
,
a
){
0
===
e
.
dialog
.
dialogType
||
1
===
e
.
dialog
.
dialogType
?
""
===
o
&&
a
(
new
Error
(
"请输入角色"
)):
a
()},
trigger
:
"blur"
}],
desc
:[{
validator
:
function
(
t
,
o
,
a
){
0
===
e
.
dialog
.
dialogType
||
1
===
e
.
dialog
.
dialogType
?
""
===
o
&&
a
(
new
Error
(
"请输入简述"
)):
a
()},
trigger
:
"blur"
}]},
form
:{
id
:
""
,
username
:
""
,
password
:
""
,
surePassword
:
""
,
role_id
:
""
,
status
:
0
,
desc
:
""
}},
roleList
:[]}},
filters
:{
adminStatus
:
function
(
e
){
return
i
.
a
[
e
]}},
created
:
function
(){
this
.
$route
.
query
.
roleId
&&
(
this
.
searchFrom
.
role_id
=
parseInt
(
this
.
$route
.
query
.
roleId
)),
this
.
getList
(),
this
.
getRoleList
()},
methods
:{
getRoleList
:
function
(){
var
e
=
this
;
Object
(
a
.
_65
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
t
&&
(
e
.
roleList
=
t
.
list
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
user_name
&&
(
t
.
user_name
=
this
.
searchFrom
.
user_name
),
""
!==
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
""
!==
this
.
searchFrom
.
role_id
&&
(
t
.
role_id
=
this
.
searchFrom
.
role_id
),
Object
(
a
.
_17
)(
t
).
then
(
function
(
t
){
e
.
adminList
=
t
.
list
,
e
.
total
=
Number
(
t
.
total
),
e
.
$store
.
commit
(
"mainCanShow"
)})},
editPW
:
function
(
e
){
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
dialogType
=
2
,
this
.
dialog
.
title
=
"修改密码"
,
this
.
dialog
.
form
.
password
=
""
,
this
.
dialog
.
form
.
surePassword
=
""
,
this
.
dialog
.
show
=!
0
},
edit
:
function
(
e
){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
dialogType
=
1
,
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑"
,
this
.
dialog
.
form
.
username
=
e
.
user_name
,
this
.
dialog
.
form
.
password
=
""
,
this
.
dialog
.
form
.
status
=
e
.
status
,
this
.
dialog
.
form
.
role_id
=
e
.
role_id
,
this
.
dialog
.
form
.
desc
=
e
.
desc
},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
dialogType
=
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增"
,
this
.
dialog
.
form
.
username
=
""
,
this
.
dialog
.
form
.
status
=
0
,
this
.
dialog
.
form
.
password
=
""
,
this
.
dialog
.
form
.
role_id
=
""
,
this
.
dialog
.
form
.
desc
=
""
},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该账号?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
D
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
})}),
t
.
getList
()})},
onSub
:
function
(){
var
e
=
this
,
t
=
this
.
dialog
;
if
(
1
===
t
.
dialogType
){
var
o
=
{
role_id
:
t
.
form
.
role_id
,
desc
:
t
.
form
.
desc
,
status
:
t
.
form
.
status
};
this
.
$confirm
(
"此操作将编辑该账号?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
W
)(
t
.
form
.
id
,
o
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
show
=!
1
,
e
.
getList
()})})}
else
if
(
0
===
t
.
dialogType
){
var
i
=
{
role_id
:
t
.
form
.
role_id
,
desc
:
t
.
form
.
desc
,
passwd
:
r
()(
t
.
form
.
password
),
username
:
t
.
form
.
username
};
this
.
$confirm
(
"此操作将添加新账号?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
a
)(
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
t
.
show
=!
1
,
e
.
getList
()})})}
else
if
(
2
===
t
.
dialogType
){
var
s
=
{
passwd_new
:
r
()(
t
.
form
.
password
)};
this
.
$confirm
(
"此操作将修改此账号密码?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
_8
)(
t
.
form
.
id
,
s
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
show
=!
1
,
e
.
getList
()})})}}}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"admin"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
"margin-bottom"
:
"10px"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增角色"
)]),
e
.
_v
(
" "
),
o
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
inline
:
""
,
"label-width"
:
"80px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"用户名"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
user_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_name"
,
t
)},
expression
:
"searchFrom.user_name"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"状态"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择用户状态"
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
o
(
"el-option"
,{
attrs
:{
label
:
"全部"
,
value
:
""
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"启用"
,
value
:
0
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"冻结"
,
value
:
1
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"角色"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择角色类型"
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
role_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"role_id"
,
t
)},
expression
:
"searchFrom.role_id"
}},[
o
(
"el-option"
,{
attrs
:{
label
:
"全部"
,
value
:
""
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
roleList
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,[
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
adminList
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"账号ID"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"user_name"
,
label
:
"用户名"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"role_name"
,
label
:
"角色"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"adminStatus"
)(
t
.
row
.
status
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"last_login_at"
,
label
:
"最后登陆时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"280"
}},[
o
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"warning"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
editPW
(
t
.
row
)}}},[
e
.
_v
(
"
\n
修改密码
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
e
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"30%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"80px"
}},[
0
===
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"账号"
,
prop
:
"username"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
username
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"username"
,
t
)},
expression
:
"dialog.form.username"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
===
e
.
dialog
.
dialogType
||
0
===
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"密码"
,
prop
:
"password"
}},[
o
(
"el-input"
,{
attrs
:{
type
:
"password"
},
model
:{
value
:
e
.
dialog
.
form
.
password
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"password"
,
t
)},
expression
:
"dialog.form.password"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
===
e
.
dialog
.
dialogType
||
0
===
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"确认密码"
,
prop
:
"surePassword"
}},[
o
(
"el-input"
,{
attrs
:{
type
:
"password"
},
model
:{
value
:
e
.
dialog
.
form
.
surePassword
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"surePassword"
,
t
)},
expression
:
"dialog.form.surePassword"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
!==
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"角色"
,
prop
:
"role_id"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dialog
.
form
.
role_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"role_id"
,
t
)},
expression
:
"dialog.form.role_id"
}},
e
.
_l
(
e
.
roleList
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
!==
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"简述"
,
prop
:
"desc"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"desc"
,
t
)},
expression
:
"dialog.form.desc"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
===
e
.
dialog
.
dialogType
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"状态"
,
prop
:
"status"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dialog
.
form
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"status"
,
t
)},
expression
:
"dialog.form.status"
}},
e
.
_l
(
e
.
dialog
.
select
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
code
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
code
}})}))],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
c
=
o
(
"VU/8"
)(
n
,
d
,
!
1
,
function
(
e
){
o
(
"qbdU"
)},
"data-v-7e29e74f"
,
null
);
t
.
default
=
c
.
exports
},
qbdU
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/40.9561959b996f20d07912.js
0 → 100644
View file @
d3a0a34b
webpackJsonp
([
40
],{
"142B"
:
function
(
e
,
t
){},
"v/LD"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
i
=
{
name
:
"monthOrderCount"
,
data
:
function
(){
var
e
=
this
;
return
{
goodsList
:[],
headList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
,
a
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
tableData
:[],
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_41
)({
limit
:
99999
,
course_type
:
0
,
status
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
console
.
log
(
this
.
searchFrom
.
dateValue
),
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
()};
Object
(
r
.
_92
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
n
=
t
+
"-"
+
a
+
"-01"
,
i
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
n
,
i
]}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
type
:
"daterange"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
e
){
a
(
"142B"
)},
"data-v-72f2aa1b"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/41.1bb48e1d35f76b87acad.js
0 → 100644
View file @
d3a0a34b
webpackJsonp
([
41
],{
TZwE
:
function
(
e
,
t
){},
mjLz
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
i
=
{
name
:
"dayOrderCount"
,
data
:
function
(){
var
e
=
this
;
return
{
goodsList
:[],
headList
:[],
tableData
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
,
a
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_41
)({
limit
:
99999
,
course_type
:
1
,
status
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
(),
course_type
:
1
};
Object
(
r
.
_92
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
n
=
t
+
"-"
+
a
+
"-01"
,
i
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
n
,
i
]}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
type
:
"daterange"
,
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
e
){
a
(
"TZwE"
)},
"data-v-5cc01ba2"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/app.e9e1cb56c8ab2ba23ba2.js
0 → 100644
View file @
d3a0a34b
webpackJsonp
([
54
],{
IcnI
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"NYxO"
),
a
=
t
(
"zSLJ"
),
r
=
{
setToken
:
function
(
e
,
n
){
e
.
token
=
n
,
a
.
a
.
set
(
"cc_token"
,
n
)},
setUserName
:
function
(
e
,
n
){
e
.
userName
=
n
,
a
.
a
.
set
(
"cc_user_name"
,
n
)},
setPermission
:
function
(
e
,
n
){
e
.
progressList
=
n
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
n
))},
setMenu
:
function
(
e
,
n
){
e
.
menuList
=
n
},
readonly
:
function
(
e
,
n
){
e
.
readonly
=
n
},
deletePermission
:
function
(
e
,
n
){
e
.
deletePermission
=
n
},
distribution
:
function
(
e
,
n
){
e
.
distribution
=
n
},
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
})}}};
n
.
a
=
new
o
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
export
:
!
1
,
orderRefund
:
!
1
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
distribution
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
r
,
actions
:{
setToken
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setToken"
,
n
)},
setUserName
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setUserName"
,
n
)},
setProgress
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"progress"
,
n
)},
setPermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setPermission"
,
n
)},
setMenu
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setMenu"
,
n
)},
readonly
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"readonly"
,
n
)},
deletePermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"deletePermission"
,
n
)},
distribution
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"distribution"
,
n
)}}})},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
[{
name
:
""
,
value
:
"教研管理"
,
icon
:
"icon-material"
,
list
:[{
value
:
"教材列表"
,
routerName
:
"resources"
,
path
:
"/resources"
,
cover
:
"1-1"
,
router
:{
path
:
"/resources"
,
name
:
"resources"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
1
)]).
then
(
function
(){
var
n
=
[
t
(
"z5EG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"商品课程"
,
icon
:
"icon-shangpin1"
,
list
:[{
value
:
"课程列表"
,
routerName
:
"lesson"
,
path
:
"/lesson"
,
cover
:
"2-1"
,
router
:{
path
:
"/lesson"
,
name
:
"lesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
10
)]).
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
(
2
)]).
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
(
24
)]).
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
(
14
)]).
then
(
function
(){
var
n
=
[
t
(
"OX9A"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"市场招生统计"
,
routerName
:
"marketStatistics"
,
path
:
"/marketStatistics"
,
cover
:
"2-5"
,
router
:{
path
:
"/marketStatistics"
,
name
:
"marketStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
51
)]).
then
(
function
(){
var
n
=
[
t
(
"SKyX"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
32
)]).
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
(
3
)]).
then
(
function
(){
var
n
=
[
t
(
"Y0Vi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
5
)]).
then
(
function
(){
var
n
=
[
t
(
"xdzM"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
40
)]).
then
(
function
(){
var
n
=
[
t
(
"v/LD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
36
)]).
then
(
function
(){
var
n
=
[
t
(
"89rD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"业绩排行"
,
routerName
:
"achievement"
,
path
:
"/achievement"
,
cover
:
"5-7"
,
router
:{
path
:
"/achievement"
,
name
:
"achievement"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
21
)]).
then
(
function
(){
var
n
=
[
t
(
"Fmgy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"用户管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
7
)]).
then
(
function
(){
var
n
=
[
t
(
"jFLA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"老系统用户列表"
,
routerName
:
"oldUser"
,
path
:
"/oldUser"
,
cover
:
"3-3"
,
router
:{
path
:
"/oldUser"
,
name
:
"oldUser"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
35
)]).
then
(
function
(){
var
n
=
[
t
(
"K2yr"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"用户积分列表"
,
routerName
:
"integral"
,
path
:
"/integral"
,
cover
:
"3-4"
,
router
:{
path
:
"/integral"
,
name
:
"integral"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
12
)]).
then
(
function
(){
var
n
=
[
t
(
"NDyu"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"订单管理"
,
icon
:
"icon-dingdan"
,
list
:[{
value
:
"日课订单列表"
,
routerName
:
"order"
,
path
:
"/order"
,
cover
:
"5-1"
,
router
:{
path
:
"/order"
,
name
:
"order"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
8
)]).
then
(
function
(){
var
n
=
[
t
(
"2qmY"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
33
)]).
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
(
48
).
then
(
function
(){
var
n
=
[
t
(
"usUK"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"订单统计"
,
routerName
:
"orderCount"
,
path
:
"/orderCount"
,
cover
:
"5-5"
,
router
:{
path
:
"/orderCount"
,
name
:
"orderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
53
)]).
then
(
function
(){
var
n
=
[
t
(
"s7i+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"日课订单统计"
,
routerName
:
"dayOrderCount"
,
path
:
"/dayOrderCount"
,
cover
:
"5-11"
,
router
:{
path
:
"/dayOrderCount"
,
name
:
"dayOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
41
)]).
then
(
function
(){
var
n
=
[
t
(
"mjLz"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"优惠券列表"
,
routerName
:
"coupon"
,
path
:
"/coupon"
,
cover
:
"5-6"
,
router
:{
path
:
"/coupon"
,
name
:
"coupon"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
28
)]).
then
(
function
(){
var
n
=
[
t
(
"WvRy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"扫码入课列表"
,
routerName
:
"notBuyClass"
,
path
:
"/notBuyClass"
,
cover
:
"5-8"
,
router
:{
path
:
"/notBuyClass"
,
name
:
"notBuyClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
23
)]).
then
(
function
(){
var
n
=
[
t
(
"E6Zo"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部订单列表"
,
routerName
:
"yunji"
,
path
:
"/yunji"
,
cover
:
"5-9"
,
router
:{
path
:
"/yunji"
,
name
:
"yunji"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
13
)]).
then
(
function
(){
var
n
=
[
t
(
"69L+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"兑换码管理"
,
routerName
:
"exchange"
,
path
:
"/exchange"
,
cover
:
"5-13"
,
router
:{
path
:
"/exchange"
,
name
:
"exchange"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
17
)]).
then
(
function
(){
var
n
=
[
t
(
"CvLZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"实物管理"
,
icon
:
"icon-shu"
,
list
:[{
value
:
"单品列表"
,
routerName
:
"single"
,
path
:
"/single"
,
cover
:
"6-1"
,
router
:{
path
:
"/single"
,
name
:
"single"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
20
)]).
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
(
16
)]).
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
(
18
)]).
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
(
19
)]).
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
(
25
)]).
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
(
26
)]).
then
(
function
(){
var
n
=
[
t
(
"Xhqp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"二维码管理"
,
routerName
:
"qrcode"
,
path
:
"/qrcode"
,
cover
:
"7-6"
,
router
:{
path
:
"/qrcode"
,
name
:
"qrcode"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
15
)]).
then
(
function
(){
var
n
=
[
t
(
"lNiQ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"群发助手"
,
routerName
:
"groupSend"
,
path
:
"/groupSend"
,
cover
:
"7-7"
,
router
:{
path
:
"/groupSend"
,
name
:
"groupSend"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
11
)]).
then
(
function
(){
var
n
=
[
t
(
"oerw"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"关注取关统计"
,
routerName
:
"watchCount"
,
path
:
"/watchCount"
,
cover
:
"7-8"
,
router
:{
path
:
"/watchCount"
,
name
:
"watchCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
50
)]).
then
(
function
(){
var
n
=
[
t
(
"Dq6T"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"微信统计"
,
routerName
:
"weChatStatistics"
,
path
:
"/weChatStatistics"
,
cover
:
"7-10"
,
router
:{
path
:
"/weChatStatistics"
,
name
:
"weChatStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
52
)]).
then
(
function
(){
var
n
=
[
t
(
"5t3x"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"测试"
,
routerName
:
"test"
,
path
:
"/test"
,
cover
:
"7-11"
,
router
:{
path
:
"/test"
,
name
:
"test"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
30
)]).
then
(
function
(){
var
n
=
[
t
(
"9ZSL"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"系统管理"
,
icon
:
"icon-xitongquanxian"
,
list
:[{
value
:
"首页管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"7-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
27
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"7-9"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
47
)]).
then
(
function
(){
var
n
=
[
t
(
"NrkQ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"来源码管理"
,
routerName
:
"sourceManage"
,
path
:
"/sourceManage"
,
cover
:
"10-1"
,
router
:{
path
:
"/sourceManage"
,
name
:
"sourceManage"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
34
)]).
then
(
function
(){
var
n
=
[
t
(
"/ubI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"短信发送记录"
,
routerName
:
"smsRecord"
,
path
:
"/smsRecord"
,
cover
:
"10-2"
,
router
:{
path
:
"/smsRecord"
,
name
:
"smsRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
29
)]).
then
(
function
(){
var
n
=
[
t
(
"qjS+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
46
)]).
then
(
function
(){
var
n
=
[
t
(
"TPCG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"后台管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"账号管理"
,
routerName
:
"admin"
,
path
:
"/admin"
,
cover
:
"8-1"
,
router
:{
path
:
"/admin"
,
name
:
"admin"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
39
)]).
then
(
function
(){
var
n
=
[
t
(
"+jTk"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"角色管理"
,
routerName
:
"role"
,
path
:
"/role"
,
cover
:
"8-2"
,
router
:{
path
:
"/role"
,
name
:
"role"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
43
)]).
then
(
function
(){
var
n
=
[
t
(
"Vt1u"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"菜单管理"
,
routerName
:
"menu"
,
path
:
"/menu"
,
cover
:
"8-3"
,
router
:{
path
:
"/menu"
,
name
:
"menu"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
37
)]).
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
(
31
)]).
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
(
38
)]).
then
(
function
(){
var
n
=
[
t
(
"WZgi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]}],
a
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
n
=
this
.
$store
.
state
.
progressList
;
console
.
log
(
this
.
$store
.
state
);
var
a
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
22
)]).
then
(
function
(){
var
n
=
[
t
(
"9PRC"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},
i
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
6
)]).
then
(
function
(){
var
n
=
[
t
(
"hFUZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}};
o
.
forEach
(
function
(
t
){
var
o
=!
1
,
u
=
[];
t
.
list
.
forEach
(
function
(
t
){
var
a
=
n
.
find
(
function
(
e
){
return
e
.
cover
===
t
.
cover
});
a
&&
(
t
.
router
.
meta
=
{},
t
.
router
.
meta
.
readonly
=!!
a
.
readonly
,
t
.
router
.
meta
.
delete
=!!
a
.
delete
,
t
.
router
.
meta
.
export
=!!
a
.
export
,
t
.
router
.
meta
.
refund
=!!
a
.
refund
,
t
.
router
.
meta
.
distribution
=!!
a
.
distribution
,
u
.
push
(
t
),
"3-1"
===
a
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
a
.
readonly
,
i
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
"3-2"
===
a
.
cover
&&
(
r
.
meta
=
{},
r
.
meta
.
readonly
=
a
.
readonly
,
r
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
r
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
t
.
router
),
o
=!
0
)}),
o
&&
(
t
.
list
=
u
,
a
.
push
(
t
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
a
)}}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
i
=
t
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
e
){
t
(
"YZCe"
)},
null
,
null
).
exports
,
u
=
t
(
"YaEn"
),
c
=
t
(
"IcnI"
);
Vue
.
config
.
productionTip
=!
1
,
new
Vue
({
el
:
"#app"
,
store
:
c
.
a
,
router
:
u
.
a
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
YZCe
:
function
(
e
,
n
){},
YaEn
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"IcnI"
),
a
=
t
(
"/ocq"
),
r
=
t
(
"zSLJ"
),
i
=
new
a
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
9
)]).
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
(
42
).
then
(
function
(){
var
n
=
[
t
(
"sJm1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
45
)]).
then
(
function
(){
var
n
=
[
t
(
"0HId"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/outManager"
,
name
:
"outManager"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
49
)]).
then
(
function
(){
var
n
=
[
t
(
"hLMI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
44
)]).
then
(
function
(){
var
n
=
[
t
(
"iPJD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/newLesson"
,
name
:
"newLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
4
)]).
then
(
function
(){
var
n
=
[
t
(
"4t0V"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
i
.
beforeEach
(
function
(
e
,
n
,
t
){
if
(
o
.
a
.
commit
(
"mainCanShow"
),
r
.
a
.
get
(
"cc_token"
)
&&
(
o
.
a
.
dispatch
(
"setToken"
,
r
.
a
.
get
(
"cc_token"
)),
o
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
r
.
a
.
get
(
"cc_user_name"
)
&&
o
.
a
.
dispatch
(
"setUserName"
,
r
.
a
.
get
(
"cc_user_name"
))),
o
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
a
=
void
0
,
i
=
0
;
i
<
o
.
a
.
state
.
menuList
.
length
;
i
++
)
for
(
var
u
=
o
.
a
.
state
.
menuList
[
i
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
l
=
u
.
list
[
c
];
l
.
path
===
e
.
path
&&
(
a
=
l
)}
o
.
a
.
state
.
openedTab
.
indexOf
(
a
)
<
0
&&
o
.
a
.
state
.
openedTab
.
push
(
a
)}
if
(
e
.
meta
.
readonly
?
o
.
a
.
dispatch
(
"readonly"
,
!
0
):
o
.
a
.
dispatch
(
"readonly"
,
!
1
),
o
.
a
.
state
.
orderRefund
=
e
.
meta
.
refund
,
o
.
a
.
state
.
export
=
e
.
meta
.
export
,
o
.
a
.
state
.
distribution
=
e
.
meta
.
distribution
,
"userDetail"
===
e
.
name
){
var
s
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
o
.
a
.
dispatch
(
"readonly"
,
s
)}
e
.
meta
.
delete
?
o
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
o
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
o
.
a
.
state
.
token
?
t
({
path
:
"/login"
}):
t
()}),
i
.
onError
(
function
(
e
){
var
n
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
t
=
i
.
history
.
pending
.
fullPath
;
n
&&
i
.
replace
(
t
)}),
n
.
a
=
i
},
lRwf
:
function
(
e
,
n
){
e
.
exports
=
Vue
},
zSLJ
:
function
(
e
,
n
,
t
){
"use strict"
;
n
.
a
=
{
set
:
function
(
e
,
n
,
t
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
t
),
window
.
document
.
cookie
=
e
+
"="
+
n
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
n
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
n
?
n
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.3ba6cf4d29692755e4dc.js
0 → 100644
View file @
d3a0a34b
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
56
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"aad47949668c9c84877a"
,
1
:
"18ef2da711b937456721"
,
2
:
"f285170898e3f62cc838"
,
3
:
"c2b3b8b2649e7a65b863"
,
4
:
"06cba7088948f5a52f00"
,
5
:
"69b37f27e8a7b8115ff9"
,
6
:
"2e1c347ea27975d7a997"
,
7
:
"510bbcc8314a816bd68b"
,
8
:
"b3aa50c4af7b2cdce421"
,
9
:
"02408b42bfa25b9211bb"
,
10
:
"50e3a86a7257d92c6d11"
,
11
:
"bf662d8dce33a95b54e8"
,
12
:
"0f8cf72ff9a82026e4bb"
,
13
:
"3bceacf51692f7e6083d"
,
14
:
"1c1389cd180e64a2062d"
,
15
:
"03ca213ca5a3f48944d9"
,
16
:
"39e0963902d2c482e169"
,
17
:
"eb1744ffcd2565bc88c1"
,
18
:
"6d2de53dc167a468b025"
,
19
:
"2e1f5d3a5dfcdb87ce2c"
,
20
:
"d487c3254db4f01c8f72"
,
21
:
"a4e2ea628f3a6ef57425"
,
22
:
"bf0cd91b035df0e20144"
,
23
:
"d078c8184819af87f3d4"
,
24
:
"b28df522b7f1ded769a0"
,
25
:
"2567c7922f887553bf09"
,
26
:
"7128709eb53d93566085"
,
27
:
"267cef7bc8d1e6964407"
,
28
:
"ffec9fb9b48e45a1853e"
,
29
:
"7aafa98c83d571affcab"
,
30
:
"e11e9f6152d8cd4c3030"
,
31
:
"b20d45414fa85054cdd0"
,
32
:
"ac91636572b1cd0b7769"
,
33
:
"7b834e6d0298e410e1b0"
,
34
:
"f304800bd1e03aee3d3f"
,
35
:
"4c932c95729327205f01"
,
36
:
"8b9a5dda8aa693a6ea9a"
,
37
:
"3a5830ea49f75eb58398"
,
38
:
"a42d50ab65663013f796"
,
39
:
"c206da0f4c5723230d29"
,
40
:
"9561959b996f20d07912"
,
41
:
"1bb48e1d35f76b87acad"
,
42
:
"bfcf4d980f9588d2fc8b"
,
43
:
"aaa08fa264335c87fe22"
,
44
:
"b0495b04ed1fc1012dd1"
,
45
:
"cc440faa844aed89202f"
,
46
:
"274ce7653f003af7ef42"
,
47
:
"e864b028f898e999087a"
,
48
:
"b163cd5e2750e3f00800"
,
49
:
"2c20b652d59b2de810df"
,
50
:
"278f754d9e9c7c19dcbe"
,
51
:
"d0cc5f34a91f30e2dfb1"
,
52
:
"ed03a9a8d07fe41dc94f"
,
53
:
"c82163df97368700b05e"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/system/menu.vue
View file @
d3a0a34b
...
...
@@ -71,7 +71,7 @@
return
{
nowPage
:
1
,
total
:
0
,
menuList
:[],
menuList
:[
{
cover
:
0
,
name
:
'系统'
},{
cover
:
2
,
name
:
'系统2'
}
],
plist
:[],
dialog
:{
title
:
'新增菜单'
,
...
...
@@ -100,19 +100,39 @@
methods
:{
getList
(){
getMenuListApi
({
limit
:
100
}).
then
(
res
=>
{
if
(
res
)
{
//
if (res) {
this
.
menuList
=
[];
this
.
plist
=
[];
let
arr
=
[]
// res.forEach(i=>{
// arr.push(i);
// this.plist.push(i);
// if(i.children){
// i.children.forEach(j=>{
// arr.push(j);
// })
// }
// })
res
.
forEach
(
i
=>
{
this
.
menuList
.
push
(
i
);
let
x
=
{}
x
.
cover
=
i
.
cover
x
.
name
=
i
.
name
x
.
pid
=
i
.
pid
x
.
id
=
i
.
id
x
.
created_at
=
i
.
created_at
// created_at
arr
.
push
(
x
);
this
.
plist
.
push
(
i
);
if
(
i
.
children
){
i
.
children
.
forEach
(
j
=>
{
this
.
menuList
.
push
(
j
);
arr
.
push
(
j
);
})
}
})
}
this
.
menuList
=
arr
console
.
log
(
this
.
menuList
)
// debugger
// }
})
},
edit
(
data
){
...
...
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