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
f5fa9f85
Commit
f5fa9f85
authored
Jun 27, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
627
parent
d77a3c05
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
1 deletion
+9
-1
index.html
dist/index.html
+1
-1
app.9b734f42aaeeefeb93e9fe3dd447e753.css
dist/static/css/app.9b734f42aaeeefeb93e9fe3dd447e753.css
+1
-0
16.632f925ae0ce22dbf5e9.js
dist/static/js/16.632f925ae0ce22dbf5e9.js
+1
-0
17.5cd63f0082a466bafe3a.js
dist/static/js/17.5cd63f0082a466bafe3a.js
+1
-0
18.a4b305e6f833d592a923.js
dist/static/js/18.a4b305e6f833d592a923.js
+1
-0
4.6df418af1d713afa95cf.js
dist/static/js/4.6df418af1d713afa95cf.js
+1
-0
5.85cc40c02bb31eb5544a.js
dist/static/js/5.85cc40c02bb31eb5544a.js
+1
-0
app.5263660459872efb6c34.js
dist/static/js/app.5263660459872efb6c34.js
+1
-0
manifest.2c72d9f73563e0361cc4.js
dist/static/js/manifest.2c72d9f73563e0361cc4.js
+1
-0
No files found.
dist/index.html
View file @
f5fa9f85
<!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.9b
cb5d08ad41e28c588c216efb64cc07.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.4be3a060e7ccbbef862c.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6c7b37f6719c90d0cedf.js
></script><script
type=
text/javascript
src=
/static/js/app.f53a924a7870822877b0
.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.9b
734f42aaeeefeb93e9fe3dd447e753.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.2c72d9f73563e0361cc4.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6c7b37f6719c90d0cedf.js
></script><script
type=
text/javascript
src=
/static/js/app.5263660459872efb6c34
.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.9b734f42aaeeefeb93e9fe3dd447e753.css
0 → 100644
View file @
f5fa9f85
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/16.632f925ae0ce22dbf5e9.js
0 → 100644
View file @
f5fa9f85
webpackJsonp
([
16
],{
"3nmn"
:
function
(
t
,
e
){},
"9PRC"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"CCn6"
),
s
=
i
(
"kmJW"
),
o
=
i
(
"O6Rd"
),
l
=
i
(
"G2rA"
),
r
=
i
(
"kmsh"
),
n
=
i
(
"P0f4"
),
c
=
i
(
"xGts"
),
d
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{}},
watch
:{
"dialogObj.show"
:{
deep
:
!
0
,
handler
:
function
(){
console
.
log
(
this
.
dialogObj
)}}},
methods
:{
handlerAddressChange
:
function
(
t
){
if
(
t
.
province
&&
t
.
city
&&
t
.
district
){
this
.
dialogObj
.
detail
=
t
.
detail
,
this
.
dialogObj
.
province
=
t
.
province
,
this
.
dialogObj
.
city
=
t
.
city
,
this
.
dialogObj
.
receive_mobile
=
t
.
mobile
,
this
.
dialogObj
.
receive_name
=
t
.
name
;
var
e
=
c
.
a
.
filter
(
function
(
e
){
return
e
.
value
===
t
.
province
}),
i
=
e
[
0
].
children
.
filter
(
function
(
e
){
return
e
.
value
===
t
.
city
}),
a
=
i
[
0
].
children
.
filter
(
function
(
e
){
return
e
.
value
===
t
.
district
});
this
.
dialogObj
.
province_name
=
e
[
0
].
label
,
this
.
dialogObj
.
city_name
=
i
[
0
].
label
,
this
.
dialogObj
.
district_name
=
a
.
length
>
0
?
a
[
0
].
label
:
i
[
0
].
children
[
0
].
label
,
this
.
dialogObj
.
district
=
a
.
length
>
0
?
a
[
0
].
value
:
i
[
0
].
children
[
0
].
value
}},
saveAddress
:
function
(){
var
t
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
e
=
{
province_id
:
t
.
dialogObj
.
province
,
province_name
:
t
.
dialogObj
.
province_name
,
city_id
:
t
.
dialogObj
.
city
,
city
:
t
.
dialogObj
.
city_name
,
area
:
t
.
dialogObj
.
district_name
,
area_id
:
t
.
dialogObj
.
district
,
address
:
t
.
dialogObj
.
detail
,
receive_name
:
t
.
dialogObj
.
receive_name
,
receive_mobile
:
t
.
dialogObj
.
receive_mobile
,
is_del
:
t
.
dialogObj
.
is_del
};
t
.
dialogObj
.
userid
?
Object
(
a
.
a
)(
t
.
dialogObj
.
userid
,
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
t
.
dialogObj
.
show
=!
1
,
t
.
$emit
(
"reflash"
)}):
Object
(
a
.
_2
)(
t
.
dialogObj
.
id
,
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
t
.
dialogObj
.
show
=!
1
,
t
.
$emit
(
"reflash"
)})})}},
components
:{
vueAddress
:
n
.
a
},
mounted
:
function
(){
console
.
log
(
this
.
dialogObj
)}},
_
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"编辑用户收货地址"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
i
(
"vue-address"
,{
attrs
:{
province
:
t
.
dialogObj
.
province
,
city
:
t
.
dialogObj
.
city
,
district
:
t
.
dialogObj
.
district
,
detail
:
t
.
dialogObj
.
detail
,
mobile
:
t
.
dialogObj
.
receive_mobile
,
name
:
t
.
dialogObj
.
receive_name
},
on
:{
change
:
t
.
handlerAddressChange
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
dialogObj
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
saveAddress
}},[
t
.
_v
(
"保 存"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
u
=
i
(
"VU/8"
)(
d
,
_
,
!
1
,
function
(
t
){
i
(
"LXME"
)},
"data-v-680e86de"
,
null
).
exports
,
v
=
i
(
"+TkF"
),
h
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
t
=
this
;
Object
(
a
.
_93
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
}),
this
.
form
=
{
id
:
this
.
dialogObj
.
id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
?
this
.
dialogObj
.
teacher_id
:
""
}},
onSave
:
function
(){
var
t
=
this
,
e
=
{
teacher_id
:
this
.
form
.
teacher_id
?
this
.
form
.
teacher_id
:
0
};
Object
(
a
.
n
)(
this
.
form
.
id
,
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
t
.
$emit
(
"reflash"
),
t
.
dialogObj
.
show
=!
1
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
t
&&
this
.
initPage
()}}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialogObj
.
title
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
teacher_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"teacher_id"
,
e
)},
expression
:
"form.teacher_id"
}},
t
.
_l
(
t
.
teacherList
,
function
(
t
,
e
){
return
i
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
dialogObj
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSave
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
b
=
i
(
"VU/8"
)(
h
,
p
,
!
1
,
function
(
t
){
i
(
"3nmn"
)},
"data-v-a4a540ca"
,
null
).
exports
,
g
=
i
(
"0qGg"
),
f
=
i
(
"xwxU"
),
m
=
{
name
:
"index"
,
data
:
function
(){
return
{
userList
:[],
yunjiList
:[],
addressList
:[],
total
:
0
,
addressDialog
:{
show
:
!
1
},
addressParams
:{},
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
tabs
:
"periods"
,
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
nowPage
:
1
,
limit
:
5
,
id
:
""
,
detail
:{},
subDetail
:{},
subListData
:[],
periodList
:[],
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
list
:[],
userObj
:{
classId
:
""
,
title
:
""
,
show
:
!
1
},
privilegeDialog
:{
show
:
!
1
,
isAllowView
:
!
1
,
is_add_teacher
:
0
,
weight
:
0
,
id
:
""
},
descDialog
:{
show
:
!
1
,
descList
:[],
nowPage
:
1
,
limit
:
10
,
total
:
0
,
userInfo
:
null
},
lookDetail
:{
show
:
!
1
,
loading
:
!
1
,
list
:[],
nowPage
:
1
,
limit
:
10
,
total
:
0
},
isAddTeacherList
:[{
label
:
"暂未处理"
,
value
:
0
},{
label
:
"老师主动添加用户"
,
value
:
1
},{
label
:
"用户主动添加老师"
,
value
:
2
},{
label
:
"待通过"
,
value
:
3
},{
label
:
"手机号不是微信号"
,
value
:
4
},{
label
:
"用户已拒绝"
,
value
:
5
}],
sourceByDateDialogJson
:{}}},
components
:{
page
:
s
.
a
,
teacherDialog
:
b
,
UserList
:
g
.
a
,
refundDetail
:
l
.
a
,
sourceDialog
:
o
.
a
,
couponDialog
:
r
.
a
,
sourceByDateDialog
:
f
.
a
,
addressDialogC
:
u
},
props
:[
"parentDetail"
],
mounted
:
function
(){
this
.
id
=
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
this
.
getDetail
()},
watch
:{
tabs
:
function
(
t
){
"order"
===
t
&&
this
.
getUser
(),
"yunji"
===
t
&&
this
.
getyunjiOrder
(),
"address"
===
t
&&
this
.
getAddressList
(),
"subList"
===
t
&&
this
.
getUserSubAccountList
()}},
methods
:{
onUpdateAddress
:
function
(){
this
.
dialogObj
.
show
=!
1
,
this
.
getAddressList
()},
addAddress
:
function
(
t
){
this
.
addressDialog
.
userid
=
this
.
id
,
this
.
addressDialog
.
show
=!
0
},
editAddress
:
function
(
t
){
if
(
t
&&
t
.
province_name
){
var
e
=
c
.
a
.
filter
(
function
(
e
){
return
e
.
label
===
t
.
province_name
});
if
(
e
&&
e
.
length
>
0
)
if
(
this
.
addressDialog
.
province
=
t
.
province_id
?
t
.
province_id
:
e
[
0
].
value
,
t
.
city
){
var
i
=
e
[
0
].
children
.
filter
(
function
(
e
){
return
e
.
label
===
t
.
city
});
if
(
this
.
addressDialog
.
city
=
t
.
city_id
?
t
.
city_id
:
i
[
0
].
value
,
t
.
area
){
var
a
=
i
[
0
].
children
.
filter
(
function
(
e
){
return
e
.
label
===
t
.
area
});
this
.
addressDialog
.
district
=
t
.
area_id
?
t
.
area_id
:
a
[
0
].
value
}
else
this
.
addressDialog
.
district
=
""
}
else
this
.
addressDialog
.
city
=
""
;
else
this
.
addressDialog
.
province
=
""
,
this
.
addressDialog
.
district
=
""
,
this
.
addressDialog
.
city
=
""
}
else
this
.
addressDialog
.
province
=
""
,
this
.
addressDialog
.
city
=
""
,
this
.
addressDialog
.
district
=
""
;
this
.
addressDialog
.
detail
=
t
?
t
.
address
:
""
,
this
.
addressDialog
.
receive_mobile
=
t
?
t
.
receive_mobile
:
""
,
this
.
addressDialog
.
receive_name
=
t
?
t
.
receive_name
:
""
,
this
.
addressDialog
.
province_name
=
t
?
t
.
province_name
:
""
,
this
.
addressDialog
.
city_name
=
t
?
t
.
city
:
""
,
this
.
addressDialog
.
district_name
=
t
?
t
.
area
:
""
,
this
.
addressDialog
.
is_del
=
t
.
is_del
,
this
.
addressDialog
.
id
=
t
.
id
,
this
.
addressDialog
.
show
=!
0
,
console
.
log
(
this
.
addressDialog
)},
getAddressList
:
function
(){
var
t
=
this
;
Object
(
a
.
_25
)(
this
.
id
).
then
(
function
(
e
){
t
.
addressList
=
e
})},
userStatusFormatter
:
function
(
t
){
return
v
.
y
[
t
.
user_status
]},
showSourceByDate
:
function
(
t
){
this
.
sourceByDateDialogJson
=
{
periods_id
:
t
.
periods_id
,
user_id
:
t
.
user_id
,
json
:{
limit
:
10
,
page
:
0
}},
this
.
$refs
.
sourceByDateDialogDom
.
dialogShow
=!
0
},
getUserLook
:
function
(){
var
t
=
this
;
if
(
this
.
lookDetail
.
data
){
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
e
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
},
i
=
this
.
lookDetail
.
data
;
Object
(
a
.
_159
)(
i
.
periods_id
,
i
.
user_id
,
e
).
then
(
function
(
e
){
t
.
lookDetail
.
list
=
e
.
list
,
t
.
lookDetail
.
loading
=!
1
,
t
.
lookDetail
.
total
=
e
.
total
})}},
onLookDetailPageChange
:
function
(
t
){
this
.
lookDetail
.
nowPage
=
t
,
this
.
getUserLook
()},
onLookDetailSizeChange
:
function
(
t
){
this
.
lookDetail
.
limit
=
t
,
this
.
lookDetail
.
nowPage
=
1
,
this
.
getUserLook
()},
onDescDialogPageChange
:
function
(
t
){
this
.
descDialog
.
nowPage
=
t
,
this
.
getUserDescList
()},
onDescDialogSizeChange
:
function
(
t
){
this
.
descDialog
.
limit
=
t
,
this
.
descDialog
.
nowPage
=
1
,
this
.
getUserDescList
()},
showRef
:
function
(
t
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
t
.
out_trade_no
},
showCoupon
:
function
(
t
){
this
.
couponDetail
.
show
=!
0
,
this
.
couponDetail
.
order_coupon_id
=
t
.
order_coupon_id
},
showSource
:
function
(
t
){
this
.
sourceDialog
.
show
=!
0
,
this
.
sourceDialog
.
out_trade_no
=
t
.
out_trade_no
},
changeRow
:
function
(
t
,
e
){
var
i
=
this
;
this
.
list
=
[],
e
.
indexOf
(
t
)
>-
1
&&
Object
(
a
.
_70
)(
t
.
periods_id
).
then
(
function
(
e
){
t
.
arrive_course_rate
=
e
.
arrive_course_rate
,
t
.
watch_course_rate
=
e
.
watch_course_rate
,
t
.
over_course_rate
=
e
.
over_course_rate
,
t
.
work_rate
=
e
.
work_rate
,
t
.
over_work_rate
=
e
.
over_work_rate
,
t
.
clock_rate
=
e
.
clock_rate
,
t
.
over_clock_rate
=
e
.
over_clock_rate
,
t
.
transform_rate
=
e
.
transform_rate
,
i
.
list
=
[
t
]})},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getUser
()},
onSizeChange
:
function
(
t
){
this
.
nowPage
=
1
,
this
.
limit
=
t
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
user_id
:
this
.
id
,
limit
:
this
.
limit
,
page
:
this
.
nowPage
,
status
:
"1,3,4,5"
};
Object
(
a
.
_65
)(
e
).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
refundList
=
[]}),
t
.
userList
=
e
.
list
,
t
.
total
=
e
.
total
})},
getDetail
:
function
(){
var
t
=
this
;
this
.
id
&&
(
Object
(
a
.
_98
)(
this
.
id
).
then
(
function
(
e
){
t
.
detail
=
e
,
e
.
periods_list
&&
(
t
.
periodList
=
e
.
periods_list
),
console
.
log
(
e
)}),
Object
(
a
.
_87
)(
this
.
id
).
then
(
function
(
e
){
1
==
e
.
family_user
&&
(
t
.
subDetail
=
e
.
sub_user_info
)}))},
getUserSubAccountList
:
function
(){
var
t
=
this
;
Object
(
a
.
_100
)(
this
.
id
).
then
(
function
(
e
){
t
.
subListData
=
e
})},
bindTeacher
:
function
(){
var
t
=
this
.
detail
;
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"绑定老师"
,
id
:
t
.
user_id
,
teacher_id
:
t
.
teacher_id
}},
showUser
:
function
(
t
){
var
e
=
1
==
t
.
type
?
"(带班班级)"
:
"(观摩班级)"
;
console
.
log
(
t
),
this
.
userObj
=
{
classId
:
t
.
class_id
,
show
:
!
0
,
title
:
t
.
teacher_name
+
"班级用户列表"
+
e
,
teacherId
:
t
.
teacher_id
,
periods_id
:
t
.
periods_id
,
goods_id
:
t
.
goods_id
,
classPage
:
!
0
}},
editPrivilege
:
function
(
t
){
this
.
privilegeDialog
=
{
id
:
t
.
id
,
isAllowView
:
1
===
t
.
is_view_course
,
is_add_teacher
:
t
.
is_add_teacher
?
t
.
is_add_teacher
:
0
,
weight
:
t
.
weight
?
t
.
weight
:
0
,
show
:
!
0
}},
onGetUserDescList
:
function
(
t
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
userInfo
=
{
user_id
:
t
.
user_id
,
avatar
:
this
.
detail
.
avatar
,
nickname
:
this
.
detail
.
nickname
},
this
.
descDialog
.
id
=
t
.
id
,
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
,
e
=
{
page
:
this
.
descDialog
.
nowPage
,
limit
:
this
.
descDialog
.
limit
};
Object
(
a
.
_97
)(
this
.
descDialog
.
id
,
e
).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
,
t
.
descDialog
.
total
=
e
.
total
})},
userLook
:
function
(
t
){
var
e
=
this
;
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
i
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
};
this
.
lookDetail
.
data
=
{
periods_id
:
t
.
periods_id
,
user_id
:
t
.
user_id
},
Object
(
a
.
_159
)(
t
.
periods_id
,
t
.
user_id
,
i
).
then
(
function
(
t
){
e
.
lookDetail
.
list
=
t
.
list
,
e
.
lookDetail
.
loading
=!
1
,
e
.
lookDetail
.
total
=
t
.
total
})},
editComment
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
i
){
var
s
=
i
.
value
;
Object
(
a
.
m
)(
t
,{
desc
:
s
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
()})})},
changePrivilegeSub
:
function
(){
var
t
=
this
;
this
.
$confirm
(
"此操作将修改用户权限?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
e
=
{
is_view_course
:
t
.
privilegeDialog
.
isAllowView
?
1
:
0
,
is_add_teacher
:
t
.
privilegeDialog
.
is_add_teacher
,
weight
:
t
.
privilegeDialog
.
weight
};
Object
(
a
.
_157
)(
t
.
privilegeDialog
.
id
,
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
privilegeDialog
.
show
=!
1
,
t
.
getDetail
()})})},
getyunjiOrder
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
e
.
user_id
=
this
.
id
,
Object
(
a
.
_109
)(
e
).
then
(
function
(
e
){
t
.
total
=
e
.
total
,
t
.
yunjiList
=
e
.
list
?
e
.
list
:[]})}},
filters
:{
payMentFilter
:
function
(
t
){
return
"1"
==
t
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
t
){
return
"1"
==
t
.
type
?
"正式课("
+
t
.
duration
+
"个月)"
:
"试听课("
+
t
.
duration
+
"天)"
},
inviteType
:
function
(
t
){
return
v
.
k
[
t
]},
status
:
function
(
t
){
return
v
.
r
[
t
]},
buyType
:
function
(
t
){
return
v
.
b
[
t
]},
moneytFilter
:
function
(
t
){
return
t
/
100
+
"元"
},
percent
:
function
(
t
){
return
(
100
*
t
).
toFixed
(
2
)
+
"%"
},
isdel
:
function
(
t
){
return
0
==
t
?
"未删除"
:
"已删除"
}}},
w
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"user"
},[
i
(
"div"
,{
staticClass
:
"box"
},[
i
(
"el-card"
,{
staticClass
:
"user-card"
},[
i
(
"div"
,{
staticClass
:
"card-content"
},[
i
(
"div"
,{
staticClass
:
"text item"
},[
i
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
avatar
,
target
:
"_blank"
}},[
i
(
"img"
,{
attrs
:{
src
:
t
.
detail
.
avatar
}})])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"text item"
},[
i
(
"div"
,[
i
(
"label"
,[
t
.
_v
(
"用户:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
nickname
)
+
" (ID: "
+
t
.
_s
(
t
.
id
)
+
")
\n
"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"label"
,[
t
.
_v
(
"tel:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
mobile
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"label"
,[
t
.
_v
(
"生日:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
birthday
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"label"
,[
t
.
_v
(
"注册时间:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
created_at
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"label"
,[
t
.
_v
(
"最后登录:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
last_login_at
)
+
"
\n
"
)])])])]),
t
.
_v
(
" "
),
i
(
"el-card"
,{
staticClass
:
"user-card"
},[
t
.
subDetail
.
nickname
?
i
(
"div"
,{
staticClass
:
"card-content"
},[
i
(
"div"
,{
staticClass
:
"text item"
},[
i
(
"a"
,{
attrs
:{
href
:
t
.
subDetail
.
avatar
,
target
:
"_blank"
}},[
i
(
"img"
,{
attrs
:{
src
:
t
.
subDetail
.
avatar
}})])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"text item"
},[
i
(
"div"
,[
i
(
"label"
,[
t
.
_v
(
"用户:"
)]),
t
.
_v
(
t
.
_s
(
t
.
subDetail
.
nickname
)
+
" (ID: "
+
t
.
_s
(
t
.
subDetail
.
user_id
)
+
")
\n
"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"label"
,[
t
.
_v
(
"tel:"
)]),
t
.
_v
(
t
.
_s
(
t
.
subDetail
.
mobile
)
+
"
\n
"
)])])]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
subDetail
.
nickname
?
t
.
_e
():
i
(
"p"
,{
staticClass
:
"fl"
,
staticStyle
:{
clear
:
"both"
}},[
t
.
_v
(
" (暂无子账户)"
)]),
t
.
_v
(
" "
),
t
.
subDetail
.
nickname
?
i
(
"p"
,{
staticClass
:
"fl"
,
staticStyle
:{
clear
:
"both"
}},[
t
.
_v
(
" (子账户)"
)]):
t
.
_e
()])],
1
),
t
.
_v
(
" "
),
i
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
},
model
:{
value
:
t
.
tabs
,
callback
:
function
(
e
){
t
.
tabs
=
e
},
expression
:
"tabs"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
,
name
:
"periods"
}},[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
periodList
},
on
:{
"expand-change"
:
t
.
changeRow
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
}},[
i
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
arrive_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
watch_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"router-link"
,{
attrs
:{
to
:{
name
:
"class"
,
query
:{
goods_id
:
e
.
row
.
goods_id
,
periods_id
:
e
.
row
.
periods_id
}}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
periods_title
)
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
1
===
e
.
row
.
is_view_course
?
"是"
:
"否"
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"老师"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"router-link"
,{
attrs
:{
to
:
"/teacher/"
+
e
.
row
.
teacher_id
}},[
i
(
"div"
,{
staticClass
:
"f-c"
},[
i
(
"div"
,[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
teacher_qr
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
teacher_name
)
+
"
\n
"
)])])])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"加入人数"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大加入人数"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开课时间"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"400px"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
i
){
t
.
showUser
(
e
.
row
)}}},[
t
.
_v
(
" 班级成员"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"warning"
},
on
:{
click
:
function
(
i
){
t
.
editPrivilege
(
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
i
){
t
.
onGetUserDescList
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
i
){
t
.
showSourceByDate
(
e
.
row
)}}},[
t
.
_v
(
"看课情况 "
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统订单列表"
,
name
:
"order"
}},[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
userList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
user_nickname
)),
i
(
"br"
),
t
.
_v
(
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"250"
,
prop
:
"invite_id"
,
className
:
"f-c"
,
label
:
"推广人属性"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
invite_earnings
>
0
&&
0
!==
e
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
display
:
"flex"
,
color
:
"#409eff"
,
cursor
:
"pointer"
},
on
:{
click
:
function
(
i
){
t
.
showSource
(
e
.
row
)}}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
invite_avatar
}}),
t
.
_v
(
"
\n
类型:"
+
t
.
_s
(
e
.
row
.
invite_type
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
收益:"
+
t
.
_s
(
e
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
用户ID:"
+
t
.
_s
(
e
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
昵称:"
+
t
.
_s
(
e
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
手机:"
+
t
.
_s
(
e
.
row
.
invite_mobile
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
0
===
e
.
row
.
invite_earnings
&&
0
!==
e
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
invite_avatar
}}),
t
.
_v
(
"
\n
类型:"
+
t
.
_s
(
e
.
row
.
invite_type
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
收益:"
+
t
.
_s
(
e
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
用户ID:"
+
t
.
_s
(
e
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
昵称:"
+
t
.
_s
(
e
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
手机:"
+
t
.
_s
(
e
.
row
.
invite_mobile
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
0
===
e
.
row
.
invite_id
?
i
(
"div"
,[
t
.
_v
(
"
\n
无
\n
"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"优惠活动"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
===
e
.
row
.
order_coupon_id
?
i
(
"span"
,[
t
.
_v
(
"
\n
无
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
0
!==
e
.
row
.
order_coupon_id
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
t
.
showCoupon
(
e
.
row
)}}},[
t
.
_v
(
"
\n
优惠券
\n
"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
5
===
e
.
row
.
status
||
3
===
e
.
row
.
status
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
t
.
showRef
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"status"
)(
e
.
row
.
status
)))]):
t
.
_e
(),
t
.
_v
(
" "
),
5
!==
e
.
row
.
status
&&
3
!==
e
.
row
.
status
?
i
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"status"
)(
e
.
row
.
status
)))]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"实付金额"
,
width
:
"80"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneytFilter"
)(
e
.
row
.
money
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
user_address_id
&&
e
.
row
.
address_info
?
i
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
address_info
.
receive_name
)),
i
(
"br"
),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
address_info
.
receive_mobile
)),
i
(
"br"
),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
address_info
.
province_name
)
+
t
.
_s
(
e
.
row
.
address_info
.
city
)
+
t
.
_s
(
e
.
row
.
address_info
.
area
)
+
t
.
_s
(
e
.
row
.
address_info
.
address
)
+
"
\n
"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_at"
,
label
:
"购买时间"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"下单时间"
}})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"外部订单列表"
,
name
:
"yunji"
}},[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
yunjiList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"order_id"
,
width
:
"80"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"购买人"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
!==
e
.
row
.
user_id
?
i
(
"div"
,[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
),
i
(
"div"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
nickname
)),
i
(
"br"
),
t
.
_v
(
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")"
)])]):
t
.
_e
(),
t
.
_v
(
" "
),
0
===
e
.
row
.
user_id
?
i
(
"div"
,[
t
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"来源"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
invite_type
)
+
"("
+
t
.
_s
(
e
.
row
.
invite_name
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
5
===
e
.
row
.
status
||
3
===
e
.
row
.
status
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
t
.
showRef
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"status"
)(
e
.
row
.
status
)))]):
t
.
_e
(),
t
.
_v
(
" "
),
5
!==
e
.
row
.
status
&&
3
!==
e
.
row
.
status
?
i
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"status"
)(
e
.
row
.
status
)))]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
,
width
:
"70"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
money
/
100
)
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
,
width
:
"150px"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
姓名:"
+
t
.
_s
(
e
.
row
.
receiver_name
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
tel:"
+
t
.
_s
(
e
.
row
.
receiver_phone
)
+
"
\n
"
),
i
(
"br"
),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
receiver_province
)
+
" "
+
t
.
_s
(
e
.
row
.
receiver_city
)
+
" "
+
t
.
_s
(
e
.
row
.
receiver_area
)
+
" "
+
t
.
_s
(
e
.
row
.
receiver_address
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"active_at"
,
label
:
"激活时间"
,
width
:
"90"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
"0000-00-00 00:00:00"
===
e
.
row
.
active_at
?
"未激活"
:
e
.
row
.
active_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"create_time"
,
label
:
"下单时间"
,
width
:
"90"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_time"
,
label
:
"付款时间"
,
width
:
"90"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"user_status"
,
formatter
:
t
.
userStatusFormatter
,
label
:
"沟通状态"
,
width
:
"90"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}})],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"地址列表"
,
name
:
"address"
}},[
t
.
addressList
.
length
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
""
},
on
:{
click
:
function
(
e
){
t
.
addAddress
()}}},[
t
.
_v
(
"新增"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
addressList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"receive_name"
,
label
:
"收件人名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"receive_mobile"
,
label
:
"收件人手机号"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"province_name"
,
label
:
"省"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"city"
,
label
:
"市"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"area"
,
label
:
"地区名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"详细地址"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100px"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
$store
.
state
.
readonly
||
0
!=
e
.
row
.
is_del
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"warning"
},
on
:{
click
:
function
(
i
){
t
.
editAddress
(
e
.
row
)}}},[
t
.
_v
(
"编辑"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"绑定记录"
,
name
:
"subList"
}},[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
subListData
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"绑定时间"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"unbind_at"
,
label
:
"解绑时间"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"user_nickname"
,
label
:
"主账号"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"sub_user_nickname"
,
label
:
"子账号"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"teacher-dialog"
,{
attrs
:{
dialogObj
:
t
.
dialogObj
},
on
:{
reflash
:
t
.
getDetail
}}),
t
.
_v
(
" "
),
i
(
"user-list"
,{
attrs
:{
userObj
:
t
.
userObj
}}),
t
.
_v
(
" "
),
i
(
"source-dialog"
,{
attrs
:{
dialogObj
:
t
.
sourceDialog
}}),
t
.
_v
(
" "
),
i
(
"refund-detail"
,{
attrs
:{
dialogObj
:
t
.
refundDetail
}}),
t
.
_v
(
" "
),
i
(
"coupon-dialog"
,{
attrs
:{
dialogObj
:
t
.
couponDetail
}}),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
t
.
privilegeDialog
.
show
,
title
:
"编辑权限"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
privilegeDialog
,
"show"
,
e
)}}},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"是否添加老师"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
privilegeDialog
.
is_add_teacher
,
callback
:
function
(
e
){
t
.
$set
(
t
.
privilegeDialog
,
"is_add_teacher"
,
e
)},
expression
:
"privilegeDialog.is_add_teacher"
}},
t
.
_l
(
t
.
isAddTeacherList
,
function
(
t
,
e
){
return
i
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"看课权限"
}},[
i
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#13ce66"
,
"inactive-color"
:
"#ff4949"
},
model
:{
value
:
t
.
privilegeDialog
.
isAllowView
,
callback
:
function
(
e
){
t
.
$set
(
t
.
privilegeDialog
,
"isAllowView"
,
e
)},
expression
:
"privilegeDialog.isAllowView"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"意向等级"
}},[
i
(
"el-input-number"
,{
attrs
:{
min
:
0
,
step
:
1
},
model
:{
value
:
t
.
privilegeDialog
.
weight
,
callback
:
function
(
e
){
t
.
$set
(
t
.
privilegeDialog
,
"weight"
,
e
)},
expression
:
"privilegeDialog.weight"
}})],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
privilegeDialog
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
changePrivilegeSub
()}}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"address-dialogC"
,{
attrs
:{
dialogObj
:
t
.
addressDialog
},
on
:{
reflash
:
t
.
onUpdateAddress
}}),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
t
.
descDialog
.
show
,
title
:
"备注列表"
,
width
:
"60%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
descDialog
,
"show"
,
e
)}}},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
i
(
"el-form-item"
,[
i
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
editComment
(
t
.
descDialog
.
id
)}}},[
t
.
_v
(
"添加备注"
)])],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
descDialog
.
descList
}},[
i
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
t
.
descDialog
.
userInfo
?[
i
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
descDialog
.
userInfo
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
t
.
descDialog
.
userInfo
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
descDialog
.
userInfo
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"operator"
,
label
:
"备注人"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
descDialog
.
nowPage
,
total
:
t
.
descDialog
.
total
,
limit
:
t
.
descDialog
.
limit
},
on
:{
pageChange
:
t
.
onDescDialogPageChange
,
sizeChange
:
t
.
onDescDialogSizeChange
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
t
.
lookDetail
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
lookDetail
,
"show"
,
e
)}}},[
i
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
lookDetail
.
loading
,
expression
:
"lookDetail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
lookDetail
.
list
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"日期"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈看一看"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
i
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
t
.
_e
():
i
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"宝贝玩一玩"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
i
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
t
.
_e
():
i
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈秀宝贝"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
i
(
"span"
,[
i
(
"div"
,{
domProps
:{
innerHTML
:
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
}).
learn_report
)}})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
t
.
_e
():
i
(
"span"
,[
t
.
_v
(
"
\n
暂未秀宝贝
\n
"
)])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"多元趣味课"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
i
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
t
.
_e
():
i
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"分享"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
i
(
"span"
,[
t
.
_v
(
"
\n
已分享
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
t
.
_e
():
i
(
"span"
,[
t
.
_v
(
"
\n
暂未分享
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
lookDetail
.
nowPage
,
total
:
t
.
lookDetail
.
total
,
limit
:
t
.
lookDetail
.
limit
},
on
:{
pageChange
:
t
.
onLookDetailPageChange
,
sizeChange
:
t
.
onLookDetailSizeChange
}})],
1
),
t
.
_v
(
" "
),
i
(
"sourceByDateDialog"
,{
ref
:
"sourceByDateDialogDom"
,
attrs
:{
dialogObj
:
t
.
sourceByDateDialogJson
}})],
1
)},
staticRenderFns
:[]};
var
D
=
i
(
"VU/8"
)(
m
,
w
,
!
1
,
function
(
t
){
i
(
"TZNu"
),
i
(
"GHp9"
)},
"data-v-0f795398"
,
null
);
e
.
default
=
D
.
exports
},
GHp9
:
function
(
t
,
e
){},
LXME
:
function
(
t
,
e
){},
TZNu
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/17.5cd63f0082a466bafe3a.js
0 → 100644
View file @
f5fa9f85
webpackJsonp
([
17
],{
"5C8T"
:
function
(
t
,
e
){},
IxHi
:
function
(
t
,
e
){},
dyNO
:
function
(
t
,
e
){},
h9Vb
:
function
(
t
,
e
){},
lNiQ
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"CCn6"
),
n
=
i
(
"kmJW"
),
a
=
i
(
"C+jy"
),
o
=
{
name
:
"focusReplyDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
show
:
!
1
,
loading
:
!
1
,
showEmotion
:
!
1
,
total
:
0
,
nowPage
:
1
,
limit
:
3
,
id
:
null
,
form
:{
index
:
-
1
,
desc
:{}},
content
:
""
,
imageContent
:
""
,
newsContent
:
""
,
videoContent
:
""
,
voiceContent
:
""
,
type
:
"news"
,
mediaList
:[],
mediaListMock
:[],
showMedia
:
!
1
,
pickerOptions1
:{
disabledDate
:
function
(
t
){
return
!
(
t
.
getTime
()
>
Date
.
now
())}},
rules
:{
value
:[{
required
:
!
0
,
message
:
"请输入规则名称"
,
trigger
:
"change"
}],
desc
:[{
required
:
!
0
,
message
:
"请输入回复内容"
,
trigger
:
"change"
}],
qr
:[{
required
:
!
0
,
message
:
"请输入二维码"
,
trigger
:
"change"
}]},
imageList
:[],
uploadShow
:
!
0
,
uploadLinkShow
:
!
0
,
linkContent
:{
title
:
""
,
description
:
""
,
url
:
""
,
thumb_url
:
""
},
imageLinkList
:[]}},
components
:{
page
:
n
.
a
,
page2
:
n
.
a
,
page3
:
n
.
a
,
page4
:
n
.
a
,
emotion
:
a
.
a
},
mounted
:
function
(){
this
.
initDialog
()},
watch
:{},
filters
:{},
methods
:{
handleEmotion
:
function
(
t
){
this
.
content
+=
t
},
onChangeType
:
function
(
t
){
this
.
type
=
t
,
this
.
mediaList
=
[],
this
.
showMedia
=!
1
,
this
.
nowPage
=
1
},
initDialog
:
function
(){
if
(
this
.
form
.
index
=
this
.
dialogObj
.
index
,
this
.
form
.
desc
=
this
.
dialogObj
.
desc
,
-
1
===
this
.
form
.
index
)
this
.
type
=
"news"
,
this
.
newsContent
=
""
;
else
if
(
this
.
type
=
this
.
form
.
desc
.
type
,
"text"
===
this
.
type
)
this
.
content
=
this
.
form
.
desc
.
content
;
else
{
var
t
=
{
type
:
this
.
type
};
this
.
form
.
desc
.
content
&&
(
t
.
content
=
this
.
form
.
desc
.
content
),
this
.
form
.
desc
.
media_id
&&
(
t
.
media_id
=
this
.
form
.
desc
.
media_id
),
"image"
===
this
.
type
?
this
.
imageContent
=
t
:
"news"
===
this
.
type
?
this
.
newsContent
=
t
:
"voice"
===
this
.
type
?
this
.
voiceContent
=
t
:
"video"
===
this
.
type
?
this
.
videoContent
=
t
:
"link"
!==
this
.
type
&&
"news-item"
!==
this
.
type
||
(
this
.
linkContent
=
{
title
:
this
.
form
.
desc
.
title
,
description
:
this
.
form
.
desc
.
description
,
url
:
this
.
form
.
desc
.
url
,
thumb_url
:
this
.
form
.
desc
.
thumb_url
},
this
.
imageLinkList
=
[{
name
:
this
.
form
.
desc
.
thumb_url
,
url
:
this
.
form
.
desc
.
thumb_url
}])}},
close
:
function
(){
this
.
$emit
(
"changeShow"
,
!
1
)},
save
:
function
(){
var
t
=
this
.
form
;
if
(
"text"
===
this
.
type
){
if
(
!
this
.
content
)
return
void
this
.
$message
({
showClose
:
!
0
,
message
:
"请输入文本内容"
});
var
e
=
{
type
:
this
.
type
,
content
:
this
.
content
};
t
.
desc
=
e
}
else
if
(
"image"
===
this
.
type
){
if
(
!
this
.
imageContent
)
return
void
this
.
$message
({
showClose
:
!
0
,
message
:
"请选择图片"
});
t
.
desc
=
this
.
imageContent
}
else
if
(
"news"
===
this
.
type
){
if
(
!
this
.
newsContent
)
return
void
this
.
$message
({
showClose
:
!
0
,
message
:
"请选择图文"
});
t
.
desc
=
this
.
newsContent
}
else
if
(
"video"
===
this
.
type
){
if
(
!
this
.
videoContent
)
return
void
this
.
$message
({
showClose
:
!
0
,
message
:
"请选择视频"
});
t
.
desc
=
this
.
videoContent
}
else
if
(
"voice"
===
this
.
type
){
if
(
!
this
.
voiceContent
)
return
void
this
.
$message
({
showClose
:
!
0
,
message
:
"请选择视频"
});
t
.
desc
=
this
.
voiceContent
}
else
if
(
"news-item"
===
this
.
type
||
"link"
===
this
.
type
){
if
(
this
.
linkContent
.
type
=
this
.
type
,
!
this
.
linkContent
.
title
)
return
void
this
.
$message
({
showClose
:
!
0
,
message
:
"请输入标题"
});
if
(
!
this
.
linkContent
.
description
)
return
void
this
.
$message
({
showClose
:
!
0
,
message
:
"请输入描述"
});
if
(
!
this
.
linkContent
.
url
)
return
void
this
.
$message
({
showClose
:
!
0
,
message
:
"请输入跳转链接"
});
if
(
!
this
.
linkContent
.
thumb_url
)
return
void
this
.
$message
({
showClose
:
!
0
,
message
:
"请上传缩略图"
});
t
.
desc
=
this
.
linkContent
}
this
.
$emit
(
"changeShow"
,
!
1
),
this
.
$emit
(
"reflash"
,
t
)},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getMediaList
(
this
.
type
)},
getMediaList
:
function
(
t
){
var
e
=
this
,
i
=
{
type
:
t
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
loading
=!
0
,
Object
(
s
.
_60
)(
i
).
then
(
function
(
i
){
e
.
loading
=!
1
,
e
.
type
=
t
,
e
.
total
=
i
.
total_count
,
0
===
i
.
item
.
length
?(
e
.
$message
({
showClose
:
!
0
,
message
:
"暂无数据"
}),
e
.
showMedia
=!
1
):(
e
.
showMedia
=!
0
,
e
.
mediaList
=
i
.
item
)}).
catch
(
function
(){
e
.
loading
=!
1
,
e
.
showMedia
=!
1
})},
onChooseMedia
:
function
(
t
){
"news"
===
this
.
type
?
this
.
addContent
(
this
.
type
,
t
.
content
,
t
.
media_id
):
"video"
===
this
.
type
?
this
.
addContent
(
this
.
type
,
t
.
info
,
t
.
media_id
):
"voice"
===
this
.
type
?
this
.
addContent
(
this
.
type
,
t
,
t
.
media_id
):
this
.
addContent
(
this
.
type
,
t
.
url
,
t
.
media_id
),
this
.
showMedia
=!
1
},
addContent
:
function
(
t
,
e
,
i
){
var
s
=
{};
e
&&
(
s
=
{
type
:
t
,
content
:
e
}),
i
&&
(
s
.
media_id
=
i
),
"news"
===
t
?
this
.
newsContent
=
s
:
"video"
===
t
?
this
.
videoContent
=
s
:
"voice"
===
t
?
this
.
voiceContent
=
s
:
this
.
imageContent
=
s
},
uploadFile
:
function
(
t
){
var
e
=
this
;
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
t
.
file
.
uid
}),
"link"
!==
this
.
type
&&
"news-item"
!==
this
.
type
||
Object
(
s
.
_158
)({
file
:
t
.
file
,
type
:
"local"
}).
then
(
function
(
t
){
e
.
imageLinkList
=
[{
name
:
t
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
loading
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
}),
e
.
linkContent
.
thumb_url
=
"https://cdn.singsingenglish.com/"
+
t
.
url
}).
catch
(
function
(){
e
.
loading
=!
1
})},
handleAvatarSuccess
:
function
(
t
){
"link"
!==
this
.
type
&&
"news-item"
!==
this
.
type
||
(
this
.
imageLinkList
=
[{
name
:
t
.
data
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
data
.
url
}])},
beforeAvatarUpload
:
function
(){
"link"
!==
this
.
type
&&
"news-item"
!==
this
.
type
||
(
this
.
uploadLinkShow
=!
1
)},
handleRemove
:
function
(){
"link"
!==
this
.
type
&&
"news-item"
!==
this
.
type
||
(
this
.
uploadLinkShow
=!
0
)}}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"自动回复"
,
center
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"900px"
,
"append-to-body"
:
""
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
i
(
"div"
,{
staticClass
:
"focus-reply"
},[
i
(
"div"
,{
staticClass
:
"content"
},[
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"inner"
},[
i
(
"ul"
,{
staticClass
:
"weui-desktop-msg-sender__tabs"
},[
i
(
"li"
,{
staticClass
:
"weui-desktop-msg-sender__tab weui-desktop-msg-sender__tab_appmsg"
,
class
:
"news"
===
t
.
type
?
"weui-desktop-msg-sender__tab_selected"
:
""
,
on
:{
click
:
function
(
e
){
t
.
onChangeType
(
"news"
)}}},[
t
.
_v
(
"图文"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"weui-desktop-msg-sender__tab weui-desktop-msg-sender__tab_appmsg"
,
class
:
"news-item"
===
t
.
type
?
"weui-desktop-msg-sender__tab_selected"
:
""
,
on
:{
click
:
function
(
e
){
t
.
onChangeType
(
"news-item"
)}}},[
t
.
_v
(
"图文链接"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"weui-desktop-msg-sender__tab weui-desktop-msg-sender__tab_appmsg"
,
class
:
"link"
===
t
.
type
?
"weui-desktop-msg-sender__tab_selected"
:
""
,
on
:{
click
:
function
(
e
){
t
.
onChangeType
(
"link"
)}}},[
t
.
_v
(
"链接"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"weui-desktop-msg-sender__tab weui-desktop-msg-sender__tab_text"
,
class
:
"text"
===
t
.
type
?
"weui-desktop-msg-sender__tab_selected"
:
""
,
on
:{
click
:
function
(
e
){
t
.
onChangeType
(
"text"
)}}},[
t
.
_v
(
"文字"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"weui-desktop-msg-sender__tab weui-desktop-msg-sender__tab_img"
,
class
:
"image"
===
t
.
type
?
"weui-desktop-msg-sender__tab_selected"
:
""
,
on
:{
click
:
function
(
e
){
t
.
onChangeType
(
"image"
)}}},[
t
.
_v
(
"图片"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"weui-desktop-msg-sender__tab weui-desktop-msg-sender__tab_audio"
,
class
:
"voice"
===
t
.
type
?
"weui-desktop-msg-sender__tab_selected"
:
""
,
on
:{
click
:
function
(
e
){
t
.
onChangeType
(
"voice"
)}}},[
t
.
_v
(
"语音"
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"weui-desktop-msg-sender__tab weui-desktop-msg-sender__tab_video"
,
class
:
"video"
===
t
.
type
?
"weui-desktop-msg-sender__tab_selected"
:
""
,
on
:{
click
:
function
(
e
){
t
.
onChangeType
(
"video"
)}}},[
t
.
_v
(
"视频"
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"inner-bottom"
},[
"image"
===
t
.
type
?
i
(
"div"
,{
staticClass
:
"img-action"
},[
t
.
imageContent
?[
t
.
imageContent
.
content
?
i
(
"img"
,{
staticStyle
:{
"max-width"
:
"60%"
,
"margin-bottom"
:
"20px"
},
attrs
:{
src
:
t
.
imageContent
.
content
}}):
t
.
_e
()]:
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"display-b"
,
staticStyle
:{
display
:
"flex"
,
"justify-content"
:
"center"
}},[
t
.
showMedia
?
t
.
_e
():
i
(
"div"
,{
staticClass
:
"img-create-access"
},[
i
(
"a"
,{
staticClass
:
"img-create-access__link"
,
attrs
:{
href
:
"javascript:;"
},
on
:{
click
:
function
(
e
){
t
.
getMediaList
(
"image"
)}}},[
t
.
_v
(
"从素材库中选择"
)])])]),
t
.
_v
(
" "
),
t
.
showMedia
&&
t
.
mediaList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
mediaList
},
on
:{
"row-click"
:
t
.
onChooseMedia
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"a"
,{
attrs
:{
href
:
t
.
row
.
url
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticStyle
:{
width
:
"60px"
},
attrs
:{
src
:
t
.
row
.
url
}})])]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
},
model
:{
value
:
t
.
nowPage
,
callback
:
function
(
e
){
t
.
nowPage
=
e
},
expression
:
"nowPage"
}})],
1
):
t
.
_e
()],
2
):
t
.
_e
(),
t
.
_v
(
" "
),
"link"
===
t
.
type
||
"news-item"
===
t
.
type
?
i
(
"div"
,{
staticClass
:
"img-action"
},[
i
(
"el-form"
,{
ref
:
"form"
},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"标题"
}},[
i
(
"el-input"
,{
model
:{
value
:
t
.
linkContent
.
title
,
callback
:
function
(
e
){
t
.
$set
(
t
.
linkContent
,
"title"
,
e
)},
expression
:
"linkContent.title"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"描述"
}},[
i
(
"el-input"
,{
model
:{
value
:
t
.
linkContent
.
description
,
callback
:
function
(
e
){
t
.
$set
(
t
.
linkContent
,
"description"
,
e
)},
expression
:
"linkContent.description"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"跳转链接"
}},[
i
(
"el-input"
,{
model
:{
value
:
t
.
linkContent
.
url
,
callback
:
function
(
e
){
t
.
$set
(
t
.
linkContent
,
"url"
,
e
)},
expression
:
"linkContent.url"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"缩略图"
}},[
i
(
"el-upload"
,{
class
:{
disabled
:
!
t
.
uploadLinkShow
},
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
t
.
uploadFile
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"list-type"
:
"picture-card"
,
"file-list"
:
t
.
imageLinkList
,
"on-success"
:
t
.
handleAvatarSuccess
,
"on-remove"
:
t
.
handleRemove
,
limit
:
1
}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
)],
1
)],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
"news"
===
t
.
type
?
i
(
"div"
,{
staticClass
:
"img-action"
},[
t
.
newsContent
&&
t
.
newsContent
.
content
?[
i
(
"div"
,{
staticClass
:
"news-media"
},
t
.
_l
(
t
.
newsContent
.
content
.
news_item
,
function
(
e
,
s
){
return
i
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
1
===
t
.
newsContent
.
content
.
news_item
.
length
?
i
(
"div"
,{
staticClass
:
"single-cover"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
e
.
thumb_url
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"digest"
},[
t
.
_v
(
t
.
_s
(
e
.
digest
))]),
t
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
e
.
url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
预览文章
\n
"
)])]):
t
.
newsContent
.
content
.
news_item
.
length
>
1
?
i
(
"div"
,{
staticClass
:
"clear-both bottomCover"
,
staticStyle
:{
position
:
"relative"
}},[
0
===
s
?
i
(
"div"
,{
staticClass
:
"muti-cover"
},[
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
e
.
thumb_url
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"bottom-title"
},[
t
.
_v
(
t
.
_s
(
e
.
title
))])]):
i
(
"div"
,{
staticClass
:
"next-cover clear-both"
},[
i
(
"span"
,{
staticClass
:
"next-title"
},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"img"
,{
staticClass
:
"next-img"
,
attrs
:{
src
:
e
.
thumb_url
}})]),
t
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
e
.
url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
预览文章
\n
"
)])]):
t
.
_e
()])}))]:
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"display-b"
},[
t
.
showMedia
?
t
.
_e
():
i
(
"div"
,{
staticClass
:
"img-create-access"
},[
i
(
"a"
,{
staticClass
:
"img-create-access__link"
,
attrs
:{
href
:
"javascript:;"
},
on
:{
click
:
function
(
e
){
t
.
getMediaList
(
t
.
type
)}}},[
t
.
_v
(
"从素材库中选择"
)])])]),
t
.
_v
(
" "
),
t
.
showMedia
&&
t
.
mediaList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
mediaList
},
on
:{
"row-click"
:
t
.
onChooseMedia
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"图文"
,
className
:
"news-media"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
t
.
_l
(
e
.
row
.
content
.
news_item
,
function
(
s
,
n
){
return
i
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
1
===
e
.
row
.
content
.
news_item
.
length
?
i
(
"div"
,{
staticClass
:
"single-cover"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
t
.
_s
(
s
.
title
))]),
t
.
_v
(
" "
),
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
s
.
thumb_url
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"digest"
},[
t
.
_v
(
t
.
_s
(
s
.
digest
))]),
t
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
s
.
url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
预览文章
\n
"
)])]):
e
.
row
.
content
.
news_item
.
length
>
1
?
i
(
"div"
,{
staticClass
:
"clear-both bottomCover"
,
staticStyle
:{
position
:
"relative"
}},[
0
===
n
?
i
(
"div"
,{
staticClass
:
"muti-cover"
},[
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
s
.
thumb_url
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"bottom-title"
},[
t
.
_v
(
t
.
_s
(
s
.
title
))])]):
i
(
"div"
,{
staticClass
:
"next-cover clear-both"
},[
i
(
"span"
,{
staticClass
:
"next-title"
},[
t
.
_v
(
t
.
_s
(
s
.
title
))]),
t
.
_v
(
" "
),
i
(
"img"
,{
staticClass
:
"next-img"
,
attrs
:{
src
:
s
.
thumb_url
}})]),
t
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
s
.
url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
预览文章
\n
"
)])]):
t
.
_e
()])})}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page2"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
},
model
:{
value
:
t
.
nowPage
,
callback
:
function
(
e
){
t
.
nowPage
=
e
},
expression
:
"nowPage"
}})],
1
):
t
.
_e
()],
2
):
t
.
_e
(),
t
.
_v
(
" "
),
"video"
===
t
.
type
?
i
(
"div"
,{
staticClass
:
"img-action"
,
staticStyle
:{
"text-align"
:
"left"
}},[
t
.
videoContent
&&
t
.
videoContent
.
content
?[
t
.
videoContent
.
content
&&
t
.
videoContent
.
content
.
down_url
?
i
(
"a"
,{
attrs
:{
href
:
t
.
videoContent
.
content
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
videoContent
.
content
.
title
)
+
"
\n
"
)]):
t
.
_e
()]:
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"display-b"
},[
t
.
showMedia
?
t
.
_e
():
i
(
"div"
,{
staticClass
:
"img-create-access"
},[
i
(
"a"
,{
staticClass
:
"img-create-access__link"
,
attrs
:{
href
:
"javascript:;"
},
on
:{
click
:
function
(
e
){
t
.
getMediaList
(
t
.
type
)}}},[
t
.
_v
(
"从素材库中选择"
)])])]),
t
.
_v
(
" "
),
t
.
showMedia
&&
t
.
mediaList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
mediaList
},
on
:{
"row-click"
:
t
.
onChooseMedia
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
info
&&
e
.
row
.
info
.
down_url
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
info
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
info
.
title
)
+
"
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page3"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
},
model
:{
value
:
t
.
nowPage
,
callback
:
function
(
e
){
t
.
nowPage
=
e
},
expression
:
"nowPage"
}})],
1
):
t
.
_e
()],
2
):
t
.
_e
(),
t
.
_v
(
" "
),
"voice"
===
t
.
type
?
i
(
"div"
,{
staticClass
:
"img-action"
,
staticStyle
:{
"text-align"
:
"left"
}},[
t
.
voiceContent
&&
t
.
voiceContent
.
content
?[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
voiceContent
.
content
.
name
)
+
"
\n
"
)]:
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"display-b"
},[
t
.
showMedia
?
t
.
_e
():
i
(
"div"
,{
staticClass
:
"img-create-access"
},[
i
(
"a"
,{
staticClass
:
"img-create-access__link"
,
attrs
:{
href
:
"javascript:;"
},
on
:{
click
:
function
(
e
){
t
.
getMediaList
(
t
.
type
)}}},[
t
.
_v
(
"从素材库中选择"
)])])]),
t
.
_v
(
" "
),
t
.
showMedia
&&
t
.
mediaList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
mediaList
},
on
:{
"row-click"
:
t
.
onChooseMedia
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
info
&&
e
.
row
.
info
.
down_url
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
info
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
info
.
title
)
+
"
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page4"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
},
model
:{
value
:
t
.
nowPage
,
callback
:
function
(
e
){
t
.
nowPage
=
e
},
expression
:
"nowPage"
}})],
1
):
t
.
_e
()],
2
):
"text"
===
t
.
type
?
i
(
"div"
,{
staticClass
:
"inner-emotion_editor"
},[
i
(
"div"
,{
staticClass
:
"inner-edit_area"
},[
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
autosize
:{
minRows
:
4
,
maxRows
:
8
},
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
content
,
callback
:
function
(
e
){
t
.
content
=
e
},
expression
:
"content"
}})],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
float
:
"right"
}},[
i
(
"el-popover"
,{
attrs
:{
placement
:
"bottom-end"
,
width
:
"400"
,
offset
:
10
,
trigger
:
"hover"
},
model
:{
value
:
t
.
showEmotion
,
callback
:
function
(
e
){
t
.
showEmotion
=
e
},
expression
:
"showEmotion"
}},[
i
(
"div"
,[
i
(
"emotion"
,{
attrs
:{
height
:
200
},
on
:{
emotion
:
t
.
handleEmotion
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
showEmotion
=!
t
.
showEmotion
}},
slot
:
"reference"
},[
i
(
"span"
,{
staticClass
:
"icon_emotion emotion_switch"
})])],
1
)],
1
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"tool_bar"
},[
i
(
"el-button"
,{
on
:{
click
:
t
.
close
}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
staticClass
:
"weui-desktop-btn weui-desktop-btn_primary"
,
on
:{
click
:
t
.
save
}},[
t
.
_v
(
"保存"
)])],
1
)])])])])},
staticRenderFns
:[]};
var
r
=
{
props
:[
"newObj"
],
components
:{
dialogCom
:
i
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
t
){
i
(
"5C8T"
),
i
(
"IxHi"
)},
"data-v-086a2a2e"
,
null
).
exports
},
filters
:{
typeFilter
:
function
(
t
){
return
t
?
"text"
===
t
?
"文字"
:
"image"
===
t
?
"图片"
:
"news"
===
t
?
"图文"
:
"video"
===
t
?
"视频"
:
"voice"
===
t
?
"语音"
:
"link"
===
t
?
"链接"
:
"news-item"
===
t
?
"图文链接"
:
val
:
""
}},
data
:
function
(){
return
{
title
:
"新建二维码"
,
activeName
:
"autoReply"
,
form
:{
title
:
null
,
type
:
2
,
invite_code
:
null
,
status
:
0
,
end_at
:
null
,
id
:
null
},
dialogObj
:{
show
:
!
1
,
index
:
-
1
,
list
:[]},
list
:[],
pickerOptions1
:{
disabledDate
:
function
(
t
){
var
e
=
new
Date
,
i
=
new
Date
(
e
.
getFullYear
(),
e
.
getMonth
()
+
1
,
e
.
getDate
());
return
!
(
t
.
getTime
()
>
e
.
getTime
()
&&
t
.
getTime
()
<
i
.
getTime
())}},
typeOption
:[{
label
:
"临时"
,
value
:
2
},{
label
:
"永久"
,
value
:
1
}],
statusOption
:[{
label
:
"正常"
,
value
:
0
},{
label
:
"禁用"
,
value
:
1
}]}},
watch
:{
"newObj.show"
:
function
(
t
){
t
&&
this
.
initDialog
()}},
methods
:{
allowEdit
:
function
(){},
initDialog
:
function
(){
var
t
=
this
.
newObj
;
this
.
form
=
{
title
:
t
.
title
,
type
:
t
.
type
,
invite_code
:
t
.
invite_code
,
status
:
t
.
status
,
end_at
:
t
.
end_at
,
id
:
t
.
id
},
this
.
list
=
t
.
list
?
t
.
list
:[],
t
.
readFlag
&&
(
this
.
title
=
"查看二维码详情"
),
t
.
editFlag
&&
(
this
.
title
=
"编辑二维码详情"
),
t
.
readFlag
||
t
.
editFlag
||
(
this
.
title
=
"新建二维码"
)},
emotion
:
function
(
t
){
var
e
=
t
.
replace
(
/
\/
/gi
,
""
);
return
'<img src="https://res.wx.qq.com/mpres/htmledition/images/icon/emotion/'
+
[
"微笑"
,
"撇嘴"
,
"色"
,
"发呆"
,
"得意"
,
"流泪"
,
"害羞"
,
"闭嘴"
,
"睡"
,
"大哭"
,
"尴尬"
,
"发怒"
,
"调皮"
,
"呲牙"
,
"惊讶"
,
"难过"
,
"酷"
,
"冷汗"
,
"抓狂"
,
"吐"
,
"偷笑"
,
"可爱"
,
"白眼"
,
"傲慢"
,
"饥饿"
,
"困"
,
"惊恐"
,
"流汗"
,
"憨笑"
,
"大兵"
,
"奋斗"
,
"咒骂"
,
"疑问"
,
"嘘"
,
"晕"
,
"折磨"
,
"衰"
,
"骷髅"
,
"敲打"
,
"再见"
,
"擦汗"
,
"抠鼻"
,
"鼓掌"
,
"糗大了"
,
"坏笑"
,
"左哼哼"
,
"右哼哼"
,
"哈欠"
,
"鄙视"
,
"委屈"
,
"快哭了"
,
"阴险"
,
"亲亲"
,
"吓"
,
"可怜"
,
"菜刀"
,
"西瓜"
,
"啤酒"
,
"篮球"
,
"乒乓"
,
"咖啡"
,
"饭"
,
"猪头"
,
"玫瑰"
,
"凋谢"
,
"示爱"
,
"爱心"
,
"心碎"
,
"蛋糕"
,
"闪电"
,
"炸弹"
,
"刀"
,
"足球"
,
"瓢虫"
,
"便便"
,
"月亮"
,
"太阳"
,
"礼物"
,
"拥抱"
,
"强"
,
"弱"
,
"握手"
,
"胜利"
,
"抱拳"
,
"勾引"
,
"拳头"
,
"差劲"
,
"爱你"
,
"NO"
,
"OK"
,
"爱情"
,
"飞吻"
,
"跳跳"
,
"发抖"
,
"怄火"
,
"转圈"
,
"磕头"
,
"回头"
,
"跳绳"
,
"挥手"
,
"激动"
,
"街舞"
,
"献吻"
,
"左太极"
,
"右太极"
].
indexOf
(
e
)
+
'.gif" align="middle">'
},
onSave
:
function
(){
var
t
=
this
,
e
=
{
title
:
this
.
form
.
title
,
type
:
this
.
form
.
type
,
invite_code
:
"CC-SOURCE-"
+
this
.
form
.
invite_code
,
status
:
this
.
form
.
status
,
end_at
:
this
.
form
.
end_at
};
this
.
list
.
length
>
0
&&
(
e
.
auto_reply
=
JSON
.
stringify
(
this
.
list
)),
this
.
form
.
id
?
Object
(
s
.
_152
)(
this
.
form
.
id
,
e
).
then
(
function
(
e
){
t
.
$message
(
"修改成功"
),
t
.
$emit
(
"initPage"
),
t
.
form
=
{
title
:
null
,
type
:
2
,
invite_code
:
null
,
status
:
0
,
end_at
:
null
},
t
.
newObj
.
show
=!
1
,
t
.
$emit
(
"changeShow"
,
!
1
)}):
Object
(
s
.
F
)(
e
).
then
(
function
(
e
){
t
.
$message
(
"创建成功"
),
t
.
$emit
(
"initPage"
),
t
.
form
=
{
title
:
null
,
type
:
2
,
invite_code
:
null
,
status
:
0
,
end_at
:
null
},
t
.
newObj
.
show
=!
1
,
t
.
$emit
(
"changeShow"
,
!
1
)})},
changeShow
:
function
(
t
){
this
.
dialogObj
.
show
=
t
},
getReplyList
:
function
(
t
){
if
(
-
1
===
t
.
index
){
var
e
=
0
===
this
.
list
.
length
?
-
1
:
this
.
list
.
length
-
1
;
this
.
list
.
splice
(
e
+
1
,
0
,
t
.
desc
)}
else
this
.
list
.
splice
(
t
.
index
,
1
,
t
.
desc
)},
editRow
:
function
(
t
,
e
){
this
.
dialogObj
=
{
show
:
!
0
,
index
:
t
,
desc
:
this
.
list
[
t
]}},
addNew
:
function
(){
this
.
dialogObj
=
{
show
:
!
0
,
index
:
-
1
,
desc
:{}}},
onCancel
:
function
(){
this
.
newObj
.
show
=!
1
,
this
.
$emit
(
"changeShow"
,
!
1
)},
deleteRow
:
function
(
t
,
e
){
var
i
=
this
;
this
.
$confirm
(
"此操作将删除该文件, 是否继续?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
i
.
list
.
splice
(
t
,
1
)}).
catch
(
function
(){
i
.
$message
({
type
:
"success"
,
message
:
"已取消删除!"
})})},
upIndex
:
function
(
t
,
e
){
if
(
t
>
0
){
var
i
=
e
[
t
-
1
];
Vue
.
set
(
e
,
t
-
1
,
e
[
t
]),
Vue
.
set
(
e
,
t
,
i
),
this
.
$message
({
type
:
"success"
,
message
:
"操作成功!"
})}},
downIndex
:
function
(
t
,
e
){
if
(
t
<
e
.
length
-
1
){
var
i
=
e
[
t
+
1
];
Vue
.
set
(
e
,
t
+
1
,
e
[
t
]),
Vue
.
set
(
e
,
t
,
i
),
this
.
$message
({
type
:
"success"
,
message
:
"操作成功!"
})}}}},
c
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
t
.
title
,
width
:
"800px"
,
"close-on-press-escape"
:
!
1
,
"close-on-click-modal"
:
!
1
,
"show-close"
:
!
1
,
visible
:
t
.
newObj
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
newObj
,
"show"
,
e
)}}},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"100px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"名称"
}},[
i
(
"el-input"
,{
attrs
:{
disabled
:
t
.
newObj
.
readFlag
},
model
:{
value
:
t
.
form
.
title
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"title"
,
e
)},
expression
:
"form.title"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"推广码"
}},[
i
(
"el-input"
,{
attrs
:{
disabled
:
t
.
newObj
.
readFlag
||
t
.
newObj
.
editFlag
},
model
:{
value
:
t
.
form
.
invite_code
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"invite_code"
,
e
)},
expression
:
"form.invite_code"
}},[
i
(
"template"
,{
slot
:
"prepend"
},[
t
.
_v
(
"CC-SOURCE-"
)])],
2
)],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"状态"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
disabled
:
t
.
newObj
.
readFlag
},
model
:{
value
:
t
.
form
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"status"
,
e
)},
expression
:
"form.status"
}},
t
.
_l
(
t
.
statusOption
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"二维码类型"
}},[
i
(
"el-switch"
,{
attrs
:{
disabled
:
t
.
newObj
.
readFlag
||
t
.
newObj
.
editFlag
,
"active-value"
:
1
,
"inactive-value"
:
2
,
"active-text"
:
"永久"
,
"inactive-text"
:
"临时"
},
model
:{
value
:
t
.
form
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"type"
,
e
)},
expression
:
"form.type"
}}),
t
.
_v
(
" "
),
2
===
t
.
form
.
type
?
i
(
"span"
,{
staticStyle
:{
"font-size"
:
"12px"
,
color
:
"#888"
}},[
t
.
_v
(
"
\n
(最多持续一个月)
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
t
.
form
.
type
?
i
(
"span"
,{
staticStyle
:{
"font-size"
:
"12px"
,
color
:
"#888"
}},[
t
.
_v
(
"
\n
(永久二维码最多10万个)
\n
"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
2
===
t
.
form
.
type
?
i
(
"el-form-item"
,{
attrs
:{
label
:
"结束时间"
}},[
i
(
"el-date-picker"
,{
attrs
:{
disabled
:
t
.
newObj
.
readFlag
||
t
.
newObj
.
editFlag
,
type
:
"datetime"
,
"picker-options"
:
t
.
pickerOptions1
,
format
:
"yyyy-MM-dd HH:mm:ss"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
placeholder
:
"选择日期"
},
model
:{
value
:
t
.
form
.
end_at
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"end_at"
,
e
)},
expression
:
"form.end_at"
}})],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"自动回复"
,
name
:
"autoReply"
}},[
t
.
newObj
.
readFlag
?
t
.
_e
():
i
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
on
:{
click
:
t
.
addNew
}},[
t
.
_v
(
"添加+"
)]),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
,
"max-height"
:
"800"
}},[
i
(
"el-table-column"
,{
attrs
:{
fixed
:
""
,
label
:
"类型"
,
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"typeFilter"
)(
e
.
row
.
type
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"内容"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
"text"
===
e
.
row
.
type
?
i
(
"div"
,{
domProps
:{
innerHTML
:
t
.
_s
(
e
.
row
.
content
.
replace
(
/
\/[\u
4E00-
\u
9FA5
]{1,3}
/gi
,
t
.
emotion
))}}):
"image"
===
e
.
row
.
type
&&
e
.
row
.
content
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
content
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticClass
:
"shotcut"
,
attrs
:{
src
:
e
.
row
.
content
}})]):
"video"
===
e
.
row
.
type
?
i
(
"div"
,[
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
content
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
content
.
title
))])]):
"voice"
===
e
.
row
.
type
?
i
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
content
.
name
)
+
"
\n
"
)]):
"voice"
===
e
.
row
.
type
?
i
(
"div"
,[
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
content
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
content
.
title
))])]):
"news"
===
e
.
row
.
type
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"news-media"
},
t
.
_l
(
e
.
row
.
content
.
news_item
,
function
(
s
,
n
){
return
i
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
1
===
e
.
row
.
content
.
news_item
.
length
?
i
(
"div"
,{
staticClass
:
"single-cover"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
t
.
_s
(
s
.
title
))]),
t
.
_v
(
" "
),
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
s
.
thumb_url
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"digest"
},[
t
.
_v
(
t
.
_s
(
s
.
digest
))]),
t
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
s
.
url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
预览文章
\n
"
)])]):
e
.
row
.
content
.
news_item
.
length
>
1
?
i
(
"div"
,{
staticClass
:
"clear-both bottomCover"
,
staticStyle
:{
position
:
"relative"
}},[
0
===
n
?
i
(
"div"
,{
staticClass
:
"muti-cover"
},[
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
s
.
thumb_url
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"bottom-title"
},[
t
.
_v
(
t
.
_s
(
s
.
title
))])]):
i
(
"div"
,{
staticClass
:
"next-cover clear-both"
},[
i
(
"span"
,{
staticClass
:
"next-title"
},[
t
.
_v
(
t
.
_s
(
s
.
title
))]),
t
.
_v
(
" "
),
i
(
"img"
,{
staticClass
:
"next-img"
,
attrs
:{
src
:
s
.
thumb_url
}})]),
t
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
s
.
url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
预览文章
\n
"
)])]):
t
.
_e
()])}))]):
"link"
===
e
.
row
.
type
?
i
(
"div"
,{
staticClass
:
"news-media"
,
staticStyle
:{
display
:
"inline-block"
,
width
:
"150px"
}},[
i
(
"el-card"
,{
attrs
:{
"body-style"
:{
padding
:
"0px"
}}},[
i
(
"a"
,{
staticStyle
:{
position
:
"relative"
,
color
:
"#333"
,
"text-decoration"
:
"none"
},
attrs
:{
href
:
e
.
row
.
url
,
target
:
"_blank"
}},[
i
(
"div"
,{
staticClass
:
"ellip"
,
staticStyle
:{
margin
:
"3px"
,
"line-height"
:
"2"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"f-bt"
,
staticStyle
:{
position
:
"relative"
}},[
i
(
"div"
,{
staticStyle
:{
color
:
"#666"
,
"margin-left"
:
"3px"
,
"word-wrap"
:
"break-word"
,
"word-break"
:
"break-all"
,
width
:
"60%"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
description
))]),
t
.
_v
(
" "
),
i
(
"img"
,{
staticStyle
:{
width
:
"35%"
,
height
:
"auto"
},
attrs
:{
src
:
e
.
row
.
thumb_url
}})])])])],
1
):
"news-item"
===
e
.
row
.
type
?
i
(
"div"
,{
staticClass
:
"news-media"
,
staticStyle
:{
width
:
"150px"
}},[
i
(
"el-card"
,{
attrs
:{
"body-style"
:{
padding
:
"0px"
}}},[
i
(
"a"
,{
staticStyle
:{
position
:
"relative"
,
color
:
"#333"
,
"text-decoration"
:
"none"
},
attrs
:{
href
:
e
.
row
.
url
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
height
:
"auto"
},
attrs
:{
src
:
e
.
row
.
thumb_url
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"ellip"
,
staticStyle
:{
margin
:
"3px"
,
"line-height"
:
"2"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
color
:
"#666"
,
width
:
"63%"
,
"word-break"
:
"break-all"
,
"word-wrap"
:
"break-word"
,
"line-height"
:
"1"
}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
description
))])])])],
1
):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
t
.
newObj
.
readFlag
||
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
fixed
:
"right"
,
label
:
"操作"
,
width
:
"200"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
nativeOn
:{
click
:
function
(
i
){
i
.
preventDefault
(),
t
.
editRow
(
e
.
$index
,
t
.
list
)}}},[
t
.
_v
(
"
\n
编辑
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
deletePermission
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
nativeOn
:{
click
:
function
(
i
){
i
.
preventDefault
(),
t
.
deleteRow
(
e
.
$index
,
t
.
list
)}}},[
t
.
_v
(
"
\n
移除
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"i"
,{
staticClass
:
"iconfont icon-shangyi"
,
staticStyle
:{
cursor
:
"pointer"
,
color
:
"#409EFF"
,
"margin-left"
:
"10px"
},
on
:{
click
:
function
(
i
){
t
.
upIndex
(
e
.
$index
,
t
.
list
)}}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"i"
,{
staticClass
:
"iconfont icon-xiayi"
,
staticStyle
:{
cursor
:
"pointer"
,
color
:
"#409EFF"
},
on
:{
click
:
function
(
i
){
t
.
downIndex
(
e
.
$index
,
t
.
list
)}}})]}}])})],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
t
.
newObj
.
readFlag
?
t
.
_e
():
i
(
"el-button"
,{
on
:{
click
:
t
.
onCancel
}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
t
.
newObj
.
readFlag
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSave
}},[
t
.
_v
(
"确 定"
)]),
t
.
_v
(
" "
),
t
.
newObj
.
readFlag
?
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onCancel
}},[
t
.
_v
(
"确 定"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
t
.
dialogObj
.
show
?
i
(
"dialog-com"
,{
attrs
:{
dialogObj
:
t
.
dialogObj
},
on
:{
changeShow
:
t
.
changeShow
,
reflash
:
t
.
getReplyList
}}):
t
.
_e
()],
1
)},
staticRenderFns
:[]};
var
d
=
i
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
i
(
"dyNO"
)},
"data-v-b3aeffb8"
,
null
).
exports
,
u
=
i
(
"+TkF"
),
m
=
{
name
:
"index"
,
filters
:{
qrType
:
function
(
t
){
return
u
.
v
[
t
]},
qrStatus
:
function
(
t
){
return
u
.
u
[
t
]},
qrCodeType
:
function
(
t
){
return
u
.
t
[
t
]}},
data
:
function
(){
return
{
newObj
:{
show
:
!
1
},
list
:[],
limit
:
10
,
nowPage
:
1
,
typeOption
:[{
label
:
"请选择"
,
value
:
""
},{
label
:
"永久"
,
value
:
1
},{
label
:
"临时"
,
value
:
2
}],
code_typeOption
:[{
label
:
"请选择"
,
value
:
""
},{
label
:
"渠道"
,
value
:
1
},{
label
:
"用户"
,
value
:
2
}],
statusOption
:[{
label
:
"请选择"
,
value
:
""
},{
label
:
"正常"
,
value
:
0
},{
label
:
"禁用"
,
value
:
1
}],
total
:
0
,
searchFrom
:{
title
:
""
,
type
:
""
,
code_type
:
""
,
status
:
""
}}},
components
:{
dialogDiv
:
d
,
page
:
n
.
a
},
mounted
:
function
(){
this
.
initPage
()},
methods
:{
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
initPage
()},
onSizeChange
:
function
(
t
){
this
.
nowPage
=
1
,
this
.
limit
=
t
,
this
.
initPage
()},
initPage
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
title
&&
(
e
.
title
=
this
.
searchFrom
.
title
),
this
.
searchFrom
.
type
&&
(
e
.
type
=
this
.
searchFrom
.
type
),
this
.
searchFrom
.
code_type
&&
(
e
.
code_type
=
this
.
searchFrom
.
code_type
),
this
.
searchFrom
.
status
&&
(
e
.
status
=
this
.
searchFrom
.
status
),
Object
(
s
.
_74
)(
e
).
then
(
function
(
e
){
t
.
list
=
e
?
e
.
list
:[],
t
.
total
=
e
?
e
.
total
:
0
})},
newQrcode
:
function
(){
this
.
newObj
=
{
show
:
!
0
,
title
:
null
,
type
:
2
,
invite_code
:
null
,
status
:
0
,
end_at
:
null
}},
editRow
:
function
(
t
,
e
){
var
i
=
this
,
n
=
e
[
t
];
Object
(
s
.
_73
)(
n
.
id
).
then
(
function
(
t
){
i
.
newObj
=
{
title
:
t
.
title
,
type
:
t
.
type
,
invite_code
:
t
.
invite_code
?
t
.
invite_code
.
split
(
"-"
)[
2
]:
""
,
status
:
t
.
status
,
end_at
:
t
.
end_at
,
id
:
n
.
id
},
t
.
auto_reply
&&
(
i
.
newObj
.
list
=
JSON
.
parse
(
t
.
auto_reply
)),
i
.
newObj
.
editFlag
=!
0
,
i
.
newObj
.
show
=!
0
})},
editComment
:
function
(
t
,
e
){
var
i
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
e
[
t
].
desc
?
e
[
t
].
desc
:
""
}).
then
(
function
(
n
){
var
a
=
n
.
value
;
Object
(
s
.
_153
)(
e
[
t
].
id
,{
desc
:
a
}).
then
(
function
(
t
){
i
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
i
.
initPage
()})})},
detail
:
function
(
t
,
e
){
var
i
=
this
,
n
=
e
[
t
];
Object
(
s
.
_73
)(
n
.
id
).
then
(
function
(
t
){
i
.
newObj
=
{
title
:
t
.
title
,
type
:
t
.
type
,
invite_code
:
t
.
invite_code
?
t
.
invite_code
.
split
(
"-"
)[
2
]:
""
,
status
:
t
.
status
,
end_at
:
t
.
end_at
,
id
:
n
.
id
},
t
.
auto_reply
&&
(
i
.
newObj
.
list
=
JSON
.
parse
(
t
.
auto_reply
)),
i
.
newObj
.
readFlag
=!
0
,
i
.
newObj
.
show
=!
0
})},
changeShow
:
function
(
t
){
this
.
newObj
=
{
show
:
!
1
,
title
:
null
,
type
:
2
,
invite_code
:
null
,
status
:
0
,
end_at
:
null
}},
getQrCodeDetail
:
function
(
t
){
Object
(
s
.
_73
)(
t
).
then
(
function
(
t
){})}}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"qrcode"
},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"100px"
,
inline
:
""
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"标题"
}},[
i
(
"el-input"
)],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"二维码类型"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
function
(
e
){
t
.
nowPage
=
1
,
t
.
initPage
()}},
model
:{
value
:
t
.
searchFrom
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"type"
,
e
)},
expression
:
"searchFrom.type"
}},
t
.
_l
(
t
.
typeOption
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"渠道类型"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
function
(
e
){
t
.
nowPage
=
1
,
t
.
initPage
()}},
model
:{
value
:
t
.
searchFrom
.
code_type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"code_type"
,
e
)},
expression
:
"searchFrom.code_type"
}},
t
.
_l
(
t
.
code_typeOption
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"状态"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
function
(
e
){
t
.
nowPage
=
1
,
t
.
initPage
()}},
model
:{
value
:
t
.
searchFrom
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"status"
,
e
)},
expression
:
"searchFrom.status"
}},
t
.
_l
(
t
.
statusOption
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
initPage
}},[
t
.
_v
(
"
\n
搜索
\n
"
)])],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
newObj
.
show
=!
0
}}},[
t
.
_v
(
"
\n
创建二维码
\n
"
)])],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"标题"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"二维码类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"qrType"
)(
e
.
row
.
type
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_code"
,
label
:
"推广码"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"渠道码类型"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"qrCodeType"
)(
e
.
row
.
code_type
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"qrStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"二维码"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"a"
,{
attrs
:{
target
:
"_blank"
,
download
:
"二维码"
,
href
:
t
.
row
.
open_url
}},[
i
(
"img"
,{
staticClass
:
"img"
,
attrs
:{
src
:
t
.
row
.
open_url
}})])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
fixed
:
"right"
,
label
:
"操作"
,
width
:
"200"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
i
){
t
.
editComment
(
e
.
$index
,
t
.
list
)}}},[
t
.
_v
(
"
\n
备注
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
nativeOn
:{
click
:
function
(
i
){
i
.
preventDefault
(),
t
.
editRow
(
e
.
$index
,
t
.
list
)}}},[
t
.
_v
(
"
\n
编辑
\n
"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
nativeOn
:{
click
:
function
(
i
){
i
.
preventDefault
(),
t
.
detail
(
e
.
$index
,
t
.
list
)}}},[
t
.
_v
(
"
\n
查看详情
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}}),
t
.
_v
(
" "
),
i
(
"dialog-div"
,{
attrs
:{
newObj
:
t
.
newObj
},
on
:{
initPage
:
t
.
initPage
,
changeShow
:
t
.
changeShow
}})],
1
)},
staticRenderFns
:[]};
var
p
=
i
(
"VU/8"
)(
m
,
h
,
!
1
,
function
(
t
){
i
(
"h9Vb"
)},
"data-v-79e26758"
,
null
);
e
.
default
=
p
.
exports
}});
\ No newline at end of file
dist/static/js/18.a4b305e6f833d592a923.js
0 → 100644
View file @
f5fa9f85
webpackJsonp
([
18
],{
"+vCD"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"CCn6"
),
o
=
{
name
:
"boxTypeList"
,
data
:
function
(){
return
{
list
:[],
nowId
:
""
,
form
:{
name
:
""
,
pid
:
0
,
cover
:
""
},
dialogVisible
:
!
1
,
close
:
!
1
}},
components
:{},
mounted
:
function
(){
this
.
getBoxTypeList
()},
methods
:{
getBoxTypeList
:
function
(){
var
e
=
this
;
Object
(
a
.
_36
)().
then
(
function
(
t
){
e
.
list
=
t
||
[],
""
===
e
.
nowId
&&
t
&&
e
.
changeCateGory
(
t
[
0
].
id
)})},
onAddType
:
function
(){
this
.
dialogVisible
=!
0
,
this
.
form
=
{
name
:
""
,
pid
:
0
,
cover
:
""
}},
saveBoxType
:
function
(){
var
e
=
this
;
Object
(
a
.
e
)(
this
.
form
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
e
.
dialogVisible
=!
1
,
e
.
getBoxTypeList
()})},
changeCateGory
:
function
(
e
){
this
.
nowId
=
e
,
this
.
$emit
(
"changeCategoryId"
,
e
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
class
:{
"box-type-list"
:
!
0
,
closed
:
e
.
close
}},[
i
(
"div"
,{
staticClass
:
"close-btn"
,
on
:{
click
:
function
(
t
){
e
.
close
=!
e
.
close
}}},[
e
.
close
?
e
.
_e
():
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
}),
e
.
_v
(
" "
),
e
.
close
?
i
(
"i"
,{
staticClass
:
"el-icon-arrow-left"
}):
e
.
_e
()]),
e
.
_v
(
" "
),
i
(
"el-card"
,{
staticClass
:
"box-card"
},[
i
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
i
(
"span"
,[
e
.
_v
(
"主题类别"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
padding
:
"3px 0"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
e
.
onAddType
}},[
e
.
_v
(
"新增"
)])],
1
),
e
.
_v
(
" "
),
e
.
_l
(
e
.
list
,
function
(
t
){
return
i
(
"el-card"
,{
key
:
t
.
id
,
class
:{
text
:
!
0
,
"now-card"
:
t
.
id
===
e
.
nowId
},
attrs
:{
shadow
:
"hover"
}},[
i
(
"div"
,{
staticClass
:
"name"
,
on
:{
click
:
function
(
i
){
e
.
changeCateGory
(
t
.
id
)}}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
name
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"btn-block"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
icon
:
"el-icon-search"
,
circle
:
""
,
plain
:
""
,
size
:
"mini"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
icon
:
"el-icon-edit"
,
circle
:
""
,
plain
:
""
,
size
:
"mini"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
i
(
"el-button"
,{
attrs
:{
type
:
"danger"
,
icon
:
"el-icon-delete"
,
circle
:
""
,
plain
:
""
,
size
:
"mini"
}}):
e
.
_e
()],
1
)])})],
2
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-dialog"
,{
attrs
:{
title
:
"主题类别"
,
visible
:
e
.
dialogVisible
,
modal
:
!
1
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"100px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"名称"
}},[
i
(
"el-input"
,{
attrs
:{
placeholder
:
"规则:课程类别-主题-教具"
},
model
:{
value
:
e
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"name"
,
t
)},
expression
:
"form.name"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveBoxType
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
{
name
:
"boxDialog"
,
props
:[
"boxDialogObj"
],
data
:
function
(){
return
{
loading
:
!
1
,
rules
:{},
data2
:[],
singleList
:[],
uploadShow
:
!
0
,
imageList
:[],
form
:{
title
:
""
,
item_stock_arr
:[],
cover
:
""
,
min_age
:
0
,
max_age
:
0
,
min_level
:
0
,
max_level
:
0
},
levelOption
:[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]}},
mounted
:
function
(){},
methods
:{
initPage
:
function
(){
var
e
=
this
;
switch
(
Object
(
a
.
_82
)().
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
checkNum
=
1
}),
e
.
data2
=
t
.
list
}),
this
.
boxDialogObj
.
type
){
case
0
:
this
.
form
=
{
title
:
""
,
item_stock_arr
:[],
cover
:
""
,
min_age
:
0
,
max_age
:
0
,
min_level
:
0
,
max_level
:
0
},
this
.
imageList
=
[],
this
.
singleList
=
[];
break
;
case
1
:
Object
(
a
.
_34
)(
this
.
boxDialogObj
.
id
).
then
(
function
(
t
){
e
.
form
=
{
title
:
t
.
title
,
item_stock_arr
:[],
cover
:
""
,
min_age
:
t
.
min_age
,
max_age
:
t
.
max_age
,
min_level
:
t
.
min_level
,
max_level
:
t
.
max_level
},
e
.
singleList
=
[],
e
.
imageList
=
[{
name
:
t
.
cover
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
cover
}],
t
.
detail
.
forEach
(
function
(
t
){
e
.
singleList
.
push
(
t
.
id
),
e
.
data2
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
})
&&
(
e
.
data2
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
}).
checkNum
=
t
.
num
)})})}},
sub
:
function
(){
var
e
=
this
;
this
.
singleList
.
forEach
(
function
(
t
){
var
i
=
e
.
data2
.
find
(
function
(
e
){
return
e
.
id
===
t
});
e
.
form
.
item_stock_arr
.
push
({
stock_id
:
i
.
id
,
num
:
i
.
checkNum
})}),
this
.
imageList
.
length
>
0
&&
(
this
.
form
.
cover
=
this
.
imageList
[
0
].
name
);
var
t
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
));
switch
(
t
.
item_stock_arr
=
JSON
.
stringify
(
t
.
item_stock_arr
),
this
.
boxDialogObj
.
type
){
case
0
:
Object
(
a
.
d
)(
this
.
boxDialogObj
.
category_id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
e
.
boxDialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
,
e
.
boxDialogObj
.
category_id
)});
break
;
case
1
:
Object
(
a
.
_6
)(
this
.
boxDialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
e
.
boxDialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
,
e
.
boxDialogObj
.
category_id
)})}},
changeTrans
:
function
(
e
,
t
,
i
){},
beforeAvatarUpload
:
function
(){
this
.
uploadShow
=!
1
},
handleRemove
:
function
(){
this
.
uploadShow
=!
0
},
handleAvatarSuccess
:
function
(
e
){
this
.
imageList
=
[{
name
:
e
.
data
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
data
.
url
}]},
uploadFile
:
function
(
e
){
var
t
=
this
;
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
this
.
fileUid
=
e
.
file
.
uid
,
Object
(
a
.
_158
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
imageList
=
[{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
}],
t
.
loading
=!
1
,
t
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
t
.
loading
=!
1
})}},
watch
:{
boxDialogObj
:
function
(
e
){
this
.
initPage
()}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
e
.
boxDialogObj
.
title
,
visible
:
e
.
boxDialogObj
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
boxDialogObj
,
"show"
,
t
)}}},[
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
24
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"title"
,
label
:
"盒子名称"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"title"
,
t
)},
expression
:
"form.title"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
24
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"title"
,
label
:
"盒子首图"
}},[
i
(
"el-upload"
,{
class
:{
disabled
:
!
e
.
uploadShow
},
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
e
.
uploadFile
,
"before-upload"
:
e
.
beforeAvatarUpload
,
"list-type"
:
"picture-card"
,
"file-list"
:
e
.
imageList
,
"on-success"
:
e
.
handleAvatarSuccess
,
"on-remove"
:
e
.
handleRemove
}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"title"
,
label
:
"最小年龄"
}},[
i
(
"el-input-number"
,{
model
:{
value
:
e
.
form
.
min_age
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"min_age"
,
t
)},
expression
:
"form.min_age"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"title"
,
label
:
"最大年龄"
}},[
i
(
"el-input-number"
,{
model
:{
value
:
e
.
form
.
max_age
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"max_age"
,
t
)},
expression
:
"form.max_age"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"title"
,
label
:
"最小等级"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
model
:{
value
:
e
.
form
.
min_level
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"min_level"
,
t
)},
expression
:
"form.min_level"
}},
e
.
_l
(
e
.
levelOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
e
,
value
:
e
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"title"
,
label
:
"最大等级"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
model
:{
value
:
e
.
form
.
max_level
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"max_level"
,
t
)},
expression
:
"form.max_level"
}},
e
.
_l
(
e
.
levelOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
e
,
value
:
e
}})}))],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
24
}},[
i
(
"el-transfer"
,{
attrs
:{
titles
:[
"单品列表"
,
"盒子内容"
],
filterable
:
!
0
,
props
:{
key
:
"id"
,
label
:
"name"
},
data
:
e
.
data2
},
on
:{
change
:
e
.
changeTrans
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
a
=
t
.
option
;
return
i
(
"span"
,{
staticStyle
:{
display
:
"block"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
a
.
name
)
+
"【库存"
+
e
.
_s
(
a
.
num
)
+
"】
\n
"
),
i
(
"el-input-number"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"mini"
},
model
:{
value
:
a
.
checkNum
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"checkNum"
,
t
)},
expression
:
"option.checkNum"
}})],
1
)}}]),
model
:{
value
:
e
.
singleList
,
callback
:
function
(
t
){
e
.
singleList
=
t
},
expression
:
"singleList"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
boxDialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)])},
staticRenderFns
:[]};
var
r
=
{
name
:
"index"
,
components
:{
BoxTypeList
:
i
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
e
){
i
(
"w51p"
)},
"data-v-08309cc0"
,
null
).
exports
,
boxDialog
:
i
(
"VU/8"
)(
n
,
l
,
!
1
,
function
(
e
){
i
(
"GwVg"
),
i
(
"FB1p"
)},
"data-v-28cda8ea"
,
null
).
exports
},
data
:
function
(){
return
{
category_id
:
""
,
defaultImgPath
:
"https://cdn.singsingenglish.com/"
,
list
:[],
boxDialogObj
:{
show
:
!
1
,
id
:
""
,
category_id
:
""
,
title
:
""
,
type
:
0
}}},
mounted
:
function
(){},
methods
:{
initPage
:
function
(
e
){
var
t
=
this
;
Object
(
a
.
_35
)(
e
).
then
(
function
(
e
){
t
.
list
=
e
.
list
})},
onEdit
:
function
(
e
){
this
.
boxDialogObj
=
{
show
:
!
0
,
type
:
1
,
title
:
"修改盒子"
,
id
:
e
,
category_id
:
this
.
category_id
}},
onAdd
:
function
(){
this
.
boxDialogObj
=
{
show
:
!
0
,
type
:
0
,
title
:
"添加盒子"
,
category_id
:
this
.
category_id
}},
changeCategoryId
:
function
(
e
){
this
.
category_id
=
e
},
delBox
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该盒子?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
I
)(
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
})}),
t
.
initPage
(
t
.
category_id
)})}},
watch
:{
category_id
:
function
(
e
){
this
.
initPage
(
e
)}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"box-index"
},[
i
(
"box-type-list"
,{
on
:{
changeCategoryId
:
e
.
changeCategoryId
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"add-block"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
staticClass
:
"add-btn"
,
attrs
:{
type
:
"success"
},
on
:{
click
:
function
(
t
){
e
.
onAdd
()}}},[
e
.
_v
(
"+新增盒子"
)])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,
e
.
_l
(
e
.
list
,
function
(
t
,
a
){
return
i
(
"el-col"
,{
key
:
a
,
staticClass
:
"card-col"
,
attrs
:{
span
:
5
}},[
i
(
"el-card"
,{
staticClass
:
"card"
,
attrs
:{
"body-style"
:{
padding
:
"0px"
},
shadow
:
"hover"
}},[
""
!==
t
.
cover
?
i
(
"img"
,{
staticClass
:
"image"
,
attrs
:{
src
:
e
.
defaultImgPath
+
t
.
cover
}}):
e
.
_e
(),
e
.
_v
(
" "
),
""
===
t
.
cover
?
i
(
"img"
,{
staticClass
:
"image"
,
attrs
:{
src
:
e
.
defaultImgPath
+
t
.
cover
}}):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
padding
:
"14px"
}},[
i
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
title
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"bottom clearfix"
},[
i
(
"el-tag"
,{
attrs
:{
size
:
"mini"
}},[
e
.
_v
(
"level"
+
e
.
_s
(
t
.
min_level
)
+
"-level"
+
e
.
_s
(
t
.
max_level
))]),
e
.
_v
(
" "
),
i
(
"el-tag"
,{
attrs
:{
type
:
"success"
,
size
:
"mini"
}},[
e
.
_v
(
e
.
_s
(
t
.
min_age
)
+
"-"
+
e
.
_s
(
t
.
max_age
)
+
"岁"
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"btn-block"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
icon
:
"el-icon-edit"
,
circle
:
""
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
onEdit
(
t
.
id
)}}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
i
(
"el-button"
,{
attrs
:{
type
:
"danger"
,
icon
:
"el-icon-delete"
,
circle
:
""
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
delBox
(
t
.
id
)}}}):
e
.
_e
()],
1
)],
1
)])])],
1
)})),
e
.
_v
(
" "
),
e
.
boxDialogObj
.
show
?
i
(
"box-dialog"
,{
attrs
:{
boxDialogObj
:
e
.
boxDialogObj
},
on
:{
reflash
:
e
.
initPage
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
d
=
i
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
e
){
i
(
"ynGh"
)},
"data-v-0819ba6a"
,
null
);
t
.
default
=
d
.
exports
},
FB1p
:
function
(
e
,
t
){},
GwVg
:
function
(
e
,
t
){},
w51p
:
function
(
e
,
t
){},
ynGh
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/4.6df418af1d713afa95cf.js
0 → 100644
View file @
f5fa9f85
webpackJsonp
([
4
,
16
],{
"0UhM"
:
function
(
e
,
t
){},
"3nmn"
:
function
(
e
,
t
){},
"9PRC"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
l
=
a
(
"kmJW"
),
s
=
a
(
"O6Rd"
),
o
=
a
(
"G2rA"
),
r
=
a
(
"kmsh"
),
n
=
a
(
"P0f4"
),
c
=
a
(
"xGts"
),
d
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{}},
watch
:{
"dialogObj.show"
:{
deep
:
!
0
,
handler
:
function
(){
console
.
log
(
this
.
dialogObj
)}}},
methods
:{
handlerAddressChange
:
function
(
e
){
if
(
e
.
province
&&
e
.
city
&&
e
.
district
){
this
.
dialogObj
.
detail
=
e
.
detail
,
this
.
dialogObj
.
province
=
e
.
province
,
this
.
dialogObj
.
city
=
e
.
city
,
this
.
dialogObj
.
receive_mobile
=
e
.
mobile
,
this
.
dialogObj
.
receive_name
=
e
.
name
;
var
t
=
c
.
a
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
province
}),
a
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
city
}),
i
=
a
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
district
});
this
.
dialogObj
.
province_name
=
t
[
0
].
label
,
this
.
dialogObj
.
city_name
=
a
[
0
].
label
,
this
.
dialogObj
.
district_name
=
i
.
length
>
0
?
i
[
0
].
label
:
a
[
0
].
children
[
0
].
label
,
this
.
dialogObj
.
district
=
i
.
length
>
0
?
i
[
0
].
value
:
a
[
0
].
children
[
0
].
value
}},
saveAddress
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
province_id
:
e
.
dialogObj
.
province
,
province_name
:
e
.
dialogObj
.
province_name
,
city_id
:
e
.
dialogObj
.
city
,
city
:
e
.
dialogObj
.
city_name
,
area
:
e
.
dialogObj
.
district_name
,
area_id
:
e
.
dialogObj
.
district
,
address
:
e
.
dialogObj
.
detail
,
receive_name
:
e
.
dialogObj
.
receive_name
,
receive_mobile
:
e
.
dialogObj
.
receive_mobile
,
is_del
:
e
.
dialogObj
.
is_del
};
e
.
dialogObj
.
userid
?
Object
(
i
.
a
)(
e
.
dialogObj
.
userid
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)}):
Object
(
i
.
_2
)(
e
.
dialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)})})}},
components
:{
vueAddress
:
n
.
a
},
mounted
:
function
(){
console
.
log
(
this
.
dialogObj
)}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"编辑用户收货地址"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
a
(
"vue-address"
,{
attrs
:{
province
:
e
.
dialogObj
.
province
,
city
:
e
.
dialogObj
.
city
,
district
:
e
.
dialogObj
.
district
,
detail
:
e
.
dialogObj
.
detail
,
mobile
:
e
.
dialogObj
.
receive_mobile
,
name
:
e
.
dialogObj
.
receive_name
},
on
:{
change
:
e
.
handlerAddressChange
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAddress
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
d
,
_
,
!
1
,
function
(
e
){
a
(
"LXME"
)},
"data-v-680e86de"
,
null
).
exports
,
v
=
a
(
"+TkF"
),
h
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
i
.
_93
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
}),
this
.
form
=
{
id
:
this
.
dialogObj
.
id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
?
this
.
dialogObj
.
teacher_id
:
""
}},
onSave
:
function
(){
var
e
=
this
,
t
=
{
teacher_id
:
this
.
form
.
teacher_id
?
this
.
form
.
teacher_id
:
0
};
Object
(
i
.
n
)(
this
.
form
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
dialogObj
.
show
=!
1
})}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
this
.
initPage
()}}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogObj
.
title
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
form
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"teacher_id"
,
t
)},
expression
:
"form.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSave
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
e
){
a
(
"3nmn"
)},
"data-v-a4a540ca"
,
null
).
exports
,
p
=
a
(
"0qGg"
),
f
=
a
(
"xwxU"
),
m
=
{
name
:
"index"
,
data
:
function
(){
return
{
userList
:[],
yunjiList
:[],
addressList
:[],
total
:
0
,
addressDialog
:{
show
:
!
1
},
addressParams
:{},
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
tabs
:
"periods"
,
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
nowPage
:
1
,
limit
:
5
,
id
:
""
,
detail
:{},
subDetail
:{},
subListData
:[],
periodList
:[],
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
list
:[],
userObj
:{
classId
:
""
,
title
:
""
,
show
:
!
1
},
privilegeDialog
:{
show
:
!
1
,
isAllowView
:
!
1
,
is_add_teacher
:
0
,
weight
:
0
,
id
:
""
},
descDialog
:{
show
:
!
1
,
descList
:[],
nowPage
:
1
,
limit
:
10
,
total
:
0
,
userInfo
:
null
},
lookDetail
:{
show
:
!
1
,
loading
:
!
1
,
list
:[],
nowPage
:
1
,
limit
:
10
,
total
:
0
},
isAddTeacherList
:[{
label
:
"暂未处理"
,
value
:
0
},{
label
:
"老师主动添加用户"
,
value
:
1
},{
label
:
"用户主动添加老师"
,
value
:
2
},{
label
:
"待通过"
,
value
:
3
},{
label
:
"手机号不是微信号"
,
value
:
4
},{
label
:
"用户已拒绝"
,
value
:
5
}],
sourceByDateDialogJson
:{}}},
components
:{
page
:
l
.
a
,
teacherDialog
:
g
,
UserList
:
p
.
a
,
refundDetail
:
o
.
a
,
sourceDialog
:
s
.
a
,
couponDialog
:
r
.
a
,
sourceByDateDialog
:
f
.
a
,
addressDialogC
:
u
},
props
:[
"parentDetail"
],
mounted
:
function
(){
this
.
id
=
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
this
.
getDetail
()},
watch
:{
tabs
:
function
(
e
){
"order"
===
e
&&
this
.
getUser
(),
"yunji"
===
e
&&
this
.
getyunjiOrder
(),
"address"
===
e
&&
this
.
getAddressList
(),
"subList"
===
e
&&
this
.
getUserSubAccountList
()}},
methods
:{
onUpdateAddress
:
function
(){
this
.
dialogObj
.
show
=!
1
,
this
.
getAddressList
()},
addAddress
:
function
(
e
){
this
.
addressDialog
.
userid
=
this
.
id
,
this
.
addressDialog
.
show
=!
0
},
editAddress
:
function
(
e
){
if
(
e
&&
e
.
province_name
){
var
t
=
c
.
a
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
province_name
});
if
(
t
&&
t
.
length
>
0
)
if
(
this
.
addressDialog
.
province
=
e
.
province_id
?
e
.
province_id
:
t
[
0
].
value
,
e
.
city
){
var
a
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
city
});
if
(
this
.
addressDialog
.
city
=
e
.
city_id
?
e
.
city_id
:
a
[
0
].
value
,
e
.
area
){
var
i
=
a
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
area
});
this
.
addressDialog
.
district
=
e
.
area_id
?
e
.
area_id
:
i
[
0
].
value
}
else
this
.
addressDialog
.
district
=
""
}
else
this
.
addressDialog
.
city
=
""
;
else
this
.
addressDialog
.
province
=
""
,
this
.
addressDialog
.
district
=
""
,
this
.
addressDialog
.
city
=
""
}
else
this
.
addressDialog
.
province
=
""
,
this
.
addressDialog
.
city
=
""
,
this
.
addressDialog
.
district
=
""
;
this
.
addressDialog
.
detail
=
e
?
e
.
address
:
""
,
this
.
addressDialog
.
receive_mobile
=
e
?
e
.
receive_mobile
:
""
,
this
.
addressDialog
.
receive_name
=
e
?
e
.
receive_name
:
""
,
this
.
addressDialog
.
province_name
=
e
?
e
.
province_name
:
""
,
this
.
addressDialog
.
city_name
=
e
?
e
.
city
:
""
,
this
.
addressDialog
.
district_name
=
e
?
e
.
area
:
""
,
this
.
addressDialog
.
is_del
=
e
.
is_del
,
this
.
addressDialog
.
id
=
e
.
id
,
this
.
addressDialog
.
show
=!
0
,
console
.
log
(
this
.
addressDialog
)},
getAddressList
:
function
(){
var
e
=
this
;
Object
(
i
.
_25
)(
this
.
id
).
then
(
function
(
t
){
e
.
addressList
=
t
})},
userStatusFormatter
:
function
(
e
){
return
v
.
y
[
e
.
user_status
]},
showSourceByDate
:
function
(
e
){
this
.
sourceByDateDialogJson
=
{
periods_id
:
e
.
periods_id
,
user_id
:
e
.
user_id
,
json
:{
limit
:
10
,
page
:
0
}},
this
.
$refs
.
sourceByDateDialogDom
.
dialogShow
=!
0
},
getUserLook
:
function
(){
var
e
=
this
;
if
(
this
.
lookDetail
.
data
){
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
t
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
},
a
=
this
.
lookDetail
.
data
;
Object
(
i
.
_159
)(
a
.
periods_id
,
a
.
user_id
,
t
).
then
(
function
(
t
){
e
.
lookDetail
.
list
=
t
.
list
,
e
.
lookDetail
.
loading
=!
1
,
e
.
lookDetail
.
total
=
t
.
total
})}},
onLookDetailPageChange
:
function
(
e
){
this
.
lookDetail
.
nowPage
=
e
,
this
.
getUserLook
()},
onLookDetailSizeChange
:
function
(
e
){
this
.
lookDetail
.
limit
=
e
,
this
.
lookDetail
.
nowPage
=
1
,
this
.
getUserLook
()},
onDescDialogPageChange
:
function
(
e
){
this
.
descDialog
.
nowPage
=
e
,
this
.
getUserDescList
()},
onDescDialogSizeChange
:
function
(
e
){
this
.
descDialog
.
limit
=
e
,
this
.
descDialog
.
nowPage
=
1
,
this
.
getUserDescList
()},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
out_trade_no
},
showCoupon
:
function
(
e
){
this
.
couponDetail
.
show
=!
0
,
this
.
couponDetail
.
order_coupon_id
=
e
.
order_coupon_id
},
showSource
:
function
(
e
){
this
.
sourceDialog
.
show
=!
0
,
this
.
sourceDialog
.
out_trade_no
=
e
.
out_trade_no
},
changeRow
:
function
(
e
,
t
){
var
a
=
this
;
this
.
list
=
[],
t
.
indexOf
(
e
)
>-
1
&&
Object
(
i
.
_70
)(
e
.
periods_id
).
then
(
function
(
t
){
e
.
arrive_course_rate
=
t
.
arrive_course_rate
,
e
.
watch_course_rate
=
t
.
watch_course_rate
,
e
.
over_course_rate
=
t
.
over_course_rate
,
e
.
work_rate
=
t
.
work_rate
,
e
.
over_work_rate
=
t
.
over_work_rate
,
e
.
clock_rate
=
t
.
clock_rate
,
e
.
over_clock_rate
=
t
.
over_clock_rate
,
e
.
transform_rate
=
t
.
transform_rate
,
a
.
list
=
[
e
]})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
user_id
:
this
.
id
,
limit
:
this
.
limit
,
page
:
this
.
nowPage
,
status
:
"1,3,4,5"
};
Object
(
i
.
_65
)(
t
).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
refundList
=
[]}),
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
})},
getDetail
:
function
(){
var
e
=
this
;
this
.
id
&&
(
Object
(
i
.
_98
)(
this
.
id
).
then
(
function
(
t
){
e
.
detail
=
t
,
t
.
periods_list
&&
(
e
.
periodList
=
t
.
periods_list
),
console
.
log
(
t
)}),
Object
(
i
.
_87
)(
this
.
id
).
then
(
function
(
t
){
1
==
t
.
family_user
&&
(
e
.
subDetail
=
t
.
sub_user_info
)}))},
getUserSubAccountList
:
function
(){
var
e
=
this
;
Object
(
i
.
_100
)(
this
.
id
).
then
(
function
(
t
){
e
.
subListData
=
t
})},
bindTeacher
:
function
(){
var
e
=
this
.
detail
;
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"绑定老师"
,
id
:
e
.
user_id
,
teacher_id
:
e
.
teacher_id
}},
showUser
:
function
(
e
){
var
t
=
1
==
e
.
type
?
"(带班班级)"
:
"(观摩班级)"
;
console
.
log
(
e
),
this
.
userObj
=
{
classId
:
e
.
class_id
,
show
:
!
0
,
title
:
e
.
teacher_name
+
"班级用户列表"
+
t
,
teacherId
:
e
.
teacher_id
,
periods_id
:
e
.
periods_id
,
goods_id
:
e
.
goods_id
,
classPage
:
!
0
}},
editPrivilege
:
function
(
e
){
this
.
privilegeDialog
=
{
id
:
e
.
id
,
isAllowView
:
1
===
e
.
is_view_course
,
is_add_teacher
:
e
.
is_add_teacher
?
e
.
is_add_teacher
:
0
,
weight
:
e
.
weight
?
e
.
weight
:
0
,
show
:
!
0
}},
onGetUserDescList
:
function
(
e
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
userInfo
=
{
user_id
:
e
.
user_id
,
avatar
:
this
.
detail
.
avatar
,
nickname
:
this
.
detail
.
nickname
},
this
.
descDialog
.
id
=
e
.
id
,
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
descDialog
.
nowPage
,
limit
:
this
.
descDialog
.
limit
};
Object
(
i
.
_97
)(
this
.
descDialog
.
id
,
t
).
then
(
function
(
t
){
e
.
descDialog
.
descList
=
t
.
list
,
e
.
descDialog
.
total
=
t
.
total
})},
userLook
:
function
(
e
){
var
t
=
this
;
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
a
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
};
this
.
lookDetail
.
data
=
{
periods_id
:
e
.
periods_id
,
user_id
:
e
.
user_id
},
Object
(
i
.
_159
)(
e
.
periods_id
,
e
.
user_id
,
a
).
then
(
function
(
e
){
t
.
lookDetail
.
list
=
e
.
list
,
t
.
lookDetail
.
loading
=!
1
,
t
.
lookDetail
.
total
=
e
.
total
})},
editComment
:
function
(
e
){
var
t
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
a
){
var
l
=
a
.
value
;
Object
(
i
.
m
)(
e
,{
desc
:
l
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
t
.
getUserDescList
()})})},
changePrivilegeSub
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"此操作将修改用户权限?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
is_view_course
:
e
.
privilegeDialog
.
isAllowView
?
1
:
0
,
is_add_teacher
:
e
.
privilegeDialog
.
is_add_teacher
,
weight
:
e
.
privilegeDialog
.
weight
};
Object
(
i
.
_157
)(
e
.
privilegeDialog
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
privilegeDialog
.
show
=!
1
,
e
.
getDetail
()})})},
getyunjiOrder
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
t
.
user_id
=
this
.
id
,
Object
(
i
.
_109
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
yunjiList
=
t
.
list
?
t
.
list
:[]})}},
filters
:{
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
v
.
k
[
e
]},
status
:
function
(
e
){
return
v
.
r
[
e
]},
buyType
:
function
(
e
){
return
v
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
},
percent
:
function
(
e
){
return
(
100
*
e
).
toFixed
(
2
)
+
"%"
},
isdel
:
function
(
e
){
return
0
==
e
?
"未删除"
:
"已删除"
}}},
w
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"user"
},[
a
(
"div"
,{
staticClass
:
"box"
},[
a
(
"el-card"
,{
staticClass
:
"user-card"
},[
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
e
.
detail
.
avatar
,
target
:
"_blank"
}},[
a
(
"img"
,{
attrs
:{
src
:
e
.
detail
.
avatar
}})])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"div"
,[
a
(
"label"
,[
e
.
_v
(
"用户:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
nickname
)
+
" (ID: "
+
e
.
_s
(
e
.
id
)
+
")
\n
"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,[
e
.
_v
(
"tel:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
mobile
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,[
e
.
_v
(
"生日:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
birthday
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,[
e
.
_v
(
"注册时间:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
created_at
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,[
e
.
_v
(
"最后登录:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
last_login_at
)
+
"
\n
"
)])])])]),
e
.
_v
(
" "
),
a
(
"el-card"
,{
staticClass
:
"user-card"
},[
e
.
subDetail
.
nickname
?
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
e
.
subDetail
.
avatar
,
target
:
"_blank"
}},[
a
(
"img"
,{
attrs
:{
src
:
e
.
subDetail
.
avatar
}})])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"div"
,[
a
(
"label"
,[
e
.
_v
(
"用户:"
)]),
e
.
_v
(
e
.
_s
(
e
.
subDetail
.
nickname
)
+
" (ID: "
+
e
.
_s
(
e
.
subDetail
.
user_id
)
+
")
\n
"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,[
e
.
_v
(
"tel:"
)]),
e
.
_v
(
e
.
_s
(
e
.
subDetail
.
mobile
)
+
"
\n
"
)])])]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
subDetail
.
nickname
?
e
.
_e
():
a
(
"p"
,{
staticClass
:
"fl"
,
staticStyle
:{
clear
:
"both"
}},[
e
.
_v
(
" (暂无子账户)"
)]),
e
.
_v
(
" "
),
e
.
subDetail
.
nickname
?
a
(
"p"
,{
staticClass
:
"fl"
,
staticStyle
:{
clear
:
"both"
}},[
e
.
_v
(
" (子账户)"
)]):
e
.
_e
()])],
1
),
e
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
},
model
:{
value
:
e
.
tabs
,
callback
:
function
(
t
){
e
.
tabs
=
t
},
expression
:
"tabs"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
,
name
:
"periods"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
periodList
},
on
:{
"expand-change"
:
e
.
changeRow
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
arrive_course_rate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
watch_course_rate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
over_course_rate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
clock_rate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
over_clock_rate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"router-link"
,{
attrs
:{
to
:{
name
:
"class"
,
query
:{
goods_id
:
t
.
row
.
goods_id
,
periods_id
:
t
.
row
.
periods_id
}}}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
periods_title
)
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
1
===
t
.
row
.
is_view_course
?
"是"
:
"否"
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"老师"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"router-link"
,{
attrs
:{
to
:
"/teacher/"
+
t
.
row
.
teacher_id
}},[
a
(
"div"
,{
staticClass
:
"f-c"
},[
a
(
"div"
,[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
teacher_qr
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
teacher_name
)
+
"
\n
"
)])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"加入人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大加入人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开课时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"400px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
showUser
(
t
.
row
)}}},[
e
.
_v
(
" 班级成员"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"warning"
},
on
:{
click
:
function
(
a
){
e
.
editPrivilege
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
onGetUserDescList
(
t
.
row
)}}},[
e
.
_v
(
"备注"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
showSourceByDate
(
t
.
row
)}}},[
e
.
_v
(
"看课情况 "
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统订单列表"
,
name
:
"order"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
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
:{
width
:
"250"
,
prop
:
"invite_id"
,
className
:
"f-c"
,
label
:
"推广人属性"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
invite_earnings
>
0
&&
0
!==
t
.
row
.
invite_id
?
a
(
"div"
,{
staticStyle
:{
display
:
"flex"
,
color
:
"#409eff"
,
cursor
:
"pointer"
},
on
:{
click
:
function
(
a
){
e
.
showSource
(
t
.
row
)}}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
"
\n
类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_earnings
&&
0
!==
t
.
row
.
invite_id
?
a
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
"
\n
类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_id
?
a
(
"div"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠活动"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
===
t
.
row
.
order_coupon_id
?
a
(
"span"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
!==
t
.
row
.
order_coupon_id
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showCoupon
(
t
.
row
)}}},[
e
.
_v
(
"
\n
优惠券
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showRef
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
!==
t
.
row
.
status
&&
3
!==
t
.
row
.
status
?
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"实付金额"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"moneytFilter"
)(
t
.
row
.
money
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
user_address_id
&&
t
.
row
.
address_info
?
a
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
receive_name
)),
a
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
receive_mobile
)),
a
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
province_name
)
+
e
.
_s
(
t
.
row
.
address_info
.
city
)
+
e
.
_s
(
t
.
row
.
address_info
.
area
)
+
e
.
_s
(
t
.
row
.
address_info
.
address
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_at"
,
label
:
"购买时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"下单时间"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"外部订单列表"
,
name
:
"yunji"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
yunjiList
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"order_id"
,
width
:
"80"
,
label
:
"订单号"
}}),
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
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"("
+
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
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
showRef
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
!==
t
.
row
.
status
&&
3
!==
t
.
row
.
status
?
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
,
width
:
"70"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
money
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
,
width
:
"150px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
姓名:"
+
e
.
_s
(
t
.
row
.
receiver_name
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
tel:"
+
e
.
_s
(
t
.
row
.
receiver_phone
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receiver_province
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_city
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_area
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_address
)
+
"
\n
"
)]}}])}),
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_time"
,
label
:
"下单时间"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_time"
,
label
:
"付款时间"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_status"
,
formatter
:
e
.
userStatusFormatter
,
label
:
"沟通状态"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"地址列表"
,
name
:
"address"
}},[
e
.
addressList
.
length
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
""
},
on
:{
click
:
function
(
t
){
e
.
addAddress
()}}},[
e
.
_v
(
"新增"
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
addressList
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"receive_name"
,
label
:
"收件人名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"receive_mobile"
,
label
:
"收件人手机号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"province_name"
,
label
:
"省"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"city"
,
label
:
"市"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"area"
,
label
:
"地区名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"详细地址"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
$store
.
state
.
readonly
||
0
!=
t
.
row
.
is_del
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"warning"
},
on
:{
click
:
function
(
a
){
e
.
editAddress
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"绑定记录"
,
name
:
"subList"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
subListData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"绑定时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"unbind_at"
,
label
:
"解绑时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_nickname"
,
label
:
"主账号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sub_user_nickname"
,
label
:
"子账号"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"teacher-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
getDetail
}}),
e
.
_v
(
" "
),
a
(
"user-list"
,{
attrs
:{
userObj
:
e
.
userObj
}}),
e
.
_v
(
" "
),
a
(
"source-dialog"
,{
attrs
:{
dialogObj
:
e
.
sourceDialog
}}),
e
.
_v
(
" "
),
a
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
a
(
"coupon-dialog"
,{
attrs
:{
dialogObj
:
e
.
couponDetail
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
e
.
privilegeDialog
.
show
,
title
:
"编辑权限"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
privilegeDialog
,
"show"
,
t
)}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"是否添加老师"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
privilegeDialog
.
is_add_teacher
,
callback
:
function
(
t
){
e
.
$set
(
e
.
privilegeDialog
,
"is_add_teacher"
,
t
)},
expression
:
"privilegeDialog.is_add_teacher"
}},
e
.
_l
(
e
.
isAddTeacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"看课权限"
}},[
a
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#13ce66"
,
"inactive-color"
:
"#ff4949"
},
model
:{
value
:
e
.
privilegeDialog
.
isAllowView
,
callback
:
function
(
t
){
e
.
$set
(
e
.
privilegeDialog
,
"isAllowView"
,
t
)},
expression
:
"privilegeDialog.isAllowView"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"意向等级"
}},[
a
(
"el-input-number"
,{
attrs
:{
min
:
0
,
step
:
1
},
model
:{
value
:
e
.
privilegeDialog
.
weight
,
callback
:
function
(
t
){
e
.
$set
(
e
.
privilegeDialog
,
"weight"
,
t
)},
expression
:
"privilegeDialog.weight"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
privilegeDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
changePrivilegeSub
()}}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"address-dialogC"
,{
attrs
:{
dialogObj
:
e
.
addressDialog
},
on
:{
reflash
:
e
.
onUpdateAddress
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
e
.
descDialog
.
show
,
title
:
"备注列表"
,
width
:
"60%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
descDialog
,
"show"
,
t
)}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
editComment
(
e
.
descDialog
.
id
)}}},[
e
.
_v
(
"添加备注"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
descDialog
.
descList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
descDialog
.
userInfo
?[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
descDialog
.
userInfo
.
avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
e
.
descDialog
.
userInfo
.
nickname
)
+
"(ID:"
+
e
.
_s
(
e
.
descDialog
.
userInfo
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"operator"
,
label
:
"备注人"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
descDialog
.
nowPage
,
total
:
e
.
descDialog
.
total
,
limit
:
e
.
descDialog
.
limit
},
on
:{
pageChange
:
e
.
onDescDialogPageChange
,
sizeChange
:
e
.
onDescDialogSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
e
.
lookDetail
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
lookDetail
,
"show"
,
t
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
lookDetail
.
loading
,
expression
:
"lookDetail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
lookDetail
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"日期"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈看一看"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
1
===
e
.
page_id
})?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
1
===
e
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
1
===
e
.
page_id
})?
e
.
_e
():
a
(
"span"
,[
e
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"宝贝玩一玩"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
2
===
e
.
page_id
})?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
2
===
e
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
2
===
e
.
page_id
})?
e
.
_e
():
a
(
"span"
,[
e
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈秀宝贝"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
3
===
e
.
page_id
})?
a
(
"span"
,[
a
(
"div"
,{
domProps
:{
innerHTML
:
e
.
_s
(
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
3
===
e
.
page_id
}).
learn_report
)}})]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
3
===
e
.
page_id
})?
e
.
_e
():
a
(
"span"
,[
e
.
_v
(
"
\n
暂未秀宝贝
\n
"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"多元趣味课"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
5
===
e
.
page_id
})?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
5
===
e
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
5
===
e
.
page_id
})?
e
.
_e
():
a
(
"span"
,[
e
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分享"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
4
===
e
.
page_id
})?
a
(
"span"
,[
e
.
_v
(
"
\n
已分享
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
4
===
e
.
page_id
})?
e
.
_e
():
a
(
"span"
,[
e
.
_v
(
"
\n
暂未分享
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
lookDetail
.
nowPage
,
total
:
e
.
lookDetail
.
total
,
limit
:
e
.
lookDetail
.
limit
},
on
:{
pageChange
:
e
.
onLookDetailPageChange
,
sizeChange
:
e
.
onLookDetailSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"sourceByDateDialog"
,{
ref
:
"sourceByDateDialogDom"
,
attrs
:{
dialogObj
:
e
.
sourceByDateDialogJson
}})],
1
)},
staticRenderFns
:[]};
var
D
=
a
(
"VU/8"
)(
m
,
w
,
!
1
,
function
(
e
){
a
(
"TZNu"
),
a
(
"GHp9"
)},
"data-v-0f795398"
,
null
);
t
.
default
=
D
.
exports
},
GHp9
:
function
(
e
,
t
){},
LXME
:
function
(
e
,
t
){},
TZNu
:
function
(
e
,
t
){},
jFLA
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
l
=
a
(
"kmJW"
),
s
=
{
name
:
"detail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
userDetail
:{},
show
:
!
1
}},
methods
:{
getDetail
:
function
(){
var
e
=
this
;
this
.
dialogObj
.
id
&&
Object
(
i
.
_98
)(
this
.
dialogObj
.
id
).
then
(
function
(
t
){
e
.
userDetail
=
t
})},
initDialog
:
function
(){
this
.
getDetail
(),
this
.
show
=
this
.
dialogObj
.
show
}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
(
this
.
loading
=!
0
,
this
.
initDialog
())},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"用户详情"
,
center
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
a
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"头像"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"img"
,{
attrs
:{
src
:
e
.
userDetail
.
avatar
}})]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"昵称"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
nickname
))])],
1
),
e
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"手机号"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
mobile
))]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"用户ID"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
user_id
))])],
1
),
e
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"生日"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
birthday
))]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"邀请类型"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
invite_type
))])],
1
),
e
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"等级"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
level
))]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"邀请人ID"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
invite_user_id
))])],
1
),
e
.
_v
(
" "
),
a
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"邀请码"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
userDetail
.
invite_code
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"老师ID"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
userDetail
.
teacher_id
)
+
"
\n
"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"注册时间"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
created_at
))]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
e
.
_v
(
"最后登录"
)])]),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
last_login_at
))])],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
s
,
o
,
!
1
,
function
(
e
){
a
(
"m1Nz"
)},
"data-v-df4e0838"
,
null
).
exports
,
n
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
i
.
_93
)().
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
}),
this
.
form
=
{
id
:
this
.
dialogObj
.
id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
?
this
.
dialogObj
.
teacher_id
:
""
}},
onSave
:
function
(){
var
e
=
this
,
t
=
{
teacher_id
:
this
.
form
.
teacher_id
?
this
.
form
.
teacher_id
:
0
};
Object
(
i
.
n
)(
this
.
form
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
dialogObj
.
show
=!
1
})}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
this
.
initPage
()}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogObj
.
title
,
visible
:
e
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
form
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"teacher_id"
,
t
)},
expression
:
"form.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSave
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
n
,
c
,
!
1
,
function
(
e
){
a
(
"xJtu"
)},
"data-v-1712d2c2"
,
null
).
exports
,
_
=
a
(
"9PRC"
),
u
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
nickName
:
""
,
mobile
:
""
,
level
:
""
,
userId
:
""
},
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
showDetail
:
!
1
,
showId
:
""
,
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
dialogDetailObj
:{
show
:
!
1
,
id
:
""
},
loading
:
!
1
}},
components
:{
page
:
l
.
a
,
detailDialog
:
r
,
userDetail
:
_
.
default
,
teacherDialog
:
d
},
mounted
:
function
(){
this
.
getUser
()},
methods
:{
sexFormatter
:
function
(
e
){
return
0
==
e
.
sex
?
"保密"
:
1
==
e
.
sex
?
"男"
:
2
==
e
.
sex
?
"女"
:
void
0
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
userId
&&
(
t
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
level
&&
(
t
.
level
=
this
.
searchFrom
.
level
),
Object
(
i
.
_99
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
})},
detail
:
function
(
e
){
this
.
dialogDetailObj
=
{
show
:
!
0
,
id
:
e
.
user_id
}},
changeShow
:
function
(
e
){
this
.
dialogDetailObj
.
show
=
e
},
bindTeacher
:
function
(
e
){
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"绑定老师"
,
id
:
e
.
user_id
,
teacher_id
:
e
.
teacher_id
}},
goToDetail
:
function
(
e
){
this
.
dialogDetail
.
id
=
e
,
this
.
dialogDetail
.
show
=!
0
},
syncUser
:
function
(){
var
e
=
this
;
this
.
loading
=!
0
,
Object
(
i
.
_89
)().
then
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
({
showClose
:
!
0
,
message
:
"已更新"
+
t
+
"条用户数据"
,
type
:
"success"
})}).
catch
(
function
(){
e
.
loading
=!
1
})}}},
v
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"user"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
userId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"userId"
,
t
)},
expression
:
"searchFrom.userId"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
a
(
"el-input"
,{
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"
,{
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-input"
,{
model
:{
value
:
e
.
searchFrom
.
level
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"level"
,
t
)},
expression
:
"searchFrom.level"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
}},[
a
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"注册时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"last_login_at"
,
label
:
"最后登录时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"baby_name"
,
label
:
"宝宝名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"birthday"
,
label
:
"宝宝生日"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sex"
,
label
:
"宝宝性别"
,
formatter
:
e
.
sexFormatter
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
goToDetail
(
t
.
row
.
user_id
)}}},[
e
.
_v
(
"
\n
查看详情
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
a
(
"detail-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogDetailObj
},
on
:{
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
a
(
"teacher-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
getUser
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
width
:
"90%"
,
top
:
"5vh"
,
visible
:
e
.
dialogDetail
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogDetail
,
"show"
,
t
)}}},[
e
.
dialogDetail
.
show
?
a
(
"div"
,[
a
(
"user-detail"
,{
attrs
:{
parentDetail
:
e
.
dialogDetail
}})],
1
):
e
.
_e
()])],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
u
,
v
,
!
1
,
function
(
e
){
a
(
"oyyS"
),
a
(
"0UhM"
)},
"data-v-812ae520"
,
null
);
t
.
default
=
h
.
exports
},
m1Nz
:
function
(
e
,
t
){},
oyyS
:
function
(
e
,
t
){},
xJtu
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/5.85cc40c02bb31eb5544a.js
0 → 100644
View file @
f5fa9f85
webpackJsonp
([
5
],{
"2jZb"
:
function
(
e
,
t
){},
"6CEz"
:
function
(
e
,
t
){},
"7Mat"
:
function
(
e
,
t
){},
JZkw
:
function
(
e
,
t
){},
Morw
:
function
(
e
,
t
){},
Rq8b
:
function
(
e
,
t
){},
acPW
:
function
(
e
,
t
){},
laaL
:
function
(
e
,
t
){},
sRf7
:
function
(
e
,
t
){},
xdzM
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
i
(
"CCn6"
),
a
=
i
(
"kmJW"
),
r
=
i
(
"P0f4"
),
s
=
i
(
"xGts"
),
n
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{}},
methods
:{
handlerAddressChange
:
function
(
e
){
if
(
console
.
log
(
e
),
console
.
log
(
this
.
dialogObj
),
e
.
province
&&
e
.
city
&&
e
.
district
){
this
.
dialogObj
.
detail
=
e
.
detail
,
this
.
dialogObj
.
province
=
e
.
province
,
this
.
dialogObj
.
city
=
e
.
city
,
this
.
dialogObj
.
receive_mobile
=
e
.
mobile
,
this
.
dialogObj
.
receive_name
=
e
.
name
;
var
t
=
s
.
a
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
province
}),
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
city
}),
o
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
district
});
this
.
dialogObj
.
province_name
=
t
[
0
].
label
,
this
.
dialogObj
.
city_name
=
i
[
0
].
label
,
this
.
dialogObj
.
district_name
=
o
.
length
>
0
?
o
[
0
].
label
:
i
[
0
].
children
[
0
].
label
,
this
.
dialogObj
.
district
=
o
.
length
>
0
?
o
[
0
].
value
:
i
[
0
].
children
[
0
].
value
}},
saveAddress
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
province_id
:
e
.
dialogObj
.
province
,
province_name
:
e
.
dialogObj
.
province_name
,
city_id
:
e
.
dialogObj
.
city
,
city
:
e
.
dialogObj
.
city_name
,
area
:
e
.
dialogObj
.
district_name
,
area_id
:
e
.
dialogObj
.
district
,
address
:
e
.
dialogObj
.
detail
,
receive_name
:
e
.
dialogObj
.
receive_name
,
receive_mobile
:
e
.
dialogObj
.
receive_mobile
};
Object
(
o
.
_1
)(
e
.
dialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)})})}},
components
:{
vueAddress
:
r
.
a
},
mounted
:
function
(){}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"编辑收货地址"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"vue-address"
,{
attrs
:{
province
:
e
.
dialogObj
.
province
,
city
:
e
.
dialogObj
.
city
,
district
:
e
.
dialogObj
.
district
,
detail
:
e
.
dialogObj
.
detail
,
mobile
:
e
.
dialogObj
.
receive_mobile
,
name
:
e
.
dialogObj
.
receive_name
},
on
:{
change
:
e
.
handlerAddressChange
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAddress
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
n
,
l
,
!
1
,
function
(
e
){
i
(
"2jZb"
)},
"data-v-517dc480"
,
null
).
exports
,
d
=
i
(
"+TkF"
),
u
=
i
(
"sf/l"
),
_
=
{
name
:
"newdialogObj"
,
props
:[
"newdialogObj"
],
data
:
function
(){
return
{
rules
:{
periods_id
:[{
required
:
!
0
,
message
:
"请输入期数名称"
,
trigger
:
"change"
}],
goods_id
:[{
required
:
!
0
,
message
:
"请输入商品名称"
,
trigger
:
"change"
}],
money
:[{
required
:
!
0
,
message
:
"请输入金额"
,
trigger
:
"blur"
}],
user_id
:[{
required
:
!
0
,
message
:
"请输入用户ID"
,
trigger
:
"blur"
}],
pay_at
:[{
required
:
!
0
,
message
:
"请选择日期"
,
trigger
:
"change"
}],
order_type
:[{
required
:
!
0
,
message
:
"请选择支付类型"
,
trigger
:
"change"
}],
out_trade_no
:[{
required
:
!
0
,
message
:
"请填写订单号"
,
trigger
:
"change"
}]},
nowPage
:
1
,
limit
:
200
,
total
:
0
,
form
:{
periods_id
:
""
,
goods_id
:
""
,
user_id
:
""
,
money
:
""
,
buy_type
:
""
,
invite_id
:
""
,
desc
:
""
,
province_name
:
""
,
city
:
""
,
area
:
""
,
city_name
:
""
,
district_name
:
""
,
district
:
""
,
province
:
""
,
address
:
""
,
receive_mobile
:
""
,
receive_name
:
""
,
order_type
:
""
,
pay_at
:
""
},
goodsList
:[],
periodsList
:[],
pickerOptions1
:
""
,
buyWayOptioms
:[],
teacherList
:[],
addShow
:
!
1
,
searchFrom
:{},
userList
:[],
multipleSelection
:[]}},
components
:{
vueAddress
:
r
.
a
,
page
:
a
.
a
},
filters
:{
filterGoods
:
function
(
e
){
return
"["
+
d
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
getUser
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
nowPage
,
limit
:
5
};
this
.
searchFrom
.
userId
&&
(
t
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
o
.
_99
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
})},
saveAddOrder
:
function
(
e
){
var
t
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
i
){
if
(
!
i
)
return
console
.
log
(
"error submit!!"
),
!
1
;
var
a
=
{
periods_id
:
e
.
periods_id
,
goods_id
:
e
.
goods_id
,
user_id
:
e
.
user_id
,
money
:
e
.
money
,
province_name
:
e
.
province_name
,
city_id
:
e
.
city
,
city
:
e
.
city_name
,
area
:
e
.
district_name
,
area_id
:
e
.
district
,
province_id
:
e
.
province
,
address
:
e
.
address
,
receive_mobile
:
e
.
receive_mobile
,
receive_name
:
e
.
receive_name
,
order_type
:
e
.
order_type
};
a
.
money
=
a
.
money
,
e
.
pay_at
&&
(
a
.
pay_at
=
u
.
a
.
dateFmt
(
e
.
pay_at
,
"yyyy-MM-dd hh:mm:ss"
)),
t
.
form
.
invite_id
&&
(
a
.
invite_id
=
t
.
form
.
invite_id
),
t
.
form
.
desc
&&
(
a
.
desc
=
t
.
form
.
desc
),
t
.
form
.
out_trade_no
&&
(
a
.
out_trade_no
=
t
.
form
.
out_trade_no
),
a
.
invite_type
=
"TEACHER"
,
a
.
province_name
&&
a
.
address
&&
a
.
receive_mobile
&&
a
.
receive_name
?
Object
(
o
.
_131
)(
a
).
then
(
function
(
e
){
t
.
newdialogObj
.
show
=!
1
,
t
.
$emit
(
"reflash"
),
t
.
$message
({
message
:
"添加成功"
,
type
:
"success"
})}):
t
.
$message
({
message
:
"缺少必填项"
,
type
:
"warning"
})})},
handlerAddressChange
:
function
(
e
){
if
(
e
.
province
&&
e
.
city
&&
e
.
district
){
this
.
form
.
address
=
e
.
detail
,
this
.
form
.
province
=
e
.
province
,
this
.
form
.
city
=
e
.
city
,
this
.
form
.
receive_mobile
=
e
.
mobile
,
this
.
form
.
receive_name
=
e
.
name
;
var
t
=
s
.
a
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
province
}),
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
city
}),
o
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
district
});
this
.
form
.
province_name
=
t
[
0
].
label
,
this
.
form
.
city_name
=
i
[
0
].
label
,
this
.
form
.
district_name
=
o
.
length
>
0
?
o
[
0
].
label
:
i
[
0
].
children
[
0
].
label
,
this
.
form
.
district
=
o
.
length
>
0
?
o
[
0
].
value
:
i
[
0
].
children
[
0
].
value
}},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
o
.
_53
)({
page
:
1
,
limit
:
200
,
course_type
:
0
}).
then
(
function
(
t
){
e
.
goodsList
=
t
.
list
})},
onOptionChange
:
function
(
e
){
var
t
=
this
;
this
.
form
.
periods_id
=
""
,
Object
(
o
.
_68
)({
goods_id
:
e
}).
then
(
function
(
e
){
t
.
periodsList
=
e
.
list
})},
getTeacherList
:
function
(
e
){
var
t
=
this
,
i
=
{
limit
:
100
,
page
:
1
};
e
&&
(
i
.
name
=
e
),
Object
(
o
.
_93
)(
i
).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
}),
Object
(
o
.
_66
)().
then
(
function
(
e
){
t
.
buyWayOptioms
=
e
})},
remoteMethod
:
function
(
e
){
""
!==
e
?
this
.
getTeacherList
(
e
):
this
.
getTeacherList
()},
onAddUser
:
function
(){
this
.
addShow
=!
0
,
this
.
getUser
()},
onAdd
:
function
(){
0
!==
this
.
multipleSelection
.
length
?
1
===
this
.
multipleSelection
.
length
?(
this
.
form
.
user_id
=
this
.
multipleSelection
[
0
].
user_id
,
this
.
addShow
=!
1
):
this
.
$message
({
type
:
"error"
,
message
:
"只能选择一个用户!"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
})}},
watch
:{
"newdialogObj.show"
:
function
(
e
){
e
&&
(
this
.
getGoodsOption
(),
this
.
getTeacherList
())}},
mounted
:
function
(){}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"新增订单"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
newdialogObj
.
show
,
width
:
"70%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
newdialogObj
,
"show"
,
t
)}}},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"120px"
,
rules
:
e
.
rules
}},[
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
10
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
,
prop
:
"goods_id"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
onOptionChange
},
model
:{
value
:
e
.
form
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"goods_id"
,
t
)},
expression
:
"form.goods_id"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
,
o
){
return
i
(
"el-option"
,{
key
:
o
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
10
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
,
prop
:
"user_id"
}},[
i
(
"el-input"
,{
attrs
:{
width
:
"100"
},
model
:{
value
:
e
.
form
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"user_id"
,
t
)},
expression
:
"form.user_id"
}}),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"success"
},
on
:{
click
:
e
.
onAddUser
}},[
e
.
_v
(
"+添加用户"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
10
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"添加推广人"
}},[
i
(
"el-select"
,{
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请输入名称"
,
"remote-method"
:
e
.
remoteMethod
},
model
:{
value
:
e
.
form
.
invite_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"invite_id"
,
t
)},
expression
:
"form.invite_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
user_id
}})}))],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
10
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"支付类型"
,
prop
:
"order_type"
}},[
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
form
.
order_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"order_type"
,
t
)},
expression
:
"form.order_type"
}},
e
.
_l
(
e
.
buyWayOptioms
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
,
disabled
:
e
.
disabled
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
10
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"实付金额(元)"
,
prop
:
"money"
}},[
i
(
"el-input-number"
,{
model
:{
value
:
e
.
form
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"money"
,
t
)},
expression
:
"form.money"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
10
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"支付时间"
,
prop
:
"pay_at"
}},[
i
(
"el-date-picker"
,{
attrs
:{
type
:
"datetime"
,
"picker-options"
:
e
.
pickerOptions1
,
"default-time"
:
"12:00:00"
,
placeholder
:
"选择日期时间"
},
model
:{
value
:
e
.
form
.
pay_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"pay_at"
,
t
)},
expression
:
"form.pay_at"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
10
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"备注"
}},[
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
form
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"desc"
,
t
)},
expression
:
"form.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
2
!=
e
.
form
.
order_type
?
i
(
"el-col"
,{
attrs
:{
span
:
10
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
out_trade_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"out_trade_no"
,
t
)},
expression
:
"form.out_trade_no"
}})],
1
)],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"vue-address"
,{
attrs
:{
province
:
e
.
form
.
province_name
,
city
:
e
.
form
.
city
,
district
:
e
.
form
.
area
,
detail
:
e
.
form
.
address
,
mobile
:
e
.
form
.
receive_mobile
,
name
:
e
.
form
.
receive_name
},
on
:{
change
:
e
.
handlerAddressChange
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
newdialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveAddOrder
(
e
.
form
)}}},[
e
.
_v
(
"确定"
)])],
1
),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
e
.
addShow
},
on
:{
"update:visible"
:
function
(
t
){
e
.
addShow
=
t
}}},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
userId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"userId"
,
t
)},
expression
:
"searchFrom.userId"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
nickName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickName"
,
t
)},
expression
:
"searchFrom.nickName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
8
,
offset
:
16
}},[
i
(
"el-form-item"
,[
i
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticStyle
:{
"margin-right"
:
"5px"
,
width
:
"50px"
,
height
:
"50px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}})],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
addShow
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onAdd
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
h
=
i
(
"VU/8"
)(
_
,
m
,
!
1
,
function
(
e
){
i
(
"acPW"
)},
"data-v-19792a43"
,
null
).
exports
,
f
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
moneyYuan
:
function
(
e
){
return
e
?(
e
/
100
).
toFixed
(
2
)
+
"元"
:
""
},
filterStatus
:
function
(
e
){
var
t
=
""
;
return
0
===
e
?
t
=
"审核中"
:
1
===
e
?
t
=
"提现成功"
:
2
===
e
&&
(
t
=
"提现失败"
),
t
}},
methods
:{
initPage
:
function
(){
var
e
=
this
,
t
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
o
.
_106
)(
t
).
then
(
function
(
t
){
e
.
detail
=
t
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
e
){
!
0
===
e
&&
this
.
initPage
()}}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"提现详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
detail
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"withdraw_no"
,
label
:
"提现单号"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
width
:
"200"
,
className
:
"f-c"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"user_mobile"
,
label
:
"手机号"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"moneyYuan"
)(
t
.
row
.
money
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
t
.
row
.
status
,
green
:
1
===
t
.
row
.
status
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"filterStatus"
)(
t
.
row
.
status
))
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"提现成功时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
success_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"提现时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"reason"
,
label
:
"失败原因"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
v
=
i
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
e
){
i
(
"7Mat"
)},
"data-v-2a667f00"
,
null
).
exports
,
b
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
show
:
!
1
,
id
:
""
,
loading
:
!
0
,
form
:{
money
:
0
,
refund_type
:
1
,
desc
:
""
},
rules
:{
money
:[{
required
:
!
0
,
message
:
"请输入退款金额"
,
trigger
:
"change"
}],
desc
:[{
required
:
!
0
,
message
:
"请输入退款原因"
,
trigger
:
"change"
}]}}},
methods
:{
save
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
dialogObj
.
id
&&
e
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
i
=
{
refund_money
:
100
*
parseFloat
(
e
.
form
.
money
),
desc
:
e
.
form
.
desc
,
refund_type
:
e
.
form
.
refund_type
};
console
.
log
(
i
),
Object
(
o
.
_123
)(
e
.
dialogObj
.
id
,
i
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"退款成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
show
=!
1
})}})})},
initDialog
:
function
(){
this
.
show
=
this
.
dialogObj
.
show
,
this
.
dialogObj
.
id
&&
(
this
.
id
=
this
.
dialogObj
.
id
),
this
.
form
.
money
=
parseFloat
(
this
.
dialogObj
.
money
/
100
),
this
.
form
.
desc
=
this
.
dialogObj
.
desc
,
this
.
loading
=!
1
}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
this
.
initDialog
()},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
g
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"退款"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
show
,
width
:
"800px"
}},[
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
rules
:
e
.
rules
}},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退款金额"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"key"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"money"
,
t
)},
expression
:
"form.money"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
6
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
100
}}},[
e
.
_v
(
"¥100"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
150
}}},[
e
.
_v
(
"¥150"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退课"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,[
i
(
"el-switch"
,{
attrs
:{
"active-value"
:
2
,
"inactive-value"
:
1
},
model
:{
value
:
e
.
form
.
refund_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"refund_type"
,
t
)},
expression
:
"form.refund_type"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退款原因"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,[
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
form
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"desc"
,
t
)},
expression
:
"form.desc"
}})],
1
)],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"确 定"
)])],
1
)])},
staticRenderFns
:[]};
var
y
=
i
(
"VU/8"
)(
b
,
g
,
!
1
,
function
(
e
){
i
(
"Rq8b"
)},
"data-v-1902de54"
,
null
).
exports
,
w
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
e
){
var
t
=
""
;
return
0
===
e
?
t
=
"未使用"
:
1
===
e
?
t
=
"已使用"
:
2
===
e
&&
(
t
=
"禁用"
),
t
}},
methods
:{
initPage
:
function
(){
var
e
=
this
,
t
=
{
order_coupon_id
:
this
.
dialogObj
.
order_coupon_id
,
limit
:
200
};
Object
(
o
.
_46
)(
t
).
then
(
function
(
t
){
e
.
detail
=
t
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
e
){
!
0
===
e
&&
this
.
initPage
()}}},
O
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"优惠券详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
detail
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"coupon_no"
,
label
:
"优惠券码"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
user_nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"优惠券金额"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
parseFloat
(
t
.
row
.
money
/
100
))
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"使用状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"filterStatus"
)(
t
.
row
.
status
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
F
=
i
(
"VU/8"
)(
w
,
O
,
!
1
,
function
(
e
){
i
(
"sRf7"
)},
"data-v-0689b038"
,
null
).
exports
,
j
=
{
name
:
"detail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:{},
show
:
!
1
}},
methods
:{
initDialog
:
function
(){
this
.
detail
=
this
.
dialogObj
.
detail
,
console
.
log
(
"this.dialogObj.detail"
,
this
.
dialogObj
.
detail
),
this
.
show
=
this
.
dialogObj
.
show
}},
filters
:{
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
d
.
k
[
e
]},
status
:
function
(
e
){
return
d
.
r
[
e
]},
buyType
:
function
(
e
){
return
d
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
this
.
initDialog
()},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
k
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"订单详情"
,
center
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"订单号"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
detail
.
out_trade_no
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"商品名称"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
goods_name
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"用户昵称"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
detail
.
user_nickname
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"用户手机号"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
user_mobile
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人类型"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"inviteType"
)(
e
.
detail
.
invite_type
)))]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人ID"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
invite_id
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人收益"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
invite_earnings
?
e
.
detail
.
invite_earnings
/
100
:
0
)
+
"元"
)]),
e
.
_v
(
" "
),
2
===
e
.
detail
.
buy_type
?[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"团购信息"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"团ID:"
+
e
.
_s
(
e
.
detail
.
order_group_id
)),
i
(
"br"
),
e
.
_v
(
"是否是团长:"
+
e
.
_s
(
0
===
e
.
detail
.
is_captain
?
"否"
:
"是"
))])]:
e
.
_e
()],
2
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"期数ID"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
periods_id
))]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"描述"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
desc
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"收货地址"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
20
}},[
e
.
detail
.
user_address_id
&&
e
.
detail
.
address_info
?[
e
.
_v
(
"
\n
收货人:"
+
e
.
_s
(
e
.
detail
.
address_info
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
"
\n
手机号:"
+
e
.
_s
(
e
.
detail
.
address_info
.
receive_mobile
)),
i
(
"br"
),
e
.
_v
(
"
\n
收货地址: "
+
e
.
_s
(
e
.
detail
.
address_info
.
province_name
)
+
e
.
_s
(
e
.
detail
.
address_info
.
city
)
+
e
.
_s
(
e
.
detail
.
address_info
.
area
)
+
e
.
_s
(
e
.
detail
.
address_info
.
address
)
+
"
\n
"
)]:
e
.
_e
()],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"付款时间"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
pay_at
))])],
1
)],
1
)},
staticRenderFns
:[]};
var
x
=
{
name
:
"refundDetail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
e
){
var
t
=
""
;
return
0
===
e
?
t
=
"退款中"
:
1
===
e
?
t
=
"退款成功"
:
2
===
e
&&
(
t
=
"退款失败"
),
t
}},
methods
:{
initPage
:
function
(){
var
e
=
this
,
t
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
o
.
_78
)(
t
).
then
(
function
(
t
){
e
.
detail
=
t
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
e
){
!
0
===
e
&&
this
.
initPage
()}}},
D
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"退款详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
detail
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"refund_no"
,
label
:
"退款编号"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
user_nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"order_money"
,
label
:
"订单金额"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
parseFloat
(
t
.
row
.
order_money
/
100
))
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"refund_money"
,
label
:
"退款金额"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
parseFloat
(
t
.
row
.
refund_money
/
100
))
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"退款状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"filterStatus"
)(
t
.
row
.
status
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"success_at"
,
label
:
"退款成功时间"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
S
=
{
name
:
"index"
,
data
:
function
(){
var
e
=
this
;
return
{
nowPage
:
1
,
total
:
0
,
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
payTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
limit
:
10
,
searchFrom
:{
nickname
:
""
,
wait_into_course
:
""
,
user_id
:
""
,
invite_type
:
""
,
invite_id
:
""
,
buy_type
:
""
,
order_type
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
payTime
:[],
order_group_id
:
""
},
tableData
:[],
dialogObj
:{
show
:
!
1
},
newdialogObj
:{
show
:
!
1
},
refundDialogObj
:{
show
:
!
1
,
id
:
""
,
money
:
0
},
dialogDetailObj
:{
show
:
!
1
,
detail
:{}},
goodList
:[],
inviteTypeOption
:
d
.
l
,
orderStatusOption
:
d
.
s
,
buyTypeOption
:
d
.
c
,
buyWay
:
d
.
e
,
inviteSearchPlaceholder
:
""
,
rules
:{
value
:[{
required
:
!
0
,
message
:
"请输入备注"
,
trigger
:
"change"
}]},
promoterDialog
:{
show
:
!
1
,
nowPage
:
1
,
total
:
0
,
limit
:
100
,
teacher_id
:
""
},
teacherList
:[],
loading
:
!
1
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
i
=
e
.
getMonth
()
+
1
;
i
<
10
&&
(
i
=
"0"
+
i
);
var
o
=
e
.
getDate
();
return
o
<
10
&&
(
o
=
"0"
+
o
),
t
+
"-"
+
i
+
"-"
+
o
},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
out_trade_no
},
showCoupon
:
function
(
e
){
this
.
couponDetail
.
show
=!
0
,
this
.
couponDetail
.
order_coupon_id
=
e
.
order_coupon_id
},
showSource
:
function
(
e
){
this
.
sourceDialog
.
show
=!
0
,
this
.
sourceDialog
.
out_trade_no
=
e
.
out_trade_no
},
changeRow
:
function
(
e
,
t
){
t
.
indexOf
(
e
)
>-
1
&&
Object
(
o
.
_78
)({
out_trade_no
:
e
.
out_trade_no
}).
then
(
function
(
t
){
e
.
refundList
=
t
.
list
})},
exportTable
:
function
(){
var
e
=
{};
this
.
searchFrom
.
nickname
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
invite_type
&&
(
e
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
invite_id
&&
(
e
.
invite_id
=
this
.
searchFrom
.
invite_id
),
this
.
searchFrom
.
order_group_id
&&
(
e
.
order_group_id
=
this
.
searchFrom
.
order_group_id
),
this
.
searchFrom
.
buy_type
&&
(
e
.
buy_type
=
this
.
searchFrom
.
buy_type
),
this
.
searchFrom
.
order_type
&&
(
e
.
order_type
=
this
.
searchFrom
.
order_type
),
this
.
searchFrom
.
status
&&
(
e
.
status
=
this
.
searchFrom
.
status
.
toString
()),
this
.
searchFrom
.
goods_id
&&
(
e
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
this
.
searchFrom
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
searchFrom
.
receive_mobile
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
e
.
pay_start_at
=
this
.
searchFrom
.
payTime
[
0
],
e
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]),
this
.
searchFrom
.
wait_into_course
&&
(
e
.
wait_into_course
=
this
.
searchFrom
.
wait_into_course
),
e
.
course_type
=
0
,
Object
(
o
.
_24
)(
"/api/admin/order/export"
,
e
)},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
o
.
_53
)({
page
:
1
,
limit
:
100
,
course_type
:
0
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
onInviteTypeChange
:
function
(
e
){
0
===
e
?
this
.
inviteSearchPlaceholder
=
"用户ID"
:
1
===
e
?
this
.
inviteSearchPlaceholder
=
"老师ID"
:
2
===
e
&&
(
this
.
inviteSearchPlaceholder
=
"推广人ID"
),
this
.
getOrderList
()},
detail
:
function
(
e
){
var
t
=
e
;
this
.
dialogDetailObj
=
{
show
:
!
0
,
detail
:
t
}},
editComment
:
function
(
e
,
t
){
var
i
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
a
=
t
.
value
;
i
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_16
)(
e
,
"order"
,{
desc
:
a
}).
then
(
function
(
e
){
i
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
i
.
getOrderList
()})})})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getOrderList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getOrderList
()},
getOrderList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
invite_id
&&
(
t
.
invite_id
=
this
.
searchFrom
.
invite_id
),
this
.
searchFrom
.
order_group_id
&&
(
t
.
order_group_id
=
this
.
searchFrom
.
order_group_id
),
this
.
searchFrom
.
buy_type
&&
(
t
.
buy_type
=
this
.
searchFrom
.
buy_type
),
this
.
searchFrom
.
order_type
&&
(
t
.
order_type
=
this
.
searchFrom
.
order_type
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
toString
()),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
out_trade_no
&&
(
t
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
this
.
searchFrom
.
receive_mobile
&&
(
t
.
receive_mobile
=
this
.
searchFrom
.
receive_mobile
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]),
this
.
searchFrom
.
wait_into_course
&&
(
t
.
wait_into_course
=
this
.
searchFrom
.
wait_into_course
),
t
.
course_type
=
0
,
Object
(
o
.
_65
)(
t
).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
refundList
=
[]}),
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
changeDetailShow
:
function
(
e
){
this
.
dialogDetailObj
.
show
=
e
},
changeShow
:
function
(
e
){
this
.
refundDialogObj
.
show
=
e
},
onRefund
:
function
(
e
,
t
){
this
.
refundDialogObj
.
id
=
e
,
this
.
refundDialogObj
.
money
=
t
,
this
.
refundDialogObj
.
show
=!
0
},
onAfterRefund
:
function
(){
this
.
refundDialogObj
.
show
=!
1
,
this
.
getOrderList
()},
onUpdateAddress
:
function
(){
this
.
dialogObj
.
show
=!
1
,
this
.
getOrderList
()},
editAddress
:
function
(
e
){
if
(
e
.
address_info
&&
e
.
address_info
.
province_name
){
var
t
=
s
.
a
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
province_name
});
if
(
t
&&
t
.
length
>
0
)
if
(
this
.
dialogObj
.
province
=
e
.
address_info
.
province_id
?
e
.
address_info
.
province_id
:
t
[
0
].
value
,
e
.
address_info
.
city
){
var
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
city
});
if
(
this
.
dialogObj
.
city
=
e
.
address_info
.
city_id
?
e
.
address_info
.
city_id
:
i
[
0
].
value
,
e
.
address_info
.
area
){
var
o
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
area
});
this
.
dialogObj
.
district
=
e
.
address_info
.
area_id
?
e
.
address_info
.
area_id
:
o
[
0
].
value
}
else
this
.
dialogObj
.
district
=
""
}
else
this
.
dialogObj
.
city
=
""
;
else
this
.
dialogObj
.
province
=
""
,
this
.
dialogObj
.
district
=
""
,
this
.
dialogObj
.
city
=
""
}
else
this
.
dialogObj
.
province
=
""
,
this
.
dialogObj
.
city
=
""
,
this
.
dialogObj
.
district
=
""
;
this
.
dialogObj
.
detail
=
e
.
address_info
?
e
.
address_info
.
address
:
""
,
this
.
dialogObj
.
receive_mobile
=
e
.
address_info
?
e
.
address_info
.
receive_mobile
:
""
,
this
.
dialogObj
.
receive_name
=
e
.
address_info
?
e
.
address_info
.
receive_name
:
""
,
this
.
dialogObj
.
province_name
=
e
.
address_info
?
e
.
address_info
.
province_name
:
""
,
this
.
dialogObj
.
city_name
=
e
.
address_info
?
e
.
address_info
.
city
:
""
,
this
.
dialogObj
.
district_name
=
e
.
address_info
?
e
.
address_info
.
area
:
""
,
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
show
=!
0
},
getTeacherList
:
function
(
e
){
var
t
=
this
;
this
.
loading
=!
0
;
var
i
=
{
limit
:
this
.
promoterDialog
.
limit
,
page
:
this
.
promoterDialog
.
nowPage
};
e
&&
(
i
.
name
=
e
),
Object
(
o
.
_93
)(
i
).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
,
t
.
loading
=!
1
})},
handleCurrentTeacherChange
:
function
(
e
){
console
.
log
(
"handleCurrentTeacherChange"
,
e
)},
updateTeacher
:
function
(
e
){
this
.
promoterDialog
.
show
=!
0
,
this
.
promoterDialog
.
id
=
e
.
id
,
this
.
promoterDialog
.
teacher_id
=
e
.
invite_id
,
this
.
getTeacherList
()},
remoteMethod
:
function
(
e
){
""
!==
e
?
this
.
getTeacherList
(
e
):
this
.
getTeacherList
()},
saveTeacher
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"此操作将修改推广人?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
console
.
log
(
"this.promoterDialog.teacher_id"
,
e
.
promoterDialog
),
Object
(
o
.
_151
)(
e
.
promoterDialog
.
id
,
e
.
promoterDialog
.
teacher_id
).
then
(
function
(
t
){
e
.
promoterDialog
.
id
=
""
,
e
.
promoterDialog
.
teacher_id
=
""
,
e
.
promoterDialog
.
show
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
getOrderList
()})})},
add
:
function
(){
this
.
newdialogObj
.
show
=!
0
}},
components
:{
addressDialog
:
c
,
orderDialog
:
h
,
refundDialog
:
y
,
detailDialog
:
i
(
"VU/8"
)(
j
,
k
,
!
1
,
function
(
e
){
i
(
"6CEz"
)},
"data-v-39efaed0"
,
null
).
exports
,
refundDetail
:
i
(
"VU/8"
)(
x
,
D
,
!
1
,
function
(
e
){
i
(
"JZkw"
)},
"data-v-fd44266c"
,
null
).
exports
,
sourceDialog
:
v
,
couponDialog
:
F
,
page
:
a
.
a
},
mounted
:
function
(){
this
.
$route
.
query
.
code
&&
(
this
.
searchFrom
.
invite_type
=
this
.
$route
.
query
.
code
),
this
.
getOrderList
(),
this
.
getGoodsOption
()},
watch
:{
"newdialogObj.show"
:
function
(
e
){
e
||
this
.
getOrderList
()}},
filters
:{
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
d
.
k
[
e
]},
status
:
function
(
e
){
return
d
.
r
[
e
]},
buyType
:
function
(
e
){
return
d
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
d
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
},
buyTypeWay
:
function
(
e
){
return
d
.
d
[
e
]}}},
T
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"order"
},[
i
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
,
size
:
"small"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
i
(
"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
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
receive_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"receive_mobile"
,
t
)},
expression
:
"searchFrom.receive_mobile"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
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
,
o
){
return
i
(
"el-option"
,{
key
:
o
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticClass
:
"test"
,
attrs
:{
label
:
"来源"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
e
.
inviteSearchPlaceholder
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type
\
t"
}},[
i
(
"template"
,{
slot
:
"prepend"
},[
e
.
_v
(
"CC -"
)])],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"推广人ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
attrs
:{
placeholder
:
e
.
inviteSearchPlaceholder
},
model
:{
value
:
e
.
searchFrom
.
invite_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_id"
,
t
)},
expression
:
"searchFrom.invite_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"购买方式"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
buy_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"buy_type"
,
t
)},
expression
:
"searchFrom.buy_type"
}},
e
.
_l
(
e
.
buyTypeOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"支付类型"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
order_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"order_type"
,
t
)},
expression
:
"searchFrom.order_type"
}},
e
.
_l
(
e
.
buyWay
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
i
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},
e
.
_l
(
e
.
orderStatusOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"是否入课"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
wait_into_course
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"wait_into_course"
,
t
)},
expression
:
"searchFrom.wait_into_course"
}},[
i
(
"el-option"
,{
attrs
:{
label
:
"已入课"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
i
(
"el-option"
,{
attrs
:{
label
:
"未入课"
,
value
:
"1"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"交易订单号"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
out_trade_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"out_trade_no"
,
t
)},
expression
:
"searchFrom.out_trade_no"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
i
(
"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"
]},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getOrderList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
exportTable
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticStyle
:{
float
:
"right"
}},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增订单"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
size
:
"small"
,
data
:
e
.
tableData
,
fixed
:
""
},
on
:{
"expand-change"
:
e
.
changeRow
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
i
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
),
i
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"250"
,
prop
:
"invite_id"
,
className
:
"f-c"
,
label
:
"推广人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
invite_earnings
>
0
&&
0
!==
t
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
display
:
"flex"
,
color
:
"#409eff"
,
cursor
:
"pointer"
},
on
:{
click
:
function
(
i
){
e
.
showSource
(
t
.
row
)}}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
"
\n
类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
" ("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
),
i
(
"br"
),
e
.
_v
(
"
\n
收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
"
\n
用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
"
\n
昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
"
\n
手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_earnings
&&
0
!==
t
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
"
\n
类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
" ("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
),
i
(
"br"
),
e
.
_v
(
"
\n
收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
"
\n
用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
"
\n
昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
"
\n
手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_id
?
i
(
"div"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"优惠活动"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
===
t
.
row
.
order_coupon_id
?
i
(
"span"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
!==
t
.
row
.
order_coupon_id
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
e
.
showCoupon
(
t
.
row
)}}},[
e
.
_v
(
"
\n
优惠券
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
e
.
showRef
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
!==
t
.
row
.
status
&&
3
!==
t
.
row
.
status
?
i
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"实付金额"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"moneytFilter"
)(
t
.
row
.
money
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"支付类型"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"buyTypeWay"
)(
t
.
row
.
order_type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
user_address_id
&&
t
.
row
.
address_info
?
i
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
receive_mobile
)),
i
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
province_name
)
+
e
.
_s
(
t
.
row
.
address_info
.
city
)
+
e
.
_s
(
t
.
row
.
address_info
.
area
)
+
e
.
_s
(
t
.
row
.
address_info
.
address
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_at"
,
label
:
"购买时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"下单时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
width
:
"50"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"400"
}},[
i
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
1
!=
t
.
row
.
status
&&
4
!=
t
.
row
.
status
&&
5
!=
t
.
row
.
status
||!
e
.
$store
.
state
.
orderRefund
||
3
==
t
.
row
.
order_type
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
onRefund
(
t
.
row
.
id
,
t
.
row
.
money
)}}},[
e
.
_v
(
"
\n
退款
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"info"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editComment
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"
\n
编辑备注
\n
"
)]),
e
.
_v
(
" "
),
t
.
row
.
user_address_id
?
i
(
"el-button"
,{
attrs
:{
plain
:
""
,
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editAddress
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑收货地址
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
updateTeacher
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑推广人
\n
"
)])],
1
),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
e
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
e
.
_v
(
" "
),
i
(
"address-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
onUpdateAddress
}}),
e
.
_v
(
" "
),
i
(
"order-dialog"
,{
attrs
:{
newdialogObj
:
e
.
newdialogObj
},
on
:{
reflash
:
e
.
getOrderList
}}),
e
.
_v
(
" "
),
i
(
"refund-dialog"
,{
attrs
:{
dialogObj
:
e
.
refundDialogObj
},
on
:{
reflash
:
e
.
onAfterRefund
,
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
i
(
"detail-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogDetailObj
},
on
:{
changeShow
:
e
.
changeDetailShow
}}),
e
.
_v
(
" "
),
i
(
"source-dialog"
,{
attrs
:{
dialogObj
:
e
.
sourceDialog
}}),
e
.
_v
(
" "
),
i
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
i
(
"coupon-dialog"
,{
attrs
:{
dialogObj
:
e
.
couponDetail
}}),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"修改推广人"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
promoterDialog
.
show
,
width
:
"600"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
promoterDialog
,
"show"
,
t
)}}},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
i
(
"el-select"
,{
attrs
:{
filterable
:
""
,
remote
:
""
,
clearable
:
""
,
placeholder
:
"请输入名称"
,
"remote-method"
:
e
.
remoteMethod
,
loading
:
e
.
loading
},
model
:{
value
:
e
.
promoterDialog
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
promoterDialog
,
"teacher_id"
,
t
)},
expression
:
"promoterDialog.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
user_id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
promoterDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveTeacher
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
$
=
i
(
"VU/8"
)(
S
,
T
,
!
1
,
function
(
e
){
i
(
"laaL"
),
i
(
"Morw"
)},
"data-v-1574fb0d"
,
null
);
t
.
default
=
$
.
exports
}});
\ No newline at end of file
dist/static/js/app.5263660459872efb6c34.js
0 → 100644
View file @
f5fa9f85
webpackJsonp
([
59
],{
IcnI
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"NYxO"
),
o
=
n
(
"lRwf"
),
r
=
n
.
n
(
o
),
i
=
n
(
"zSLJ"
),
u
=
{
setToken
:
function
(
e
,
t
){
e
.
token
=
t
,
i
.
a
.
set
(
"cc_token"
,
t
)},
setUserName
:
function
(
e
,
t
){
e
.
userName
=
t
,
i
.
a
.
set
(
"cc_user_name"
,
t
)},
setPermission
:
function
(
e
,
t
){
e
.
progressList
=
t
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
t
))},
setMenu
:
function
(
e
,
t
){
e
.
menuList
=
t
},
readonly
:
function
(
e
,
t
){
e
.
readonly
=
t
},
deletePermission
:
function
(
e
,
t
){
e
.
deletePermission
=
t
},
distribution
:
function
(
e
,
t
){
e
.
distribution
=
t
},
classManage
:
function
(
e
,
t
){
e
.
classManage
=
t
},
classManageUnlimited
:
function
(
e
,
t
){
e
.
classManageUnlimited
=
t
},
classTakeUnlimited
:
function
(
e
,
t
){
e
.
classTakeUnlimited
=
t
},
promoter
:
function
(
e
,
t
){
e
.
promoter
=
t
},
mainCanShow
:
function
(
e
){
e
.
mainLoad
=!
1
},
mainUnShow
:
function
(
e
){
e
.
mainLoad
=!
0
},
changeParentRouter
:
function
(
e
,
t
){
e
.
menuList
.
find
(
function
(
e
){
return
e
.
name
===
t
.
name
}).
routerName
=
t
.
to
.
name
},
progress
:
function
(
e
,
t
){
switch
(
t
.
type
){
case
"new"
:
e
.
progressList
.
push
({
num
:
0
,
id
:
t
.
id
});
break
;
case
"change"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
}).
num
=
t
.
num
;
break
;
case
"delete"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
})}}};
r
.
a
.
use
(
a
.
a
);
t
.
a
=
new
a
.
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
,
t
){(
0
,
e
.
commit
)(
"setToken"
,
t
)},
setUserName
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setUserName"
,
t
)},
setProgress
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"progress"
,
t
)},
setPermission
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setPermission"
,
t
)},
setMenu
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setMenu"
,
t
)},
readonly
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"readonly"
,
t
)},
deletePermission
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"deletePermission"
,
t
)},
distribution
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"distribution"
,
t
)},
classManage
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classManage"
,
t
)},
classManageUnlimited
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classManageUnlimited"
,
t
)},
classTakeUnlimited
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classTakeUnlimited"
,
t
)},
promoter
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"promoter"
,
t
)}}})},
NAsj
:
function
(
e
,
t
){},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
[{
name
:
""
,
value
:
"教研管理"
,
icon
:
"icon-material"
,
list
:[{
value
:
"教材列表"
,
routerName
:
"resources"
,
path
:
"/resources"
,
cover
:
"1-1"
,
router
:{
path
:
"/resources"
,
name
:
"resources"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
1
)]).
then
(
function
(){
var
t
=
[
n
(
"z5EG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
9
)]).
then
(
function
(){
var
t
=
[
n
(
"AbSL"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"商品列表"
,
routerName
:
"shop"
,
path
:
"/shop"
,
cover
:
"4-1"
,
router
:{
path
:
"/shop"
,
name
:
"shop"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
13
)]).
then
(
function
(){
var
t
=
[
n
(
"1djJ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
26
)]).
then
(
function
(){
var
t
=
[
n
(
"ayGs"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"班级列表"
,
routerName
:
"class"
,
path
:
"/class"
,
cover
:
"2-3"
,
router
:{
path
:
"/class"
,
name
:
"class"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
15
)]).
then
(
function
(){
var
t
=
[
n
(
"OX9A"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"市场招生统计"
,
routerName
:
"marketStatistics"
,
path
:
"/marketStatistics"
,
cover
:
"2-5"
,
router
:{
path
:
"/marketStatistics"
,
name
:
"marketStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
55
)]).
then
(
function
(){
var
t
=
[
n
(
"SKyX"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
34
)]).
then
(
function
(){
var
t
=
[
n
(
"sg/1"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"自化课列表"
,
routerName
:
"autoClass"
,
path
:
"/autoClass"
,
cover
:
"2-6"
,
router
:{
path
:
"/autoClass"
,
name
:
"autoClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
29
)]).
then
(
function
(){
var
t
=
[
n
(
"f9Sx"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
2
)]).
then
(
function
(){
var
t
=
[
n
(
"Y0Vi"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
5
)]).
then
(
function
(){
var
t
=
[
n
(
"xdzM"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
46
)]).
then
(
function
(){
var
t
=
[
n
(
"v/LD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
40
)]).
then
(
function
(){
var
t
=
[
n
(
"89rD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"业绩排行"
,
routerName
:
"achievement"
,
path
:
"/achievement"
,
cover
:
"5-7"
,
router
:{
path
:
"/achievement"
,
name
:
"achievement"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
25
)]).
then
(
function
(){
var
t
=
[
n
(
"Fmgy"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"话术列表"
,
routerName
:
"talkingSkill"
,
path
:
"/talkingSkill"
,
cover
:
"11-6"
,
router
:{
path
:
"/talkingSkill"
,
name
:
"talkingSkill"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
24
)]).
then
(
function
(){
var
t
=
[
n
(
"CUAv"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
4
)]).
then
(
function
(){
var
t
=
[
n
(
"jFLA"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"老系统用户列表"
,
routerName
:
"oldUser"
,
path
:
"/oldUser"
,
cover
:
"3-3"
,
router
:{
path
:
"/oldUser"
,
name
:
"oldUser"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
39
)]).
then
(
function
(){
var
t
=
[
n
(
"K2yr"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"用户积分列表"
,
routerName
:
"integral"
,
path
:
"/integral"
,
cover
:
"3-4"
,
router
:{
path
:
"/integral"
,
name
:
"integral"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
12
)]).
then
(
function
(){
var
t
=
[
n
(
"NDyu"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"绑定子账号列表"
,
routerName
:
"subList"
,
path
:
"/subList"
,
cover
:
"3-5"
,
router
:{
path
:
"/subList"
,
name
:
"subList"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
35
)]).
then
(
function
(){
var
t
=
[
n
(
"L5jB"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
8
)]).
then
(
function
(){
var
t
=
[
n
(
"2qmY"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
41
)]).
then
(
function
(){
var
t
=
[
n
(
"F5pf"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"发货管理"
,
routerName
:
"consignment"
,
path
:
"/consignment"
,
cover
:
"5-4"
,
router
:{
path
:
"/consignment"
,
name
:
"consignment"
,
component
:
function
(
e
){
return
n
.
e
(
50
).
then
(
function
(){
var
t
=
[
n
(
"usUK"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"订单统计"
,
routerName
:
"orderCount"
,
path
:
"/orderCount"
,
cover
:
"5-5"
,
router
:{
path
:
"/orderCount"
,
name
:
"orderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
49
)]).
then
(
function
(){
var
t
=
[
n
(
"s7i+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"日课订单统计"
,
routerName
:
"dayOrderCount"
,
path
:
"/dayOrderCount"
,
cover
:
"5-11"
,
router
:{
path
:
"/dayOrderCount"
,
name
:
"dayOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
45
)]).
then
(
function
(){
var
t
=
[
n
(
"mjLz"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"优惠券列表"
,
routerName
:
"coupon"
,
path
:
"/coupon"
,
cover
:
"5-6"
,
router
:{
path
:
"/coupon"
,
name
:
"coupon"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
37
)]).
then
(
function
(){
var
t
=
[
n
(
"WvRy"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"扫码入课列表"
,
routerName
:
"notBuyClass"
,
path
:
"/notBuyClass"
,
cover
:
"5-8"
,
router
:{
path
:
"/notBuyClass"
,
name
:
"notBuyClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
23
)]).
then
(
function
(){
var
t
=
[
n
(
"E6Zo"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"外部订单列表"
,
routerName
:
"yunji"
,
path
:
"/yunji"
,
cover
:
"5-9"
,
router
:{
path
:
"/yunji"
,
name
:
"yunji"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
14
)]).
then
(
function
(){
var
t
=
[
n
(
"69L+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"兑换码管理"
,
routerName
:
"exchange"
,
path
:
"/exchange"
,
cover
:
"5-13"
,
router
:{
path
:
"/exchange"
,
name
:
"exchange"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
11
)]).
then
(
function
(){
var
t
=
[
n
(
"CvLZ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
22
)]).
then
(
function
(){
var
t
=
[
n
(
"B31M"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"盒子列表"
,
routerName
:
"box"
,
path
:
"/box"
,
cover
:
"6-2"
,
router
:{
path
:
"/box"
,
name
:
"box"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
18
)]).
then
(
function
(){
var
t
=
[
n
(
"+vCD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"待发货列表"
,
routerName
:
"logistics"
,
path
:
"/logistics"
,
cover
:
"6-3"
,
router
:{
path
:
"/logistics"
,
name
:
"logistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
19
)]).
then
(
function
(){
var
t
=
[
n
(
"eYh/"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
20
)]).
then
(
function
(){
var
t
=
[
n
(
"CK6D"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"关键词回复"
,
routerName
:
"autoReply"
,
path
:
"/autoReply"
,
cover
:
"7-2"
,
router
:{
path
:
"/autoReply"
,
name
:
"autoReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
21
)]).
then
(
function
(){
var
t
=
[
n
(
"65NY"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"公众号菜单"
,
routerName
:
"weChat"
,
path
:
"/weChat"
,
cover
:
"7-3"
,
router
:{
path
:
"/weChat"
,
name
:
"weChat"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
27
)]).
then
(
function
(){
var
t
=
[
n
(
"q5av"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"素材管理"
,
routerName
:
"weChatResource"
,
path
:
"/weChatResource"
,
cover
:
"7-4"
,
router
:{
path
:
"/weChatResource"
,
name
:
"weChatResource"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
28
)]).
then
(
function
(){
var
t
=
[
n
(
"Xhqp"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"二维码管理"
,
routerName
:
"qrcode"
,
path
:
"/qrcode"
,
cover
:
"7-6"
,
router
:{
path
:
"/qrcode"
,
name
:
"qrcode"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
17
)]).
then
(
function
(){
var
t
=
[
n
(
"lNiQ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"群发助手"
,
routerName
:
"groupSend"
,
path
:
"/groupSend"
,
cover
:
"7-7"
,
router
:{
path
:
"/groupSend"
,
name
:
"groupSend"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
10
)]).
then
(
function
(){
var
t
=
[
n
(
"oerw"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"关注取关统计"
,
routerName
:
"watchCount"
,
path
:
"/watchCount"
,
cover
:
"7-8"
,
router
:{
path
:
"/watchCount"
,
name
:
"watchCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
53
)]).
then
(
function
(){
var
t
=
[
n
(
"Dq6T"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"微信统计"
,
routerName
:
"weChatStatistics"
,
path
:
"/weChatStatistics"
,
cover
:
"7-10"
,
router
:{
path
:
"/weChatStatistics"
,
name
:
"weChatStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
56
)]).
then
(
function
(){
var
t
=
[
n
(
"5t3x"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"测试"
,
routerName
:
"test"
,
path
:
"/test"
,
cover
:
"7-11"
,
router
:{
path
:
"/test"
,
name
:
"test"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
32
)]).
then
(
function
(){
var
t
=
[
n
(
"9ZSL"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
36
)]).
then
(
function
(){
var
t
=
[
n
(
"CGL6"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"7-9"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
47
)]).
then
(
function
(){
var
t
=
[
n
(
"NrkQ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"来源码管理"
,
routerName
:
"sourceManage"
,
path
:
"/sourceManage"
,
cover
:
"10-1"
,
router
:{
path
:
"/sourceManage"
,
name
:
"sourceManage"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
38
)]).
then
(
function
(){
var
t
=
[
n
(
"/ubI"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"短信发送记录"
,
routerName
:
"smsRecord"
,
path
:
"/smsRecord"
,
cover
:
"10-2"
,
router
:{
path
:
"/smsRecord"
,
name
:
"smsRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
30
)]).
then
(
function
(){
var
t
=
[
n
(
"qjS+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
52
)]).
then
(
function
(){
var
t
=
[
n
(
"TPCG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
43
)]).
then
(
function
(){
var
t
=
[
n
(
"+jTk"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"角色管理"
,
routerName
:
"role"
,
path
:
"/role"
,
cover
:
"8-2"
,
router
:{
path
:
"/role"
,
name
:
"role"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
44
)]).
then
(
function
(){
var
t
=
[
n
(
"Vt1u"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"菜单管理"
,
routerName
:
"menu"
,
path
:
"/menu"
,
cover
:
"8-3"
,
router
:{
path
:
"/menu"
,
name
:
"menu"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
57
)]).
then
(
function
(){
var
t
=
[
n
(
"aTXs"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"sysConfig"
,
path
:
"/sysConfig"
,
cover
:
"8-4"
,
router
:{
path
:
"/sysConfig"
,
name
:
"sysConfig"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
33
)]).
then
(
function
(){
var
t
=
[
n
(
"gaNG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"操作日志"
,
routerName
:
"adminLog"
,
path
:
"/adminLog"
,
cover
:
"8-5"
,
router
:{
path
:
"/adminLog"
,
name
:
"adminLog"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
42
)]).
then
(
function
(){
var
t
=
[
n
(
"WZgi"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]}],
o
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
t
=
this
.
$store
.
state
.
progressList
;
console
.
log
(
this
.
$store
.
state
);
var
o
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
16
)]).
then
(
function
(){
var
t
=
[
n
(
"9PRC"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}},
i
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
6
)]).
then
(
function
(){
var
t
=
[
n
(
"hFUZ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}};
a
.
forEach
(
function
(
n
){
var
a
=!
1
,
u
=
[];
n
.
list
.
forEach
(
function
(
n
){
var
o
=
t
.
find
(
function
(
e
){
return
e
.
cover
===
n
.
cover
});
o
&&
(
n
.
router
.
meta
=
{},
n
.
router
.
meta
.
readonly
=!!
o
.
readonly
,
n
.
router
.
meta
.
delete
=!!
o
.
delete
,
n
.
router
.
meta
.
export
=!!
o
.
export
,
n
.
router
.
meta
.
refund
=!!
o
.
refund
,
n
.
router
.
meta
.
distribution
=!!
o
.
distribution
,
n
.
router
.
meta
.
classManage
=!!
o
.
classManage
,
n
.
router
.
meta
.
classManageUnlimited
=!!
o
.
classManageUnlimited
,
n
.
router
.
meta
.
classTakeUnlimited
=!!
o
.
classTakeUnlimited
,
n
.
router
.
meta
.
promoter
=!!
o
.
promoter
,
u
.
push
(
n
),
"3-1"
===
o
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
o
.
readonly
,
i
.
meta
.
delete
=!!
o
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
"3-2"
===
o
.
cover
&&
(
r
.
meta
=
{},
r
.
meta
.
readonly
=
o
.
readonly
,
r
.
meta
.
delete
=!!
o
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
r
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
n
.
router
),
a
=!
0
)}),
a
&&
(
n
.
list
=
u
,
o
.
push
(
n
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
o
)}}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
e
){
n
(
"NAsj"
)},
null
,
null
).
exports
,
u
=
n
(
"lRwf"
),
c
=
n
.
n
(
u
),
l
=
n
(
"YaEn"
),
s
=
n
(
"IcnI"
),
m
=
n
(
"zL8q"
),
p
=
n
.
n
(
m
);
c
.
a
.
use
(
p
.
a
),
c
.
a
.
config
.
productionTip
=!
1
,
new
c
.
a
({
el
:
"#app"
,
store
:
s
.
a
,
router
:
l
.
a
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
OMN4
:
function
(
e
,
t
){
e
.
exports
=
axios
},
YaEn
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"IcnI"
),
o
=
n
(
"/ocq"
),
r
=
n
(
"zSLJ"
),
i
=
new
o
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
7
)]).
then
(
function
(){
var
t
=
[
n
(
"jHcp"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
n
.
e
(
31
).
then
(
function
(){
var
t
=
[
n
(
"sJm1"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
54
)]).
then
(
function
(){
var
t
=
[
n
(
"0HId"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/outManager"
,
name
:
"outManager"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
51
)]).
then
(
function
(){
var
t
=
[
n
(
"hLMI"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
48
)]).
then
(
function
(){
var
t
=
[
n
(
"iPJD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/newLesson"
,
name
:
"newLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
3
)]).
then
(
function
(){
var
t
=
[
n
(
"4t0V"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
i
.
beforeEach
(
function
(
e
,
t
,
n
){
if
(
a
.
a
.
commit
(
"mainCanShow"
),
r
.
a
.
get
(
"cc_token"
)
&&
(
a
.
a
.
dispatch
(
"setToken"
,
r
.
a
.
get
(
"cc_token"
)),
a
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
r
.
a
.
get
(
"cc_user_name"
)
&&
a
.
a
.
dispatch
(
"setUserName"
,
r
.
a
.
get
(
"cc_user_name"
))),
a
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
o
=
void
0
,
i
=
0
;
i
<
a
.
a
.
state
.
menuList
.
length
;
i
++
)
for
(
var
u
=
a
.
a
.
state
.
menuList
[
i
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
l
=
u
.
list
[
c
];
l
.
path
===
e
.
path
&&
(
o
=
l
)}
a
.
a
.
state
.
openedTab
.
indexOf
(
o
)
<
0
&&
a
.
a
.
state
.
openedTab
.
push
(
o
)}
if
(
e
.
meta
.
readonly
?
a
.
a
.
dispatch
(
"readonly"
,
!
0
):
a
.
a
.
dispatch
(
"readonly"
,
!
1
),
a
.
a
.
state
.
orderRefund
=
e
.
meta
.
refund
,
a
.
a
.
state
.
export
=
e
.
meta
.
export
,
a
.
a
.
state
.
distribution
=
e
.
meta
.
distribution
,
a
.
a
.
state
.
classManage
=
e
.
meta
.
classManage
,
a
.
a
.
dispatch
(
"promoter"
,
e
.
meta
.
promoter
),
a
.
a
.
dispatch
(
"classManageUnlimited"
,
e
.
meta
.
classManageUnlimited
),
a
.
a
.
dispatch
(
"classTakeUnlimited"
,
e
.
meta
.
classTakeUnlimited
),
console
.
log
(
e
.
meta
),
"userDetail"
===
e
.
name
){
var
s
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
a
.
a
.
dispatch
(
"readonly"
,
s
)}
e
.
meta
.
delete
?
a
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
a
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
a
.
a
.
state
.
token
?
n
({
path
:
"/login"
}):
n
()}),
i
.
onError
(
function
(
e
){
var
t
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
n
=
i
.
history
.
pending
.
fullPath
;
t
&&
i
.
replace
(
n
)}),
t
.
a
=
i
},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
zSLJ
:
function
(
e
,
t
,
n
){
"use strict"
;
t
.
a
=
{
set
:
function
(
e
,
t
,
n
){
var
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
+
864
e5
*
n
),
window
.
document
.
cookie
=
e
+
"="
+
t
+
";path=/;expires="
+
a
.
toGMTString
()},
get
:
function
(
e
){
var
t
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
t
?
t
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.2c72d9f73563e0361cc4.js
0 → 100644
View file @
f5fa9f85
!
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
=
{
60
:
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
:
"3bb8a11b9d858d8de4b2"
,
1
:
"b8e5331031e01864d65f"
,
2
:
"05a670317b7dff2583b9"
,
3
:
"df0826e3351375c85529"
,
4
:
"6df418af1d713afa95cf"
,
5
:
"85cc40c02bb31eb5544a"
,
6
:
"8d24e9971ffa8724a323"
,
7
:
"ed3c1942cef2802bae1d"
,
8
:
"bd2e2c080b809c224393"
,
9
:
"1c2efcf3a6cfc5f3ad97"
,
10
:
"2eeaebf748561362878b"
,
11
:
"98ed69caf10bd0c3cfcd"
,
12
:
"e634e5e26b59fabd9f5f"
,
13
:
"78cd5be61872baa2b73c"
,
14
:
"7a8310c3d15a714e46d8"
,
15
:
"0032a095537271d95981"
,
16
:
"632f925ae0ce22dbf5e9"
,
17
:
"5cd63f0082a466bafe3a"
,
18
:
"a4b305e6f833d592a923"
,
19
:
"f2c7b53b9a7fd39eab62"
,
20
:
"5de1f551039929f1e31f"
,
21
:
"ac223362b16b604e2694"
,
22
:
"c6adbb8cbaa3bbeb4165"
,
23
:
"12234a34a6feb01eaa51"
,
24
:
"25ee40d30a32afa30739"
,
25
:
"9f9d7b1ade1b34b2f026"
,
26
:
"0d0f09a02c9ae5a16393"
,
27
:
"ee8fdecc7f80b8a9ed08"
,
28
:
"f98a85f738bf86c63049"
,
29
:
"defcc01082a674fce525"
,
30
:
"476d545d95a065b69174"
,
31
:
"1c3f1b652018be655519"
,
32
:
"5a933bab26c4a7538997"
,
33
:
"a29a70d43b565c75dc46"
,
34
:
"65c89b3e611fc30e7a54"
,
35
:
"99217e2972f76c871a5d"
,
36
:
"1c55a2a930bea5787af3"
,
37
:
"7cb7929bf51683204a33"
,
38
:
"4ac6372a4b07e4eff5f6"
,
39
:
"600e8b82cb50d2421250"
,
40
:
"607e9a0285a932b1c3bb"
,
41
:
"b91c192dbdff22b114bc"
,
42
:
"12e184780a6a857f6424"
,
43
:
"8888ceefaf81e3f7453c"
,
44
:
"b2db54f0f973823502e4"
,
45
:
"0271bdfd23b6a2711c0f"
,
46
:
"4439885c0113c5251249"
,
47
:
"6efc242b9241db2d3d7a"
,
48
:
"fd47c1d5992d31ddb426"
,
49
:
"777dad24bac29f01cc9e"
,
50
:
"32b6ece2d296af028d6e"
,
51
:
"a0d356451b55975ed363"
,
52
:
"e6d9bfdb6bce3d3b4892"
,
53
:
"6f03f454ccebcd97c1f7"
,
54
:
"52f4e30246b4e7f3007f"
,
55
:
"669cc2f27e13da22a06f"
,
56
:
"47e6fa3599cd14b51190"
,
57
:
"581c17a00778e234e53f"
}[
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
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