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
a41f1601
Commit
a41f1601
authored
Jan 31, 2019
by
青山
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加最后登录时间
parent
20dc3873
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
2 deletions
+12
-2
index.html
dist/index.html
+1
-1
app.2c8f92dd59f0098d6273ac13dad251d8.css
dist/static/css/app.2c8f92dd59f0098d6273ac13dad251d8.css
+1
-0
4.e2f48ad86b19027b08d4.js
dist/static/js/4.e2f48ad86b19027b08d4.js
+1
-0
9.6f5e88869ae14bda49d8.js
dist/static/js/9.6f5e88869ae14bda49d8.js
+1
-0
manifest.cc191cdd48823238808a.js
dist/static/js/manifest.cc191cdd48823238808a.js
+1
-0
task.vue
src/components/teacherDetail/task.vue
+7
-1
No files found.
dist/index.html
View file @
a41f1601
<!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://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
33dbf0b26e9f1a191166c17f95ed0aa1.css
rel=
stylesheet
></head><body><script
src=
https://unpkg.com/vue@2.5.17/dist/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1/dist/vuex.min.js
></script><script
src=
https://unpkg.com/axios@0.18.0/dist/axios.min.js
></script><script
src=
https://unpkg.com/element-ui@2.4.9/lib/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.c6423b6a5f4fa02e2b0e
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.dabb3afa5856b271bc7f.js
></script><script
type=
text/javascript
src=
/static/js/app.1c1f7830aea931e38756.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://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
2c8f92dd59f0098d6273ac13dad251d8.css
rel=
stylesheet
></head><body><script
src=
https://unpkg.com/vue@2.5.17/dist/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1/dist/vuex.min.js
></script><script
src=
https://unpkg.com/axios@0.18.0/dist/axios.min.js
></script><script
src=
https://unpkg.com/element-ui@2.4.9/lib/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.cc191cdd48823238808a
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.dabb3afa5856b271bc7f.js
></script><script
type=
text/javascript
src=
/static/js/app.1c1f7830aea931e38756.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.2c8f92dd59f0098d6273ac13dad251d8.css
0 → 100644
View file @
a41f1601
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/4.e2f48ad86b19027b08d4.js
0 → 100644
View file @
a41f1601
webpackJsonp
([
4
,
9
],{
"9e++"
:
function
(
t
,
e
){},
Ibaz
:
function
(
t
,
e
){},
"MYx/"
:
function
(
t
,
e
){},
QTjB
:
function
(
t
,
e
){},
"V+c9"
:
function
(
t
,
e
){},
WpiT
:
function
(
t
,
e
){},
Y0Vi
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
s
=
a
(
"+TkF"
),
l
=
a
(
"kmJW"
),
o
=
a
(
"hFUZ"
),
n
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
show
:
!
1
,
id
:
""
,
statusOption
:[{
label
:
"正常"
,
value
:
0
},{
label
:
"禁用"
,
value
:
1
}],
typeOption
:[{
label
:
"老师"
,
value
:
0
},{
label
:
"新星妈妈"
,
value
:
1
},{
label
:
"推广人"
,
value
:
2
},{
label
:
"市场"
,
value
:
3
}],
loading
:
!
0
,
type
:
0
,
title
:
""
,
form
:{
name
:
""
,
type
:
0
,
squad
:
""
,
qr
:
""
,
alias
:
""
,
status
:
0
,
media_id
:
""
},
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入名称"
,
trigger
:
"change"
}],
qr
:[{
required
:
!
0
,
message
:
"请输入二维码"
,
trigger
:
"change"
}]},
teacherDetail
:{},
imageList
:[],
uploadShow
:
!
0
}},
methods
:{
sub
:
function
(){
var
t
=
this
;
this
.
imageList
.
length
>
0
&&
(
this
.
form
.
qr
=
this
.
imageList
[
0
].
url
);
var
e
=
{
name
:
this
.
form
.
name
,
type
:
this
.
form
.
type
,
qr
:
this
.
form
.
qr
,
squad
:
this
.
form
.
squad
,
alias
:
this
.
form
.
alias
,
status
:
this
.
form
.
status
,
media_id
:
this
.
form
.
media_id
};
switch
(
this
.
dialogObj
.
type
){
case
2
:
this
.
$refs
.
form
.
validate
(
function
(
a
){
a
&&
Object
(
i
.
_7
)(
t
.
id
,
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
$emit
(
"reflash"
),
t
.
show
=!
1
})});
break
;
case
0
:
this
.
$refs
.
form
.
validate
(
function
(
a
){
a
&&
Object
(
i
.
p
)(
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"新增成功!"
}),
t
.
$emit
(
"reflash"
),
t
.
show
=!
1
})})}},
beforeAvatarUpload
:
function
(){
this
.
uploadShow
=!
1
},
handleRemove
:
function
(){
this
.
uploadShow
=!
0
},
handleAvatarSuccess
:
function
(
t
){
this
.
imageList
=
[{
name
:
t
.
data
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
data
.
url
}]},
uploadFile
:
function
(
t
){
var
e
=
this
;
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
t
.
file
.
uid
}),
this
.
fileUid
=
t
.
file
.
uid
,
Object
(
i
.
_111
)({
file
:
t
.
file
,
type
:
"all"
}).
then
(
function
(
t
){
e
.
form
.
media_id
=
t
.
wechat_info
?
t
.
wechat_info
.
media_id
:
""
,
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
uploadShow
=!
1
,
e
.
loading
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
e
.
loading
=!
1
})},
initDialog
:
function
(){
var
t
=
this
;
switch
(
this
.
dialogObj
.
type
){
case
0
:
this
.
title
=
"新增教师"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
type
=
0
,
this
.
form
.
name
=
""
,
this
.
form
.
alias
=
""
,
this
.
form
.
qr
=
""
,
this
.
form
.
squad
=
""
,
this
.
form
.
type
=
0
,
this
.
form
.
status
=
0
,
this
.
imageList
=
[],
this
.
loading
=!
1
,
this
.
uploadShow
=!
0
,
this
.
form
.
media_id
=
""
;
break
;
case
1
:
this
.
title
=
"教师详情"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
id
=
this
.
dialogObj
.
id
,
this
.
type
=
1
,
Object
(
i
.
_66
)(
this
.
id
).
then
(
function
(
e
){
t
.
teacherDetail
=
e
,
t
.
loading
=!
1
});
break
;
case
2
:
this
.
title
=
"编辑"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
id
=
this
.
dialogObj
.
id
,
this
.
type
=
2
,
Object
(
i
.
_66
)(
this
.
id
).
then
(
function
(
e
){
t
.
form
.
name
=
e
.
name
,
t
.
form
.
squad
=
e
.
squad
,
t
.
form
.
alias
=
e
.
alias
,
t
.
form
.
qr
=
e
.
qr
,
t
.
form
.
type
=
e
.
type
,
t
.
form
.
status
=
e
.
status
,
t
.
form
.
media_id
=
e
.
media_id
?
e
.
media_id
:
""
,
t
.
imageList
=
[{
name
:
e
.
qr
,
url
:
e
.
qr
}],
t
.
uploadShow
=!
e
.
qr
,
t
.
loading
=!
1
})}}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
loading
=!
0
,
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
t
){
this
.
$emit
(
"changeShow"
,
t
)}}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
show
=
e
}}},[
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}]},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
rules
:
t
.
rules
}},[
1
===
t
.
type
?
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"ID"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
teacherDetail
.
id
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"创建时间"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
created_at
))])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"昵称"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
name
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,{
attrs
:{
prop
:
"name"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"name"
,
e
)},
expression
:
"form.name"
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"微信号"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
alias
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
alias
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"alias"
,
e
)},
expression
:
"form.alias"
}})],
1
):
t
.
_e
()],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"状态"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
status
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"status"
,
e
)},
expression
:
"form.status"
}},
t
.
_l
(
t
.
statusOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"类型"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
type
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"type"
,
e
)},
expression
:
"form.type"
}},
t
.
_l
(
t
.
typeOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
):
t
.
_e
()],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"二维码"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"img"
,{
staticClass
:
"qr-img"
,
attrs
:{
src
:
t
.
teacherDetail
.
qr
}}):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-upload"
,{
class
:{
disabled
:
!
t
.
uploadShow
},
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
t
.
uploadFile
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"list-type"
:
"picture-card"
,
"file-list"
:
t
.
imageList
,
"on-success"
:
t
.
handleAvatarSuccess
,
"on-remove"
:
t
.
handleRemove
}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
1
===
t
.
type
?[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"邀请码"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
invite_code
))]):
t
.
_e
()])]:
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"分组"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
squad
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"squad"
,
e
)},
expression
:
"form.squad"
}},
t
.
_l
(
10
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
"T"
+
t
,
value
:
t
}})}))],
1
)],
2
)],
1
),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
sub
}},[
t
.
_v
(
"确 定"
)])],
1
):
t
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
a
(
"V+c9"
),
a
(
"iWjA"
)},
"data-v-0b358cae"
,
null
).
exports
,
d
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
name
:
""
,
alias
:
""
,
squad
:
""
,
type
:
""
},
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
dialogObj
:{
type
:
0
,
show
:
!
1
,
id
:
""
},
dialogDetailObj
:{
show
:
!
1
,
title
:
"班级列表"
,
id
:
""
},
teacherTypeOption
:[{
id
:
0
,
label
:
"老师"
},{
id
:
1
,
label
:
"新星妈妈"
},{
id
:
2
,
label
:
"推广人"
},{
id
:
3
,
label
:
"市场"
}]}},
components
:{
Dialog
:
a
(
"g5CC"
).
a
,
page
:
l
.
a
,
dialogCom
:
c
,
teacherDetail
:
o
.
default
},
filters
:{
teacherType
:
function
(
t
){
return
s
.
u
[
t
]}},
mounted
:
function
(){
var
t
=
localStorage
.
getItem
(
"phoneNum"
);
t
?(
t
=
JSON
.
parse
(
t
),
this
.
$router
.
push
(
"/teacher/"
+
t
.
id
)):
this
.
getUser
()},
methods
:{
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getUser
()},
onSizeChange
:
function
(
t
){
this
.
limit
=
t
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};(
this
.
searchFrom
.
type
||
0
===
this
.
searchFrom
.
type
)
&&
(
e
.
type
=
this
.
searchFrom
.
type
),
this
.
searchFrom
.
name
&&
(
e
.
name
=
this
.
searchFrom
.
name
),
this
.
searchFrom
.
alias
&&
(
e
.
alias
=
this
.
searchFrom
.
alias
),
this
.
searchFrom
.
squad
&&
(
e
.
squad
=
this
.
searchFrom
.
squad
),
Object
(
i
.
_67
)(
e
).
then
(
function
(
e
){
t
.
userList
=
e
.
list
,
t
.
total
=
e
.
total
})},
edit
:
function
(
t
){
this
.
dialogObj
.
id
=
t
.
id
,
this
.
dialogObj
.
type
=
2
,
this
.
dialogObj
.
show
=!
0
},
add
:
function
(){
this
.
dialogObj
.
type
=
0
,
this
.
dialogObj
.
show
=!
0
},
detail
:
function
(
t
){
this
.
dialogObj
.
id
=
t
.
id
,
this
.
dialogObj
.
type
=
1
,
this
.
dialogObj
.
show
=!
0
},
delTeacher
:
function
(
t
){
var
e
=
this
;
this
.
$confirm
(
"此操作将删除该账号?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
O
)(
t
.
id
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
e
.
getUser
()})})},
changeShow
:
function
(
t
){
this
.
dialogObj
.
show
=
t
},
classDetail
:
function
(
t
){
this
.
dialogDetailObj
=
{
show
:
!
0
,
title
:
t
.
name
+
"班级详情"
,
id
:
t
.
id
}},
goToTeacherDetail
:
function
(
t
){
this
.
dialogDetail
.
id
=
t
.
id
,
this
.
dialogDetail
.
show
=!
0
}}},
u
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"user"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"name"
,
e
)},
expression
:
"searchFrom.name"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
alias
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"alias"
,
e
)},
expression
:
"searchFrom.alias"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"分组"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getUser
},
model
:{
value
:
t
.
searchFrom
.
squad
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"squad"
,
e
)},
expression
:
"searchFrom.squad"
}},
t
.
_l
(
10
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
"T"
+
t
,
value
:
t
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"教师类型"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getUser
},
model
:{
value
:
t
.
searchFrom
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"type"
,
e
)},
expression
:
"searchFrom.type"
}},
t
.
_l
(
t
.
teacherTypeOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getUser
}},[
t
.
_v
(
"搜索"
)])],
1
),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
t
.
add
}},[
t
.
_v
(
"新增教师"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
userList
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"alias"
,
label
:
"微信号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
0
===
e
.
row
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"二维码"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"a"
,{
attrs
:{
href
:
t
.
row
.
qr
}},[
a
(
"img"
,{
staticClass
:
"shortcut"
,
attrs
:{
src
:
t
.
row
.
qr
}})])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
T"
+
t
.
_s
(
e
.
row
.
squad
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"类别"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"teacherType"
)(
e
.
row
.
type
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"280"
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
goToTeacherDetail
(
e
.
row
)}}},[
t
.
_v
(
"
\n
查看详情
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"warning"
},
on
:{
click
:
function
(
a
){
t
.
edit
(
e
.
row
)}}},[
t
.
_v
(
"
\n
编辑
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
deletePermission
&&!
t
.
$store
.
state
.
readonly
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
a
){
t
.
delTeacher
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}}),
t
.
_v
(
" "
),
a
(
"dialog-com"
,{
attrs
:{
dialogObj
:
t
.
dialogObj
},
on
:{
changeShow
:
t
.
changeShow
,
reflash
:
t
.
getUser
}}),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
width
:
"90%"
,
top
:
"5vh"
,
visible
:
t
.
dialogDetail
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogDetail
,
"show"
,
e
)}}},[
t
.
dialogDetail
.
show
?
a
(
"div"
,[
a
(
"teacher-detail"
,{
attrs
:{
parentDetail
:
t
.
dialogDetail
}})],
1
):
t
.
_e
()])],
1
)},
staticRenderFns
:[]};
var
_
=
a
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
t
){
a
(
"azix"
)},
"data-v-744cec98"
,
null
);
e
.
default
=
_
.
exports
},
azix
:
function
(
t
,
e
){},
g5CC
:
function
(
t
,
e
,
a
){
"use strict"
;
var
i
=
a
(
"CCn6"
),
s
=
a
(
"+TkF"
),
l
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
teacher_id
:
""
,
max_join_num
:
""
,
class_name
:
""
},
teacherList
:[],
exitTeacherList
:[],
goodsList
:[],
periods
:{}}},
methods
:{
findDifferentArray
:
function
(
t
,
e
){
var
a
=
[];
return
t
.
forEach
(
function
(
t
){
-
1
===
e
.
findIndex
(
function
(
e
){
return
e
.
teacher_id
===
t
.
id
})
&&
a
.
push
(
t
)}),
a
},
getTeacher
:
function
(){
var
t
=
this
;
Object
(
i
.
_67
)({
limit
:
100
}).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
})},
getTeacherByPeriods
:
function
(){
var
t
=
this
;
Object
(
i
.
_67
)().
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
})},
initPage
:
function
(){
var
t
=
this
;
switch
(
this
.
periods
=
this
.
dialogObj
.
periods
,
this
.
dialogObj
.
type
){
case
0
:
this
.
dialogObj
.
periodsId
||
this
.
getPeriodList
(),
this
.
form
=
{
teacher_id
:
""
,
max_join_num
:
""
},
this
.
getTeacher
();
break
;
case
1
:
Object
(
i
.
_25
)(
this
.
dialogObj
.
id
).
then
(
function
(
e
){
t
.
form
=
{
teacher_id
:
parseInt
(
e
.
teacher_id
),
max_join_num
:
e
.
max_join_num
,
class_name
:
e
.
class_name
},
t
.
getTeacher
()})}},
getPeriodList
:
function
(){
var
t
=
this
;
Object
(
i
.
_37
)().
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
s
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
t
.
goodsList
=
e
.
list
,
t
.
periods
||
Object
(
i
.
_49
)({
goods_id
:
t
.
goodsList
[
0
].
id
}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
t
.
goodsList
[
0
].
children
=
e
.
list
,
t
.
periods
=
e
.
list
[
0
]})})},
onSave
:
function
(){
var
t
=
this
;
switch
(
this
.
form
.
max_join_num
=
String
(
this
.
form
.
max_join_num
),
this
.
form
.
teacher_id
=
String
(
this
.
form
.
teacher_id
),
this
.
dialogObj
.
type
){
case
0
:
var
e
=
this
.
dialogObj
.
periodsId
?
this
.
dialogObj
.
periodsId
:
this
.
periods
.
id
;
Object
(
i
.
f
)(
e
,
this
.
form
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
t
.
$emit
(
"reflash"
,
t
.
periods
),
t
.
dialogObj
.
show
=!
1
});
break
;
case
1
:
Object
(
i
.
Y
)(
this
.
dialogObj
.
id
,
this
.
form
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
$emit
(
"reflash"
,
t
.
periods
),
t
.
dialogObj
.
show
=!
1
})}},
handleItemChange
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
_49
)({
goods_id
:
t
[
0
]}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
e
.
goodsList
.
find
(
function
(
e
){
return
e
.
id
===
t
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
t
){
if
(
t
.
length
>
1
){
var
e
=
this
.
goodsList
.
find
(
function
(
e
){
return
e
.
id
===
t
[
0
]});
this
.
periods
=
e
.
children
.
find
(
function
(
e
){
return
e
.
id
===
t
[
1
]}),
this
.
getTeacherByPeriods
()}},
selectName
:
function
(
t
,
e
){
var
a
=
t
.
filter
(
function
(
t
,
a
){
return
t
.
id
==
e
});
this
.
form
.
class_name
=
a
[
0
].
name
+
"一班"
}},
watch
:{
"dialogObj.show"
:
function
(
t
){
t
&&
this
.
initPage
()}}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialogObj
.
title
,
visible
:
t
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"120px"
}},[
this
.
dialogObj
.
periodsId
?
t
.
_e
():
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数"
}},[
a
(
"el-cascader"
,{
attrs
:{
options
:
t
.
goodsList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
t
.
handleItemChange
,
change
:
t
.
changePeriods
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
on
:{
change
:
function
(
e
){
t
.
selectName
(
t
.
teacherList
,
t
.
form
.
teacher_id
)}},
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
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"班级名称"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"220px"
},
model
:{
value
:
t
.
form
.
class_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"class_name"
,
e
)},
expression
:
"form.class_name"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"最大学员"
}},[
a
(
"el-input-number"
,{
model
:{
value
:
t
.
form
.
max_join_num
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"max_join_num"
,
e
)},
expression
:
"form.max_join_num"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
dialogObj
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSave
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
t
){
a
(
"tFn2"
)},
"data-v-c007d8e2"
,
null
);
e
.
a
=
n
.
exports
},
hFUZ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
s
=
a
(
"+TkF"
),
l
=
(
a
(
"xGts"
),{
name
:
"task"
,
props
:[
"parentDetail"
],
data
:
function
(){
return
{
id
:
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
task1List
:[],
task2List
:[],
task3List
:[],
task1Detail
:{
show
:
!
1
,
list
:[],
cur_date
:
""
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
,
type
:
0
}}},
methods
:{
showTask3Detail
:
function
(
t
,
e
,
a
,
s
){
var
l
=
this
,
o
=
{
is_true
:
e
,
is_watch
:
a
,
cur_date
:
s
};
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
is_true
=
e
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
is_watch
=
a
,
this
.
task3Detail
.
cur_date
=
s
,
this
.
task3Detail
.
type
=
1
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" "
+
(
1
===
e
?
"已"
:
"未"
)
+
(
1
===
a
?
"看课"
:
"打卡"
)
+
"学员"
,
Object
(
i
.
_74
)(
t
.
periods_id
,
this
.
id
,
o
).
then
(
function
(
t
){
l
.
task3Detail
.
loading
=!
1
,
l
.
task3Detail
.
list
=
t
})},
showOverWorkDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
type
=
2
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 截止今日全勤学员"
,
Object
(
i
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
showRecallDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
type
=
3
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 今日需要招回学员"
,
Object
(
i
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
a
){
var
s
=
a
.
value
;
Object
(
i
.
l
)(
t
,{
desc
:
s
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
(),
e
.
refDesc1
(),
e
.
refDesc2
(),
e
.
task3Detail
.
list
&&
e
.
task3Detail
.
list
.
length
>
0
&&
e
.
refDesc3
()})})},
refDesc3
:
function
(){
var
t
=
this
;
if
(
1
===
this
.
task3Detail
.
type
){
var
e
=
{
is_true
:
this
.
task3Detail
.
is_true
,
is_watch
:
this
.
task3Detail
.
is_watch
,
cur_date
:
this
.
task3Detail
.
cur_date
};
this
.
task3Detail
.
loading
=!
0
,
Object
(
i
.
_74
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,
e
).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
})}
else
2
===
this
.
task3Detail
.
type
?
Object
(
i
.
_48
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
}):
3
===
this
.
task3Detail
.
type
&&
showRecallDetail
(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
})},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
cur_date
:
t
.
cur_date
}},
refDesc1
:
function
(){
var
t
=
this
;
Object
(
i
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
cur_date
===
t
.
task1Detail
.
cur_date
&&
(
t
.
task1Detail
.
list
=
e
.
detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
Object
(
i
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
weight
===
t
.
task2Detail
.
weight
&&
(
t
.
task2Detail
.
list
=
e
.
detail
)})})},
changeAddTeacher
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc1
(),
e
.
refDesc2
()})},
changeAddTeacher3
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight3
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc2
()})},
changeView
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
_8
)(
t
.
id
,
t
.
is_view_course
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc2
()})},
editDesc3
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"请输入备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
a
){
var
s
=
a
.
value
;
Object
(
i
.
l
)(
t
.
id
,{
desc
:
s
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"更新成功"
}),
e
.
refDesc3
()})}).
catch
(
function
(){})},
editDesc
:
function
(
t
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
user_info
=
{
avatar
:
t
.
avatar
,
nickname
:
t
.
nickname
,
user_id
:
t
.
user_id
},
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
;
Object
(
i
.
_69
)(
this
.
descDialog
.
id
,{
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
})},
initPage
:
function
(){
var
t
=
this
;
Object
(
i
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
}),
Object
(
i
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
}),
Object
(
i
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
})}},
mounted
:
function
(){
this
.
initPage
()}}),
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticStyle
:{
"font-size"
:
"14px"
}},[
a
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务1:好友添加"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task1List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_add_teacher_num"
,
label
:
"当天进班人数"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"加好友率"
,
align
:
"center"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务2:意向等级跟踪"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task2List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"weight"
,
label
:
"意向等级"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_num"
,
label
:
"总人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask2Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
total_num
))])]}}])})],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
24
}},[
a
(
"el-card"
,[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务3:用户召回"
)])]),
t
.
_v
(
" "
),
!
t
.
task3List
||
t
.
task3List
.
length
<
1
?
a
(
"div"
,{
staticStyle
:{
color
:
"#DDDDDD"
,
"text-align"
:
"center"
}},[
t
.
_v
(
"
\n
——暂无数据——
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
task3List
,
function
(
e
){
return
a
(
"div"
,{
staticClass
:
"task3-table"
},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"start"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"开课日期"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
start_at
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"watch"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"已推课程数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
has_watch_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"log-list header-title bg-h"
},[
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"日期"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"未看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总打卡人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"看课率"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"打卡率"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
watch_log
,
function
(
i
){
return
a
(
"div"
,{
staticClass
:
"log-list"
},[
a
(
"div"
,{
staticClass
:
" bg-h"
,
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
t
.
_s
(
i
.
cur_date
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
0
,
1
,
i
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
i
.
total_no_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
1
,
i
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
i
.
total_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
0
,
i
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
i
.
total_work_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
i
.
watch_rate
))]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
i
.
work_rate
))]):
t
.
_e
()])])}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"截止今日全勤人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showOverWorkDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task1Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
attrs
:{
data
:
t
.
task1Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
periods_title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"105"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"老师已添加未户未通过"
,
value
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"入课时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task2Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task2Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeView
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_view_course
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_view_course"
,
a
)},
expression
:
"scope.row.is_view_course"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"是"
,
value
:
1
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
descDialog
.
show
,
title
:
"备注列表"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
descDialog
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
editComment
(
t
.
descDialog
.
id
)}}},[
t
.
_v
(
"添加备注"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
descDialog
.
descList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
t
.
descDialog
.
user_info
?[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
descDialog
.
user_info
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
t
.
descDialog
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
descDialog
.
user_info
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"operator"
,
label
:
"备注人"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task3Detail
.
show
,
width
:
"80%"
,
title
:
t
.
task3Detail
.
title
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task3Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
task3Detail
.
loading
,
expression
:
"task3Detail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task3Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"created_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"最后登录时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
last_login_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
t
){
a
(
"9e++"
)},
"data-v-5468e688"
,
null
).
exports
,
r
=
a
(
"kmJW"
),
c
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
moneyYuan
:
function
(
t
){
return
t
?(
t
/
100
).
toFixed
(
2
)
+
"元"
:
""
},
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"审核中"
:
1
===
t
?
e
=
"提现成功"
:
2
===
t
&&
(
e
=
"提现失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
i
.
_76
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"提现详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"withdraw_no"
,
label
:
"提现单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
width
:
"200"
,
className
:
"f-c"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_mobile"
,
label
:
"手机号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
money
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
e
.
row
.
status
,
green
:
1
===
e
.
row
.
status
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现成功时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
success_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"reason"
,
label
:
"失败原因"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
t
){
a
(
"MYx/"
)},
"data-v-334fc0ab"
,
null
).
exports
,
_
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"未使用"
:
1
===
t
?
e
=
"已使用"
:
2
===
t
&&
(
e
=
"禁用"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
order_coupon_id
:
this
.
dialogObj
.
order_coupon_id
,
limit
:
200
};
Object
(
i
.
_31
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"优惠券详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"coupon_no"
,
label
:
"优惠券码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠券金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"使用状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
_
,
h
,
!
1
,
function
(
t
){
a
(
"WpiT"
)},
"data-v-3145d719"
,
null
).
exports
,
p
=
{
name
:
"refundDetail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"退款中"
:
1
===
t
?
e
=
"退款成功"
:
2
===
t
&&
(
e
=
"退款失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
i
.
_56
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"退款详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"refund_no"
,
label
:
"退款编号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"order_money"
,
label
:
"订单金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
order_money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"refund_money"
,
label
:
"退款金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
refund_money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"退款状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"success_at"
,
label
:
"退款成功时间"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
p
,
m
,
!
1
,
function
(
t
){
a
(
"qteX"
)},
"data-v-1fb6ff96"
,
null
).
exports
,
b
=
a
(
"0qGg"
),
g
=
a
(
"CfzE"
),
w
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
r
.
a
,
task
:
n
,
UserList
:
b
.
a
,
chooseGoodDialog
:
g
.
a
,
couponDialog
:
f
,
refundDetail
:
v
,
sourceDialog
:
u
},
data
:
function
(){
return
{
searchFrom
:{
user_id
:
""
,
is_add_teacher
:
""
,
is_view_course
:
""
,
start_at
:
""
,
end_at
:
""
},
form
:{
nickname
:
""
,
user_id
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
receive_mobile
:
""
,
mobile
:
""
},
goodList
:[],
orderStatusOption
:
s
.
q
,
tableData
:[],
userList
:[],
list
:[],
id
:
""
,
isBindUser
:
!
0
,
addShow
:
!
1
,
detail
:{},
total
:
0
,
limit
:
10
,
nowPage
:
1
,
userObj
:{
classId
:
""
,
title
:
""
,
show
:
!
1
,
total
:
0
,
limit
:
10
,
nowPage
:
1
},
addId
:
""
,
multipleSelection
:[],
chooseGoodDialogObj
:{
show
:
!
1
,
code
:
""
},
orderListObj
:{
total
:
0
,
limit
:
10
,
nowPage
:
1
},
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
}}},
methods
:{
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
onAdd
:
function
(){
var
t
=
this
;
0
!==
this
.
multipleSelection
.
length
?
1
===
this
.
multipleSelection
.
length
?(
this
.
addId
=
this
.
multipleSelection
[
0
].
user_id
,
this
.
addId
&&
this
.
isBindUser
&&
Object
(
i
.
_98
)(
this
.
id
,{
user_id
:
this
.
addId
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
t
.
id
=
t
.
parentDetail
?
t
.
parentDetail
.
id
:
t
.
$route
.
params
.
id
,
t
.
getTeacherDetail
(),
t
.
getGoodsOption
(),
t
.
addShow
=!
1
})):
this
.
$message
({
type
:
"error"
,
message
:
"只能选择一个用户!"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
})},
onAddUser
:
function
(
t
){
this
.
isBindUser
=
t
,
this
.
addShow
=!
0
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
page
:
this
.
userObj
.
nowPage
,
limit
:
this
.
userObj
.
limit
};
this
.
searchFrom
.
userId
&&
(
e
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
e
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
i
.
_71
)(
e
).
then
(
function
(
e
){
t
.
userList
=
e
.
list
,
t
.
userObj
.
total
=
e
.
total
})},
changeRow
:
function
(
t
,
e
){
e
.
indexOf
(
t
)
>-
1
&&
Object
(
i
.
_27
)(
t
.
periods_id
,
t
.
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
})},
showUser
:
function
(
t
){
this
.
userObj
=
{
classId
:
t
.
id
,
show
:
!
0
,
title
:
this
.
detail
.
name
+
"班级用户列表"
,
teacherId
:
t
.
teacher_id
,
periods_id
:
t
.
periods_id
,
goods_id
:
t
.
goods_id
}},
onPageChange3
:
function
(
t
){
this
.
userObj
.
nowPage
=
t
,
this
.
getUser
()},
onSizeChange3
:
function
(
t
){
this
.
userObj
.
limit
=
t
,
this
.
userObj
.
nowPage
=
1
,
this
.
getUser
()},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getTeacherDetail
()},
onSizeChange
:
function
(
t
){
this
.
limit
=
t
,
this
.
nowPage
=
1
,
this
.
getTeacherDetail
()},
onPageChange2
:
function
(
t
){
this
.
orderListObj
.
nowPage
=
t
,
this
.
getOrderList
()},
onSizeChange2
:
function
(
t
){
this
.
orderListObj
.
limit
=
t
,
this
.
orderListObj
.
nowPage
=
1
,
this
.
getOrderList
()},
getTeacherDetail
:
function
(){
var
t
=
this
;
this
.
searchFrom
=
{
user_id
:
""
,
is_add_teacher
:
""
,
is_view_course
:
""
,
start_at
:
""
,
end_at
:
""
};
var
e
=
this
.
id
,
a
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
i
.
_66
)(
e
,
a
).
then
(
function
(
e
){
e
.
class_list
&&
(
e
.
class_list
.
list
.
forEach
(
function
(
t
){
t
.
arrive_course_rate
=
0
,
t
.
watch_course_rate
=
0
,
t
.
over_course_rate
=
0
,
t
.
work_rate
=
0
,
t
.
over_work_rate
=
0
,
t
.
clock_rate
=
0
,
t
.
over_clock_rate
=
0
,
t
.
transform_rate
=
0
}),
t
.
list
=
e
.
class_list
.
list
||
[],
t
.
total
=
e
.
class_list
.
total
),
t
.
detail
=
e
,
t
.
getOrderList
()})},
createInviteLink
:
function
(
t
){
this
.
chooseGoodDialogObj
.
show
=!
0
,
0
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
:
1
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-XXMM-"
+
t
.
user_id
:
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
},
changeShow
:
function
(){
this
.
chooseGoodDialogObj
.
show
=!
1
,
this
.
chooseGoodDialogObj
.
code
=
""
},
getOrderList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
orderListObj
.
limit
,
page
:
this
.
orderListObj
.
nowPage
};
this
.
form
.
nickname
&&
(
e
.
nickname
=
this
.
form
.
nickname
),
this
.
form
.
user_id
&&
(
e
.
user_id
=
this
.
form
.
user_id
),
this
.
form
.
status
&&
(
e
.
status
=
this
.
form
.
status
.
toString
()),
this
.
form
.
goods_id
&&
(
e
.
goods_id
=
this
.
form
.
goods_id
),
this
.
form
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
form
.
receive_mobile
),
this
.
form
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
form
.
out_trade_no
),
this
.
form
.
mobile
&&
(
e
.
mobile
=
this
.
form
.
mobile
),
0
!==
this
.
detail
.
user_id
&&
(
e
.
invite_id
=
this
.
detail
.
user_id
,
Object
(
i
.
_47
)(
e
).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
refundList
=
[]}),
t
.
tableData
=
e
.
list
,
t
.
orderListObj
.
total
=
e
.
total
}))},
getGoodsOption
:
function
(){
var
t
=
this
;
Object
(
i
.
_37
)({
page
:
1
,
limit
:
100
,
course_type
:
0
}).
then
(
function
(
e
){
t
.
goodList
=
e
.
list
})},
editComment
:
function
(
t
,
e
){
var
a
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
e
||
""
}).
then
(
function
(
e
){
var
s
=
e
.
value
;
a
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
_4
)(
t
,
"order"
,{
desc
:
s
}).
then
(
function
(
t
){
a
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
a
.
getOrderList
()})})})},
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
}},
filters
:{
teacherType
:
function
(
t
){
return
s
.
u
[
t
]},
percent
:
function
(
t
){
return
(
100
*
t
).
toFixed
(
2
)
+
"%"
},
status
:
function
(
t
){
return
s
.
p
[
t
]},
moneytFilter
:
function
(
t
){
return
t
/
100
+
"元"
},
filterGoods
:
function
(
t
){
return
"["
+
s
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
}},
mounted
:
function
(){
this
.
id
=
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()}},
k
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"teacher"
},[
a
(
"div"
,{
staticClass
:
"header"
},[
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
,
"margin-right"
:
"10px"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
a
(
"label"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
":"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"(T"
+
t
.
_s
(
t
.
detail
.
squad
)
+
")
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"small"
,
type
:
"success"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
onAddUser
(
!
0
)}}},[
t
.
_v
(
"老师绑定用户"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
,
target
:
"_blank"
}},[
a
(
"img"
,{
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"带班总人数:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
total_join_num
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])])]),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"绑定用户"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
createInviteLink
(
t
.
detail
.
user_info
)}}},[
t
.
_v
(
"
\n
复制专属链接
\n
"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"用户ID:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
},
on
:{
"expand-change"
:
t
.
changeRow
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:[
e
.
row
]}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
arrive_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
watch_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_name"
,
label
:
"班级名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"已进班人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开课时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"280"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
showUser
(
e
.
row
)}}},[
t
.
_v
(
"
\n
班级成员
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"订单列表"
}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
user_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"user_id"
,
e
)},
expression
:
"form.user_id"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
nickname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"nickname"
,
e
)},
expression
:
"form.nickname"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"mobile"
,
e
)},
expression
:
"form.mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
receive_mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"receive_mobile"
,
e
)},
expression
:
"form.receive_mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getOrderList
},
model
:{
value
:
t
.
form
.
goods_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"goods_id"
,
e
)},
expression
:
"form.goods_id"
}},
t
.
_l
(
t
.
goodList
,
function
(
e
,
i
){
return
a
(
"el-option"
,{
key
:
i
,
attrs
:{
label
:
t
.
_f
(
"filterGoods"
)(
e
),
value
:
e
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
a
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getOrderList
},
model
:{
value
:
t
.
form
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"status"
,
e
)},
expression
:
"form.status"
}},
t
.
_l
(
t
.
orderStatusOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
t
.
value
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"交易订单号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
out_trade_no
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"out_trade_no"
,
e
)},
expression
:
"form.out_trade_no"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getOrderList
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticClass
:
"order_list"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
user_nickname
)),
a
(
"br"
),
t
.
_v
(
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")"
),
a
(
"br"
),
t
.
_v
(
"手机:"
+
t
.
_s
(
e
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
t
.
_v
(
" "
),
a
(
"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
?
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
display
:
"flex"
,
color
:
"#409eff"
,
cursor
:
"pointer"
},
on
:{
click
:
function
(
a
){
t
.
showSource
(
e
.
row
)}}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
invite_avatar
}}),
t
.
_v
(
"
\n
类型:"
+
t
.
_s
(
e
.
row
.
invite_type
)
+
" ("
+
t
.
_s
(
e
.
row
.
invite_name
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
收益:"
+
t
.
_s
(
e
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
用户ID:"
+
t
.
_s
(
e
.
row
.
invite_id
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
昵称:"
+
t
.
_s
(
e
.
row
.
invite_nickname
)
+
"
\n
"
),
a
(
"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
?
a
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
invite_avatar
}}),
t
.
_v
(
"
\n
类型:"
+
t
.
_s
(
e
.
row
.
invite_type
)
+
" ("
+
t
.
_s
(
e
.
row
.
invite_name
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
收益:"
+
t
.
_s
(
e
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
用户ID:"
+
t
.
_s
(
e
.
row
.
invite_id
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
昵称:"
+
t
.
_s
(
e
.
row
.
invite_nickname
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
手机:"
+
t
.
_s
(
e
.
row
.
invite_mobile
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
0
===
e
.
row
.
invite_id
?
a
(
"div"
,[
t
.
_v
(
"
\n
无
\n
"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠活动"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
===
e
.
row
.
order_coupon_id
?
a
(
"span"
,[
t
.
_v
(
"
\n
无
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
0
!==
e
.
row
.
order_coupon_id
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showCoupon
(
e
.
row
)}}},[
t
.
_v
(
"
\n
优惠券
\n
"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
5
===
e
.
row
.
status
||
3
===
e
.
row
.
status
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
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
?
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"status"
)(
e
.
row
.
status
)))]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"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
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
user_address_id
&&
e
.
row
.
address_info
?
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
address_info
.
receive_name
)),
a
(
"br"
),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
address_info
.
receive_mobile
)),
a
(
"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
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_at"
,
label
:
"购买时间"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"下单时间"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
width
:
"50"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"200"
}},[
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
e
.
row
.
desc
)}}},[
t
.
_v
(
"
\n
编辑备注
\n
"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
t
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
orderListObj
.
total
,
limit
:
t
.
orderListObj
.
limit
},
on
:{
pageChange
:
t
.
onPageChange2
,
sizeChange
:
t
.
onSizeChange2
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"source-dialog"
,{
attrs
:{
dialogObj
:
t
.
sourceDialog
}}),
t
.
_v
(
" "
),
a
(
"refund-detail"
,{
attrs
:{
dialogObj
:
t
.
refundDetail
}}),
t
.
_v
(
" "
),
a
(
"coupon-dialog"
,{
attrs
:{
dialogObj
:
t
.
couponDetail
}}),
t
.
_v
(
" "
),
a
(
"user-list"
,{
attrs
:{
userObj
:
t
.
userObj
},
on
:{
reflash
:
t
.
getTeacherDetail
}}),
t
.
_v
(
" "
),
a
(
"choose-good-dialog"
,{
attrs
:{
dialogObj
:
t
.
chooseGoodDialogObj
},
on
:{
changeShow
:
t
.
changeShow
}}),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
addShow
},
on
:{
"update:visible"
:
function
(
e
){
t
.
addShow
=
e
}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
userId
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"userId"
,
e
)},
expression
:
"searchFrom.userId"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
nickName
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"nickName"
,
e
)},
expression
:
"searchFrom.nickName"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"mobile"
,
e
)},
expression
:
"searchFrom.mobile"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
8
,
offset
:
16
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getUser
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
userList
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
"margin-right"
:
"5px"
,
width
:
"50px"
,
height
:
"50px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
userObj
.
total
,
limit
:
t
.
userObj
.
limit
},
on
:{
pageChange
:
t
.
onPageChange3
,
sizeChange
:
t
.
onSizeChange3
}}),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
addShow
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onAdd
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
y
=
a
(
"VU/8"
)(
w
,
k
,
!
1
,
function
(
t
){
a
(
"QTjB"
),
a
(
"Ibaz"
)},
"data-v-8df3d5b2"
,
null
);
e
.
default
=
y
.
exports
},
iWjA
:
function
(
t
,
e
){},
qteX
:
function
(
t
,
e
){},
tFn2
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/9.6f5e88869ae14bda49d8.js
0 → 100644
View file @
a41f1601
webpackJsonp
([
9
],{
"9e++"
:
function
(
t
,
e
){},
Ibaz
:
function
(
t
,
e
){},
"MYx/"
:
function
(
t
,
e
){},
QTjB
:
function
(
t
,
e
){},
WpiT
:
function
(
t
,
e
){},
hFUZ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
s
=
a
(
"+TkF"
),
l
=
(
a
(
"xGts"
),{
name
:
"task"
,
props
:[
"parentDetail"
],
data
:
function
(){
return
{
id
:
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
task1List
:[],
task2List
:[],
task3List
:[],
task1Detail
:{
show
:
!
1
,
list
:[],
cur_date
:
""
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
,
type
:
0
}}},
methods
:{
showTask3Detail
:
function
(
t
,
e
,
a
,
s
){
var
l
=
this
,
o
=
{
is_true
:
e
,
is_watch
:
a
,
cur_date
:
s
};
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
is_true
=
e
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
is_watch
=
a
,
this
.
task3Detail
.
cur_date
=
s
,
this
.
task3Detail
.
type
=
1
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" "
+
(
1
===
e
?
"已"
:
"未"
)
+
(
1
===
a
?
"看课"
:
"打卡"
)
+
"学员"
,
Object
(
i
.
_74
)(
t
.
periods_id
,
this
.
id
,
o
).
then
(
function
(
t
){
l
.
task3Detail
.
loading
=!
1
,
l
.
task3Detail
.
list
=
t
})},
showOverWorkDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
type
=
2
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 截止今日全勤学员"
,
Object
(
i
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
showRecallDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
type
=
3
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 今日需要招回学员"
,
Object
(
i
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
a
){
var
s
=
a
.
value
;
Object
(
i
.
l
)(
t
,{
desc
:
s
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
(),
e
.
refDesc1
(),
e
.
refDesc2
(),
e
.
task3Detail
.
list
&&
e
.
task3Detail
.
list
.
length
>
0
&&
e
.
refDesc3
()})})},
refDesc3
:
function
(){
var
t
=
this
;
if
(
1
===
this
.
task3Detail
.
type
){
var
e
=
{
is_true
:
this
.
task3Detail
.
is_true
,
is_watch
:
this
.
task3Detail
.
is_watch
,
cur_date
:
this
.
task3Detail
.
cur_date
};
this
.
task3Detail
.
loading
=!
0
,
Object
(
i
.
_74
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,
e
).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
})}
else
2
===
this
.
task3Detail
.
type
?
Object
(
i
.
_48
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
}):
3
===
this
.
task3Detail
.
type
&&
showRecallDetail
(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
})},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
cur_date
:
t
.
cur_date
}},
refDesc1
:
function
(){
var
t
=
this
;
Object
(
i
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
cur_date
===
t
.
task1Detail
.
cur_date
&&
(
t
.
task1Detail
.
list
=
e
.
detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
Object
(
i
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
weight
===
t
.
task2Detail
.
weight
&&
(
t
.
task2Detail
.
list
=
e
.
detail
)})})},
changeAddTeacher
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc1
(),
e
.
refDesc2
()})},
changeAddTeacher3
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight3
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc2
()})},
changeView
:
function
(
t
){
var
e
=
this
;
Object
(
i
.
_8
)(
t
.
id
,
t
.
is_view_course
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc2
()})},
editDesc3
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"请输入备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
a
){
var
s
=
a
.
value
;
Object
(
i
.
l
)(
t
.
id
,{
desc
:
s
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"更新成功"
}),
e
.
refDesc3
()})}).
catch
(
function
(){})},
editDesc
:
function
(
t
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
user_info
=
{
avatar
:
t
.
avatar
,
nickname
:
t
.
nickname
,
user_id
:
t
.
user_id
},
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
;
Object
(
i
.
_69
)(
this
.
descDialog
.
id
,{
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
})},
initPage
:
function
(){
var
t
=
this
;
Object
(
i
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
}),
Object
(
i
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
}),
Object
(
i
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
})}},
mounted
:
function
(){
this
.
initPage
()}}),
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticStyle
:{
"font-size"
:
"14px"
}},[
a
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务1:好友添加"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task1List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_add_teacher_num"
,
label
:
"当天进班人数"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"加好友率"
,
align
:
"center"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务2:意向等级跟踪"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task2List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"weight"
,
label
:
"意向等级"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_num"
,
label
:
"总人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask2Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
total_num
))])]}}])})],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
24
}},[
a
(
"el-card"
,[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务3:用户召回"
)])]),
t
.
_v
(
" "
),
!
t
.
task3List
||
t
.
task3List
.
length
<
1
?
a
(
"div"
,{
staticStyle
:{
color
:
"#DDDDDD"
,
"text-align"
:
"center"
}},[
t
.
_v
(
"
\n
——暂无数据——
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
task3List
,
function
(
e
){
return
a
(
"div"
,{
staticClass
:
"task3-table"
},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"start"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"开课日期"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
start_at
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"watch"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"已推课程数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
has_watch_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"log-list header-title bg-h"
},[
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"日期"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"未看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总打卡人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"看课率"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"打卡率"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
watch_log
,
function
(
i
){
return
a
(
"div"
,{
staticClass
:
"log-list"
},[
a
(
"div"
,{
staticClass
:
" bg-h"
,
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
t
.
_s
(
i
.
cur_date
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
0
,
1
,
i
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
i
.
total_no_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
1
,
i
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
i
.
total_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
0
,
i
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
i
.
total_work_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
i
.
watch_rate
))]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
i
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
i
.
work_rate
))]):
t
.
_e
()])])}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"截止今日全勤人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showOverWorkDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task1Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
attrs
:{
data
:
t
.
task1Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
periods_title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"105"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"老师已添加未户未通过"
,
value
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"入课时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task2Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task2Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeView
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_view_course
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_view_course"
,
a
)},
expression
:
"scope.row.is_view_course"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"是"
,
value
:
1
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
descDialog
.
show
,
title
:
"备注列表"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
descDialog
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
editComment
(
t
.
descDialog
.
id
)}}},[
t
.
_v
(
"添加备注"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
descDialog
.
descList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
t
.
descDialog
.
user_info
?[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
descDialog
.
user_info
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
t
.
descDialog
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
descDialog
.
user_info
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"operator"
,
label
:
"备注人"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task3Detail
.
show
,
width
:
"80%"
,
title
:
t
.
task3Detail
.
title
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task3Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
task3Detail
.
loading
,
expression
:
"task3Detail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task3Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"created_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"最后登录时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
last_login_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
t
){
a
(
"9e++"
)},
"data-v-5468e688"
,
null
).
exports
,
r
=
a
(
"kmJW"
),
c
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
moneyYuan
:
function
(
t
){
return
t
?(
t
/
100
).
toFixed
(
2
)
+
"元"
:
""
},
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"审核中"
:
1
===
t
?
e
=
"提现成功"
:
2
===
t
&&
(
e
=
"提现失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
i
.
_76
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
_
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"提现详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"withdraw_no"
,
label
:
"提现单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
width
:
"200"
,
className
:
"f-c"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_mobile"
,
label
:
"手机号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
money
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
e
.
row
.
status
,
green
:
1
===
e
.
row
.
status
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现成功时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
success_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"reason"
,
label
:
"失败原因"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
c
,
_
,
!
1
,
function
(
t
){
a
(
"MYx/"
)},
"data-v-334fc0ab"
,
null
).
exports
,
u
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"未使用"
:
1
===
t
?
e
=
"已使用"
:
2
===
t
&&
(
e
=
"禁用"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
order_coupon_id
:
this
.
dialogObj
.
order_coupon_id
,
limit
:
200
};
Object
(
i
.
_31
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"优惠券详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"coupon_no"
,
label
:
"优惠券码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠券金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"使用状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
u
,
h
,
!
1
,
function
(
t
){
a
(
"WpiT"
)},
"data-v-3145d719"
,
null
).
exports
,
f
=
{
name
:
"refundDetail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"退款中"
:
1
===
t
?
e
=
"退款成功"
:
2
===
t
&&
(
e
=
"退款失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
i
.
_56
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"退款详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"refund_no"
,
label
:
"退款编号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"order_money"
,
label
:
"订单金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
order_money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"refund_money"
,
label
:
"退款金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
refund_money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"退款状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"success_at"
,
label
:
"退款成功时间"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
b
=
a
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
t
){
a
(
"qteX"
)},
"data-v-1fb6ff96"
,
null
).
exports
,
m
=
a
(
"0qGg"
),
g
=
a
(
"CfzE"
),
w
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
r
.
a
,
task
:
n
,
UserList
:
m
.
a
,
chooseGoodDialog
:
g
.
a
,
couponDialog
:
v
,
refundDetail
:
b
,
sourceDialog
:
d
},
data
:
function
(){
return
{
searchFrom
:{
user_id
:
""
,
is_add_teacher
:
""
,
is_view_course
:
""
,
start_at
:
""
,
end_at
:
""
},
form
:{
nickname
:
""
,
user_id
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
receive_mobile
:
""
,
mobile
:
""
},
goodList
:[],
orderStatusOption
:
s
.
q
,
tableData
:[],
userList
:[],
list
:[],
id
:
""
,
isBindUser
:
!
0
,
addShow
:
!
1
,
detail
:{},
total
:
0
,
limit
:
10
,
nowPage
:
1
,
userObj
:{
classId
:
""
,
title
:
""
,
show
:
!
1
,
total
:
0
,
limit
:
10
,
nowPage
:
1
},
addId
:
""
,
multipleSelection
:[],
chooseGoodDialogObj
:{
show
:
!
1
,
code
:
""
},
orderListObj
:{
total
:
0
,
limit
:
10
,
nowPage
:
1
},
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
}}},
methods
:{
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
onAdd
:
function
(){
var
t
=
this
;
0
!==
this
.
multipleSelection
.
length
?
1
===
this
.
multipleSelection
.
length
?(
this
.
addId
=
this
.
multipleSelection
[
0
].
user_id
,
this
.
addId
&&
this
.
isBindUser
&&
Object
(
i
.
_98
)(
this
.
id
,{
user_id
:
this
.
addId
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
t
.
id
=
t
.
parentDetail
?
t
.
parentDetail
.
id
:
t
.
$route
.
params
.
id
,
t
.
getTeacherDetail
(),
t
.
getGoodsOption
(),
t
.
addShow
=!
1
})):
this
.
$message
({
type
:
"error"
,
message
:
"只能选择一个用户!"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
})},
onAddUser
:
function
(
t
){
this
.
isBindUser
=
t
,
this
.
addShow
=!
0
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
page
:
this
.
userObj
.
nowPage
,
limit
:
this
.
userObj
.
limit
};
this
.
searchFrom
.
userId
&&
(
e
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
e
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
i
.
_71
)(
e
).
then
(
function
(
e
){
t
.
userList
=
e
.
list
,
t
.
userObj
.
total
=
e
.
total
})},
changeRow
:
function
(
t
,
e
){
e
.
indexOf
(
t
)
>-
1
&&
Object
(
i
.
_27
)(
t
.
periods_id
,
t
.
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
})},
showUser
:
function
(
t
){
this
.
userObj
=
{
classId
:
t
.
id
,
show
:
!
0
,
title
:
this
.
detail
.
name
+
"班级用户列表"
,
teacherId
:
t
.
teacher_id
,
periods_id
:
t
.
periods_id
,
goods_id
:
t
.
goods_id
}},
onPageChange3
:
function
(
t
){
this
.
userObj
.
nowPage
=
t
,
this
.
getUser
()},
onSizeChange3
:
function
(
t
){
this
.
userObj
.
limit
=
t
,
this
.
userObj
.
nowPage
=
1
,
this
.
getUser
()},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getTeacherDetail
()},
onSizeChange
:
function
(
t
){
this
.
limit
=
t
,
this
.
nowPage
=
1
,
this
.
getTeacherDetail
()},
onPageChange2
:
function
(
t
){
this
.
orderListObj
.
nowPage
=
t
,
this
.
getOrderList
()},
onSizeChange2
:
function
(
t
){
this
.
orderListObj
.
limit
=
t
,
this
.
orderListObj
.
nowPage
=
1
,
this
.
getOrderList
()},
getTeacherDetail
:
function
(){
var
t
=
this
;
this
.
searchFrom
=
{
user_id
:
""
,
is_add_teacher
:
""
,
is_view_course
:
""
,
start_at
:
""
,
end_at
:
""
};
var
e
=
this
.
id
,
a
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
i
.
_66
)(
e
,
a
).
then
(
function
(
e
){
e
.
class_list
&&
(
e
.
class_list
.
list
.
forEach
(
function
(
t
){
t
.
arrive_course_rate
=
0
,
t
.
watch_course_rate
=
0
,
t
.
over_course_rate
=
0
,
t
.
work_rate
=
0
,
t
.
over_work_rate
=
0
,
t
.
clock_rate
=
0
,
t
.
over_clock_rate
=
0
,
t
.
transform_rate
=
0
}),
t
.
list
=
e
.
class_list
.
list
||
[],
t
.
total
=
e
.
class_list
.
total
),
t
.
detail
=
e
,
t
.
getOrderList
()})},
createInviteLink
:
function
(
t
){
this
.
chooseGoodDialogObj
.
show
=!
0
,
0
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
:
1
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-XXMM-"
+
t
.
user_id
:
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
},
changeShow
:
function
(){
this
.
chooseGoodDialogObj
.
show
=!
1
,
this
.
chooseGoodDialogObj
.
code
=
""
},
getOrderList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
orderListObj
.
limit
,
page
:
this
.
orderListObj
.
nowPage
};
this
.
form
.
nickname
&&
(
e
.
nickname
=
this
.
form
.
nickname
),
this
.
form
.
user_id
&&
(
e
.
user_id
=
this
.
form
.
user_id
),
this
.
form
.
status
&&
(
e
.
status
=
this
.
form
.
status
.
toString
()),
this
.
form
.
goods_id
&&
(
e
.
goods_id
=
this
.
form
.
goods_id
),
this
.
form
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
form
.
receive_mobile
),
this
.
form
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
form
.
out_trade_no
),
this
.
form
.
mobile
&&
(
e
.
mobile
=
this
.
form
.
mobile
),
0
!==
this
.
detail
.
user_id
&&
(
e
.
invite_id
=
this
.
detail
.
user_id
,
Object
(
i
.
_47
)(
e
).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
refundList
=
[]}),
t
.
tableData
=
e
.
list
,
t
.
orderListObj
.
total
=
e
.
total
}))},
getGoodsOption
:
function
(){
var
t
=
this
;
Object
(
i
.
_37
)({
page
:
1
,
limit
:
100
,
course_type
:
0
}).
then
(
function
(
e
){
t
.
goodList
=
e
.
list
})},
editComment
:
function
(
t
,
e
){
var
a
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
e
||
""
}).
then
(
function
(
e
){
var
s
=
e
.
value
;
a
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
_4
)(
t
,
"order"
,{
desc
:
s
}).
then
(
function
(
t
){
a
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
a
.
getOrderList
()})})})},
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
}},
filters
:{
teacherType
:
function
(
t
){
return
s
.
u
[
t
]},
percent
:
function
(
t
){
return
(
100
*
t
).
toFixed
(
2
)
+
"%"
},
status
:
function
(
t
){
return
s
.
p
[
t
]},
moneytFilter
:
function
(
t
){
return
t
/
100
+
"元"
},
filterGoods
:
function
(
t
){
return
"["
+
s
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
}},
mounted
:
function
(){
this
.
id
=
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()}},
k
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"teacher"
},[
a
(
"div"
,{
staticClass
:
"header"
},[
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
,
"margin-right"
:
"10px"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
a
(
"label"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
":"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"(T"
+
t
.
_s
(
t
.
detail
.
squad
)
+
")
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"small"
,
type
:
"success"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
onAddUser
(
!
0
)}}},[
t
.
_v
(
"老师绑定用户"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
,
target
:
"_blank"
}},[
a
(
"img"
,{
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"带班总人数:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
total_join_num
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])])]),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"绑定用户"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
createInviteLink
(
t
.
detail
.
user_info
)}}},[
t
.
_v
(
"
\n
复制专属链接
\n
"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"用户ID:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
},
on
:{
"expand-change"
:
t
.
changeRow
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:[
e
.
row
]}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
arrive_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
watch_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_name"
,
label
:
"班级名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"已进班人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开课时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"280"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
showUser
(
e
.
row
)}}},[
t
.
_v
(
"
\n
班级成员
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"订单列表"
}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
user_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"user_id"
,
e
)},
expression
:
"form.user_id"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
nickname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"nickname"
,
e
)},
expression
:
"form.nickname"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"mobile"
,
e
)},
expression
:
"form.mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
receive_mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"receive_mobile"
,
e
)},
expression
:
"form.receive_mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getOrderList
},
model
:{
value
:
t
.
form
.
goods_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"goods_id"
,
e
)},
expression
:
"form.goods_id"
}},
t
.
_l
(
t
.
goodList
,
function
(
e
,
i
){
return
a
(
"el-option"
,{
key
:
i
,
attrs
:{
label
:
t
.
_f
(
"filterGoods"
)(
e
),
value
:
e
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
a
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getOrderList
},
model
:{
value
:
t
.
form
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"status"
,
e
)},
expression
:
"form.status"
}},
t
.
_l
(
t
.
orderStatusOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
t
.
value
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"交易订单号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
out_trade_no
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"out_trade_no"
,
e
)},
expression
:
"form.out_trade_no"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getOrderList
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticClass
:
"order_list"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tableData
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
user_nickname
)),
a
(
"br"
),
t
.
_v
(
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")"
),
a
(
"br"
),
t
.
_v
(
"手机:"
+
t
.
_s
(
e
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
t
.
_v
(
" "
),
a
(
"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
?
a
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
display
:
"flex"
,
color
:
"#409eff"
,
cursor
:
"pointer"
},
on
:{
click
:
function
(
a
){
t
.
showSource
(
e
.
row
)}}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
invite_avatar
}}),
t
.
_v
(
"
\n
类型:"
+
t
.
_s
(
e
.
row
.
invite_type
)
+
" ("
+
t
.
_s
(
e
.
row
.
invite_name
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
收益:"
+
t
.
_s
(
e
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
用户ID:"
+
t
.
_s
(
e
.
row
.
invite_id
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
昵称:"
+
t
.
_s
(
e
.
row
.
invite_nickname
)
+
"
\n
"
),
a
(
"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
?
a
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
invite_avatar
}}),
t
.
_v
(
"
\n
类型:"
+
t
.
_s
(
e
.
row
.
invite_type
)
+
" ("
+
t
.
_s
(
e
.
row
.
invite_name
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
收益:"
+
t
.
_s
(
e
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
用户ID:"
+
t
.
_s
(
e
.
row
.
invite_id
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
昵称:"
+
t
.
_s
(
e
.
row
.
invite_nickname
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
手机:"
+
t
.
_s
(
e
.
row
.
invite_mobile
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
0
===
e
.
row
.
invite_id
?
a
(
"div"
,[
t
.
_v
(
"
\n
无
\n
"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠活动"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
===
e
.
row
.
order_coupon_id
?
a
(
"span"
,[
t
.
_v
(
"
\n
无
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
0
!==
e
.
row
.
order_coupon_id
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showCoupon
(
e
.
row
)}}},[
t
.
_v
(
"
\n
优惠券
\n
"
)]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
5
===
e
.
row
.
status
||
3
===
e
.
row
.
status
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
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
?
a
(
"div"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"status"
)(
e
.
row
.
status
)))]):
t
.
_e
()]}}])}),
t
.
_v
(
" "
),
a
(
"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
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
user_address_id
&&
e
.
row
.
address_info
?
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
address_info
.
receive_name
)),
a
(
"br"
),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
address_info
.
receive_mobile
)),
a
(
"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
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_at"
,
label
:
"购买时间"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"下单时间"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
width
:
"50"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"200"
}},[
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
e
.
row
.
desc
)}}},[
t
.
_v
(
"
\n
编辑备注
\n
"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
t
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
orderListObj
.
total
,
limit
:
t
.
orderListObj
.
limit
},
on
:{
pageChange
:
t
.
onPageChange2
,
sizeChange
:
t
.
onSizeChange2
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"source-dialog"
,{
attrs
:{
dialogObj
:
t
.
sourceDialog
}}),
t
.
_v
(
" "
),
a
(
"refund-detail"
,{
attrs
:{
dialogObj
:
t
.
refundDetail
}}),
t
.
_v
(
" "
),
a
(
"coupon-dialog"
,{
attrs
:{
dialogObj
:
t
.
couponDetail
}}),
t
.
_v
(
" "
),
a
(
"user-list"
,{
attrs
:{
userObj
:
t
.
userObj
},
on
:{
reflash
:
t
.
getTeacherDetail
}}),
t
.
_v
(
" "
),
a
(
"choose-good-dialog"
,{
attrs
:{
dialogObj
:
t
.
chooseGoodDialogObj
},
on
:{
changeShow
:
t
.
changeShow
}}),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
addShow
},
on
:{
"update:visible"
:
function
(
e
){
t
.
addShow
=
e
}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
userId
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"userId"
,
e
)},
expression
:
"searchFrom.userId"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
nickName
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"nickName"
,
e
)},
expression
:
"searchFrom.nickName"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"mobile"
,
e
)},
expression
:
"searchFrom.mobile"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
8
,
offset
:
16
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getUser
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
userList
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
"margin-right"
:
"5px"
,
width
:
"50px"
,
height
:
"50px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
userObj
.
total
,
limit
:
t
.
userObj
.
limit
},
on
:{
pageChange
:
t
.
onPageChange3
,
sizeChange
:
t
.
onSizeChange3
}}),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
addShow
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onAdd
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
D
=
a
(
"VU/8"
)(
w
,
k
,
!
1
,
function
(
t
){
a
(
"QTjB"
),
a
(
"Ibaz"
)},
"data-v-8df3d5b2"
,
null
);
e
.
default
=
D
.
exports
},
qteX
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/manifest.cc191cdd48823238808a.js
0 → 100644
View file @
a41f1601
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
54
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"37744086c5707ba18a2d"
,
1
:
"9e4dbb497f256e9ab92f"
,
2
:
"fa3cb1062f7c6256a63d"
,
3
:
"36a87079cc11bc2f31ab"
,
4
:
"e2f48ad86b19027b08d4"
,
5
:
"34fceccd2546f2bf750e"
,
6
:
"ef5fb9b5b583f8e22c8e"
,
7
:
"ec7f264913e1e48200dd"
,
8
:
"01116f732e2e4c77043f"
,
9
:
"6f5e88869ae14bda49d8"
,
10
:
"bda976f8a0a8e36beba3"
,
11
:
"59267aad68bc965122e9"
,
12
:
"1deeeed2a3e79da9bfb2"
,
13
:
"d4ba356e032bb724c3f0"
,
14
:
"06023bb05a2a8caf32c9"
,
15
:
"b8047304cf3794abfc03"
,
16
:
"531bf99bedf55cee5da9"
,
17
:
"0462ceb893d814a8b747"
,
18
:
"8170fce07df5ab00f1ed"
,
19
:
"24bf3180a0829300d645"
,
20
:
"03438c54fab6e5067b2c"
,
21
:
"4a653e6f19a827538f5b"
,
22
:
"f8acd784aa53056af118"
,
23
:
"21fe4f4f38d366fc1fa0"
,
24
:
"ecce7b29ef8b215c26ca"
,
25
:
"61af68fd5cf991fa69a4"
,
26
:
"11860f8a918a6142c528"
,
27
:
"9d65b3c2c408c00ed1b2"
,
28
:
"5b61ad82f2404cc7ddb0"
,
29
:
"bf0fbb5fd0baf4fccc6b"
,
30
:
"0bea30e5fbd239c18ae5"
,
31
:
"efacf62eb201a993127e"
,
32
:
"695b0de4af22a3a0e5b5"
,
33
:
"743558a5f4a0a3f819db"
,
34
:
"8b8ea370c0b506306cb4"
,
35
:
"2ad9d0afc42ea3b76f6a"
,
36
:
"3de804b3b701de309493"
,
37
:
"3518405a391560737048"
,
38
:
"a9d9f340f965b8d7ffe5"
,
39
:
"43fd7de1452bf52e2892"
,
40
:
"391d12df9015e4aa5154"
,
41
:
"9e9d48d87473b78b33b6"
,
42
:
"50f072c2150bb266ae13"
,
43
:
"2a180c21acda6f77147f"
,
44
:
"2869e65103bf627b57d2"
,
45
:
"c9fbe0a2516a54e612fa"
,
46
:
"c29563da808f59b266b0"
,
47
:
"9cf806e0d226649b8d50"
,
48
:
"7b53e9cfe4e50426064a"
,
49
:
"3828e413680a6ad41add"
,
50
:
"bf316d64d5f5fca7a66e"
,
51
:
"1e3630d89ed4229a47e7"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/teacherDetail/task.vue
View file @
a41f1601
...
...
@@ -260,11 +260,17 @@
</
template
>
</el-table-column>
<el-table-column
label=
"进班时间"
min-width=
"200"
prop=
"
last_login
_at"
>
label=
"进班时间"
min-width=
"200"
prop=
"
created
_at"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
created_at
}}
</
template
>
</el-table-column>
<el-table-column
label=
"最后登录时间"
min-width=
"200"
prop=
"last_login_at"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
last_login_at
}}
</
template
>
</el-table-column>
<el-table-column
label=
"备注"
>
<
template
slot-scope=
"scope"
>
...
...
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