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
594fc5fa
Commit
594fc5fa
authored
Nov 14, 2018
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计详情
parent
01bb1d5f
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
51 additions
and
34 deletions
+51
-34
index.html
dev/index.html
+1
-1
33.9643398d5ede39a9c44d.js
dev/static/js/33.9643398d5ede39a9c44d.js
+1
-0
manifest.2ef6ca614d3805b926fe.js
dev/static/js/manifest.2ef6ca614d3805b926fe.js
+1
-0
index.html
dist/index.html
+1
-1
app.6b2a79d5ecee477bdfd86eb92cd0cc18.css
dist/static/css/app.6b2a79d5ecee477bdfd86eb92cd0cc18.css
+1
-0
30.c7a2b0414d7b9cc45d1a.js
dist/static/js/30.c7a2b0414d7b9cc45d1a.js
+1
-0
31.f8a98fde852cdbd061ec.js
dist/static/js/31.f8a98fde852cdbd061ec.js
+1
-0
32.619068488d2c565b1b6f.js
dist/static/js/32.619068488d2c565b1b6f.js
+1
-0
33.0cbb1dbf9dd32ca74a9c.js
dist/static/js/33.0cbb1dbf9dd32ca74a9c.js
+1
-0
34.56f6b0345c9819d274ae.js
dist/static/js/34.56f6b0345c9819d274ae.js
+1
-0
36.f730b7fb9d5f47b81147.js
dist/static/js/36.f730b7fb9d5f47b81147.js
+1
-0
37.65d0ff76cad42cd6432a.js
dist/static/js/37.65d0ff76cad42cd6432a.js
+1
-0
38.cadd10e92890360f5fab.js
dist/static/js/38.cadd10e92890360f5fab.js
+1
-0
app.a56f567e93046e257e55.js
dist/static/js/app.a56f567e93046e257e55.js
+1
-0
manifest.006bf235deaec3df5f77.js
dist/static/js/manifest.006bf235deaec3df5f77.js
+1
-0
index.vue
src/components/watchCount/index.vue
+36
-32
No files found.
dev/index.html
View file @
594fc5fa
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.1295c42d8334d473da7d78ac3f2c8c0a.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
69a191f4af9377e4ee38
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.93032a15e43c4a991d50.js
></script><script
type=
text/javascript
src=
/static/js/app.4d95608196a2acfb3ecb.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_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.1295c42d8334d473da7d78ac3f2c8c0a.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
2ef6ca614d3805b926fe
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.93032a15e43c4a991d50.js
></script><script
type=
text/javascript
src=
/static/js/app.4d95608196a2acfb3ecb.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/33.9643398d5ede39a9c44d.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
33
],{
Dq6T
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"CCn6"
),
i
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
watchTime
:[]},
dialogLoading
:
!
1
,
dialogVisible
:
!
1
,
tableData
:[],
dialog
:{
list
:[],
total
:
0
,
register
:
0
,
coursesList
:[],
course
:
0
,
time
:
""
,
name
:
""
,
codeList
:[],
inNum
:
0
},
tableHead
:{}}},
methods
:{
defaultTime
:
function
(){
var
t
=
new
Date
,
a
=
t
.
getFullYear
(),
e
=
t
.
getMonth
()
+
1
;
e
<
10
&&
(
e
=
"0"
+
e
);
var
n
=
t
.
getDate
();
n
<
10
&&
(
n
=
"0"
+
n
);
var
i
=
a
+
"-"
+
e
+
"-01"
,
o
=
a
+
"-"
+
e
+
"-"
+
n
;
this
.
searchFrom
.
watchTime
=
[
i
,
o
]},
toDetail
:
function
(
t
,
a
,
e
){
var
i
=
this
;
this
.
dialogLoading
=!
0
,
this
.
dialogVisible
=!
0
;
var
o
=
{
cur_date
:
t
,
code
:
a
};
Object
(
n
.
_40
)(
o
).
then
(
function
(
n
){
i
.
dialog
.
name
=
i
.
tableHead
[
a
],
i
.
dialog
.
time
=
t
,
i
.
dialog
.
inNum
=
n
.
total
,
i
.
dialog
.
list
=
n
.
list
,
i
.
dialog
.
register
=
n
.
register
,
i
.
dialog
.
course
=
n
.
course
,
i
.
dialog
.
total
=
e
,
i
.
dialog
.
coursesList
=
n
.
courses
,
i
.
dialogLoading
=!
1
})},
getList
:
function
(){
var
t
=
this
,
a
=
{};
this
.
searchFrom
.
watchTime
&&
this
.
searchFrom
.
watchTime
.
length
>
0
&&
(
a
.
start_at
=
this
.
searchFrom
.
watchTime
[
0
],
a
.
end_at
=
this
.
searchFrom
.
watchTime
[
1
]),
Object
(
n
.
_46
)(
a
).
then
(
function
(
a
){
t
.
tableHead
=
a
[
0
],
t
.
tableData
=
a
.
slice
(
1
)})}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
getList
()}},
o
=
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"index"
},[
e
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"100px"
}},[
e
(
"el-row"
,[
e
(
"el-col"
,{
attrs
:{
span
:
12
}},[
e
(
"el-form-item"
,{
attrs
:{
label
:
"时间"
}},[
e
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"value-format"
:
"yyyy-MM-dd"
,
"end-placeholder"
:
"结束日期"
},
model
:{
value
:
t
.
searchFrom
.
watchTime
,
callback
:
function
(
a
){
t
.
$set
(
t
.
searchFrom
,
"watchTime"
,
a
)},
expression
:
"searchFrom.watchTime"
}})],
1
)],
1
),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
6
,
offset
:
6
}},[
e
(
"el-form-item"
,{
staticStyle
:{
float
:
"right"
}},[
e
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
getList
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
e
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
border
:
""
}},
t
.
_l
(
t
.
tableHead
,
function
(
a
,
n
){
return
e
(
"el-table-column"
,{
key
:
a
,
attrs
:{
label
:
a
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
a
){
return
[
"cur_date"
!==
n
?
e
(
"div"
,{
staticClass
:
"link"
,
on
:{
click
:
function
(
e
){
t
.
toDetail
(
a
.
row
.
cur_date
,
n
,
a
.
row
[
n
])}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
a
.
row
[
n
])
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
"cur_date"
===
n
?
e
(
"span"
,[
t
.
_v
(
" "
+
t
.
_s
(
a
.
row
[
n
]))]):
t
.
_e
()]}}])})})),
t
.
_v
(
" "
),
e
(
"el-dialog"
,{
attrs
:{
title
:
"详情"
,
visible
:
t
.
dialogVisible
,
width
:
"1200px"
},
on
:{
"update:visible"
:
function
(
a
){
t
.
dialogVisible
=
a
}}},[
e
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
dialogLoading
,
expression
:
"dialogLoading"
}]},[
e
(
"el-row"
,{
staticClass
:
"dialog-tips"
},[
e
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
时间:
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
time
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
状态:
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
name
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
总数:
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
total
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
进系统人数:
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
inNum
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
注册数:
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
register
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
有课人数:
\n
"
)]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
course
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dialog
.
code
,
function
(
a
,
n
){
return
e
(
"div"
,{
key
:
n
},[
e
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
e
(
"div"
,{
attrs
:{
title
:
a
.
source_name
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
a
.
source_name
)
+
":
\n
"
)])]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
a
.
source_num
)
+
"
\n
"
)])],
1
)}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dialog
.
coursesList
,
function
(
a
,
n
){
return
e
(
"div"
,{
key
:
n
},[
e
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
e
(
"div"
,{
attrs
:{
title
:
a
.
courses_name
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
a
.
courses_name
)
+
":
\n
"
)])]),
t
.
_v
(
" "
),
e
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
a
.
courses_num
)
+
"
\n
"
)])],
1
)})],
2
),
t
.
_v
(
" "
),
e
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
dialog
.
list
}},[
e
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"昵称"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"user_id"
,
label
:
"老系统用户ID"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"课程名称"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"instructor"
,
label
:
"开课日期"
}}),
t
.
_v
(
" "
),
e
(
"el-table-column"
,{
attrs
:{
prop
:
"source_title"
,
label
:
"来源名称"
}})],
1
)],
1
)])],
1
)};
o
.
_withStripped
=!
0
;
var
l
=
{
render
:
o
,
staticRenderFns
:[]},
r
=
l
;
var
s
=!
1
;
var
d
=
e
(
"VU/8"
)(
i
,
r
,
!
1
,
function
(
t
){
s
||
e
(
"m8Sx"
)},
"data-v-54d7b266"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
watchCount
\\
index.vue"
;
a
.
default
=
d
.
exports
},
ZTEx
:
function
(
t
,
a
,
e
){(
t
.
exports
=
e
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
'
\
n.search-btn-block[data-v-54d7b266] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-54d7b266] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-54d7b266] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-54d7b266] {
\
n float: right;
\
n}
\
n.text-c[data-v-54d7b266] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-54d7b266] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-54d7b266] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-54d7b266] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-54d7b266] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-54d7b266] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-54d7b266]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-54d7b266]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-54d7b266]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-54d7b266]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.index[data-v-54d7b266] {
\
n padding: 20px 0;
\
n}
\
n.dialog-tips[data-v-54d7b266] {
\
n margin-bottom: 20px;
\
n border-top: 1px solid #eee;
\
n border-left: 1px solid #eee;
\
n}
\
n.dialog-tips .el-col[data-v-54d7b266] {
\
n border-bottom: 1px solid #eee;
\
n border-right: 1px solid #eee;
\
n padding: 10px;
\
n min-height: 40px;
\
n}
\
n.dialog-tips .el-col div[data-v-54d7b266] {
\
n overflow: hidden;
\
n text-overflow: ellipsis;
\
n white-space: nowrap;
\
n}
\
n.link[data-v-54d7b266] {
\
n color: blue;
\
n text-decoration: underline;
\
n cursor: pointer;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/watchCount/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,oBAAoB;EACpB,2BAA2B;EAC3B,4BAA4B;CAC7B;AACD;EACE,8BAA8B;EAC9B,6BAA6B;EAC7B,cAAc;EACd,iBAAiB;CAClB;AACD;EACE,iBAAiB;EACjB,wBAAwB;EACxB,oBAAoB;CACrB;AACD;EACE,YAAY;EACZ,2BAA2B;EAC3B,gBAAgB;CACjB"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-54d7b266] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-54d7b266] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-54d7b266] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-54d7b266] {
\
n float: right;
\
n}
\
n.text-c[data-v-54d7b266] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-54d7b266] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-54d7b266] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-54d7b266] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-54d7b266] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-54d7b266] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-54d7b266]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-54d7b266]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-54d7b266]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-54d7b266]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.index[data-v-54d7b266] {
\
n padding: 20px 0;
\
n}
\
n.dialog-tips[data-v-54d7b266] {
\
n margin-bottom: 20px;
\
n border-top: 1px solid #eee;
\
n border-left: 1px solid #eee;
\
n}
\
n.dialog-tips .el-col[data-v-54d7b266] {
\
n border-bottom: 1px solid #eee;
\
n border-right: 1px solid #eee;
\
n padding: 10px;
\
n min-height: 40px;
\
n}
\
n.dialog-tips .el-col div[data-v-54d7b266] {
\
n overflow: hidden;
\
n text-overflow: ellipsis;
\
n white-space: nowrap;
\
n}
\
n.link[data-v-54d7b266] {
\
n color: blue;
\
n text-decoration: underline;
\
n cursor: pointer;
\
n}
\
n'
],
sourceRoot
:
""
}])},
m8Sx
:
function
(
t
,
a
,
e
){
var
n
=
e
(
"ZTEx"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
e
(
"rjj0"
)(
"49ae8d12"
,
n
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/manifest.2ef6ca614d3805b926fe.js
0 → 100644
View file @
594fc5fa
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
r
,
t
){
for
(
var
b
,
o
,
d
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
o
=
f
[
i
],
c
[
o
]
&&
u
.
push
(
c
[
o
][
0
]),
c
[
o
]
=
0
;
for
(
b
in
r
)
Object
.
prototype
.
hasOwnProperty
.
call
(
r
,
b
)
&&
(
e
[
b
]
=
r
[
b
]);
for
(
a
&&
a
(
f
,
r
,
t
);
u
.
length
;)
u
.
shift
()();
if
(
t
)
for
(
i
=
0
;
i
<
t
.
length
;
i
++
)
d
=
n
(
n
.
s
=
t
[
i
]);
return
d
};
var
f
=
{},
c
=
{
42
:
0
};
function
n
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
n
),
c
.
l
=!
0
,
c
.
exports
}
n
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
n
){
a
=
c
[
e
]
=
[
f
,
n
]});
a
[
2
]
=
f
;
var
r
=
document
.
getElementsByTagName
(
"head"
)[
0
],
t
=
document
.
createElement
(
"script"
);
t
.
type
=
"text/javascript"
,
t
.
charset
=
"utf-8"
,
t
.
async
=!
0
,
t
.
timeout
=
12
e4
,
n
.
nc
&&
t
.
setAttribute
(
"nonce"
,
n
.
nc
),
t
.
src
=
n
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"744aaea0d881dac8f977"
,
1
:
"e2b5b2ebb89e21762470"
,
2
:
"a677720b190bea7c062a"
,
3
:
"409d577a86973f5aee1a"
,
4
:
"e86538a12ad5ee30fc36"
,
5
:
"6e91cd365146c8f670c2"
,
6
:
"bd52eabeaf8ccc85467f"
,
7
:
"6a8b34186bd41299a826"
,
8
:
"01c483ea97d70ee8ff9c"
,
9
:
"3d04eafb0e6809c2f232"
,
10
:
"ef1e5904c160d392cc6e"
,
11
:
"5b2bf27e1a56ef595c55"
,
12
:
"706535b34b7693c9ae5e"
,
13
:
"9bcfd93997d9cfec371f"
,
14
:
"96a11ebb1acb8966f71d"
,
15
:
"ae645f3a7539ca0b3116"
,
16
:
"98b63b96abd18279b18a"
,
17
:
"cfa54a5a6dc991650f2c"
,
18
:
"bb233ac9ed506b78b663"
,
19
:
"1fa15da2d176930709ba"
,
20
:
"9a59637e1e86d3e35237"
,
21
:
"fc0e65d4a05b76d12496"
,
22
:
"35ff258988414afc7ea5"
,
23
:
"33521ff079829fd5fc25"
,
24
:
"8f3371bf113c22f4394a"
,
25
:
"e6ac7bee5e42442b6361"
,
26
:
"0bc72bf5fb3543f5b3a4"
,
27
:
"3a3394001be24e9ab343"
,
28
:
"af4aa66f168054b72a8d"
,
29
:
"bf0acfca15a4611322b8"
,
30
:
"aa3bbca879cfd1fb4aff"
,
31
:
"147da1cfa755e463fb41"
,
32
:
"3b06e1d182857063c362"
,
33
:
"9643398d5ede39a9c44d"
,
34
:
"2fe54226c7b2bb03db21"
,
35
:
"9fa70099b272fee5b92d"
,
36
:
"d75322bfec6218e2e397"
,
37
:
"af63af060b15da4f4494"
,
38
:
"73f7473ff8ec616f5906"
,
39
:
"4bd91f2588ea1c06681f"
}[
e
]
+
".js"
;
var
b
=
setTimeout
(
o
,
12
e4
);
function
o
(){
t
.
onerror
=
t
.
onload
=
null
,
clearTimeout
(
b
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
t
.
onerror
=
t
.
onload
=
o
,
r
.
appendChild
(
t
),
f
},
n
.
m
=
e
,
n
.
c
=
f
,
n
.
d
=
function
(
e
,
a
,
f
){
n
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
n
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
a
,
"a"
,
a
),
a
},
n
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
n
.
p
=
"/"
,
n
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
594fc5fa
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
17b9bcb302ad2d9982ad1bbad458f46b.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.e3d4250494f73f92489d.js
></script><script
type=
text/javascript
src=
/static/js/vendor.f489b8c0b7b00edb0df1.js
></script><script
type=
text/javascript
src=
/static/js/app.3e3de3099b9aa4e3506c
.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_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
6b2a79d5ecee477bdfd86eb92cd0cc18.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.006bf235deaec3df5f77.js
></script><script
type=
text/javascript
src=
/static/js/vendor.f489b8c0b7b00edb0df1.js
></script><script
type=
text/javascript
src=
/static/js/app.a56f567e93046e257e55
.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.6b2a79d5ecee477bdfd86eb92cd0cc18.css
0 → 100644
View file @
594fc5fa
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/30.c7a2b0414d7b9cc45d1a.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
30
],{
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
.
_1
)(
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"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
admin_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"admin_id"
,
t
)},
expression
:
"searchFrom.admin_id"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"url"
,
t
)},
expression
:
"searchFrom.url"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"功能名"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"desc"
,
t
)},
expression
:
"searchFrom.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-form"
,{
staticClass
:
"demo-table-expand"
,
attrs
:{
"label-position"
:
"left"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求方法"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
method
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求链接"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
url
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
params
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"登陆名"
,
prop
:
"user_name"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户ID"
,
prop
:
"admin_id"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户名"
,
prop
:
"user_desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"功能名"
,
prop
:
"desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
e
){
a
(
"tAOO"
)},
"data-v-72d870fe"
,
null
);
t
.
default
=
i
.
exports
},
tAOO
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/31.f8a98fde852cdbd061ec.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
31
],{
EO0D
:
function
(
e
,
t
){},
NrkQ
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
o
(
"kmJW"
),
s
=
o
(
"sf/l"
),
r
=
o
(
"CCn6"
),
i
=
{
name
:
"index"
,
components
:{
page
:
a
.
a
},
data
:
function
(){
return
{
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
},
tableData
:[],
commentForm
:{},
showCommentDialog
:
!
1
}},
created
:
function
(){
this
.
initPage
()},
methods
:{
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
time
&&
(
t
.
time
=
this
.
searchFrom
.
time
),
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
t
.
date_start
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
),
t
.
date_end
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
Object
(
r
.
_2
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
initPage
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
initPage
()},
doExport
:
function
(){
var
e
=
"?type=export"
;
this
.
searchFrom
.
source
&&
(
e
=
e
+
"&source="
+
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
e
=
(
e
=
e
+
"&date_start="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
))
+
"&date_end="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
window
.
open
(
"/api/public/ads/export/all"
+
e
)},
saveComment
:
function
(){
var
e
=
this
,
t
=
this
.
commentForm
.
id
,
o
=
this
.
commentForm
.
desc
?
this
.
commentForm
.
desc
:
""
;
o
&&
Object
(
r
.
_62
)(
t
,{
desc
:
o
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
showCommentDialog
=!
1
,
e
.
initPage
()})},
editComment
:
function
(
e
,
t
){
this
.
showCommentDialog
=!
0
,
this
.
commentForm
=
{
id
:
e
,
desc
:
t
}}}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"index"
},[
o
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
lg
:
10
,
sm
:
24
,
md
:
24
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
o
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
o
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
,
size
:
"small"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
o
(
"el-form-item"
,[
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
o
(
"el-form-item"
,[
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝贝名称"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"telephone"
,
label
:
"手机号"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"添加时间"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-button"
,{
attrs
:{
type
:
"text"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
o
){
e
.
editComment
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"
\n
编辑备注
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
"编辑备注"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
showCommentDialog
,
"close-on-click-modal"
:
!
1
,
"close-on-press-escape"
:
!
1
,
"show-close"
:
!
1
,
width
:
"600px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showCommentDialog
=
t
}}},[
o
(
"div"
,[
o
(
"el-form"
,{
ref
:
"commentFrom"
,
attrs
:{
model
:
e
.
commentForm
}},[
o
(
"el-form-item"
,{
attrs
:{
prop
:
"desc"
}},[
o
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
commentForm
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
commentForm
,
"desc"
,
t
)},
expression
:
"commentForm.desc"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
showCommentDialog
=!
1
,
e
.
commentForm
=
{}}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveComment
}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
l
=
o
(
"VU/8"
)(
i
,
m
,
!
1
,
function
(
e
){
o
(
"EO0D"
)},
"data-v-4e41c733"
,
null
);
t
.
default
=
l
.
exports
}});
\ No newline at end of file
dist/static/js/32.619068488d2c565b1b6f.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
32
],{
EFea
:
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
:[],
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
.
_26
)().
then
(
function
(
t
){
t
&&
(
e
.
menuList
=
[],
e
.
plist
=
[],
t
.
forEach
(
function
(
t
){
e
.
menuList
.
push
(
t
),
e
.
plist
.
push
(
t
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
e
.
menuList
.
push
(
t
)})}))})},
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
.
D
)(
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
};
Object
(
i
.
_64
)(
o
.
form
.
id
,
a
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
o
.
show
=!
1
,
e
.
getList
()})}
else
{
var
l
=
{
name
:
o
.
form
.
name
,
cover
:
o
.
form
.
cover
,
pid
:
o
.
form
.
pid
};
Object
(
i
.
_56
)(
l
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
o
.
show
=!
1
,
e
.
getList
()})}}})}}},
l
=
{
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
s
=
o
(
"VU/8"
)(
a
,
l
,
!
1
,
function
(
e
){
o
(
"EFea"
)},
"data-v-40740e0e"
,
null
);
t
.
default
=
s
.
exports
}});
\ No newline at end of file
dist/static/js/33.0cbb1dbf9dd32ca74a9c.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
33
],{
iPJD
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
i
(
"CCn6"
),
l
=
{
name
:
"upload"
,
data
:
function
(){
return
{
fileList
:[]}},
methods
:{
uploadFileVideo1Banner
:
function
(
e
){
var
t
=
this
;
Object
(
n
.
_68
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
e
.
url
=
"https://cdn.singsingenglish.com/"
+
e
.
url
,
t
.
fileList
.
push
(
e
)})}}},
a
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,[
i
(
"el-upload"
,{
staticClass
:
"upload-demo"
,
attrs
:{
action
:
"/api/public/upload"
,
"http-request"
:
e
.
uploadFileVideo1Banner
,
"list-type"
:
"picture-card"
,
multiple
:
""
}}),
e
.
_v
(
" "
),
i
(
"pre"
,[
e
.
_v
(
" <p>
\n
"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
fileList
,
function
(
t
){
return
i
(
"pre"
,[
e
.
_v
(
' <img src="'
+
e
.
_s
(
t
.
url
)
+
'" style="display:block">
\
n '
)])}),
e
.
_v
(
" "
),
i
(
"pre"
,[
e
.
_v
(
" </p>
\n
"
)])],
2
)},
staticRenderFns
:[]};
var
r
=
i
(
"VU/8"
)(
l
,
a
,
!
1
,
function
(
e
){
i
(
"wi9J"
)},
"data-v-3a2ff3b1"
,
null
);
t
.
default
=
r
.
exports
},
wi9J
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/34.56f6b0345c9819d274ae.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
34
],{
s3qc
:
function
(
e
,
t
){},
"s7i+"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
s
=
{
name
:
"index"
,
data
:
function
(){
return
{
goodsList
:[],
headList
:[],
tableData
:[],
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_22
)({
limit
:
99999
}).
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
()};
Object
(
r
.
_53
)(
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
s
=
t
+
"-"
+
a
+
"-01"
,
n
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
s
,
n
]}}},
n
=
{
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
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
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
(
r
.
row
[
t
])
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
a
(
"s3qc"
)},
"data-v-2eff3588"
,
null
);
t
.
default
=
i
.
exports
}});
\ No newline at end of file
dist/static/js/36.f730b7fb9d5f47b81147.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
36
],{
"1Mg7"
:
function
(
e
,
t
){},
hLMI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
a
(
"sf/l"
),
i
=
a
(
"CCn6"
),
o
=
{
name
:
"index"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
return
{
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
},
tableData
:[]}},
created
:
function
(){
this
.
initPage
()},
methods
:{
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
time
&&
(
t
.
time
=
this
.
searchFrom
.
time
),
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
t
.
date_start
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
),
t
.
date_end
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
Object
(
i
.
_3
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
initPage
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
initPage
()},
doExport
:
function
(){
var
e
=
"?type=export"
;
this
.
searchFrom
.
source
&&
(
e
=
e
+
"&source="
+
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
e
=
(
e
=
e
+
"&date_start="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
))
+
"&date_end="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
window
.
open
(
"/api/public/ads/export/all"
+
e
)}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
lg
:
10
,
sm
:
24
,
md
:
24
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
,
size
:
"small"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝贝名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"添加时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"1Mg7"
)},
"data-v-258bae78"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/37.65d0ff76cad42cd6432a.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
37
],{
"+jTk"
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
o
(
"CCn6"
),
s
=
o
(
"+TkF"
),
i
=
o
(
"kmJW"
),
l
=
o
(
"NC6I"
),
r
=
o
.
n
(
l
),
n
=
{
name
:
"admin"
,
components
:{
page
:
i
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
adminList
:[],
searchFrom
:{
user_name
:
""
,
status
:
""
},
dialog
:{
dialogType
:
0
,
title
:
"新增账号"
,
show
:
!
1
,
select
:[{
code
:
0
,
value
:
s
.
a
[
0
]},{
code
:
1
,
value
:
s
.
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
s
.
a
[
e
]}},
created
:
function
(){
this
.
getList
(),
this
.
getRoleList
()},
methods
:{
getRoleList
:
function
(){
var
e
=
this
;
Object
(
a
.
_37
)({
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
),
Object
(
a
.
_0
)(
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
.
w
)(
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
};
Object
(
a
.
N
)(
t
.
form
.
id
,
o
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
show
=!
1
,
e
.
getList
()})}
else
if
(
0
===
t
.
dialogType
){
var
s
=
{
role_id
:
t
.
form
.
role_id
,
desc
:
t
.
form
.
desc
,
passwd
:
r
()(
t
.
form
.
password
),
username
:
t
.
form
.
username
};
Object
(
a
.
a
)(
s
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
t
.
show
=!
1
,
e
.
getList
()})}
else
if
(
2
===
t
.
dialogType
){
var
i
=
{
passwd_new
:
r
()(
t
.
form
.
password
)};
Object
(
a
.
W
)(
t
.
form
.
id
,
i
).
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"
},[
o
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
4
}},[
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
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
4
}},[
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
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
4
}},[
o
(
"el-form-item"
,[
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
4
,
offset
:
8
}},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增角色"
)])],
1
)],
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
:
"最后登陆时间"
}}),
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
(
"QH0x"
)},
"data-v-245b4734"
,
null
);
t
.
default
=
c
.
exports
},
QH0x
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/38.cadd10e92890360f5fab.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
38
],{
"5Ofx"
:
function
(
t
,
e
){},
Dq6T
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
l
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
watchTime
:[]},
dialogLoading
:
!
1
,
dialogVisible
:
!
1
,
tableData
:[],
dialog
:{
list
:[],
total
:
0
,
register
:
0
,
coursesList
:[],
course
:
0
,
time
:
""
,
name
:
""
,
codeList
:[],
inNum
:
0
},
tableHead
:{}}},
methods
:{
defaultTime
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getFullYear
(),
a
=
t
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
s
=
t
.
getDate
();
s
<
10
&&
(
s
=
"0"
+
s
);
var
l
=
e
+
"-"
+
a
+
"-01"
,
i
=
e
+
"-"
+
a
+
"-"
+
s
;
this
.
searchFrom
.
watchTime
=
[
l
,
i
]},
toDetail
:
function
(
t
,
e
,
a
){
var
l
=
this
;
this
.
dialogLoading
=!
0
,
this
.
dialogVisible
=!
0
;
var
i
=
{
cur_date
:
t
,
code
:
e
};
Object
(
s
.
_40
)(
i
).
then
(
function
(
s
){
l
.
dialog
.
name
=
l
.
tableHead
[
e
],
l
.
dialog
.
time
=
t
,
l
.
dialog
.
inNum
=
s
.
total
,
l
.
dialog
.
list
=
s
.
list
,
l
.
dialog
.
register
=
s
.
register
,
l
.
dialog
.
course
=
s
.
course
,
l
.
dialog
.
total
=
a
,
l
.
dialog
.
coursesList
=
s
.
courses
,
l
.
dialogLoading
=!
1
})},
getList
:
function
(){
var
t
=
this
,
e
=
{};
this
.
searchFrom
.
watchTime
&&
this
.
searchFrom
.
watchTime
.
length
>
0
&&
(
e
.
start_at
=
this
.
searchFrom
.
watchTime
[
0
],
e
.
end_at
=
this
.
searchFrom
.
watchTime
[
1
]),
Object
(
s
.
_46
)(
e
).
then
(
function
(
e
){
t
.
tableHead
=
e
[
0
],
t
.
tableData
=
e
.
slice
(
1
)})}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
getList
()}},
i
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"value-format"
:
"yyyy-MM-dd"
,
"end-placeholder"
:
"结束日期"
},
model
:{
value
:
t
.
searchFrom
.
watchTime
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"watchTime"
,
e
)},
expression
:
"searchFrom.watchTime"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
6
,
offset
:
6
}},[
a
(
"el-form-item"
,{
staticStyle
:{
float
:
"right"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
getList
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
border
:
""
}},
t
.
_l
(
t
.
tableHead
,
function
(
e
,
s
){
return
a
(
"el-table-column"
,{
key
:
e
,
attrs
:{
label
:
e
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
"cur_date"
!==
s
?
a
(
"div"
,{
staticClass
:
"link"
,
on
:{
click
:
function
(
a
){
t
.
toDetail
(
e
.
row
.
cur_date
,
s
,
e
.
row
[
s
])}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
[
s
])
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
"cur_date"
===
s
?
a
(
"span"
,[
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
[
s
]))]):
t
.
_e
()]}}])})})),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"详情"
,
visible
:
t
.
dialogVisible
,
width
:
"1200px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisible
=
e
}}},[
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
dialogLoading
,
expression
:
"dialogLoading"
}]},[
a
(
"el-row"
,{
staticClass
:
"dialog-tips"
},[
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
时间:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
time
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
状态:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
name
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
总数:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
total
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
进系统人数:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
inNum
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
注册数:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
register
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
t
.
_v
(
"
\n
有课人数:
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
dialog
.
course
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dialog
.
code
,
function
(
e
,
s
){
return
a
(
"div"
,{
key
:
s
},[
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
a
(
"div"
,{
attrs
:{
title
:
e
.
source_name
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
source_name
)
+
":
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
source_num
)
+
"
\n
"
)])],
1
)}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dialog
.
coursesList
,
function
(
e
,
s
){
return
a
(
"div"
,{
key
:
s
},[
a
(
"el-col"
,{
staticClass
:
"text-r"
,
attrs
:{
span
:
5
}},[
a
(
"div"
,{
attrs
:{
title
:
e
.
courses_name
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
courses_name
)
+
":
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
3
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
courses_num
)
+
"
\n
"
)])],
1
)})],
2
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
dialog
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"昵称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_id"
,
label
:
"老系统用户ID"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"课程名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"instructor"
,
label
:
"开课日期"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source_title"
,
label
:
"来源名称"
}})],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
l
,
i
,
!
1
,
function
(
t
){
a
(
"5Ofx"
)},
"data-v-1aefed89"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/app.a56f567e93046e257e55.js
0 → 100644
View file @
594fc5fa
webpackJsonp
([
41
],{
IcnI
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"7+uW"
),
a
=
t
(
"NYxO"
),
r
=
t
(
"zSLJ"
),
i
=
{
setToken
:
function
(
e
,
n
){
e
.
token
=
n
,
r
.
a
.
set
(
"cc_token"
,
n
)},
setUserName
:
function
(
e
,
n
){
e
.
userName
=
n
,
r
.
a
.
set
(
"cc_user_name"
,
n
)},
setPermission
:
function
(
e
,
n
){
e
.
progressList
=
n
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
n
))},
setMenu
:
function
(
e
,
n
){
e
.
menuList
=
n
},
readonly
:
function
(
e
,
n
){
e
.
readonly
=
n
},
deletePermission
:
function
(
e
,
n
){
e
.
deletePermission
=
n
},
mainCanShow
:
function
(
e
){
e
.
mainLoad
=!
1
},
mainUnShow
:
function
(
e
){
e
.
mainLoad
=!
0
},
changeParentRouter
:
function
(
e
,
n
){
e
.
menuList
.
find
(
function
(
e
){
return
e
.
name
===
n
.
name
}).
routerName
=
n
.
to
.
name
},
progress
:
function
(
e
,
n
){
switch
(
n
.
type
){
case
"new"
:
e
.
progressList
.
push
({
num
:
0
,
id
:
n
.
id
});
break
;
case
"change"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
}).
num
=
n
.
num
;
break
;
case
"delete"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
})}}};
o
.
default
.
use
(
a
.
a
);
n
.
a
=
new
a
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
orderRefund
:
!
1
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
i
,
actions
:{
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
)}}})},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
t
(
"7+uW"
),
a
=
[{
name
:
""
,
value
:
"教研管理"
,
icon
:
"icon-material"
,
list
:[{
value
:
"教材列表"
,
routerName
:
"resources"
,
path
:
"/resources"
,
cover
:
"1-1"
,
router
:{
path
:
"/resources"
,
name
:
"resources"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
2
)]).
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
(
5
)]).
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
(
21
)]).
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
(
16
)]).
then
(
function
(){
var
n
=
[
t
(
"ayGs"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"班级列表"
,
routerName
:
"class"
,
path
:
"/class"
,
cover
:
"2-3"
,
router
:{
path
:
"/class"
,
name
:
"class"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
11
)]).
then
(
function
(){
var
n
=
[
t
(
"OX9A"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
24
)]).
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
(
13
)]).
then
(
function
(){
var
n
=
[
t
(
"Y0Vi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
7
)]).
then
(
function
(){
var
n
=
[
t
(
"jFLA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"订单管理"
,
icon
:
"icon-dingdan"
,
list
:[{
value
:
"订单列表"
,
routerName
:
"order"
,
path
:
"/order"
,
cover
:
"5-1"
,
router
:{
path
:
"/order"
,
name
:
"order"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
4
)]).
then
(
function
(){
var
n
=
[
t
(
"2qmY"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
22
)]).
then
(
function
(){
var
n
=
[
t
(
"89rD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
18
)]).
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
(
35
).
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
(
34
)]).
then
(
function
(){
var
n
=
[
t
(
"s7i+"
)];
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
)}}}]},{
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
(
10
)]).
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
(
9
)]).
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
(
14
)]).
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
(
12
)]).
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
(
17
)]).
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
(
25
)]).
then
(
function
(){
var
n
=
[
t
(
"Xhqp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"Banner管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"7-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
27
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
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
(
8
)]).
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
(
20
)]).
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
(
38
)]).
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
(
39
)]).
then
(
function
(){
var
n
=
[
t
(
"5t3x"
)];
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
(
31
)]).
then
(
function
(){
var
n
=
[
t
(
"NrkQ"
)];
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
(
37
)]).
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
(
29
)]).
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
(
32
)]).
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
(
26
)]).
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
(
30
)]).
then
(
function
(){
var
n
=
[
t
(
"WZgi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]}],
r
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
n
=
this
.
$store
.
state
.
progressList
,
o
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
n
.
find
(
function
(
e
){
return
"5-1"
===
e
.
cover
});
r
&&
r
.
refund
&&
(
this
.
$store
.
state
.
orderRefund
=!
0
);
var
i
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
15
)]).
then
(
function
(){
var
n
=
[
t
(
"9PRC"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},
u
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
23
)]).
then
(
function
(){
var
n
=
[
t
(
"hFUZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}};
a
.
forEach
(
function
(
t
){
var
a
=!
1
,
r
=
[];
t
.
list
.
forEach
(
function
(
t
){
var
o
=
n
.
find
(
function
(
e
){
return
e
.
cover
===
t
.
cover
});
o
&&
(
t
.
router
.
meta
=
{},
t
.
router
.
meta
.
readonly
=
o
.
readonly
,
t
.
router
.
meta
.
delete
=!!
o
.
delete
,
r
.
push
(
t
),
"3-1"
===
o
.
cover
&&
(
u
.
meta
=
{},
u
.
meta
.
readonly
=
o
.
readonly
,
u
.
meta
.
delete
=!!
o
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
u
)),
"3-2"
===
o
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
o
.
readonly
,
i
.
meta
.
delete
=!!
o
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
t
.
router
),
a
=!
0
)}),
a
&&
(
t
.
list
=
r
,
o
.
push
(
t
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
o
)}}},
i
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
u
=
t
(
"VU/8"
)(
r
,
i
,
!
1
,
function
(
e
){
t
(
"mx6z"
)},
null
,
null
).
exports
,
c
=
t
(
"YaEn"
),
s
=
t
(
"zL8q"
),
l
=
t
.
n
(
s
),
p
=
(
t
(
"tvR6"
),
t
(
"IcnI"
));
o
.
default
.
use
(
l
.
a
),
o
.
default
.
config
.
productionTip
=!
1
,
new
o
.
default
({
el
:
"#app"
,
store
:
p
.
a
,
router
:
c
.
a
,
components
:{
App
:
u
},
template
:
"<App/>"
})},
YaEn
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"7+uW"
),
a
=
t
(
"IcnI"
),
r
=
t
(
"/ocq"
),
i
=
t
(
"zSLJ"
);
o
.
default
.
use
(
r
.
a
);
var
u
=
new
r
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
6
)]).
then
(
function
(){
var
n
=
[
t
(
"jHcp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
t
.
e
(
3
).
then
(
function
(){
var
n
=
[
t
(
"sJm1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
19
)]).
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
(
36
)]).
then
(
function
(){
var
n
=
[
t
(
"hLMI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/preview/:id"
,
name
:
"preview"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
1
),
t
.
e
(
0
)]).
then
(
function
(){
var
n
=
[
t
(
"pjYA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
33
)]).
then
(
function
(){
var
n
=
[
t
(
"iPJD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
u
.
beforeEach
(
function
(
e
,
n
,
t
){
if
(
a
.
a
.
commit
(
"mainCanShow"
),
i
.
a
.
get
(
"cc_token"
)
&&
(
a
.
a
.
dispatch
(
"setToken"
,
i
.
a
.
get
(
"cc_token"
)),
a
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
i
.
a
.
get
(
"cc_user_name"
)
&&
a
.
a
.
dispatch
(
"setUserName"
,
i
.
a
.
get
(
"cc_user_name"
))),
a
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
o
=
void
0
,
r
=
0
;
r
<
a
.
a
.
state
.
menuList
.
length
;
r
++
)
for
(
var
u
=
a
.
a
.
state
.
menuList
[
r
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
s
=
u
.
list
[
c
];
s
.
path
===
e
.
path
&&
(
o
=
s
)}
a
.
a
.
state
.
openedTab
.
indexOf
(
o
)
<
0
&&
a
.
a
.
state
.
openedTab
.
push
(
o
)}
if
(
e
.
meta
.
readonly
?
a
.
a
.
dispatch
(
"readonly"
,
!
0
):
a
.
a
.
dispatch
(
"readonly"
,
!
1
),
"userDetail"
===
e
.
name
){
var
l
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
a
.
a
.
dispatch
(
"readonly"
,
l
)}
e
.
meta
.
delete
?
a
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
a
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
a
.
a
.
state
.
token
?
t
({
path
:
"/login"
}):
t
()}),
u
.
onError
(
function
(
e
){
var
n
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
t
=
u
.
history
.
pending
.
fullPath
;
n
&&
u
.
replace
(
t
)}),
n
.
a
=
u
},
mx6z
:
function
(
e
,
n
){},
tvR6
:
function
(
e
,
n
){},
zSLJ
:
function
(
e
,
n
,
t
){
"use strict"
;
n
.
a
=
{
set
:
function
(
e
,
n
,
t
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
t
),
window
.
document
.
cookie
=
e
+
"="
+
n
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
n
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
n
?
n
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.006bf235deaec3df5f77.js
0 → 100644
View file @
594fc5fa
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
n
,
r
){
for
(
var
t
,
b
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
b
=
f
[
i
],
a
[
b
]
&&
u
.
push
(
a
[
b
][
0
]),
a
[
b
]
=
0
;
for
(
t
in
n
)
Object
.
prototype
.
hasOwnProperty
.
call
(
n
,
t
)
&&
(
e
[
t
]
=
n
[
t
]);
for
(
c
&&
c
(
f
,
n
,
r
);
u
.
length
;)
u
.
shift
()();
if
(
r
)
for
(
i
=
0
;
i
<
r
.
length
;
i
++
)
o
=
d
(
d
.
s
=
r
[
i
]);
return
o
};
var
f
=
{},
a
=
{
42
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
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
:
"3332f77cb86169b027f8"
,
1
:
"cc2c77cdc7db3530f993"
,
2
:
"b0aa1ef5ea5372c3f13f"
,
3
:
"63075c7c52718885f9ce"
,
4
:
"9757b05bd4e171fe52f8"
,
5
:
"24477102a92354f07399"
,
6
:
"377ee6b64202fda06b5d"
,
7
:
"c32173d04a616c95819b"
,
8
:
"4edc58d24721a6976fe9"
,
9
:
"58ad2349ac7957ed3ed2"
,
10
:
"36eecaea74a3ed94270e"
,
11
:
"3f731e83ad1f743cfbc5"
,
12
:
"d3fb1284bf96f363c967"
,
13
:
"e3fd04661357a7b3485f"
,
14
:
"5c424d5858cb5ed6d9b4"
,
15
:
"746adb3a6b7793be5e31"
,
16
:
"fc172dbcd2ddfa8375e6"
,
17
:
"ef2a2a193fc6dbb2ab16"
,
18
:
"9c6d6f712e2e21f171ef"
,
19
:
"0763ae667157fec51ffe"
,
20
:
"52416c0196b7a3245e80"
,
21
:
"62f4e3670b27a5eed261"
,
22
:
"638966fb740ceaffc87a"
,
23
:
"dc5aac75c193184e3b66"
,
24
:
"53b601da262df0ebbee8"
,
25
:
"38676dfde9069bd70ca5"
,
26
:
"f1f9bb2b8113b042cd6b"
,
27
:
"81d25715a37dfe091e24"
,
28
:
"bfa0a1dc12cc4b209630"
,
29
:
"887236f42c8a1cbb6ddd"
,
30
:
"c7a2b0414d7b9cc45d1a"
,
31
:
"f8a98fde852cdbd061ec"
,
32
:
"619068488d2c565b1b6f"
,
33
:
"0cbb1dbf9dd32ca74a9c"
,
34
:
"56f6b0345c9819d274ae"
,
35
:
"bf872ca3be6b9c40f0cc"
,
36
:
"f730b7fb9d5f47b81147"
,
37
:
"65d0ff76cad42cd6432a"
,
38
:
"cadd10e92890360f5fab"
,
39
:
"8324d6edf40b8d680f37"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
b
,
12
e4
);
function
b
(){
r
.
onerror
=
r
.
onload
=
null
,
clearTimeout
(
t
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
r
.
onerror
=
r
.
onload
=
b
,
n
.
appendChild
(
r
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
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/watchCount/index.vue
View file @
594fc5fa
...
...
@@ -43,58 +43,61 @@
width=
"1200px"
>
<div
v-loading=
"dialogLoading"
>
<el-row
class=
"dialog-tips"
>
<el-col
:span=
"
3
"
class=
"text-r"
>
<el-col
:span=
"
5
"
class=
"text-r"
>
时间:
</el-col>
<el-col
:span=
"
5
"
class=
""
>
<el-col
:span=
"
3
"
class=
""
>
{{dialog.time}}
</el-col>
<el-col
:span=
"
3
"
class=
"text-r"
>
<el-col
:span=
"
5
"
class=
"text-r"
>
状态:
</el-col>
<el-col
:span=
"
5
"
class=
""
>
<el-col
:span=
"
3
"
class=
""
>
{{dialog.name}}
</el-col>
<el-col
:span=
"
3
"
class=
"text-r"
>
<el-col
:span=
"
5
"
class=
"text-r"
>
总数:
</el-col>
<el-col
:span=
"
5
"
class=
""
>
<el-col
:span=
"
3
"
class=
""
>
{{dialog.total}}
</el-col>
<el-col
:span=
"3"
class=
"text-r"
>
<el-col
:span=
"5"
class=
"text-r"
>
进系统人数:
</el-col>
<el-col
:span=
"3"
class=
""
>
{{dialog.inNum}}
</el-col>
<el-col
:span=
"5"
class=
"text-r"
>
注册数:
</el-col>
<el-col
:span=
"
5
"
class=
""
>
<el-col
:span=
"
3
"
class=
""
>
{{dialog.register}}
</el-col>
<el-col
:span=
"
3
"
class=
"text-r"
>
<el-col
:span=
"
5
"
class=
"text-r"
>
有课人数:
</el-col>
<el-col
:span=
"
5
"
class=
""
>
<el-col
:span=
"
3
"
class=
""
>
{{dialog.course}}
</el-col>
<div
v-for=
"(data,index) in dialog.code"
:key=
"index"
>
<el-col
:span=
"3"
class=
"text-r"
>
来源(人数):
</el-col>
<el-col
:span=
"5"
class=
""
>
<div
:title=
"`${data.source_name}(${data.source_num})`"
>
{{data.source_name}}
({{data.source_num}})
<el-col
:span=
"5"
class=
"text-r"
>
<div
:title=
"data.source_name"
>
{{data.source_name}}:
</div>
</el-col>
<el-col
:span=
"3"
class=
""
>
{{data.source_num}}
</el-col>
</div>
<div
v-for=
"(data,index) in dialog.coursesList"
:key=
"index"
>
<el-col
:span=
"3"
class=
"text-r"
>
课程(人数):
</el-col>
<el-col
:span=
"5"
class=
""
>
<div
:title=
"`${data.courses_name}(${data.courses_num})`"
>
{{data.courses_name}}
({{data.courses_num}})
<el-col
:span=
"5"
class=
"text-r"
>
<div
:title=
"data.courses_name"
>
{{data.courses_name}}:
</div>
</el-col>
<el-col
:span=
"3"
class=
""
>
{{data.courses_num}}
</el-col>
</div>
</el-row>
<el-table
...
...
@@ -108,16 +111,16 @@
prop=
"user_id"
label=
"老系统用户ID"
>
</el-table-column>
<el-table-column
prop=
"instructor"
label=
"开课日期"
>
</el-table-column>
<el-table-column
prop=
"title"
label=
"课程名称"
>
</el-table-column>
<el-table-column
prop=
"code"
prop=
"instructor"
label=
"开课日期"
>
</el-table-column>
<el-table-column
prop=
"source_title"
label=
"来源名称"
>
</el-table-column>
</el-table>
...
...
@@ -147,7 +150,8 @@
course
:
0
,
time
:
''
,
name
:
''
,
codeList
:[]
codeList
:[],
inNum
:
0
},
tableHead
:{}
}
...
...
@@ -176,10 +180,10 @@
getStatisticsDetailApi
(
json
).
then
(
res
=>
{
this
.
dialog
.
name
=
this
.
tableHead
[
b
];
this
.
dialog
.
time
=
data
;
this
.
dialog
.
inNum
=
res
.
total
;
this
.
dialog
.
list
=
res
.
list
;
this
.
dialog
.
register
=
res
.
register
;
this
.
dialog
.
course
=
res
.
course
;
this
.
dialog
.
code
=
res
.
source
;
this
.
dialog
.
total
=
c
;
this
.
dialog
.
coursesList
=
res
.
courses
;
this
.
dialogLoading
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment