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
ecf10779
Commit
ecf10779
authored
Feb 18, 2019
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户列表去除同步按钮
parent
62325f43
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
3 deletions
+12
-3
index.html
dev/index.html
+1
-1
3.8e361c2a04f653cdfca9.js
dev/static/js/3.8e361c2a04f653cdfca9.js
+1
-0
6.68f7f483a23b5d1bba8c.js
dev/static/js/6.68f7f483a23b5d1bba8c.js
+1
-0
9.ea8c6e75895bb579d264.js
dev/static/js/9.ea8c6e75895bb579d264.js
+1
-0
manifest.aa704aa355582f65f7a8.js
dev/static/js/manifest.aa704aa355582f65f7a8.js
+1
-0
index.html
dist/index.html
+1
-1
app.5a3e16f199192a998bd67aef9916d525.css
dist/static/css/app.5a3e16f199192a998bd67aef9916d525.css
+1
-0
4.bd626d9b46d0196f4f3a.js
dist/static/js/4.bd626d9b46d0196f4f3a.js
+1
-0
6.76c7113ae4e6239a0aec.js
dist/static/js/6.76c7113ae4e6239a0aec.js
+1
-0
9.2553d8f7fe6bc6791599.js
dist/static/js/9.2553d8f7fe6bc6791599.js
+1
-0
manifest.94a6b03c87ac3d23908a.js
dist/static/js/manifest.94a6b03c87ac3d23908a.js
+1
-0
index.vue
src/components/user/index.vue
+1
-1
No files found.
dev/index.html
View file @
ecf10779
<!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.
622768e7c5032dede866
.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.
aa704aa355582f65f7a8
.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
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/3.8e361c2a04f653cdfca9.js
0 → 100644
View file @
ecf10779
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
_
=
a
(
"VU/8"
)(
l
,
d
,
!
1
,
function
(
t
){
u
||
(
a
(
"toRX"
),
a
(
"BnRR"
))},
"data-v-4f62551c"
,
null
);
_
.
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
:
h
,
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
v
=
{
render
:
f
,
staticRenderFns
:[]},
m
=
v
;
var
b
=!
1
;
var
g
=
a
(
"VU/8"
)(
p
,
m
,
!
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[data-v-ed74a444] .hightLight {
\
n background: #fffbe4;
\
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;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[data-v-ed74a444] .hightLight {
\
n background: #fffbe4;
\
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
,
total_over_num
:
0
,
over_rate
:
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
},
dialogType
:
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
.
dialogType
=
3
,
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
.
task2Detail
.
show
=!
0
,
this
.
task2Detail
.
loading
=!
0
,
this
.
task2Detail
.
periods_id
=
t
.
periods_id
,
this
.
task2Detail
.
type
=
2
,
this
.
task2Detail
.
title
=
t
.
title
+
" 截止今日全勤学员"
,
this
.
dialogType
=
2
,
Object
(
n
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task2Detail
.
loading
=!
1
,
e
.
task2Detail
.
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
.
title
+
" 今日需要招回学员"
,
this
.
dialogType
=
3
,
Object
(
n
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
""
;
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
,
e
){
var
a
=
this
;
this
.
$prompt
(
""
,
"添加沟通话术"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
e
){
var
i
=
e
.
value
;
Object
(
n
.
l
)(
t
,{
desc
:
i
}).
then
(
function
(
t
){
switch
(
a
.
$message
({
type
:
"success"
,
message
:
"添加沟通话术成功"
}),
a
.
dialogType
){
case
1
:
a
.
refDesc1
();
break
;
case
2
:
a
.
refDesc2
();
break
;
case
3
:
a
.
refDesc3
();
break
;
case
4
:
a
.
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
&&
Object
(
n
.
_55
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
});
Object
(
n
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
})},
showTask5Detail
:
function
(){
this
.
task5Detail
.
show
=!
0
,
this
.
dialogType
=
4
},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
title
:
"意向等级为"
+
t
.
weight
+
"的用户列表"
,
weight
:
t
.
weight
},
this
.
task2Detail
.
type
=
1
},
showTask1Detail
:
function
(
t
,
e
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
e
?
t
.
done_detail
:
t
.
need_add_detail
,
title
:
e
?
t
.
cur_date
+
" 未通过用户列表"
:
t
.
cur_date
+
" 待加好友用户列表"
,
cur_date
:
t
.
cur_date
},
this
.
dialogType
=
1
},
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
.
need_add_detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
1
==
this
.
task2Detail
.
type
?
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
)})}):
2
==
this
.
task2Detail
.
type
&&
(
Object
(
n
.
_48
)(
this
.
task2Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task2Detail
.
loading
=!
1
,
t
.
task2Detail
.
list
=
e
}),
Object
(
n
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
}))},
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
,
t
.
task5Detail
.
over_rate
=
e
.
over_rate
,
t
.
task5Detail
.
total_over_num
=
e
.
total_over_num
})},
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
()}},
filters
:{
ADDTEACHER
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"暂未处理"
:
1
===
t
?
e
=
"老师主动添加用户"
:
2
===
t
?
e
=
"用户主动添加老师"
:
3
===
t
?
e
=
"待通过"
:
4
===
t
?
e
=
"手机号不是微信号"
:
5
===
t
&&
(
e
=
"用户已拒绝"
),
e
}},
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
:
"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
:{
"class-name"
:
"hightLight"
,
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
staticStyle
:{
"font-size"
:
"20px"
},
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"完成情况"
,
align
:
"center"
,
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
(
"好友通过率:"
)]),
t
.
_v
(
" "
),
Number
(
e
.
row
.
add_rate
)
>=
70
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
add_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
row
.
add_rate
)
<
70
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
row
.
add_rate
)}}):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"任务处理率:"
)]),
t
.
_v
(
" "
),
100
==
Number
(
e
.
row
.
done_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
done_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
row
.
done_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
row
.
done_rate
)}}):
t
.
_e
()],
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
(
" "
),
!
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"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"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
1
===
n
.
is_start_course
?
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
.
_e
()}),
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
e
.
total_desc_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
e
.
desc_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
desc_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
desc_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
desc_rate
)}}):
t
.
_e
()],
1
)])],
2
)])})],
2
)],
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
(
"任务4:意向用户标记"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"本期意向用户:"
)]),
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"
,
staticStyle
:{
width
:
"47%"
}},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
,
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showOverWorkDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
e
.
total_over_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
e
.
over_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
over_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
over_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
over_rate
)}}):
t
.
_e
()],
1
)])])])}),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"往期意向用户:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task3-table"
,
staticStyle
:{
width
:
"47%"
}},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
往期活跃用户数(近三天)
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
,
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
showTask5Detail
()}}},[
t
.
_v
(
t
.
_s
(
t
.
task5Detail
.
total
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
t
.
task5Detail
.
total_over_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
t
.
task5Detail
.
over_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
t
.
task5Detail
.
over_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
t
.
task5Detail
.
over_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
t
.
task5Detail
.
over_rate
)}}):
t
.
_e
()],
1
)])])])],
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"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\n
"
)])]}}])}),
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
:
"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
:{
"min-width"
:
"160"
,
label
:
"沟通情况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\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
)}},
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
:
"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
:{
"min-width"
:
"260"
,
label
:
"沟通情况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增话术记录
\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"
:
"400"
,
sortable
:
""
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
最后登录时间:"
+
t
.
_s
(
e
.
row
.
last_login_at
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
是否添加老师:"
+
t
.
_s
(
t
.
_f
(
"ADDTEACHER"
)(
e
.
row
.
is_add_teacher
))
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
用户意向等级:"
+
t
.
_s
(
e
.
row
.
weight
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100px"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
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
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\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
)]}}])})],
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
:
"记录事件"
}})],
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
,
_
=
a
(
"kmJW"
),
h
=
{
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
:[]},
v
=
f
;
var
m
=!
1
;
var
b
=
a
(
"VU/8"
)(
h
,
v
,
!
1
,
function
(
t
){
m
||
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
k
=
{
render
:
w
,
staticRenderFns
:[]},
C
=
k
;
var
x
=!
1
;
var
y
=
a
(
"VU/8"
)(
A
,
C
,
!
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
L
=
F
.
exports
,
T
=
a
(
"0qGg"
),
$
=
a
(
"CfzE"
),
z
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
_
.
a
,
task
:
u
,
UserList
:
T
.
a
,
chooseGoodDialog
:
$
.
a
,
couponDialog
:
D
,
refundDetail
:
L
,
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
N
=!
1
;
var
I
=
a
(
"VU/8"
)(
z
,
Y
,
!
1
,
function
(
t
){
N
||
(
a
(
"MeUK"
),
a
(
"Q5Z3"
))},
"data-v-67261a49"
,
null
);
I
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
index.vue"
;
e
.
default
=
I
.
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/6.68f7f483a23b5d1bba8c.js
0 → 100644
View file @
ecf10779
webpackJsonp
([
6
,
18
],{
"2/eB"
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"xCQ4"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
"rjj0"
)(
"10b2b452"
,
a
,
!
1
,{})},
"9PRC"
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"CCn6"
),
i
=
n
(
"kmJW"
),
o
=
n
(
"O6Rd"
),
l
=
n
(
"G2rA"
),
r
=
n
(
"kmsh"
),
s
=
n
(
"+TkF"
),
c
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
a
.
_67
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
}),
this
.
form
=
{
id
:
this
.
dialogObj
.
id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
?
this
.
dialogObj
.
teacher_id
:
""
}},
onSave
:
function
(){
var
e
=
this
,
t
=
{
teacher_id
:
this
.
form
.
teacher_id
?
this
.
form
.
teacher_id
:
0
};
Object
(
a
.
m
)(
this
.
form
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
dialogObj
.
show
=!
1
})}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
this
.
initPage
()}}},
d
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogObj
.
title
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"120px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
n
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
form
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"teacher_id"
,
t
)},
expression
:
"form.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
n
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSave
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)};
d
.
_withStripped
=!
0
;
var
u
=
{
render
:
d
,
staticRenderFns
:[]},
A
=
u
;
var
p
=!
1
;
var
_
=
n
(
"VU/8"
)(
c
,
A
,
!
1
,
function
(
e
){
p
||
n
(
"Ikhs"
)},
"data-v-44bd2f68"
,
null
);
_
.
options
.
__file
=
"src
\\
components
\\
userDetail
\\
dialog.vue"
;
var
h
=
_
.
exports
,
v
=
n
(
"0qGg"
),
f
=
{
name
:
"index"
,
data
:
function
(){
return
{
userList
:[],
total
:
0
,
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
tabs
:
"periods"
,
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
nowPage
:
1
,
limit
:
3
,
id
:
""
,
detail
:{},
periodList
:[],
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
list
:[],
userObj
:{
classId
:
""
,
title
:
""
,
show
:
!
1
},
privilegeDialog
:{
show
:
!
1
,
isAllowView
:
!
1
,
is_add_teacher
:
0
,
weight
:
0
,
id
:
""
},
descDialog
:{
show
:
!
1
,
descList
:[],
nowPage
:
1
,
limit
:
10
,
total
:
0
,
userInfo
:
null
},
lookDetail
:{
show
:
!
1
,
loading
:
!
1
,
list
:[],
nowPage
:
1
,
limit
:
10
,
total
:
0
},
isAddTeacherList
:[{
label
:
"暂未处理"
,
value
:
0
},{
label
:
"老师主动添加用户"
,
value
:
1
},{
label
:
"用户主动添加老师"
,
value
:
2
},{
label
:
"待通过"
,
value
:
3
},{
label
:
"手机号不是微信号"
,
value
:
4
},{
label
:
"用户已拒绝"
,
value
:
5
}]}},
components
:{
page
:
i
.
a
,
teacherDialog
:
h
,
UserList
:
v
.
a
,
refundDetail
:
l
.
a
,
sourceDialog
:
o
.
a
,
couponDialog
:
r
.
a
},
props
:[
"parentDetail"
],
mounted
:
function
(){
this
.
id
=
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
this
.
getDetail
()},
methods
:{
getUserLook
:
function
(){
var
e
=
this
;
if
(
this
.
lookDetail
.
data
){
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
t
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
},
n
=
this
.
lookDetail
.
data
;
Object
(
a
.
_114
)(
n
.
periods_id
,
n
.
user_id
,
t
).
then
(
function
(
t
){
e
.
lookDetail
.
list
=
t
.
list
,
e
.
lookDetail
.
loading
=!
1
,
e
.
lookDetail
.
total
=
t
.
total
})}},
onLookDetailPageChange
:
function
(
e
){
this
.
lookDetail
.
nowPage
=
e
,
this
.
getUserLook
()},
onLookDetailSizeChange
:
function
(
e
){
this
.
lookDetail
.
limit
=
e
,
this
.
lookDetail
.
nowPage
=
1
,
this
.
getUserLook
()},
onDescDialogPageChange
:
function
(
e
){
this
.
descDialog
.
nowPage
=
e
,
this
.
getUserDescList
()},
onDescDialogSizeChange
:
function
(
e
){
this
.
descDialog
.
limit
=
e
,
this
.
descDialog
.
nowPage
=
1
,
this
.
getUserDescList
()},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
out_trade_no
},
showCoupon
:
function
(
e
){
this
.
couponDetail
.
show
=!
0
,
this
.
couponDetail
.
order_coupon_id
=
e
.
order_coupon_id
},
showSource
:
function
(
e
){
this
.
sourceDialog
.
show
=!
0
,
this
.
sourceDialog
.
out_trade_no
=
e
.
out_trade_no
},
changeRow
:
function
(
e
,
t
){
var
n
=
this
;
this
.
list
=
[],
t
.
indexOf
(
e
)
>-
1
&&
Object
(
a
.
_50
)(
e
.
periods_id
).
then
(
function
(
t
){
e
.
arrive_course_rate
=
t
.
arrive_course_rate
,
e
.
watch_course_rate
=
t
.
watch_course_rate
,
e
.
over_course_rate
=
t
.
over_course_rate
,
e
.
work_rate
=
t
.
work_rate
,
e
.
over_work_rate
=
t
.
over_work_rate
,
e
.
clock_rate
=
t
.
clock_rate
,
e
.
over_clock_rate
=
t
.
over_clock_rate
,
e
.
transform_rate
=
t
.
transform_rate
,
n
.
list
=
[
e
]})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
user_id
:
this
.
id
,
limit
:
this
.
limit
,
page
:
this
.
nowPage
,
status
:
"1,4,5"
};
Object
(
a
.
_47
)(
t
).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
refundList
=
[]}),
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
})},
getDetail
:
function
(){
var
e
=
this
;
this
.
id
&&
Object
(
a
.
_70
)(
this
.
id
).
then
(
function
(
t
){
e
.
detail
=
t
,
t
.
periods_list
&&
(
e
.
periodList
=
t
.
periods_list
)})},
bindTeacher
:
function
(){
var
e
=
this
.
detail
;
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"绑定老师"
,
id
:
e
.
user_id
,
teacher_id
:
e
.
teacher_id
}},
showUser
:
function
(
e
){
this
.
userObj
=
{
classId
:
e
.
class_id
,
show
:
!
0
,
title
:
e
.
teacher_name
+
"班级用户列表"
,
teacherId
:
e
.
teacher_id
,
periods_id
:
e
.
periods_id
,
goods_id
:
e
.
goods_id
}},
editPrivilege
:
function
(
e
){
this
.
privilegeDialog
=
{
id
:
e
.
id
,
isAllowView
:
1
===
e
.
is_view_course
,
is_add_teacher
:
e
.
is_add_teacher
?
e
.
is_add_teacher
:
0
,
weight
:
e
.
weight
?
e
.
weight
:
0
,
show
:
!
0
}},
onGetUserDescList
:
function
(
e
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
userInfo
=
{
user_id
:
e
.
user_id
,
avatar
:
this
.
detail
.
avatar
,
nickname
:
this
.
detail
.
nickname
},
this
.
descDialog
.
id
=
e
.
id
,
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
descDialog
.
nowPage
,
limit
:
this
.
descDialog
.
limit
};
Object
(
a
.
_69
)(
this
.
descDialog
.
id
,
t
).
then
(
function
(
t
){
e
.
descDialog
.
descList
=
t
.
list
,
e
.
descDialog
.
total
=
t
.
total
})},
userLook
:
function
(
e
){
var
t
=
this
;
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
n
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
};
this
.
lookDetail
.
data
=
{
periods_id
:
e
.
periods_id
,
user_id
:
e
.
user_id
},
Object
(
a
.
_114
)(
e
.
periods_id
,
e
.
user_id
,
n
).
then
(
function
(
e
){
t
.
lookDetail
.
list
=
e
.
list
,
t
.
lookDetail
.
loading
=!
1
,
t
.
lookDetail
.
total
=
e
.
total
})},
editComment
:
function
(
e
){
var
t
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
n
){
var
i
=
n
.
value
;
Object
(
a
.
l
)(
e
,{
desc
:
i
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
t
.
getUserDescList
()})})},
changePrivilegeSub
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"此操作将修改用户权限?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
is_view_course
:
e
.
privilegeDialog
.
isAllowView
?
1
:
0
,
is_add_teacher
:
e
.
privilegeDialog
.
is_add_teacher
,
weight
:
e
.
privilegeDialog
.
weight
};
Object
(
a
.
_112
)(
e
.
privilegeDialog
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
privilegeDialog
.
show
=!
1
,
e
.
getDetail
()})})}},
filters
:{
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
s
.
j
[
e
]},
status
:
function
(
e
){
return
s
.
p
[
e
]},
buyType
:
function
(
e
){
return
s
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
},
percent
:
function
(
e
){
return
(
100
*
e
).
toFixed
(
2
)
+
"%"
}},
watch
:{
tabs
:
function
(
e
){
"order"
===
e
&&
this
.
getUser
()}}},
g
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"user"
},[
n
(
"el-card"
,{
staticClass
:
"user-card"
},[
n
(
"div"
,{
staticClass
:
"card-content"
},[
n
(
"div"
,{
staticClass
:
"text item"
},[
n
(
"a"
,{
attrs
:{
href
:
e
.
detail
.
avatar
,
target
:
"_blank"
}},[
n
(
"img"
,{
attrs
:{
src
:
e
.
detail
.
avatar
}})])]),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"text item"
},[
n
(
"div"
,[
n
(
"label"
,[
e
.
_v
(
"用户:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
nickname
)
+
" (ID: "
+
e
.
_s
(
e
.
id
)
+
")
\n
"
)]),
e
.
_v
(
" "
),
n
(
"div"
,[
n
(
"label"
,[
e
.
_v
(
"tel:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
mobile
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
n
(
"div"
,[
n
(
"label"
,[
e
.
_v
(
"生日:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
birthday
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
n
(
"div"
,[
n
(
"label"
,[
e
.
_v
(
"注册时间:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
created_at
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
n
(
"div"
,[
n
(
"label"
,[
e
.
_v
(
"最后登录:"
)]),
e
.
_v
(
e
.
_s
(
e
.
detail
.
last_login_at
)
+
"
\n
"
)])])])]),
e
.
_v
(
" "
),
n
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
},
model
:{
value
:
e
.
tabs
,
callback
:
function
(
t
){
e
.
tabs
=
t
},
expression
:
"tabs"
}},[
n
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
,
name
:
"periods"
}},[
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
periodList
},
on
:{
"expand-change"
:
e
.
changeRow
}},[
n
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
}},[
n
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
arrive_course_rate
)))])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
watch_course_rate
)))])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
over_course_rate
)))])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"作业率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
work_rate
)))])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"全勤作业率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
over_work_rate
)))])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
clock_rate
)))])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
over_clock_rate
)))])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"percent"
)(
t
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"router-link"
,{
attrs
:{
to
:{
name
:
"class"
,
query
:{
goods_id
:
t
.
row
.
goods_id
,
periods_id
:
t
.
row
.
periods_id
}}}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
periods_title
)
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
1
===
t
.
row
.
is_view_course
?
"是"
:
"否"
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"老师"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"router-link"
,{
attrs
:{
to
:
"/teacher/"
+
t
.
row
.
teacher_id
}},[
n
(
"div"
,{
staticClass
:
"f-c"
},[
n
(
"div"
,[
n
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
teacher_qr
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
teacher_name
)
+
"
\n
"
)])])])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"加入人数"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大加入人数"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开课时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"400px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
showUser
(
t
.
row
)}}},[
e
.
_v
(
" 班级成员"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"warning"
},
on
:{
click
:
function
(
n
){
e
.
editPrivilege
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
onGetUserDescList
(
t
.
row
)}}},[
e
.
_v
(
"备注"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
userLook
(
t
.
row
)}}},[
e
.
_v
(
"看课情况 "
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-tab-pane"
,{
attrs
:{
label
:
"订单列表"
,
name
:
"order"
}},[
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
n
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
width
:
"250"
,
prop
:
"invite_id"
,
className
:
"f-c"
,
label
:
"推广人属性"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
invite_earnings
>
0
&&
0
!==
t
.
row
.
invite_id
?
n
(
"div"
,{
staticStyle
:{
display
:
"flex"
,
color
:
"#409eff"
,
cursor
:
"pointer"
},
on
:{
click
:
function
(
n
){
e
.
showSource
(
t
.
row
)}}},[
n
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
"
\n
类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"
\n
"
),
n
(
"br"
),
e
.
_v
(
"
\n
收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
n
(
"br"
),
e
.
_v
(
"
\n
用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
n
(
"br"
),
e
.
_v
(
"
\n
昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
n
(
"br"
),
e
.
_v
(
"
\n
手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_earnings
&&
0
!==
t
.
row
.
invite_id
?
n
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
n
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
"
\n
类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"
\n
"
),
n
(
"br"
),
e
.
_v
(
"
\n
收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
n
(
"br"
),
e
.
_v
(
"
\n
用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
n
(
"br"
),
e
.
_v
(
"
\n
昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
n
(
"br"
),
e
.
_v
(
"
\n
手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_id
?
n
(
"div"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"优惠活动"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
===
t
.
row
.
order_coupon_id
?
n
(
"span"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
!==
t
.
row
.
order_coupon_id
?
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
e
.
showCoupon
(
t
.
row
)}}},[
e
.
_v
(
"
\n
优惠券
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
n
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
n
){
e
.
showRef
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
!==
t
.
row
.
status
&&
3
!==
t
.
row
.
status
?
n
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"实付金额"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"moneytFilter"
)(
t
.
row
.
money
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
user_address_id
&&
t
.
row
.
address_info
?
n
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
receive_name
)),
n
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
receive_mobile
)),
n
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
province_name
)
+
e
.
_s
(
t
.
row
.
address_info
.
city
)
+
e
.
_s
(
t
.
row
.
address_info
.
area
)
+
e
.
_s
(
t
.
row
.
address_info
.
address
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_at"
,
label
:
"购买时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"下单时间"
}})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"teacher-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
getDetail
}}),
e
.
_v
(
" "
),
n
(
"user-list"
,{
attrs
:{
userObj
:
e
.
userObj
}}),
e
.
_v
(
" "
),
n
(
"source-dialog"
,{
attrs
:{
dialogObj
:
e
.
sourceDialog
}}),
e
.
_v
(
" "
),
n
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
n
(
"coupon-dialog"
,{
attrs
:{
dialogObj
:
e
.
couponDetail
}}),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
e
.
privilegeDialog
.
show
,
title
:
"编辑权限"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
privilegeDialog
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"是否添加老师"
}},[
n
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
privilegeDialog
.
is_add_teacher
,
callback
:
function
(
t
){
e
.
$set
(
e
.
privilegeDialog
,
"is_add_teacher"
,
t
)},
expression
:
"privilegeDialog.is_add_teacher"
}},
e
.
_l
(
e
.
isAddTeacherList
,
function
(
e
,
t
){
return
n
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"看课权限"
}},[
n
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#13ce66"
,
"inactive-color"
:
"#ff4949"
},
model
:{
value
:
e
.
privilegeDialog
.
isAllowView
,
callback
:
function
(
t
){
e
.
$set
(
e
.
privilegeDialog
,
"isAllowView"
,
t
)},
expression
:
"privilegeDialog.isAllowView"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"意向等级"
}},[
n
(
"el-input-number"
,{
attrs
:{
min
:
0
,
step
:
1
},
model
:{
value
:
e
.
privilegeDialog
.
weight
,
callback
:
function
(
t
){
e
.
$set
(
e
.
privilegeDialog
,
"weight"
,
t
)},
expression
:
"privilegeDialog.weight"
}})],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
privilegeDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
changePrivilegeSub
()}}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
e
.
descDialog
.
show
,
title
:
"备注列表"
,
width
:
"60%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
descDialog
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
n
(
"el-form-item"
,[
n
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
editComment
(
e
.
descDialog
.
id
)}}},[
e
.
_v
(
"添加备注"
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
descDialog
.
descList
}},[
n
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
descDialog
.
userInfo
?[
n
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
descDialog
.
userInfo
.
avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
e
.
descDialog
.
userInfo
.
nickname
)
+
"(ID:"
+
e
.
_s
(
e
.
descDialog
.
userInfo
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"operator"
,
label
:
"备注人"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
nowPage
:
e
.
descDialog
.
nowPage
,
total
:
e
.
descDialog
.
total
,
limit
:
e
.
descDialog
.
limit
},
on
:{
pageChange
:
e
.
onDescDialogPageChange
,
sizeChange
:
e
.
onDescDialogSizeChange
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
e
.
lookDetail
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
lookDetail
,
"show"
,
t
)}}},[
n
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
lookDetail
.
loading
,
expression
:
"lookDetail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
lookDetail
.
list
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"日期"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈看一看"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
1
===
e
.
page_id
})?
n
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
1
===
e
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
1
===
e
.
page_id
})?
e
.
_e
():
n
(
"span"
,[
e
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"宝贝玩一玩"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
2
===
e
.
page_id
})?
n
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
2
===
e
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
2
===
e
.
page_id
})?
e
.
_e
():
n
(
"span"
,[
e
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"爸妈秀宝贝"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
3
===
e
.
page_id
})?
n
(
"span"
,[
n
(
"div"
,{
domProps
:{
innerHTML
:
e
.
_s
(
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
3
===
e
.
page_id
}).
learn_report
)}})]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
3
===
e
.
page_id
})?
e
.
_e
():
n
(
"span"
,[
e
.
_v
(
"
\n
暂未秀宝贝
\n
"
)])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"多元趣味课"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
5
===
e
.
page_id
})?
n
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
5
===
e
.
page_id
}).
stay_time
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
5
===
e
.
page_id
})?
e
.
_e
():
n
(
"span"
,[
e
.
_v
(
"
\n
暂未上课
\n
"
)])]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"分享"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
watch_list
&&
t
.
row
.
watch_list
.
length
>
0
&&
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
4
===
e
.
page_id
})?
n
(
"span"
,[
e
.
_v
(
"
\n
已分享
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
watch_list
.
find
(
function
(
e
){
return
4
===
e
.
page_id
})?
e
.
_e
():
n
(
"span"
,[
e
.
_v
(
"
\n
暂未分享
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
nowPage
:
e
.
lookDetail
.
nowPage
,
total
:
e
.
lookDetail
.
total
,
limit
:
e
.
lookDetail
.
limit
},
on
:{
pageChange
:
e
.
onLookDetailPageChange
,
sizeChange
:
e
.
onLookDetailSizeChange
}})],
1
)],
1
)};
g
.
_withStripped
=!
0
;
var
b
=
{
render
:
g
,
staticRenderFns
:[]},
m
=
b
;
var
w
=!
1
;
var
C
=
n
(
"VU/8"
)(
f
,
m
,
!
1
,
function
(
e
){
w
||
(
n
(
"xjRD"
),
n
(
"ivTY"
))},
"data-v-61122de2"
,
null
);
C
.
options
.
__file
=
"src
\\
components
\\
userDetail
\\
index.vue"
;
t
.
default
=
C
.
exports
},
AxoJ
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/userDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
Ikhs
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"UoYC"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
"rjj0"
)(
"15060f9d"
,
a
,
!
1
,{})},
"L+Pp"
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
'
\
n.search-btn-block[data-v-61122de2] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-61122de2] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-61122de2] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-61122de2] {
\
n float: right;
\
n}
\
n.text-c[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-61122de2] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-61122de2] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-61122de2] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-61122de2] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-61122de2] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-61122de2]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.user-card[data-v-61122de2] {
\
n margin: 10px;
\
n width: 600px;
\
n padding: 20px;
\
n}
\
n.user-card .text.item[data-v-61122de2] {
\
n line-height: 30px;
\
n}
\
n.user-card .card-content img[data-v-61122de2] {
\
n float: left;
\
n}
\
n.user-card label[data-v-61122de2] {
\
n color: #5982e6;
\
n width: 100px;
\
n display: inline-block;
\
n text-align: right;
\
n}
\
n.user-card .el-col[data-v-61122de2] {
\
n height: 30px;
\
n line-height: 30px;
\
n}
\
n.user-card .title[data-v-61122de2] {
\
n height: 50px;
\
n line-height: 60px;
\
n margin-bottom: 20px;
\
n}
\
n.user-card .title a[data-v-61122de2] {
\
n display: block;
\
n}
\
n.user-card .title a img[data-v-61122de2] {
\
n width: 80px;
\
n border-radius: 100px;
\
n}
\
n.avatar[data-v-61122de2] {
\
n width: 50px;
\
n height: 50px;
\
n border-radius: 50%;
\
n}
\
n.user[data-v-61122de2] {
\
n height: 100%;
\
n overflow: auto;
\
n /*padding: 20px 0;*/
\
n}
\
n.user .btn-content[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.header[data-v-61122de2] {
\
n padding: 0 20px;
\
n margin-bottom: 20px;
\
n}
\
n.header .el-row[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n color: #666;
\
n font-size: 16px;
\
n margin: 25px 0;
\
n}
\
n.header .el-row label[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.header .avatar[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.b-title[data-v-61122de2] {
\
n padding: 20px;
\
n color: #666;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/userDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,aAAa;EACb,aAAa;EACb,cAAc;CACf;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;CACb;AACD;EACE,eAAe;EACf,aAAa;EACb,sBAAsB;EACtB,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;CACrB;AACD;EACE,eAAe;CAChB;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,YAAY;EACZ,aAAa;EACb,mBAAmB;CACpB;AACD;EACE,aAAa;EACb,eAAe;EACf,oBAAoB;CACrB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,gBAAgB;EAChB,oBAAoB;CACrB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,YAAY;EACZ,gBAAgB;EAChB,eAAe;CAChB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,cAAc;EACd,YAAY;CACb"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-61122de2] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-61122de2] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-61122de2] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-61122de2] {
\
n float: right;
\
n}
\
n.text-c[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-61122de2] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-61122de2] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-61122de2] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-61122de2] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-61122de2] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-61122de2]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-61122de2]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.user-card[data-v-61122de2] {
\
n margin: 10px;
\
n width: 600px;
\
n padding: 20px;
\
n}
\
n.user-card .text.item[data-v-61122de2] {
\
n line-height: 30px;
\
n}
\
n.user-card .card-content img[data-v-61122de2] {
\
n float: left;
\
n}
\
n.user-card label[data-v-61122de2] {
\
n color: #5982e6;
\
n width: 100px;
\
n display: inline-block;
\
n text-align: right;
\
n}
\
n.user-card .el-col[data-v-61122de2] {
\
n height: 30px;
\
n line-height: 30px;
\
n}
\
n.user-card .title[data-v-61122de2] {
\
n height: 50px;
\
n line-height: 60px;
\
n margin-bottom: 20px;
\
n}
\
n.user-card .title a[data-v-61122de2] {
\
n display: block;
\
n}
\
n.user-card .title a img[data-v-61122de2] {
\
n width: 80px;
\
n border-radius: 100px;
\
n}
\
n.avatar[data-v-61122de2] {
\
n width: 50px;
\
n height: 50px;
\
n border-radius: 50%;
\
n}
\
n.user[data-v-61122de2] {
\
n height: 100%;
\
n overflow: auto;
\
n /*padding: 20px 0;*/
\
n}
\
n.user .btn-content[data-v-61122de2] {
\
n text-align: center;
\
n}
\
n.header[data-v-61122de2] {
\
n padding: 0 20px;
\
n margin-bottom: 20px;
\
n}
\
n.header .el-row[data-v-61122de2] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n color: #666;
\
n font-size: 16px;
\
n margin: 25px 0;
\
n}
\
n.header .el-row label[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.header .avatar[data-v-61122de2] {
\
n margin-right: 10px;
\
n}
\
n.b-title[data-v-61122de2] {
\
n padding: 20px;
\
n color: #666;
\
n}
\
n'
],
sourceRoot
:
""
}])},
UoYC
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
"
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"dialog.vue"
,
sourceRoot
:
""
}])},
VcN4
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
'
\
n.search-btn-block[data-v-601398f1] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-601398f1] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-601398f1] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-601398f1] {
\
n float: right;
\
n}
\
n.text-c[data-v-601398f1] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-601398f1] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-601398f1] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-601398f1] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-601398f1] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-601398f1] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-601398f1]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.avatar[data-v-601398f1] {
\
n width: 50px;
\
n margin-right: 5px;
\
n border-radius: 50%;
\
n height: 50px;
\
n}
\
n.user[data-v-601398f1] {
\
n height: 100%;
\
n overflow: auto;
\
n padding: 20px 0;
\
n}
\
n.user .btn-content[data-v-601398f1] {
\
n text-align: center;
\
n}
\
n.flexRow[data-v-601398f1] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-orient: horizontal;
\
n -webkit-box-direction: normal;
\
n -ms-flex-flow: row;
\
n flex-flow: row;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/user/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,mBAAmB;EACnB,aAAa;CACd;AACD;EACE,aAAa;EACb,eAAe;EACf,gBAAgB;CACjB;AACD;EACE,mBAAmB;CACpB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-601398f1] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-601398f1] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-601398f1] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-601398f1] {
\
n float: right;
\
n}
\
n.text-c[data-v-601398f1] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-601398f1] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-601398f1] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-601398f1] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-601398f1] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-601398f1] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-601398f1]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-601398f1]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.avatar[data-v-601398f1] {
\
n width: 50px;
\
n margin-right: 5px;
\
n border-radius: 50%;
\
n height: 50px;
\
n}
\
n.user[data-v-601398f1] {
\
n height: 100%;
\
n overflow: auto;
\
n padding: 20px 0;
\
n}
\
n.user .btn-content[data-v-601398f1] {
\
n text-align: center;
\
n}
\
n.flexRow[data-v-601398f1] {
\
n display: -webkit-box;
\
n display: -ms-flexbox;
\
n display: flex;
\
n -webkit-box-orient: horizontal;
\
n -webkit-box-direction: normal;
\
n -ms-flex-flow: row;
\
n flex-flow: row;
\
n -webkit-box-pack: start;
\
n -ms-flex-pack: start;
\
n justify-content: flex-start;
\
n -webkit-box-align: center;
\
n -ms-flex-align: center;
\
n align-items: center;
\
n}
\
n'
],
sourceRoot
:
""
}])},
WgP0
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.el-col[data-v-3ab294c2] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-3ab294c2] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-3ab294c2] {
\n
color: #5982e6;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/user/detail.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,eAAe;CAChB"
,
file
:
"detail.vue"
,
sourcesContent
:[
"
\n
.el-col[data-v-3ab294c2] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-3ab294c2] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-3ab294c2] {
\n
color: #5982e6;
\n
}
\n
"
],
sourceRoot
:
""
}])},
Yp3g
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"VcN4"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
"rjj0"
)(
"3d868bd9"
,
a
,
!
1
,{})},
b17n
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/user/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.f-c > div {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
eUH5
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"WgP0"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
"rjj0"
)(
"457b83a6"
,
a
,
!
1
,{})},
ivTY
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"AxoJ"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
"rjj0"
)(
"5aeada36"
,
a
,
!
1
,{})},
jFLA
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"CCn6"
),
i
=
n
(
"kmJW"
),
o
=
{
name
:
"detail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
userDetail
:{},
show
:
!
1
}},
methods
:{
getDetail
:
function
(){
var
e
=
this
;
this
.
dialogObj
.
id
&&
Object
(
a
.
_70
)(
this
.
dialogObj
.
id
).
then
(
function
(
t
){
e
.
userDetail
=
t
})},
initDialog
:
function
(){
this
.
getDetail
(),
this
.
show
=
this
.
dialogObj
.
show
}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
(
this
.
loading
=!
0
,
this
.
initDialog
())},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
l
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-dialog"
,{
attrs
:{
title
:
"用户详情"
,
center
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
n
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"头像"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
n
(
"img"
,{
attrs
:{
src
:
e
.
userDetail
.
avatar
}})]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"昵称"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
nickname
))])],
1
),
e
.
_v
(
" "
),
n
(
"el-row"
,[
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"手机号"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
mobile
))]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"用户ID"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
user_id
))])],
1
),
e
.
_v
(
" "
),
n
(
"el-row"
,[
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"生日"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
birthday
))]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"邀请类型"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
invite_type
))])],
1
),
e
.
_v
(
" "
),
n
(
"el-row"
,[
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"等级"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
level
))]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"邀请人ID"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
invite_user_id
))])],
1
),
e
.
_v
(
" "
),
n
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"邀请码"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
userDetail
.
invite_code
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"老师ID"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
userDetail
.
teacher_id
)
+
"
\n
"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-row"
,[
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"注册时间"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
created_at
))]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
4
}},[
n
(
"label"
,[
e
.
_v
(
"最后登录"
)])]),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
userDetail
.
last_login_at
))])],
1
)],
1
)};
l
.
_withStripped
=!
0
;
var
r
=
{
render
:
l
,
staticRenderFns
:[]},
s
=
r
;
var
c
=!
1
;
var
d
=
n
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
e
){
c
||
n
(
"eUH5"
)},
"data-v-3ab294c2"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
user
\\
detail.vue"
;
var
u
=
d
.
exports
,
A
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
a
.
_67
)().
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
}),
this
.
form
=
{
id
:
this
.
dialogObj
.
id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
?
this
.
dialogObj
.
teacher_id
:
""
}},
onSave
:
function
(){
var
e
=
this
,
t
=
{
teacher_id
:
this
.
form
.
teacher_id
?
this
.
form
.
teacher_id
:
0
};
Object
(
a
.
m
)(
this
.
form
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
dialogObj
.
show
=!
1
})}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
this
.
initPage
()}}},
p
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogObj
.
title
,
visible
:
e
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"120px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
n
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
form
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"teacher_id"
,
t
)},
expression
:
"form.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
n
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSave
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)};
p
.
_withStripped
=!
0
;
var
_
=
{
render
:
p
,
staticRenderFns
:[]},
h
=
_
;
var
v
=!
1
;
var
f
=
n
(
"VU/8"
)(
A
,
h
,
!
1
,
function
(
e
){
v
||
n
(
"2/eB"
)},
"data-v-25e92639"
,
null
);
f
.
options
.
__file
=
"src
\\
components
\\
user
\\
dialog.vue"
;
var
g
=
f
.
exports
,
b
=
n
(
"9PRC"
),
m
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
nickName
:
""
,
mobile
:
""
,
level
:
""
,
userId
:
""
},
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
showDetail
:
!
1
,
showId
:
""
,
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
dialogDetailObj
:{
show
:
!
1
,
id
:
""
},
loading
:
!
1
}},
components
:{
page
:
i
.
a
,
detailDialog
:
u
,
userDetail
:
b
.
default
,
teacherDialog
:
g
},
mounted
:
function
(){
this
.
getUser
()},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
userId
&&
(
t
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
level
&&
(
t
.
level
=
this
.
searchFrom
.
level
),
Object
(
a
.
_71
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
})},
detail
:
function
(
e
){
this
.
dialogDetailObj
=
{
show
:
!
0
,
id
:
e
.
user_id
}},
changeShow
:
function
(
e
){
this
.
dialogDetailObj
.
show
=
e
},
bindTeacher
:
function
(
e
){
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"绑定老师"
,
id
:
e
.
user_id
,
teacher_id
:
e
.
teacher_id
}},
goToDetail
:
function
(
e
){
this
.
dialogDetail
.
id
=
e
,
this
.
dialogDetail
.
show
=!
0
},
syncUser
:
function
(){
var
e
=
this
;
this
.
loading
=!
0
,
Object
(
a
.
_63
)().
then
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
({
showClose
:
!
0
,
message
:
"已更新"
+
t
+
"条用户数据"
,
type
:
"success"
})}).
catch
(
function
(){
e
.
loading
=!
1
})}}},
w
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"user"
},[
n
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
userId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"userId"
,
t
)},
expression
:
"searchFrom.userId"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
nickName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickName"
,
t
)},
expression
:
"searchFrom.nickName"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"等级"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
level
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"level"
,
t
)},
expression
:
"searchFrom.level"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"div"
,{
staticClass
:
"flexRow"
},[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
}},[
n
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"注册时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"last_login_at"
,
label
:
"最后登录时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
goToDetail
(
t
.
row
.
user_id
)}}},[
e
.
_v
(
"
\n
查看详情
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
n
(
"detail-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogDetailObj
},
on
:{
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
n
(
"teacher-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
getUser
}}),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
width
:
"90%"
,
top
:
"5vh"
,
visible
:
e
.
dialogDetail
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogDetail
,
"show"
,
t
)}}},[
e
.
dialogDetail
.
show
?
n
(
"div"
,[
n
(
"user-detail"
,{
attrs
:{
parentDetail
:
e
.
dialogDetail
}})],
1
):
e
.
_e
()])],
1
)};
w
.
_withStripped
=!
0
;
var
C
=
{
render
:
w
,
staticRenderFns
:[]},
x
=
C
;
var
k
=!
1
;
var
B
=
n
(
"VU/8"
)(
m
,
x
,
!
1
,
function
(
e
){
k
||
(
n
(
"Yp3g"
),
n
(
"ocVW"
))},
"data-v-601398f1"
,
null
);
B
.
options
.
__file
=
"src
\\
components
\\
user
\\
index.vue"
;
t
.
default
=
B
.
exports
},
ocVW
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"b17n"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
"rjj0"
)(
"7523f29a"
,
a
,
!
1
,{})},
xCQ4
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
"
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"dialog.vue"
,
sourceRoot
:
""
}])},
xjRD
:
function
(
e
,
t
,
n
){
var
a
=
n
(
"L+Pp"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
n
(
"rjj0"
)(
"b6267d16"
,
a
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/9.ea8c6e75895bb579d264.js
0 → 100644
View file @
ecf10779
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
i
=
a
(
"Qqyn"
);
"string"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"1e8fe874"
,
i
,
!
1
,{})},
MeUK
:
function
(
t
,
e
,
a
){
var
i
=
a
(
"8uEr"
);
"string"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"2bb22f96"
,
i
,
!
1
,{})},
OKSQ
:
function
(
t
,
e
,
a
){
var
i
=
a
(
"eTXT"
);
"string"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"627544e4"
,
i
,
!
1
,{})},
Q5Z3
:
function
(
t
,
e
,
a
){
var
i
=
a
(
"61rJ"
);
"string"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"56000f94"
,
i
,
!
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[data-v-ed74a444] .hightLight {
\
n background: #fffbe4;
\
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;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[data-v-ed74a444] .hightLight {
\
n background: #fffbe4;
\
n}
\
n'
],
sourceRoot
:
""
}])},
hFUZ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
n
=
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
,
total_over_num
:
0
,
over_rate
:
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
},
dialogType
:
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
,
n
){
var
s
=
this
,
l
=
{
is_true
:
e
,
is_watch
:
a
,
cur_date
:
n
};
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
=
n
,
this
.
task3Detail
.
type
=
1
,
this
.
dialogType
=
3
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" "
+
(
1
===
e
?
"已"
:
"未"
)
+
(
1
===
a
?
"看课"
:
"打卡"
)
+
"学员"
,
Object
(
i
.
_74
)(
t
.
periods_id
,
this
.
id
,
l
).
then
(
function
(
t
){
s
.
task3Detail
.
loading
=!
1
,
s
.
task3Detail
.
list
=
t
})},
showOverWorkDetail
:
function
(
t
){
var
e
=
this
;
this
.
task2Detail
.
show
=!
0
,
this
.
task2Detail
.
loading
=!
0
,
this
.
task2Detail
.
periods_id
=
t
.
periods_id
,
this
.
task2Detail
.
type
=
2
,
this
.
task2Detail
.
title
=
t
.
title
+
" 截止今日全勤学员"
,
this
.
dialogType
=
2
,
Object
(
i
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task2Detail
.
loading
=!
1
,
e
.
task2Detail
.
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
.
title
+
" 今日需要招回学员"
,
this
.
dialogType
=
3
,
Object
(
i
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
""
;
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
,
e
){
var
a
=
this
;
this
.
$prompt
(
""
,
"添加沟通话术"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
e
){
var
n
=
e
.
value
;
Object
(
i
.
l
)(
t
,{
desc
:
n
}).
then
(
function
(
t
){
switch
(
a
.
$message
({
type
:
"success"
,
message
:
"添加沟通话术成功"
}),
a
.
dialogType
){
case
1
:
a
.
refDesc1
();
break
;
case
2
:
a
.
refDesc2
();
break
;
case
3
:
a
.
refDesc3
();
break
;
case
4
:
a
.
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
&&
Object
(
i
.
_55
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
});
Object
(
i
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
})},
showTask5Detail
:
function
(){
this
.
task5Detail
.
show
=!
0
,
this
.
dialogType
=
4
},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
title
:
"意向等级为"
+
t
.
weight
+
"的用户列表"
,
weight
:
t
.
weight
},
this
.
task2Detail
.
type
=
1
},
showTask1Detail
:
function
(
t
,
e
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
e
?
t
.
done_detail
:
t
.
need_add_detail
,
title
:
e
?
t
.
cur_date
+
" 未通过用户列表"
:
t
.
cur_date
+
" 待加好友用户列表"
,
cur_date
:
t
.
cur_date
},
this
.
dialogType
=
1
},
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
.
need_add_detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
1
==
this
.
task2Detail
.
type
?
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
)})}):
2
==
this
.
task2Detail
.
type
&&
(
Object
(
i
.
_48
)(
this
.
task2Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task2Detail
.
loading
=!
1
,
t
.
task2Detail
.
list
=
e
}),
Object
(
i
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
}))},
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
n
=
a
.
value
;
Object
(
i
.
l
)(
t
.
id
,{
desc
:
n
}).
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
,
t
.
task5Detail
.
over_rate
=
e
.
over_rate
,
t
.
task5Detail
.
total_over_num
=
e
.
total_over_num
})},
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
()}},
filters
:{
ADDTEACHER
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"暂未处理"
:
1
===
t
?
e
=
"老师主动添加用户"
:
2
===
t
?
e
=
"用户主动添加老师"
:
3
===
t
?
e
=
"待通过"
:
4
===
t
?
e
=
"手机号不是微信号"
:
5
===
t
&&
(
e
=
"用户已拒绝"
),
e
}},
mounted
:
function
(){
this
.
initPage
()}}),
l
=
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
:
"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
:{
"class-name"
:
"hightLight"
,
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
staticStyle
:{
"font-size"
:
"20px"
},
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"完成情况"
,
align
:
"center"
,
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
(
"好友通过率:"
)]),
t
.
_v
(
" "
),
Number
(
e
.
row
.
add_rate
)
>=
70
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
add_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
row
.
add_rate
)
<
70
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
row
.
add_rate
)}}):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"任务处理率:"
)]),
t
.
_v
(
" "
),
100
==
Number
(
e
.
row
.
done_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
done_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
row
.
done_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
row
.
done_rate
)}}):
t
.
_e
()],
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
(
" "
),
!
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"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"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
1
===
i
.
is_start_course
?
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
.
_e
()}),
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
e
.
total_desc_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
e
.
desc_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
desc_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
desc_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
desc_rate
)}}):
t
.
_e
()],
1
)])],
2
)])})],
2
)],
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
(
"任务4:意向用户标记"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"本期意向用户:"
)]),
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"
,
staticStyle
:{
width
:
"47%"
}},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
,
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showOverWorkDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
e
.
total_over_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
e
.
over_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
over_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
over_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
over_rate
)}}):
t
.
_e
()],
1
)])])])}),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"往期意向用户:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task3-table"
,
staticStyle
:{
width
:
"47%"
}},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
往期活跃用户数(近三天)
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
,
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
showTask5Detail
()}}},[
t
.
_v
(
t
.
_s
(
t
.
task5Detail
.
total
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
t
.
task5Detail
.
total_over_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
t
.
task5Detail
.
over_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
t
.
task5Detail
.
over_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
t
.
task5Detail
.
over_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
t
.
task5Detail
.
over_rate
)}}):
t
.
_e
()],
1
)])])])],
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"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\n
"
)])]}}])}),
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
:
"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
:{
"min-width"
:
"160"
,
label
:
"沟通情况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\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
)}},
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
:
"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
:{
"min-width"
:
"260"
,
label
:
"沟通情况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增话术记录
\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"
:
"400"
,
sortable
:
""
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
最后登录时间:"
+
t
.
_s
(
e
.
row
.
last_login_at
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
是否添加老师:"
+
t
.
_s
(
t
.
_f
(
"ADDTEACHER"
)(
e
.
row
.
is_add_teacher
))
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
用户意向等级:"
+
t
.
_s
(
e
.
row
.
weight
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100px"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
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
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\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
)]}}])})],
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
:
"记录事件"
}})],
1
)],
1
)],
1
)};
l
.
_withStripped
=!
0
;
var
o
=
{
render
:
l
,
staticRenderFns
:[]},
r
=
o
;
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
_
=
d
.
exports
,
u
=
a
(
"kmJW"
),
h
=
{
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
()}}},
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
v
=
{
render
:
p
,
staticRenderFns
:[]},
f
=
v
;
var
b
=!
1
;
var
m
=
a
(
"VU/8"
)(
h
,
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
(
i
.
_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
:[]},
x
=
k
;
var
C
=!
1
;
var
y
=
a
(
"VU/8"
)(
w
,
x
,
!
1
,
function
(
t
){
C
||
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
(
i
.
_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
T
=
a
(
"VU/8"
)(
B
,
j
,
!
1
,
function
(
t
){
O
||
a
(
"rJ82"
)},
"data-v-4c863f42"
,
null
);
T
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
refundDetail.vue"
;
var
L
=
T
.
exports
,
z
=
a
(
"0qGg"
),
$
=
a
(
"CfzE"
),
N
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
u
.
a
,
task
:
_
,
UserList
:
z
.
a
,
chooseGoodDialog
:
$
.
a
,
couponDialog
:
D
,
refundDetail
:
L
,
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
:
n
.
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
n
=
e
.
value
;
a
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
_4
)(
t
,
"order"
,{
desc
:
n
}).
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
n
.
u
[
t
]},
percent
:
function
(
t
){
return
(
100
*
t
).
toFixed
(
2
)
+
"%"
},
status
:
function
(
t
){
return
n
.
p
[
t
]},
moneytFilter
:
function
(
t
){
return
t
/
100
+
"元"
},
filterGoods
:
function
(
t
){
return
"["
+
n
.
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
()}}},
F
=
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
)};
F
.
_withStripped
=!
0
;
var
P
=
{
render
:
F
,
staticRenderFns
:[]},
Y
=
P
;
var
I
=!
1
;
var
U
=
a
(
"VU/8"
)(
N
,
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
},
rJ82
:
function
(
t
,
e
,
a
){
var
i
=
a
(
"SWNE"
);
"string"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"7221ac08"
,
i
,
!
1
,{})},
utD1
:
function
(
t
,
e
,
a
){
var
i
=
a
(
"64hg"
);
"string"
==
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
a
(
"rjj0"
)(
"5dac314c"
,
i
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/manifest.aa704aa355582f65f7a8.js
0 → 100644
View file @
ecf10779
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
54
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"5e5d7da74e6e674a3fa1"
,
1
:
"13ecc92254166c2b45a6"
,
2
:
"f2a06db15d213b608870"
,
3
:
"8e361c2a04f653cdfca9"
,
4
:
"25316e7d3f0819488250"
,
5
:
"3f83b1af222f5a136eca"
,
6
:
"68f7f483a23b5d1bba8c"
,
7
:
"e6a2ceb4eb73ed1e620d"
,
8
:
"023571b9464c6de3c9c0"
,
9
:
"ea8c6e75895bb579d264"
,
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
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
ecf10779
<!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.
649e42b8f804356b3d1365999c021398.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.6eb1decd68285a7eb44c.js
></script><script
type=
text/javascript
src=
/static/js/vendor.dabb3afa5856b271bc7f.js
></script><script
type=
text/javascript
src=
/static/js/app.df24fa2fd23f8236e4fa
.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.
5a3e16f199192a998bd67aef9916d525.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.94a6b03c87ac3d23908a.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
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dist/static/css/app.5a3e16f199192a998bd67aef9916d525.css
0 → 100644
View file @
ecf10779
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/4.bd626d9b46d0196f4f3a.js
0 → 100644
View file @
ecf10779
webpackJsonp
([
4
,
9
],{
"2+Q2"
:
function
(
t
,
e
){},
KJ7d
:
function
(
t
,
e
){},
"MYx/"
:
function
(
t
,
e
){},
StCI
:
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
}}},
_
=
{
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
u
=
a
(
"VU/8"
)(
d
,
_
,
!
1
,
function
(
t
){
a
(
"2+Q2"
)},
"data-v-042c6ce3"
,
null
);
e
.
default
=
u
.
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
,
total_over_num
:
0
,
over_rate
:
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
},
dialogType
:
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
.
dialogType
=
3
,
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
.
task2Detail
.
show
=!
0
,
this
.
task2Detail
.
loading
=!
0
,
this
.
task2Detail
.
periods_id
=
t
.
periods_id
,
this
.
task2Detail
.
type
=
2
,
this
.
task2Detail
.
title
=
t
.
title
+
" 截止今日全勤学员"
,
this
.
dialogType
=
2
,
Object
(
i
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task2Detail
.
loading
=!
1
,
e
.
task2Detail
.
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
.
title
+
" 今日需要招回学员"
,
this
.
dialogType
=
3
,
Object
(
i
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
""
;
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
,
e
){
var
a
=
this
;
this
.
$prompt
(
""
,
"添加沟通话术"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
e
){
var
s
=
e
.
value
;
Object
(
i
.
l
)(
t
,{
desc
:
s
}).
then
(
function
(
t
){
switch
(
a
.
$message
({
type
:
"success"
,
message
:
"添加沟通话术成功"
}),
a
.
dialogType
){
case
1
:
a
.
refDesc1
();
break
;
case
2
:
a
.
refDesc2
();
break
;
case
3
:
a
.
refDesc3
();
break
;
case
4
:
a
.
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
&&
Object
(
i
.
_55
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
});
Object
(
i
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
})},
showTask5Detail
:
function
(){
this
.
task5Detail
.
show
=!
0
,
this
.
dialogType
=
4
},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
title
:
"意向等级为"
+
t
.
weight
+
"的用户列表"
,
weight
:
t
.
weight
},
this
.
task2Detail
.
type
=
1
},
showTask1Detail
:
function
(
t
,
e
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
e
?
t
.
done_detail
:
t
.
need_add_detail
,
title
:
e
?
t
.
cur_date
+
" 未通过用户列表"
:
t
.
cur_date
+
" 待加好友用户列表"
,
cur_date
:
t
.
cur_date
},
this
.
dialogType
=
1
},
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
.
need_add_detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
1
==
this
.
task2Detail
.
type
?
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
)})}):
2
==
this
.
task2Detail
.
type
&&
(
Object
(
i
.
_48
)(
this
.
task2Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task2Detail
.
loading
=!
1
,
t
.
task2Detail
.
list
=
e
}),
Object
(
i
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
}))},
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
,
t
.
task5Detail
.
over_rate
=
e
.
over_rate
,
t
.
task5Detail
.
total_over_num
=
e
.
total_over_num
})},
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
()}},
filters
:{
ADDTEACHER
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"暂未处理"
:
1
===
t
?
e
=
"老师主动添加用户"
:
2
===
t
?
e
=
"用户主动添加老师"
:
3
===
t
?
e
=
"待通过"
:
4
===
t
?
e
=
"手机号不是微信号"
:
5
===
t
&&
(
e
=
"用户已拒绝"
),
e
}},
mounted
:
function
(){
this
.
initPage
()}}),
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticStyle
:{
"font-size"
:
"14px"
}},[
a
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
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
:
"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
:{
"class-name"
:
"hightLight"
,
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
staticStyle
:{
"font-size"
:
"20px"
},
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"完成情况"
,
align
:
"center"
,
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
(
"好友通过率:"
)]),
t
.
_v
(
" "
),
Number
(
e
.
row
.
add_rate
)
>=
70
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
add_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
row
.
add_rate
)
<
70
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
row
.
add_rate
)}}):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"任务处理率:"
)]),
t
.
_v
(
" "
),
100
==
Number
(
e
.
row
.
done_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
done_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
row
.
done_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
row
.
done_rate
)}}):
t
.
_e
()],
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
(
" "
),
!
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"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"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
1
===
i
.
is_start_course
?
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
.
_e
()}),
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
e
.
total_desc_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
e
.
desc_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
desc_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
desc_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
desc_rate
)}}):
t
.
_e
()],
1
)])],
2
)])})],
2
)],
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
(
"任务4:意向用户标记"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"本期意向用户:"
)]),
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"
,
staticStyle
:{
width
:
"47%"
}},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
,
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showOverWorkDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
e
.
total_over_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
e
.
over_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
over_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
over_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
over_rate
)}}):
t
.
_e
()],
1
)])])])}),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"往期意向用户:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task3-table"
,
staticStyle
:{
width
:
"47%"
}},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
往期活跃用户数(近三天)
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
,
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
showTask5Detail
()}}},[
t
.
_v
(
t
.
_s
(
t
.
task5Detail
.
total
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
t
.
task5Detail
.
total_over_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
t
.
task5Detail
.
over_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
t
.
task5Detail
.
over_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
t
.
task5Detail
.
over_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
t
.
task5Detail
.
over_rate
)}}):
t
.
_e
()],
1
)])])])],
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"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\n
"
)])]}}])}),
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
:
"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
:{
"min-width"
:
"160"
,
label
:
"沟通情况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\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
)}},
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
:
"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
:{
"min-width"
:
"260"
,
label
:
"沟通情况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增话术记录
\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"
:
"400"
,
sortable
:
""
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
最后登录时间:"
+
t
.
_s
(
e
.
row
.
last_login_at
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
是否添加老师:"
+
t
.
_s
(
t
.
_f
(
"ADDTEACHER"
)(
e
.
row
.
is_add_teacher
))
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
用户意向等级:"
+
t
.
_s
(
e
.
row
.
weight
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100px"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
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
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\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
)]}}])})],
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
:
"记录事件"
}})],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
t
){
a
(
"StCI"
)},
"data-v-45ba9fee"
,
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
_
=
a
(
"VU/8"
)(
c
,
d
,
!
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
f
=
a
(
"VU/8"
)(
u
,
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
()}}},
v
=
{
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
m
=
a
(
"VU/8"
)(
p
,
v
,
!
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
:
m
,
sourceDialog
:
_
},
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/6.76c7113ae4e6239a0aec.js
0 → 100644
View file @
ecf10779
webpackJsonp
([
6
,
23
],{
"0slm"
:
function
(
t
,
e
){},
"9PRC"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
o
=
a
(
"kmJW"
),
l
=
a
(
"O6Rd"
),
s
=
a
(
"G2rA"
),
n
=
a
(
"kmsh"
),
r
=
a
(
"+TkF"
),
c
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
t
=
this
;
Object
(
i
.
_67
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
}),
this
.
form
=
{
id
:
this
.
dialogObj
.
id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
?
this
.
dialogObj
.
teacher_id
:
""
}},
onSave
:
function
(){
var
t
=
this
,
e
=
{
teacher_id
:
this
.
form
.
teacher_id
?
this
.
form
.
teacher_id
:
0
};
Object
(
i
.
m
)(
this
.
form
.
id
,
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
t
.
$emit
(
"reflash"
),
t
.
dialogObj
.
show
=!
1
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
t
&&
this
.
initPage
()}}},
_
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialogObj
.
title
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
teacher_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"teacher_id"
,
e
)},
expression
:
"form.teacher_id"
}},
t
.
_l
(
t
.
teacherList
,
function
(
t
,
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
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
d
=
a
(
"VU/8"
)(
c
,
_
,
!
1
,
function
(
t
){
a
(
"gDCL"
)},
"data-v-8f9b5700"
,
null
).
exports
,
u
=
a
(
"0qGg"
),
h
=
{
name
:
"index"
,
data
:
function
(){
return
{
userList
:[],
total
:
0
,
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
tabs
:
"periods"
,
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
nowPage
:
1
,
limit
:
3
,
id
:
""
,
detail
:{},
periodList
:[],
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
list
:[],
userObj
:{
classId
:
""
,
title
:
""
,
show
:
!
1
},
privilegeDialog
:{
show
:
!
1
,
isAllowView
:
!
1
,
is_add_teacher
:
0
,
weight
:
0
,
id
:
""
},
descDialog
:{
show
:
!
1
,
descList
:[],
nowPage
:
1
,
limit
:
10
,
total
:
0
,
userInfo
:
null
},
lookDetail
:{
show
:
!
1
,
loading
:
!
1
,
list
:[],
nowPage
:
1
,
limit
:
10
,
total
:
0
},
isAddTeacherList
:[{
label
:
"暂未处理"
,
value
:
0
},{
label
:
"老师主动添加用户"
,
value
:
1
},{
label
:
"用户主动添加老师"
,
value
:
2
},{
label
:
"待通过"
,
value
:
3
},{
label
:
"手机号不是微信号"
,
value
:
4
},{
label
:
"用户已拒绝"
,
value
:
5
}]}},
components
:{
page
:
o
.
a
,
teacherDialog
:
d
,
UserList
:
u
.
a
,
refundDetail
:
s
.
a
,
sourceDialog
:
l
.
a
,
couponDialog
:
n
.
a
},
props
:[
"parentDetail"
],
mounted
:
function
(){
this
.
id
=
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
this
.
getDetail
()},
methods
:{
getUserLook
:
function
(){
var
t
=
this
;
if
(
this
.
lookDetail
.
data
){
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
e
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
},
a
=
this
.
lookDetail
.
data
;
Object
(
i
.
_114
)(
a
.
periods_id
,
a
.
user_id
,
e
).
then
(
function
(
e
){
t
.
lookDetail
.
list
=
e
.
list
,
t
.
lookDetail
.
loading
=!
1
,
t
.
lookDetail
.
total
=
e
.
total
})}},
onLookDetailPageChange
:
function
(
t
){
this
.
lookDetail
.
nowPage
=
t
,
this
.
getUserLook
()},
onLookDetailSizeChange
:
function
(
t
){
this
.
lookDetail
.
limit
=
t
,
this
.
lookDetail
.
nowPage
=
1
,
this
.
getUserLook
()},
onDescDialogPageChange
:
function
(
t
){
this
.
descDialog
.
nowPage
=
t
,
this
.
getUserDescList
()},
onDescDialogSizeChange
:
function
(
t
){
this
.
descDialog
.
limit
=
t
,
this
.
descDialog
.
nowPage
=
1
,
this
.
getUserDescList
()},
showRef
:
function
(
t
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
t
.
out_trade_no
},
showCoupon
:
function
(
t
){
this
.
couponDetail
.
show
=!
0
,
this
.
couponDetail
.
order_coupon_id
=
t
.
order_coupon_id
},
showSource
:
function
(
t
){
this
.
sourceDialog
.
show
=!
0
,
this
.
sourceDialog
.
out_trade_no
=
t
.
out_trade_no
},
changeRow
:
function
(
t
,
e
){
var
a
=
this
;
this
.
list
=
[],
e
.
indexOf
(
t
)
>-
1
&&
Object
(
i
.
_50
)(
t
.
periods_id
).
then
(
function
(
e
){
t
.
arrive_course_rate
=
e
.
arrive_course_rate
,
t
.
watch_course_rate
=
e
.
watch_course_rate
,
t
.
over_course_rate
=
e
.
over_course_rate
,
t
.
work_rate
=
e
.
work_rate
,
t
.
over_work_rate
=
e
.
over_work_rate
,
t
.
clock_rate
=
e
.
clock_rate
,
t
.
over_clock_rate
=
e
.
over_clock_rate
,
t
.
transform_rate
=
e
.
transform_rate
,
a
.
list
=
[
t
]})},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getUser
()},
onSizeChange
:
function
(
t
){
this
.
nowPage
=
1
,
this
.
limit
=
t
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
user_id
:
this
.
id
,
limit
:
this
.
limit
,
page
:
this
.
nowPage
,
status
:
"1,4,5"
};
Object
(
i
.
_47
)(
e
).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
refundList
=
[]}),
t
.
userList
=
e
.
list
,
t
.
total
=
e
.
total
})},
getDetail
:
function
(){
var
t
=
this
;
this
.
id
&&
Object
(
i
.
_70
)(
this
.
id
).
then
(
function
(
e
){
t
.
detail
=
e
,
e
.
periods_list
&&
(
t
.
periodList
=
e
.
periods_list
)})},
bindTeacher
:
function
(){
var
t
=
this
.
detail
;
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"绑定老师"
,
id
:
t
.
user_id
,
teacher_id
:
t
.
teacher_id
}},
showUser
:
function
(
t
){
this
.
userObj
=
{
classId
:
t
.
class_id
,
show
:
!
0
,
title
:
t
.
teacher_name
+
"班级用户列表"
,
teacherId
:
t
.
teacher_id
,
periods_id
:
t
.
periods_id
,
goods_id
:
t
.
goods_id
}},
editPrivilege
:
function
(
t
){
this
.
privilegeDialog
=
{
id
:
t
.
id
,
isAllowView
:
1
===
t
.
is_view_course
,
is_add_teacher
:
t
.
is_add_teacher
?
t
.
is_add_teacher
:
0
,
weight
:
t
.
weight
?
t
.
weight
:
0
,
show
:
!
0
}},
onGetUserDescList
:
function
(
t
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
userInfo
=
{
user_id
:
t
.
user_id
,
avatar
:
this
.
detail
.
avatar
,
nickname
:
this
.
detail
.
nickname
},
this
.
descDialog
.
id
=
t
.
id
,
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
,
e
=
{
page
:
this
.
descDialog
.
nowPage
,
limit
:
this
.
descDialog
.
limit
};
Object
(
i
.
_69
)(
this
.
descDialog
.
id
,
e
).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
,
t
.
descDialog
.
total
=
e
.
total
})},
userLook
:
function
(
t
){
var
e
=
this
;
this
.
lookDetail
.
show
=!
0
,
this
.
lookDetail
.
loading
=!
0
;
var
a
=
{
limit
:
this
.
lookDetail
.
limit
,
page
:
this
.
lookDetail
.
nowPage
};
this
.
lookDetail
.
data
=
{
periods_id
:
t
.
periods_id
,
user_id
:
t
.
user_id
},
Object
(
i
.
_114
)(
t
.
periods_id
,
t
.
user_id
,
a
).
then
(
function
(
t
){
e
.
lookDetail
.
list
=
t
.
list
,
e
.
lookDetail
.
loading
=!
1
,
e
.
lookDetail
.
total
=
t
.
total
})},
editComment
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
a
){
var
o
=
a
.
value
;
Object
(
i
.
l
)(
t
,{
desc
:
o
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
()})})},
changePrivilegeSub
:
function
(){
var
t
=
this
;
this
.
$confirm
(
"此操作将修改用户权限?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
e
=
{
is_view_course
:
t
.
privilegeDialog
.
isAllowView
?
1
:
0
,
is_add_teacher
:
t
.
privilegeDialog
.
is_add_teacher
,
weight
:
t
.
privilegeDialog
.
weight
};
Object
(
i
.
_112
)(
t
.
privilegeDialog
.
id
,
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
privilegeDialog
.
show
=!
1
,
t
.
getDetail
()})})}},
filters
:{
payMentFilter
:
function
(
t
){
return
"1"
==
t
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
t
){
return
"1"
==
t
.
type
?
"正式课("
+
t
.
duration
+
"个月)"
:
"试听课("
+
t
.
duration
+
"天)"
},
inviteType
:
function
(
t
){
return
r
.
j
[
t
]},
status
:
function
(
t
){
return
r
.
p
[
t
]},
buyType
:
function
(
t
){
return
r
.
b
[
t
]},
moneytFilter
:
function
(
t
){
return
t
/
100
+
"元"
},
percent
:
function
(
t
){
return
(
100
*
t
).
toFixed
(
2
)
+
"%"
}},
watch
:{
tabs
:
function
(
t
){
"order"
===
t
&&
this
.
getUser
()}}},
v
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"user"
},[
a
(
"el-card"
,{
staticClass
:
"user-card"
},[
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
avatar
,
target
:
"_blank"
}},[
a
(
"img"
,{
attrs
:{
src
:
t
.
detail
.
avatar
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"div"
,[
a
(
"label"
,[
t
.
_v
(
"用户:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
nickname
)
+
" (ID: "
+
t
.
_s
(
t
.
id
)
+
")
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,[
t
.
_v
(
"tel:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
mobile
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,[
t
.
_v
(
"生日:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
birthday
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,[
t
.
_v
(
"注册时间:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
created_at
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,[
t
.
_v
(
"最后登录:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
last_login_at
)
+
"
\n
"
)])])])]),
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
:
"periods"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
periodList
},
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
:
t
.
list
}},[
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
:
"期数名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"router-link"
,{
attrs
:{
to
:{
name
:
"class"
,
query
:{
goods_id
:
e
.
row
.
goods_id
,
periods_id
:
e
.
row
.
periods_id
}}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
periods_title
)
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
1
===
e
.
row
.
is_view_course
?
"是"
:
"否"
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"老师"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"router-link"
,{
attrs
:{
to
:
"/teacher/"
+
e
.
row
.
teacher_id
}},[
a
(
"div"
,{
staticClass
:
"f-c"
},[
a
(
"div"
,[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
teacher_qr
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
teacher_name
)
+
"
\n
"
)])])])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"join_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
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"400px"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
showUser
(
e
.
row
)}}},[
t
.
_v
(
" 班级成员"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"warning"
},
on
:{
click
:
function
(
a
){
t
.
editPrivilege
(
e
.
row
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
onGetUserDescList
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
userLook
(
e
.
row
)}}},[
t
.
_v
(
"看课情况 "
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"订单列表"
,
name
:
"order"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
userList
}},[
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
)
+
")
\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
:{
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
)
+
"
\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
)
+
"
\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
:
"购买时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"下单时间"
}})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"teacher-dialog"
,{
attrs
:{
dialogObj
:
t
.
dialogObj
},
on
:{
reflash
:
t
.
getDetail
}}),
t
.
_v
(
" "
),
a
(
"user-list"
,{
attrs
:{
userObj
:
t
.
userObj
}}),
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
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
t
.
privilegeDialog
.
show
,
title
:
"编辑权限"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
privilegeDialog
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"是否添加老师"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
privilegeDialog
.
is_add_teacher
,
callback
:
function
(
e
){
t
.
$set
(
t
.
privilegeDialog
,
"is_add_teacher"
,
e
)},
expression
:
"privilegeDialog.is_add_teacher"
}},
t
.
_l
(
t
.
isAddTeacherList
,
function
(
t
,
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"看课权限"
}},[
a
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#13ce66"
,
"inactive-color"
:
"#ff4949"
},
model
:{
value
:
t
.
privilegeDialog
.
isAllowView
,
callback
:
function
(
e
){
t
.
$set
(
t
.
privilegeDialog
,
"isAllowView"
,
e
)},
expression
:
"privilegeDialog.isAllowView"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"意向等级"
}},[
a
(
"el-input-number"
,{
attrs
:{
min
:
0
,
step
:
1
},
model
:{
value
:
t
.
privilegeDialog
.
weight
,
callback
:
function
(
e
){
t
.
$set
(
t
.
privilegeDialog
,
"weight"
,
e
)},
expression
:
"privilegeDialog.weight"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
privilegeDialog
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
changePrivilegeSub
()}}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
t
.
descDialog
.
show
,
title
:
"备注列表"
,
width
:
"60%"
},
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
.
userInfo
?[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
descDialog
.
userInfo
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
t
.
descDialog
.
userInfo
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
descDialog
.
userInfo
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
t
.
_v
(
" "
),
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
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
t
.
descDialog
.
nowPage
,
total
:
t
.
descDialog
.
total
,
limit
:
t
.
descDialog
.
limit
},
on
:{
pageChange
:
t
.
onDescDialogPageChange
,
sizeChange
:
t
.
onDescDialogSizeChange
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
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
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
t
.
lookDetail
.
nowPage
,
total
:
t
.
lookDetail
.
total
,
limit
:
t
.
lookDetail
.
limit
},
on
:{
pageChange
:
t
.
onLookDetailPageChange
,
sizeChange
:
t
.
onLookDetailSizeChange
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
h
,
v
,
!
1
,
function
(
t
){
a
(
"Bplq"
),
a
(
"e6JM"
)},
"data-v-089ad623"
,
null
);
e
.
default
=
f
.
exports
},
BSFZ
:
function
(
t
,
e
){},
Bplq
:
function
(
t
,
e
){},
e6JM
:
function
(
t
,
e
){},
gDCL
:
function
(
t
,
e
){},
jFLA
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"CCn6"
),
o
=
a
(
"kmJW"
),
l
=
{
name
:
"detail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
userDetail
:{},
show
:
!
1
}},
methods
:{
getDetail
:
function
(){
var
t
=
this
;
this
.
dialogObj
.
id
&&
Object
(
i
.
_70
)(
this
.
dialogObj
.
id
).
then
(
function
(
e
){
t
.
userDetail
=
e
})},
initDialog
:
function
(){
this
.
getDetail
(),
this
.
show
=
this
.
dialogObj
.
show
}},
watch
:{
"dialogObj.show"
:
function
(
t
){
t
&&
(
this
.
loading
=!
0
,
this
.
initDialog
())},
show
:
function
(
t
){
this
.
$emit
(
"changeShow"
,
t
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"用户详情"
,
center
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"头像"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"img"
,{
attrs
:{
src
:
t
.
userDetail
.
avatar
}})]),
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
.
userDetail
.
nickname
))])],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"手机号"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
t
.
_s
(
t
.
userDetail
.
mobile
))]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"用户ID"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
t
.
_s
(
t
.
userDetail
.
user_id
))])],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"生日"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
t
.
_s
(
t
.
userDetail
.
birthday
))]),
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
.
userDetail
.
invite_type
))])],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"等级"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
t
.
_s
(
t
.
userDetail
.
level
))]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"邀请人ID"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
t
.
_s
(
t
.
userDetail
.
invite_user_id
))])],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"邀请码"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
userDetail
.
invite_code
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
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
.
userDetail
.
teacher_id
)
+
"
\n
"
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"注册时间"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
t
.
_s
(
t
.
userDetail
.
created_at
))]),
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
.
userDetail
.
last_login_at
))])],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
t
){
a
(
"m1Nz"
)},
"data-v-df4e0838"
,
null
).
exports
,
r
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
id
:
""
,
teacher_id
:
""
},
teacherList
:[]}},
methods
:{
initPage
:
function
(){
var
t
=
this
;
Object
(
i
.
_67
)().
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
}),
this
.
form
=
{
id
:
this
.
dialogObj
.
id
,
teacher_id
:
this
.
dialogObj
.
teacher_id
?
this
.
dialogObj
.
teacher_id
:
""
}},
onSave
:
function
(){
var
t
=
this
,
e
=
{
teacher_id
:
this
.
form
.
teacher_id
?
this
.
form
.
teacher_id
:
0
};
Object
(
i
.
m
)(
this
.
form
.
id
,
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
t
.
$emit
(
"reflash"
),
t
.
dialogObj
.
show
=!
1
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
t
&&
this
.
initPage
()}}},
c
=
{
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"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
teacher_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"teacher_id"
,
e
)},
expression
:
"form.teacher_id"
}},
t
.
_l
(
t
.
teacherList
,
function
(
t
,
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
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
_
=
a
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
t
){
a
(
"xJtu"
)},
"data-v-1712d2c2"
,
null
).
exports
,
d
=
a
(
"9PRC"
),
u
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
nickName
:
""
,
mobile
:
""
,
level
:
""
,
userId
:
""
},
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
showDetail
:
!
1
,
showId
:
""
,
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
dialogDetailObj
:{
show
:
!
1
,
id
:
""
},
loading
:
!
1
}},
components
:{
page
:
o
.
a
,
detailDialog
:
n
,
userDetail
:
d
.
default
,
teacherDialog
:
_
},
mounted
:
function
(){
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
=
{
page
:
this
.
nowPage
,
limit
:
this
.
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
),
this
.
searchFrom
.
level
&&
(
e
.
level
=
this
.
searchFrom
.
level
),
Object
(
i
.
_71
)(
e
).
then
(
function
(
e
){
t
.
userList
=
e
.
list
,
t
.
total
=
e
.
total
})},
detail
:
function
(
t
){
this
.
dialogDetailObj
=
{
show
:
!
0
,
id
:
t
.
user_id
}},
changeShow
:
function
(
t
){
this
.
dialogDetailObj
.
show
=
t
},
bindTeacher
:
function
(
t
){
this
.
dialogObj
=
{
show
:
!
0
,
title
:
"绑定老师"
,
id
:
t
.
user_id
,
teacher_id
:
t
.
teacher_id
}},
goToDetail
:
function
(
t
){
this
.
dialogDetail
.
id
=
t
,
this
.
dialogDetail
.
show
=!
0
},
syncUser
:
function
(){
var
t
=
this
;
this
.
loading
=!
0
,
Object
(
i
.
_63
)().
then
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
({
showClose
:
!
0
,
message
:
"已更新"
+
e
+
"条用户数据"
,
type
:
"success"
})}).
catch
(
function
(){
t
.
loading
=!
1
})}}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"user"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
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
),
t
.
_v
(
" "
),
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
),
t
.
_v
(
" "
),
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
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"等级"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
level
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"level"
,
e
)},
expression
:
"searchFrom.level"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getUser
}},[
t
.
_v
(
"搜索"
)])],
1
)])],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
userList
}},[
a
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
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
:
"手机号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"注册时间"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"last_login_at"
,
label
:
"最后登录时间"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
goToDetail
(
e
.
row
.
user_id
)}}},[
t
.
_v
(
"
\n
查看详情
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}}),
t
.
_v
(
" "
),
a
(
"detail-dialog"
,{
attrs
:{
dialogObj
:
t
.
dialogDetailObj
},
on
:{
changeShow
:
t
.
changeShow
}}),
t
.
_v
(
" "
),
a
(
"teacher-dialog"
,{
attrs
:{
dialogObj
:
t
.
dialogObj
},
on
:{
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
(
"user-detail"
,{
attrs
:{
parentDetail
:
t
.
dialogDetail
}})],
1
):
t
.
_e
()])],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
u
,
h
,
!
1
,
function
(
t
){
a
(
"BSFZ"
),
a
(
"0slm"
)},
"data-v-34f42b9c"
,
null
);
e
.
default
=
v
.
exports
},
m1Nz
:
function
(
t
,
e
){},
xJtu
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/9.2553d8f7fe6bc6791599.js
0 → 100644
View file @
ecf10779
webpackJsonp
([
9
],{
KJ7d
:
function
(
t
,
e
){},
"MYx/"
:
function
(
t
,
e
){},
StCI
:
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
,
total_over_num
:
0
,
over_rate
:
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
},
dialogType
:
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
.
dialogType
=
3
,
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
.
task2Detail
.
show
=!
0
,
this
.
task2Detail
.
loading
=!
0
,
this
.
task2Detail
.
periods_id
=
t
.
periods_id
,
this
.
task2Detail
.
type
=
2
,
this
.
task2Detail
.
title
=
t
.
title
+
" 截止今日全勤学员"
,
this
.
dialogType
=
2
,
Object
(
i
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task2Detail
.
loading
=!
1
,
e
.
task2Detail
.
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
.
title
+
" 今日需要招回学员"
,
this
.
dialogType
=
3
,
Object
(
i
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
""
;
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
,
e
){
var
a
=
this
;
this
.
$prompt
(
""
,
"添加沟通话术"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
e
){
var
s
=
e
.
value
;
Object
(
i
.
l
)(
t
,{
desc
:
s
}).
then
(
function
(
t
){
switch
(
a
.
$message
({
type
:
"success"
,
message
:
"添加沟通话术成功"
}),
a
.
dialogType
){
case
1
:
a
.
refDesc1
();
break
;
case
2
:
a
.
refDesc2
();
break
;
case
3
:
a
.
refDesc3
();
break
;
case
4
:
a
.
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
&&
Object
(
i
.
_55
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
});
Object
(
i
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
})},
showTask5Detail
:
function
(){
this
.
task5Detail
.
show
=!
0
,
this
.
dialogType
=
4
},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
title
:
"意向等级为"
+
t
.
weight
+
"的用户列表"
,
weight
:
t
.
weight
},
this
.
task2Detail
.
type
=
1
},
showTask1Detail
:
function
(
t
,
e
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
e
?
t
.
done_detail
:
t
.
need_add_detail
,
title
:
e
?
t
.
cur_date
+
" 未通过用户列表"
:
t
.
cur_date
+
" 待加好友用户列表"
,
cur_date
:
t
.
cur_date
},
this
.
dialogType
=
1
},
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
.
need_add_detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
1
==
this
.
task2Detail
.
type
?
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
)})}):
2
==
this
.
task2Detail
.
type
&&
(
Object
(
i
.
_48
)(
this
.
task2Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task2Detail
.
loading
=!
1
,
t
.
task2Detail
.
list
=
e
}),
Object
(
i
.
_97
)(
this
.
id
).
then
(
function
(
e
){
t
.
task3List
=
e
}))},
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
,
t
.
task5Detail
.
over_rate
=
e
.
over_rate
,
t
.
task5Detail
.
total_over_num
=
e
.
total_over_num
})},
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
()}},
filters
:{
ADDTEACHER
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"暂未处理"
:
1
===
t
?
e
=
"老师主动添加用户"
:
2
===
t
?
e
=
"用户主动添加老师"
:
3
===
t
?
e
=
"待通过"
:
4
===
t
?
e
=
"手机号不是微信号"
:
5
===
t
&&
(
e
=
"用户已拒绝"
),
e
}},
mounted
:
function
(){
this
.
initPage
()}}),
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticStyle
:{
"font-size"
:
"14px"
}},[
a
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
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
:
"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
:{
"class-name"
:
"hightLight"
,
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
staticStyle
:{
"font-size"
:
"20px"
},
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"完成情况"
,
align
:
"center"
,
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
(
"好友通过率:"
)]),
t
.
_v
(
" "
),
Number
(
e
.
row
.
add_rate
)
>=
70
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
add_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
row
.
add_rate
)
<
70
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
row
.
add_rate
)}}):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"label"
,{
staticStyle
:{
width
:
"90px"
,
display
:
"inline-block"
,
"text-align"
:
"right"
}},[
t
.
_v
(
"任务处理率:"
)]),
t
.
_v
(
" "
),
100
==
Number
(
e
.
row
.
done_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
row
.
done_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
row
.
done_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
row
.
done_rate
)}}):
t
.
_e
()],
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
(
" "
),
!
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"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"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
1
===
i
.
is_start_course
?
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
.
_e
()}),
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
e
.
total_desc_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
e
.
desc_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
desc_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
desc_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
desc_rate
)}}):
t
.
_e
()],
1
)])],
2
)])})],
2
)],
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
(
"任务4:意向用户标记"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"本期意向用户:"
)]),
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"
,
staticStyle
:{
width
:
"47%"
}},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
,
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showOverWorkDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
e
.
total_over_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
e
.
over_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
over_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
e
.
over_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
e
.
over_rate
)}}):
t
.
_e
()],
1
)])])])}),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"往期意向用户:"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task3-table"
,
staticStyle
:{
width
:
"47%"
}},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
,
staticStyle
:{
width
:
"8%"
}},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
往期活跃用户数(近三天)
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
,
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
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
showTask5Detail
()}}},[
t
.
_v
(
t
.
_s
(
t
.
task5Detail
.
total
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall_process"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"完成情况"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"已沟通:"
+
t
.
_s
(
t
.
task5Detail
.
total_over_num
)
+
"人"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
"text-align"
:
"left"
,
"margin-left"
:
"20px"
}},[
t
.
_v
(
"任务处理率:
\n
"
),
100
==
Number
(
t
.
task5Detail
.
over_rate
)?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
t
.
task5Detail
.
over_rate
)}}):
t
.
_e
(),
t
.
_v
(
" "
),
Number
(
t
.
task5Detail
.
over_rate
)
<
100
?
a
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"120px"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#f00"
,
percentage
:
Number
(
t
.
task5Detail
.
over_rate
)}}):
t
.
_e
()],
1
)])])])],
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"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\n
"
)])]}}])}),
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
:
"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
:{
"min-width"
:
"160"
,
label
:
"沟通情况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\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
)}},
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
:
"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
:{
"min-width"
:
"260"
,
label
:
"沟通情况"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增话术记录
\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"
:
"400"
,
sortable
:
""
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
最后登录时间:"
+
t
.
_s
(
e
.
row
.
last_login_at
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
是否添加老师:"
+
t
.
_s
(
t
.
_f
(
"ADDTEACHER"
)(
e
.
row
.
is_add_teacher
))
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
"
\n
用户意向等级:"
+
t
.
_s
(
e
.
row
.
weight
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100px"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
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
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
""
!==
e
.
row
.
desc
?
a
(
"span"
,[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
""
==
e
.
row
.
desc
?
a
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
t
.
_v
(
"今日未沟通"
)]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
!
0
)}}},[
t
.
_v
(
"
\n
新增沟通记录
\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
)]}}])})],
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
:
"记录事件"
}})],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
o
,
!
1
,
function
(
t
){
a
(
"StCI"
)},
"data-v-45ba9fee"
,
null
).
exports
,
r
=
a
(
"kmJW"
),
c
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
moneyYuan
:
function
(
t
){
return
t
?(
t
/
100
).
toFixed
(
2
)
+
"元"
:
""
},
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"审核中"
:
1
===
t
?
e
=
"提现成功"
:
2
===
t
&&
(
e
=
"提现失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
i
.
_76
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
_
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"提现详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"withdraw_no"
,
label
:
"提现单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
width
:
"200"
,
className
:
"f-c"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_mobile"
,
label
:
"手机号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
money
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
e
.
row
.
status
,
green
:
1
===
e
.
row
.
status
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现成功时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
success_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"reason"
,
label
:
"失败原因"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
c
,
_
,
!
1
,
function
(
t
){
a
(
"MYx/"
)},
"data-v-334fc0ab"
,
null
).
exports
,
u
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"未使用"
:
1
===
t
?
e
=
"已使用"
:
2
===
t
&&
(
e
=
"禁用"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
order_coupon_id
:
this
.
dialogObj
.
order_coupon_id
,
limit
:
200
};
Object
(
i
.
_31
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"优惠券详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"coupon_no"
,
label
:
"优惠券码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠券金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"使用状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
}})],
1
)],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
u
,
h
,
!
1
,
function
(
t
){
a
(
"WpiT"
)},
"data-v-3145d719"
,
null
).
exports
,
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
()}}},
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"
)(
p
,
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
:
v
,
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
y
=
a
(
"VU/8"
)(
g
,
k
,
!
1
,
function
(
t
){
a
(
"KJ7d"
),
a
(
"f2ga"
)},
"data-v-5016a5fa"
,
null
);
e
.
default
=
y
.
exports
},
qteX
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/manifest.94a6b03c87ac3d23908a.js
0 → 100644
View file @
ecf10779
!
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
:
"32c15c72e8c0cda0d5c3"
,
1
:
"70bc42dbc1ffaed57988"
,
2
:
"8d64c4f32108e29e828a"
,
3
:
"978935e0bda98b392cfa"
,
4
:
"bd626d9b46d0196f4f3a"
,
5
:
"0770f442fbcafb9fbb6b"
,
6
:
"76c7113ae4e6239a0aec"
,
7
:
"69cc8a98c5f0ac765ad5"
,
8
:
"6b85590bd82a07e234d1"
,
9
:
"2553d8f7fe6bc6791599"
,
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
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
src/components/user/index.vue
View file @
ecf10779
...
...
@@ -16,7 +16,7 @@
<el-form-item>
<div
class=
"flexRow"
>
<el-button
type=
"primary"
plain
@
click=
"getUser"
>
搜索
</el-button>
<
el-button
type=
"success"
plain
@
click=
"syncUser"
>
同步最新数据
</el-button
>
<
!--
<el-button
type=
"success"
plain
@
click=
"syncUser"
>
同步最新数据
</el-button>
--
>
</div>
</el-form-item>
</el-form>
...
...
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