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
5a8aa3ce
Commit
5a8aa3ce
authored
Aug 29, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hotfix 1.1
parent
1d6ca083
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
index.html
dist/index.html
+1
-1
app.adf34786dfaa7b66ccc6947062b6d6a3.css
dist/static/css/app.adf34786dfaa7b66ccc6947062b6d6a3.css
+1
-0
9.88095f58a20cd4952058.js
dist/static/js/9.88095f58a20cd4952058.js
+1
-0
manifest.a4d87aabbbde4807655d.js
dist/static/js/manifest.a4d87aabbbde4807655d.js
+1
-0
No files found.
dist/index.html
View file @
5a8aa3ce
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
13d13cb05ba4f0132048934034fd234f.css
rel=
stylesheet
></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.ece792aeedc01a8ee322
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6d83b86ee8e55629231a.js
></script><script
type=
text/javascript
src=
/static/js/app.fd53bcc525530824901f.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
adf34786dfaa7b66ccc6947062b6d6a3.css
rel=
stylesheet
></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.a4d87aabbbde4807655d
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6d83b86ee8e55629231a.js
></script><script
type=
text/javascript
src=
/static/js/app.fd53bcc525530824901f.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dist/static/css/app.adf34786dfaa7b66ccc6947062b6d6a3.css
0 → 100644
View file @
5a8aa3ce
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/9.88095f58a20cd4952058.js
0 → 100644
View file @
5a8aa3ce
webpackJsonp
([
9
],{
A1R8
:
function
(
e
,
t
){},
AbSL
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
s
(
"CCn6"
),
o
=
s
(
"kmJW"
),
n
=
s
(
"lP78"
),
l
=
s
.
n
(
n
),
a
=
s
(
"WY0H"
),
r
=
s
.
n
(
a
),
c
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
lessList
:[],
fullList
:[],
showLessonList
:[],
selectedLesson
:[],
selectedLessonList
:[],
lessonList
:[],
selectedBox
:[],
selectedBoxList
:[],
boxList
:[],
showBoxList
:[],
imageList
:[],
loading
:
!
1
,
uploadShow
:
!
0
,
downSrc
:
l
.
a
,
upSrc
:
r
.
a
,
form
:{
title
:
""
,
type
:
0
,
text_category_ids
:[],
item_category_ids
:[],
cover
:
0
},
rules
:{
title
:[{
required
:
!
0
,
message
:
"请输入课程标题"
,
trigger
:
"change"
}]}}},
methods
:{
handleItemChange
:
function
(
e
){},
changLessonItem
:
function
(){
this
.
selectedLesson
=
[],
this
.
selectedLessonList
=
[]},
delLesson
:
function
(
e
){
this
.
selectedLessonList
=
this
.
selectedLessonList
.
filter
(
function
(
t
){
return
t
.
id
!==
e
.
id
})},
delBox
:
function
(
e
){
this
.
selectedBoxList
=
this
.
selectedBoxList
.
filter
(
function
(
t
){
return
t
.
id
!==
e
.
id
})},
selectLesson
:
function
(
e
){
var
t
=
this
.
showLessonList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
t
.
children
&&
(
t
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
3
===
e
.
length
&&
(
t
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
2
]})),
-
1
===
this
.
selectedLessonList
.
findIndex
(
function
(
e
){
return
e
===
t
})?
this
.
selectedLessonList
.
push
(
t
):
this
.
$message
({
type
:
"info"
,
message
:
"不能重复添加!"
}))},
selectBox
:
function
(
e
){
var
t
=
this
.
showBoxList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
-
1
===
this
.
selectedBoxList
.
findIndex
(
function
(
e
){
return
e
===
t
})?
this
.
selectedBoxList
.
push
(
t
):
this
.
$message
({
type
:
"info"
,
message
:
"不能重复添加!"
})},
sub
:
function
(){
var
e
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
t
){
var
s
=
[],
o
=
[];
e
.
selectedBoxList
.
forEach
(
function
(
e
){
s
.
push
(
e
.
id
)}),
e
.
selectedLessonList
.
forEach
(
function
(
e
){
o
.
push
(
e
.
id
)}),
e
.
imageList
[
0
]
&&
(
e
.
form
.
cover
=
e
.
imageList
[
0
].
name
);
var
n
=
e
.
form
;
if
(
n
.
item_category_ids
=
s
.
toString
(),
n
.
text_category_ids
=
o
.
toString
(),
t
){
if
(
!
e
.
form
.
cover
)
return
void
e
.
$message
({
type
:
"error"
,
message
:
"请上传封面!"
});
if
(
!
n
.
text_category_ids
)
return
void
e
.
$message
({
type
:
"error"
,
message
:
"请选择课程!"
});
switch
(
e
.
dialogObj
.
type
){
case
1
:
Object
(
i
.
_18
)(
e
.
dialogObj
.
id
,
n
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
dialogObj
.
show
=!
1
});
break
;
case
0
:
Object
(
i
.
l
)(
n
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"新增成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
dialogObj
.
show
=!
1
})}}})},
initDialog
:
function
(){
var
e
=
this
;
Object
(
i
.
_42
)().
then
(
function
(
t
){
t
&&
(
e
.
boxList
=
t
,
e
.
showBoxList
=
JSON
.
parse
(
JSON
.
stringify
(
t
)))}),
Object
(
i
.
_45
)().
then
(
function
(
t
){
e
.
lessonList
=
t
;
var
s
=
JSON
.
parse
(
JSON
.
stringify
(
t
));
switch
(
s
.
forEach
(
function
(
e
){
e
.
children
=
e
.
children
||
[],
e
.
children
.
forEach
(
function
(
e
){
e
.
children
&&
delete
e
.
children
})}),
e
.
lessList
=
s
,
e
.
fullList
=
JSON
.
parse
(
JSON
.
stringify
(
t
)),
0
==
e
.
form
.
type
?
e
.
showLessonList
=
e
.
lessList
:
e
.
showLessonList
=
e
.
fullList
,
e
.
dialogObj
.
type
){
case
0
:
e
.
form
=
{
title
:
""
,
type
:
0
,
text_category_ids
:[],
item_category_ids
:[],
cover
:
0
},
e
.
uploadShow
=!
0
,
e
.
imageList
=
[],
e
.
selectedLessonList
=
[],
e
.
selectedBoxList
=
[];
break
;
case
1
:
Object
(
i
.
_70
)(
e
.
dialogObj
.
id
).
then
(
function
(
t
){
e
.
form
=
{
title
:
t
.
title
,
type
:
t
.
type
,
text_category_ids
:[],
item_category_ids
:[],
cover
:
""
},
e
.
imageList
=
[{
name
:
t
.
cover
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
cover
}],
e
.
uploadShow
=!
1
,
e
.
selectedLessonList
=
[],
e
.
selectedBoxList
=
[],
0
===
t
.
type
?
t
.
detail
[
0
].
forEach
(
function
(
t
){
e
.
selectLesson
([
t
.
pid
,
t
.
id
])}):
1
===
t
.
type
&&
t
.
detail
[
1
].
forEach
(
function
(
t
){
var
s
=
e
.
showLessonList
.
find
(
function
(
e
){
return
e
.
children
=
e
.
children
||
[],
e
.
children
.
find
(
function
(
e
){
return
e
.
id
===
t
.
pid
})});
e
.
selectLesson
([
s
.
id
,
t
.
pid
,
t
.
id
])}),
t
.
detail
[
2
]
&&
t
.
detail
[
2
].
forEach
(
function
(
t
){
e
.
selectBox
([
t
.
id
])})});
break
;
case
2
:
e
.
title
=
"编辑"
,
e
.
show
=
e
.
dialogObj
.
show
,
e
.
id
=
e
.
dialogObj
.
id
,
e
.
type
=
2
}})},
beforeAvatarUpload
:
function
(){
this
.
uploadShow
=!
1
},
handleRemove
:
function
(){
this
.
uploadShow
=!
0
},
handleAvatarSuccess
:
function
(
e
){
this
.
imageList
=
[{
name
:
e
.
data
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
data
.
url
}]},
uploadFileMain
:
function
(
e
){
var
t
=
this
;
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
this
.
fileUid
=
e
.
file
.
uid
,
Object
(
i
.
_210
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
form
.
cover
=
"https://cdn.singsingenglish.com/"
+
e
.
url
,
t
.
imageList
[
0
]
=
{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
}})},
moveBox
:
function
(
e
,
t
){
var
s
=
this
.
selectedBoxList
,
i
=
s
[
e
],
o
=
s
[
t
];
this
.
selectedBoxList
.
splice
(
e
,
1
,
o
),
this
.
selectedBoxList
.
splice
(
t
,
1
,
i
)},
moveItem
:
function
(
e
,
t
){
var
s
=
this
.
selectedLessonList
,
i
=
s
[
e
],
o
=
s
[
t
];
this
.
selectedLessonList
.
splice
(
e
,
1
,
o
),
this
.
selectedLessonList
.
splice
(
t
,
1
,
i
)}},
watch
:{
"form.type"
:
function
(){
0
==
this
.
form
.
type
?
this
.
showLessonList
=
this
.
lessList
:
this
.
showLessonList
=
this
.
fullList
},
"dialogObj.show"
:
function
(
e
){
e
&&
this
.
initDialog
()}}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogObj
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
s
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
s
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"120px"
,
rules
:
e
.
rules
,
disabled
:
e
.
dialogObj
.
read
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"课程标题"
,
prop
:
"title"
}},[
s
(
"el-input"
,{
model
:{
value
:
e
.
form
.
title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"title"
,
t
)},
expression
:
"form.title"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"课程封面(670*472)"
}},[
s
(
"el-upload"
,{
class
:{
disabled
:
!
e
.
uploadShow
},
attrs
:{
action
:
"/api/public/upload"
,
"http-request"
:
e
.
uploadFileMain
,
"before-upload"
:
e
.
beforeAvatarUpload
,
"list-type"
:
"picture-card"
,
"file-list"
:
e
.
imageList
,
"on-success"
:
e
.
handleAvatarSuccess
,
"on-remove"
:
e
.
handleRemove
}},[
s
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
),
e
.
_v
(
" "
),
s
(
"el-row"
,[
s
(
"el-col"
,{
attrs
:{
span
:
10
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"课程类型"
}},[
s
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择课程类型"
},
on
:{
change
:
e
.
changLessonItem
},
model
:{
value
:
e
.
form
.
type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"type"
,
t
)},
expression
:
"form.type"
}},[
s
(
"el-option"
,{
attrs
:{
label
:
"月课"
,
value
:
0
}}),
e
.
_v
(
" "
),
s
(
"el-option"
,{
attrs
:{
label
:
"日课"
,
value
:
1
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"el-col"
,{
attrs
:{
span
:
10
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"选择课程"
}},[
s
(
"el-cascader"
,{
ref
:
"cascader"
,
attrs
:{
clearable
:
""
,
value
:
e
.
selectedLesson
,
options
:
e
.
showLessonList
,
"show-all-levels"
:
!
1
,
props
:{
label
:
"name"
,
value
:
"id"
,
children
:
"children"
}},
on
:{
change
:
e
.
selectLesson
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"el-row"
,[
s
(
"el-col"
,{
attrs
:{
span
:
24
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"已选课程"
}},
e
.
_l
(
e
.
selectedLessonList
,
function
(
t
,
i
){
return
s
(
"div"
,{
key
:
i
,
staticClass
:
"selected-block"
},[
s
(
"el-card"
,{
attrs
:{
shadow
:
"always"
}},[
s
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
i
+
1
)
+
"."
+
e
.
_s
(
t
.
name
))]),
e
.
_v
(
" "
),
e
.
dialogObj
.
read
?
e
.
_e
():
s
(
"div"
,{
staticClass
:
"move"
},[
0
!==
i
?
s
(
"img"
,{
staticClass
:
"directionIcon"
,
attrs
:{
src
:
e
.
upSrc
},
on
:{
click
:
function
(
t
){
e
.
moveItem
(
i
-
1
,
i
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
i
!==
e
.
selectedLessonList
.
length
-
1
?
s
(
"img"
,{
staticClass
:
"directionIcon"
,
attrs
:{
src
:
e
.
downSrc
},
on
:{
click
:
function
(
t
){
e
.
moveItem
(
i
,
i
+
1
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"i"
,{
staticClass
:
"el-icon-delete grey"
,
on
:{
click
:
function
(
s
){
e
.
delLesson
(
t
)}}})])])],
1
)}))],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"el-row"
,[
s
(
"el-col"
,{
attrs
:{
span
:
10
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"选择盒子"
}},[
s
(
"el-cascader"
,{
attrs
:{
clearable
:
""
,
value
:
e
.
selectedBox
,
options
:
e
.
showBoxList
,
"show-all-levels"
:
!
1
,
"expand-trigger"
:
"hover"
,
props
:{
label
:
"name"
,
value
:
"id"
,
children
:
"children"
}},
on
:{
change
:
e
.
selectBox
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"el-row"
,[
s
(
"el-col"
,{
attrs
:{
span
:
24
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"已选盒子"
}},
e
.
_l
(
e
.
selectedBoxList
,
function
(
t
,
i
){
return
s
(
"div"
,{
key
:
t
.
id
,
staticClass
:
"selected-block"
},[
s
(
"el-card"
,{
attrs
:{
shadow
:
"always"
}},[
s
(
"div"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
name
))]),
e
.
_v
(
" "
),
e
.
dialogObj
.
read
?
e
.
_e
():
s
(
"div"
,{
staticClass
:
"move"
},[
0
!==
i
?
s
(
"img"
,{
staticClass
:
"directionIcon"
,
attrs
:{
src
:
e
.
upSrc
},
on
:{
click
:
function
(
t
){
e
.
moveBox
(
i
-
1
,
i
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
i
!==
e
.
selectedBoxList
.
length
-
1
?
s
(
"img"
,{
staticClass
:
"directionIcon"
,
attrs
:{
src
:
e
.
downSrc
},
on
:{
click
:
function
(
t
){
e
.
moveBox
(
i
,
i
+
1
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"i"
,{
staticClass
:
"el-icon-delete grey"
,
on
:{
click
:
function
(
s
){
e
.
delBox
(
t
)}}})])])],
1
)}))],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
2
===
e
.
dialogObj
.
type
||
e
.
dialogObj
.
read
?
e
.
_e
():
s
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)])},
staticRenderFns
:[]};
var
h
=
s
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
s
(
"HQTi"
),
s
(
"Wj49"
)},
"data-v-7abba2f5"
,
null
).
exports
,
u
=
s
(
"+TkF"
),
g
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
title
:
""
,
type
:
"-1"
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
dialogObj
:{
type
:
0
,
show
:
!
1
,
id
:
""
}}},
components
:{
page
:
o
.
a
,
dialogCom
:
h
},
filters
:{
lessonType
:
function
(
e
){
return
u
.
r
[
e
]}},
mounted
:
function
(){
this
.
getUser
()},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
;
this
.
searchFrom
.
page
=
this
.
nowPage
;
var
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
title
&&
(
t
.
title
=
this
.
searchFrom
.
title
),
this
.
searchFrom
.
type
&&
"-1"
!==
this
.
searchFrom
.
type
&&
(
t
.
type
=
this
.
searchFrom
.
type
),
Object
(
i
.
_69
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
})},
edit
:
function
(
e
){
this
.
dialogObj
=
{
type
:
1
,
show
:
!
0
,
id
:
e
.
id
,
title
:
"编辑课程"
}},
add
:
function
(){
this
.
dialogObj
=
{
type
:
0
,
show
:
!
0
,
id
:
""
,
title
:
"新增课程"
}},
detail
:
function
(
e
){
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
type
=
1
,
this
.
dialogObj
.
show
=!
0
,
this
.
dialogObj
.
read
=!
0
},
delTeacher
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该课程?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
_2
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getUser
()})})},
changeShow
:
function
(
e
){
this
.
dialogObj
.
show
=
e
}}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"user"
},[
s
(
"el-form"
,{
ref
:
"searchFrom"
,
staticClass
:
"search-form"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"课程标题"
}},[
s
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"title"
,
t
)},
expression
:
"searchFrom.title"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
s
(
"div"
,{
staticClass
:
"search-btn-block"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
icon
:
"el-icon-search"
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
s
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
,
icon
:
"el-icon-plus"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增课程"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
s
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getUser
},
model
:{
value
:
e
.
searchFrom
.
type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type"
,
t
)},
expression
:
"searchFrom.type"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-table"
,{
attrs
:{
data
:
e
.
userList
}},[
s
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"课程名"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"router-link"
,{
attrs
:{
to
:{
name
:
"periods"
,
query
:{
id
:
t
.
row
.
id
}}}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
title
)
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"课程类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"lessonType"
)(
t
.
row
.
type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"theme_num"
,
label
:
"主题数"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"sing_num"
,
label
:
"歌曲数"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"item_num"
,
label
:
"实体包数量"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
width
:
"250"
,
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
s
){
e
.
detail
(
t
.
row
)}}},[
e
.
_v
(
"
\n
查看详情
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
s
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"warning"
},
on
:{
click
:
function
(
s
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
s
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
s
){
e
.
delTeacher
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
s
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
s
(
"dialog-com"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
changeShow
:
e
.
changeShow
,
reflash
:
e
.
getUser
}})],
1
)},
staticRenderFns
:[]};
var
f
=
s
(
"VU/8"
)(
g
,
m
,
!
1
,
function
(
e
){
s
(
"A1R8"
)},
"data-v-a8e96a2c"
,
null
);
t
.
default
=
f
.
exports
},
HQTi
:
function
(
e
,
t
){},
WY0H
:
function
(
e
,
t
){
e
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAAAL1JREFUOBHtUsENwyAMNKhiDz55Z4R2g47QbpQNmg26QkbIE/hkhUwA9akuoirwqNRfkU65+M5nJ4Lol8d7fwZ6M3RLDCFcWLsDwqtWVauiIaV0KzWl1HUYhrmsgX8EyMqYvBZ6Yj7WQt4+gSePbJwZqzHmxFvsADhqzCfx8Ovz5AAIbFi4vKHBWruLh8AlZIOnDMkBMcZjrbkWIt6X1H465xag7SDKG/RMPe0fQHTo/SC+eZPWOt+Hnvdr7QHl81VpSdWOuAAAAABJRU5ErkJggg=="
},
Wj49
:
function
(
e
,
t
){},
lP78
:
function
(
e
,
t
){
e
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA0klEQVQ4T+2TsRHCMAxFpSZus4Ibx2VGCBuECYANGIUNgA3YAEagdJzCK6RNiogTh3PGJDkO7qhwpzv9J0v6Qvjy4Zy+ruui7/s0y7LTVN4swBhzYaHWuvgDfjEDY8wWEVdJkiyklA1PPd6Ccy7tuu5MREet9Y5zhjVaa3Mi4rU5DwkBXgwAEhELpdT1CcBBDGnb9m4gIUTJlWPxC+ABWRPRHgC4gv8hAUAOAMvYlaNOtNZ6yGBARNwopQ6xIyetHEKmxKMthBWqqio5/viY3rn0G9fOdxEKoA2QAAAAAElFTkSuQmCC"
}});
\ No newline at end of file
dist/static/js/manifest.a4d87aabbbde4807655d.js
0 → 100644
View file @
5a8aa3ce
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
b
[
t
]
&&
u
.
push
(
b
[
t
][
0
]),
b
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
b
=
{
74
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
b
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
b
.
exports
,
b
,
b
.
exports
,
f
),
b
.
l
=!
0
,
b
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
b
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
b
[
e
]
=
[
c
,
f
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"20b5f5c317bede54371c"
,
1
:
"358bbbad7afda45562bc"
,
2
:
"4f94fbd21660b7b1eaec"
,
3
:
"6271eab9415115708a0a"
,
4
:
"c9a151c6c2b31c097747"
,
5
:
"13e53366cd4beba3a1f4"
,
6
:
"802c1e76cbabe3dd01e0"
,
7
:
"1bd5e17f6b99f2f16a2e"
,
8
:
"17f5f3cf5e73a2889e04"
,
9
:
"88095f58a20cd4952058"
,
10
:
"ddcf2f5c9ba70a5b725f"
,
11
:
"8816cbd0659f6a9bf280"
,
12
:
"095596971d811f76b281"
,
13
:
"a356f70c9721b8c68271"
,
14
:
"e8859f654dcc1d92624e"
,
15
:
"66441875f9d498021fd8"
,
16
:
"e970b0652fb3f9050b63"
,
17
:
"e25c98cc372b381c941c"
,
18
:
"0f06c30ecb1a39e1ace6"
,
19
:
"56e7cfb4b183f7de30e4"
,
20
:
"495b9397e804d2330e8b"
,
21
:
"e7056c1348290d411b29"
,
22
:
"d0b84258853476847bb8"
,
23
:
"67ad5f99ef64665c0aaa"
,
24
:
"607b1da33e43e83d030d"
,
25
:
"7da808a4a80ac674bcdb"
,
26
:
"9bccecf09238756c29b9"
,
27
:
"b9bf7179a5ceb852c9aa"
,
28
:
"1484235cad8818f61548"
,
29
:
"898ae6158d6d7c4faa1a"
,
30
:
"6b91829f91321b43444c"
,
31
:
"02c89b26e7f2b3aba116"
,
32
:
"15676b50cca5fc48f6b8"
,
33
:
"8b95d57912eac528a343"
,
34
:
"e20a0b8975fc55fc5401"
,
35
:
"b9f8e48022a5eb3635ab"
,
36
:
"1a08019800ff4060aeed"
,
37
:
"bdb3183bea1346621623"
,
38
:
"f140b4acdf51f105829e"
,
39
:
"96be7f1fa76194f59d95"
,
40
:
"2691dd9ebdb4a70c6f1d"
,
41
:
"d03457332d1f5e3c804c"
,
42
:
"b8d664c0e83a529aeabb"
,
43
:
"3b7569d381ad2b99e458"
,
44
:
"6fb8a738eb7c2b37f078"
,
45
:
"4e87bebef26ef39b0869"
,
46
:
"ac2ee5a1cdfde3c1303e"
,
47
:
"b597a339ffe65b5caa4f"
,
48
:
"b208f7d57b34b574d897"
,
49
:
"f7af631bc6c834f3bad0"
,
50
:
"34c1b6e26bb4467231a1"
,
51
:
"79ed2617caa297d039cb"
,
52
:
"bb01cc0365ca2539cde2"
,
53
:
"ecb806aa9e55104cfc69"
,
54
:
"30189d04a0008217fafa"
,
55
:
"9e3ca32d759bccf4a453"
,
56
:
"827213d857c295d7fced"
,
57
:
"57c4343818b0dae5aec4"
,
58
:
"5c0af4191b4ba0dec097"
,
59
:
"8303fae55954d06aeaef"
,
60
:
"28624999803cb3ca28f7"
,
61
:
"77207a33a40588af2c8d"
,
62
:
"af205cb88542cf534c9a"
,
63
:
"daefad2d63aa290c6242"
,
64
:
"bd3538a4c7530549c8ba"
,
65
:
"efa0c5a40fba6db5ea92"
,
66
:
"7092d2b7c802144ea812"
,
67
:
"87aee07a75eccfe32b2a"
,
68
:
"b7dfe33086eb6ad1c2ba"
,
69
:
"726f864342a5cb230ff7"
,
70
:
"4920187cffe0c4990e4e"
,
71
:
"0e479f6431d38735705e"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
b
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
b
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
f
.
m
=
e
,
f
.
c
=
c
,
f
.
d
=
function
(
e
,
a
,
c
){
f
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
f
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
a
,
"a"
,
a
),
a
},
f
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
f
.
p
=
"/"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment