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
db75710f
Commit
db75710f
authored
Feb 13, 2019
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
老师任务看板 修改
parent
ed0baee7
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
24 additions
and
11 deletions
+24
-11
index.html
dev/index.html
+1
-1
3.53ab6c47443abd3b6ca1.js
dev/static/js/3.53ab6c47443abd3b6ca1.js
+1
-0
9.a99e3e289ce3156ec321.js
dev/static/js/9.a99e3e289ce3156ec321.js
+1
-0
manifest.cd83e518650e5961e403.js
dev/static/js/manifest.cd83e518650e5961e403.js
+1
-0
index.html
dist/index.html
+1
-1
app.1c985d5347e2ef6b23d1d15170f7df92.css
dist/static/css/app.1c985d5347e2ef6b23d1d15170f7df92.css
+1
-0
4.cab1a95558205da7344b.js
dist/static/js/4.cab1a95558205da7344b.js
+1
-0
9.1fe9c34d272b8a9ec018.js
dist/static/js/9.1fe9c34d272b8a9ec018.js
+1
-0
manifest.8519fbc51966f68ac9d3.js
dist/static/js/manifest.8519fbc51966f68ac9d3.js
+1
-0
task.vue
src/components/teacherDetail/task.vue
+15
-9
No files found.
dev/index.html
View file @
db75710f
<!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></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.
ab8837bfccfccea25880
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.19b07206259747695190.js
></script><script
type=
text/javascript
src=
/static/js/app.dfa7380dd2e93c7de590.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></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.
cd83e518650e5961e403
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.19b07206259747695190.js
></script><script
type=
text/javascript
src=
/static/js/app.dfa7380dd2e93c7de590.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dev/static/js/3.53ab6c47443abd3b6ca1.js
0 → 100644
View file @
db75710f
webpackJsonp
([
3
,
9
],{
"0zIk"
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"mfSI"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"7ac4323a"
,
n
,
!
1
,{})},
"61rJ"
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.demo-table-expand {
\n
font-size: 0;
\n
}
\n
.demo-table-expand label {
\n
width: 90px;
\n
color: #99a9bf;
\n
}
\n
.demo-table-expand .el-form-item {
\n
margin-right: 0;
\n
margin-bottom: 0;
\n
width: 50%;
\n
}
\n
.f-c > .cell {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;CAChB;AACD;EACE,gBAAgB;EAChB,iBAAiB;EACjB,WAAW;CACZ;AACD;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.demo-table-expand {
\n
font-size: 0;
\n
}
\n
.demo-table-expand label {
\n
width: 90px;
\n
color: #99a9bf;
\n
}
\n
.demo-table-expand .el-form-item {
\n
margin-right: 0;
\n
margin-bottom: 0;
\n
width: 50%;
\n
}
\n
.f-c > .cell {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
"64hg"
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.avatar[data-v-4c99299c] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/sourceDialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,WAAW;EACX,aAAa;EACb,mBAAmB;CACpB"
,
file
:
"sourceDialog.vue"
,
sourcesContent
:[
"
\n
.avatar[data-v-4c99299c] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
"7HVr"
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.disabled .el-upload--picture-card {
\n
display: none !important;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacher/dialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,yBAAyB;CAC1B"
,
file
:
"dialog.vue"
,
sourcesContent
:[
"
\n
.disabled .el-upload--picture-card {
\n
display: none !important;
\n
}
\n
"
],
sourceRoot
:
""
}])},
"8uEr"
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.b-title[data-v-67261a49] {
\n
padding: 20px;
\n
color: #666;
\n
}
\n
.teacher[data-v-67261a49] {
\n
padding: 20px 0;
\n
}
\n
.header[data-v-67261a49] {
\n
padding: 0 20px;
\n
margin-bottom: 20px;
\n
}
\n
.el-row[data-v-67261a49] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
color: #666;
\n
font-size: 16px;
\n
}
\n
.text.item[data-v-67261a49] {
\n
line-height: 40px;
\n
}
\n
.text.item label[data-v-67261a49] {
\n
width: 120px;
\n
}
\n
.el-card[data-v-67261a49] {
\n
/*height: 50px;*/
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
.el-card .avatar[data-v-67261a49] {
\n
width: 120px;
\n
margin-right: 10px;
\n
height: 120px;
\n
border-radius: 1000px;
\n
}
\n
.el-card img[data-v-67261a49] {
\n
width: 120px;
\n
float: left;
\n
margin-right: 10px;
\n
}
\n
.el-card label[data-v-67261a49] {
\n
color: #5982e6;
\n
width: 120px;
\n
}
\n
.card-content[data-v-67261a49]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
.order_list .avatar[data-v-67261a49] {
\n
width: 50px;
\n
min-width: 50px;
\n
height: 50px;
\n
margin-right: 5px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,cAAc;EACd,YAAY;CACb;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;EAChB,oBAAoB;CACrB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,YAAY;EACZ,gBAAgB;CACjB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,iBAAiB;EACjB,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B;AACD;EACE,aAAa;EACb,mBAAmB;EACnB,cAAc;EACd,sBAAsB;CACvB;AACD;EACE,aAAa;EACb,YAAY;EACZ,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,kBAAkB;EAClB,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.b-title[data-v-67261a49] {
\n
padding: 20px;
\n
color: #666;
\n
}
\n
.teacher[data-v-67261a49] {
\n
padding: 20px 0;
\n
}
\n
.header[data-v-67261a49] {
\n
padding: 0 20px;
\n
margin-bottom: 20px;
\n
}
\n
.el-row[data-v-67261a49] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
color: #666;
\n
font-size: 16px;
\n
}
\n
.text.item[data-v-67261a49] {
\n
line-height: 40px;
\n
}
\n
.text.item label[data-v-67261a49] {
\n
width: 120px;
\n
}
\n
.el-card[data-v-67261a49] {
\n
/*height: 50px;*/
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
.el-card .avatar[data-v-67261a49] {
\n
width: 120px;
\n
margin-right: 10px;
\n
height: 120px;
\n
border-radius: 1000px;
\n
}
\n
.el-card img[data-v-67261a49] {
\n
width: 120px;
\n
float: left;
\n
margin-right: 10px;
\n
}
\n
.el-card label[data-v-67261a49] {
\n
color: #5982e6;
\n
width: 120px;
\n
}
\n
.card-content[data-v-67261a49]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
.order_list .avatar[data-v-67261a49] {
\n
width: 50px;
\n
min-width: 50px;
\n
height: 50px;
\n
margin-right: 5px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
BenM
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
"
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"dialog.vue"
,
sourceRoot
:
""
}])},
BnRR
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"7HVr"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"20afb735"
,
n
,
!
1
,{})},
"E/ZT"
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"Qqyn"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"1e8fe874"
,
n
,
!
1
,{})},
JP4Q
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"BenM"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"486a2a46"
,
n
,
!
1
,{})},
MeUK
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"8uEr"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"2bb22f96"
,
n
,
!
1
,{})},
OKSQ
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"eTXT"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"627544e4"
,
n
,
!
1
,{})},
Q5Z3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"61rJ"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"56000f94"
,
n
,
!
1
,{})},
Qqyn
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.avatar[data-v-22597032] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/couponDialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,WAAW;EACX,aAAa;EACb,mBAAmB;CACpB"
,
file
:
"couponDialog.vue"
,
sourcesContent
:[
"
\n
.avatar[data-v-22597032] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
SWNE
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.avatar[data-v-4c863f42] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/refundDetail.vue"
],
names
:[],
mappings
:
";AACA;EACE,WAAW;EACX,aAAa;EACb,mBAAmB;CACpB"
,
file
:
"refundDetail.vue"
,
sourcesContent
:[
"
\n
.avatar[data-v-4c863f42] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
Y0Vi
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
i
=
a
(
"+TkF"
),
s
=
a
(
"kmJW"
),
o
=
a
(
"hFUZ"
),
l
=
{
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
(
n
.
_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
(
n
.
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
(
n
.
_113
)({
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
(
n
.
_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
(
n
.
_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
=
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
)])};
r
.
_withStripped
=!
0
;
var
c
=
{
render
:
r
,
staticRenderFns
:[]},
d
=
c
;
var
u
=!
1
;
var
h
=
a
(
"VU/8"
)(
l
,
d
,
!
1
,
function
(
t
){
u
||
(
a
(
"toRX"
),
a
(
"BnRR"
))},
"data-v-4f62551c"
,
null
);
h
.
options
.
__file
=
"src
\\
components
\\
teacher
\\
dialog.vue"
;
var
_
=
h
.
exports
,
p
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
name
:
""
,
alias
:
""
,
status
:
"0"
,
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
:
"新星妈妈"
}]}},
components
:{
Dialog
:
a
(
"g5CC"
).
a
,
page
:
s
.
a
,
dialogCom
:
_
,
teacherDetail
:
o
.
default
},
filters
:{
teacherType
:
function
(
t
){
return
i
.
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
.
status
&&
(
e
.
status
=
this
.
searchFrom
.
status
),
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
(
n
.
_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
(
n
.
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
}}},
f
=
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
:
"老师状态"
,
clearable
:
""
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
},
on
:{
change
:
t
.
getUser
},
model
:{
value
:
t
.
searchFrom
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"status"
,
e
)},
expression
:
"searchFrom.status"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"正常"
,
value
:
"0"
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"禁用"
,
value
:
"1"
}})],
1
)],
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
)};
f
.
_withStripped
=!
0
;
var
m
=
{
render
:
f
,
staticRenderFns
:[]},
v
=
m
;
var
b
=!
1
;
var
g
=
a
(
"VU/8"
)(
p
,
v
,
!
1
,
function
(
t
){
b
||
a
(
"0zIk"
)},
"data-v-4d0e9e98"
,
null
);
g
.
options
.
__file
=
"src
\\
components
\\
teacher
\\
index.vue"
;
e
.
default
=
g
.
exports
},
eTXT
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 120px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 110px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/task.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,cAAc;EACd,eAAe;CAChB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,cAAc;EACd,YAAY;EACZ,mBAAmB;EACnB,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,QAAQ;EACR,OAAO;EACP,aAAa;EACb,iCAAiC;EACjC,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,kBAAkB;EAClB,iCAAiC;EACjC,oBAAoB;CACrB;AACD;EACE,oBAAoB;CACrB"
,
file
:
"task.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 120px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 110px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
],
sourceRoot
:
""
}])},
g5CC
:
function
(
t
,
e
,
a
){
"use strict"
;
var
n
=
a
(
"CCn6"
),
i
=
a
(
"+TkF"
),
s
=
{
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
(
n
.
_67
)({
limit
:
100
}).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
})},
getTeacherByPeriods
:
function
(){
var
t
=
this
;
Object
(
n
.
_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
(
n
.
_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
(
n
.
_37
)().
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
i
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
t
.
goodsList
=
e
.
list
,
t
.
periods
||
Object
(
n
.
_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
(
n
.
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
(
n
.
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
(
n
.
_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
=
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
)};
o
.
_withStripped
=!
0
;
var
l
=
{
render
:
o
,
staticRenderFns
:[]},
r
=
l
;
var
c
=!
1
;
var
d
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
t
){
c
||
a
(
"JP4Q"
)},
"data-v-e25797c8"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
class
\\
dialog.vue"
;
e
.
a
=
d
.
exports
},
hFUZ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
i
=
a
(
"+TkF"
),
s
=
(
a
(
"xGts"
),{
name
:
"task"
,
props
:[
"parentDetail"
],
data
:
function
(){
return
{
id
:
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
task1List
:[],
task2List
:[],
task3List
:[],
lookDetail
:{
show
:
!
1
,
loading
:
!
1
,
list
:[],
nowPage
:
1
,
data
:
null
,
limit
:
500
,
total
:
0
},
task1Detail
:{
show
:
!
1
,
list
:[],
title
:
""
,
cur_date
:
""
},
task5Detail
:{
show
:
!
1
,
list
:[],
total
:
0
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
,
type
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
,
type
:
0
}}},
methods
:{
showLook
:
function
(
t
){
var
e
=
this
;
t
&&
(
this
.
lookDetail
.
data
=
t
),
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
a
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
};
Object
(
n
.
_114
)(
this
.
lookDetail
.
data
.
periods_id
,
this
.
lookDetail
.
data
.
user_id
,
a
).
then
(
function
(
t
){
e
.
lookDetail
.
list
=
t
.
list
,
e
.
lookDetail
.
loading
=!
1
,
e
.
lookDetail
.
total
=
t
.
total
})},
onLookDetailPageChange
:
function
(
t
){
this
.
lookDetail
.
nowPage
=
t
,
this
.
showLook
()},
onLookDetailSizeChange
:
function
(
t
){
this
.
lookDetail
.
limit
=
t
,
this
.
lookDetail
.
nowPage
=
1
,
this
.
showLook
()},
showTask3Detail
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
,
o
=
{
is_true
:
e
,
is_watch
:
a
,
cur_date
:
i
};
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
=
i
,
this
.
task3Detail
.
type
=
1
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" "
+
(
1
===
e
?
"已"
:
"未"
)
+
(
1
===
a
?
"看课"
:
"打卡"
)
+
"学员"
,
Object
(
n
.
_74
)(
t
.
periods_id
,
this
.
id
,
o
).
then
(
function
(
t
){
s
.
task3Detail
.
loading
=!
1
,
s
.
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
(
n
.
_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
(
n
.
_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
i
=
a
.
value
;
Object
(
n
.
l
)(
t
,{
desc
:
i
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
(),
e
.
refDesc1
(),
e
.
refDesc2
(),
e
.
task3Detail
.
list
&&
e
.
task3Detail
.
list
.
length
>
0
&&
e
.
refDesc3
(),
e
.
descDialog
.
type
&&
5
===
e
.
descDialog
.
type
&&
e
.
getTask5
()})})},
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
(
n
.
_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
(
n
.
_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
,
title
:
"意向等级为"
+
t
.
weight
+
"的意向跟踪"
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
,
e
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
e
?
t
.
done_detail
:
t
.
detail
,
title
:
e
?
t
.
cur_date
+
" 未通过用户"
:
t
.
cur_date
+
" 需添加好友人数"
,
cur_date
:
t
.
cur_date
}},
refDesc1
:
function
(){
var
t
=
this
;
Object
(
n
.
_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
(
n
.
_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
(
n
.
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
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight
:
function
(
t
,
e
){
var
a
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
a
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
5
===
e
?
a
.
getTask5
():
a
.
refDesc2
()})},
changeView
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_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
i
=
a
.
value
;
Object
(
n
.
l
)(
t
.
id
,{
desc
:
i
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"更新成功"
}),
e
.
refDesc3
()})}).
catch
(
function
(){})},
editDesc
:
function
(
t
,
e
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
type
=
e
||
null
,
this
.
descDialog
.
user_info
=
{
avatar
:
t
.
avatar
,
nickname
:
t
.
nickname
,
user_id
:
t
.
user_id
},
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
;
Object
(
n
.
_69
)(
this
.
descDialog
.
id
,{
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
})},
getTask5
:
function
(){
var
t
=
this
;
Object
(
n
.
_99
)(
this
.
id
).
then
(
function
(
e
){
t
.
task5Detail
.
list
=
e
.
list
,
t
.
task5Detail
.
total
=
e
.
total
})},
initPage
:
function
(){
var
t
=
this
;
Object
(
n
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
}),
Object
(
n
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
}),
Object
(
n
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
}),
this
.
getTask5
()}},
mounted
:
function
(){
this
.
initPage
()}}),
o
=
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
:
16
}},[
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
:
"done_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
,
1
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
done_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"完成情况"
,
align
:
"center"
,
width
:
"250"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"好友通过率:"
)]),
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
add_rate
.
split
(
"%"
)[
0
])}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"任务处理率:"
)]),
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
done_rate
.
split
(
"%"
)[
0
])}})],
1
)]}}])})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
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
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
padding
:
"0"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
task5Detail
.
show
=!
0
}}},[
t
.
_v
(
"往期活跃用户数(近三天):"
+
t
.
_s
(
t
.
task5Detail
.
total
))])],
1
),
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
:
"recall"
,
staticStyle
:{
"background-color"
:
"#fffbe4"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
"font-size"
:
"30px"
,
"text-decoration"
:
"underline"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
),
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
:
"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
(
n
){
return
a
(
"div"
,{
staticClass
:
"log-list"
},[
a
(
"div"
,{
staticClass
:
" bg-h"
,
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
t
.
_s
(
n
.
cur_date
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
0
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_no_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
0
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_work_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
watch_rate
))]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
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
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
title
:
t
.
task1Detail
.
title
,
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
:{
label
:
"是否添加老师"
,
"min-width"
:
"160"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"入课时间"
,
"min-width"
:
"140px"
,
align
:
"center"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
,
width
:
"200px"
},
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
title
:
t
.
task2Detail
.
title
,
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"
,
sortable
:
""
,
prop
:
"created_at"
}}),
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"
:
"155"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"操作"
,
width
:
"200px"
,
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
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"
,
sortable
:
""
,
prop
:
"created_at"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"最后登录时间"
,
"min-width"
:
"200"
,
sortable
:
""
,
prop
:
"last_login_at"
}}),
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"
:
"155"
,
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
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"手机号不是微信号"
,
value
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"操作"
,
width
:
"200px"
,
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task5Detail
.
show
,
width
:
"80%"
,
title
:
"往期活跃用户"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task5Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task5Detail
.
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
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数信息"
,
"min-width"
:
"120"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"155"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"暂未处理"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"学习情况"
,
"min-width"
:
"180"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
学习总时长:"
+
t
.
_s
(
e
.
row
.
total_stay_time
)
+
"秒
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
学习课包模块数:"
+
t
.
_s
(
e
.
row
.
total_times
)
+
"次
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
最后看课时间:"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
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
,
5
)}},
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
:
"操作"
,
width
:
"200px"
,
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
,
5
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
lookDetail
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
lookDetail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
lookDetail
.
loading
,
expression
:
"lookDetail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
lookDetail
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"日期"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈看一看"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"宝贝玩一玩"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈秀宝贝"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
a
(
"span"
,[
a
(
"div"
,{
domProps
:{
innerHTML
:
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
}).
learn_report
)}})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未秀宝贝
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"多元趣味课"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分享"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
已分享
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未分享
\n
"
)])]}}])})],
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
)],
1
)};
o
.
_withStripped
=!
0
;
var
l
=
{
render
:
o
,
staticRenderFns
:[]},
r
=
l
;
var
c
=!
1
;
var
d
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
t
){
c
||
a
(
"OKSQ"
)},
"data-v-ed74a444"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
task.vue"
;
var
u
=
d
.
exports
,
h
=
a
(
"kmJW"
),
_
=
{
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
(
n
.
_76
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
p
=
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
)};
p
.
_withStripped
=!
0
;
var
f
=
{
render
:
p
,
staticRenderFns
:[]},
m
=
f
;
var
v
=!
1
;
var
b
=
a
(
"VU/8"
)(
_
,
m
,
!
1
,
function
(
t
){
v
||
a
(
"utD1"
)},
"data-v-4c99299c"
,
null
);
b
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
sourceDialog.vue"
;
var
g
=
b
.
exports
,
A
=
{
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
(
n
.
_31
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
w
=
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
)};
w
.
_withStripped
=!
0
;
var
C
=
{
render
:
w
,
staticRenderFns
:[]},
k
=
C
;
var
x
=!
1
;
var
y
=
a
(
"VU/8"
)(
A
,
k
,
!
1
,
function
(
t
){
x
||
a
(
"E/ZT"
)},
"data-v-22597032"
,
null
);
y
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
couponDialog.vue"
;
var
D
=
y
.
exports
,
B
=
{
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
(
n
.
_56
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
E
=
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
)};
E
.
_withStripped
=!
0
;
var
S
=
{
render
:
E
,
staticRenderFns
:[]},
j
=
S
;
var
O
=!
1
;
var
F
=
a
(
"VU/8"
)(
B
,
j
,
!
1
,
function
(
t
){
O
||
a
(
"rJ82"
)},
"data-v-4c863f42"
,
null
);
F
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
refundDetail.vue"
;
var
$
=
F
.
exports
,
L
=
a
(
"0qGg"
),
T
=
a
(
"CfzE"
),
z
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
h
.
a
,
task
:
u
,
UserList
:
L
.
a
,
chooseGoodDialog
:
T
.
a
,
couponDialog
:
D
,
refundDetail
:
$
,
sourceDialog
:
g
},
data
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getMonth
()
+
1
;
return
e
<
10
&&
(
e
=
"0"
+
e
.
toString
()),{
tabs
:
"task"
,
nowDate
:
t
=
t
.
getFullYear
()
+
"-"
+
e
,
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
:
""
},
task4Data
:
null
,
goodList
:[],
orderStatusOption
:
i
.
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
:{
getTask4
:
function
(){
var
t
=
this
;
Object
(
n
.
_98
)(
this
.
id
).
then
(
function
(
e
){
t
.
task4Data
=
e
})},
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
(
n
.
_100
)(
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
(
n
.
_71
)(
e
).
then
(
function
(
e
){
t
.
userList
=
e
.
list
,
t
.
userObj
.
total
=
e
.
total
})},
changeRow
:
function
(
t
,
e
){
e
.
indexOf
(
t
)
>-
1
&&
Object
(
n
.
_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
(
n
.
_66
)(
e
,
a
).
then
(
function
(
e
){
t
.
detail
=
e
,
t
.
detail
.
class_list
&&
(
t
.
detail
.
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
=
t
.
detail
.
class_list
.
list
||
[],
t
.
total
=
t
.
detail
.
class_list
.
total
)})},
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
(
n
.
_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
(
n
.
_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
i
=
e
.
value
;
a
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_4
)(
t
,
"order"
,{
desc
:
i
}).
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
i
.
u
[
t
]},
percent
:
function
(
t
){
return
(
100
*
t
).
toFixed
(
2
)
+
"%"
},
status
:
function
(
t
){
return
i
.
p
[
t
]},
moneytFilter
:
function
(
t
){
return
t
/
100
+
"元"
},
filterGoods
:
function
(
t
){
return
"["
+
i
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
}},
mounted
:
function
(){
this
.
id
=
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
;
var
t
=
localStorage
.
getItem
(
"phoneNum"
);
t
&&
(
t
=
JSON
.
parse
(
t
),
this
.
id
=
t
.
id
),
this
.
getTask4
(),
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()},
watch
:{
tabs
:
function
(
t
){
"order"
===
t
&&
this
.
getOrderList
()}}},
q
=
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"
,
"margin-right"
:
"10px"
}},[
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
(),
t
.
_v
(
" "
),
t
.
task4Data
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"320px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"当月销售转化率【"
+
t
.
_s
(
t
.
nowDate
)
+
"】"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"el-progress"
,{
staticStyle
:{
float
:
"left"
,
"margin-right"
:
"10px"
},
attrs
:{
type
:
"circle"
,
percentage
:
Number
(
t
.
task4Data
.
trans_rate
.
split
(
"%"
)[
0
])}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月带班人数:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_user_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月购课人数:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_sale_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月累计业绩:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_money
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
},
model
:{
value
:
t
.
tabs
,
callback
:
function
(
e
){
t
.
tabs
=
e
},
expression
:
"tabs"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
,
name
:
"task"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
,
name
:
"periods"
}},[
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
:
"订单列表"
,
name
:
"order"
}},[
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
,
n
){
return
a
(
"el-option"
,{
key
:
n
,
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
)};
q
.
_withStripped
=!
0
;
var
P
=
{
render
:
q
,
staticRenderFns
:[]},
Y
=
P
;
var
I
=!
1
;
var
U
=
a
(
"VU/8"
)(
z
,
Y
,
!
1
,
function
(
t
){
I
||
(
a
(
"MeUK"
),
a
(
"Q5Z3"
))},
"data-v-67261a49"
,
null
);
U
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
index.vue"
;
e
.
default
=
U
.
exports
},
mfSI
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
'
\
n.search-btn-block[data-v-4d0e9e98] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-4d0e9e98] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-4d0e9e98] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-4d0e9e98] {
\
n float: right;
\
n}
\
n.text-c[data-v-4d0e9e98] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-4d0e9e98] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-4d0e9e98] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-4d0e9e98] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-4d0e9e98] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-4d0e9e98] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-4d0e9e98]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-4d0e9e98]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-4d0e9e98]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-4d0e9e98]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.user[data-v-4d0e9e98] {
\
n height: 100%;
\
n overflow: auto;
\
n padding: 20px 0;
\
n}
\
n.user .btn-content[data-v-4d0e9e98] {
\
n text-align: center;
\
n}
\
n.shortcut[data-v-4d0e9e98] {
\
n width: 50px;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacher/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,aAAa;EACb,eAAe;EACf,gBAAgB;CACjB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,YAAY;CACb"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-4d0e9e98] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-4d0e9e98] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-4d0e9e98] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-4d0e9e98] {
\
n float: right;
\
n}
\
n.text-c[data-v-4d0e9e98] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-4d0e9e98] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-4d0e9e98] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-4d0e9e98] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-4d0e9e98] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-4d0e9e98] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-4d0e9e98]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-4d0e9e98]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-4d0e9e98]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-4d0e9e98]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.user[data-v-4d0e9e98] {
\
n height: 100%;
\
n overflow: auto;
\
n padding: 20px 0;
\
n}
\
n.user .btn-content[data-v-4d0e9e98] {
\
n text-align: center;
\
n}
\
n.shortcut[data-v-4d0e9e98] {
\
n width: 50px;
\
n}
\
n'
],
sourceRoot
:
""
}])},
rJ82
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"SWNE"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"7221ac08"
,
n
,
!
1
,{})},
toRX
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"zFQr"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"1cb17ed6"
,
n
,
!
1
,{})},
utD1
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"64hg"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"5dac314c"
,
n
,
!
1
,{})},
zFQr
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.el-col[data-v-4f62551c] {
\n
min-height: 50px;
\n
text-align: center;
\n
margin-bottom: 20px;
\n
line-height: 40px;
\n
}
\n
.el-col .el-select[data-v-4f62551c] {
\n
width: 100%;
\n
}
\n
.el-col img[data-v-4f62551c] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-4f62551c] {
\n
color: #5982e6;
\n
}
\n
.qr-img[data-v-4f62551c] {
\n
width: 148px !important;
\n
border: none !important;
\n
border-radius: 0 !important;
\n
}
\n
.dialog-footer[data-v-4f62551c] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacher/dialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,iBAAiB;EACjB,mBAAmB;EACnB,oBAAoB;EACpB,kBAAkB;CACnB;AACD;EACE,YAAY;CACb;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,eAAe;CAChB;AACD;EACE,wBAAwB;EACxB,wBAAwB;EACxB,4BAA4B;CAC7B;AACD;EACE,eAAe;EACf,mBAAmB;CACpB"
,
file
:
"dialog.vue"
,
sourcesContent
:[
"
\n
.el-col[data-v-4f62551c] {
\n
min-height: 50px;
\n
text-align: center;
\n
margin-bottom: 20px;
\n
line-height: 40px;
\n
}
\n
.el-col .el-select[data-v-4f62551c] {
\n
width: 100%;
\n
}
\n
.el-col img[data-v-4f62551c] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-4f62551c] {
\n
color: #5982e6;
\n
}
\n
.qr-img[data-v-4f62551c] {
\n
width: 148px !important;
\n
border: none !important;
\n
border-radius: 0 !important;
\n
}
\n
.dialog-footer[data-v-4f62551c] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
],
sourceRoot
:
""
}])}});
\ No newline at end of file
dev/static/js/9.a99e3e289ce3156ec321.js
0 → 100644
View file @
db75710f
webpackJsonp
([
9
],{
"61rJ"
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.demo-table-expand {
\n
font-size: 0;
\n
}
\n
.demo-table-expand label {
\n
width: 90px;
\n
color: #99a9bf;
\n
}
\n
.demo-table-expand .el-form-item {
\n
margin-right: 0;
\n
margin-bottom: 0;
\n
width: 50%;
\n
}
\n
.f-c > .cell {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;CAChB;AACD;EACE,gBAAgB;EAChB,iBAAiB;EACjB,WAAW;CACZ;AACD;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.demo-table-expand {
\n
font-size: 0;
\n
}
\n
.demo-table-expand label {
\n
width: 90px;
\n
color: #99a9bf;
\n
}
\n
.demo-table-expand .el-form-item {
\n
margin-right: 0;
\n
margin-bottom: 0;
\n
width: 50%;
\n
}
\n
.f-c > .cell {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
"64hg"
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.avatar[data-v-4c99299c] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/sourceDialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,WAAW;EACX,aAAa;EACb,mBAAmB;CACpB"
,
file
:
"sourceDialog.vue"
,
sourcesContent
:[
"
\n
.avatar[data-v-4c99299c] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
"8uEr"
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.b-title[data-v-67261a49] {
\n
padding: 20px;
\n
color: #666;
\n
}
\n
.teacher[data-v-67261a49] {
\n
padding: 20px 0;
\n
}
\n
.header[data-v-67261a49] {
\n
padding: 0 20px;
\n
margin-bottom: 20px;
\n
}
\n
.el-row[data-v-67261a49] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
color: #666;
\n
font-size: 16px;
\n
}
\n
.text.item[data-v-67261a49] {
\n
line-height: 40px;
\n
}
\n
.text.item label[data-v-67261a49] {
\n
width: 120px;
\n
}
\n
.el-card[data-v-67261a49] {
\n
/*height: 50px;*/
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
.el-card .avatar[data-v-67261a49] {
\n
width: 120px;
\n
margin-right: 10px;
\n
height: 120px;
\n
border-radius: 1000px;
\n
}
\n
.el-card img[data-v-67261a49] {
\n
width: 120px;
\n
float: left;
\n
margin-right: 10px;
\n
}
\n
.el-card label[data-v-67261a49] {
\n
color: #5982e6;
\n
width: 120px;
\n
}
\n
.card-content[data-v-67261a49]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
.order_list .avatar[data-v-67261a49] {
\n
width: 50px;
\n
min-width: 50px;
\n
height: 50px;
\n
margin-right: 5px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,cAAc;EACd,YAAY;CACb;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;EAChB,oBAAoB;CACrB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,YAAY;EACZ,gBAAgB;CACjB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,iBAAiB;EACjB,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B;AACD;EACE,aAAa;EACb,mBAAmB;EACnB,cAAc;EACd,sBAAsB;CACvB;AACD;EACE,aAAa;EACb,YAAY;EACZ,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,kBAAkB;EAClB,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.b-title[data-v-67261a49] {
\n
padding: 20px;
\n
color: #666;
\n
}
\n
.teacher[data-v-67261a49] {
\n
padding: 20px 0;
\n
}
\n
.header[data-v-67261a49] {
\n
padding: 0 20px;
\n
margin-bottom: 20px;
\n
}
\n
.el-row[data-v-67261a49] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
color: #666;
\n
font-size: 16px;
\n
}
\n
.text.item[data-v-67261a49] {
\n
line-height: 40px;
\n
}
\n
.text.item label[data-v-67261a49] {
\n
width: 120px;
\n
}
\n
.el-card[data-v-67261a49] {
\n
/*height: 50px;*/
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
.el-card .avatar[data-v-67261a49] {
\n
width: 120px;
\n
margin-right: 10px;
\n
height: 120px;
\n
border-radius: 1000px;
\n
}
\n
.el-card img[data-v-67261a49] {
\n
width: 120px;
\n
float: left;
\n
margin-right: 10px;
\n
}
\n
.el-card label[data-v-67261a49] {
\n
color: #5982e6;
\n
width: 120px;
\n
}
\n
.card-content[data-v-67261a49]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
.order_list .avatar[data-v-67261a49] {
\n
width: 50px;
\n
min-width: 50px;
\n
height: 50px;
\n
margin-right: 5px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
"E/ZT"
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"Qqyn"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"1e8fe874"
,
n
,
!
1
,{})},
MeUK
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"8uEr"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"2bb22f96"
,
n
,
!
1
,{})},
OKSQ
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"eTXT"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"627544e4"
,
n
,
!
1
,{})},
Q5Z3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"61rJ"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"56000f94"
,
n
,
!
1
,{})},
Qqyn
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.avatar[data-v-22597032] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/couponDialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,WAAW;EACX,aAAa;EACb,mBAAmB;CACpB"
,
file
:
"couponDialog.vue"
,
sourcesContent
:[
"
\n
.avatar[data-v-22597032] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
SWNE
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.avatar[data-v-4c863f42] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/refundDetail.vue"
],
names
:[],
mappings
:
";AACA;EACE,WAAW;EACX,aAAa;EACb,mBAAmB;CACpB"
,
file
:
"refundDetail.vue"
,
sourcesContent
:[
"
\n
.avatar[data-v-4c863f42] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
eTXT
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 120px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 110px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/teacherDetail/task.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,cAAc;EACd,eAAe;CAChB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,cAAc;EACd,YAAY;EACZ,mBAAmB;EACnB,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,QAAQ;EACR,OAAO;EACP,aAAa;EACb,iCAAiC;EACjC,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,kBAAkB;EAClB,iCAAiC;EACjC,oBAAoB;CACrB;AACD;EACE,oBAAoB;CACrB"
,
file
:
"task.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 120px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 110px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
],
sourceRoot
:
""
}])},
hFUZ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
i
=
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
:[],
lookDetail
:{
show
:
!
1
,
loading
:
!
1
,
list
:[],
nowPage
:
1
,
data
:
null
,
limit
:
500
,
total
:
0
},
task1Detail
:{
show
:
!
1
,
list
:[],
title
:
""
,
cur_date
:
""
},
task5Detail
:{
show
:
!
1
,
list
:[],
total
:
0
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
,
type
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
,
type
:
0
}}},
methods
:{
showLook
:
function
(
t
){
var
e
=
this
;
t
&&
(
this
.
lookDetail
.
data
=
t
),
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
a
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
};
Object
(
n
.
_114
)(
this
.
lookDetail
.
data
.
periods_id
,
this
.
lookDetail
.
data
.
user_id
,
a
).
then
(
function
(
t
){
e
.
lookDetail
.
list
=
t
.
list
,
e
.
lookDetail
.
loading
=!
1
,
e
.
lookDetail
.
total
=
t
.
total
})},
onLookDetailPageChange
:
function
(
t
){
this
.
lookDetail
.
nowPage
=
t
,
this
.
showLook
()},
onLookDetailSizeChange
:
function
(
t
){
this
.
lookDetail
.
limit
=
t
,
this
.
lookDetail
.
nowPage
=
1
,
this
.
showLook
()},
showTask3Detail
:
function
(
t
,
e
,
a
,
i
){
var
l
=
this
,
s
=
{
is_true
:
e
,
is_watch
:
a
,
cur_date
:
i
};
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
=
i
,
this
.
task3Detail
.
type
=
1
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" "
+
(
1
===
e
?
"已"
:
"未"
)
+
(
1
===
a
?
"看课"
:
"打卡"
)
+
"学员"
,
Object
(
n
.
_74
)(
t
.
periods_id
,
this
.
id
,
s
).
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
(
n
.
_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
(
n
.
_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
i
=
a
.
value
;
Object
(
n
.
l
)(
t
,{
desc
:
i
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
(),
e
.
refDesc1
(),
e
.
refDesc2
(),
e
.
task3Detail
.
list
&&
e
.
task3Detail
.
list
.
length
>
0
&&
e
.
refDesc3
(),
e
.
descDialog
.
type
&&
5
===
e
.
descDialog
.
type
&&
e
.
getTask5
()})})},
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
(
n
.
_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
(
n
.
_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
,
title
:
"意向等级为"
+
t
.
weight
+
"的意向跟踪"
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
,
e
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
e
?
t
.
done_detail
:
t
.
detail
,
title
:
e
?
t
.
cur_date
+
" 未通过用户"
:
t
.
cur_date
+
" 需添加好友人数"
,
cur_date
:
t
.
cur_date
}},
refDesc1
:
function
(){
var
t
=
this
;
Object
(
n
.
_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
(
n
.
_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
(
n
.
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
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight
:
function
(
t
,
e
){
var
a
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
a
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
5
===
e
?
a
.
getTask5
():
a
.
refDesc2
()})},
changeView
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_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
i
=
a
.
value
;
Object
(
n
.
l
)(
t
.
id
,{
desc
:
i
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"更新成功"
}),
e
.
refDesc3
()})}).
catch
(
function
(){})},
editDesc
:
function
(
t
,
e
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
type
=
e
||
null
,
this
.
descDialog
.
user_info
=
{
avatar
:
t
.
avatar
,
nickname
:
t
.
nickname
,
user_id
:
t
.
user_id
},
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
;
Object
(
n
.
_69
)(
this
.
descDialog
.
id
,{
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
})},
getTask5
:
function
(){
var
t
=
this
;
Object
(
n
.
_99
)(
this
.
id
).
then
(
function
(
e
){
t
.
task5Detail
.
list
=
e
.
list
,
t
.
task5Detail
.
total
=
e
.
total
})},
initPage
:
function
(){
var
t
=
this
;
Object
(
n
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
}),
Object
(
n
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
}),
Object
(
n
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
}),
this
.
getTask5
()}},
mounted
:
function
(){
this
.
initPage
()}}),
s
=
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
:
16
}},[
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
:
"done_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
,
1
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
done_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"完成情况"
,
align
:
"center"
,
width
:
"250"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"好友通过率:"
)]),
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
add_rate
.
split
(
"%"
)[
0
])}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"任务处理率:"
)]),
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
done_rate
.
split
(
"%"
)[
0
])}})],
1
)]}}])})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
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
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
padding
:
"0"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
task5Detail
.
show
=!
0
}}},[
t
.
_v
(
"往期活跃用户数(近三天):"
+
t
.
_s
(
t
.
task5Detail
.
total
))])],
1
),
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
:
"recall"
,
staticStyle
:{
"background-color"
:
"#fffbe4"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
"font-size"
:
"30px"
,
"text-decoration"
:
"underline"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
),
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
:
"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
(
n
){
return
a
(
"div"
,{
staticClass
:
"log-list"
},[
a
(
"div"
,{
staticClass
:
" bg-h"
,
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
t
.
_s
(
n
.
cur_date
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
0
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_no_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
0
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_work_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
watch_rate
))]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
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
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
title
:
t
.
task1Detail
.
title
,
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
:{
label
:
"是否添加老师"
,
"min-width"
:
"160"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"入课时间"
,
"min-width"
:
"140px"
,
align
:
"center"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
,
width
:
"200px"
},
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
title
:
t
.
task2Detail
.
title
,
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"
,
sortable
:
""
,
prop
:
"created_at"
}}),
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"
:
"155"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"操作"
,
width
:
"200px"
,
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
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"
,
sortable
:
""
,
prop
:
"created_at"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"最后登录时间"
,
"min-width"
:
"200"
,
sortable
:
""
,
prop
:
"last_login_at"
}}),
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"
:
"155"
,
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
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"手机号不是微信号"
,
value
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"操作"
,
width
:
"200px"
,
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task5Detail
.
show
,
width
:
"80%"
,
title
:
"往期活跃用户"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task5Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task5Detail
.
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
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数信息"
,
"min-width"
:
"120"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"155"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"暂未处理"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"学习情况"
,
"min-width"
:
"180"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
学习总时长:"
+
t
.
_s
(
e
.
row
.
total_stay_time
)
+
"秒
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
学习课包模块数:"
+
t
.
_s
(
e
.
row
.
total_times
)
+
"次
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
最后看课时间:"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
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
,
5
)}},
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
:
"操作"
,
width
:
"200px"
,
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
,
5
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
lookDetail
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
lookDetail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
lookDetail
.
loading
,
expression
:
"lookDetail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
lookDetail
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"日期"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈看一看"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"宝贝玩一玩"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈秀宝贝"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
a
(
"span"
,[
a
(
"div"
,{
domProps
:{
innerHTML
:
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
}).
learn_report
)}})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未秀宝贝
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"多元趣味课"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分享"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
已分享
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未分享
\n
"
)])]}}])})],
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
)],
1
)};
s
.
_withStripped
=!
0
;
var
o
=
{
render
:
s
,
staticRenderFns
:[]},
r
=
o
;
var
c
=!
1
;
var
d
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
t
){
c
||
a
(
"OKSQ"
)},
"data-v-ed74a444"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
task.vue"
;
var
u
=
d
.
exports
,
_
=
a
(
"kmJW"
),
p
=
{
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
(
n
.
_76
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
h
=
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
)};
h
.
_withStripped
=!
0
;
var
v
=
{
render
:
h
,
staticRenderFns
:[]},
f
=
v
;
var
b
=!
1
;
var
m
=
a
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
t
){
b
||
a
(
"utD1"
)},
"data-v-4c99299c"
,
null
);
m
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
sourceDialog.vue"
;
var
g
=
m
.
exports
,
w
=
{
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
(
n
.
_31
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
A
=
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
)};
A
.
_withStripped
=!
0
;
var
k
=
{
render
:
A
,
staticRenderFns
:[]},
C
=
k
;
var
x
=!
1
;
var
D
=
a
(
"VU/8"
)(
w
,
C
,
!
1
,
function
(
t
){
x
||
a
(
"E/ZT"
)},
"data-v-22597032"
,
null
);
D
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
couponDialog.vue"
;
var
y
=
D
.
exports
,
B
=
{
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
(
n
.
_56
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
E
=
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
)};
E
.
_withStripped
=!
0
;
var
S
=
{
render
:
E
,
staticRenderFns
:[]},
j
=
S
;
var
O
=!
1
;
var
L
=
a
(
"VU/8"
)(
B
,
j
,
!
1
,
function
(
t
){
O
||
a
(
"rJ82"
)},
"data-v-4c863f42"
,
null
);
L
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
refundDetail.vue"
;
var
T
=
L
.
exports
,
$
=
a
(
"0qGg"
),
z
=
a
(
"CfzE"
),
F
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
_
.
a
,
task
:
u
,
UserList
:
$
.
a
,
chooseGoodDialog
:
z
.
a
,
couponDialog
:
y
,
refundDetail
:
T
,
sourceDialog
:
g
},
data
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getMonth
()
+
1
;
return
e
<
10
&&
(
e
=
"0"
+
e
.
toString
()),{
tabs
:
"task"
,
nowDate
:
t
=
t
.
getFullYear
()
+
"-"
+
e
,
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
:
""
},
task4Data
:
null
,
goodList
:[],
orderStatusOption
:
i
.
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
:{
getTask4
:
function
(){
var
t
=
this
;
Object
(
n
.
_98
)(
this
.
id
).
then
(
function
(
e
){
t
.
task4Data
=
e
})},
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
(
n
.
_100
)(
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
(
n
.
_71
)(
e
).
then
(
function
(
e
){
t
.
userList
=
e
.
list
,
t
.
userObj
.
total
=
e
.
total
})},
changeRow
:
function
(
t
,
e
){
e
.
indexOf
(
t
)
>-
1
&&
Object
(
n
.
_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
(
n
.
_66
)(
e
,
a
).
then
(
function
(
e
){
t
.
detail
=
e
,
t
.
detail
.
class_list
&&
(
t
.
detail
.
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
=
t
.
detail
.
class_list
.
list
||
[],
t
.
total
=
t
.
detail
.
class_list
.
total
)})},
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
(
n
.
_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
(
n
.
_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
i
=
e
.
value
;
a
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_4
)(
t
,
"order"
,{
desc
:
i
}).
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
i
.
u
[
t
]},
percent
:
function
(
t
){
return
(
100
*
t
).
toFixed
(
2
)
+
"%"
},
status
:
function
(
t
){
return
i
.
p
[
t
]},
moneytFilter
:
function
(
t
){
return
t
/
100
+
"元"
},
filterGoods
:
function
(
t
){
return
"["
+
i
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
}},
mounted
:
function
(){
this
.
id
=
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
;
var
t
=
localStorage
.
getItem
(
"phoneNum"
);
t
&&
(
t
=
JSON
.
parse
(
t
),
this
.
id
=
t
.
id
),
this
.
getTask4
(),
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()},
watch
:{
tabs
:
function
(
t
){
"order"
===
t
&&
this
.
getOrderList
()}}},
P
=
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"
,
"margin-right"
:
"10px"
}},[
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
(),
t
.
_v
(
" "
),
t
.
task4Data
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"320px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"当月销售转化率【"
+
t
.
_s
(
t
.
nowDate
)
+
"】"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"el-progress"
,{
staticStyle
:{
float
:
"left"
,
"margin-right"
:
"10px"
},
attrs
:{
type
:
"circle"
,
percentage
:
Number
(
t
.
task4Data
.
trans_rate
.
split
(
"%"
)[
0
])}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月带班人数:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_user_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月购课人数:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_sale_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月累计业绩:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_money
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
},
model
:{
value
:
t
.
tabs
,
callback
:
function
(
e
){
t
.
tabs
=
e
},
expression
:
"tabs"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
,
name
:
"task"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
,
name
:
"periods"
}},[
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
:
"订单列表"
,
name
:
"order"
}},[
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
,
n
){
return
a
(
"el-option"
,{
key
:
n
,
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
)};
P
.
_withStripped
=!
0
;
var
Y
=
{
render
:
P
,
staticRenderFns
:[]},
I
=
Y
;
var
U
=!
1
;
var
N
=
a
(
"VU/8"
)(
F
,
I
,
!
1
,
function
(
t
){
U
||
(
a
(
"MeUK"
),
a
(
"Q5Z3"
))},
"data-v-67261a49"
,
null
);
N
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
index.vue"
;
e
.
default
=
N
.
exports
},
rJ82
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"SWNE"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"7221ac08"
,
n
,
!
1
,{})},
utD1
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"64hg"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"5dac314c"
,
n
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/manifest.cd83e518650e5961e403.js
0 → 100644
View file @
db75710f
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
54
:
0
};
function
b
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
c
=
f
[
e
]
=
[
a
,
b
]});
c
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"767a7573fa5b25006967"
,
1
:
"13ecc92254166c2b45a6"
,
2
:
"f2a06db15d213b608870"
,
3
:
"53ab6c47443abd3b6ca1"
,
4
:
"25316e7d3f0819488250"
,
5
:
"3f83b1af222f5a136eca"
,
6
:
"0caa2c74f838b2e19e22"
,
7
:
"e6a2ceb4eb73ed1e620d"
,
8
:
"023571b9464c6de3c9c0"
,
9
:
"a99e3e289ce3156ec321"
,
10
:
"3f2164813ca748580385"
,
11
:
"74fffc59d2b8ab639671"
,
12
:
"5faa8c6fe93dd8318f6c"
,
13
:
"5f3e53db5146d925a973"
,
14
:
"095625c5ff57d0774602"
,
15
:
"dfb974c4f18e203f717d"
,
16
:
"e0551b536bb51e474bc9"
,
17
:
"1a566fff237fd73182c7"
,
18
:
"e921a577887de038df89"
,
19
:
"5f0e5a8b123730833389"
,
20
:
"1523dee6e75b5eeaee70"
,
21
:
"d14e131c4b4983543f0c"
,
22
:
"eee5ae7b25c0c9ba76db"
,
23
:
"7636b0f88d1c1e5dcfde"
,
24
:
"1ab0904dacff98c8be22"
,
25
:
"a895cfaaf3538fc9d453"
,
26
:
"2dc6ee3466c889c57317"
,
27
:
"c096be33c7355e51f462"
,
28
:
"70b0b4cf287b5b056886"
,
29
:
"64f3d097b888469617a6"
,
30
:
"0320595f56926c7eb86d"
,
31
:
"8f5bbc0412d546335db6"
,
32
:
"bf6ecc8dc5ed1336b225"
,
33
:
"3b0ffb1fae55c57ecd2a"
,
34
:
"6ec9b3fbbe91ad8b68e5"
,
35
:
"d8cbbb94eba78aae5204"
,
36
:
"da81b57fd678c10e3c7e"
,
37
:
"055874e8ba8f293f4d0c"
,
38
:
"d73f1b27521fa4569eb8"
,
39
:
"fb2822aa5110c15c3d31"
,
40
:
"cb7e7f070738f432d0b5"
,
41
:
"9b9dc4d455282a10fc45"
,
42
:
"b44529aaa35c8b216c7e"
,
43
:
"03627096aa6c9e8cbc7c"
,
44
:
"7d222355fa25f3d50691"
,
45
:
"f002ee4b50549513cd1e"
,
46
:
"737cb2db82f1793a8f73"
,
47
:
"55e9f020a22f300bbb70"
,
48
:
"a7d5dd30041d9587e338"
,
49
:
"5063a876a0e5fcfc2d58"
,
50
:
"a97af822fd1c8ab3dc1c"
,
51
:
"e069a842df53d1309e99"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
c
,
a
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
db75710f
<!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.
5bca4e92caac26c113ab352bd399a59c.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.6c0c92afc7f4d5941f2d
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.dabb3afa5856b271bc7f.js
></script><script
type=
text/javascript
src=
/static/js/app.e0e940e42b9b1766f70d.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.
1c985d5347e2ef6b23d1d15170f7df92.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.8519fbc51966f68ac9d3
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.dabb3afa5856b271bc7f.js
></script><script
type=
text/javascript
src=
/static/js/app.e0e940e42b9b1766f70d.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dist/static/css/app.1c985d5347e2ef6b23d1d15170f7df92.css
0 → 100644
View file @
db75710f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/4.cab1a95558205da7344b.js
0 → 100644
View file @
db75710f
webpackJsonp
([
4
,
9
],{
"2+Q2"
:
function
(
t
,
e
){},
KJ7d
:
function
(
t
,
e
){},
MRDD
:
function
(
t
,
e
){},
"MYx/"
:
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
.
_113
)({
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
(
"lSHI"
),
a
(
"ljmI"
)},
"data-v-92bfd8d6"
,
null
).
exports
,
d
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
name
:
""
,
alias
:
""
,
status
:
"0"
,
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
:
"新星妈妈"
}]}},
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
.
status
&&
(
e
.
status
=
this
.
searchFrom
.
status
),
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
:
"老师状态"
,
clearable
:
""
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
},
on
:{
change
:
t
.
getUser
},
model
:{
value
:
t
.
searchFrom
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"status"
,
e
)},
expression
:
"searchFrom.status"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"正常"
,
value
:
"0"
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"禁用"
,
value
:
"1"
}})],
1
)],
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
(
"2+Q2"
)},
"data-v-042c6ce3"
,
null
);
e
.
default
=
_
.
exports
},
f2ga
:
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
:[],
lookDetail
:{
show
:
!
1
,
loading
:
!
1
,
list
:[],
nowPage
:
1
,
data
:
null
,
limit
:
500
,
total
:
0
},
task1Detail
:{
show
:
!
1
,
list
:[],
title
:
""
,
cur_date
:
""
},
task5Detail
:{
show
:
!
1
,
list
:[],
total
:
0
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
,
type
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
,
type
:
0
}}},
methods
:{
showLook
:
function
(
t
){
var
e
=
this
;
t
&&
(
this
.
lookDetail
.
data
=
t
),
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
a
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
};
Object
(
i
.
_114
)(
this
.
lookDetail
.
data
.
periods_id
,
this
.
lookDetail
.
data
.
user_id
,
a
).
then
(
function
(
t
){
e
.
lookDetail
.
list
=
t
.
list
,
e
.
lookDetail
.
loading
=!
1
,
e
.
lookDetail
.
total
=
t
.
total
})},
onLookDetailPageChange
:
function
(
t
){
this
.
lookDetail
.
nowPage
=
t
,
this
.
showLook
()},
onLookDetailSizeChange
:
function
(
t
){
this
.
lookDetail
.
limit
=
t
,
this
.
lookDetail
.
nowPage
=
1
,
this
.
showLook
()},
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
(),
e
.
descDialog
.
type
&&
5
===
e
.
descDialog
.
type
&&
e
.
getTask5
()})})},
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
,
title
:
"意向等级为"
+
t
.
weight
+
"的意向跟踪"
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
,
e
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
e
?
t
.
done_detail
:
t
.
detail
,
title
:
e
?
t
.
cur_date
+
" 未通过用户"
:
t
.
cur_date
+
" 需添加好友人数"
,
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
,
e
){
var
a
=
this
;
Object
(
i
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
a
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
5
===
e
?
a
.
getTask5
():
a
.
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
,
e
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
type
=
e
||
null
,
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
})},
getTask5
:
function
(){
var
t
=
this
;
Object
(
i
.
_99
)(
this
.
id
).
then
(
function
(
e
){
t
.
task5Detail
.
list
=
e
.
list
,
t
.
task5Detail
.
total
=
e
.
total
})},
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
}),
this
.
getTask5
()}},
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
:
16
}},[
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
:
"done_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
,
1
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
done_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"完成情况"
,
align
:
"center"
,
width
:
"250"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"好友通过率:"
)]),
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
add_rate
.
split
(
"%"
)[
0
])}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"任务处理率:"
)]),
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
done_rate
.
split
(
"%"
)[
0
])}})],
1
)]}}])})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
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
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
padding
:
"0"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
task5Detail
.
show
=!
0
}}},[
t
.
_v
(
"往期活跃用户数(近三天):"
+
t
.
_s
(
t
.
task5Detail
.
total
))])],
1
),
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
:
"recall"
,
staticStyle
:{
"background-color"
:
"#fffbe4"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
"font-size"
:
"30px"
,
"text-decoration"
:
"underline"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
),
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
:
"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
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
title
:
t
.
task1Detail
.
title
,
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
:{
label
:
"是否添加老师"
,
"min-width"
:
"160"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"入课时间"
,
"min-width"
:
"140px"
,
align
:
"center"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
,
width
:
"200px"
},
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
title
:
t
.
task2Detail
.
title
,
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"
,
sortable
:
""
,
prop
:
"created_at"
}}),
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"
:
"155"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"操作"
,
width
:
"200px"
,
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
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"
,
sortable
:
""
,
prop
:
"created_at"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"最后登录时间"
,
"min-width"
:
"200"
,
sortable
:
""
,
prop
:
"last_login_at"
}}),
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"
:
"155"
,
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
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"手机号不是微信号"
,
value
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"操作"
,
width
:
"200px"
,
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task5Detail
.
show
,
width
:
"80%"
,
title
:
"往期活跃用户"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task5Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task5Detail
.
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
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数信息"
,
"min-width"
:
"120"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"155"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"暂未处理"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"学习情况"
,
"min-width"
:
"180"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
学习总时长:"
+
t
.
_s
(
e
.
row
.
total_stay_time
)
+
"秒
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
学习课包模块数:"
+
t
.
_s
(
e
.
row
.
total_times
)
+
"次
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
最后看课时间:"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
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
,
5
)}},
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
:
"操作"
,
width
:
"200px"
,
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
,
5
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
lookDetail
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
lookDetail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
lookDetail
.
loading
,
expression
:
"lookDetail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
lookDetail
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"日期"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈看一看"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"宝贝玩一玩"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈秀宝贝"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
a
(
"span"
,[
a
(
"div"
,{
domProps
:{
innerHTML
:
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
}).
learn_report
)}})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未秀宝贝
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"多元趣味课"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分享"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
已分享
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未分享
\n
"
)])]}}])})],
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
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
t
){
a
(
"MRDD"
)},
"data-v-4e48f130"
,
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
(){
var
t
=
new
Date
,
e
=
t
.
getMonth
()
+
1
;
return
e
<
10
&&
(
e
=
"0"
+
e
.
toString
()),{
tabs
:
"task"
,
nowDate
:
t
=
t
.
getFullYear
()
+
"-"
+
e
,
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
:
""
},
task4Data
:
null
,
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
:{
getTask4
:
function
(){
var
t
=
this
;
Object
(
i
.
_98
)(
this
.
id
).
then
(
function
(
e
){
t
.
task4Data
=
e
})},
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
.
_100
)(
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
){
t
.
detail
=
e
,
t
.
detail
.
class_list
&&
(
t
.
detail
.
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
=
t
.
detail
.
class_list
.
list
||
[],
t
.
total
=
t
.
detail
.
class_list
.
total
)})},
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
;
var
t
=
localStorage
.
getItem
(
"phoneNum"
);
t
&&
(
t
=
JSON
.
parse
(
t
),
this
.
id
=
t
.
id
),
this
.
getTask4
(),
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()},
watch
:{
tabs
:
function
(
t
){
"order"
===
t
&&
this
.
getOrderList
()}}},
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"
,
"margin-right"
:
"10px"
}},[
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
(),
t
.
_v
(
" "
),
t
.
task4Data
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"320px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"当月销售转化率【"
+
t
.
_s
(
t
.
nowDate
)
+
"】"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"el-progress"
,{
staticStyle
:{
float
:
"left"
,
"margin-right"
:
"10px"
},
attrs
:{
type
:
"circle"
,
percentage
:
Number
(
t
.
task4Data
.
trans_rate
.
split
(
"%"
)[
0
])}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月带班人数:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_user_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月购课人数:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_sale_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月累计业绩:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_money
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
},
model
:{
value
:
t
.
tabs
,
callback
:
function
(
e
){
t
.
tabs
=
e
},
expression
:
"tabs"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
,
name
:
"task"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
,
name
:
"periods"
}},[
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
:
"订单列表"
,
name
:
"order"
}},[
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
(
"KJ7d"
),
a
(
"f2ga"
)},
"data-v-5016a5fa"
,
null
);
e
.
default
=
y
.
exports
},
lSHI
:
function
(
t
,
e
){},
ljmI
:
function
(
t
,
e
){},
qteX
:
function
(
t
,
e
){},
tFn2
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/9.1fe9c34d272b8a9ec018.js
0 → 100644
View file @
db75710f
webpackJsonp
([
9
],{
KJ7d
:
function
(
t
,
e
){},
MRDD
:
function
(
t
,
e
){},
"MYx/"
:
function
(
t
,
e
){},
WpiT
:
function
(
t
,
e
){},
f2ga
:
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
:[],
lookDetail
:{
show
:
!
1
,
loading
:
!
1
,
list
:[],
nowPage
:
1
,
data
:
null
,
limit
:
500
,
total
:
0
},
task1Detail
:{
show
:
!
1
,
list
:[],
title
:
""
,
cur_date
:
""
},
task5Detail
:{
show
:
!
1
,
list
:[],
total
:
0
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
,
type
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
,
type
:
0
}}},
methods
:{
showLook
:
function
(
t
){
var
e
=
this
;
t
&&
(
this
.
lookDetail
.
data
=
t
),
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
a
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
};
Object
(
i
.
_114
)(
this
.
lookDetail
.
data
.
periods_id
,
this
.
lookDetail
.
data
.
user_id
,
a
).
then
(
function
(
t
){
e
.
lookDetail
.
list
=
t
.
list
,
e
.
lookDetail
.
loading
=!
1
,
e
.
lookDetail
.
total
=
t
.
total
})},
onLookDetailPageChange
:
function
(
t
){
this
.
lookDetail
.
nowPage
=
t
,
this
.
showLook
()},
onLookDetailSizeChange
:
function
(
t
){
this
.
lookDetail
.
limit
=
t
,
this
.
lookDetail
.
nowPage
=
1
,
this
.
showLook
()},
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
(),
e
.
descDialog
.
type
&&
5
===
e
.
descDialog
.
type
&&
e
.
getTask5
()})})},
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
,
title
:
"意向等级为"
+
t
.
weight
+
"的意向跟踪"
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
,
e
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
e
?
t
.
done_detail
:
t
.
detail
,
title
:
e
?
t
.
cur_date
+
" 未通过用户"
:
t
.
cur_date
+
" 需添加好友人数"
,
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
,
e
){
var
a
=
this
;
Object
(
i
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
a
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
5
===
e
?
a
.
getTask5
():
a
.
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
,
e
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
type
=
e
||
null
,
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
})},
getTask5
:
function
(){
var
t
=
this
;
Object
(
i
.
_99
)(
this
.
id
).
then
(
function
(
e
){
t
.
task5Detail
.
list
=
e
.
list
,
t
.
task5Detail
.
total
=
e
.
total
})},
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
}),
this
.
getTask5
()}},
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
:
16
}},[
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
:
"done_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
,
1
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
done_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"完成情况"
,
align
:
"center"
,
width
:
"250"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"好友通过率:"
)]),
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
add_rate
.
split
(
"%"
)[
0
])}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"任务处理率:"
)]),
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
done_rate
.
split
(
"%"
)[
0
])}})],
1
)]}}])})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
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
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
padding
:
"0"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
task5Detail
.
show
=!
0
}}},[
t
.
_v
(
"往期活跃用户数(近三天):"
+
t
.
_s
(
t
.
task5Detail
.
total
))])],
1
),
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
:
"recall"
,
staticStyle
:{
"background-color"
:
"#fffbe4"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
"font-size"
:
"30px"
,
"text-decoration"
:
"underline"
},
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
),
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
:
"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
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
title
:
t
.
task1Detail
.
title
,
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
:{
label
:
"是否添加老师"
,
"min-width"
:
"160"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"入课时间"
,
"min-width"
:
"140px"
,
align
:
"center"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
,
width
:
"200px"
},
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
title
:
t
.
task2Detail
.
title
,
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"
,
sortable
:
""
,
prop
:
"created_at"
}}),
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"
:
"155"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"操作"
,
width
:
"200px"
,
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
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"
,
sortable
:
""
,
prop
:
"created_at"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"最后登录时间"
,
"min-width"
:
"200"
,
sortable
:
""
,
prop
:
"last_login_at"
}}),
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"
:
"155"
,
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
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"手机号不是微信号"
,
value
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
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
:
"操作"
,
width
:
"200px"
,
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
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task5Detail
.
show
,
width
:
"80%"
,
title
:
"往期活跃用户"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task5Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task5Detail
.
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
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数信息"
,
"min-width"
:
"120"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"155"
,
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
:
4
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户已拒绝"
,
value
:
5
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"暂未处理"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"学习情况"
,
"min-width"
:
"180"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
学习总时长:"
+
t
.
_s
(
e
.
row
.
total_stay_time
)
+
"秒
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
学习课包模块数:"
+
t
.
_s
(
e
.
row
.
total_times
)
+
"次
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
最后看课时间:"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
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
,
5
)}},
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
:
"操作"
,
width
:
"200px"
,
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
,
5
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
lookDetail
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
lookDetail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
lookDetail
.
loading
,
expression
:
"lookDetail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
lookDetail
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"日期"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈看一看"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
1
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"宝贝玩一玩"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
2
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈秀宝贝"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
a
(
"span"
,[
a
(
"div"
,{
domProps
:{
innerHTML
:
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
}).
learn_report
)}})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
3
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未秀宝贝
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"多元趣味课"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
5
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分享"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
watch_list
&&
e
.
row
.
watch_list
.
length
>
0
&&
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
a
(
"span"
,[
t
.
_v
(
"
\n
已分享
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
row
.
watch_list
.
find
(
function
(
t
){
return
4
===
t
.
page_id
})?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"
\n
暂未分享
\n
"
)])]}}])})],
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
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
t
){
a
(
"MRDD"
)},
"data-v-4e48f130"
,
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
p
=
a
(
"VU/8"
)(
u
,
h
,
!
1
,
function
(
t
){
a
(
"WpiT"
)},
"data-v-3145d719"
,
null
).
exports
,
v
=
{
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
()}}},
f
=
{
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"
)(
v
,
f
,
!
1
,
function
(
t
){
a
(
"qteX"
)},
"data-v-1fb6ff96"
,
null
).
exports
,
m
=
a
(
"0qGg"
),
w
=
a
(
"CfzE"
),
g
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
r
.
a
,
task
:
n
,
UserList
:
m
.
a
,
chooseGoodDialog
:
w
.
a
,
couponDialog
:
p
,
refundDetail
:
b
,
sourceDialog
:
d
},
data
:
function
(){
var
t
=
new
Date
,
e
=
t
.
getMonth
()
+
1
;
return
e
<
10
&&
(
e
=
"0"
+
e
.
toString
()),{
tabs
:
"task"
,
nowDate
:
t
=
t
.
getFullYear
()
+
"-"
+
e
,
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
:
""
},
task4Data
:
null
,
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
:{
getTask4
:
function
(){
var
t
=
this
;
Object
(
i
.
_98
)(
this
.
id
).
then
(
function
(
e
){
t
.
task4Data
=
e
})},
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
.
_100
)(
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
){
t
.
detail
=
e
,
t
.
detail
.
class_list
&&
(
t
.
detail
.
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
=
t
.
detail
.
class_list
.
list
||
[],
t
.
total
=
t
.
detail
.
class_list
.
total
)})},
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
;
var
t
=
localStorage
.
getItem
(
"phoneNum"
);
t
&&
(
t
=
JSON
.
parse
(
t
),
this
.
id
=
t
.
id
),
this
.
getTask4
(),
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()},
watch
:{
tabs
:
function
(
t
){
"order"
===
t
&&
this
.
getOrderList
()}}},
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"
,
"margin-right"
:
"10px"
}},[
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
(),
t
.
_v
(
" "
),
t
.
task4Data
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"320px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"当月销售转化率【"
+
t
.
_s
(
t
.
nowDate
)
+
"】"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"el-progress"
,{
staticStyle
:{
float
:
"left"
,
"margin-right"
:
"10px"
},
attrs
:{
type
:
"circle"
,
percentage
:
Number
(
t
.
task4Data
.
trans_rate
.
split
(
"%"
)[
0
])}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月带班人数:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_user_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月购课人数:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_sale_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"当月累计业绩:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
task4Data
.
total_money
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
},
model
:{
value
:
t
.
tabs
,
callback
:
function
(
e
){
t
.
tabs
=
e
},
expression
:
"tabs"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
,
name
:
"task"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
,
name
:
"periods"
}},[
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
:
"订单列表"
,
name
:
"order"
}},[
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"
)(
g
,
k
,
!
1
,
function
(
t
){
a
(
"KJ7d"
),
a
(
"f2ga"
)},
"data-v-5016a5fa"
,
null
);
e
.
default
=
D
.
exports
},
qteX
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/manifest.8519fbc51966f68ac9d3.js
0 → 100644
View file @
db75710f
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
54
:
0
};
function
b
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
b
){
a
=
f
[
e
]
=
[
c
,
b
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"f4f3000c40ca187adb8d"
,
1
:
"70bc42dbc1ffaed57988"
,
2
:
"8d64c4f32108e29e828a"
,
3
:
"978935e0bda98b392cfa"
,
4
:
"cab1a95558205da7344b"
,
5
:
"0770f442fbcafb9fbb6b"
,
6
:
"7875ac2edd333fa82a0c"
,
7
:
"69cc8a98c5f0ac765ad5"
,
8
:
"6b85590bd82a07e234d1"
,
9
:
"1fe9c34d272b8a9ec018"
,
10
:
"901693097383eee4bb36"
,
11
:
"f5785a1ae295125740f3"
,
12
:
"8b62f9b9a60d674eac10"
,
13
:
"19e3e554d1402ec008f9"
,
14
:
"8c6f084e6255fbeded32"
,
15
:
"7360d785ee332f5a4bb8"
,
16
:
"377ce2b3eca0c3a88598"
,
17
:
"ff8ef6eecfc24eaead59"
,
18
:
"524fb6b2da79f077570f"
,
19
:
"aaff5cb99e110a714ee1"
,
20
:
"f45c5a602b2535d93d24"
,
21
:
"3f9f11c97fb1e1427b87"
,
22
:
"bb30e982e20decdf5597"
,
23
:
"c594ea4a37322f8c7840"
,
24
:
"ed17cab90908135eaffa"
,
25
:
"fd6fb9d57686c26eb406"
,
26
:
"ce23bfb9282a66c186c4"
,
27
:
"bbf8405accf1afcd5be3"
,
28
:
"c9bbffb9c2a6b58702da"
,
29
:
"ac117b295bb4de6f3a14"
,
30
:
"e9270346ac5a37b40765"
,
31
:
"89ee2c867b096e88eecb"
,
32
:
"18bd09ea1758c434e68b"
,
33
:
"207f09ca5117a438027d"
,
34
:
"3f43f058bf9441d0d79f"
,
35
:
"37496d6823ff5bb7139f"
,
36
:
"9da1921ac78c17085d92"
,
37
:
"a9288b9ae1825f0a2aef"
,
38
:
"b15e9a6506cc91cb36b7"
,
39
:
"6dbe195c28187681cf8d"
,
40
:
"0a7bd580c27c12e2babf"
,
41
:
"43efb089718547897e5a"
,
42
:
"f932e4cf13c0ebde02f0"
,
43
:
"cb3aaae7ea0ea31fe041"
,
44
:
"820b288e99876613dbbe"
,
45
:
"093e400e86b53f46d09a"
,
46
:
"d724b95e520c7e948730"
,
47
:
"76f0d426db5ba9283455"
,
48
:
"b163cd5e2750e3f00800"
,
49
:
"fd79c4e277dbe5de3809"
,
50
:
"1d6101cb1433a7f1e23a"
,
51
:
"5bdb0d5bedd939cc3016"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
a
,
c
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/teacherDetail/task.vue
View file @
db75710f
<
template
>
<
template
>
<div
style=
"font-size: 14px"
>
<div
style=
"font-size: 14px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"1
2
"
>
<el-col
:span=
"1
6
"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
任务1:好友添加
</span>
<span>
任务1:好友添加
</span>
...
@@ -14,15 +14,21 @@
...
@@ -14,15 +14,21 @@
<el-button
type=
"text"
size=
"mini"
@
click=
"showTask1Detail(scope.row)"
>
{{
scope
.
row
.
need_add_teacher_num
}}
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"showTask1Detail(scope.row)"
>
{{
scope
.
row
.
need_add_teacher_num
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"
add_rate"
label=
"加好友率
"
align=
"center"
>
<el-table-column
prop=
"
done_num"
label=
"未通过人数
"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-progress
:text-inside=
"true"
:stroke-width=
"18"
color=
"#67C23A"
:percentage=
"Number(scope.row.add_rate.split('%')[0])"
></el-progress>
<el-button
type=
"text"
size=
"mini"
@
click=
"showTask1Detail(scope.row,1)"
>
{{
scope
.
row
.
done_num
}}
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"add_rate"
label=
"完成情况"
align=
"center"
width=
"250"
>
<
template
slot-scope=
"scope"
>
<div><label
style=
"width: 90px;display: inline-block;text-align: right"
>
好友通过率:
</label><el-progress
style=
"display: inline-block;width: 120px"
:text-inside=
"true"
:stroke-width=
"18"
color=
"#67C23A"
:percentage=
"Number(scope.row.add_rate.split('%')[0])"
></el-progress></div>
<div><label
style=
"width: 90px;display: inline-block;text-align: right"
>
任务处理率:
</label><el-progress
style=
"display: inline-block;width: 120px"
:text-inside=
"true"
:stroke-width=
"18"
color=
"#67C23A"
:percentage=
"Number(scope.row.done_rate.split('%')[0])"
></el-progress></div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</el-card>
</el-card>
</el-col>
</el-col>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
8
"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
任务2:意向等级跟踪
</span>
<span>
任务2:意向等级跟踪
</span>
...
@@ -129,7 +135,7 @@
...
@@ -129,7 +135,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
label=
"是否添加老师"
width=
"155
"
prop=
"is_add_teacher"
>
label=
"是否添加老师"
min-width=
"160
"
prop=
"is_add_teacher"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.is_add_teacher"
size=
"mini"
@
change=
"changeAddTeacher(scope.row)"
>
<el-select
v-model=
"scope.row.is_add_teacher"
size=
"mini"
@
change=
"changeAddTeacher(scope.row)"
>
<el-option
label=
"老师主动添加"
:value=
"1"
>
<el-option
label=
"老师主动添加"
:value=
"1"
>
...
@@ -148,7 +154,7 @@
...
@@ -148,7 +154,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"desc"
label=
"备注"
align=
"center"
></el-table-column>
<el-table-column
prop=
"desc"
label=
"备注"
align=
"center"
></el-table-column>
<el-table-column
prop=
"created_at"
label=
"入课时间"
align=
"center"
sortable
></el-table-column>
<el-table-column
prop=
"created_at"
label=
"入课时间"
min-width=
"140px"
align=
"center"
sortable
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
width=
"200px"
>
<el-table-column
label=
"操作"
align=
"center"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"warning"
size=
"mini"
@
click=
"editDesc(scope.row)"
>
备注
</el-button>
<el-button
type=
"warning"
size=
"mini"
@
click=
"editDesc(scope.row)"
>
备注
</el-button>
...
@@ -672,11 +678,11 @@
...
@@ -672,11 +678,11 @@
weight
:
data
.
weight
weight
:
data
.
weight
}
}
}
,
}
,
showTask1Detail
(
data
){
showTask1Detail
(
data
,
type
){
this
.
task1Detail
=
{
this
.
task1Detail
=
{
show
:
true
,
show
:
true
,
list
:
data
.
detail
,
list
:
type
?
data
.
done_detail
:
data
.
detail
,
title
:
data
.
cur_date
+
' 需添加好友人数'
,
title
:
type
?
data
.
cur_date
+
' 未通过用户'
:
data
.
cur_date
+
' 需添加好友人数'
,
cur_date
:
data
.
cur_date
cur_date
:
data
.
cur_date
}
}
}
,
}
,
...
...
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