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
c78c17d1
Commit
c78c17d1
authored
Jul 01, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
71
parent
d0ac1371
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
26 additions
and
12 deletions
+26
-12
index.html
dev/index.html
+1
-1
12.725edd0be61d5c1da2e3.js
dev/static/js/12.725edd0be61d5c1da2e3.js
+1
-0
44.b5a76a7de5b7ae3c61f7.js
dev/static/js/44.b5a76a7de5b7ae3c61f7.js
+1
-0
6.516ca6fbf14c27677f7c.js
dev/static/js/6.516ca6fbf14c27677f7c.js
+1
-0
manifest.d6180b372f3fdfbcf173.js
dev/static/js/manifest.d6180b372f3fdfbcf173.js
+1
-0
index.html
dist/index.html
+1
-1
app.b97d02050d173593259cb774102829fc.css
dist/static/css/app.b97d02050d173593259cb774102829fc.css
+1
-0
18.ca234a799d9463e208e7.js
dist/static/js/18.ca234a799d9463e208e7.js
+1
-0
44.06567fa6cb55e796db2a.js
dist/static/js/44.06567fa6cb55e796db2a.js
+1
-0
45.54636759192256345af0.js
dist/static/js/45.54636759192256345af0.js
+1
-0
46.26fb3d09e806dead6ca0.js
dist/static/js/46.26fb3d09e806dead6ca0.js
+1
-0
47.d0c994c1982b0ce639bf.js
dist/static/js/47.d0c994c1982b0ce639bf.js
+1
-0
5.3d9e9094f35e338c540a.js
dist/static/js/5.3d9e9094f35e338c540a.js
+1
-0
app.b369af2de00610da082f.js
dist/static/js/app.b369af2de00610da082f.js
+1
-0
manifest.35c53e461e9a97d2659c.js
dist/static/js/manifest.35c53e461e9a97d2659c.js
+1
-0
role.vue
src/components/system/role.vue
+10
-10
index.vue
src/components/userDetail/index.vue
+1
-0
No files found.
dev/index.html
View file @
c78c17d1
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
7e3605f0edc6a03ee9d9
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.c75c8ffdd44fcdb01df5.js
></script><script
type=
text/javascript
src=
/static/js/app.34906f6c5b6497f69e87.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
d6180b372f3fdfbcf173
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.c75c8ffdd44fcdb01df5.js
></script><script
type=
text/javascript
src=
/static/js/app.34906f6c5b6497f69e87.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/12.725edd0be61d5c1da2e3.js
0 → 100644
View file @
c78c17d1
webpackJsonp
([
12
],{
"9PRC"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
n
=
a
(
"kmJW"
),
o
=
a
(
"O6Rd"
),
s
=
a
(
"G2rA"
),
l
=
a
(
"kmsh"
),
r
=
a
(
"P0f4"
),
d
=
a
(
"xGts"
),
c
=
{
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
=
d
.
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
:
r
.
a
},
mounted
:
function
(){
console
.
log
(
this
.
dialogObj
)}},
u
=
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
)};
u
.
_withStripped
=!
0
;
var
_
=
{
render
:
u
,
staticRenderFns
:[]},
p
=
_
;
var
v
=!
1
;
var
h
=
a
(
"VU/8"
)(
c
,
p
,
!
1
,
function
(
e
){
v
||
a
(
"B68U"
)},
"data-v-678b1a4c"
,
null
);
h
.
options
.
__file
=
"src
\\
components
\\
userDetail
\\
addressdialog.vue"
;
var
b
=
h
.
exports
,
g
=
a
(
"+TkF"
),
f
=
{
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
()}}},
A
=
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
)};
A
.
_withStripped
=!
0
;
var
m
=
{
render
:
A
,
staticRenderFns
:[]},
w
=
m
;
var
C
=!
1
;
var
D
=
a
(
"VU/8"
)(
f
,
w
,
!
1
,
function
(
e
){
C
||
a
(
"Ikhs"
)},
"data-v-44bd2f68"
,
null
);
D
.
options
.
__file
=
"src
\\
components
\\
userDetail
\\
dialog.vue"
;
var
x
=
D
.
exports
,
k
=
a
(
"0qGg"
),
y
=
a
(
"xwxU"
),
B
=
{
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
:
n
.
a
,
teacherDialog
:
x
,
UserList
:
k
.
a
,
refundDetail
:
s
.
a
,
sourceDialog
:
o
.
a
,
couponDialog
:
l
.
a
,
sourceByDateDialog
:
y
.
a
,
addressDialogC
:
b
},
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
=
d
.
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
g
.
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
,
type
:
e
.
type
}},
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
n
=
a
.
value
;
Object
(
i
.
m
)(
e
,{
desc
:
n
}).
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
g
.
k
[
e
]},
status
:
function
(
e
){
return
g
.
r
[
e
]},
buyType
:
function
(
e
){
return
g
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
},
percent
:
function
(
e
){
return
(
100
*
e
).
toFixed
(
2
)
+
"%"
},
isdel
:
function
(
e
){
return
0
==
e
?
"未删除"
:
"已删除"
}}},
E
=
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
)};
E
.
_withStripped
=!
0
;
var
j
=
{
render
:
E
,
staticRenderFns
:[]},
O
=
j
;
var
S
=!
1
;
var
L
=
a
(
"VU/8"
)(
B
,
O
,
!
1
,
function
(
e
){
S
||
(
a
(
"xjRD"
),
a
(
"ivTY"
))},
"data-v-61122de2"
,
null
);
L
.
options
.
__file
=
"src
\\
components
\\
userDetail
\\
index.vue"
;
t
.
default
=
L
.
exports
},
AxoJ
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/userDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
B68U
:
function
(
e
,
t
,
a
){
var
i
=
a
(
"hmaU"
);
"string"
==
typeof
i
&&
(
i
=
[[
e
.
i
,
i
,
""
]]),
i
.
locals
&&
(
e
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"1d20f7ba"
,
i
,
!
1
,{})},
Ikhs
:
function
(
e
,
t
,
a
){
var
i
=
a
(
"UoYC"
);
"string"
==
typeof
i
&&
(
i
=
[[
e
.
i
,
i
,
""
]]),
i
.
locals
&&
(
e
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"15060f9d"
,
i
,
!
1
,{})},
"L+Pp"
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
'
\
n.search-btn-block[data-v-61122de2] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-61122de2] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-61122de2] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-61122de2] {
\
n float: right;
\
n}
\
n.text-c[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-61122de2] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-61122de2] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-61122de2] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-61122de2] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-61122de2] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-61122de2]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.box[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n}
\
n.user-card[data-v-61122de2] {
\
n margin: 10px;
\
n width: 600px;
\
n padding: 20px;
\
n}
\
n.user-card .text.item[data-v-61122de2] {
\
n line-height: 30px;
\
n}
\
n.user-card .card-content img[data-v-61122de2] {
\
n float: left;
\
n}
\
n.user-card label[data-v-61122de2] {
\
n color: #5982e6;
\
n width: 100px;
\
n display: inline-block;
\
n text-align: right;
\
n}
\
n.user-card .el-col[data-v-61122de2] {
\
n height: 30px;
\
n line-height: 30px;
\
n}
\
n.user-card .title[data-v-61122de2] {
\
n height: 50px;
\
n line-height: 60px;
\
n margin-bottom: 20px;
\
n}
\
n.user-card .title a[data-v-61122de2] {
\
n display: block;
\
n}
\
n.user-card .title a img[data-v-61122de2] {
\
n width: 80px;
\
n border-radius: 100px;
\
n}
\
n.width400[data-v-61122de2] {
\
n width: 400px;
\
n}
\
n.avatar[data-v-61122de2] {
\
n width: 50px;
\
n height: 50px;
\
n border-radius: 50%;
\
n}
\
n.user[data-v-61122de2] {
\
n height: 100%;
\
n overflow: auto;
\
n /*padding: 20px 0;*/
\
n}
\
n.user .btn-content[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.header[data-v-61122de2] {
\
n padding: 0 20px;
\
n margin-bottom: 20px;
\
n}
\
n.header .el-row[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n color: #666;
\
n font-size: 16px;
\
n margin: 25px 0;
\
n}
\
n.header .el-row label[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.header .avatar[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.b-title[data-v-61122de2] {
\
n padding: 20px;
\
n color: #666;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/userDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;CACf;AACD;EACE,aAAa;EACb,aAAa;EACb,cAAc;CACf;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;CACb;AACD;EACE,eAAe;EACf,aAAa;EACb,sBAAsB;EACtB,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;CACrB;AACD;EACE,eAAe;CAChB;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,aAAa;CACd;AACD;EACE,YAAY;EACZ,aAAa;EACb,mBAAmB;CACpB;AACD;EACE,aAAa;EACb,eAAe;EACf,oBAAoB;CACrB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,gBAAgB;EAChB,oBAAoB;CACrB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,YAAY;EACZ,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,cAAc;EACd,YAAY;CACb"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-61122de2] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-61122de2] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-61122de2] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-61122de2] {
\
n float: right;
\
n}
\
n.text-c[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-61122de2] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-61122de2] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-61122de2] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-61122de2] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-61122de2] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-61122de2]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.box[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n}
\
n.user-card[data-v-61122de2] {
\
n margin: 10px;
\
n width: 600px;
\
n padding: 20px;
\
n}
\
n.user-card .text.item[data-v-61122de2] {
\
n line-height: 30px;
\
n}
\
n.user-card .card-content img[data-v-61122de2] {
\
n float: left;
\
n}
\
n.user-card label[data-v-61122de2] {
\
n color: #5982e6;
\
n width: 100px;
\
n display: inline-block;
\
n text-align: right;
\
n}
\
n.user-card .el-col[data-v-61122de2] {
\
n height: 30px;
\
n line-height: 30px;
\
n}
\
n.user-card .title[data-v-61122de2] {
\
n height: 50px;
\
n line-height: 60px;
\
n margin-bottom: 20px;
\
n}
\
n.user-card .title a[data-v-61122de2] {
\
n display: block;
\
n}
\
n.user-card .title a img[data-v-61122de2] {
\
n width: 80px;
\
n border-radius: 100px;
\
n}
\
n.width400[data-v-61122de2] {
\
n width: 400px;
\
n}
\
n.avatar[data-v-61122de2] {
\
n width: 50px;
\
n height: 50px;
\
n border-radius: 50%;
\
n}
\
n.user[data-v-61122de2] {
\
n height: 100%;
\
n overflow: auto;
\
n /*padding: 20px 0;*/
\
n}
\
n.user .btn-content[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.header[data-v-61122de2] {
\
n padding: 0 20px;
\
n margin-bottom: 20px;
\
n}
\
n.header .el-row[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n color: #666;
\
n font-size: 16px;
\
n margin: 25px 0;
\
n}
\
n.header .el-row label[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.header .avatar[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.b-title[data-v-61122de2] {
\
n padding: 20px;
\
n color: #666;
\
n}
\
n'
],
sourceRoot
:
""
}])},
UoYC
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
"
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"dialog.vue"
,
sourceRoot
:
""
}])},
hmaU
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.dialog-footer[data-v-678b1a4c] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/userDetail/addressdialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,eAAe;EACf,mBAAmB;CACpB"
,
file
:
"addressdialog.vue"
,
sourcesContent
:[
"
\n
.dialog-footer[data-v-678b1a4c] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
ivTY
:
function
(
e
,
t
,
a
){
var
i
=
a
(
"AxoJ"
);
"string"
==
typeof
i
&&
(
i
=
[[
e
.
i
,
i
,
""
]]),
i
.
locals
&&
(
e
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"5aeada36"
,
i
,
!
1
,{})},
xjRD
:
function
(
e
,
t
,
a
){
var
i
=
a
(
"L+Pp"
);
"string"
==
typeof
i
&&
(
i
=
[[
e
.
i
,
i
,
""
]]),
i
.
locals
&&
(
e
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"b6267d16"
,
i
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/44.b5a76a7de5b7ae3c61f7.js
0 → 100644
View file @
c78c17d1
webpackJsonp
([
44
],{
TkUD
:
function
(
e
,
t
,
n
){
var
o
=
n
(
"i3sb"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
n
(
"rjj0"
)(
"70ad75b8"
,
o
,
!
1
,{})},
Vt1u
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"CCn6"
),
a
=
{
components
:{
page
:
n
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
roleList
:[],
exportMenuList
:[
"2-3"
,
"5-10"
,
"5-2"
,
"5-1"
,
"5-3"
,
"5-8"
,
"5-9"
,
"3-1"
,
"7-9"
,
"6-3"
],
dialog
:{
title
:
"新增角色"
,
show
:
!
1
,
select
:[],
chooseed
:[],
rules
:{
name
:[{
required
:
!
0
,
message
:
"请填写角色名称"
,
trigger
:
"change"
}]},
form
:{
name
:
""
,
menu_ids
:[],
id
:
""
}}}},
created
:
function
(){
this
.
getList
(),
this
.
getMenuList
()},
methods
:{
distribution
:
function
(
e
){},
rowClick
:
function
(
e
){
this
.
$router
.
push
({
name
:
"admin"
,
query
:{
roleId
:
e
.
id
}})},
getMenuList
:
function
(){
var
e
=
this
;
Object
(
o
.
_61
)().
then
(
function
(
t
){
t
&&
(
t
.
forEach
(
function
(
t
){
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
readonly
=!
1
,
t
.
delete
=!
1
,
e
.
exportMenuList
.
indexOf
(
t
.
cover
)
>-
1
&&
(
t
.
export
=!
1
),
"5-9"
!==
t
.
cover
&&
"7-9"
!==
t
.
cover
||
(
t
.
distribution
=!
1
),
"月课订单列表"
!==
t
.
name
&&
"日课订单列表"
!==
t
.
name
&&
"来源码管理"
!==
t
.
name
&&
"5-9"
!==
t
.
cover
&&
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
&&
"3-2"
!==
data
.
cover
||
(
t
.
refund
=!
1
),
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
&&
"3-2"
!==
data
.
cover
||
(
t
.
classManageUnlimited
=!
1
,
t
.
classManage
=!
1
,
t
.
classTakeUnlimited
=!
1
),
"5-1"
===
t
.
cover
&&
(
t
.
promoter
=!
1
)})}),
e
.
dialog
.
select
=
t
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
o
.
_80
)(
t
).
then
(
function
(
t
){
t
&&
(
e
.
roleList
=
t
.
list
,
e
.
total
=
t
.
total
)})},
edit
:
function
(
e
){
var
t
=
this
;
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑角色"
,
Object
(
o
.
_61
)().
then
(
function
(
n
){
n
&&
(
n
.
forEach
(
function
(
n
){
n
.
children
&&
n
.
children
.
forEach
(
function
(
n
){
n
.
readonly
=!
1
,
n
.
delete
=!
1
,
t
.
exportMenuList
.
indexOf
(
n
.
cover
)
>-
1
&&
(
n
.
export
=!
1
),
"5-9"
!==
n
.
cover
&&
"7-9"
!==
n
.
cover
||
(
n
.
distribution
=!
1
),
"月课订单列表"
!==
n
.
name
&&
"日课订单列表"
!==
n
.
name
&&
"来源码管理"
!==
n
.
name
&&
"5-9"
!==
n
.
cover
&&
"2-3"
!==
n
.
cover
&&
"3-1"
!==
n
.
cover
&&
"3-2"
!==
e
.
cover
||
(
n
.
refund
=!
1
),
"2-3"
!==
n
.
cover
&&
"3-1"
!==
n
.
cover
&&
"3-2"
!==
e
.
cover
||
(
n
.
classManageUnlimited
=!
1
,
n
.
classManage
=!
1
,
n
.
classTakeUnlimited
=!
1
),
"5-1"
===
n
.
cover
&&
(
n
.
promoter
=!
1
)})}),
t
.
dialog
.
select
=
n
,
Object
(
o
.
_79
)(
e
.
id
).
then
(
function
(
n
){
console
.
log
(
n
),
t
.
dialog
.
form
.
name
=
n
.
name
,
t
.
dialog
.
form
.
menu_ids
=
JSON
.
parse
(
n
.
menu_ids
),
t
.
dialog
.
chooseed
=
[],
t
.
dialog
.
form
.
menu_ids
.
forEach
(
function
(
n
){
t
.
dialog
.
chooseed
.
push
(
n
.
id
),
t
.
dialog
.
select
.
forEach
(
function
(
o
){
o
.
children
&&
o
.
children
.
forEach
(
function
(
o
){
o
.
id
===
n
.
id
&&
(
o
.
readonly
=!!
n
.
readonly
,
o
.
delete
=!!
n
.
delete
,
t
.
exportMenuList
.
indexOf
(
n
.
cover
)
>-
1
&&
(
o
.
export
=!!
n
.
export
),
"5-1"
!==
n
.
cover
&&
"5-10"
!==
n
.
cover
&&
"10-1"
!==
n
.
cover
&&
"5-9"
!==
n
.
cover
&&
"2-3"
!==
n
.
cover
&&
"3-1"
!==
n
.
cover
&&
"3-2"
!==
e
.
cover
||
(
o
.
refund
=!!
n
.
refund
),
"2-3"
!==
n
.
cover
&&
"3-1"
!==
n
.
cover
&&
"3-2"
!==
e
.
cover
||
(
o
.
classManage
=!!
n
.
classManage
,
o
.
classManageUnlimited
=!!
n
.
classManageUnlimited
,
o
.
classTakeUnlimited
=!!
n
.
classTakeUnlimited
),
"5-9"
!==
n
.
cover
&&
"7-9"
!==
n
.
cover
||
(
o
.
distribution
=!!
n
.
distribution
),
"5-1"
===
n
.
cover
&&
(
o
.
promoter
=!!
n
.
promoter
))})})}),
t
.
dialog
.
show
=!
0
,
t
.
$nextTick
(
function
(){
this
.
$refs
.
tree
.
setCheckedKeys
(
this
.
dialog
.
chooseed
)})}))})},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增菜单"
,
this
.
dialog
.
form
.
name
=
""
,
this
.
dialog
.
form
.
menu_ids
=
[],
this
.
getMenuList
()},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
Q
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getList
()})})},
sub
:
function
(){
var
e
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
n
=
[];
e
.
$refs
.
tree
.
getCheckedNodes
().
forEach
(
function
(
e
){
var
t
=
void
0
;
!
1
!==
e
.
readonly
&&!
0
!==
e
.
readonly
||
(
t
=
{
id
:
e
.
id
,
cover
:
e
.
cover
,
readonly
:
e
.
readonly
}),
!
1
!==
e
.
delete
&&!
0
!==
e
.
delete
||
(
t
.
delete
=
e
.
delete
),
!
1
!==
e
.
refund
&&!
0
!==
e
.
refund
||
(
t
.
refund
=
e
.
refund
),
!
1
!==
e
.
classManage
&&!
0
!==
e
.
classManage
||
(
t
.
classManage
=
e
.
classManage
),
!
1
!==
e
.
classManageUnlimited
&&!
0
!==
e
.
classManageUnlimited
||
(
t
.
classManageUnlimited
=
e
.
classManageUnlimited
),
!
1
!==
e
.
classTakeUnlimited
&&!
0
!==
e
.
classTakeUnlimited
||
(
t
.
classTakeUnlimited
=
e
.
classTakeUnlimited
),
!
1
!==
e
.
promoter
&&!
0
!==
e
.
promoter
||
(
t
.
promoter
=
e
.
promoter
),
!
1
!==
e
.
export
&&!
0
!==
e
.
export
||
(
t
.
export
=
e
.
export
),
!
1
!==
e
.
distribution
&&!
0
!==
e
.
distribution
||
(
t
.
distribution
=
e
.
distribution
),
t
&&
n
.
push
(
t
)});
var
a
=
e
.
dialog
;
if
(
a
.
form
.
id
){
var
i
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
n
)};
e
.
$confirm
(
"此操作将修改该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_155
)(
a
.
form
.
id
,
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
a
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
s
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
n
)};
e
.
$confirm
(
"此操作将添加新角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_127
)(
s
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
a
.
show
=!
1
,
e
.
getList
()})})}}})}}},
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"role"
},[
n
(
"div"
,{
staticClass
:
"head clear-both"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增角色"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
roleList
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"角色ID"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"角色名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
e
.
rowClick
(
t
.
row
)}}},[
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
name
))])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
n
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"100vw"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"角色名称"
,
prop
:
"name"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"name"
,
t
)},
expression
:
"dialog.form.name"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"菜单选项"
}},[
n
(
"div"
,{
staticClass
:
"custom-tree-container"
},[
n
(
"el-tree"
,{
ref
:
"tree"
,
attrs
:{
data
:
e
.
dialog
.
select
,
"show-checkbox"
:
""
,
"node-key"
:
"id"
,
"default-checked-keys"
:
e
.
dialog
.
chooseed
,
"default-expand-all"
:
""
,
"expand-on-click-node"
:
!
1
,
props
:{
children
:
"children"
,
label
:
"name"
,
value
:
!
1
}},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
o
=
t
.
node
,
a
=
t
.
data
;
return
n
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
o
.
label
))]),
e
.
_v
(
" "
),
0
!==
a
.
pid
?
n
(
"span"
,[
"5-1"
===
a
.
cover
||
"5-10"
===
a
.
cover
||
"5-9"
===
a
.
cover
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"退款"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"10-1"
===
a
.
cover
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"类别管理"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-1"
===
a
.
cover
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
promoter
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"promoter"
,
t
)},
expression
:
"data.promoter"
}},[
e
.
_v
(
"编辑推广人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"添加观摩班用户"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
classManage
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classManage"
,
t
)},
expression
:
"data.classManage"
}},[
e
.
_v
(
"添加带班班用户"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
classManageUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classManageUnlimited"
,
t
)},
expression
:
"data.classManageUnlimited"
}},[
e
.
_v
(
"添加观摩班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
classTakeUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classTakeUnlimited"
,
t
)},
expression
:
"data.classTakeUnlimited"
}},[
e
.
_v
(
"添加带班班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-9"
===
a
.
cover
||
"7-9"
===
a
.
cover
?
n
(
"el-checkbox"
,{
on
:{
change
:
e
.
distribution
},
model
:{
value
:
a
.
distribution
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"distribution"
,
t
)},
expression
:
"data.distribution"
}},[
e
.
_v
(
"批量分配"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
exportMenuList
.
indexOf
(
a
.
cover
)
>-
1
?
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
export
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"export"
,
t
)},
expression
:
"data.export"
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
readonly
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"readonly"
,
t
)},
expression
:
"data.readonly"
}},[
e
.
_v
(
"只读"
)]),
e
.
_v
(
" "
),
n
(
"el-checkbox"
,{
model
:{
value
:
a
.
delete
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"delete"
,
t
)},
expression
:
"data.delete"
}},[
e
.
_v
(
"删除"
)])],
1
):
e
.
_e
()])}}])})],
1
)])],
1
),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)};
i
.
_withStripped
=!
0
;
var
s
=
{
render
:
i
,
staticRenderFns
:[]},
l
=
s
;
var
r
=!
1
;
var
c
=
n
(
"VU/8"
)(
a
,
l
,
!
1
,
function
(
e
){
r
||
n
(
"TkUD"
)},
"data-v-baf7767a"
,
null
);
c
.
options
.
__file
=
"src
\\
components
\\
system
\\
role.vue"
;
t
.
default
=
c
.
exports
},
i3sb
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.custom-tree-node[data-v-baf7767a] {
\n
-webkit-box-flex: 1;
\n
-ms-flex: 1;
\n
flex: 1;
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
-webkit-box-pack: justify;
\n
-ms-flex-pack: justify;
\n
justify-content: space-between;
\n
font-size: 14px;
\n
padding-right: 8px;
\n
}
\n
.role[data-v-baf7767a] {
\n
width: 100%;
\n
padding: 20px 0;
\n
}
\n
.role .head[data-v-baf7767a] {
\n
margin-bottom: 10px;
\n
}
\n
.role .page-div[data-v-baf7767a] {
\n
text-align: center;
\n
padding-top: 20px;
\n
}
\n
.clear-both[data-v-baf7767a]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/system/role.vue"
],
names
:[],
mappings
:
";AACA;EACE,oBAAoB;MAChB,YAAY;UACR,QAAQ;EAChB,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,0BAA0B;MACtB,uBAAuB;UACnB,+BAA+B;EACvC,gBAAgB;EAChB,mBAAmB;CACpB;AACD;EACE,YAAY;EACZ,gBAAgB;CACjB;AACD;EACE,oBAAoB;CACrB;AACD;EACE,mBAAmB;EACnB,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb"
,
file
:
"role.vue"
,
sourcesContent
:[
"
\n
.custom-tree-node[data-v-baf7767a] {
\n
-webkit-box-flex: 1;
\n
-ms-flex: 1;
\n
flex: 1;
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
-webkit-box-pack: justify;
\n
-ms-flex-pack: justify;
\n
justify-content: space-between;
\n
font-size: 14px;
\n
padding-right: 8px;
\n
}
\n
.role[data-v-baf7767a] {
\n
width: 100%;
\n
padding: 20px 0;
\n
}
\n
.role .head[data-v-baf7767a] {
\n
margin-bottom: 10px;
\n
}
\n
.role .page-div[data-v-baf7767a] {
\n
text-align: center;
\n
padding-top: 20px;
\n
}
\n
.clear-both[data-v-baf7767a]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
"
],
sourceRoot
:
""
}])}});
\ No newline at end of file
dev/static/js/6.516ca6fbf14c27677f7c.js
0 → 100644
View file @
c78c17d1
webpackJsonp
([
6
,
12
],{
"2/eB"
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"xCQ4"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"10b2b452"
,
n
,
!
1
,{})},
"9PRC"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
i
=
a
(
"kmJW"
),
o
=
a
(
"O6Rd"
),
l
=
a
(
"G2rA"
),
s
=
a
(
"kmsh"
),
r
=
a
(
"P0f4"
),
d
=
a
(
"xGts"
),
c
=
{
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
=
d
.
a
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
province
}),
a
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
city
}),
n
=
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
=
n
.
length
>
0
?
n
[
0
].
label
:
a
[
0
].
children
[
0
].
label
,
this
.
dialogObj
.
district
=
n
.
length
>
0
?
n
[
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
(
n
.
a
)(
e
.
dialogObj
.
userid
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)}):
Object
(
n
.
_2
)(
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
(){
console
.
log
(
this
.
dialogObj
)}},
u
=
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
)};
u
.
_withStripped
=!
0
;
var
_
=
{
render
:
u
,
staticRenderFns
:[]},
p
=
_
;
var
v
=!
1
;
var
h
=
a
(
"VU/8"
)(
c
,
p
,
!
1
,
function
(
e
){
v
||
a
(
"B68U"
)},
"data-v-678b1a4c"
,
null
);
h
.
options
.
__file
=
"src
\\
components
\\
userDetail
\\
addressdialog.vue"
;
var
b
=
h
.
exports
,
g
=
a
(
"+TkF"
),
f
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
n
.
_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
(
n
.
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
()}}},
A
=
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
)};
A
.
_withStripped
=!
0
;
var
m
=
{
render
:
A
,
staticRenderFns
:[]},
w
=
m
;
var
C
=!
1
;
var
x
=
a
(
"VU/8"
)(
f
,
w
,
!
1
,
function
(
e
){
C
||
a
(
"Ikhs"
)},
"data-v-44bd2f68"
,
null
);
x
.
options
.
__file
=
"src
\\
components
\\
userDetail
\\
dialog.vue"
;
var
k
=
x
.
exports
,
D
=
a
(
"0qGg"
),
B
=
a
(
"xwxU"
),
y
=
{
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
:
i
.
a
,
teacherDialog
:
k
,
UserList
:
D
.
a
,
refundDetail
:
l
.
a
,
sourceDialog
:
o
.
a
,
couponDialog
:
s
.
a
,
sourceByDateDialog
:
B
.
a
,
addressDialogC
:
b
},
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
=
d
.
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
n
=
a
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
area
});
this
.
addressDialog
.
district
=
e
.
area_id
?
e
.
area_id
:
n
[
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
(
n
.
_25
)(
this
.
id
).
then
(
function
(
t
){
e
.
addressList
=
t
})},
userStatusFormatter
:
function
(
e
){
return
g
.
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
(
n
.
_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
(
n
.
_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
(
n
.
_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
(
n
.
_98
)(
this
.
id
).
then
(
function
(
t
){
e
.
detail
=
t
,
t
.
periods_list
&&
(
e
.
periodList
=
t
.
periods_list
),
console
.
log
(
t
)}),
Object
(
n
.
_87
)(
this
.
id
).
then
(
function
(
t
){
1
==
t
.
family_user
&&
(
e
.
subDetail
=
t
.
sub_user_info
)}))},
getUserSubAccountList
:
function
(){
var
e
=
this
;
Object
(
n
.
_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
,
type
:
e
.
type
}},
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
(
n
.
_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
(
n
.
_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
i
=
a
.
value
;
Object
(
n
.
m
)(
e
,{
desc
:
i
}).
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
(
n
.
_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
(
n
.
_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
g
.
k
[
e
]},
status
:
function
(
e
){
return
g
.
r
[
e
]},
buyType
:
function
(
e
){
return
g
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
},
percent
:
function
(
e
){
return
(
100
*
e
).
toFixed
(
2
)
+
"%"
},
isdel
:
function
(
e
){
return
0
==
e
?
"未删除"
:
"已删除"
}}},
E
=
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
)};
E
.
_withStripped
=!
0
;
var
j
=
{
render
:
E
,
staticRenderFns
:[]},
O
=
j
;
var
S
=!
1
;
var
U
=
a
(
"VU/8"
)(
y
,
O
,
!
1
,
function
(
e
){
S
||
(
a
(
"xjRD"
),
a
(
"ivTY"
))},
"data-v-61122de2"
,
null
);
U
.
options
.
__file
=
"src
\\
components
\\
userDetail
\\
index.vue"
;
t
.
default
=
U
.
exports
},
AxoJ
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/userDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
B68U
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"hmaU"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"1d20f7ba"
,
n
,
!
1
,{})},
Ikhs
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"UoYC"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"15060f9d"
,
n
,
!
1
,{})},
"L+Pp"
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
'
\
n.search-btn-block[data-v-61122de2] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-61122de2] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-61122de2] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-61122de2] {
\
n float: right;
\
n}
\
n.text-c[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-61122de2] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-61122de2] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-61122de2] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-61122de2] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-61122de2] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-61122de2]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.box[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n}
\
n.user-card[data-v-61122de2] {
\
n margin: 10px;
\
n width: 600px;
\
n padding: 20px;
\
n}
\
n.user-card .text.item[data-v-61122de2] {
\
n line-height: 30px;
\
n}
\
n.user-card .card-content img[data-v-61122de2] {
\
n float: left;
\
n}
\
n.user-card label[data-v-61122de2] {
\
n color: #5982e6;
\
n width: 100px;
\
n display: inline-block;
\
n text-align: right;
\
n}
\
n.user-card .el-col[data-v-61122de2] {
\
n height: 30px;
\
n line-height: 30px;
\
n}
\
n.user-card .title[data-v-61122de2] {
\
n height: 50px;
\
n line-height: 60px;
\
n margin-bottom: 20px;
\
n}
\
n.user-card .title a[data-v-61122de2] {
\
n display: block;
\
n}
\
n.user-card .title a img[data-v-61122de2] {
\
n width: 80px;
\
n border-radius: 100px;
\
n}
\
n.width400[data-v-61122de2] {
\
n width: 400px;
\
n}
\
n.avatar[data-v-61122de2] {
\
n width: 50px;
\
n height: 50px;
\
n border-radius: 50%;
\
n}
\
n.user[data-v-61122de2] {
\
n height: 100%;
\
n overflow: auto;
\
n /*padding: 20px 0;*/
\
n}
\
n.user .btn-content[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.header[data-v-61122de2] {
\
n padding: 0 20px;
\
n margin-bottom: 20px;
\
n}
\
n.header .el-row[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n color: #666;
\
n font-size: 16px;
\
n margin: 25px 0;
\
n}
\
n.header .el-row label[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.header .avatar[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.b-title[data-v-61122de2] {
\
n padding: 20px;
\
n color: #666;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/userDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;CACf;AACD;EACE,aAAa;EACb,aAAa;EACb,cAAc;CACf;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;CACb;AACD;EACE,eAAe;EACf,aAAa;EACb,sBAAsB;EACtB,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;CACrB;AACD;EACE,eAAe;CAChB;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,aAAa;CACd;AACD;EACE,YAAY;EACZ,aAAa;EACb,mBAAmB;CACpB;AACD;EACE,aAAa;EACb,eAAe;EACf,oBAAoB;CACrB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,gBAAgB;EAChB,oBAAoB;CACrB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,YAAY;EACZ,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,cAAc;EACd,YAAY;CACb"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-61122de2] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-61122de2] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-61122de2] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-61122de2] {
\
n float: right;
\
n}
\
n.text-c[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-61122de2] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-61122de2] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-61122de2] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-61122de2] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-61122de2] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-61122de2]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.box[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n}
\
n.user-card[data-v-61122de2] {
\
n margin: 10px;
\
n width: 600px;
\
n padding: 20px;
\
n}
\
n.user-card .text.item[data-v-61122de2] {
\
n line-height: 30px;
\
n}
\
n.user-card .card-content img[data-v-61122de2] {
\
n float: left;
\
n}
\
n.user-card label[data-v-61122de2] {
\
n color: #5982e6;
\
n width: 100px;
\
n display: inline-block;
\
n text-align: right;
\
n}
\
n.user-card .el-col[data-v-61122de2] {
\
n height: 30px;
\
n line-height: 30px;
\
n}
\
n.user-card .title[data-v-61122de2] {
\
n height: 50px;
\
n line-height: 60px;
\
n margin-bottom: 20px;
\
n}
\
n.user-card .title a[data-v-61122de2] {
\
n display: block;
\
n}
\
n.user-card .title a img[data-v-61122de2] {
\
n width: 80px;
\
n border-radius: 100px;
\
n}
\
n.width400[data-v-61122de2] {
\
n width: 400px;
\
n}
\
n.avatar[data-v-61122de2] {
\
n width: 50px;
\
n height: 50px;
\
n border-radius: 50%;
\
n}
\
n.user[data-v-61122de2] {
\
n height: 100%;
\
n overflow: auto;
\
n /*padding: 20px 0;*/
\
n}
\
n.user .btn-content[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.header[data-v-61122de2] {
\
n padding: 0 20px;
\
n margin-bottom: 20px;
\
n}
\
n.header .el-row[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n color: #666;
\
n font-size: 16px;
\
n margin: 25px 0;
\
n}
\
n.header .el-row label[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.header .avatar[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.b-title[data-v-61122de2] {
\
n padding: 20px;
\
n color: #666;
\
n}
\
n'
],
sourceRoot
:
""
}])},
UoYC
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
"
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"dialog.vue"
,
sourceRoot
:
""
}])},
VcN4
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
'
\
n.search-btn-block[data-v-601398f1] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-601398f1] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-601398f1] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-601398f1] {
\
n float: right;
\
n}
\
n.text-c[data-v-601398f1] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-601398f1] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-601398f1] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-601398f1] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-601398f1] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-601398f1] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-601398f1]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.avatar[data-v-601398f1] {
\
n width: 50px;
\
n margin-right: 5px;
\
n border-radius: 50%;
\
n height: 50px;
\
n}
\
n.user[data-v-601398f1] {
\
n height: 100%;
\
n overflow: auto;
\
n padding: 20px 0;
\
n}
\
n.user .btn-content[data-v-601398f1] {
\
n text-align: center;
\
n}
\
n.flexRow[data-v-601398f1] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-orient: horizontal;
\
n -webkit-box-direction: normal;
\
n -ms-flex-flow: row;
\
n flex-flow: row;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/user/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,mBAAmB;EACnB,aAAa;CACd;AACD;EACE,aAAa;EACb,eAAe;EACf,gBAAgB;CACjB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-601398f1] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-601398f1] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-601398f1] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-601398f1] {
\
n float: right;
\
n}
\
n.text-c[data-v-601398f1] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-601398f1] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-601398f1] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-601398f1] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-601398f1] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-601398f1] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-601398f1]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.avatar[data-v-601398f1] {
\
n width: 50px;
\
n margin-right: 5px;
\
n border-radius: 50%;
\
n height: 50px;
\
n}
\
n.user[data-v-601398f1] {
\
n height: 100%;
\
n overflow: auto;
\
n padding: 20px 0;
\
n}
\
n.user .btn-content[data-v-601398f1] {
\
n text-align: center;
\
n}
\
n.flexRow[data-v-601398f1] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-orient: horizontal;
\
n -webkit-box-direction: normal;
\
n -ms-flex-flow: row;
\
n flex-flow: row;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n}
\
n'
],
sourceRoot
:
""
}])},
WgP0
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.el-col[data-v-3ab294c2] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-3ab294c2] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-3ab294c2] {
\n
color: #5982e6;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/user/detail.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,eAAe;CAChB"
,
file
:
"detail.vue"
,
sourcesContent
:[
"
\n
.el-col[data-v-3ab294c2] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-3ab294c2] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-3ab294c2] {
\n
color: #5982e6;
\n
}
\n
"
],
sourceRoot
:
""
}])},
Yp3g
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"VcN4"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"3d868bd9"
,
n
,
!
1
,{})},
b17n
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/user/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
eUH5
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"WgP0"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"457b83a6"
,
n
,
!
1
,{})},
hmaU
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.dialog-footer[data-v-678b1a4c] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/userDetail/addressdialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,eAAe;EACf,mBAAmB;CACpB"
,
file
:
"addressdialog.vue"
,
sourcesContent
:[
"
\n
.dialog-footer[data-v-678b1a4c] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
ivTY
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"AxoJ"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"5aeada36"
,
n
,
!
1
,{})},
jFLA
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
i
=
a
(
"kmJW"
),
o
=
{
name
:
"detail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
userDetail
:{},
show
:
!
1
}},
methods
:{
getDetail
:
function
(){
var
e
=
this
;
this
.
dialogObj
.
id
&&
Object
(
n
.
_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
)}}},
l
=
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
)};
l
.
_withStripped
=!
0
;
var
s
=
{
render
:
l
,
staticRenderFns
:[]},
r
=
s
;
var
d
=!
1
;
var
c
=
a
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
e
){
d
||
a
(
"eUH5"
)},
"data-v-3ab294c2"
,
null
);
c
.
options
.
__file
=
"src
\\
components
\\
user
\\
detail.vue"
;
var
u
=
c
.
exports
,
_
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
n
.
_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
(
n
.
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
()}}},
p
=
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
)};
p
.
_withStripped
=!
0
;
var
v
=
{
render
:
p
,
staticRenderFns
:[]},
h
=
v
;
var
b
=!
1
;
var
g
=
a
(
"VU/8"
)(
_
,
h
,
!
1
,
function
(
e
){
b
||
a
(
"2/eB"
)},
"data-v-25e92639"
,
null
);
g
.
options
.
__file
=
"src
\\
components
\\
user
\\
dialog.vue"
;
var
f
=
g
.
exports
,
A
=
a
(
"9PRC"
),
m
=
{
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
:
i
.
a
,
detailDialog
:
u
,
userDetail
:
A
.
default
,
teacherDialog
:
f
},
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
(
n
.
_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
(
n
.
_89
)().
then
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
({
showClose
:
!
0
,
message
:
"已更新"
+
t
+
"条用户数据"
,
type
:
"success"
})}).
catch
(
function
(){
e
.
loading
=!
1
})}}},
w
=
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
)};
w
.
_withStripped
=!
0
;
var
C
=
{
render
:
w
,
staticRenderFns
:[]},
x
=
C
;
var
k
=!
1
;
var
D
=
a
(
"VU/8"
)(
m
,
x
,
!
1
,
function
(
e
){
k
||
(
a
(
"Yp3g"
),
a
(
"ocVW"
))},
"data-v-601398f1"
,
null
);
D
.
options
.
__file
=
"src
\\
components
\\
user
\\
index.vue"
;
t
.
default
=
D
.
exports
},
ocVW
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"b17n"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"7523f29a"
,
n
,
!
1
,{})},
xCQ4
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
"
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"dialog.vue"
,
sourceRoot
:
""
}])},
xjRD
:
function
(
e
,
t
,
a
){
var
n
=
a
(
"L+Pp"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"b6267d16"
,
n
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/manifest.d6180b372f3fdfbcf173.js
0 → 100644
View file @
c78c17d1
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
b
[
t
]
&&
u
.
push
(
b
[
t
][
0
]),
b
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
b
=
{
60
:
0
};
function
f
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
b
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
b
.
exports
,
b
,
b
.
exports
,
f
),
b
.
l
=!
0
,
b
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
b
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
f
){
c
=
b
[
e
]
=
[
a
,
f
]});
c
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"16eb7f8cbac8a689d499"
,
1
:
"2c9ebf7b732aa3fdf3c2"
,
2
:
"0761b60c669971a9a44a"
,
3
:
"9a5b97380970b0933ae8"
,
4
:
"48823e704707c0d69214"
,
5
:
"1cdcbc229c82e6de28c8"
,
6
:
"516ca6fbf14c27677f7c"
,
7
:
"34f9c1a6c911a69ec382"
,
8
:
"14de3ae9cd758d45251b"
,
9
:
"f0289cec1e521b7d3cef"
,
10
:
"de9f467d9b4a34f88d8b"
,
11
:
"ea6cf614c2fd66d92483"
,
12
:
"725edd0be61d5c1da2e3"
,
13
:
"cb2f5287d7d7547dfa43"
,
14
:
"9dd8c3471bb99c0a2b76"
,
15
:
"8dcdb6aa54482b4481bd"
,
16
:
"ec1eb5bdf3d5d8cfc587"
,
17
:
"866854bdaa7ca71446ff"
,
18
:
"4c7a513f0ce0c3621266"
,
19
:
"2cc6119881abc20dfad2"
,
20
:
"01e3a63dea996bea1f83"
,
21
:
"5b9caa2fae623be9123e"
,
22
:
"845c38458cc4eb58b34a"
,
23
:
"1b0ae0527da127f428b4"
,
24
:
"146f0f96eced0f23ce48"
,
25
:
"949c0bc8ba78fe3c992d"
,
26
:
"4e4fe295227884864f16"
,
27
:
"2879e58772a7b23ace75"
,
28
:
"34063e45734c65d85595"
,
29
:
"f9f42d473eabb576f23f"
,
30
:
"84e334d877dbb87b9eb3"
,
31
:
"b29b93be543a2fe65b17"
,
32
:
"01fa2805877c6cbdf7af"
,
33
:
"267c1a2242ebf9a028aa"
,
34
:
"cfd2507442dd13e428cd"
,
35
:
"65d3ab3b0202027fa637"
,
36
:
"5011b2196b584b14826b"
,
37
:
"e94f2bdac1d4a783d393"
,
38
:
"6b9fabd2c071d6cdf54f"
,
39
:
"aa7684a8b9f54f736cf2"
,
40
:
"3e9a225da6813b2511eb"
,
41
:
"f5cbc80a06389832a034"
,
42
:
"2b22e6c6c95c4e96b9a0"
,
43
:
"50825adcf2f817189dbe"
,
44
:
"b5a76a7de5b7ae3c61f7"
,
45
:
"253771485fb2b1ecb8dc"
,
46
:
"be944d0abe4a9d1b4e10"
,
47
:
"aa2b49f936dcc8774648"
,
48
:
"8f6508ff229ef77496c1"
,
49
:
"87fdb289e269eee51211"
,
50
:
"82bb387148b6e4c12d0b"
,
51
:
"f350310b3fb52ad6b1be"
,
52
:
"0240e3bc0b518830e466"
,
53
:
"515e0918fb090883dd7d"
,
54
:
"dc7ad71bf0a1c7a9e137"
,
55
:
"8e5b3dce840d40858ac5"
,
56
:
"d59bc249a4c16f386f8a"
,
57
:
"051980f34375d0b68fcd"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
b
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
b
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
f
.
m
=
e
,
f
.
c
=
a
,
f
.
d
=
function
(
e
,
c
,
a
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"/"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
c78c17d1
<!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.
f71829f5ca23948fe152fde440563a1e.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.d4c04687d128a76b2c27.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6c7b37f6719c90d0cedf.js
></script><script
type=
text/javascript
src=
/static/js/app.97ac56f2b70658163d9d
.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.
b97d02050d173593259cb774102829fc.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.35c53e461e9a97d2659c.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6c7b37f6719c90d0cedf.js
></script><script
type=
text/javascript
src=
/static/js/app.b369af2de00610da082f
.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.b97d02050d173593259cb774102829fc.css
0 → 100644
View file @
c78c17d1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/18.ca234a799d9463e208e7.js
0 → 100644
View file @
c78c17d1
webpackJsonp
([
18
],{
"2CfM"
:
function
(
t
,
e
){},
"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
()}}},
b
=
{
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
p
=
i
(
"VU/8"
)(
h
,
b
,
!
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
:
p
,
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
,
type
:
t
.
type
}},
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
(
"bMYl"
),
i
(
"2CfM"
)},
"data-v-04344b73"
,
null
);
e
.
default
=
D
.
exports
},
LXME
:
function
(
t
,
e
){},
bMYl
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/44.06567fa6cb55e796db2a.js
0 → 100644
View file @
c78c17d1
webpackJsonp
([
44
],{
TZwE
:
function
(
e
,
t
){},
mjLz
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
i
=
{
name
:
"dayOrderCount"
,
data
:
function
(){
var
e
=
this
;
return
{
goodsList
:[],
headList
:[],
tableData
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
,
a
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_53
)({
limit
:
99999
,
course_type
:
1
,
status
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
(),
course_type
:
1
};
Object
(
r
.
_115
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
n
=
t
+
"-"
+
a
+
"-01"
,
i
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
n
,
i
]}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
type
:
"daterange"
,
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
e
){
a
(
"TZwE"
)},
"data-v-5cc01ba2"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/45.54636759192256345af0.js
0 → 100644
View file @
c78c17d1
webpackJsonp
([
45
],{
EOXq
:
function
(
e
,
t
){},
"v/LD"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
i
=
{
name
:
"monthOrderCount"
,
data
:
function
(){
var
e
=
this
;
return
{
goodsList
:[],
headList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
,
a
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
,
e
.
formatTime
(
new
Date
)])}},
tableData
:[],
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
filters
:{
toFixed2
:
function
(
e
){
if
(
"number"
==
typeof
e
){
var
t
=
e
.
toString
().
split
(
"."
);
return
t
.
length
>
1
&&
t
[
1
].
length
>
2
?
Number
(
e
).
toFixed
(
2
):
e
}
return
e
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
n
=
t
+
"-"
+
a
+
"-01"
,
i
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
n
,
i
]},
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_53
)({
limit
:
99999
,
course_type
:
0
,
status
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
console
.
log
(
this
.
searchFrom
.
dateValue
),
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
()};
Object
(
r
.
_115
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
type
:
"daterange"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"toFixed2"
)(
r
.
row
[
t
]))
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
e
){
a
(
"EOXq"
)},
"data-v-4efae2e6"
,
null
);
t
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/46.26fb3d09e806dead6ca0.js
0 → 100644
View file @
c78c17d1
webpackJsonp
([
46
],{
NrkQ
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
(
a
(
"sf/l"
),
a
(
"CCn6"
)),
o
=
a
(
"+TkF"
),
i
=
{
name
:
"index"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
a
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
teacherId
:
null
,
secId
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
,
course_type
:
"-1"
},
tableData
:[],
commentForm
:{},
showCommentDialog
:
!
1
,
teacherList
:[],
goodList
:[]}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
o
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
created
:
function
(){
this
.
initPage
(),
this
.
getGoodsOption
(),
this
.
getTeacherList
()},
methods
:{
externalLaunchStatus
:
function
(
e
){
return
o
.
A
[
e
.
status
]},
formatTime
:
function
(
e
){
console
.
log
(
e
);
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
s
.
_53
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
pullAll
:
function
(){
var
e
=
this
;
if
(
this
.
secId
.
length
<
1
)
return
this
.
$message
(
"请选择订单"
),
!
1
;
if
(
!
this
.
teacherId
)
return
this
.
$message
(
"请选择老师"
),
!
1
;
var
t
=
{
order_ids
:[]};
this
.
secId
.
forEach
(
function
(
e
){
t
.
order_ids
.
push
(
e
)}),
this
.
$confirm
(
"是否确定将这"
+
t
.
order_ids
.
length
+
"笔订单分配给该老师?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
u
)(
e
.
teacherId
,{
ids
:
t
.
order_ids
.
join
(
","
)}).
then
(
function
(
t
){
e
.
$message
({
message
:
"提交成功"
,
type
:
"success"
}),
e
.
initPage
()})}).
catch
(
function
(){})},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_93
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
handleSelectionChange
:
function
(
e
){
var
t
=
this
;
this
.
secId
=
[],
e
.
forEach
(
function
(
e
){
t
.
secId
.
push
(
e
.
id
)})},
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
t
.
course_type
=
this
.
searchFrom
.
course_type
),
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
t
.
goods_name
=
this
.
searchFrom
.
goods_name
),
-
1
!=
this
.
searchFrom
.
user_buy
&&
(
t
.
user_buy
=
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
order_id
&&
(
t
.
order_id
=
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
time
&&
2
==
this
.
searchFrom
.
time
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
time
[
0
],
t
.
end_at
=
this
.
searchFrom
.
time
[
1
]),
this
.
searchFrom
.
active_time
&&
2
==
this
.
searchFrom
.
active_time
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_time
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_time
[
1
]),
Object
(
s
.
_29
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
initPage
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
initPage
()},
doExport
:
function
(){
var
e
=
"?type=export"
;
this
.
searchFrom
.
source
&&
(
e
=
e
+
"&source="
+
this
.
searchFrom
.
source
),
this
.
searchFrom
.
mobile
&&
(
e
=
e
+
"&mobile="
+
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
e
=
e
+
"&status="
+
this
.
searchFrom
.
status
),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
e
=
e
+
"&course_type="
+
this
.
searchFrom
.
course_type
),
"-1"
!==
this
.
searchFrom
.
user_buy
&&
(
e
=
e
+
"&user_buy="
+
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
nickname
&&
(
e
=
e
+
"&nickname="
+
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
e
=
e
+
"&user_id="
+
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
teacher_id
&&
(
e
=
e
+
"&teacher_id="
+
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
e
=
e
+
"&goods_name="
+
this
.
searchFrom
.
goods_name
),
this
.
searchFrom
.
order_id
&&
(
e
=
e
+
"&order_id="
+
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
e
=
e
+
"&goods_id="
+
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
time
&&
2
==
this
.
searchFrom
.
time
.
length
&&
(
e
=
(
e
=
e
+
"&start_at="
+
this
.
searchFrom
.
time
[
0
])
+
"&end_at="
+
this
.
searchFrom
.
time
[
1
]),
this
.
searchFrom
.
active_time
&&
2
==
this
.
searchFrom
.
active_time
.
length
&&
(
e
=
(
e
=
e
+
"&active_start_at="
+
this
.
searchFrom
.
active_time
[
0
])
+
"&active_end_at="
+
this
.
searchFrom
.
active_time
[
1
]),
window
.
open
(
"/api/admin/ads/export/all"
+
e
)},
saveComment
:
function
(){
var
e
=
this
,
t
=
void
0
;
t
=
this
.
commentForm
.
id
?
this
.
commentForm
.
id
:
this
.
secId
.
join
(
","
);
var
a
=
this
.
commentForm
.
desc
?
this
.
commentForm
.
desc
:
""
;
a
&&
this
.
$confirm
(
"确认编辑备注"
,
"提示"
,{
confirmButtonText
:
"继续"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
_143
)({
ids
:
t
,
desc
:
a
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
showCommentDialog
=!
1
,
e
.
initPage
()})})},
editNote
:
function
(
e
,
t
){
this
.
showCommentDialog
=!
0
,
this
.
commentForm
=
{
id
:
e
,
desc
:
t
}},
editComment
:
function
(
e
,
t
){
this
.
secId
.
length
>
0
?
this
.
showCommentDialog
=!
0
:
this
.
$message
({
type
:
"warning"
,
message
:
"请选择"
})}}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"领取时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"激活时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
active_time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"active_time"
,
t
)},
expression
:
"searchFrom.active_time"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"是否激活"
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
,
size
:
"medium"
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
user_buy
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_buy"
,
t
)},
expression
:
"searchFrom.user_buy"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"已激活"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"未激活"
,
value
:
0
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"沟通状态"
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
,
size
:
"medium"
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"已激活"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"假号"
,
value
:
2
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"没兴趣"
,
value
:
3
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"待激活"
,
value
:
0
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
r
){
return
a
(
"el-option"
,{
key
:
r
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"180px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"未指定"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
e
.
$store
.
state
.
export
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_type"
,
t
)},
expression
:
"searchFrom.course_type"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
distribution
?
a
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
top
:
"10px"
,
right
:
"10px"
,
"font-size"
:
"14px"
}},[
e
.
_v
(
"
\n
老师:
\n
"
),
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
size
:
"small"
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
teacherId
,
callback
:
function
(
t
){
e
.
teacherId
=
t
},
expression
:
"teacherId"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
e
.
pullAll
}},[
e
.
_v
(
"批量分配"
)])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"领取人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
a
(
"div"
,[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
a
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝宝昵称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"telephone"
,
label
:
"领取电话"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
source
)
+
"("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"status"
,
formatter
:
e
.
externalLaunchStatus
,
label
:
"沟通状态"
,
width
:
"120"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"active_at"
,
label
:
"激活时间"
,
width
:
"90"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
"0000-00-00 00:00:00"
===
t
.
row
.
active_at
?
"未激活"
:
t
.
row
.
active_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"领取时间"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"180"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"编辑备注"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
showCommentDialog
,
"close-on-click-modal"
:
!
1
,
"close-on-press-escape"
:
!
1
,
"show-close"
:
!
1
,
width
:
"600px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showCommentDialog
=
t
}}},[
a
(
"div"
,[
a
(
"el-form"
,{
ref
:
"commentFrom"
,
attrs
:{
model
:
e
.
commentForm
}},[
a
(
"el-form-item"
,{
attrs
:{
prop
:
"desc"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
commentForm
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
commentForm
,
"desc"
,
t
)},
expression
:
"commentForm.desc"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
showCommentDialog
=!
1
,
e
.
commentForm
=
{}}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveComment
}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
e
){
a
(
"v23m"
)},
"data-v-496fcc98"
,
null
);
t
.
default
=
c
.
exports
},
v23m
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/47.d0c994c1982b0ce639bf.js
0 → 100644
View file @
c78c17d1
webpackJsonp
([
47
],{
"RoZ/"
:
function
(
e
,
t
){},
Vt1u
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
o
(
"CCn6"
),
a
=
{
components
:{
page
:
o
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
roleList
:[],
exportMenuList
:[
"2-3"
,
"5-10"
,
"5-2"
,
"5-1"
,
"5-3"
,
"5-8"
,
"5-9"
,
"3-1"
,
"7-9"
,
"6-3"
],
dialog
:{
title
:
"新增角色"
,
show
:
!
1
,
select
:[],
chooseed
:[],
rules
:{
name
:[{
required
:
!
0
,
message
:
"请填写角色名称"
,
trigger
:
"change"
}]},
form
:{
name
:
""
,
menu_ids
:[],
id
:
""
}}}},
created
:
function
(){
this
.
getList
(),
this
.
getMenuList
()},
methods
:{
distribution
:
function
(
e
){},
rowClick
:
function
(
e
){
this
.
$router
.
push
({
name
:
"admin"
,
query
:{
roleId
:
e
.
id
}})},
getMenuList
:
function
(){
var
e
=
this
;
Object
(
n
.
_61
)().
then
(
function
(
t
){
t
&&
(
t
.
forEach
(
function
(
t
){
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
readonly
=!
1
,
t
.
delete
=!
1
,
e
.
exportMenuList
.
indexOf
(
t
.
cover
)
>-
1
&&
(
t
.
export
=!
1
),
"5-9"
!==
t
.
cover
&&
"7-9"
!==
t
.
cover
||
(
t
.
distribution
=!
1
),
"月课订单列表"
!==
t
.
name
&&
"日课订单列表"
!==
t
.
name
&&
"来源码管理"
!==
t
.
name
&&
"5-9"
!==
t
.
cover
&&
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
&&
"3-2"
!==
data
.
cover
||
(
t
.
refund
=!
1
),
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
&&
"3-2"
!==
data
.
cover
||
(
t
.
classManageUnlimited
=!
1
,
t
.
classManage
=!
1
,
t
.
classTakeUnlimited
=!
1
),
"5-1"
===
t
.
cover
&&
(
t
.
promoter
=!
1
)})}),
e
.
dialog
.
select
=
t
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
n
.
_80
)(
t
).
then
(
function
(
t
){
t
&&
(
e
.
roleList
=
t
.
list
,
e
.
total
=
t
.
total
)})},
edit
:
function
(
e
){
var
t
=
this
;
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑角色"
,
Object
(
n
.
_61
)().
then
(
function
(
o
){
o
&&
(
o
.
forEach
(
function
(
o
){
o
.
children
&&
o
.
children
.
forEach
(
function
(
o
){
o
.
readonly
=!
1
,
o
.
delete
=!
1
,
t
.
exportMenuList
.
indexOf
(
o
.
cover
)
>-
1
&&
(
o
.
export
=!
1
),
"5-9"
!==
o
.
cover
&&
"7-9"
!==
o
.
cover
||
(
o
.
distribution
=!
1
),
"月课订单列表"
!==
o
.
name
&&
"日课订单列表"
!==
o
.
name
&&
"来源码管理"
!==
o
.
name
&&
"5-9"
!==
o
.
cover
&&
"2-3"
!==
o
.
cover
&&
"3-1"
!==
o
.
cover
&&
"3-2"
!==
e
.
cover
||
(
o
.
refund
=!
1
),
"2-3"
!==
o
.
cover
&&
"3-1"
!==
o
.
cover
&&
"3-2"
!==
e
.
cover
||
(
o
.
classManageUnlimited
=!
1
,
o
.
classManage
=!
1
,
o
.
classTakeUnlimited
=!
1
),
"5-1"
===
o
.
cover
&&
(
o
.
promoter
=!
1
)})}),
t
.
dialog
.
select
=
o
,
Object
(
n
.
_79
)(
e
.
id
).
then
(
function
(
o
){
console
.
log
(
o
),
t
.
dialog
.
form
.
name
=
o
.
name
,
t
.
dialog
.
form
.
menu_ids
=
JSON
.
parse
(
o
.
menu_ids
),
t
.
dialog
.
chooseed
=
[],
t
.
dialog
.
form
.
menu_ids
.
forEach
(
function
(
o
){
t
.
dialog
.
chooseed
.
push
(
o
.
id
),
t
.
dialog
.
select
.
forEach
(
function
(
n
){
n
.
children
&&
n
.
children
.
forEach
(
function
(
n
){
n
.
id
===
o
.
id
&&
(
n
.
readonly
=!!
o
.
readonly
,
n
.
delete
=!!
o
.
delete
,
t
.
exportMenuList
.
indexOf
(
o
.
cover
)
>-
1
&&
(
n
.
export
=!!
o
.
export
),
"5-1"
!==
o
.
cover
&&
"5-10"
!==
o
.
cover
&&
"10-1"
!==
o
.
cover
&&
"5-9"
!==
o
.
cover
&&
"2-3"
!==
o
.
cover
&&
"3-1"
!==
o
.
cover
&&
"3-2"
!==
e
.
cover
||
(
n
.
refund
=!!
o
.
refund
),
"2-3"
!==
o
.
cover
&&
"3-1"
!==
o
.
cover
&&
"3-2"
!==
e
.
cover
||
(
n
.
classManage
=!!
o
.
classManage
,
n
.
classManageUnlimited
=!!
o
.
classManageUnlimited
,
n
.
classTakeUnlimited
=!!
o
.
classTakeUnlimited
),
"5-9"
!==
o
.
cover
&&
"7-9"
!==
o
.
cover
||
(
n
.
distribution
=!!
o
.
distribution
),
"5-1"
===
o
.
cover
&&
(
n
.
promoter
=!!
o
.
promoter
))})})}),
t
.
dialog
.
show
=!
0
,
t
.
$nextTick
(
function
(){
this
.
$refs
.
tree
.
setCheckedKeys
(
this
.
dialog
.
chooseed
)})}))})},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增菜单"
,
this
.
dialog
.
form
.
name
=
""
,
this
.
dialog
.
form
.
menu_ids
=
[],
this
.
getMenuList
()},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
Q
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getList
()})})},
sub
:
function
(){
var
e
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
o
=
[];
e
.
$refs
.
tree
.
getCheckedNodes
().
forEach
(
function
(
e
){
var
t
=
void
0
;
!
1
!==
e
.
readonly
&&!
0
!==
e
.
readonly
||
(
t
=
{
id
:
e
.
id
,
cover
:
e
.
cover
,
readonly
:
e
.
readonly
}),
!
1
!==
e
.
delete
&&!
0
!==
e
.
delete
||
(
t
.
delete
=
e
.
delete
),
!
1
!==
e
.
refund
&&!
0
!==
e
.
refund
||
(
t
.
refund
=
e
.
refund
),
!
1
!==
e
.
classManage
&&!
0
!==
e
.
classManage
||
(
t
.
classManage
=
e
.
classManage
),
!
1
!==
e
.
classManageUnlimited
&&!
0
!==
e
.
classManageUnlimited
||
(
t
.
classManageUnlimited
=
e
.
classManageUnlimited
),
!
1
!==
e
.
classTakeUnlimited
&&!
0
!==
e
.
classTakeUnlimited
||
(
t
.
classTakeUnlimited
=
e
.
classTakeUnlimited
),
!
1
!==
e
.
promoter
&&!
0
!==
e
.
promoter
||
(
t
.
promoter
=
e
.
promoter
),
!
1
!==
e
.
export
&&!
0
!==
e
.
export
||
(
t
.
export
=
e
.
export
),
!
1
!==
e
.
distribution
&&!
0
!==
e
.
distribution
||
(
t
.
distribution
=
e
.
distribution
),
t
&&
o
.
push
(
t
)});
var
a
=
e
.
dialog
;
if
(
a
.
form
.
id
){
var
i
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
e
.
$confirm
(
"此操作将修改该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_155
)(
a
.
form
.
id
,
i
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
a
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
s
=
{
name
:
a
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
e
.
$confirm
(
"此操作将添加新角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_127
)(
s
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
a
.
show
=!
1
,
e
.
getList
()})})}}})}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"role"
},[
o
(
"div"
,{
staticClass
:
"head clear-both"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增角色"
)])],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
roleList
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"角色ID"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"角色名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
o
){
e
.
rowClick
(
t
.
row
)}}},[
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
name
))])]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"100vw"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"角色名称"
,
prop
:
"name"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"name"
,
t
)},
expression
:
"dialog.form.name"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"菜单选项"
}},[
o
(
"div"
,{
staticClass
:
"custom-tree-container"
},[
o
(
"el-tree"
,{
ref
:
"tree"
,
attrs
:{
data
:
e
.
dialog
.
select
,
"show-checkbox"
:
""
,
"node-key"
:
"id"
,
"default-checked-keys"
:
e
.
dialog
.
chooseed
,
"default-expand-all"
:
""
,
"expand-on-click-node"
:
!
1
,
props
:{
children
:
"children"
,
label
:
"name"
,
value
:
!
1
}},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
n
=
t
.
node
,
a
=
t
.
data
;
return
o
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
o
(
"span"
,[
e
.
_v
(
e
.
_s
(
n
.
label
))]),
e
.
_v
(
" "
),
0
!==
a
.
pid
?
o
(
"span"
,[
"5-1"
===
a
.
cover
||
"5-10"
===
a
.
cover
||
"5-9"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"退款"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"10-1"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"类别管理"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-1"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
promoter
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"promoter"
,
t
)},
expression
:
"data.promoter"
}},[
e
.
_v
(
"编辑推广人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"添加观摩班用户"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
classManage
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classManage"
,
t
)},
expression
:
"data.classManage"
}},[
e
.
_v
(
"添加带班班用户"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
classManageUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classManageUnlimited"
,
t
)},
expression
:
"data.classManageUnlimited"
}},[
e
.
_v
(
"添加观摩班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
a
.
cover
||
"3-1"
===
a
.
cover
||
"3-2"
===
a
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
classTakeUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"classTakeUnlimited"
,
t
)},
expression
:
"data.classTakeUnlimited"
}},[
e
.
_v
(
"添加带班班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-9"
===
a
.
cover
||
"7-9"
===
a
.
cover
?
o
(
"el-checkbox"
,{
on
:{
change
:
e
.
distribution
},
model
:{
value
:
a
.
distribution
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"distribution"
,
t
)},
expression
:
"data.distribution"
}},[
e
.
_v
(
"批量分配"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
exportMenuList
.
indexOf
(
a
.
cover
)
>-
1
?
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
export
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"export"
,
t
)},
expression
:
"data.export"
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
readonly
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"readonly"
,
t
)},
expression
:
"data.readonly"
}},[
e
.
_v
(
"只读"
)]),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
a
.
delete
,
callback
:
function
(
t
){
e
.
$set
(
a
,
"delete"
,
t
)},
expression
:
"data.delete"
}},[
e
.
_v
(
"删除"
)])],
1
):
e
.
_e
()])}}])})],
1
)])],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
o
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
e
){
o
(
"RoZ/"
)},
"data-v-468bbadf"
,
null
);
t
.
default
=
s
.
exports
}});
\ No newline at end of file
dist/static/js/5.3d9e9094f35e338c540a.js
0 → 100644
View file @
c78c17d1
webpackJsonp
([
5
,
18
],{
"0UhM"
:
function
(
e
,
t
){},
"2CfM"
:
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
,
type
:
e
.
type
}},
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
(
"bMYl"
),
a
(
"2CfM"
)},
"data-v-04344b73"
,
null
);
t
.
default
=
D
.
exports
},
LXME
:
function
(
e
,
t
){},
bMYl
:
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/app.b369af2de00610da082f.js
0 → 100644
View file @
c78c17d1
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
(
4
)]).
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
(
45
)]).
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
(
24
)]).
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
(
23
)]).
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
(
5
)]).
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
(
51
).
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
(
44
)]).
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
(
22
)]).
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
(
21
)]).
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
(
17
)]).
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
(
25
)]).
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
(
19
)]).
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
(
20
)]).
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
(
16
)]).
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
(
46
)]).
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
(
50
)]).
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
(
47
)]).
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
(
18
)]).
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
(
52
)]).
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.35c53e461e9a97d2659c.js
0 → 100644
View file @
c78c17d1
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
n
,
r
){
for
(
var
b
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
b
in
n
)
Object
.
prototype
.
hasOwnProperty
.
call
(
n
,
b
)
&&
(
e
[
b
]
=
n
[
b
]);
for
(
c
&&
c
(
a
,
n
,
r
);
u
.
length
;)
u
.
shift
()();
if
(
r
)
for
(
i
=
0
;
i
<
r
.
length
;
i
++
)
o
=
d
(
d
.
s
=
r
[
i
]);
return
o
};
var
a
=
{},
f
=
{
60
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
n
=
document
.
getElementsByTagName
(
"head"
)[
0
],
r
=
document
.
createElement
(
"script"
);
r
.
type
=
"text/javascript"
,
r
.
charset
=
"utf-8"
,
r
.
async
=!
0
,
r
.
timeout
=
12
e4
,
d
.
nc
&&
r
.
setAttribute
(
"nonce"
,
d
.
nc
),
r
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"262ecb73acbedc7533b0"
,
1
:
"b8e5331031e01864d65f"
,
2
:
"05a670317b7dff2583b9"
,
3
:
"df0826e3351375c85529"
,
4
:
"aeeed77630734d507e6e"
,
5
:
"3d9e9094f35e338c540a"
,
6
:
"8d24e9971ffa8724a323"
,
7
:
"ed3c1942cef2802bae1d"
,
8
:
"bd2e2c080b809c224393"
,
9
:
"1c2efcf3a6cfc5f3ad97"
,
10
:
"2eeaebf748561362878b"
,
11
:
"98ed69caf10bd0c3cfcd"
,
12
:
"e634e5e26b59fabd9f5f"
,
13
:
"78cd5be61872baa2b73c"
,
14
:
"7a8310c3d15a714e46d8"
,
15
:
"0032a095537271d95981"
,
16
:
"15568340ae04b5c99c82"
,
17
:
"5ffc4ce2c5d397092e8b"
,
18
:
"ca234a799d9463e208e7"
,
19
:
"0687599418430c0ab3f7"
,
20
:
"0558f307061e46d1ebe3"
,
21
:
"e2ce688fd277c30364fd"
,
22
:
"dce5d2940eddec53c055"
,
23
:
"248972529830343ba26f"
,
24
:
"ccf83fbbfee9f7eb8cc9"
,
25
:
"98e14ecc9b26f31aaa54"
,
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
:
"06567fa6cb55e796db2a"
,
45
:
"54636759192256345af0"
,
46
:
"26fb3d09e806dead6ca0"
,
47
:
"d0c994c1982b0ce639bf"
,
48
:
"fd47c1d5992d31ddb426"
,
49
:
"777dad24bac29f01cc9e"
,
50
:
"57f1b6a3137b764dbac8"
,
51
:
"e36985c8d3748e66e45c"
,
52
:
"255ee5ec778af3e735ff"
,
53
:
"6f03f454ccebcd97c1f7"
,
54
:
"52f4e30246b4e7f3007f"
,
55
:
"669cc2f27e13da22a06f"
,
56
:
"47e6fa3599cd14b51190"
,
57
:
"581c17a00778e234e53f"
}[
e
]
+
".js"
;
var
b
=
setTimeout
(
t
,
12
e4
);
function
t
(){
r
.
onerror
=
r
.
onload
=
null
,
clearTimeout
(
b
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
r
.
onerror
=
r
.
onload
=
t
,
n
.
appendChild
(
r
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/system/role.vue
View file @
c78c17d1
...
...
@@ -60,10 +60,10 @@
<el-checkbox
v-model=
"data.refund"
v-if=
"data.cover ==='5-1'|| data.cover=== '5-10'|| data.cover=== '5-9'"
>
退款
</el-checkbox>
<el-checkbox
v-model=
"data.refund"
v-if=
"data.cover ==='10-1' "
>
类别管理
</el-checkbox>
<el-checkbox
v-model=
"data.promoter"
v-if=
"data.cover ==='5-1' "
>
编辑推广人
</el-checkbox>
<el-checkbox
v-model=
"data.refund"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1' "
>
添加观摩班用户
</el-checkbox>
<el-checkbox
v-model=
"data.classManage"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1' "
>
添加带班班用户
</el-checkbox>
<el-checkbox
v-model=
"data.classManageUnlimited"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1' "
>
添加观摩班(无限制)
</el-checkbox>
<el-checkbox
v-model=
"data.classTakeUnlimited"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1' "
>
添加带班班(无限制)
</el-checkbox>
<el-checkbox
v-model=
"data.refund"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1'
|| data.cover=== '3-2'
"
>
添加观摩班用户
</el-checkbox>
<el-checkbox
v-model=
"data.classManage"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1'
|| data.cover=== '3-2'
"
>
添加带班班用户
</el-checkbox>
<el-checkbox
v-model=
"data.classManageUnlimited"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1'
|| data.cover=== '3-2'
"
>
添加观摩班(无限制)
</el-checkbox>
<el-checkbox
v-model=
"data.classTakeUnlimited"
v-if=
"data.cover ==='2-3'|| data.cover=== '3-1'
|| data.cover=== '3-2'
"
>
添加带班班(无限制)
</el-checkbox>
<el-checkbox
v-model=
"data.distribution"
v-if=
"data.cover ==='5-9'||data.cover ==='7-9'"
@
change=
"distribution"
>
批量分配
</el-checkbox>
<el-checkbox
v-model=
"data.export"
v-if=
"exportMenuList.indexOf(data.cover) >-1"
>
导出
</el-checkbox>
<el-checkbox
v-model=
"data.readonly"
>
只读
</el-checkbox>
...
...
@@ -136,8 +136,8 @@
j
.
delete
=
false
;
if
(
this
.
exportMenuList
.
indexOf
(
j
.
cover
)
>-
1
)
j
.
export
=
false
;
if
(
j
.
cover
===
"5-9"
||
j
.
cover
===
"7-9"
)
j
.
distribution
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
||
j
.
cover
===
"5-9"
||
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
)
j
.
refund
=
false
;
if
(
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
){
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
||
j
.
cover
===
"5-9"
||
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
||
data
.
cover
===
'3-2'
)
j
.
refund
=
false
;
if
(
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
||
data
.
cover
===
'3-2'
){
j
.
classManageUnlimited
=
false
;
j
.
classManage
=
false
;
j
.
classTakeUnlimited
=
false
;
...
...
@@ -185,8 +185,8 @@
j
.
delete
=
false
;
if
(
this
.
exportMenuList
.
indexOf
(
j
.
cover
)
>-
1
)
j
.
export
=
false
;
if
(
j
.
cover
===
"5-9"
||
j
.
cover
===
"7-9"
)
j
.
distribution
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
||
j
.
cover
===
"5-9"
||
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
)
j
.
refund
=
false
;
if
(
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
){
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
||
j
.
cover
===
"5-9"
||
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
||
data
.
cover
===
'3-2'
)
j
.
refund
=
false
;
if
(
j
.
cover
===
"2-3"
||
j
.
cover
===
"3-1"
||
data
.
cover
===
'3-2'
){
j
.
classManageUnlimited
=
false
;
j
.
classManage
=
false
;
j
.
classTakeUnlimited
=
false
;
...
...
@@ -212,10 +212,10 @@
x
.
readonly
=
!!
i
.
readonly
;
x
.
delete
=
!!
i
.
delete
;
if
(
this
.
exportMenuList
.
indexOf
(
i
.
cover
)
>-
1
)
x
.
export
=
!!
i
.
export
;
if
(
i
.
cover
===
'5-1'
||
i
.
cover
===
'5-10'
||
i
.
cover
===
"10-1"
||
i
.
cover
===
"5-9"
||
i
.
cover
===
"2-3"
||
i
.
cover
===
"3-1"
){
if
(
i
.
cover
===
'5-1'
||
i
.
cover
===
'5-10'
||
i
.
cover
===
"10-1"
||
i
.
cover
===
"5-9"
||
i
.
cover
===
"2-3"
||
i
.
cover
===
"3-1"
||
data
.
cover
===
'3-2'
){
x
.
refund
=
!!
i
.
refund
;
}
if
(
i
.
cover
===
"2-3"
||
i
.
cover
===
"3-1"
){
if
(
i
.
cover
===
"2-3"
||
i
.
cover
===
"3-1"
||
data
.
cover
===
'3-2'
){
x
.
classManage
=
!!
i
.
classManage
;
x
.
classManageUnlimited
=
!!
i
.
classManageUnlimited
;
x
.
classTakeUnlimited
=
!!
i
.
classTakeUnlimited
;
...
...
src/components/userDetail/index.vue
View file @
c78c17d1
...
...
@@ -902,6 +902,7 @@
periods_id
:
data
.
periods_id
,
goods_id
:
data
.
goods_id
,
classPage
:
true
,
type
:
data
.
type
}
}
,
//编辑备注 看课情况
...
...
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