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
84feb7b2
Commit
84feb7b2
authored
Jul 15, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
715
parent
3f11e567
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
32 additions
and
8 deletions
+32
-8
index.html
dev/index.html
+1
-1
50.6c00c15f71a51de285a7.js
dev/static/js/50.6c00c15f71a51de285a7.js
+1
-0
52.b4139d7fb2ab0ea06e30.js
dev/static/js/52.b4139d7fb2ab0ea06e30.js
+1
-0
manifest.3254d6fe93055f3590e0.js
dev/static/js/manifest.3254d6fe93055f3590e0.js
+1
-0
index.html
dist/index.html
+1
-1
app.bf2e6746389d4266f8302abc4b4defac.css
dist/static/css/app.bf2e6746389d4266f8302abc4b4defac.css
+1
-0
46.6ee514487978a436a601.js
dist/static/js/46.6ee514487978a436a601.js
+1
-0
50.7d26e087a50c5583f136.js
dist/static/js/50.7d26e087a50c5583f136.js
+1
-0
51.115798ae44b3d67cae4d.js
dist/static/js/51.115798ae44b3d67cae4d.js
+1
-0
52.0d1ff7141203f7a226a6.js
dist/static/js/52.0d1ff7141203f7a226a6.js
+1
-0
53.ddfd301eceb159fc3949.js
dist/static/js/53.ddfd301eceb159fc3949.js
+1
-0
54.606b8dcce6afdc2c8a2a.js
dist/static/js/54.606b8dcce6afdc2c8a2a.js
+1
-0
55.2f613c0244b9db5d641c.js
dist/static/js/55.2f613c0244b9db5d641c.js
+1
-0
56.7fd765a9d3c3560f06ec.js
dist/static/js/56.7fd765a9d3c3560f06ec.js
+1
-0
app.dc5af962deb65d80a0ad.js
dist/static/js/app.dc5af962deb65d80a0ad.js
+1
-0
manifest.24c98417382aa6745ad8.js
dist/static/js/manifest.24c98417382aa6745ad8.js
+1
-0
index.vue
src/components/login/index.vue
+5
-2
index.vue
src/components/register/index.vue
+11
-4
No files found.
dev/index.html
View file @
84feb7b2
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.3
4d6fa07e2f4949669ca
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.a8f02460e99f2b68b806.js
></script><script
type=
text/javascript
src=
/static/js/app.34d8ca2dfad5ff779e72.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.3
254d6fe93055f3590e0
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.a8f02460e99f2b68b806.js
></script><script
type=
text/javascript
src=
/static/js/app.34d8ca2dfad5ff779e72.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/50.6c00c15f71a51de285a7.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
50
],{
"90Fj"
:
function
(
n
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
t
=
a
(
"CCn6"
),
i
=
a
(
"NC6I"
),
o
=
a
.
n
(
i
),
r
=
{
data
:
function
(){
return
{
login
:{
username
:
""
,
password
:
""
},
loginRules
:{
username
:[{
required
:
!
0
,
message
:
"请输入您的用户名"
,
trigger
:
"blur"
}],
password
:[{
required
:
!
0
,
message
:
"请输入您的密码"
,
trigger
:
"blur"
}]},
texT
:
"获取验证码"
,
disable
:
!
1
}},
mounted
:
function
(){
var
n
=
this
;
document
.
onkeydown
=
function
(
e
){
var
a
=
e
||
window
.
event
;
if
(
13
===
(
a
.
keyCode
||
a
.
which
||
a
.
charCode
)
&&
"login"
===
n
.
$route
.
name
)
return
n
.
submitForm
(),
!
1
;
return
!
0
}},
methods
:{
getCode
:
function
(){
var
n
=
this
;
if
(
this
.
login
.
take_class_mobile
){
this
.
disable
=!
0
;
var
e
=
10
;
Object
(
t
.
_134
)({
mobile
:
this
.
login
.
take_class_mobile
}).
then
(
function
(
a
){
n
.
texT
=
"10s"
;
var
t
=
setInterval
(
function
(){
e
--
,
n
.
texT
=
e
+
"s"
},
1
e3
);
setTimeout
(
function
(){
n
.
disable
=!
1
,
clearInterval
(
t
),
n
.
texT
=
"获取验证码"
},
1
e4
)})}
else
this
.
$message
(
"请填写手机号"
)},
submitForm
:
function
(){
var
n
=
this
;
this
.
$refs
.
loginForm
.
validate
(
function
(
e
){
if
(
e
){
var
a
=
{
username
:
n
.
login
.
username
,
password
:
o
()(
n
.
login
.
password
),
take_class_mobile
:
n
.
login
.
take_class_mobile
,
id_number
:
n
.
login
.
id_number
,
verify_code
:
n
.
login
.
verify_code
};
Object
(
t
.
_137
)(
a
).
then
(
function
(
e
){
if
(
e
.
teacher_info
){
var
a
=
JSON
.
stringify
(
e
.
teacher_info
);
localStorage
.
setItem
(
"phoneNum"
,
a
)}
else
localStorage
.
setItem
(
"phoneNum"
,
""
);
n
.
$store
.
dispatch
(
"setToken"
,
e
.
token
),
n
.
$store
.
dispatch
(
"setUserName"
,
e
.
desc
),
n
.
$store
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
e
.
roles
.
menu_ids
)),
window
.
location
.
href
=
"/"
})}})}}},
A
=
function
(){
var
n
=
this
,
e
=
n
.
$createElement
,
a
=
n
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"login"
},[
a
(
"div"
,{
staticClass
:
"wrap-main"
},[
a
(
"h1"
,{
staticClass
:
"title"
},[
n
.
_v
(
"班主任注册"
)]),
n
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"loginForm"
,
attrs
:{
model
:
n
.
login
,
rules
:
n
.
loginRules
}},[
a
(
"el-form-item"
,{
attrs
:{
prop
:
"take_class_mobile"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"带班手机号"
},
model
:{
value
:
n
.
login
.
take_class_mobile
,
callback
:
function
(
e
){
n
.
$set
(
n
.
login
,
"take_class_mobile"
,
e
)},
expression
:
"login.take_class_mobile"
}})],
1
),
n
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
prop
:
"username"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"姓名"
},
model
:{
value
:
n
.
login
.
username
,
callback
:
function
(
e
){
n
.
$set
(
n
.
login
,
"username"
,
e
)},
expression
:
"login.username"
}})],
1
),
n
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
prop
:
"password"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"password"
,
placeholder
:
"密码"
},
model
:{
value
:
n
.
login
.
password
,
callback
:
function
(
e
){
n
.
$set
(
n
.
login
,
"password"
,
e
)},
expression
:
"login.password"
}})],
1
),
n
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
prop
:
"id_number"
}},[
a
(
"el-input"
,{
attrs
:{
maxlength
:
"18"
,
placeholder
:
"身份证号"
},
model
:{
value
:
n
.
login
.
id_number
,
callback
:
function
(
e
){
n
.
$set
(
n
.
login
,
"id_number"
,
e
)},
expression
:
"login.id_number"
}})],
1
),
n
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
prop
:
"verify_code"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"验证码"
},
model
:{
value
:
n
.
login
.
verify_code
,
callback
:
function
(
e
){
n
.
$set
(
n
.
login
,
"verify_code"
,
e
)},
expression
:
"login.verify_code"
}})],
1
),
n
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticClass
:
"btn"
,
attrs
:{
size
:
"medium"
,
type
:
"success"
},
on
:{
click
:
n
.
submitForm
}},[
n
.
_v
(
"注册"
)]),
n
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"btn code"
,
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
size
:
"medium"
,
type
:
"primary"
,
disabled
:
n
.
disable
,
plain
:
""
},
on
:{
click
:
n
.
getCode
}},[
n
.
_v
(
n
.
_s
(
n
.
texT
))])],
1
)],
1
)],
1
)])};
A
.
_withStripped
=!
0
;
var
l
=
{
render
:
A
,
staticRenderFns
:[]},
s
=
l
;
var
c
=!
1
;
var
d
=
a
(
"VU/8"
)(
r
,
s
,
!
1
,
function
(
n
){
c
||
a
(
"Nh+3"
)},
"data-v-933a7c6e"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
register
\\
index.vue"
;
e
.
default
=
d
.
exports
},
"Nh+3"
:
function
(
n
,
e
,
a
){
var
t
=
a
(
"UrIE"
);
"string"
==
typeof
t
&&
(
t
=
[[
n
.
i
,
t
,
""
]]),
t
.
locals
&&
(
n
.
exports
=
t
.
locals
);
a
(
"rjj0"
)(
"a5944118"
,
t
,
!
1
,{})},
UrIE
:
function
(
n
,
e
,
a
){(
n
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
n
.
i
,
'
\
n.search-btn-block[data-v-933a7c6e] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-933a7c6e] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-933a7c6e] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-933a7c6e] {
\
n float: right;
\
n}
\
n.text-c[data-v-933a7c6e] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-933a7c6e] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-933a7c6e] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-933a7c6e] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-933a7c6e] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-933a7c6e] {
\
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-933a7c6e]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-933a7c6e]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-933a7c6e]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-933a7c6e]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.el-button + .el-button[data-v-933a7c6e] {
\
n margin-left: 0;
\
n}
\
n.login[data-v-933a7c6e] {
\
n height: 100%;
\
n background: -webkit-gradient(linear, left top, right bottom, from(#ecec7c), to(#787af4));
\
n background: linear-gradient(to bottom right, #ecec7c, #787af4);
\
n /* 标准的语法(必须放在最后) */
\
n}
\
n.wrap-main[data-v-933a7c6e] {
\
n width: 300px;
\
n height: 380px;
\
n padding: 50px 40px;
\
n border-radius: 5px;
\
n -webkit-box-shadow: 8px 8px 15px rgba(49, 49, 49, 0.5);
\
n box-shadow: 8px 8px 15px rgba(49, 49, 49, 0.5);
\
n position: fixed;
\
n line-height: 50px;
\
n background-color: rgba(255, 255, 255, 0.3);
\
n top: 40%;
\
n left: 50%;
\
n margin-left: -200px;
\
n margin-top: -200px;
\
n}
\
n.wrap-main .btn[data-v-933a7c6e] {
\
n display: block;
\
n width: 100%;
\
n}
\
n.wrap-main .title[data-v-933a7c6e] {
\
n position: absolute;
\
n top: -100px;
\
n width: 100%;
\
n text-align: center;
\
n left: 0;
\
n color: white;
\
n font-size: 26px;
\
n text-shadow: 6px 6px 3px rgba(49, 49, 49, 0.5);
\
n}
\
n.wrap-main .code[data-v-933a7c6e] {
\
n position: absolute;
\
n top: -80px;
\
n width: 120px;
\
n right: 1px;
\
n text-align: center;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/register/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,eAAe;CAChB;AACD;EACE,aAAa;EACb,yFAAyF;EACzF,+DAA+D;EAC/D,mBAAmB;CACpB;AACD;EACE,aAAa;EACb,cAAc;EACd,mBAAmB;EACnB,mBAAmB;EACnB,uDAAuD;UAC/C,+CAA+C;EACvD,gBAAgB;EAChB,kBAAkB;EAClB,2CAA2C;EAC3C,SAAS;EACT,UAAU;EACV,oBAAoB;EACpB,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,YAAY;CACb;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,YAAY;EACZ,mBAAmB;EACnB,QAAQ;EACR,aAAa;EACb,gBAAgB;EAChB,+CAA+C;CAChD;AACD;EACE,mBAAmB;EACnB,WAAW;EACX,aAAa;EACb,WAAW;EACX,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-933a7c6e] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-933a7c6e] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-933a7c6e] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-933a7c6e] {
\
n float: right;
\
n}
\
n.text-c[data-v-933a7c6e] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-933a7c6e] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-933a7c6e] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-933a7c6e] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-933a7c6e] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-933a7c6e] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-933a7c6e]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-933a7c6e]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-933a7c6e]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-933a7c6e]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.el-button + .el-button[data-v-933a7c6e] {
\
n margin-left: 0;
\
n}
\
n.login[data-v-933a7c6e] {
\
n height: 100%;
\
n background: -webkit-gradient(linear, left top, right bottom, from(#ecec7c), to(#787af4));
\
n background: linear-gradient(to bottom right, #ecec7c, #787af4);
\
n /* 标准的语法(必须放在最后) */
\
n}
\
n.wrap-main[data-v-933a7c6e] {
\
n width: 300px;
\
n height: 380px;
\
n padding: 50px 40px;
\
n border-radius: 5px;
\
n -webkit-box-shadow: 8px 8px 15px rgba(49, 49, 49, 0.5);
\
n box-shadow: 8px 8px 15px rgba(49, 49, 49, 0.5);
\
n position: fixed;
\
n line-height: 50px;
\
n background-color: rgba(255, 255, 255, 0.3);
\
n top: 40%;
\
n left: 50%;
\
n margin-left: -200px;
\
n margin-top: -200px;
\
n}
\
n.wrap-main .btn[data-v-933a7c6e] {
\
n display: block;
\
n width: 100%;
\
n}
\
n.wrap-main .title[data-v-933a7c6e] {
\
n position: absolute;
\
n top: -100px;
\
n width: 100%;
\
n text-align: center;
\
n left: 0;
\
n color: white;
\
n font-size: 26px;
\
n text-shadow: 6px 6px 3px rgba(49, 49, 49, 0.5);
\
n}
\
n.wrap-main .code[data-v-933a7c6e] {
\
n position: absolute;
\
n top: -80px;
\
n width: 120px;
\
n right: 1px;
\
n text-align: center;
\
n}
\
n'
],
sourceRoot
:
""
}])}});
\ No newline at end of file
dev/static/js/52.b4139d7fb2ab0ea06e30.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
52
],{
"0HId"
:
function
(
n
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
e
=
a
(
"CCn6"
),
r
=
a
(
"NC6I"
),
i
=
a
.
n
(
r
),
o
=
{
data
:
function
(){
return
{
login
:{
username
:
""
,
password
:
""
},
loginRules
:{
username
:[{
required
:
!
0
,
message
:
"请输入您的用户名"
,
trigger
:
"blur"
}],
password
:[{
required
:
!
0
,
message
:
"请输入您的密码"
,
trigger
:
"blur"
}]}}},
mounted
:
function
(){
var
n
=
this
;
document
.
onkeydown
=
function
(
t
){
var
a
=
t
||
window
.
event
;
if
(
13
===
(
a
.
keyCode
||
a
.
which
||
a
.
charCode
)
&&
"login"
===
n
.
$route
.
name
)
return
n
.
submitForm
(),
!
1
;
return
!
0
}},
methods
:{
submitForm
:
function
(){
var
n
=
this
;
this
.
$refs
.
loginForm
.
validate
(
function
(
t
){
if
(
t
){
var
a
=
{
username
:
n
.
login
.
username
,
password
:
i
()(
n
.
login
.
password
)};
Object
(
e
.
_125
)(
a
).
then
(
function
(
t
){
if
(
t
.
teacher_info
){
var
a
=
JSON
.
stringify
(
t
.
teacher_info
);
localStorage
.
setItem
(
"phoneNum"
,
a
)}
else
localStorage
.
setItem
(
"phoneNum"
,
""
);
n
.
$store
.
dispatch
(
"setToken"
,
t
.
token
),
n
.
$store
.
dispatch
(
"setUserName"
,
t
.
desc
),
n
.
$store
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
t
.
roles
.
menu_ids
)),
window
.
location
.
href
=
"/"
})}})},
goRegister
:
function
(){
this
.
$router
.
push
({
name
:
"register"
})}}},
A
=
function
(){
var
n
=
this
,
t
=
n
.
$createElement
,
a
=
n
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"login"
},[
a
(
"div"
,{
staticClass
:
"wrap-main"
},[
a
(
"h1"
,{
staticClass
:
"title"
},[
n
.
_v
(
"唱唱启蒙——后台管理系统"
)]),
n
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"loginForm"
,
attrs
:{
model
:
n
.
login
,
rules
:
n
.
loginRules
}},[
a
(
"el-form-item"
,{
attrs
:{
prop
:
"username"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"用户名"
},
model
:{
value
:
n
.
login
.
username
,
callback
:
function
(
t
){
n
.
$set
(
n
.
login
,
"username"
,
t
)},
expression
:
"login.username"
}})],
1
),
n
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
prop
:
"password"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"password"
,
placeholder
:
"密码"
},
model
:{
value
:
n
.
login
.
password
,
callback
:
function
(
t
){
n
.
$set
(
n
.
login
,
"password"
,
t
)},
expression
:
"login.password"
}})],
1
),
n
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticClass
:
"btn"
,
attrs
:{
size
:
"medium"
,
type
:
"primary"
},
on
:{
click
:
n
.
submitForm
}},[
n
.
_v
(
"登陆"
)]),
n
.
_v
(
" "
),
a
(
"router-link"
,{
staticClass
:
"fr"
,
attrs
:{
to
:{
name
:
"register"
}}},[
n
.
_v
(
"
\n
班主任注册入口
\n
"
)])],
1
)],
1
)],
1
)])};
A
.
_withStripped
=!
0
;
var
s
=
{
render
:
A
,
staticRenderFns
:[]},
l
=
s
;
var
f
=!
1
;
var
d
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
n
){
f
||
a
(
"106c"
)},
"data-v-72680f5f"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
login
\\
index.vue"
;
t
.
default
=
d
.
exports
},
"106c"
:
function
(
n
,
t
,
a
){
var
e
=
a
(
"Smwe"
);
"string"
==
typeof
e
&&
(
e
=
[[
n
.
i
,
e
,
""
]]),
e
.
locals
&&
(
n
.
exports
=
e
.
locals
);
a
(
"rjj0"
)(
"3f8a32d6"
,
e
,
!
1
,{})},
Smwe
:
function
(
n
,
t
,
a
){(
n
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
n
.
i
,
'
\
n.search-btn-block[data-v-72680f5f] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-72680f5f] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-72680f5f] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-72680f5f] {
\
n float: right;
\
n}
\
n.text-c[data-v-72680f5f] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-72680f5f] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-72680f5f] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-72680f5f] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-72680f5f] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-72680f5f] {
\
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-72680f5f]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-72680f5f]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-72680f5f]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-72680f5f]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.login[data-v-72680f5f] {
\
n height: 100%;
\
n background: -webkit-gradient(linear, left top, right bottom, from(#ecec7c), to(#787af4));
\
n background: linear-gradient(to bottom right, #ecec7c, #787af4);
\
n /* 标准的语法(必须放在最后) */
\
n}
\
n.wrap-main[data-v-72680f5f] {
\
n width: 300px;
\
n height: 180px;
\
n padding: 50px 20px;
\
n border-radius: 5px;
\
n -webkit-box-shadow: 8px 8px 15px rgba(49, 49, 49, 0.5);
\
n box-shadow: 8px 8px 15px rgba(49, 49, 49, 0.5);
\
n position: fixed;
\
n line-height: 50px;
\
n background-color: rgba(255, 255, 255, 0.3);
\
n top: 50%;
\
n left: 50%;
\
n margin-left: -200px;
\
n margin-top: -200px;
\
n}
\
n.wrap-main .btn[data-v-72680f5f] {
\
n display: block;
\
n width: 100%;
\
n}
\
n.wrap-main .title[data-v-72680f5f] {
\
n position: absolute;
\
n top: -100px;
\
n width: 100%;
\
n text-align: center;
\
n left: 0;
\
n color: white;
\
n font-size: 26px;
\
n text-shadow: 6px 6px 3px rgba(49, 49, 49, 0.5);
\
n}
\
n.wrap-main .fr[data-v-72680f5f] {
\
n float: right;
\
n margin-top: 10px;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/login/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,aAAa;EACb,yFAAyF;EACzF,+DAA+D;EAC/D,mBAAmB;CACpB;AACD;EACE,aAAa;EACb,cAAc;EACd,mBAAmB;EACnB,mBAAmB;EACnB,uDAAuD;UAC/C,+CAA+C;EACvD,gBAAgB;EAChB,kBAAkB;EAClB,2CAA2C;EAC3C,SAAS;EACT,UAAU;EACV,oBAAoB;EACpB,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,YAAY;CACb;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,YAAY;EACZ,mBAAmB;EACnB,QAAQ;EACR,aAAa;EACb,gBAAgB;EAChB,+CAA+C;CAChD;AACD;EACE,aAAa;EACb,iBAAiB;CAClB"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-72680f5f] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-72680f5f] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-72680f5f] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-72680f5f] {
\
n float: right;
\
n}
\
n.text-c[data-v-72680f5f] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-72680f5f] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-72680f5f] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-72680f5f] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-72680f5f] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-72680f5f] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-72680f5f]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-72680f5f]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-72680f5f]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-72680f5f]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.login[data-v-72680f5f] {
\
n height: 100%;
\
n background: -webkit-gradient(linear, left top, right bottom, from(#ecec7c), to(#787af4));
\
n background: linear-gradient(to bottom right, #ecec7c, #787af4);
\
n /* 标准的语法(必须放在最后) */
\
n}
\
n.wrap-main[data-v-72680f5f] {
\
n width: 300px;
\
n height: 180px;
\
n padding: 50px 20px;
\
n border-radius: 5px;
\
n -webkit-box-shadow: 8px 8px 15px rgba(49, 49, 49, 0.5);
\
n box-shadow: 8px 8px 15px rgba(49, 49, 49, 0.5);
\
n position: fixed;
\
n line-height: 50px;
\
n background-color: rgba(255, 255, 255, 0.3);
\
n top: 50%;
\
n left: 50%;
\
n margin-left: -200px;
\
n margin-top: -200px;
\
n}
\
n.wrap-main .btn[data-v-72680f5f] {
\
n display: block;
\
n width: 100%;
\
n}
\
n.wrap-main .title[data-v-72680f5f] {
\
n position: absolute;
\
n top: -100px;
\
n width: 100%;
\
n text-align: center;
\
n left: 0;
\
n color: white;
\
n font-size: 26px;
\
n text-shadow: 6px 6px 3px rgba(49, 49, 49, 0.5);
\
n}
\
n.wrap-main .fr[data-v-72680f5f] {
\
n float: right;
\
n margin-top: 10px;
\
n}
\
n'
],
sourceRoot
:
""
}])}});
\ No newline at end of file
dev/static/js/manifest.3254d6fe93055f3590e0.js
0 → 100644
View file @
84feb7b2
!
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
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
69
:
0
};
function
b
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
b
){
a
=
f
[
e
]
=
[
c
,
b
]});
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
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"3ade38c0aff2e24a655a"
,
1
:
"1315236348582fc8e5e8"
,
2
:
"b6893bfbe3576a294644"
,
3
:
"31bde1388de2eb7814ee"
,
4
:
"86f7fe9f691df70b93f2"
,
5
:
"1eba5068bcc603e52315"
,
6
:
"69b2a8d0d66777598a3c"
,
7
:
"e3e6701271ac1b30fec1"
,
8
:
"ba2c5eea4bae6edc6fe6"
,
9
:
"f0953e7fe4daf1cc8fe6"
,
10
:
"8117c105524d1651f917"
,
11
:
"e370493a193f31cda7b3"
,
12
:
"8b021688013e398ca3a5"
,
13
:
"d710c4b64be29ef4dd4d"
,
14
:
"1dca8d8838a11cee419e"
,
15
:
"12f4af77221b531640c4"
,
16
:
"1f657b60ba2423ae0e1e"
,
17
:
"01708e39956f921938aa"
,
18
:
"2d44f3008d84f45a496b"
,
19
:
"ac517c7ddf5acfea98ee"
,
20
:
"192ff0ce3b794223f8c7"
,
21
:
"1714423ee6a3922c7626"
,
22
:
"a593f774d6e7b59af71b"
,
23
:
"c1bc94beed54d1a529bf"
,
24
:
"625df4947d87d7baa720"
,
25
:
"d2e8e398b77de940bc75"
,
26
:
"247bd2a20100e4274032"
,
27
:
"ae37e657e804f4f39a65"
,
28
:
"ac5cd70d95dea5330e2a"
,
29
:
"5a0abeb6bc5ba700d9d4"
,
30
:
"2bbf2003e08e3c85b02e"
,
31
:
"cb73631f0fb35fc85b80"
,
32
:
"478de01c8671e9b736bb"
,
33
:
"89a886ca2edf08d1da99"
,
34
:
"bfae821267441bdfb843"
,
35
:
"1e266ee1931187505b81"
,
36
:
"4262dbd0f9927e1d6fad"
,
37
:
"2fe3ba985d82488115a2"
,
38
:
"f38f54b6e647b17b606f"
,
39
:
"25d541effc76fb664617"
,
40
:
"6ea54ea49958b17f2df7"
,
41
:
"f5cbc80a06389832a034"
,
42
:
"7ccc06ac6bc3544091fe"
,
43
:
"1c1a8ba503ee78eb7070"
,
44
:
"6fb04fae4bbaadddb191"
,
45
:
"2d962f4c25454cde2118"
,
46
:
"d638a050f13f0c1c27df"
,
47
:
"060f06dd35641d864baa"
,
48
:
"eb62245eade411969bc5"
,
49
:
"06dff50e19913af74396"
,
50
:
"6c00c15f71a51de285a7"
,
51
:
"ca887ceefef8a360c60b"
,
52
:
"b4139d7fb2ab0ea06e30"
,
53
:
"c0eb0e2c9c0e1a6457ef"
,
54
:
"36ef1333b807491ca4b8"
,
55
:
"d7c4e1a31010c4beaabc"
,
56
:
"a9721b9a81ecdc4caeab"
,
57
:
"27d41f6ca34b33214ec6"
,
58
:
"2d598f68876b8c85c1f0"
,
59
:
"5e7f4d70dd4b8c88b266"
,
60
:
"c34f44f39d400fccd8c3"
,
61
:
"e4e45eb1f3339c498027"
,
62
:
"8629a0691fa9dbeaf441"
,
63
:
"02e62503ff40ec916f83"
,
64
:
"547953d6ffdf7688c754"
,
65
:
"63911b7c7ba57da3a4e2"
,
66
:
"1973d7e91c2414c33698"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
a
,
c
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
84feb7b2
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
1c962ee81dfde77478d68d73d55dd7e7.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.00676b92d72e97be718b.js
></script><script
type=
text/javascript
src=
/static/js/vendor.c51fd44cbf7149072a68.js
></script><script
type=
text/javascript
src=
/static/js/app.edb4749eb2f1706bf0b0
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
bf2e6746389d4266f8302abc4b4defac.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.24c98417382aa6745ad8.js
></script><script
type=
text/javascript
src=
/static/js/vendor.c51fd44cbf7149072a68.js
></script><script
type=
text/javascript
src=
/static/js/app.dc5af962deb65d80a0ad
.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.bf2e6746389d4266f8302abc4b4defac.css
0 → 100644
View file @
84feb7b2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/46.6ee514487978a436a601.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
46
],{
"0HId"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
r
(
"CCn6"
),
n
=
r
(
"NC6I"
),
o
=
r
.
n
(
n
),
i
=
{
data
:
function
(){
return
{
login
:{
username
:
""
,
password
:
""
},
loginRules
:{
username
:[{
required
:
!
0
,
message
:
"请输入您的用户名"
,
trigger
:
"blur"
}],
password
:[{
required
:
!
0
,
message
:
"请输入您的密码"
,
trigger
:
"blur"
}]}}},
mounted
:
function
(){
var
e
=
this
;
document
.
onkeydown
=
function
(
t
){
var
r
=
t
||
window
.
event
;
if
(
13
===
(
r
.
keyCode
||
r
.
which
||
r
.
charCode
)
&&
"login"
===
e
.
$route
.
name
)
return
e
.
submitForm
(),
!
1
;
return
!
0
}},
methods
:{
submitForm
:
function
(){
var
e
=
this
;
this
.
$refs
.
loginForm
.
validate
(
function
(
t
){
if
(
t
){
var
r
=
{
username
:
e
.
login
.
username
,
password
:
o
()(
e
.
login
.
password
)};
Object
(
s
.
_125
)(
r
).
then
(
function
(
t
){
if
(
t
.
teacher_info
){
var
r
=
JSON
.
stringify
(
t
.
teacher_info
);
localStorage
.
setItem
(
"phoneNum"
,
r
)}
else
localStorage
.
setItem
(
"phoneNum"
,
""
);
e
.
$store
.
dispatch
(
"setToken"
,
t
.
token
),
e
.
$store
.
dispatch
(
"setUserName"
,
t
.
desc
),
e
.
$store
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
t
.
roles
.
menu_ids
)),
window
.
location
.
href
=
"/"
})}})},
goRegister
:
function
(){
this
.
$router
.
push
({
name
:
"register"
})}}},
a
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"login"
},[
r
(
"div"
,{
staticClass
:
"wrap-main"
},[
r
(
"h1"
,{
staticClass
:
"title"
},[
e
.
_v
(
"唱唱启蒙——后台管理系统"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"loginForm"
,
attrs
:{
model
:
e
.
login
,
rules
:
e
.
loginRules
}},[
r
(
"el-form-item"
,{
attrs
:{
prop
:
"username"
}},[
r
(
"el-input"
,{
attrs
:{
placeholder
:
"用户名"
},
model
:{
value
:
e
.
login
.
username
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"username"
,
t
)},
expression
:
"login.username"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
prop
:
"password"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"password"
,
placeholder
:
"密码"
},
model
:{
value
:
e
.
login
.
password
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"password"
,
t
)},
expression
:
"login.password"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
staticClass
:
"btn"
,
attrs
:{
size
:
"medium"
,
type
:
"primary"
},
on
:{
click
:
e
.
submitForm
}},[
e
.
_v
(
"登陆"
)]),
e
.
_v
(
" "
),
r
(
"router-link"
,{
staticClass
:
"fr"
,
attrs
:{
to
:{
name
:
"register"
}}},[
e
.
_v
(
"
\n
班主任注册入口
\n
"
)])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
l
=
r
(
"VU/8"
)(
i
,
a
,
!
1
,
function
(
e
){
r
(
"xq0c"
)},
"data-v-c31356dc"
,
null
);
t
.
default
=
l
.
exports
},
xq0c
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/50.7d26e087a50c5583f136.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
50
],{
"90Fj"
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
s
(
"CCn6"
),
o
=
s
(
"NC6I"
),
n
=
s
.
n
(
o
),
r
=
{
data
:
function
(){
return
{
login
:{
username
:
""
,
password
:
""
},
loginRules
:{
username
:[{
required
:
!
0
,
message
:
"请输入您的用户名"
,
trigger
:
"blur"
}],
password
:[{
required
:
!
0
,
message
:
"请输入您的密码"
,
trigger
:
"blur"
}]},
texT
:
"获取验证码"
,
disable
:
!
1
}},
mounted
:
function
(){
var
e
=
this
;
document
.
onkeydown
=
function
(
t
){
var
s
=
t
||
window
.
event
;
if
(
13
===
(
s
.
keyCode
||
s
.
which
||
s
.
charCode
)
&&
"login"
===
e
.
$route
.
name
)
return
e
.
submitForm
(),
!
1
;
return
!
0
}},
methods
:{
getCode
:
function
(){
var
e
=
this
;
if
(
this
.
login
.
take_class_mobile
){
this
.
disable
=!
0
;
var
t
=
10
;
Object
(
i
.
_134
)({
mobile
:
this
.
login
.
take_class_mobile
}).
then
(
function
(
s
){
e
.
texT
=
"10s"
;
var
i
=
setInterval
(
function
(){
t
--
,
e
.
texT
=
t
+
"s"
},
1
e3
);
setTimeout
(
function
(){
e
.
disable
=!
1
,
clearInterval
(
i
),
e
.
texT
=
"获取验证码"
},
1
e4
)})}
else
this
.
$message
(
"请填写手机号"
)},
submitForm
:
function
(){
var
e
=
this
;
this
.
$refs
.
loginForm
.
validate
(
function
(
t
){
if
(
t
){
var
s
=
{
username
:
e
.
login
.
username
,
password
:
n
()(
e
.
login
.
password
),
take_class_mobile
:
e
.
login
.
take_class_mobile
,
id_number
:
e
.
login
.
id_number
,
verify_code
:
e
.
login
.
verify_code
};
Object
(
i
.
_137
)(
s
).
then
(
function
(
t
){
if
(
t
.
teacher_info
){
var
s
=
JSON
.
stringify
(
t
.
teacher_info
);
localStorage
.
setItem
(
"phoneNum"
,
s
)}
else
localStorage
.
setItem
(
"phoneNum"
,
""
);
e
.
$store
.
dispatch
(
"setToken"
,
t
.
token
),
e
.
$store
.
dispatch
(
"setUserName"
,
t
.
desc
),
e
.
$store
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
t
.
roles
.
menu_ids
)),
window
.
location
.
href
=
"/"
})}})}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"login"
},[
s
(
"div"
,{
staticClass
:
"wrap-main"
},[
s
(
"h1"
,{
staticClass
:
"title"
},[
e
.
_v
(
"班主任注册"
)]),
e
.
_v
(
" "
),
s
(
"el-form"
,{
ref
:
"loginForm"
,
attrs
:{
model
:
e
.
login
,
rules
:
e
.
loginRules
}},[
s
(
"el-form-item"
,{
attrs
:{
prop
:
"take_class_mobile"
}},[
s
(
"el-input"
,{
attrs
:{
placeholder
:
"带班手机号"
},
model
:{
value
:
e
.
login
.
take_class_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"take_class_mobile"
,
t
)},
expression
:
"login.take_class_mobile"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
prop
:
"username"
}},[
s
(
"el-input"
,{
attrs
:{
placeholder
:
"姓名"
},
model
:{
value
:
e
.
login
.
username
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"username"
,
t
)},
expression
:
"login.username"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
prop
:
"password"
}},[
s
(
"el-input"
,{
attrs
:{
type
:
"password"
,
placeholder
:
"密码"
},
model
:{
value
:
e
.
login
.
password
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"password"
,
t
)},
expression
:
"login.password"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
prop
:
"id_number"
}},[
s
(
"el-input"
,{
attrs
:{
maxlength
:
"18"
,
placeholder
:
"身份证号"
},
model
:{
value
:
e
.
login
.
id_number
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"id_number"
,
t
)},
expression
:
"login.id_number"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
prop
:
"verify_code"
}},[
s
(
"el-input"
,{
attrs
:{
placeholder
:
"验证码"
},
model
:{
value
:
e
.
login
.
verify_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
login
,
"verify_code"
,
t
)},
expression
:
"login.verify_code"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,[
s
(
"el-button"
,{
staticClass
:
"btn"
,
attrs
:{
size
:
"medium"
,
type
:
"success"
},
on
:{
click
:
e
.
submitForm
}},[
e
.
_v
(
"注册"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
staticClass
:
"btn code"
,
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
size
:
"medium"
,
type
:
"primary"
,
disabled
:
e
.
disable
,
plain
:
""
},
on
:{
click
:
e
.
getCode
}},[
e
.
_v
(
e
.
_s
(
e
.
texT
))])],
1
)],
1
)],
1
)])},
staticRenderFns
:[]};
var
a
=
s
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
s
(
"cJVr"
)},
"data-v-78ce771a"
,
null
);
t
.
default
=
a
.
exports
},
cJVr
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/51.115798ae44b3d67cae4d.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
51
],{
"8MDz"
:
function
(
t
,
e
){},
SKyX
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"CCn6"
),
r
=
{
name
:
"index"
,
data
:
function
(){
return
{
list
:[],
dateList
:[],
propertyList
:[
"title"
,
"start_at"
,
"total_join_num"
,
"total_max_join_num"
,
"total_target_join_num"
,
"complete_rate"
,
"target_diff"
,
"wait_join_num"
,
"other_wait_join_num"
]}},
methods
:{
initPage
:
function
(){
var
t
=
this
;
Object
(
a
.
_76
)().
then
(
function
(
e
){
t
.
list
=
e
,
e
[
0
].
date
&&
e
[
0
].
date
.
forEach
(
function
(
e
){
t
.
dateList
.
push
(
e
.
pay_date
)})})},
tableRowClassName
:
function
(
t
){
t
.
row
;
return
0
===
t
.
rowIndex
?
"warning-row"
:
""
},
arraySpanMethod
:
function
(
t
){
if
(
this
.
propertyList
.
indexOf
(
t
.
column
.
property
)
>-
1
){
if
(
0
===
t
.
rowIndex
||
t
.
row
.
id
!==
this
.
list
[
t
.
rowIndex
-
1
].
id
){
for
(
var
e
=
1
,
n
=
t
.
rowIndex
+
1
;
n
<
this
.
list
.
length
&&
t
.
row
.
id
===
this
.
list
[
n
].
id
;
n
++
)
e
++
;
return
{
rowspan
:
e
,
colspan
:
1
}}
return
{
rowspan
:
0
,
colspan
:
0
}}
return
{
rowspan
:
1
,
colspan
:
1
}}},
created
:
function
(){
this
.
initPage
()}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,[
n
(
"el-table"
,{
attrs
:{
border
:
""
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#5f5f5f"
,
color
:
"#fff"
},
data
:
t
.
list
,
height
:
"calc(100vh - 60px)"
,
size
:
"mini"
,
"row-class-name"
:
t
.
tableRowClassName
,
"span-method"
:
t
.
arraySpanMethod
}},[
n
(
"el-table-column"
,{
attrs
:{
"min-width"
:
"180"
,
prop
:
"wait_join_num"
,
align
:
"left"
,
fixed
:
"left"
,
label
:
"期数总状况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
期数名称:"
+
t
.
_s
(
e
.
row
.
title
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
开始时间:"
+
t
.
_s
(
e
.
row
.
start_at
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
团购待进班人数:"
+
t
.
_s
(
e
.
row
.
wait_join_num
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
外部订单待进班人数:"
+
t
.
_s
(
e
.
row
.
other_wait_join_num
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
总进班人数:"
+
t
.
_s
(
e
.
row
.
total_join_num
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
需求供量:"
+
t
.
_s
(
e
.
row
.
total_max_join_num
)
+
"
\n
"
),
n
(
"br"
),
t
.
_v
(
"
\n
目标差距:"
+
t
.
_s
(
e
.
row
.
target_diff
<
0
?
"超标"
+-
1
*
e
.
row
.
target_diff
:
e
.
row
.
target_diff
)
+
"个
\n
"
),
n
(
"br"
),
t
.
_v
(
"完成率:
\n
"
),
n
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
status
:
e
.
row
.
complete_rate
>=
1
?
"exception"
:
"success"
,
percentage
:
1
e3
*
e
.
row
.
complete_rate
/
10
}})]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"class_name"
,
align
:
"center"
,
"min-width"
:
"80"
,
fixed
:
"left"
,
label
:
"班级名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
"合计"
===
e
.
row
.
title
?
"合计"
:
e
.
row
.
class_name
))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
"min-width"
:
"60"
,
align
:
"center"
,
label
:
"预计加入人数"
}}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
"min-width"
:
"60"
,
align
:
"center"
,
label
:
"已进班人数"
}}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"other_allot_num"
,
align
:
"center"
,
"min-width"
:
"60"
,
label
:
"外部订单已分配人数"
}}),
t
.
_v
(
" "
),
t
.
_l
(
t
.
dateList
,
function
(
e
,
a
){
return
n
(
"el-table-column"
,{
key
:
a
,
attrs
:{
align
:
"center"
,
label
:
e
}},[
n
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"60px"
,
prop
:
"wait_join_num"
,
label
:
"系统招生量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
date
[
a
].
total_buy_num
))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"60px"
,
prop
:
"wait_join_num"
,
label
:
"外部订单招生量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
date
[
a
].
total_other_buy_num
))]}}])}),
t
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"60px"
,
label
:
"进班量"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
t
.
_s
(
e
.
row
.
date
[
a
].
total_into_num
))]}}])})],
1
)})],
2
)],
1
)},
staticRenderFns
:[]};
var
l
=
n
(
"VU/8"
)(
r
,
o
,
!
1
,
function
(
t
){
n
(
"8MDz"
)},
"data-v-6cb54dd1"
,
null
);
e
.
default
=
l
.
exports
}});
\ No newline at end of file
dist/static/js/52.0d1ff7141203f7a226a6.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
52
],{
TZwE
:
function
(
e
,
t
){},
mjLz
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
i
=
{
name
:
"dayOrderCount"
,
data
:
function
(){
var
e
=
this
;
return
{
goodsList
:[],
headList
:[],
tableData
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
,
a
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_59
)({
limit
:
99999
,
course_type
:
1
,
status
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
(),
course_type
:
1
};
Object
(
r
.
_129
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
n
=
t
+
"-"
+
a
+
"-01"
,
i
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
n
,
i
]}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
type
:
"daterange"
,
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
e
){
a
(
"TZwE"
)},
"data-v-5cc01ba2"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/53.ddfd301eceb159fc3949.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
53
],{
"+Xua"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
i
=
a
(
"kmJW"
),
s
=
a
(
"+TkF"
),
n
=
a
(
"1lG9"
);
function
o
(
e
,
t
,
a
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
a
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
a
,
e
}
var
l
=
{
name
:
"periodsConversionList"
,
data
:
function
(){
var
e
,
t
=
this
;
return
o
(
e
=
{
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[]},
"total"
,
0
),
o
(
e
,
"today"
,{
text
:
"今天"
,
onClick
:
function
(){
t
.
searchFrom
.
payTime
=
[
t
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"yesterday"
,{
text
:
"昨天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
e
+
" 23:59:59"
]}}),
o
(
e
,
"last30Day"
,{
text
:
"过去30天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"last7Day"
,{
text
:
"过去7天"
,
onClick
:
function
(){
var
e
=
t
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
searchFrom
.
payTime
=
[
e
+
" 00:00:00"
,
t
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"spanArr"
,[]),
o
(
e
,
"contentSpanArr"
,[]),
o
(
e
,
"searchFrom"
,{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
}),
o
(
e
,
"propertyList"
,[]),
o
(
e
,
"watchList"
,[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]),
e
},
components
:{
page
:
i
.
a
},
methods
:{
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
n
.
a
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"dasc"
,
this
.
getChannelTransList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
r
.
_105
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
r
.
_59
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
s
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
r
.
_78
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
e
.
periodList
=
t
.
list
,
console
.
log
(
320
)})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
Object
(
r
.
_77
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
r
){
a
.
index
=
r
,
0
==
r
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
r
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
r
);
var
i
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
s
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
n
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
i
,
a
.
goods_name
=
""
+
s
+
a
.
goods_name
+
n
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
(),
this
.
getTeacherList
()}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"组ID"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
changeTeacher
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_class_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
friend_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_class_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
come_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_class_num"
,
label
:
"转化率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sum_buy_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"PlAK"
)},
null
,
null
);
t
.
default
=
h
.
exports
},
PlAK
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/54.606b8dcce6afdc2c8a2a.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
54
],{
EOXq
:
function
(
e
,
t
){},
"v/LD"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
i
=
{
name
:
"monthOrderCount"
,
data
:
function
(){
var
e
=
this
;
return
{
goodsList
:[],
headList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
,
a
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
tableData
:[],
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
n
=
t
+
"-"
+
a
+
"-01"
,
i
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
n
,
i
]},
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_59
)({
limit
:
99999
,
course_type
:
0
,
status
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
console
.
log
(
this
.
searchFrom
.
dateValue
),
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
()};
Object
(
r
.
_129
)(
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
)}})}}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
type
:
"daterange"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
e
){
a
(
"EOXq"
)},
"data-v-4efae2e6"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/55.2f613c0244b9db5d641c.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
55
],{
TPCG
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"CCn6"
),
o
=
i
(
"+TkF"
),
n
=
{
name
:
"entrance"
,
props
:[
"entranceObj"
],
data
:
function
(){
return
{
starListV2
:[],
noticeDialog
:
!
1
,
periodDialog
:
!
1
,
activeName
:
"1"
,
form
:{
msg
:
""
},
form2
:{
msg
:
""
},
form3
:{
msg
:
""
},
form4
:{
msg
:
""
},
form5
:{
msg
:
""
},
form6
:{
msg
:
""
},
form7
:{
msg
:[]},
form8
:{
msg
:
""
},
thisList
:{},
thisList2
:{},
thisList3
:{},
thisList4
:{},
thisList5
:{},
thisList6
:{},
thisList7
:{},
thisList8
:{},
periodList
:[],
activeNames
:[
1
],
selectedGoods
:[],
secGoods
:[],
periodsId
:
""
,
periodsType
:
""
,
yunjiList
:[],
starList
:[],
starV2List
:[]}},
mounted
:
function
(){
this
.
second
()},
filters
:{},
methods
:{
delYunjiListFn
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
$confirm
(
"确认删除?"
).
then
(
function
(
i
){
Object
(
s
.
X
)(
t
.
id
).
then
(
function
(
t
){
Object
(
s
.
_120
)().
then
(
function
(
t
){
e
.
yunjiList
=
t
,
e
.
$message
({
type
:
"success"
,
message
:
"删除成功"
})})})}).
catch
(
function
(
t
){})},
delStarListFn
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
$confirm
(
"确认删除?"
).
then
(
function
(
i
){
Object
(
s
.
U
)(
t
.
id
).
then
(
function
(
t
){
Object
(
s
.
_95
)().
then
(
function
(
t
){
e
.
starList
=
t
,
e
.
$message
({
type
:
"success"
,
message
:
"删除成功"
})})})}).
catch
(
function
(
t
){})},
delStarV2ListFn
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
$confirm
(
"确认删除?"
).
then
(
function
(
i
){
Object
(
s
.
V
)(
t
.
id
).
then
(
function
(
t
){
Object
(
s
.
_96
)().
then
(
function
(
t
){
e
.
starV2List
=
t
,
e
.
$message
({
type
:
"success"
,
message
:
"删除成功"
})})})}).
catch
(
function
(
t
){})},
addPeriod
:
function
(){
var
t
=
this
;
console
.
log
(
this
.
periods
),
0
==
this
.
periodsType
?
Object
(
s
.
u
)(
this
.
secGoods
[
1
]).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"数据插入成功"
}),
t
.
periodDialog
=!
1
,
Object
(
s
.
_120
)().
then
(
function
(
e
){
t
.
yunjiList
=
e
})}):
1
==
this
.
periodsType
?
Object
(
s
.
q
)(
this
.
secGoods
[
1
]).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"数据插入成功"
}),
t
.
periodDialog
=!
1
,
Object
(
s
.
_95
)().
then
(
function
(
e
){
t
.
starList
=
e
})}):
Object
(
s
.
r
)(
this
.
secGoods
[
1
]).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"数据插入成功"
}),
t
.
periodDialog
=!
1
,
Object
(
s
.
_96
)().
then
(
function
(
e
){
t
.
starV2List
=
e
})})},
handleItemChange
:
function
(
t
){
var
e
=
this
;
Object
(
s
.
_75
)({
goods_id
:
t
[
0
]}).
then
(
function
(
i
){
i
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
e
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
[
0
]}).
children
=
i
.
list
})},
onSend
:
function
(){
var
t
=
this
;
Object
(
s
.
_132
)(
this
.
secGoods
[
1
]).
then
(
function
(
e
){
t
.
noticeDialog
=!
1
,
t
.
$message
({
type
:
"success"
,
message
:
"发送成功"
+
e
.
num
+
"个"
})})},
periodDialogFn
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
periodsType
=
t
,
this
.
periodDialog
=!
0
;
Object
(
s
.
_59
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
t
.
id
+
"]["
+
o
.
h
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
e
.
periodList
=
t
.
list
,
e
.
initQuery
()})},
stareriodDialogFn
:
function
(){
var
t
=
this
;
this
.
periodDialog
=!
0
;
Object
(
s
.
_59
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
t
.
id
+
"]["
+
o
.
h
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
t
.
periodList
=
e
.
list
,
t
.
initQuery
()})},
noticeDialogFn
:
function
(){
var
t
=
this
;
this
.
noticeDialog
=!
0
;
Object
(
s
.
_59
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
t
.
id
+
"]["
+
o
.
h
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
t
.
periodList
=
e
.
list
,
t
.
initQuery
()})},
initQuery
:
function
(){
var
t
=
this
,
e
=
this
.
$route
.
query
;
e
&&
e
.
goods_id
&&
e
.
periods_id
?(
this
.
goods_id
=
e
.
goods_id
,
this
.
selectedGoods
=
[
parseInt
(
e
.
goods_id
),
parseInt
(
e
.
periods_id
)],
Object
(
s
.
_75
)({
goods_id
:
this
.
selectedGoods
[
0
]}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]}).
children
=
e
.
list
;
var
i
=
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]});
t
.
periods
=
i
.
children
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
1
]}),
t
.
teacher_id
=
""
})):
Object
(
s
.
_52
)().
then
(
function
(
e
){
e
&&
(
t
.
goods_id
=
e
.
goods_id
,
t
.
selectedGoods
=
[
parseInt
(
e
.
goods_id
),
parseInt
(
e
.
id
)],
Object
(
s
.
_75
)({
goods_id
:
t
.
selectedGoods
[
0
]}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]}).
children
=
e
.
list
,
console
.
log
(
e
.
list
),
console
.
log
(
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]}).
children
);
var
i
=
t
.
periodList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
0
]});
t
.
periods
=
i
.
children
.
find
(
function
(
e
){
return
e
.
id
===
t
.
selectedGoods
[
1
]}),
t
.
teacher_id
=
""
,
console
.
log
(
t
.
periodList
)}))})},
getClassList
:
function
(){
var
t
=
this
;
if
(
this
.
periods
){
this
.
getTeacher
();
var
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
teacher_id
&&
(
e
.
teacher_id
=
this
.
teacher_id
),
Object
(
s
.
_46
)(
this
.
periods
.
id
,
e
).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
arrive_course_rate
=
0
,
t
.
watch_course_rate
=
0
,
t
.
over_course_rate
=
0
,
t
.
work_rate
=
0
,
t
.
over_work_rate
=
0
,
t
.
clock_rate
=
0
,
t
.
over_clock_rate
=
0
,
t
.
transform_rate
=
0
}),
t
.
title
=
e
.
periods
,
t
.
title
.
count_join_num
=
e
.
count
.
count_join_num
?
e
.
count
.
count_join_num
:
"暂无"
,
t
.
title
.
count_max_join_num
=
e
.
count
.
count_max_join_num
?
e
.
count
.
count_max_join_num
:
"暂无"
,
t
.
title
.
count_teacher_num
=
e
.
count
.
count_teacher_num
?
e
.
count
.
count_teacher_num
:
"暂无"
,
t
.
countObj
=
e
.
count
?
e
.
count
:
""
,
t
.
classList
=
e
.
list
,
t
.
total
=
e
.
total
})}},
handleChange
:
function
(
t
){
var
e
=
this
;
"1"
===
t
?
this
.
first
():
"4"
===
t
?
this
.
four
():
"5"
===
t
?
this
.
five
():
"7"
===
t
?
this
.
seven
():
"8"
===
t
?
this
.
eight
():
"9"
===
t
?
Object
(
s
.
_120
)().
then
(
function
(
t
){
e
.
yunjiList
=
t
}):
"10"
===
t
?
Object
(
s
.
_95
)().
then
(
function
(
t
){
e
.
starList
=
t
}):
"11"
===
t
&&
Object
(
s
.
_96
)().
then
(
function
(
t
){
e
.
starV2List
=
t
})},
first
:
function
(){
var
t
=
this
;
Object
(
s
.
_50
)({
key
:
"new_user_redirect"
}).
then
(
function
(
e
){
console
.
log
(
e
);
var
i
=
e
.
list
[
0
];
t
.
form
.
msg
=
i
.
desc
,
t
.
thisList
=
i
})},
second
:
function
(){
var
t
=
this
;
Object
(
s
.
_59
)({
limit
:
100
}).
then
(
function
(
e
){
t
.
goodsList
=
e
.
list
,
Object
(
s
.
_50
)({
key
:
"share_goods_id"
}).
then
(
function
(
e
){
console
.
log
(
e
);
var
i
=
e
.
list
[
0
];
t
.
form2
.
msg
=
i
.
value
,
t
.
thisList2
=
i
}),
Object
(
s
.
_50
)({
key
:
"mp_ads_goods_id"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form3
.
msg
=
i
.
desc
,
t
.
thisList3
=
i
}}),
Object
(
s
.
_50
)({
key
:
"no_course_goods_id"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form6
.
msg
=
i
.
value
,
t
.
thisList6
=
i
}})})},
four
:
function
(){
var
t
=
this
;
Object
(
s
.
_50
)({
key
:
"success_group_before_hour"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form4
.
msg
=
i
.
desc
,
t
.
thisList4
=
i
}})},
five
:
function
(){
var
t
=
this
;
Object
(
s
.
_50
)({
key
:
"urge_group_share_hour"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form5
.
msg
=
i
.
desc
,
t
.
thisList5
=
i
}})},
seven
:
function
(){
var
t
=
this
;
Object
(
s
.
_50
)({
key
:
"automation_goods_ids"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form7
.
msg
=
i
.
value
.
split
(
","
),
t
.
thisList7
=
i
}})},
eight
:
function
(){
var
t
=
this
;
Object
(
s
.
_50
)({
key
:
"automation_conversion_goods_id"
}).
then
(
function
(
e
){
if
(
console
.
log
(
e
),
e
.
list
[
0
]){
var
i
=
e
.
list
[
0
];
t
.
form8
.
msg
=
i
.
value
,
t
.
thisList8
=
i
}})},
submitForm
:
function
(
t
){
var
e
=
this
;
this
.
$refs
[
t
].
validate
(
function
(
i
){
if
(
!
i
)
return
console
.
log
(
"error submit!!"
),
!
1
;
"form"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList
.
key
,
value
:
e
.
thisList
.
value
,
desc
:
e
.
form
.
msg
},
i
=
e
.
thisList
.
id
;
console
.
log
(
i
,
t
),
Object
(
s
.
_161
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form2"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList2
.
key
,
value
:
e
.
form2
.
msg
,
desc
:
e
.
thisList2
.
desc
},
i
=
e
.
thisList2
.
id
;
Object
(
s
.
_161
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form3"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList3
.
key
,
value
:
e
.
thisList3
.
value
,
desc
:
e
.
form3
.
msg
},
i
=
e
.
thisList3
.
id
;
Object
(
s
.
_161
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form4"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList4
.
key
,
value
:
e
.
thisList4
.
value
,
desc
:
e
.
form4
.
msg
},
i
=
e
.
thisList4
.
id
;
Object
(
s
.
_161
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form5"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList5
.
key
,
value
:
e
.
thisList5
.
value
,
desc
:
e
.
form5
.
msg
},
i
=
e
.
thisList5
.
id
;
Object
(
s
.
_161
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form6"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList6
.
key
,
value
:
e
.
form6
.
msg
,
desc
:
e
.
thisList6
.
desc
},
i
=
e
.
thisList6
.
id
;
Object
(
s
.
_161
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form7"
==
t
?
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList7
.
key
,
value
:
e
.
form7
.
msg
.
join
(
","
),
desc
:
e
.
thisList7
.
desc
},
i
=
e
.
thisList7
.
id
;
Object
(
s
.
_161
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})}):
"form8"
==
t
&&
e
.
$confirm
(
"确认修改吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
key
:
e
.
thisList8
.
key
,
value
:
e
.
form8
.
msg
,
desc
:
e
.
thisList8
.
desc
},
i
=
e
.
thisList8
.
id
;
Object
(
s
.
_161
)(
i
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
})})})})}}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"box"
},[
i
(
"div"
,{
staticClass
:
"container"
},[
i
(
"div"
,{
staticClass
:
"item left"
},[
i
(
"div"
,{
staticStyle
:{
"margin-top"
:
"30px"
}},[
t
.
_v
(
"
\n
系统配置
\n
"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
"margin-top"
:
"30px"
}}),
t
.
_v
(
" "
),
i
(
"el-collapse"
,{
attrs
:{
accordion
:
""
},
on
:{
change
:
t
.
handleChange
},
model
:{
value
:
t
.
activeNames
,
callback
:
function
(
e
){
t
.
activeNames
=
e
},
expression
:
"activeNames"
}},[
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"设置无课用户点我要上课跳转地址"
,
name
:
"1"
}},[
i
(
"el-form"
,{
ref
:
"form"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
autocomplete
:
"off"
},
model
:{
value
:
t
.
form
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"msg"
,
t
.
_n
(
e
))},
expression
:
"form.msg"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"打卡商品"
,
name
:
"2"
}},[
i
(
"el-form"
,{
ref
:
"form2"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form2
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form2
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form2
,
"msg"
,
e
)},
expression
:
"form2.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
center
:
""
}},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form2"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"外部投放商品"
,
name
:
"3"
}},[
i
(
"el-form"
,{
ref
:
"form3"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form3
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form3
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form3
,
"msg"
,
e
)},
expression
:
"form3.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form3"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"默认成团时间(失效前几小时)"
,
name
:
"4"
}},[
i
(
"el-form"
,{
ref
:
"form4"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form4
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
autocomplete
:
"off"
},
model
:{
value
:
t
.
form4
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form4
,
"msg"
,
t
.
_n
(
e
))},
expression
:
"form4.msg"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form4"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"未成团催团通知时间(失效前几小时)"
,
name
:
"5"
}},[
i
(
"el-form"
,{
ref
:
"form5"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form5
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-input"
,{
attrs
:{
type
:
"text"
,
autocomplete
:
"off"
},
model
:{
value
:
t
.
form5
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form5
,
"msg"
,
t
.
_n
(
e
))},
expression
:
"form5.msg"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form5"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"无课用户推荐商品"
,
name
:
"6"
}},[
i
(
"el-form"
,{
ref
:
"form6"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form6
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form6
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form6
,
"msg"
,
e
)},
expression
:
"form6.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form6"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"自动化推荐体验商品"
,
name
:
"7"
}},[
i
(
"el-form"
,{
ref
:
"form7"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form7
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form7
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form7
,
"msg"
,
e
)},
expression
:
"form7.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form7"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"自动化推荐转化商品ID"
,
name
:
"8"
}},[
i
(
"el-form"
,{
ref
:
"form8"
,
staticClass
:
"demo-ruleForm"
,
staticStyle
:{
width
:
"700px"
},
attrs
:{
model
:
t
.
form8
}},[
i
(
"el-form-item"
,{
staticStyle
:{
width
:
"500px"
},
attrs
:{
prop
:
"msg"
,
rules
:[{
required
:
!
0
,
message
:
"配置信息不能为空"
}]}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form8
.
msg
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form8
,
"msg"
,
e
)},
expression
:
"form8.msg"
}},
t
.
_l
(
t
.
goodsList
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
"【"
+
t
.
id
+
"】"
+
t
.
name
,
value
:
t
.
id
.
toString
()}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"form8"
)}}},[
t
.
_v
(
"确定"
)])],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"首页免费商品期数"
,
name
:
"9"
}},[
i
(
"div"
,[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
periodDialogFn
(
0
)}}},[
t
.
_v
(
"
\n
添加期数
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
yunjiList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"id"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"标题"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
delYunjiListFn
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)])]}}])})],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"全勤活动星星期数(赠绘本)"
,
name
:
"10"
}},[
i
(
"div"
,[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
periodDialogFn
(
1
)}}},[
t
.
_v
(
"
\n
添加期数
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
starList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"id"
,
width
:
"100"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"标题"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
delStarListFn
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)])]}}])})],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"el-collapse-item"
,{
attrs
:{
title
:
"全勤活动星星期数(返奖学金)"
,
name
:
"11"
}},[
i
(
"div"
,[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
periodDialogFn
(
2
)}}},[
t
.
_v
(
"
\n
添加期数
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
starV2List
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"id"
,
width
:
"100"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"标题"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
t
.
delStarV2ListFn
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)])]}}])})],
1
)],
1
)])],
1
)],
1
)]),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"发生活动通知(限活动期数发送)"
,
visible
:
t
.
noticeDialog
},
on
:{
"update:visible"
:
function
(
e
){
t
.
noticeDialog
=
e
}}},[
i
(
"el-cascader"
,{
attrs
:{
options
:
t
.
periodList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
t
.
handleItemChange
},
model
:{
value
:
t
.
secGoods
,
callback
:
function
(
e
){
t
.
secGoods
=
e
},
expression
:
"secGoods"
}}),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
noticeDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSend
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"添加期数"
,
visible
:
t
.
periodDialog
},
on
:{
"update:visible"
:
function
(
e
){
t
.
periodDialog
=
e
}}},[
i
(
"el-cascader"
,{
attrs
:{
options
:
t
.
periodList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
t
.
handleItemChange
},
model
:{
value
:
t
.
secGoods
,
callback
:
function
(
e
){
t
.
secGoods
=
e
},
expression
:
"secGoods"
}}),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
periodDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
addPeriod
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
a
=
i
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
i
(
"znQs"
)},
"data-v-4b429872"
,
null
);
e
.
default
=
a
.
exports
},
znQs
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/56.7fd765a9d3c3560f06ec.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
56
],{
NrkQ
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
(
a
(
"sf/l"
),
a
(
"CCn6"
)),
o
=
a
(
"+TkF"
),
i
=
{
name
:
"index"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
a
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
teacherId
:
null
,
secId
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
,
course_type
:
"-1"
},
tableData
:[],
commentForm
:{},
showCommentDialog
:
!
1
,
teacherList
:[],
goodList
:[]}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
o
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
created
:
function
(){
this
.
initPage
(),
this
.
getGoodsOption
(),
this
.
getTeacherList
()},
methods
:{
externalLaunchStatus
:
function
(
e
){
return
o
.
A
[
e
.
status
]},
formatTime
:
function
(
e
){
console
.
log
(
e
);
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
s
.
_59
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
pullAll
:
function
(){
var
e
=
this
;
if
(
this
.
secId
.
length
<
1
)
return
this
.
$message
(
"请选择订单"
),
!
1
;
if
(
!
this
.
teacherId
)
return
this
.
$message
(
"请选择老师"
),
!
1
;
var
t
=
{
order_ids
:[]};
this
.
secId
.
forEach
(
function
(
e
){
t
.
order_ids
.
push
(
e
)}),
this
.
$confirm
(
"是否确定将这"
+
t
.
order_ids
.
length
+
"笔订单分配给该老师?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
v
)(
e
.
teacherId
,{
ids
:
t
.
order_ids
.
join
(
","
)}).
then
(
function
(
t
){
e
.
$message
({
message
:
"提交成功"
,
type
:
"success"
}),
e
.
initPage
()})}).
catch
(
function
(){})},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_105
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
handleSelectionChange
:
function
(
e
){
var
t
=
this
;
this
.
secId
=
[],
e
.
forEach
(
function
(
e
){
t
.
secId
.
push
(
e
.
id
)})},
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
t
.
course_type
=
this
.
searchFrom
.
course_type
),
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
t
.
goods_name
=
this
.
searchFrom
.
goods_name
),
-
1
!=
this
.
searchFrom
.
user_buy
&&
(
t
.
user_buy
=
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
order_id
&&
(
t
.
order_id
=
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
time
&&
2
==
this
.
searchFrom
.
time
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
time
[
0
],
t
.
end_at
=
this
.
searchFrom
.
time
[
1
]),
this
.
searchFrom
.
active_time
&&
2
==
this
.
searchFrom
.
active_time
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_time
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_time
[
1
]),
Object
(
s
.
_32
)(
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
.
mobile
&&
(
e
=
e
+
"&mobile="
+
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
e
=
e
+
"&status="
+
this
.
searchFrom
.
status
),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
e
=
e
+
"&course_type="
+
this
.
searchFrom
.
course_type
),
"-1"
!==
this
.
searchFrom
.
user_buy
&&
(
e
=
e
+
"&user_buy="
+
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
nickname
&&
(
e
=
e
+
"&nickname="
+
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
e
=
e
+
"&user_id="
+
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
teacher_id
&&
(
e
=
e
+
"&teacher_id="
+
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
e
=
e
+
"&goods_name="
+
this
.
searchFrom
.
goods_name
),
this
.
searchFrom
.
order_id
&&
(
e
=
e
+
"&order_id="
+
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
e
=
e
+
"&goods_id="
+
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
time
&&
2
==
this
.
searchFrom
.
time
.
length
&&
(
e
=
(
e
=
e
+
"&start_at="
+
this
.
searchFrom
.
time
[
0
])
+
"&end_at="
+
this
.
searchFrom
.
time
[
1
]),
this
.
searchFrom
.
active_time
&&
2
==
this
.
searchFrom
.
active_time
.
length
&&
(
e
=
(
e
=
e
+
"&active_start_at="
+
this
.
searchFrom
.
active_time
[
0
])
+
"&active_end_at="
+
this
.
searchFrom
.
active_time
[
1
]),
window
.
open
(
"/api/admin/ads/export/all"
+
e
)},
saveComment
:
function
(){
var
e
=
this
,
t
=
void
0
;
t
=
this
.
commentForm
.
id
?
this
.
commentForm
.
id
:
this
.
secId
.
join
(
","
);
var
a
=
this
.
commentForm
.
desc
?
this
.
commentForm
.
desc
:
""
;
a
&&
this
.
$confirm
(
"确认编辑备注"
,
"提示"
,{
confirmButtonText
:
"继续"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
_159
)({
ids
:
t
,
desc
:
a
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
showCommentDialog
=!
1
,
e
.
initPage
()})})},
editNote
:
function
(
e
,
t
){
this
.
showCommentDialog
=!
0
,
this
.
commentForm
=
{
id
:
e
,
desc
:
t
}},
editComment
:
function
(
e
,
t
){
this
.
secId
.
length
>
0
?
this
.
showCommentDialog
=!
0
:
this
.
$message
({
type
:
"warning"
,
message
:
"请选择"
})}}},
n
=
{
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"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"领取时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"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
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"激活时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
active_time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"active_time"
,
t
)},
expression
:
"searchFrom.active_time"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"是否激活"
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
,
size
:
"medium"
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
user_buy
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_buy"
,
t
)},
expression
:
"searchFrom.user_buy"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"已激活"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"未激活"
,
value
:
0
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"沟通状态"
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
,
size
:
"medium"
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"已激活"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"假号"
,
value
:
2
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"没兴趣"
,
value
:
3
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"待激活"
,
value
:
0
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
r
){
return
a
(
"el-option"
,{
key
:
r
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"180px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"未指定"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
e
.
$store
.
state
.
export
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_type"
,
t
)},
expression
:
"searchFrom.course_type"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
distribution
?
a
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
top
:
"10px"
,
right
:
"10px"
,
"font-size"
:
"14px"
}},[
e
.
_v
(
"
\n
老师:
\n
"
),
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
size
:
"small"
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
teacherId
,
callback
:
function
(
t
){
e
.
teacherId
=
t
},
expression
:
"teacherId"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
e
.
pullAll
}},[
e
.
_v
(
"批量分配"
)])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"领取人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
a
(
"div"
,[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
a
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝宝昵称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"telephone"
,
label
:
"领取电话"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
source
)
+
"("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"status"
,
formatter
:
e
.
externalLaunchStatus
,
label
:
"沟通状态"
,
width
:
"120"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"active_at"
,
label
:
"激活时间"
,
width
:
"90"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
"0000-00-00 00:00:00"
===
t
.
row
.
active_at
?
"未激活"
:
t
.
row
.
active_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"领取时间"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"180"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
a
(
"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
}}},[
a
(
"div"
,[
a
(
"el-form"
,{
ref
:
"commentFrom"
,
attrs
:{
model
:
e
.
commentForm
}},[
a
(
"el-form-item"
,{
attrs
:{
prop
:
"desc"
}},[
a
(
"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
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
showCommentDialog
=!
1
,
e
.
commentForm
=
{}}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveComment
}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
e
){
a
(
"v23m"
)},
"data-v-496fcc98"
,
null
);
t
.
default
=
c
.
exports
},
v23m
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.dc5af962deb65d80a0ad.js
0 → 100644
View file @
84feb7b2
webpackJsonp
([
68
],{
"/Bbx"
:
function
(
e
,
n
){},
IcnI
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"NYxO"
),
a
=
t
(
"lRwf"
),
r
=
t
.
n
(
a
),
i
=
t
(
"zSLJ"
),
u
=
{
setToken
:
function
(
e
,
n
){
e
.
token
=
n
,
i
.
a
.
set
(
"cc_token"
,
n
)},
setUserName
:
function
(
e
,
n
){
e
.
userName
=
n
,
i
.
a
.
set
(
"cc_user_name"
,
n
)},
setPermission
:
function
(
e
,
n
){
e
.
progressList
=
n
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
n
))},
setMenu
:
function
(
e
,
n
){
e
.
menuList
=
n
},
readonly
:
function
(
e
,
n
){
e
.
readonly
=
n
},
deletePermission
:
function
(
e
,
n
){
e
.
deletePermission
=
n
},
distribution
:
function
(
e
,
n
){
e
.
distribution
=
n
},
classManage
:
function
(
e
,
n
){
e
.
classManage
=
n
},
classManageUnlimited
:
function
(
e
,
n
){
e
.
classManageUnlimited
=
n
},
classTakeUnlimited
:
function
(
e
,
n
){
e
.
classTakeUnlimited
=
n
},
promoter
:
function
(
e
,
n
){
e
.
promoter
=
n
},
mainCanShow
:
function
(
e
){
e
.
mainLoad
=!
1
},
mainUnShow
:
function
(
e
){
e
.
mainLoad
=!
0
},
changeParentRouter
:
function
(
e
,
n
){
e
.
menuList
.
find
(
function
(
e
){
return
e
.
name
===
n
.
name
}).
routerName
=
n
.
to
.
name
},
progress
:
function
(
e
,
n
){
switch
(
n
.
type
){
case
"new"
:
e
.
progressList
.
push
({
num
:
0
,
id
:
n
.
id
});
break
;
case
"change"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
}).
num
=
n
.
num
;
break
;
case
"delete"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
})}}};
r
.
a
.
use
(
o
.
a
);
n
.
a
=
new
o
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
export
:
!
1
,
orderRefund
:
!
1
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
distribution
:
!
1
,
classManage
:
!
1
,
classManageUnlimited
:
!
1
,
classTakeUnlimited
:
!
1
,
promoter
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
u
,
actions
:{
setToken
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setToken"
,
n
)},
setUserName
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setUserName"
,
n
)},
setProgress
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"progress"
,
n
)},
setPermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setPermission"
,
n
)},
setMenu
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setMenu"
,
n
)},
readonly
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"readonly"
,
n
)},
deletePermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"deletePermission"
,
n
)},
distribution
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"distribution"
,
n
)},
classManage
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classManage"
,
n
)},
classManageUnlimited
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classManageUnlimited"
,
n
)},
classTakeUnlimited
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classTakeUnlimited"
,
n
)},
promoter
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"promoter"
,
n
)}}})},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
[{
name
:
""
,
value
:
"教研管理"
,
icon
:
"icon-material"
,
list
:[{
value
:
"教材列表"
,
routerName
:
"resources"
,
path
:
"/resources"
,
cover
:
"1-1"
,
router
:{
path
:
"/resources"
,
name
:
"resources"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
1
)]).
then
(
function
(){
var
n
=
[
t
(
"z5EG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"商品课程"
,
icon
:
"icon-shangpin1"
,
list
:[{
value
:
"课程列表"
,
routerName
:
"lesson"
,
path
:
"/lesson"
,
cover
:
"2-1"
,
router
:{
path
:
"/lesson"
,
name
:
"lesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
9
)]).
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
(
15
)]).
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
(
26
)]).
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
(
13
)]).
then
(
function
(){
var
n
=
[
t
(
"OX9A"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"市场招生统计"
,
routerName
:
"marketStatistics"
,
path
:
"/marketStatistics"
,
cover
:
"2-5"
,
router
:{
path
:
"/marketStatistics"
,
name
:
"marketStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
51
)]).
then
(
function
(){
var
n
=
[
t
(
"SKyX"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
34
)]).
then
(
function
(){
var
n
=
[
t
(
"sg/1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"自化课列表"
,
routerName
:
"autoClass"
,
path
:
"/autoClass"
,
cover
:
"2-6"
,
router
:{
path
:
"/autoClass"
,
name
:
"autoClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
29
)]).
then
(
function
(){
var
n
=
[
t
(
"f9Sx"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"销售管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"教师列表"
,
routerName
:
"teacher"
,
path
:
"/teacher"
,
cover
:
"3-1"
,
router
:{
path
:
"/teacher"
,
name
:
"teacher"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
2
)]).
then
(
function
(){
var
n
=
[
t
(
"Y0Vi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
5
)]).
then
(
function
(){
var
n
=
[
t
(
"xdzM"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
54
)]).
then
(
function
(){
var
n
=
[
t
(
"v/LD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
40
)]).
then
(
function
(){
var
n
=
[
t
(
"89rD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"业绩排行"
,
routerName
:
"achievement"
,
path
:
"/achievement"
,
cover
:
"5-7"
,
router
:{
path
:
"/achievement"
,
name
:
"achievement"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
25
)]).
then
(
function
(){
var
n
=
[
t
(
"Fmgy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"话术列表"
,
routerName
:
"talkingSkill"
,
path
:
"/talkingSkill"
,
cover
:
"11-6"
,
router
:{
path
:
"/talkingSkill"
,
name
:
"talkingSkill"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
24
)]).
then
(
function
(){
var
n
=
[
t
(
"CUAv"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"用户管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
4
)]).
then
(
function
(){
var
n
=
[
t
(
"jFLA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"老系统用户列表"
,
routerName
:
"oldUser"
,
path
:
"/oldUser"
,
cover
:
"3-3"
,
router
:{
path
:
"/oldUser"
,
name
:
"oldUser"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
39
)]).
then
(
function
(){
var
n
=
[
t
(
"K2yr"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"用户积分列表"
,
routerName
:
"integral"
,
path
:
"/integral"
,
cover
:
"3-4"
,
router
:{
path
:
"/integral"
,
name
:
"integral"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
14
)]).
then
(
function
(){
var
n
=
[
t
(
"NDyu"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"绑定子账号列表"
,
routerName
:
"subList"
,
path
:
"/subList"
,
cover
:
"3-5"
,
router
:{
path
:
"/subList"
,
name
:
"subList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
35
)]).
then
(
function
(){
var
n
=
[
t
(
"L5jB"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"订单管理"
,
icon
:
"icon-dingdan"
,
list
:[{
value
:
"日课订单列表"
,
routerName
:
"order"
,
path
:
"/order"
,
cover
:
"5-1"
,
router
:{
path
:
"/order"
,
name
:
"order"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
8
)]).
then
(
function
(){
var
n
=
[
t
(
"2qmY"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
41
)]).
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
(
61
).
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
(
60
)]).
then
(
function
(){
var
n
=
[
t
(
"s7i+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"日课订单统计"
,
routerName
:
"dayOrderCount"
,
path
:
"/dayOrderCount"
,
cover
:
"5-11"
,
router
:{
path
:
"/dayOrderCount"
,
name
:
"dayOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
52
)]).
then
(
function
(){
var
n
=
[
t
(
"mjLz"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"优惠券列表"
,
routerName
:
"coupon"
,
path
:
"/coupon"
,
cover
:
"5-6"
,
router
:{
path
:
"/coupon"
,
name
:
"coupon"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
37
)]).
then
(
function
(){
var
n
=
[
t
(
"WvRy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"扫码入课列表"
,
routerName
:
"notBuyClass"
,
path
:
"/notBuyClass"
,
cover
:
"5-8"
,
router
:{
path
:
"/notBuyClass"
,
name
:
"notBuyClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
22
)]).
then
(
function
(){
var
n
=
[
t
(
"E6Zo"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部订单列表"
,
routerName
:
"yunji"
,
path
:
"/yunji"
,
cover
:
"5-9"
,
router
:{
path
:
"/yunji"
,
name
:
"yunji"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
16
)]).
then
(
function
(){
var
n
=
[
t
(
"69L+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"兑换码管理"
,
routerName
:
"exchange"
,
path
:
"/exchange"
,
cover
:
"5-13"
,
router
:{
path
:
"/exchange"
,
name
:
"exchange"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
12
)]).
then
(
function
(){
var
n
=
[
t
(
"CvLZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"数据管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"市场招生列表"
,
routerName
:
"marketEnrollmentConversionList"
,
path
:
"/marketEnrollmentConversionList"
,
cover
:
"9-8"
,
router
:{
path
:
"/marketEnrollmentConversionList"
,
name
:
"marketEnrollmentConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
57
)]).
then
(
function
(){
var
n
=
[
t
(
"lWjU"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"渠道转化数据"
,
routerName
:
"channelConversionList"
,
path
:
"/channelConversionList"
,
cover
:
"9-3"
,
router
:{
path
:
"/channelConversionList"
,
name
:
"channelConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
43
)]).
then
(
function
(){
var
n
=
[
t
(
"h0PA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"渠道分商品转化数据"
,
routerName
:
"channelGoodsConversionList"
,
path
:
"/channelGoodsConversionList"
,
cover
:
"9-2"
,
router
:{
path
:
"/channelGoodsConversionList"
,
name
:
"channelGoodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
42
)]).
then
(
function
(){
var
n
=
[
t
(
"G/kT"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"期数转化数据"
,
routerName
:
"periodsConversionList"
,
path
:
"/periodsConversionList"
,
cover
:
"9-4"
,
router
:{
path
:
"/periodsConversionList"
,
name
:
"periodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
53
)]).
then
(
function
(){
var
n
=
[
t
(
"+Xua"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"销售小组数据"
,
routerName
:
"squadConversionList"
,
path
:
"/squadConversionList"
,
cover
:
"9-5"
,
router
:{
path
:
"/squadConversionList"
,
name
:
"squadConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
49
)]).
then
(
function
(){
var
n
=
[
t
(
"M7X6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"班主任转化数据"
,
routerName
:
"teacherConversionList"
,
path
:
"/teacherConversionList"
,
cover
:
"9-6"
,
router
:{
path
:
"/teacherConversionList"
,
name
:
"teacherConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
58
)]).
then
(
function
(){
var
n
=
[
t
(
"6yV8"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"各期数班主任转化数据"
,
routerName
:
"teacherPeriodsConversionList"
,
path
:
"/teacherPeriodsConversionList"
,
cover
:
"9-7"
,
router
:{
path
:
"/teacherPeriodsConversionList"
,
name
:
"teacherPeriodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
63
)]).
then
(
function
(){
var
n
=
[
t
(
"TtuZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"明细数据列表"
,
routerName
:
"channelTransList"
,
path
:
"/channelTransList"
,
cover
:
"9-1"
,
router
:{
path
:
"/channelTransList"
,
name
:
"channelTransList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
44
)]).
then
(
function
(){
var
n
=
[
t
(
"XXYb"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"实物管理"
,
icon
:
"icon-shu"
,
list
:[{
value
:
"单品列表"
,
routerName
:
"single"
,
path
:
"/single"
,
cover
:
"6-1"
,
router
:{
path
:
"/single"
,
name
:
"single"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
21
)]).
then
(
function
(){
var
n
=
[
t
(
"B31M"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"盒子列表"
,
routerName
:
"box"
,
path
:
"/box"
,
cover
:
"6-2"
,
router
:{
path
:
"/box"
,
name
:
"box"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
18
)]).
then
(
function
(){
var
n
=
[
t
(
"+vCD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"待发货列表"
,
routerName
:
"logistics"
,
path
:
"/logistics"
,
cover
:
"6-3"
,
router
:{
path
:
"/logistics"
,
name
:
"logistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
23
)]).
then
(
function
(){
var
n
=
[
t
(
"eYh/"
)];
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
(
19
)]).
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
(
20
)]).
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
(
27
)]).
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
(
28
)]).
then
(
function
(){
var
n
=
[
t
(
"Xhqp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"二维码管理"
,
routerName
:
"qrcode"
,
path
:
"/qrcode"
,
cover
:
"7-6"
,
router
:{
path
:
"/qrcode"
,
name
:
"qrcode"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
17
)]).
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
(
10
)]).
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
(
64
)]).
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
(
65
)]).
then
(
function
(){
var
n
=
[
t
(
"5t3x"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"测试"
,
routerName
:
"test"
,
path
:
"/test"
,
cover
:
"7-11"
,
router
:{
path
:
"/test"
,
name
:
"test"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
32
)]).
then
(
function
(){
var
n
=
[
t
(
"9ZSL"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"系统管理"
,
icon
:
"icon-xitongquanxian"
,
list
:[{
value
:
"首页管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"7-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
36
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"7-9"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
56
)]).
then
(
function
(){
var
n
=
[
t
(
"NrkQ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"来源码管理"
,
routerName
:
"sourceManage"
,
path
:
"/sourceManage"
,
cover
:
"10-1"
,
router
:{
path
:
"/sourceManage"
,
name
:
"sourceManage"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
38
)]).
then
(
function
(){
var
n
=
[
t
(
"/ubI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"短信发送记录"
,
routerName
:
"smsRecord"
,
path
:
"/smsRecord"
,
cover
:
"10-2"
,
router
:{
path
:
"/smsRecord"
,
name
:
"smsRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
30
)]).
then
(
function
(){
var
n
=
[
t
(
"qjS+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
55
)]).
then
(
function
(){
var
n
=
[
t
(
"TPCG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"后台管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"账号管理"
,
routerName
:
"admin"
,
path
:
"/admin"
,
cover
:
"8-1"
,
router
:{
path
:
"/admin"
,
name
:
"admin"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
48
)]).
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
(
47
)]).
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
(
66
)]).
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
(
33
)]).
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
(
45
)]).
then
(
function
(){
var
n
=
[
t
(
"WZgi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]}],
a
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
n
=
this
.
$store
.
state
.
progressList
;
console
.
log
(
this
.
$store
.
state
);
var
a
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
11
)]).
then
(
function
(){
var
n
=
[
t
(
"9PRC"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},
i
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
6
)]).
then
(
function
(){
var
n
=
[
t
(
"hFUZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}};
o
.
forEach
(
function
(
t
){
var
o
=!
1
,
u
=
[];
t
.
list
.
forEach
(
function
(
t
){
var
a
=
n
.
find
(
function
(
e
){
return
e
.
cover
===
t
.
cover
});
a
&&
(
t
.
router
.
meta
=
{},
t
.
router
.
meta
.
readonly
=!!
a
.
readonly
,
t
.
router
.
meta
.
delete
=!!
a
.
delete
,
t
.
router
.
meta
.
export
=!!
a
.
export
,
t
.
router
.
meta
.
refund
=!!
a
.
refund
,
t
.
router
.
meta
.
distribution
=!!
a
.
distribution
,
t
.
router
.
meta
.
classManage
=!!
a
.
classManage
,
t
.
router
.
meta
.
classManageUnlimited
=!!
a
.
classManageUnlimited
,
t
.
router
.
meta
.
classTakeUnlimited
=!!
a
.
classTakeUnlimited
,
t
.
router
.
meta
.
promoter
=!!
a
.
promoter
,
u
.
push
(
t
),
"3-1"
===
a
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
a
.
readonly
,
i
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
"3-2"
===
a
.
cover
&&
(
r
.
meta
=
{},
r
.
meta
.
readonly
=
a
.
readonly
,
r
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
r
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
t
.
router
),
o
=!
0
)}),
o
&&
(
t
.
list
=
u
,
a
.
push
(
t
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
a
)}}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
i
=
t
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
e
){
t
(
"/Bbx"
)},
null
,
null
).
exports
,
u
=
t
(
"lRwf"
),
c
=
t
.
n
(
u
),
s
=
t
(
"YaEn"
),
l
=
t
(
"IcnI"
),
h
=
t
(
"zL8q"
),
m
=
t
.
n
(
h
);
c
.
a
.
use
(
m
.
a
),
c
.
a
.
config
.
productionTip
=!
1
,
new
c
.
a
({
el
:
"#app"
,
store
:
l
.
a
,
router
:
s
.
a
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
OMN4
:
function
(
e
,
n
){
e
.
exports
=
axios
},
YaEn
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"IcnI"
),
a
=
t
(
"/ocq"
),
r
=
t
(
"zSLJ"
),
i
=
new
a
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
7
)]).
then
(
function
(){
var
n
=
[
t
(
"jHcp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
t
.
e
(
31
).
then
(
function
(){
var
n
=
[
t
(
"sJm1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
46
)]).
then
(
function
(){
var
n
=
[
t
(
"0HId"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/register"
,
name
:
"register"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
50
)]).
then
(
function
(){
var
n
=
[
t
(
"90Fj"
)];
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
(
62
)]).
then
(
function
(){
var
n
=
[
t
(
"hLMI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
59
)]).
then
(
function
(){
var
n
=
[
t
(
"iPJD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/newLesson"
,
name
:
"newLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
3
)]).
then
(
function
(){
var
n
=
[
t
(
"4t0V"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
i
.
beforeEach
(
function
(
e
,
n
,
t
){
if
(
o
.
a
.
commit
(
"mainCanShow"
),
r
.
a
.
get
(
"cc_token"
)
&&
(
o
.
a
.
dispatch
(
"setToken"
,
r
.
a
.
get
(
"cc_token"
)),
o
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
r
.
a
.
get
(
"cc_user_name"
)
&&
o
.
a
.
dispatch
(
"setUserName"
,
r
.
a
.
get
(
"cc_user_name"
))),
o
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
a
=
void
0
,
i
=
0
;
i
<
o
.
a
.
state
.
menuList
.
length
;
i
++
)
for
(
var
u
=
o
.
a
.
state
.
menuList
[
i
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
s
=
u
.
list
[
c
];
s
.
path
===
e
.
path
&&
(
a
=
s
)}
o
.
a
.
state
.
openedTab
.
indexOf
(
a
)
<
0
&&
o
.
a
.
state
.
openedTab
.
push
(
a
)}
if
(
e
.
meta
.
readonly
?
o
.
a
.
dispatch
(
"readonly"
,
!
0
):
o
.
a
.
dispatch
(
"readonly"
,
!
1
),
o
.
a
.
state
.
orderRefund
=
e
.
meta
.
refund
,
o
.
a
.
state
.
export
=
e
.
meta
.
export
,
o
.
a
.
state
.
distribution
=
e
.
meta
.
distribution
,
o
.
a
.
state
.
classManage
=
e
.
meta
.
classManage
,
o
.
a
.
dispatch
(
"promoter"
,
e
.
meta
.
promoter
),
o
.
a
.
dispatch
(
"classManageUnlimited"
,
e
.
meta
.
classManageUnlimited
),
o
.
a
.
dispatch
(
"classTakeUnlimited"
,
e
.
meta
.
classTakeUnlimited
),
console
.
log
(
e
.
meta
),
"userDetail"
===
e
.
name
){
var
l
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
o
.
a
.
dispatch
(
"readonly"
,
l
)}
e
.
meta
.
delete
?
o
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
o
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
o
.
a
.
state
.
token
?
t
({
path
:
"/login"
}):
t
()}),
i
.
onError
(
function
(
e
){
var
n
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
t
=
i
.
history
.
pending
.
fullPath
;
n
&&
i
.
replace
(
t
)}),
n
.
a
=
i
},
lRwf
:
function
(
e
,
n
){
e
.
exports
=
Vue
},
zSLJ
:
function
(
e
,
n
,
t
){
"use strict"
;
n
.
a
=
{
set
:
function
(
e
,
n
,
t
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
t
),
window
.
document
.
cookie
=
e
+
"="
+
n
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
n
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
n
?
n
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.24c98417382aa6745ad8.js
0 → 100644
View file @
84feb7b2
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
69
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"e873fe1445eecfdd8b41"
,
1
:
"9ca15b2cd835acbf3996"
,
2
:
"6e1cb6232134de4052f1"
,
3
:
"af3d62cd45bd72d7307d"
,
4
:
"238867bab3a2bdc17f6c"
,
5
:
"852cb46fc629c79ddc4a"
,
6
:
"87cc5d3d74bf551e2118"
,
7
:
"e9ef802a955a636f31cf"
,
8
:
"48f38322a9460d5f8278"
,
9
:
"42e8ba54f322dc10e413"
,
10
:
"a238853b1fa6c77378ca"
,
11
:
"1b4817c499e9fa7de24c"
,
12
:
"d6f5911bee9929689e3b"
,
13
:
"17db775913681bdbc154"
,
14
:
"3992558942211f2fc0fe"
,
15
:
"85a81db8f6419820a428"
,
16
:
"97ac779edc0504eb6fb2"
,
17
:
"ba1377397ade15fe0eba"
,
18
:
"5d9ad60beaf0433331d4"
,
19
:
"a6518c4c60ba6dd4975f"
,
20
:
"e0e156cc76047c7ae7c4"
,
21
:
"3a86be592c00eba7e0a4"
,
22
:
"f0759a003a4ce170bba3"
,
23
:
"ef1b27caebc2df254db1"
,
24
:
"a54ed0d812d1b4a94fb0"
,
25
:
"14c2592d91ff7403723d"
,
26
:
"aeef8c99b6902baafa89"
,
27
:
"570fad63025264f72f4e"
,
28
:
"03b295eef2aaf7105561"
,
29
:
"b99b833ddc9b9402bb10"
,
30
:
"15037abbbdbc5b686059"
,
31
:
"1c3f1b652018be655519"
,
32
:
"41e8421af8fa0a679b5f"
,
33
:
"6fbbde3c7f739071c7b8"
,
34
:
"aa76273377d065618bbb"
,
35
:
"d39edd09c62a75409b8d"
,
36
:
"b7d01ad3dd58ba9ecb57"
,
37
:
"9416f3204220b4455acc"
,
38
:
"e36a5d7a23ebf978dc59"
,
39
:
"efd14ef621ca6c12f712"
,
40
:
"672bfec1ef4b9cf6d2d7"
,
41
:
"c13e1ce397130139919a"
,
42
:
"84e8adf1f8af495598c5"
,
43
:
"c3c8d6440aa033674fa6"
,
44
:
"693c7ea53bd903c67c2d"
,
45
:
"840f7455cd16a9240f98"
,
46
:
"6ee514487978a436a601"
,
47
:
"db37df37e9f27c7ea39d"
,
48
:
"a853b1b9a91fcc73f287"
,
49
:
"c625b30373d294eea57e"
,
50
:
"7d26e087a50c5583f136"
,
51
:
"115798ae44b3d67cae4d"
,
52
:
"0d1ff7141203f7a226a6"
,
53
:
"ddfd301eceb159fc3949"
,
54
:
"606b8dcce6afdc2c8a2a"
,
55
:
"2f613c0244b9db5d641c"
,
56
:
"7fd765a9d3c3560f06ec"
,
57
:
"1085749382f7829b2dd7"
,
58
:
"17486c8f57622a61def1"
,
59
:
"5eb48cd47e72f50753bf"
,
60
:
"ec57c2df8d83599ebec2"
,
61
:
"a90df80c2107d86bccd1"
,
62
:
"b4bc78e1a33061fec48b"
,
63
:
"6afc14a102a04334b255"
,
64
:
"399f8679c64d6c518c88"
,
65
:
"6a74f4cbe19933a7a3cd"
,
66
:
"0e0d2f0d4fd4916a2f91"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/login/index.vue
View file @
84feb7b2
...
...
@@ -11,7 +11,10 @@
</el-form-item>
<el-form-item>
<el-button
class=
"btn"
size=
"medium"
type=
"primary"
@
click=
"submitForm"
>
登陆
</el-button>
<el-button
class=
"fr"
size=
"medium"
type=
"success"
@
click=
"goRegister"
>
去注册
</el-button>
<router-link
class=
"fr"
:to=
"
{name:'register'}" >
班主任注册入口
</router-link>
<!--
<el-button
class=
"fr"
size=
"medium"
type=
"success"
@
click=
"goRegister"
>
去注册
</el-button>
-->
</el-form-item>
</el-form>
</div>
...
...
@@ -125,6 +128,6 @@ export default {
font-size: 26px;
text-shadow: 6px 6px 3px rgba(49, 49, 49, 0.5);
}
.fr{float: right;margin-top: 10px;
margin-right: 110px;
}
.fr{float: right;margin-top: 10px;}
}
</
style
>
src/components/register/index.vue
View file @
84feb7b2
<
template
>
<div
class=
"login"
>
<div
class=
"wrap-main"
>
<h1
class=
"title"
>
注册
</h1>
<h1
class=
"title"
>
班主任
注册
</h1>
<el-form
:model=
"login"
:rules=
"loginRules"
ref=
"loginForm"
>
<el-form-item
prop=
"take_class_mobile"
>
<el-input
v-model=
"login.take_class_mobile"
placeholder=
"带班手机号"
></el-input>
...
...
@@ -13,14 +13,14 @@
<el-input
type=
"password"
v-model=
"login.password"
placeholder=
"密码"
></el-input>
</el-form-item>
<el-form-item
prop=
"id_number"
>
<el-input
v-model=
"login.id_number"
placeholder=
"身份证号"
></el-input>
<el-input
v-model=
"login.id_number"
maxlength=
"18"
placeholder=
"身份证号"
></el-input>
</el-form-item>
<el-form-item
prop=
"verify_code"
>
<el-input
v-model=
"login.verify_code"
placeholder=
"验证码"
></el-input>
</el-form-item>
<el-form-item>
<el-button
class=
"btn"
size=
"medium"
type=
"success"
@
click=
"submitForm"
>
注册
</el-button>
<el-button
class=
"btn"
size=
"medium"
type=
"primary"
:disabled=
'disable'
plain
style=
"margin-top:20px;"
@
click=
"getCode"
>
{{
texT
}}
</el-button>
<el-button
class=
"btn
code
"
size=
"medium"
type=
"primary"
:disabled=
'disable'
plain
style=
"margin-top:20px;"
@
click=
"getCode"
>
{{
texT
}}
</el-button>
</el-form-item>
</el-form>
</div>
...
...
@@ -127,7 +127,7 @@
.wrap-main{
width: 300px;
height: 380px;
padding:50px
2
0px;
padding:50px
4
0px;
border-radius: 5px;
box-shadow: 8px 8px 15px rgba(49, 49, 49, 0.5);
position: fixed;
...
...
@@ -151,5 +151,12 @@
font-size: 26px;
text-shadow: 6px 6px 3px rgba(49, 49, 49, 0.5);
}
.code{
position: absolute;
top: -80px;
width: 120px;
right: 1px;
text-align: center;
}
}
</
style
>
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