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
6dd2039b
Commit
6dd2039b
authored
Jan 31, 2019
by
青山
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试环境
parent
dc4d6ca9
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
46 additions
and
28 deletions
+46
-28
index.js
config/index.js
+2
-2
index.html
dev/index.html
+1
-1
3.6694ba874a5220f39f37.js
dev/static/js/3.6694ba874a5220f39f37.js
+1
-0
3.8cb1730e0b21b5edc0b8.js
dev/static/js/3.8cb1730e0b21b5edc0b8.js
+1
-0
9.30c7f2a691896ab85fe7.js
dev/static/js/9.30c7f2a691896ab85fe7.js
+1
-0
9.dc2867c72ebe998cae5d.js
dev/static/js/9.dc2867c72ebe998cae5d.js
+1
-0
manifest.37a2c22f6d7341ea6070.js
dev/static/js/manifest.37a2c22f6d7341ea6070.js
+1
-0
manifest.a4f3974bc94a2956ea3e.js
dev/static/js/manifest.a4f3974bc94a2956ea3e.js
+1
-0
task.vue
src/components/teacherDetail/task.vue
+37
-25
No files found.
config/index.js
View file @
6dd2039b
...
@@ -12,8 +12,8 @@ module.exports = {
...
@@ -12,8 +12,8 @@ module.exports = {
//本地代理设置
//本地代理设置
proxyTable
:
{
proxyTable
:
{
'/api'
:
{
'/api'
:
{
//
target: 'http://local.base-api.sing.com', // 接口的域名
target
:
'http://local.base-api.sing.com'
,
// 接口的域名
target
:
'https://wechat-test.changchangenglish.com/'
,
//
target: 'https://wechat-test.changchangenglish.com/',
changeOrigin
:
true
,
// 如果接口跨域,需要进行这个参数配置
changeOrigin
:
true
,
// 如果接口跨域,需要进行这个参数配置
}
}
},
},
...
...
dev/index.html
View file @
6dd2039b
<!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.
55ee38cfba464dc26196
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.19b07206259747695190.js
></script><script
type=
text/javascript
src=
/static/js/app.f5e327ad14a3105ad01b.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.
a4f3974bc94a2956ea3e
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.19b07206259747695190.js
></script><script
type=
text/javascript
src=
/static/js/app.f5e327ad14a3105ad01b.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dev/static/js/3.6694ba874a5220f39f37.js
0 → 100644
View file @
6dd2039b
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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
.
_111
)({
file
:
t
.
file
,
type
:
"all"
}).
then
(
function
(
t
){
e
.
form
.
media_id
=
t
.
wechat_info
?
t
.
wechat_info
.
media_id
:
""
,
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
uploadShow
=!
1
,
e
.
loading
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
e
.
loading
=!
1
})},
initDialog
:
function
(){
var
t
=
this
;
switch
(
this
.
dialogObj
.
type
){
case
0
:
this
.
title
=
"新增教师"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
type
=
0
,
this
.
form
.
name
=
""
,
this
.
form
.
alias
=
""
,
this
.
form
.
qr
=
""
,
this
.
form
.
squad
=
""
,
this
.
form
.
type
=
0
,
this
.
form
.
status
=
0
,
this
.
imageList
=
[],
this
.
loading
=!
1
,
this
.
uploadShow
=!
0
,
this
.
form
.
media_id
=
""
;
break
;
case
1
:
this
.
title
=
"教师详情"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
id
=
this
.
dialogObj
.
id
,
this
.
type
=
1
,
Object
(
n
.
_66
)(
this
.
id
).
then
(
function
(
e
){
t
.
teacherDetail
=
e
,
t
.
loading
=!
1
});
break
;
case
2
:
this
.
title
=
"编辑"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
id
=
this
.
dialogObj
.
id
,
this
.
type
=
2
,
Object
(
n
.
_66
)(
this
.
id
).
then
(
function
(
e
){
t
.
form
.
name
=
e
.
name
,
t
.
form
.
squad
=
e
.
squad
,
t
.
form
.
alias
=
e
.
alias
,
t
.
form
.
qr
=
e
.
qr
,
t
.
form
.
type
=
e
.
type
,
t
.
form
.
status
=
e
.
status
,
t
.
form
.
media_id
=
e
.
media_id
?
e
.
media_id
:
""
,
t
.
imageList
=
[{
name
:
e
.
qr
,
url
:
e
.
qr
}],
t
.
uploadShow
=!
e
.
qr
,
t
.
loading
=!
1
})}}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
loading
=!
0
,
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
t
){
this
.
$emit
(
"changeShow"
,
t
)}}},
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
show
=
e
}}},[
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}]},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
rules
:
t
.
rules
}},[
1
===
t
.
type
?
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"ID"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
teacherDetail
.
id
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"创建时间"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
created_at
))])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"昵称"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
name
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,{
attrs
:{
prop
:
"name"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"name"
,
e
)},
expression
:
"form.name"
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"微信号"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
alias
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
alias
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"alias"
,
e
)},
expression
:
"form.alias"
}})],
1
):
t
.
_e
()],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"状态"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
status
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"status"
,
e
)},
expression
:
"form.status"
}},
t
.
_l
(
t
.
statusOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"类型"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
type
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"type"
,
e
)},
expression
:
"form.type"
}},
t
.
_l
(
t
.
typeOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
):
t
.
_e
()],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"二维码"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"img"
,{
staticClass
:
"qr-img"
,
attrs
:{
src
:
t
.
teacherDetail
.
qr
}}):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-upload"
,{
class
:{
disabled
:
!
t
.
uploadShow
},
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
t
.
uploadFile
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"list-type"
:
"picture-card"
,
"file-list"
:
t
.
imageList
,
"on-success"
:
t
.
handleAvatarSuccess
,
"on-remove"
:
t
.
handleRemove
}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
1
===
t
.
type
?[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"邀请码"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
invite_code
))]):
t
.
_e
()])]:
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"分组"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
squad
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"squad"
,
e
)},
expression
:
"form.squad"
}},
t
.
_l
(
10
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
"T"
+
t
,
value
:
t
}})}))],
1
)],
2
)],
1
),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
sub
}},[
t
.
_v
(
"确 定"
)])],
1
):
t
.
_e
()],
1
)])};
r
.
_withStripped
=!
0
;
var
c
=
{
render
:
r
,
staticRenderFns
:[]},
d
=
c
;
var
u
=!
1
;
var
h
=
a
(
"VU/8"
)(
l
,
d
,
!
1
,
function
(
t
){
u
||
(
a
(
"toRX"
),
a
(
"BnRR"
))},
"data-v-4f62551c"
,
null
);
h
.
options
.
__file
=
"src
\\
components
\\
teacher
\\
dialog.vue"
;
var
_
=
h
.
exports
,
p
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
name
:
""
,
alias
:
""
,
squad
:
""
,
type
:
""
},
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
dialogObj
:{
type
:
0
,
show
:
!
1
,
id
:
""
},
dialogDetailObj
:{
show
:
!
1
,
title
:
"班级列表"
,
id
:
""
},
teacherTypeOption
:[{
id
:
0
,
label
:
"老师"
},{
id
:
1
,
label
:
"新星妈妈"
},{
id
:
2
,
label
:
"推广人"
},{
id
:
3
,
label
:
"市场"
}]}},
components
:{
Dialog
:
a
(
"g5CC"
).
a
,
page
:
s
.
a
,
dialogCom
:
_
,
teacherDetail
:
o
.
default
},
filters
:{
teacherType
:
function
(
t
){
return
i
.
u
[
t
]}},
mounted
:
function
(){
var
t
=
localStorage
.
getItem
(
"phoneNum"
);
t
?(
t
=
JSON
.
parse
(
t
),
this
.
$router
.
push
(
"/teacher/"
+
t
.
id
)):
this
.
getUser
()},
methods
:{
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getUser
()},
onSizeChange
:
function
(
t
){
this
.
limit
=
t
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};(
this
.
searchFrom
.
type
||
0
===
this
.
searchFrom
.
type
)
&&
(
e
.
type
=
this
.
searchFrom
.
type
),
this
.
searchFrom
.
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
:
"分组"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getUser
},
model
:{
value
:
t
.
searchFrom
.
squad
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"squad"
,
e
)},
expression
:
"searchFrom.squad"
}},
t
.
_l
(
10
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
"T"
+
t
,
value
:
t
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"教师类型"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getUser
},
model
:{
value
:
t
.
searchFrom
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"type"
,
e
)},
expression
:
"searchFrom.type"
}},
t
.
_l
(
t
.
teacherTypeOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getUser
}},[
t
.
_v
(
"搜索"
)])],
1
),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
t
.
add
}},[
t
.
_v
(
"新增教师"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
userList
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"alias"
,
label
:
"微信号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
0
===
e
.
row
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"二维码"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"a"
,{
attrs
:{
href
:
t
.
row
.
qr
}},[
a
(
"img"
,{
staticClass
:
"shortcut"
,
attrs
:{
src
:
t
.
row
.
qr
}})])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
T"
+
t
.
_s
(
e
.
row
.
squad
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"类别"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"teacherType"
)(
e
.
row
.
type
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"280"
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
goToTeacherDetail
(
e
.
row
)}}},[
t
.
_v
(
"
\n
查看详情
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"warning"
},
on
:{
click
:
function
(
a
){
t
.
edit
(
e
.
row
)}}},[
t
.
_v
(
"
\n
编辑
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
deletePermission
&&!
t
.
$store
.
state
.
readonly
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
a
){
t
.
delTeacher
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}}),
t
.
_v
(
" "
),
a
(
"dialog-com"
,{
attrs
:{
dialogObj
:
t
.
dialogObj
},
on
:{
changeShow
:
t
.
changeShow
,
reflash
:
t
.
getUser
}}),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
width
:
"90%"
,
top
:
"5vh"
,
visible
:
t
.
dialogDetail
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogDetail
,
"show"
,
e
)}}},[
t
.
dialogDetail
.
show
?
a
(
"div"
,[
a
(
"teacher-detail"
,{
attrs
:{
parentDetail
:
t
.
dialogDetail
}})],
1
):
t
.
_e
()])],
1
)};
f
.
_withStripped
=!
0
;
var
m
=
{
render
:
f
,
staticRenderFns
:[]},
v
=
m
;
var
b
=!
1
;
var
g
=
a
(
"VU/8"
)(
p
,
v
,
!
1
,
function
(
t
){
b
||
a
(
"0zIk"
)},
"data-v-4d0e9e98"
,
null
);
g
.
options
.
__file
=
"src
\\
components
\\
teacher
\\
index.vue"
;
e
.
default
=
g
.
exports
},
eTXT
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"E:/cyan/h5-project/new-admin/src/components/teacherDetail/task.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,cAAc;EACd,eAAe;CAChB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,cAAc;EACd,YAAY;EACZ,mBAAmB;EACnB,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,QAAQ;EACR,OAAO;EACP,aAAa;EACb,iCAAiC;EACjC,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,kBAAkB;EAClB,iCAAiC;EACjC,oBAAoB;CACrB;AACD;EACE,oBAAoB;CACrB"
,
file
:
"task.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
],
sourceRoot
:
""
}])},
g5CC
:
function
(
t
,
e
,
a
){
"use strict"
;
var
n
=
a
(
"CCn6"
),
i
=
a
(
"+TkF"
),
s
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
teacher_id
:
""
,
max_join_num
:
""
,
class_name
:
""
},
teacherList
:[],
exitTeacherList
:[],
goodsList
:[],
periods
:{}}},
methods
:{
findDifferentArray
:
function
(
t
,
e
){
var
a
=
[];
return
t
.
forEach
(
function
(
t
){
-
1
===
e
.
findIndex
(
function
(
e
){
return
e
.
teacher_id
===
t
.
id
})
&&
a
.
push
(
t
)}),
a
},
getTeacher
:
function
(){
var
t
=
this
;
Object
(
n
.
_67
)({
limit
:
100
}).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
})},
getTeacherByPeriods
:
function
(){
var
t
=
this
;
Object
(
n
.
_67
)().
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
})},
initPage
:
function
(){
var
t
=
this
;
switch
(
this
.
periods
=
this
.
dialogObj
.
periods
,
this
.
dialogObj
.
type
){
case
0
:
this
.
dialogObj
.
periodsId
||
this
.
getPeriodList
(),
this
.
form
=
{
teacher_id
:
""
,
max_join_num
:
""
},
this
.
getTeacher
();
break
;
case
1
:
Object
(
n
.
_25
)(
this
.
dialogObj
.
id
).
then
(
function
(
e
){
t
.
form
=
{
teacher_id
:
parseInt
(
e
.
teacher_id
),
max_join_num
:
e
.
max_join_num
,
class_name
:
e
.
class_name
},
t
.
getTeacher
()})}},
getPeriodList
:
function
(){
var
t
=
this
;
Object
(
n
.
_37
)().
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
i
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
t
.
goodsList
=
e
.
list
,
t
.
periods
||
Object
(
n
.
_49
)({
goods_id
:
t
.
goodsList
[
0
].
id
}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
t
.
goodsList
[
0
].
children
=
e
.
list
,
t
.
periods
=
e
.
list
[
0
]})})},
onSave
:
function
(){
var
t
=
this
;
switch
(
this
.
form
.
max_join_num
=
String
(
this
.
form
.
max_join_num
),
this
.
form
.
teacher_id
=
String
(
this
.
form
.
teacher_id
),
this
.
dialogObj
.
type
){
case
0
:
var
e
=
this
.
dialogObj
.
periodsId
?
this
.
dialogObj
.
periodsId
:
this
.
periods
.
id
;
Object
(
n
.
f
)(
e
,
this
.
form
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
t
.
$emit
(
"reflash"
,
t
.
periods
),
t
.
dialogObj
.
show
=!
1
});
break
;
case
1
:
Object
(
n
.
Y
)(
this
.
dialogObj
.
id
,
this
.
form
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
$emit
(
"reflash"
,
t
.
periods
),
t
.
dialogObj
.
show
=!
1
})}},
handleItemChange
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_49
)({
goods_id
:
t
[
0
]}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
e
.
goodsList
.
find
(
function
(
e
){
return
e
.
id
===
t
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
t
){
if
(
t
.
length
>
1
){
var
e
=
this
.
goodsList
.
find
(
function
(
e
){
return
e
.
id
===
t
[
0
]});
this
.
periods
=
e
.
children
.
find
(
function
(
e
){
return
e
.
id
===
t
[
1
]}),
this
.
getTeacherByPeriods
()}},
selectName
:
function
(
t
,
e
){
var
a
=
t
.
filter
(
function
(
t
,
a
){
return
t
.
id
==
e
});
this
.
form
.
class_name
=
a
[
0
].
name
+
"一班"
}},
watch
:{
"dialogObj.show"
:
function
(
t
){
t
&&
this
.
initPage
()}}},
o
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialogObj
.
title
,
visible
:
t
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"120px"
}},[
this
.
dialogObj
.
periodsId
?
t
.
_e
():
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数"
}},[
a
(
"el-cascader"
,{
attrs
:{
options
:
t
.
goodsList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
t
.
handleItemChange
,
change
:
t
.
changePeriods
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
on
:{
change
:
function
(
e
){
t
.
selectName
(
t
.
teacherList
,
t
.
form
.
teacher_id
)}},
model
:{
value
:
t
.
form
.
teacher_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"teacher_id"
,
e
)},
expression
:
"form.teacher_id"
}},
t
.
_l
(
t
.
teacherList
,
function
(
t
,
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"班级名称"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"220px"
},
model
:{
value
:
t
.
form
.
class_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"class_name"
,
e
)},
expression
:
"form.class_name"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"最大学员"
}},[
a
(
"el-input-number"
,{
model
:{
value
:
t
.
form
.
max_join_num
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"max_join_num"
,
e
)},
expression
:
"form.max_join_num"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
dialogObj
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSave
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)};
o
.
_withStripped
=!
0
;
var
l
=
{
render
:
o
,
staticRenderFns
:[]},
r
=
l
;
var
c
=!
1
;
var
d
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
t
){
c
||
a
(
"JP4Q"
)},
"data-v-e25797c8"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
class
\\
dialog.vue"
;
e
.
a
=
d
.
exports
},
hFUZ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
i
=
a
(
"+TkF"
),
s
=
(
a
(
"xGts"
),{
name
:
"task"
,
props
:[
"parentDetail"
],
data
:
function
(){
return
{
id
:
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
task1List
:[],
task2List
:[],
task3List
:[],
task1Detail
:{
show
:
!
1
,
list
:[],
cur_date
:
""
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
}}},
methods
:{
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
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" "
+
(
1
===
e
?
"已"
:
"未"
)
+
(
1
===
a
?
"看课"
:
"打卡"
)
+
"学员"
,
Object
(
n
.
_74
)(
t
.
periods_id
,
this
.
id
,
o
).
then
(
function
(
t
){
s
.
task3Detail
.
loading
=!
1
,
s
.
task3Detail
.
list
=
t
})},
showOverWorkDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
is_true
=
is_true
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
is_watch
=
is_watch
,
this
.
task3Detail
.
cur_date
=
cur_date
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 截止今日全勤学员"
,
Object
(
n
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
showRecallDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
is_true
=
is_true
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
is_watch
=
is_watch
,
this
.
task3Detail
.
cur_date
=
cur_date
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 今日需要招回学员"
,
Object
(
n
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
a
){
var
i
=
a
.
value
;
Object
(
n
.
l
)(
t
,{
desc
:
i
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
(),
e
.
refDesc1
(),
e
.
refDesc2
(),
e
.
task3Detail
.
list
&&
e
.
task3Detail
.
list
.
length
>
0
&&
e
.
refDesc3
()})})},
refDesc3
:
function
(){
var
t
=
this
,
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
})},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
cur_date
:
t
.
cur_date
}},
refDesc1
:
function
(){
var
t
=
this
;
Object
(
n
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
cur_date
===
t
.
task1Detail
.
cur_date
&&
(
t
.
task1Detail
.
list
=
e
.
detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
Object
(
n
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
weight
===
t
.
task2Detail
.
weight
&&
(
t
.
task2Detail
.
list
=
e
.
detail
)})})},
changeAddTeacher
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc1
(),
e
.
refDesc2
()})},
changeAddTeacher3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
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
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
user_info
=
{
avatar
:
t
.
avatar
,
nickname
:
t
.
nickname
,
user_id
:
t
.
user_id
},
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
;
Object
(
n
.
_69
)(
this
.
descDialog
.
id
,{
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
})},
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
})}},
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
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务1:好友添加"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task1List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_add_teacher_num"
,
label
:
"当天进班人数"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"加好友率"
,
align
:
"center"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务2:意向等级跟踪"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task2List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"weight"
,
label
:
"意向等级"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_num"
,
label
:
"总人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask2Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
total_num
))])]}}])})],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
24
}},[
a
(
"el-card"
,[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务3:用户召回"
)])]),
t
.
_v
(
" "
),
!
t
.
task3List
||
t
.
task3List
.
length
<
1
?
a
(
"div"
,{
staticStyle
:{
color
:
"#DDDDDD"
,
"text-align"
:
"center"
}},[
t
.
_v
(
"
\n
——暂无数据——
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
task3List
,
function
(
e
){
return
a
(
"div"
,{
staticClass
:
"task3-table"
},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"start"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"开课日期"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
start_at
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"watch"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"已推课程数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
has_watch_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"log-list header-title bg-h"
},[
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"日期"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"未看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总打卡人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"看课率"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"打卡率"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
watch_log
,
function
(
n
){
return
a
(
"div"
,{
staticClass
:
"log-list"
},[
a
(
"div"
,{
staticClass
:
" bg-h"
,
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
t
.
_s
(
n
.
cur_date
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
0
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_no_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
0
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_work_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
watch_rate
))]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
work_rate
))]):
t
.
_e
()])])}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"截止今日全勤人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
showOverWorkDetail
(
t
.
scope
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
showRecallDetail
(
t
.
scope
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task1Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
attrs
:{
data
:
t
.
task1Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
periods_title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"105"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"老师已添加未户未通过"
,
value
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"入课时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task2Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task2Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeView
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_view_course
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_view_course"
,
a
)},
expression
:
"scope.row.is_view_course"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"是"
,
value
:
1
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
descDialog
.
show
,
title
:
"备注列表"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
descDialog
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
editComment
(
t
.
descDialog
.
id
)}}},[
t
.
_v
(
"添加备注"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
descDialog
.
descList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
t
.
descDialog
.
user_info
?[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
descDialog
.
user_info
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
t
.
descDialog
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
descDialog
.
user_info
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"operator"
,
label
:
"备注人"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task3Detail
.
show
,
width
:
"80%"
,
title
:
t
.
task3Detail
.
title
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task3Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
task3Detail
.
loading
,
expression
:
"task3Detail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task3Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
)],
1
)};
o
.
_withStripped
=!
0
;
var
l
=
{
render
:
o
,
staticRenderFns
:[]},
r
=
l
;
var
c
=!
1
;
var
d
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
t
){
c
||
a
(
"OKSQ"
)},
"data-v-ed74a444"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
task.vue"
;
var
u
=
d
.
exports
,
h
=
a
(
"kmJW"
),
_
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
moneyYuan
:
function
(
t
){
return
t
?(
t
/
100
).
toFixed
(
2
)
+
"元"
:
""
},
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"审核中"
:
1
===
t
?
e
=
"提现成功"
:
2
===
t
&&
(
e
=
"提现失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
n
.
_76
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
p
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"提现详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"withdraw_no"
,
label
:
"提现单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
width
:
"200"
,
className
:
"f-c"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_mobile"
,
label
:
"手机号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
money
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
e
.
row
.
status
,
green
:
1
===
e
.
row
.
status
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现成功时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
success_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"reason"
,
label
:
"失败原因"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}})],
1
)],
1
)};
p
.
_withStripped
=!
0
;
var
f
=
{
render
:
p
,
staticRenderFns
:[]},
m
=
f
;
var
v
=!
1
;
var
b
=
a
(
"VU/8"
)(
_
,
m
,
!
1
,
function
(
t
){
v
||
a
(
"utD1"
)},
"data-v-4c99299c"
,
null
);
b
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
sourceDialog.vue"
;
var
g
=
b
.
exports
,
A
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"未使用"
:
1
===
t
?
e
=
"已使用"
:
2
===
t
&&
(
e
=
"禁用"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
order_coupon_id
:
this
.
dialogObj
.
order_coupon_id
,
limit
:
200
};
Object
(
n
.
_31
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
w
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"优惠券详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"coupon_no"
,
label
:
"优惠券码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠券金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"使用状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
}})],
1
)],
1
)};
w
.
_withStripped
=!
0
;
var
C
=
{
render
:
w
,
staticRenderFns
:[]},
x
=
C
;
var
k
=!
1
;
var
y
=
a
(
"VU/8"
)(
A
,
x
,
!
1
,
function
(
t
){
k
||
a
(
"E/ZT"
)},
"data-v-22597032"
,
null
);
y
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
couponDialog.vue"
;
var
B
=
y
.
exports
,
D
=
{
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
j
=
{
render
:
E
,
staticRenderFns
:[]},
S
=
j
;
var
O
=!
1
;
var
F
=
a
(
"VU/8"
)(
D
,
S
,
!
1
,
function
(
t
){
O
||
a
(
"rJ82"
)},
"data-v-4c863f42"
,
null
);
F
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
refundDetail.vue"
;
var
$
=
F
.
exports
,
L
=
a
(
"0qGg"
),
T
=
a
(
"CfzE"
),
q
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
h
.
a
,
task
:
u
,
UserList
:
L
.
a
,
chooseGoodDialog
:
T
.
a
,
couponDialog
:
B
,
refundDetail
:
$
,
sourceDialog
:
g
},
data
:
function
(){
return
{
searchFrom
:{
user_id
:
""
,
is_add_teacher
:
""
,
is_view_course
:
""
,
start_at
:
""
,
end_at
:
""
},
form
:{
nickname
:
""
,
user_id
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
receive_mobile
:
""
,
mobile
:
""
},
goodList
:[],
orderStatusOption
:
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
:{
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
.
_98
)(
this
.
id
,{
user_id
:
this
.
addId
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
t
.
id
=
t
.
parentDetail
?
t
.
parentDetail
.
id
:
t
.
$route
.
params
.
id
,
t
.
getTeacherDetail
(),
t
.
getGoodsOption
(),
t
.
addShow
=!
1
})):
this
.
$message
({
type
:
"error"
,
message
:
"只能选择一个用户!"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
})},
onAddUser
:
function
(
t
){
this
.
isBindUser
=
t
,
this
.
addShow
=!
0
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
page
:
this
.
userObj
.
nowPage
,
limit
:
this
.
userObj
.
limit
};
this
.
searchFrom
.
userId
&&
(
e
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
e
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
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
){
e
.
class_list
&&
(
e
.
class_list
.
list
.
forEach
(
function
(
t
){
t
.
arrive_course_rate
=
0
,
t
.
watch_course_rate
=
0
,
t
.
over_course_rate
=
0
,
t
.
work_rate
=
0
,
t
.
over_work_rate
=
0
,
t
.
clock_rate
=
0
,
t
.
over_clock_rate
=
0
,
t
.
transform_rate
=
0
}),
t
.
list
=
e
.
class_list
.
list
||
[],
t
.
total
=
e
.
class_list
.
total
),
t
.
detail
=
e
,
t
.
getOrderList
()})},
createInviteLink
:
function
(
t
){
this
.
chooseGoodDialogObj
.
show
=!
0
,
0
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
:
1
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-XXMM-"
+
t
.
user_id
:
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
},
changeShow
:
function
(){
this
.
chooseGoodDialogObj
.
show
=!
1
,
this
.
chooseGoodDialogObj
.
code
=
""
},
getOrderList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
orderListObj
.
limit
,
page
:
this
.
orderListObj
.
nowPage
};
this
.
form
.
nickname
&&
(
e
.
nickname
=
this
.
form
.
nickname
),
this
.
form
.
user_id
&&
(
e
.
user_id
=
this
.
form
.
user_id
),
this
.
form
.
status
&&
(
e
.
status
=
this
.
form
.
status
.
toString
()),
this
.
form
.
goods_id
&&
(
e
.
goods_id
=
this
.
form
.
goods_id
),
this
.
form
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
form
.
receive_mobile
),
this
.
form
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
form
.
out_trade_no
),
this
.
form
.
mobile
&&
(
e
.
mobile
=
this
.
form
.
mobile
),
0
!==
this
.
detail
.
user_id
&&
(
e
.
invite_id
=
this
.
detail
.
user_id
,
Object
(
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
,
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()}},
z
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"teacher"
},[
a
(
"div"
,{
staticClass
:
"header"
},[
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
,
"margin-right"
:
"10px"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
a
(
"label"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
":"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"(T"
+
t
.
_s
(
t
.
detail
.
squad
)
+
")
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"small"
,
type
:
"success"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
onAddUser
(
!
0
)}}},[
t
.
_v
(
"老师绑定用户"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
,
target
:
"_blank"
}},[
a
(
"img"
,{
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"带班总人数:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
total_join_num
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])])]),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"绑定用户"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
createInviteLink
(
t
.
detail
.
user_info
)}}},[
t
.
_v
(
"
\n
复制专属链接
\n
"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"用户ID:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
},
on
:{
"expand-change"
:
t
.
changeRow
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:[
e
.
row
]}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
arrive_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
watch_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_name"
,
label
:
"班级名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"已进班人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开课时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"280"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
showUser
(
e
.
row
)}}},[
t
.
_v
(
"
\n
班级成员
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"订单列表"
}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
user_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"user_id"
,
e
)},
expression
:
"form.user_id"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
nickname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"nickname"
,
e
)},
expression
:
"form.nickname"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"mobile"
,
e
)},
expression
:
"form.mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
receive_mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"receive_mobile"
,
e
)},
expression
:
"form.receive_mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getOrderList
},
model
:{
value
:
t
.
form
.
goods_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"goods_id"
,
e
)},
expression
:
"form.goods_id"
}},
t
.
_l
(
t
.
goodList
,
function
(
e
,
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
)};
z
.
_withStripped
=!
0
;
var
Y
=
{
render
:
z
,
staticRenderFns
:[]},
P
=
Y
;
var
U
=!
1
;
var
I
=
a
(
"VU/8"
)(
q
,
P
,
!
1
,
function
(
t
){
U
||
(
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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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/3.8cb1730e0b21b5edc0b8.js
0 → 100644
View file @
6dd2039b
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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
.
_111
)({
file
:
t
.
file
,
type
:
"all"
}).
then
(
function
(
t
){
e
.
form
.
media_id
=
t
.
wechat_info
?
t
.
wechat_info
.
media_id
:
""
,
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
uploadShow
=!
1
,
e
.
loading
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
e
.
loading
=!
1
})},
initDialog
:
function
(){
var
t
=
this
;
switch
(
this
.
dialogObj
.
type
){
case
0
:
this
.
title
=
"新增教师"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
type
=
0
,
this
.
form
.
name
=
""
,
this
.
form
.
alias
=
""
,
this
.
form
.
qr
=
""
,
this
.
form
.
squad
=
""
,
this
.
form
.
type
=
0
,
this
.
form
.
status
=
0
,
this
.
imageList
=
[],
this
.
loading
=!
1
,
this
.
uploadShow
=!
0
,
this
.
form
.
media_id
=
""
;
break
;
case
1
:
this
.
title
=
"教师详情"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
id
=
this
.
dialogObj
.
id
,
this
.
type
=
1
,
Object
(
n
.
_66
)(
this
.
id
).
then
(
function
(
e
){
t
.
teacherDetail
=
e
,
t
.
loading
=!
1
});
break
;
case
2
:
this
.
title
=
"编辑"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
id
=
this
.
dialogObj
.
id
,
this
.
type
=
2
,
Object
(
n
.
_66
)(
this
.
id
).
then
(
function
(
e
){
t
.
form
.
name
=
e
.
name
,
t
.
form
.
squad
=
e
.
squad
,
t
.
form
.
alias
=
e
.
alias
,
t
.
form
.
qr
=
e
.
qr
,
t
.
form
.
type
=
e
.
type
,
t
.
form
.
status
=
e
.
status
,
t
.
form
.
media_id
=
e
.
media_id
?
e
.
media_id
:
""
,
t
.
imageList
=
[{
name
:
e
.
qr
,
url
:
e
.
qr
}],
t
.
uploadShow
=!
e
.
qr
,
t
.
loading
=!
1
})}}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
loading
=!
0
,
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
t
){
this
.
$emit
(
"changeShow"
,
t
)}}},
r
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
show
=
e
}}},[
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}]},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
rules
:
t
.
rules
}},[
1
===
t
.
type
?
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"ID"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
teacherDetail
.
id
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"创建时间"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
created_at
))])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"昵称"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
name
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,{
attrs
:{
prop
:
"name"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"name"
,
e
)},
expression
:
"form.name"
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"微信号"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
alias
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
alias
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"alias"
,
e
)},
expression
:
"form.alias"
}})],
1
):
t
.
_e
()],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"状态"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
status
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"status"
,
e
)},
expression
:
"form.status"
}},
t
.
_l
(
t
.
statusOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"类型"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
type
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"type"
,
e
)},
expression
:
"form.type"
}},
t
.
_l
(
t
.
typeOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
value
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
value
}})}))],
1
):
t
.
_e
()],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"二维码"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"img"
,{
staticClass
:
"qr-img"
,
attrs
:{
src
:
t
.
teacherDetail
.
qr
}}):
t
.
_e
(),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"el-form-item"
,[
a
(
"el-upload"
,{
class
:{
disabled
:
!
t
.
uploadShow
},
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
t
.
uploadFile
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"list-type"
:
"picture-card"
,
"file-list"
:
t
.
imageList
,
"on-success"
:
t
.
handleAvatarSuccess
,
"on-remove"
:
t
.
handleRemove
}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
1
===
t
.
type
?[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"邀请码"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
1
===
t
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
teacherDetail
.
invite_code
))]):
t
.
_e
()])]:
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"label"
,[
t
.
_v
(
"分组"
)])]),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
form
.
squad
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"squad"
,
e
)},
expression
:
"form.squad"
}},
t
.
_l
(
10
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
"T"
+
t
,
value
:
t
}})}))],
1
)],
2
)],
1
),
t
.
_v
(
" "
),
1
!==
t
.
type
?
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
sub
}},[
t
.
_v
(
"确 定"
)])],
1
):
t
.
_e
()],
1
)])};
r
.
_withStripped
=!
0
;
var
c
=
{
render
:
r
,
staticRenderFns
:[]},
d
=
c
;
var
u
=!
1
;
var
h
=
a
(
"VU/8"
)(
l
,
d
,
!
1
,
function
(
t
){
u
||
(
a
(
"toRX"
),
a
(
"BnRR"
))},
"data-v-4f62551c"
,
null
);
h
.
options
.
__file
=
"src
\\
components
\\
teacher
\\
dialog.vue"
;
var
p
=
h
.
exports
,
_
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
name
:
""
,
alias
:
""
,
squad
:
""
,
type
:
""
},
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
dialogObj
:{
type
:
0
,
show
:
!
1
,
id
:
""
},
dialogDetailObj
:{
show
:
!
1
,
title
:
"班级列表"
,
id
:
""
},
teacherTypeOption
:[{
id
:
0
,
label
:
"老师"
},{
id
:
1
,
label
:
"新星妈妈"
},{
id
:
2
,
label
:
"推广人"
},{
id
:
3
,
label
:
"市场"
}]}},
components
:{
Dialog
:
a
(
"g5CC"
).
a
,
page
:
s
.
a
,
dialogCom
:
p
,
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
.
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
:
"分组"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getUser
},
model
:{
value
:
t
.
searchFrom
.
squad
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"squad"
,
e
)},
expression
:
"searchFrom.squad"
}},
t
.
_l
(
10
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
"T"
+
t
,
value
:
t
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"教师类型"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getUser
},
model
:{
value
:
t
.
searchFrom
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"type"
,
e
)},
expression
:
"searchFrom.type"
}},
t
.
_l
(
t
.
teacherTypeOption
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
t
.
label
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
getUser
}},[
t
.
_v
(
"搜索"
)])],
1
),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
t
.
add
}},[
t
.
_v
(
"新增教师"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
userList
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"alias"
,
label
:
"微信号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
0
===
e
.
row
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"二维码"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"a"
,{
attrs
:{
href
:
t
.
row
.
qr
}},[
a
(
"img"
,{
staticClass
:
"shortcut"
,
attrs
:{
src
:
t
.
row
.
qr
}})])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
T"
+
t
.
_s
(
e
.
row
.
squad
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"类别"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"teacherType"
)(
e
.
row
.
type
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"280"
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
goToTeacherDetail
(
e
.
row
)}}},[
t
.
_v
(
"
\n
查看详情
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"warning"
},
on
:{
click
:
function
(
a
){
t
.
edit
(
e
.
row
)}}},[
t
.
_v
(
"
\n
编辑
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
deletePermission
&&!
t
.
$store
.
state
.
readonly
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
a
){
t
.
delTeacher
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}}),
t
.
_v
(
" "
),
a
(
"dialog-com"
,{
attrs
:{
dialogObj
:
t
.
dialogObj
},
on
:{
changeShow
:
t
.
changeShow
,
reflash
:
t
.
getUser
}}),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
width
:
"90%"
,
top
:
"5vh"
,
visible
:
t
.
dialogDetail
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogDetail
,
"show"
,
e
)}}},[
t
.
dialogDetail
.
show
?
a
(
"div"
,[
a
(
"teacher-detail"
,{
attrs
:{
parentDetail
:
t
.
dialogDetail
}})],
1
):
t
.
_e
()])],
1
)};
f
.
_withStripped
=!
0
;
var
m
=
{
render
:
f
,
staticRenderFns
:[]},
v
=
m
;
var
b
=!
1
;
var
g
=
a
(
"VU/8"
)(
_
,
v
,
!
1
,
function
(
t
){
b
||
a
(
"0zIk"
)},
"data-v-4d0e9e98"
,
null
);
g
.
options
.
__file
=
"src
\\
components
\\
teacher
\\
index.vue"
;
e
.
default
=
g
.
exports
},
eTXT
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 120px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 110px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"E:/cyan/h5-project/new-admin/src/components/teacherDetail/task.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,cAAc;EACd,eAAe;CAChB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,cAAc;EACd,YAAY;EACZ,mBAAmB;EACnB,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,QAAQ;EACR,OAAO;EACP,aAAa;EACb,iCAAiC;EACjC,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,kBAAkB;EAClB,iCAAiC;EACjC,oBAAoB;CACrB;AACD;EACE,oBAAoB;CACrB"
,
file
:
"task.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 120px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 110px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
],
sourceRoot
:
""
}])},
g5CC
:
function
(
t
,
e
,
a
){
"use strict"
;
var
n
=
a
(
"CCn6"
),
i
=
a
(
"+TkF"
),
s
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{
teacher_id
:
""
,
max_join_num
:
""
,
class_name
:
""
},
teacherList
:[],
exitTeacherList
:[],
goodsList
:[],
periods
:{}}},
methods
:{
findDifferentArray
:
function
(
t
,
e
){
var
a
=
[];
return
t
.
forEach
(
function
(
t
){
-
1
===
e
.
findIndex
(
function
(
e
){
return
e
.
teacher_id
===
t
.
id
})
&&
a
.
push
(
t
)}),
a
},
getTeacher
:
function
(){
var
t
=
this
;
Object
(
n
.
_67
)({
limit
:
100
}).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
})},
getTeacherByPeriods
:
function
(){
var
t
=
this
;
Object
(
n
.
_67
)().
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
})},
initPage
:
function
(){
var
t
=
this
;
switch
(
this
.
periods
=
this
.
dialogObj
.
periods
,
this
.
dialogObj
.
type
){
case
0
:
this
.
dialogObj
.
periodsId
||
this
.
getPeriodList
(),
this
.
form
=
{
teacher_id
:
""
,
max_join_num
:
""
},
this
.
getTeacher
();
break
;
case
1
:
Object
(
n
.
_25
)(
this
.
dialogObj
.
id
).
then
(
function
(
e
){
t
.
form
=
{
teacher_id
:
parseInt
(
e
.
teacher_id
),
max_join_num
:
e
.
max_join_num
,
class_name
:
e
.
class_name
},
t
.
getTeacher
()})}},
getPeriodList
:
function
(){
var
t
=
this
;
Object
(
n
.
_37
)().
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
"["
+
i
.
g
[
t
.
goods_type
]
+
"]["
+
t
.
current_price
/
100
+
"元]"
+
t
.
name
,
t
.
children
=
[]}),
t
.
goodsList
=
e
.
list
,
t
.
periods
||
Object
(
n
.
_49
)({
goods_id
:
t
.
goodsList
[
0
].
id
}).
then
(
function
(
e
){
e
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
t
.
goodsList
[
0
].
children
=
e
.
list
,
t
.
periods
=
e
.
list
[
0
]})})},
onSave
:
function
(){
var
t
=
this
;
switch
(
this
.
form
.
max_join_num
=
String
(
this
.
form
.
max_join_num
),
this
.
form
.
teacher_id
=
String
(
this
.
form
.
teacher_id
),
this
.
dialogObj
.
type
){
case
0
:
var
e
=
this
.
dialogObj
.
periodsId
?
this
.
dialogObj
.
periodsId
:
this
.
periods
.
id
;
Object
(
n
.
f
)(
e
,
this
.
form
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
t
.
$emit
(
"reflash"
,
t
.
periods
),
t
.
dialogObj
.
show
=!
1
});
break
;
case
1
:
Object
(
n
.
Y
)(
this
.
dialogObj
.
id
,
this
.
form
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
t
.
$emit
(
"reflash"
,
t
.
periods
),
t
.
dialogObj
.
show
=!
1
})}},
handleItemChange
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_49
)({
goods_id
:
t
[
0
]}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
t
){
t
.
name
=
t
.
title
}),
e
.
goodsList
.
find
(
function
(
e
){
return
e
.
id
===
t
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
t
){
if
(
t
.
length
>
1
){
var
e
=
this
.
goodsList
.
find
(
function
(
e
){
return
e
.
id
===
t
[
0
]});
this
.
periods
=
e
.
children
.
find
(
function
(
e
){
return
e
.
id
===
t
[
1
]}),
this
.
getTeacherByPeriods
()}},
selectName
:
function
(
t
,
e
){
var
a
=
t
.
filter
(
function
(
t
,
a
){
return
t
.
id
==
e
});
this
.
form
.
class_name
=
a
[
0
].
name
+
"一班"
}},
watch
:{
"dialogObj.show"
:
function
(
t
){
t
&&
this
.
initPage
()}}},
o
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialogObj
.
title
,
visible
:
t
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"120px"
}},[
this
.
dialogObj
.
periodsId
?
t
.
_e
():
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数"
}},[
a
(
"el-cascader"
,{
attrs
:{
options
:
t
.
goodsList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
t
.
handleItemChange
,
change
:
t
.
changePeriods
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
on
:{
change
:
function
(
e
){
t
.
selectName
(
t
.
teacherList
,
t
.
form
.
teacher_id
)}},
model
:{
value
:
t
.
form
.
teacher_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"teacher_id"
,
e
)},
expression
:
"form.teacher_id"
}},
t
.
_l
(
t
.
teacherList
,
function
(
t
,
e
){
return
a
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
t
.
name
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"班级名称"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"220px"
},
model
:{
value
:
t
.
form
.
class_name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"class_name"
,
e
)},
expression
:
"form.class_name"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"最大学员"
}},[
a
(
"el-input-number"
,{
model
:{
value
:
t
.
form
.
max_join_num
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"max_join_num"
,
e
)},
expression
:
"form.max_join_num"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
dialogObj
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onSave
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)};
o
.
_withStripped
=!
0
;
var
l
=
{
render
:
o
,
staticRenderFns
:[]},
r
=
l
;
var
c
=!
1
;
var
d
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
t
){
c
||
a
(
"JP4Q"
)},
"data-v-e25797c8"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
class
\\
dialog.vue"
;
e
.
a
=
d
.
exports
},
hFUZ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
i
=
a
(
"+TkF"
),
s
=
(
a
(
"xGts"
),{
name
:
"task"
,
props
:[
"parentDetail"
],
data
:
function
(){
return
{
id
:
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
task1List
:[],
task2List
:[],
task3List
:[],
task1Detail
:{
show
:
!
1
,
list
:[],
cur_date
:
""
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
,
type
:
0
}}},
methods
:{
showTask3Detail
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
,
o
=
{
is_true
:
e
,
is_watch
:
a
,
cur_date
:
i
};
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
is_true
=
e
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
is_watch
=
a
,
this
.
task3Detail
.
cur_date
=
i
,
this
.
task3Detail
.
type
=
1
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" "
+
(
1
===
e
?
"已"
:
"未"
)
+
(
1
===
a
?
"看课"
:
"打卡"
)
+
"学员"
,
Object
(
n
.
_74
)(
t
.
periods_id
,
this
.
id
,
o
).
then
(
function
(
t
){
s
.
task3Detail
.
loading
=!
1
,
s
.
task3Detail
.
list
=
t
})},
showOverWorkDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
type
=
2
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 截止今日全勤学员"
,
Object
(
n
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
showRecallDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
type
=
3
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 今日需要招回学员"
,
Object
(
n
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
a
){
var
i
=
a
.
value
;
Object
(
n
.
l
)(
t
,{
desc
:
i
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
(),
e
.
refDesc1
(),
e
.
refDesc2
(),
e
.
task3Detail
.
list
&&
e
.
task3Detail
.
list
.
length
>
0
&&
e
.
refDesc3
()})})},
refDesc3
:
function
(){
var
t
=
this
;
if
(
1
===
this
.
task3Detail
.
type
){
var
e
=
{
is_true
:
this
.
task3Detail
.
is_true
,
is_watch
:
this
.
task3Detail
.
is_watch
,
cur_date
:
this
.
task3Detail
.
cur_date
};
this
.
task3Detail
.
loading
=!
0
,
Object
(
n
.
_74
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,
e
).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
})}
else
2
===
this
.
task3Detail
.
type
?
Object
(
n
.
_48
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
}):
3
===
this
.
task3Detail
.
type
&&
showRecallDetail
(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
})},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
cur_date
:
t
.
cur_date
}},
refDesc1
:
function
(){
var
t
=
this
;
Object
(
n
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
cur_date
===
t
.
task1Detail
.
cur_date
&&
(
t
.
task1Detail
.
list
=
e
.
detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
Object
(
n
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
weight
===
t
.
task2Detail
.
weight
&&
(
t
.
task2Detail
.
list
=
e
.
detail
)})})},
changeAddTeacher
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc1
(),
e
.
refDesc2
()})},
changeAddTeacher3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
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
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
user_info
=
{
avatar
:
t
.
avatar
,
nickname
:
t
.
nickname
,
user_id
:
t
.
user_id
},
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
;
Object
(
n
.
_69
)(
this
.
descDialog
.
id
,{
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
})},
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
})}},
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
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务1:好友添加"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task1List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_add_teacher_num"
,
label
:
"当天进班人数"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"加好友率"
,
align
:
"center"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务2:意向等级跟踪"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task2List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"weight"
,
label
:
"意向等级"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_num"
,
label
:
"总人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask2Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
total_num
))])]}}])})],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
24
}},[
a
(
"el-card"
,[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务3:用户召回"
)])]),
t
.
_v
(
" "
),
!
t
.
task3List
||
t
.
task3List
.
length
<
1
?
a
(
"div"
,{
staticStyle
:{
color
:
"#DDDDDD"
,
"text-align"
:
"center"
}},[
t
.
_v
(
"
\n
——暂无数据——
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
task3List
,
function
(
e
){
return
a
(
"div"
,{
staticClass
:
"task3-table"
},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"start"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"开课日期"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
start_at
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"watch"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"已推课程数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
has_watch_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"log-list header-title bg-h"
},[
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"日期"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"未看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总打卡人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"看课率"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"打卡率"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
watch_log
,
function
(
n
){
return
a
(
"div"
,{
staticClass
:
"log-list"
},[
a
(
"div"
,{
staticClass
:
" bg-h"
,
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
t
.
_s
(
n
.
cur_date
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
0
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_no_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
0
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_work_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
watch_rate
))]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
work_rate
))]):
t
.
_e
()])])}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"截止今日全勤人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showOverWorkDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task1Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
attrs
:{
data
:
t
.
task1Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
periods_title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"105"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"老师已添加未户未通过"
,
value
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"入课时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task2Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task2Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeView
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_view_course
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_view_course"
,
a
)},
expression
:
"scope.row.is_view_course"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"是"
,
value
:
1
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
descDialog
.
show
,
title
:
"备注列表"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
descDialog
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
editComment
(
t
.
descDialog
.
id
)}}},[
t
.
_v
(
"添加备注"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
descDialog
.
descList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
t
.
descDialog
.
user_info
?[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
descDialog
.
user_info
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
t
.
descDialog
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
descDialog
.
user_info
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"operator"
,
label
:
"备注人"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task3Detail
.
show
,
width
:
"80%"
,
title
:
t
.
task3Detail
.
title
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task3Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
task3Detail
.
loading
,
expression
:
"task3Detail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task3Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
)],
1
)};
o
.
_withStripped
=!
0
;
var
l
=
{
render
:
o
,
staticRenderFns
:[]},
r
=
l
;
var
c
=!
1
;
var
d
=
a
(
"VU/8"
)(
s
,
r
,
!
1
,
function
(
t
){
c
||
a
(
"OKSQ"
)},
"data-v-ed74a444"
,
null
);
d
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
task.vue"
;
var
u
=
d
.
exports
,
h
=
a
(
"kmJW"
),
p
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
moneyYuan
:
function
(
t
){
return
t
?(
t
/
100
).
toFixed
(
2
)
+
"元"
:
""
},
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"审核中"
:
1
===
t
?
e
=
"提现成功"
:
2
===
t
&&
(
e
=
"提现失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
n
.
_76
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
_
=
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
)};
_
.
_withStripped
=!
0
;
var
f
=
{
render
:
_
,
staticRenderFns
:[]},
m
=
f
;
var
v
=!
1
;
var
b
=
a
(
"VU/8"
)(
p
,
m
,
!
1
,
function
(
t
){
v
||
a
(
"utD1"
)},
"data-v-4c99299c"
,
null
);
b
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
sourceDialog.vue"
;
var
g
=
b
.
exports
,
A
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"未使用"
:
1
===
t
?
e
=
"已使用"
:
2
===
t
&&
(
e
=
"禁用"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
order_coupon_id
:
this
.
dialogObj
.
order_coupon_id
,
limit
:
200
};
Object
(
n
.
_31
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
w
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"优惠券详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"coupon_no"
,
label
:
"优惠券码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠券金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"使用状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
}})],
1
)],
1
)};
w
.
_withStripped
=!
0
;
var
C
=
{
render
:
w
,
staticRenderFns
:[]},
x
=
C
;
var
k
=!
1
;
var
y
=
a
(
"VU/8"
)(
A
,
x
,
!
1
,
function
(
t
){
k
||
a
(
"E/ZT"
)},
"data-v-22597032"
,
null
);
y
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
couponDialog.vue"
;
var
B
=
y
.
exports
,
D
=
{
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
j
=
{
render
:
E
,
staticRenderFns
:[]},
S
=
j
;
var
O
=!
1
;
var
F
=
a
(
"VU/8"
)(
D
,
S
,
!
1
,
function
(
t
){
O
||
a
(
"rJ82"
)},
"data-v-4c863f42"
,
null
);
F
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
refundDetail.vue"
;
var
$
=
F
.
exports
,
L
=
a
(
"0qGg"
),
T
=
a
(
"CfzE"
),
q
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
h
.
a
,
task
:
u
,
UserList
:
L
.
a
,
chooseGoodDialog
:
T
.
a
,
couponDialog
:
B
,
refundDetail
:
$
,
sourceDialog
:
g
},
data
:
function
(){
return
{
searchFrom
:{
user_id
:
""
,
is_add_teacher
:
""
,
is_view_course
:
""
,
start_at
:
""
,
end_at
:
""
},
form
:{
nickname
:
""
,
user_id
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
receive_mobile
:
""
,
mobile
:
""
},
goodList
:[],
orderStatusOption
:
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
:{
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
.
_98
)(
this
.
id
,{
user_id
:
this
.
addId
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
t
.
id
=
t
.
parentDetail
?
t
.
parentDetail
.
id
:
t
.
$route
.
params
.
id
,
t
.
getTeacherDetail
(),
t
.
getGoodsOption
(),
t
.
addShow
=!
1
})):
this
.
$message
({
type
:
"error"
,
message
:
"只能选择一个用户!"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
})},
onAddUser
:
function
(
t
){
this
.
isBindUser
=
t
,
this
.
addShow
=!
0
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
page
:
this
.
userObj
.
nowPage
,
limit
:
this
.
userObj
.
limit
};
this
.
searchFrom
.
userId
&&
(
e
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
e
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
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
){
e
.
class_list
&&
(
e
.
class_list
.
list
.
forEach
(
function
(
t
){
t
.
arrive_course_rate
=
0
,
t
.
watch_course_rate
=
0
,
t
.
over_course_rate
=
0
,
t
.
work_rate
=
0
,
t
.
over_work_rate
=
0
,
t
.
clock_rate
=
0
,
t
.
over_clock_rate
=
0
,
t
.
transform_rate
=
0
}),
t
.
list
=
e
.
class_list
.
list
||
[],
t
.
total
=
e
.
class_list
.
total
),
t
.
detail
=
e
,
t
.
getOrderList
()})},
createInviteLink
:
function
(
t
){
this
.
chooseGoodDialogObj
.
show
=!
0
,
0
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
:
1
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-XXMM-"
+
t
.
user_id
:
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
},
changeShow
:
function
(){
this
.
chooseGoodDialogObj
.
show
=!
1
,
this
.
chooseGoodDialogObj
.
code
=
""
},
getOrderList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
orderListObj
.
limit
,
page
:
this
.
orderListObj
.
nowPage
};
this
.
form
.
nickname
&&
(
e
.
nickname
=
this
.
form
.
nickname
),
this
.
form
.
user_id
&&
(
e
.
user_id
=
this
.
form
.
user_id
),
this
.
form
.
status
&&
(
e
.
status
=
this
.
form
.
status
.
toString
()),
this
.
form
.
goods_id
&&
(
e
.
goods_id
=
this
.
form
.
goods_id
),
this
.
form
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
form
.
receive_mobile
),
this
.
form
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
form
.
out_trade_no
),
this
.
form
.
mobile
&&
(
e
.
mobile
=
this
.
form
.
mobile
),
0
!==
this
.
detail
.
user_id
&&
(
e
.
invite_id
=
this
.
detail
.
user_id
,
Object
(
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
,
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()}},
z
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"teacher"
},[
a
(
"div"
,{
staticClass
:
"header"
},[
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
,
"margin-right"
:
"10px"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
a
(
"label"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
":"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"(T"
+
t
.
_s
(
t
.
detail
.
squad
)
+
")
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"small"
,
type
:
"success"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
onAddUser
(
!
0
)}}},[
t
.
_v
(
"老师绑定用户"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
,
target
:
"_blank"
}},[
a
(
"img"
,{
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"带班总人数:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
total_join_num
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])])]),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"绑定用户"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
createInviteLink
(
t
.
detail
.
user_info
)}}},[
t
.
_v
(
"
\n
复制专属链接
\n
"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"用户ID:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
},
on
:{
"expand-change"
:
t
.
changeRow
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:[
e
.
row
]}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
arrive_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
watch_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_name"
,
label
:
"班级名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"已进班人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开课时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"280"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
showUser
(
e
.
row
)}}},[
t
.
_v
(
"
\n
班级成员
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"订单列表"
}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
user_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"user_id"
,
e
)},
expression
:
"form.user_id"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
nickname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"nickname"
,
e
)},
expression
:
"form.nickname"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"mobile"
,
e
)},
expression
:
"form.mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
receive_mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"receive_mobile"
,
e
)},
expression
:
"form.receive_mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getOrderList
},
model
:{
value
:
t
.
form
.
goods_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"goods_id"
,
e
)},
expression
:
"form.goods_id"
}},
t
.
_l
(
t
.
goodList
,
function
(
e
,
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
)};
z
.
_withStripped
=!
0
;
var
Y
=
{
render
:
z
,
staticRenderFns
:[]},
P
=
Y
;
var
U
=!
1
;
var
I
=
a
(
"VU/8"
)(
q
,
P
,
!
1
,
function
(
t
){
U
||
(
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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/src/components/teacher/dialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,iBAAiB;EACjB,mBAAmB;EACnB,oBAAoB;EACpB,kBAAkB;CACnB;AACD;EACE,YAAY;CACb;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,eAAe;CAChB;AACD;EACE,wBAAwB;EACxB,wBAAwB;EACxB,4BAA4B;CAC7B;AACD;EACE,eAAe;EACf,mBAAmB;CACpB"
,
file
:
"dialog.vue"
,
sourcesContent
:[
"
\n
.el-col[data-v-4f62551c] {
\n
min-height: 50px;
\n
text-align: center;
\n
margin-bottom: 20px;
\n
line-height: 40px;
\n
}
\n
.el-col .el-select[data-v-4f62551c] {
\n
width: 100%;
\n
}
\n
.el-col img[data-v-4f62551c] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-4f62551c] {
\n
color: #5982e6;
\n
}
\n
.qr-img[data-v-4f62551c] {
\n
width: 148px !important;
\n
border: none !important;
\n
border-radius: 0 !important;
\n
}
\n
.dialog-footer[data-v-4f62551c] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
],
sourceRoot
:
""
}])}});
\ No newline at end of file
dev/static/js/9.30c7f2a691896ab85fe7.js
0 → 100644
View file @
6dd2039b
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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/src/components/teacherDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,cAAc;EACd,YAAY;CACb;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;EAChB,oBAAoB;CACrB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,YAAY;EACZ,gBAAgB;CACjB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,iBAAiB;EACjB,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B;AACD;EACE,aAAa;EACb,mBAAmB;EACnB,cAAc;EACd,sBAAsB;CACvB;AACD;EACE,aAAa;EACb,YAAY;EACZ,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,kBAAkB;EAClB,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.b-title[data-v-67261a49] {
\n
padding: 20px;
\n
color: #666;
\n
}
\n
.teacher[data-v-67261a49] {
\n
padding: 20px 0;
\n
}
\n
.header[data-v-67261a49] {
\n
padding: 0 20px;
\n
margin-bottom: 20px;
\n
}
\n
.el-row[data-v-67261a49] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
color: #666;
\n
font-size: 16px;
\n
}
\n
.text.item[data-v-67261a49] {
\n
line-height: 40px;
\n
}
\n
.text.item label[data-v-67261a49] {
\n
width: 120px;
\n
}
\n
.el-card[data-v-67261a49] {
\n
/*height: 50px;*/
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
.el-card .avatar[data-v-67261a49] {
\n
width: 120px;
\n
margin-right: 10px;
\n
height: 120px;
\n
border-radius: 1000px;
\n
}
\n
.el-card img[data-v-67261a49] {
\n
width: 120px;
\n
float: left;
\n
margin-right: 10px;
\n
}
\n
.el-card label[data-v-67261a49] {
\n
color: #5982e6;
\n
width: 120px;
\n
}
\n
.card-content[data-v-67261a49]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
.order_list .avatar[data-v-67261a49] {
\n
width: 50px;
\n
min-width: 50px;
\n
height: 50px;
\n
margin-right: 5px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
"E/ZT"
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"Qqyn"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"1e8fe874"
,
n
,
!
1
,{})},
MeUK
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"8uEr"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"2bb22f96"
,
n
,
!
1
,{})},
OKSQ
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"eTXT"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"627544e4"
,
n
,
!
1
,{})},
Q5Z3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"61rJ"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"56000f94"
,
n
,
!
1
,{})},
Qqyn
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.avatar[data-v-22597032] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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: 100px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"E:/cyan/h5-project/new-admin/src/components/teacherDetail/task.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,cAAc;EACd,eAAe;CAChB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,cAAc;EACd,YAAY;EACZ,mBAAmB;EACnB,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,QAAQ;EACR,OAAO;EACP,aAAa;EACb,iCAAiC;EACjC,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,kBAAkB;EAClB,iCAAiC;EACjC,oBAAoB;CACrB;AACD;EACE,oBAAoB;CACrB"
,
file
:
"task.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
],
sourceRoot
:
""
}])},
hFUZ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
i
=
a
(
"+TkF"
),
s
=
(
a
(
"xGts"
),{
name
:
"task"
,
props
:[
"parentDetail"
],
data
:
function
(){
return
{
id
:
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
task1List
:[],
task2List
:[],
task3List
:[],
task1Detail
:{
show
:
!
1
,
list
:[],
cur_date
:
""
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
}}},
methods
:{
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
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" "
+
(
1
===
e
?
"已"
:
"未"
)
+
(
1
===
a
?
"看课"
:
"打卡"
)
+
"学员"
,
Object
(
n
.
_74
)(
t
.
periods_id
,
this
.
id
,
o
).
then
(
function
(
t
){
s
.
task3Detail
.
loading
=!
1
,
s
.
task3Detail
.
list
=
t
})},
showOverWorkDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
is_true
=
is_true
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
is_watch
=
is_watch
,
this
.
task3Detail
.
cur_date
=
cur_date
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 截止今日全勤学员"
,
Object
(
n
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
showRecallDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
is_true
=
is_true
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
is_watch
=
is_watch
,
this
.
task3Detail
.
cur_date
=
cur_date
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 今日需要招回学员"
,
Object
(
n
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
a
){
var
i
=
a
.
value
;
Object
(
n
.
l
)(
t
,{
desc
:
i
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
(),
e
.
refDesc1
(),
e
.
refDesc2
(),
e
.
task3Detail
.
list
&&
e
.
task3Detail
.
list
.
length
>
0
&&
e
.
refDesc3
()})})},
refDesc3
:
function
(){
var
t
=
this
,
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
})},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
cur_date
:
t
.
cur_date
}},
refDesc1
:
function
(){
var
t
=
this
;
Object
(
n
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
cur_date
===
t
.
task1Detail
.
cur_date
&&
(
t
.
task1Detail
.
list
=
e
.
detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
Object
(
n
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
weight
===
t
.
task2Detail
.
weight
&&
(
t
.
task2Detail
.
list
=
e
.
detail
)})})},
changeAddTeacher
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc1
(),
e
.
refDesc2
()})},
changeAddTeacher3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
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
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
user_info
=
{
avatar
:
t
.
avatar
,
nickname
:
t
.
nickname
,
user_id
:
t
.
user_id
},
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
;
Object
(
n
.
_69
)(
this
.
descDialog
.
id
,{
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
})},
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
})}},
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
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务1:好友添加"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task1List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_add_teacher_num"
,
label
:
"当天进班人数"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"加好友率"
,
align
:
"center"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务2:意向等级跟踪"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task2List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"weight"
,
label
:
"意向等级"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_num"
,
label
:
"总人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask2Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
total_num
))])]}}])})],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
24
}},[
a
(
"el-card"
,[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务3:用户召回"
)])]),
t
.
_v
(
" "
),
!
t
.
task3List
||
t
.
task3List
.
length
<
1
?
a
(
"div"
,{
staticStyle
:{
color
:
"#DDDDDD"
,
"text-align"
:
"center"
}},[
t
.
_v
(
"
\n
——暂无数据——
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
task3List
,
function
(
e
){
return
a
(
"div"
,{
staticClass
:
"task3-table"
},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"start"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"开课日期"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
start_at
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"watch"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"已推课程数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
has_watch_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"log-list header-title bg-h"
},[
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"日期"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"未看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总打卡人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"看课率"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"打卡率"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
watch_log
,
function
(
n
){
return
a
(
"div"
,{
staticClass
:
"log-list"
},[
a
(
"div"
,{
staticClass
:
" bg-h"
,
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
t
.
_s
(
n
.
cur_date
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
0
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_no_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
0
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_work_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
watch_rate
))]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
work_rate
))]):
t
.
_e
()])])}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"截止今日全勤人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
showOverWorkDetail
(
t
.
scope
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
e
){
t
.
showRecallDetail
(
t
.
scope
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task1Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
attrs
:{
data
:
t
.
task1Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
periods_title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"105"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"老师已添加未户未通过"
,
value
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"入课时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task2Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task2Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeView
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_view_course
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_view_course"
,
a
)},
expression
:
"scope.row.is_view_course"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"是"
,
value
:
1
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
descDialog
.
show
,
title
:
"备注列表"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
descDialog
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
editComment
(
t
.
descDialog
.
id
)}}},[
t
.
_v
(
"添加备注"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
descDialog
.
descList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
t
.
descDialog
.
user_info
?[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
descDialog
.
user_info
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
t
.
descDialog
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
descDialog
.
user_info
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"operator"
,
label
:
"备注人"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task3Detail
.
show
,
width
:
"80%"
,
title
:
t
.
task3Detail
.
title
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task3Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
task3Detail
.
loading
,
expression
:
"task3Detail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task3Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
)],
1
)};
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"
),
p
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
moneyYuan
:
function
(
t
){
return
t
?(
t
/
100
).
toFixed
(
2
)
+
"元"
:
""
},
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"审核中"
:
1
===
t
?
e
=
"提现成功"
:
2
===
t
&&
(
e
=
"提现失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
n
.
_76
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
h
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"提现详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"withdraw_no"
,
label
:
"提现单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
width
:
"200"
,
className
:
"f-c"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_mobile"
,
label
:
"手机号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
money
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
e
.
row
.
status
,
green
:
1
===
e
.
row
.
status
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现成功时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
success_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"reason"
,
label
:
"失败原因"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}})],
1
)],
1
)};
h
.
_withStripped
=!
0
;
var
v
=
{
render
:
h
,
staticRenderFns
:[]},
f
=
v
;
var
b
=!
1
;
var
m
=
a
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
t
){
b
||
a
(
"utD1"
)},
"data-v-4c99299c"
,
null
);
m
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
sourceDialog.vue"
;
var
A
=
m
.
exports
,
g
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"未使用"
:
1
===
t
?
e
=
"已使用"
:
2
===
t
&&
(
e
=
"禁用"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
order_coupon_id
:
this
.
dialogObj
.
order_coupon_id
,
limit
:
200
};
Object
(
n
.
_31
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
w
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"优惠券详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"coupon_no"
,
label
:
"优惠券码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠券金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"使用状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
}})],
1
)],
1
)};
w
.
_withStripped
=!
0
;
var
C
=
{
render
:
w
,
staticRenderFns
:[]},
k
=
C
;
var
x
=!
1
;
var
D
=
a
(
"VU/8"
)(
g
,
k
,
!
1
,
function
(
t
){
x
||
a
(
"E/ZT"
)},
"data-v-22597032"
,
null
);
D
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
couponDialog.vue"
;
var
B
=
D
.
exports
,
y
=
{
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
$
=
a
(
"VU/8"
)(
y
,
j
,
!
1
,
function
(
t
){
O
||
a
(
"rJ82"
)},
"data-v-4c863f42"
,
null
);
$
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
refundDetail.vue"
;
var
L
=
$
.
exports
,
T
=
a
(
"0qGg"
),
z
=
a
(
"CfzE"
),
F
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
_
.
a
,
task
:
u
,
UserList
:
T
.
a
,
chooseGoodDialog
:
z
.
a
,
couponDialog
:
B
,
refundDetail
:
L
,
sourceDialog
:
A
},
data
:
function
(){
return
{
searchFrom
:{
user_id
:
""
,
is_add_teacher
:
""
,
is_view_course
:
""
,
start_at
:
""
,
end_at
:
""
},
form
:{
nickname
:
""
,
user_id
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
receive_mobile
:
""
,
mobile
:
""
},
goodList
:[],
orderStatusOption
:
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
:{
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
.
_98
)(
this
.
id
,{
user_id
:
this
.
addId
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
t
.
id
=
t
.
parentDetail
?
t
.
parentDetail
.
id
:
t
.
$route
.
params
.
id
,
t
.
getTeacherDetail
(),
t
.
getGoodsOption
(),
t
.
addShow
=!
1
})):
this
.
$message
({
type
:
"error"
,
message
:
"只能选择一个用户!"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
})},
onAddUser
:
function
(
t
){
this
.
isBindUser
=
t
,
this
.
addShow
=!
0
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
page
:
this
.
userObj
.
nowPage
,
limit
:
this
.
userObj
.
limit
};
this
.
searchFrom
.
userId
&&
(
e
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
e
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
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
){
e
.
class_list
&&
(
e
.
class_list
.
list
.
forEach
(
function
(
t
){
t
.
arrive_course_rate
=
0
,
t
.
watch_course_rate
=
0
,
t
.
over_course_rate
=
0
,
t
.
work_rate
=
0
,
t
.
over_work_rate
=
0
,
t
.
clock_rate
=
0
,
t
.
over_clock_rate
=
0
,
t
.
transform_rate
=
0
}),
t
.
list
=
e
.
class_list
.
list
||
[],
t
.
total
=
e
.
class_list
.
total
),
t
.
detail
=
e
,
t
.
getOrderList
()})},
createInviteLink
:
function
(
t
){
this
.
chooseGoodDialogObj
.
show
=!
0
,
0
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
:
1
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-XXMM-"
+
t
.
user_id
:
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
},
changeShow
:
function
(){
this
.
chooseGoodDialogObj
.
show
=!
1
,
this
.
chooseGoodDialogObj
.
code
=
""
},
getOrderList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
orderListObj
.
limit
,
page
:
this
.
orderListObj
.
nowPage
};
this
.
form
.
nickname
&&
(
e
.
nickname
=
this
.
form
.
nickname
),
this
.
form
.
user_id
&&
(
e
.
user_id
=
this
.
form
.
user_id
),
this
.
form
.
status
&&
(
e
.
status
=
this
.
form
.
status
.
toString
()),
this
.
form
.
goods_id
&&
(
e
.
goods_id
=
this
.
form
.
goods_id
),
this
.
form
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
form
.
receive_mobile
),
this
.
form
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
form
.
out_trade_no
),
this
.
form
.
mobile
&&
(
e
.
mobile
=
this
.
form
.
mobile
),
0
!==
this
.
detail
.
user_id
&&
(
e
.
invite_id
=
this
.
detail
.
user_id
,
Object
(
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
,
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()}},
Y
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"teacher"
},[
a
(
"div"
,{
staticClass
:
"header"
},[
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
,
"margin-right"
:
"10px"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
a
(
"label"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
":"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"(T"
+
t
.
_s
(
t
.
detail
.
squad
)
+
")
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"small"
,
type
:
"success"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
onAddUser
(
!
0
)}}},[
t
.
_v
(
"老师绑定用户"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
,
target
:
"_blank"
}},[
a
(
"img"
,{
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"带班总人数:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
total_join_num
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])])]),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"绑定用户"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
createInviteLink
(
t
.
detail
.
user_info
)}}},[
t
.
_v
(
"
\n
复制专属链接
\n
"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"用户ID:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
},
on
:{
"expand-change"
:
t
.
changeRow
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:[
e
.
row
]}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
arrive_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
watch_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_name"
,
label
:
"班级名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"已进班人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开课时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"280"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
showUser
(
e
.
row
)}}},[
t
.
_v
(
"
\n
班级成员
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"订单列表"
}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
user_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"user_id"
,
e
)},
expression
:
"form.user_id"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
nickname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"nickname"
,
e
)},
expression
:
"form.nickname"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"mobile"
,
e
)},
expression
:
"form.mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
receive_mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"receive_mobile"
,
e
)},
expression
:
"form.receive_mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getOrderList
},
model
:{
value
:
t
.
form
.
goods_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"goods_id"
,
e
)},
expression
:
"form.goods_id"
}},
t
.
_l
(
t
.
goodList
,
function
(
e
,
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
)};
Y
.
_withStripped
=!
0
;
var
I
=
{
render
:
Y
,
staticRenderFns
:[]},
U
=
I
;
var
P
=!
1
;
var
Z
=
a
(
"VU/8"
)(
F
,
U
,
!
1
,
function
(
t
){
P
||
(
a
(
"MeUK"
),
a
(
"Q5Z3"
))},
"data-v-67261a49"
,
null
);
Z
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
index.vue"
;
e
.
default
=
Z
.
exports
},
rJ82
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"SWNE"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"7221ac08"
,
n
,
!
1
,{})},
utD1
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"64hg"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"5dac314c"
,
n
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/9.dc2867c72ebe998cae5d.js
0 → 100644
View file @
6dd2039b
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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/src/components/teacherDetail/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,cAAc;EACd,YAAY;CACb;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;EAChB,oBAAoB;CACrB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,YAAY;EACZ,gBAAgB;CACjB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,iBAAiB;EACjB,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B;AACD;EACE,aAAa;EACb,mBAAmB;EACnB,cAAc;EACd,sBAAsB;CACvB;AACD;EACE,aAAa;EACb,YAAY;EACZ,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,aAAa;CACd;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,kBAAkB;EAClB,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.b-title[data-v-67261a49] {
\n
padding: 20px;
\n
color: #666;
\n
}
\n
.teacher[data-v-67261a49] {
\n
padding: 20px 0;
\n
}
\n
.header[data-v-67261a49] {
\n
padding: 0 20px;
\n
margin-bottom: 20px;
\n
}
\n
.el-row[data-v-67261a49] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
color: #666;
\n
font-size: 16px;
\n
}
\n
.text.item[data-v-67261a49] {
\n
line-height: 40px;
\n
}
\n
.text.item label[data-v-67261a49] {
\n
width: 120px;
\n
}
\n
.el-card[data-v-67261a49] {
\n
/*height: 50px;*/
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
.el-card .avatar[data-v-67261a49] {
\n
width: 120px;
\n
margin-right: 10px;
\n
height: 120px;
\n
border-radius: 1000px;
\n
}
\n
.el-card img[data-v-67261a49] {
\n
width: 120px;
\n
float: left;
\n
margin-right: 10px;
\n
}
\n
.el-card label[data-v-67261a49] {
\n
color: #5982e6;
\n
width: 120px;
\n
}
\n
.card-content[data-v-67261a49]:after {
\n
content: '';
\n
display: block;
\n
clear: both;
\n
}
\n
.order_list .avatar[data-v-67261a49] {
\n
width: 50px;
\n
min-width: 50px;
\n
height: 50px;
\n
margin-right: 5px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
"E/ZT"
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"Qqyn"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"1e8fe874"
,
n
,
!
1
,{})},
MeUK
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"8uEr"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"2bb22f96"
,
n
,
!
1
,{})},
OKSQ
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"eTXT"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"627544e4"
,
n
,
!
1
,{})},
Q5Z3
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"61rJ"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"56000f94"
,
n
,
!
1
,{})},
Qqyn
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
"
\n
.avatar[data-v-22597032] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"E:/cyan/h5-project/new-admin/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
:[
"E:/cyan/h5-project/new-admin/src/components/teacherDetail/refundDetail.vue"
],
names
:[],
mappings
:
";AACA;EACE,WAAW;EACX,aAAa;EACb,mBAAmB;CACpB"
,
file
:
"refundDetail.vue"
,
sourcesContent
:[
"
\n
.avatar[data-v-4c863f42] {
\n
width:50px;
\n
height: 50px;
\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
eTXT
:
function
(
t
,
e
,
a
){(
t
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
t
.
i
,
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 120px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 110px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"E:/cyan/h5-project/new-admin/src/components/teacherDetail/task.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,cAAc;EACd,eAAe;CAChB;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,cAAc;EACd,YAAY;EACZ,mBAAmB;EACnB,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,gBAAgB;CACjB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,iBAAiB;CAClB;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,QAAQ;EACR,OAAO;EACP,aAAa;EACb,iCAAiC;EACjC,eAAe;EACf,mBAAmB;CACpB;AACD;EACE,mBAAmB;EACnB,kBAAkB;EAClB,iCAAiC;EACjC,oBAAoB;CACrB;AACD;EACE,oBAAoB;CACrB"
,
file
:
"task.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-ed74a444] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-ed74a444] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-ed74a444] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-ed74a444] {
\
n float: right;
\
n}
\
n.text-c[data-v-ed74a444] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-ed74a444] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-ed74a444] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-ed74a444] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-ed74a444] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-ed74a444] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-ed74a444]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.task3-table[data-v-ed74a444] {
\
n padding: 10px;
\
n overflow: auto;
\
n}
\
n.task3-table .table[data-v-ed74a444]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n.task3-table .table > div[data-v-ed74a444] {
\
n display: table-cell;
\
n white-space: nowrap;
\
n vertical-align: middle;
\
n height: 192px;
\
n width: auto;
\
n text-align: center;
\
n position: relative;
\
n border: 1px solid #f0f0f0;
\
n}
\
n.task3-table .table > div.title[data-v-ed74a444] {
\
n min-width: 200px;
\
n}
\
n.task3-table .table > div.start[data-v-ed74a444] {
\
n min-width: 100px;
\
n}
\
n.task3-table .table > div.total[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.watch[data-v-ed74a444] {
\
n min-width: 90px;
\
n}
\
n.task3-table .table > div.over_work[data-v-ed74a444] {
\
n min-width: 120px;
\
n}
\
n.task3-table .table > div.recall[data-v-ed74a444] {
\
n min-width: 110px;
\
n}
\
n.task3-table .table > div .header[data-v-ed74a444] {
\
n position: absolute;
\
n width: 100%;
\
n left: 0;
\
n top: 0;
\
n height: 21px;
\
n border-bottom: 1px solid #f0f0f0;
\
n padding: 5px 0;
\
n text-align: center;
\
n}
\
n.task3-table .table .log-list > div[data-v-ed74a444] {
\
n text-align: center;
\
n padding: 5px 15px;
\
n border-bottom: 1px solid #f0f0f0;
\
n line-height: normal;
\
n}
\
n.bg-h[data-v-ed74a444] {
\
n background: #e4eff7;
\
n}
\
n'
],
sourceRoot
:
""
}])},
hFUZ
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"CCn6"
),
i
=
a
(
"+TkF"
),
s
=
(
a
(
"xGts"
),{
name
:
"task"
,
props
:[
"parentDetail"
],
data
:
function
(){
return
{
id
:
this
.
parentDetail
?
this
.
parentDetail
.
id
:
this
.
$route
.
params
.
id
,
task1List
:[],
task2List
:[],
task3List
:[],
task1Detail
:{
show
:
!
1
,
list
:[],
cur_date
:
""
},
task2Detail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
recallDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
overWorkDetail
:{
show
:
!
1
,
list
:[],
weight
:
""
},
descDialog
:{
show
:
!
1
,
id
:
""
,
descList
:[],
user_info
:
null
},
task3Detail
:{
show
:
!
1
,
list
:[],
is_true
:
""
,
is_watch
:
""
,
loading
:
!
1
,
periods_id
:
""
,
cur_date
:
""
,
title
:
""
,
type
:
0
}}},
methods
:{
showTask3Detail
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
,
l
=
{
is_true
:
e
,
is_watch
:
a
,
cur_date
:
i
};
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
is_true
=
e
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
is_watch
=
a
,
this
.
task3Detail
.
cur_date
=
i
,
this
.
task3Detail
.
type
=
1
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" "
+
(
1
===
e
?
"已"
:
"未"
)
+
(
1
===
a
?
"看课"
:
"打卡"
)
+
"学员"
,
Object
(
n
.
_74
)(
t
.
periods_id
,
this
.
id
,
l
).
then
(
function
(
t
){
s
.
task3Detail
.
loading
=!
1
,
s
.
task3Detail
.
list
=
t
})},
showOverWorkDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
type
=
2
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 截止今日全勤学员"
,
Object
(
n
.
_48
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
showRecallDetail
:
function
(
t
){
var
e
=
this
;
this
.
task3Detail
.
show
=!
0
,
this
.
task3Detail
.
loading
=!
0
,
this
.
task3Detail
.
periods_id
=
t
.
periods_id
,
this
.
task3Detail
.
type
=
3
,
this
.
task3Detail
.
title
=
"【"
+
t
.
periods_id
+
"】"
+
t
.
title
+
" 今日需要招回学员"
,
Object
(
n
.
_55
)(
t
.
periods_id
,
this
.
id
,{}).
then
(
function
(
t
){
e
.
task3Detail
.
loading
=!
1
,
e
.
task3Detail
.
list
=
t
})},
editComment
:
function
(
t
){
var
e
=
this
;
this
.
$prompt
(
""
,
"添加备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputValue
:
""
}).
then
(
function
(
a
){
var
i
=
a
.
value
;
Object
(
n
.
l
)(
t
,{
desc
:
i
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
getUserDescList
(),
e
.
refDesc1
(),
e
.
refDesc2
(),
e
.
task3Detail
.
list
&&
e
.
task3Detail
.
list
.
length
>
0
&&
e
.
refDesc3
()})})},
refDesc3
:
function
(){
var
t
=
this
;
if
(
1
===
this
.
task3Detail
.
type
){
var
e
=
{
is_true
:
this
.
task3Detail
.
is_true
,
is_watch
:
this
.
task3Detail
.
is_watch
,
cur_date
:
this
.
task3Detail
.
cur_date
};
this
.
task3Detail
.
loading
=!
0
,
Object
(
n
.
_74
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,
e
).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
})}
else
2
===
this
.
task3Detail
.
type
?
Object
(
n
.
_48
)(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
}):
3
===
this
.
task3Detail
.
type
&&
showRecallDetail
(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
function
(
e
){
t
.
task3Detail
.
loading
=!
1
,
t
.
task3Detail
.
show
=!
0
,
t
.
task3Detail
.
list
=
e
})},
showTask2Detail
:
function
(
t
){
this
.
task2Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
weight
:
t
.
weight
}},
showTask1Detail
:
function
(
t
){
this
.
task1Detail
=
{
show
:
!
0
,
list
:
t
.
detail
,
cur_date
:
t
.
cur_date
}},
refDesc1
:
function
(){
var
t
=
this
;
Object
(
n
.
_95
)(
this
.
id
).
then
(
function
(
e
){
t
.
task1List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
cur_date
===
t
.
task1Detail
.
cur_date
&&
(
t
.
task1Detail
.
list
=
e
.
detail
)})})},
refDesc2
:
function
(){
var
t
=
this
;
Object
(
n
.
_96
)(
this
.
id
).
then
(
function
(
e
){
t
.
task2List
=
e
,
e
.
forEach
(
function
(
e
){
e
.
weight
===
t
.
task2Detail
.
weight
&&
(
t
.
task2Detail
.
list
=
e
.
detail
)})})},
changeAddTeacher
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc1
(),
e
.
refDesc2
()})},
changeAddTeacher3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
t
)(
t
.
id
,
t
.
is_add_teacher
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight3
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
refDesc3
()})},
changeWeight
:
function
(
t
){
var
e
=
this
;
Object
(
n
.
_9
)(
t
.
id
,
t
.
weight
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"数据更改成功"
}),
e
.
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
){
this
.
descDialog
.
show
=!
0
,
this
.
descDialog
.
id
=
t
.
id
,
this
.
descDialog
.
user_info
=
{
avatar
:
t
.
avatar
,
nickname
:
t
.
nickname
,
user_id
:
t
.
user_id
},
this
.
getUserDescList
()},
getUserDescList
:
function
(){
var
t
=
this
;
Object
(
n
.
_69
)(
this
.
descDialog
.
id
,{
limit
:
1
e3
}).
then
(
function
(
e
){
t
.
descDialog
.
descList
=
e
.
list
})},
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
})}},
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
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务1:好友添加"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task1List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_add_teacher_num"
,
label
:
"当天进班人数"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask1Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
need_add_teacher_num
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"add_rate"
,
label
:
"加好友率"
,
align
:
"center"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
12
}},[
a
(
"el-card"
,{
staticClass
:
"box-card"
},[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务2:意向等级跟踪"
)])]),
t
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
border
:
""
,
data
:
t
.
task2List
,
align
:
"center"
,
"header-cell-style"
:{
background
:
"#e4eff7"
}}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"weight"
,
label
:
"意向等级"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_num"
,
label
:
"总人数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
showTask2Detail
(
e
.
row
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
total_num
))])]}}])})],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
gutter
:
20
}},[
a
(
"el-col"
,{
attrs
:{
span
:
24
}},[
a
(
"el-card"
,[
a
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"任务3:用户召回"
)])]),
t
.
_v
(
" "
),
!
t
.
task3List
||
t
.
task3List
.
length
<
1
?
a
(
"div"
,{
staticStyle
:{
color
:
"#DDDDDD"
,
"text-align"
:
"center"
}},[
t
.
_v
(
"
\n
——暂无数据——
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
_l
(
t
.
task3List
,
function
(
e
){
return
a
(
"div"
,{
staticClass
:
"task3-table"
},[
a
(
"div"
,{
staticClass
:
"table"
},[
a
(
"div"
,{
staticClass
:
"title"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"期数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"start"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"开课日期"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
start_at
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"total"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"班级人数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
total_user
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"watch"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"已推课程数"
)]),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
has_watch_num
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"log-list header-title bg-h"
},[
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"日期"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"未看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总看课人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
t
.
_v
(
"总打卡人数"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"看课率"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
"打卡率"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
watch_log
,
function
(
n
){
return
a
(
"div"
,{
staticClass
:
"log-list"
},[
a
(
"div"
,{
staticClass
:
" bg-h"
,
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
t
.
_v
(
t
.
_s
(
n
.
cur_date
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
0
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_no_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
1
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_watch_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"28px"
,
"line-height"
:
"28px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showTask3Detail
(
e
,
1
,
0
,
n
.
cur_date
)}}},[
t
.
_v
(
t
.
_s
(
n
.
total_work_num
))]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
watch_rate
))]):
t
.
_e
()]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
height
:
"19px"
,
"line-height"
:
"19px"
}},[
1
!==
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
"-"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
===
n
.
is_start_course
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
n
.
work_rate
))]):
t
.
_e
()])])}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"over_work"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"截止今日全勤人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showOverWorkDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
total_watch_user_num
))])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"recall"
},[
a
(
"div"
,{
staticClass
:
"header bg-h"
},[
t
.
_v
(
"今日需召回人数"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
showRecallDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
need_recall_user_num
))])],
1
)],
2
)])})],
2
)],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task1Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task1Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
attrs
:{
data
:
t
.
task1Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
【"
+
t
.
_s
(
e
.
row
.
periods_id
)
+
"】"
+
t
.
_s
(
e
.
row
.
periods_title
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
width
:
"105"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"老师已添加未户未通过"
,
value
:
3
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"入课时间"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
align
:
"center"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task2Detail
.
show
,
width
:
"80%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task2Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task2Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课权限"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeView
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_view_course
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_view_course"
,
a
)},
expression
:
"scope.row.is_view_course"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"是"
,
value
:
1
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
descDialog
.
show
,
title
:
"备注列表"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
descDialog
,
"show"
,
e
)}}},[
a
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
editComment
(
t
.
descDialog
.
id
)}}},[
t
.
_v
(
"添加备注"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
descDialog
.
descList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
t
.
descDialog
.
user_info
?[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
descDialog
.
user_info
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
t
.
descDialog
.
user_info
.
nickname
)
+
"(ID:"
+
t
.
_s
(
t
.
descDialog
.
user_info
.
user_id
)
+
")
\n
"
)]:
void
0
}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"operator"
,
label
:
"备注人"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"更新时间"
}})],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
"append-to-body"
:
""
,
visible
:
t
.
task3Detail
.
show
,
width
:
"80%"
,
title
:
t
.
task3Detail
.
title
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
task3Detail
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
task3Detail
.
loading
,
expression
:
"task3Detail.loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
task3Detail
.
list
,
size
:
"mini"
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
className
:
"f-c"
,
"min-width"
:
"180"
,
prop
:
"user_id"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
a
(
"br"
),
t
.
_v
(
" Tel:"
+
t
.
_s
(
e
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"进班时间"
,
"min-width"
:
"200"
,
prop
:
"last_login_at"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
desc
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否添加老师"
,
"min-width"
:
"95"
,
prop
:
"is_add_teacher"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeAddTeacher3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
is_add_teacher
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"is_add_teacher"
,
a
)},
expression
:
"scope.row.is_add_teacher"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"老师主动添加"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"用户主动添加"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"意向等级"
,
"min-width"
:
"95"
,
prop
:
"weight"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-select"
,{
attrs
:{
size
:
"mini"
},
on
:{
change
:
function
(
a
){
t
.
changeWeight3
(
e
.
row
)}},
model
:{
value
:
e
.
row
.
weight
,
callback
:
function
(
a
){
t
.
$set
(
e
.
row
,
"weight"
,
a
)},
expression
:
"scope.row.weight"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"0"
,
value
:
0
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"1"
,
value
:
1
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"2"
,
value
:
2
}}),
t
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"3"
,
value
:
3
}})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editDesc
(
e
.
row
)}}},[
t
.
_v
(
"备注"
)])]}}])})],
1
)],
1
)],
1
)};
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
u
=
d
.
exports
,
_
=
a
(
"kmJW"
),
p
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
moneyYuan
:
function
(
t
){
return
t
?(
t
/
100
).
toFixed
(
2
)
+
"元"
:
""
},
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"审核中"
:
1
===
t
?
e
=
"提现成功"
:
2
===
t
&&
(
e
=
"提现失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
n
.
_76
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
h
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"提现详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"withdraw_no"
,
label
:
"提现单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
width
:
"200"
,
className
:
"f-c"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
" "
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_mobile"
,
label
:
"手机号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"moneyYuan"
)(
e
.
row
.
money
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
e
.
row
.
status
,
green
:
1
===
e
.
row
.
status
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现成功时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
success_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现时间"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"reason"
,
label
:
"失败原因"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}})],
1
)],
1
)};
h
.
_withStripped
=!
0
;
var
v
=
{
render
:
h
,
staticRenderFns
:[]},
f
=
v
;
var
b
=!
1
;
var
m
=
a
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
t
){
b
||
a
(
"utD1"
)},
"data-v-4c99299c"
,
null
);
m
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
sourceDialog.vue"
;
var
A
=
m
.
exports
,
g
=
{
name
:
"sourceDialog"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"未使用"
:
1
===
t
?
e
=
"已使用"
:
2
===
t
&&
(
e
=
"禁用"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
order_coupon_id
:
this
.
dialogObj
.
order_coupon_id
,
limit
:
200
};
Object
(
n
.
_31
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
w
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"优惠券详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"coupon_no"
,
label
:
"优惠券码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠券金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"使用状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
}})],
1
)],
1
)};
w
.
_withStripped
=!
0
;
var
C
=
{
render
:
w
,
staticRenderFns
:[]},
k
=
C
;
var
x
=!
1
;
var
D
=
a
(
"VU/8"
)(
g
,
k
,
!
1
,
function
(
t
){
x
||
a
(
"E/ZT"
)},
"data-v-22597032"
,
null
);
D
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
couponDialog.vue"
;
var
y
=
D
.
exports
,
B
=
{
name
:
"refundDetail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"退款中"
:
1
===
t
?
e
=
"退款成功"
:
2
===
t
&&
(
e
=
"退款失败"
),
e
}},
methods
:{
initPage
:
function
(){
var
t
=
this
,
e
=
{
out_trade_no
:
this
.
dialogObj
.
out_trade_no
,
limit
:
200
};
Object
(
n
.
_56
)(
e
).
then
(
function
(
e
){
t
.
detail
=
e
.
list
})}},
watch
:{
"dialogObj.show"
:
function
(
t
){
!
0
===
t
&&
this
.
initPage
()}}},
E
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"退款详情"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialogObj
.
show
,
width
:
"90%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
detail
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"refund_no"
,
label
:
"退款编号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"order_money"
,
label
:
"订单金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
order_money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"refund_money"
,
label
:
"退款金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
refund_money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"退款状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"success_at"
,
label
:
"退款成功时间"
}})],
1
)],
1
)};
E
.
_withStripped
=!
0
;
var
S
=
{
render
:
E
,
staticRenderFns
:[]},
j
=
S
;
var
O
=!
1
;
var
$
=
a
(
"VU/8"
)(
B
,
j
,
!
1
,
function
(
t
){
O
||
a
(
"rJ82"
)},
"data-v-4c863f42"
,
null
);
$
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
refundDetail.vue"
;
var
L
=
$
.
exports
,
T
=
a
(
"0qGg"
),
z
=
a
(
"CfzE"
),
F
=
{
name
:
"index"
,
props
:[
"parentDetail"
],
components
:{
page
:
_
.
a
,
task
:
u
,
UserList
:
T
.
a
,
chooseGoodDialog
:
z
.
a
,
couponDialog
:
y
,
refundDetail
:
L
,
sourceDialog
:
A
},
data
:
function
(){
return
{
searchFrom
:{
user_id
:
""
,
is_add_teacher
:
""
,
is_view_course
:
""
,
start_at
:
""
,
end_at
:
""
},
form
:{
nickname
:
""
,
user_id
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
receive_mobile
:
""
,
mobile
:
""
},
goodList
:[],
orderStatusOption
:
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
:{
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
.
_98
)(
this
.
id
,{
user_id
:
this
.
addId
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"绑定成功!"
}),
t
.
id
=
t
.
parentDetail
?
t
.
parentDetail
.
id
:
t
.
$route
.
params
.
id
,
t
.
getTeacherDetail
(),
t
.
getGoodsOption
(),
t
.
addShow
=!
1
})):
this
.
$message
({
type
:
"error"
,
message
:
"只能选择一个用户!"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
})},
onAddUser
:
function
(
t
){
this
.
isBindUser
=
t
,
this
.
addShow
=!
0
,
this
.
getUser
()},
getUser
:
function
(){
var
t
=
this
,
e
=
{
page
:
this
.
userObj
.
nowPage
,
limit
:
this
.
userObj
.
limit
};
this
.
searchFrom
.
userId
&&
(
e
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
e
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
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
){
e
.
class_list
&&
(
e
.
class_list
.
list
.
forEach
(
function
(
t
){
t
.
arrive_course_rate
=
0
,
t
.
watch_course_rate
=
0
,
t
.
over_course_rate
=
0
,
t
.
work_rate
=
0
,
t
.
over_work_rate
=
0
,
t
.
clock_rate
=
0
,
t
.
over_clock_rate
=
0
,
t
.
transform_rate
=
0
}),
t
.
list
=
e
.
class_list
.
list
||
[],
t
.
total
=
e
.
class_list
.
total
),
t
.
detail
=
e
,
t
.
getOrderList
()})},
createInviteLink
:
function
(
t
){
this
.
chooseGoodDialogObj
.
show
=!
0
,
0
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
:
1
==
this
.
detail
.
type
?
this
.
chooseGoodDialogObj
.
code
=
"CC-XXMM-"
+
t
.
user_id
:
this
.
chooseGoodDialogObj
.
code
=
"CC-TEACHER-"
+
t
.
user_id
},
changeShow
:
function
(){
this
.
chooseGoodDialogObj
.
show
=!
1
,
this
.
chooseGoodDialogObj
.
code
=
""
},
getOrderList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
orderListObj
.
limit
,
page
:
this
.
orderListObj
.
nowPage
};
this
.
form
.
nickname
&&
(
e
.
nickname
=
this
.
form
.
nickname
),
this
.
form
.
user_id
&&
(
e
.
user_id
=
this
.
form
.
user_id
),
this
.
form
.
status
&&
(
e
.
status
=
this
.
form
.
status
.
toString
()),
this
.
form
.
goods_id
&&
(
e
.
goods_id
=
this
.
form
.
goods_id
),
this
.
form
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
form
.
receive_mobile
),
this
.
form
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
form
.
out_trade_no
),
this
.
form
.
mobile
&&
(
e
.
mobile
=
this
.
form
.
mobile
),
0
!==
this
.
detail
.
user_id
&&
(
e
.
invite_id
=
this
.
detail
.
user_id
,
Object
(
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
,
this
.
getTeacherDetail
(),
this
.
getGoodsOption
()}},
Y
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"teacher"
},[
a
(
"div"
,{
staticClass
:
"header"
},[
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
,
"margin-right"
:
"10px"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
a
(
"label"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"teacherType"
)(
t
.
detail
.
type
))
+
":"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
name
)
+
"(T"
+
t
.
_s
(
t
.
detail
.
squad
)
+
")
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"small"
,
type
:
"success"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
onAddUser
(
!
0
)}}},[
t
.
_v
(
"老师绑定用户"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
qr
,
target
:
"_blank"
}},[
a
(
"img"
,{
attrs
:{
src
:
t
.
detail
.
qr
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
alias
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"带班总人数:"
)]),
t
.
_v
(
t
.
_s
(
t
.
detail
.
total_join_num
)
+
"
\n
"
),
a
(
"br"
),
t
.
_v
(
" "
),
a
(
"label"
,[
t
.
_v
(
"老师状态:"
)]),
t
.
_v
(
t
.
_s
(
0
===
t
.
detail
.
status
?
"正常"
:
"禁用"
)
+
"
\n
"
)])])]),
t
.
_v
(
" "
),
t
.
detail
.
user_info
?
a
(
"el-card"
,{
staticStyle
:{
width
:
"450px"
,
display
:
"inline-block"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
a
(
"span"
,[
t
.
_v
(
"绑定用户"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
createInviteLink
(
t
.
detail
.
user_info
)}}},[
t
.
_v
(
"
\n
复制专属链接
\n
"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"card-content"
},[
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"a"
,{
attrs
:{
href
:
t
.
detail
.
user_info
.
avatar
,
target
:
"_blank"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
detail
.
user_info
.
avatar
}})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"微信号:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
nickname
)
+
"
\n
"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"text item"
},[
a
(
"label"
,[
t
.
_v
(
"用户ID:"
)]),
t
.
_v
(
" "
+
t
.
_s
(
t
.
detail
.
user_info
.
user_id
)
+
"
\n
"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"今日任务"
}},[
a
(
"task"
,{
attrs
:{
parentDetail
:
t
.
parentDetail
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数列表"
}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
},
on
:{
"expand-change"
:
t
.
changeRow
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:[
e
.
row
]}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"到课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
arrive_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"看课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
watch_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完课率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_course_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤作业率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_work_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"全勤打卡率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
over_clock_rate
)))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"转化率"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"percent"
)(
e
.
row
.
transform_rate
)))])]}}])})],
1
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_name"
,
label
:
"班级名称"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"join_num"
,
label
:
"已进班人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"need_add_teacher_num"
,
label
:
"需加好友数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"max_join_num"
,
label
:
"最大班级人数"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开课时间"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"280"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
t
.
showUser
(
e
.
row
)}}},[
t
.
_v
(
"
\n
班级成员
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"订单列表"
}},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
user_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"user_id"
,
e
)},
expression
:
"form.user_id"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
nickname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"nickname"
,
e
)},
expression
:
"form.nickname"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"mobile"
,
e
)},
expression
:
"form.mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
form
.
receive_mobile
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"receive_mobile"
,
e
)},
expression
:
"form.receive_mobile"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getOrderList
},
model
:{
value
:
t
.
form
.
goods_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"goods_id"
,
e
)},
expression
:
"form.goods_id"
}},
t
.
_l
(
t
.
goodList
,
function
(
e
,
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
)};
Y
.
_withStripped
=!
0
;
var
I
=
{
render
:
Y
,
staticRenderFns
:[]},
U
=
I
;
var
P
=!
1
;
var
Z
=
a
(
"VU/8"
)(
F
,
U
,
!
1
,
function
(
t
){
P
||
(
a
(
"MeUK"
),
a
(
"Q5Z3"
))},
"data-v-67261a49"
,
null
);
Z
.
options
.
__file
=
"src
\\
components
\\
teacherDetail
\\
index.vue"
;
e
.
default
=
Z
.
exports
},
rJ82
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"SWNE"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"7221ac08"
,
n
,
!
1
,{})},
utD1
:
function
(
t
,
e
,
a
){
var
n
=
a
(
"64hg"
);
"string"
==
typeof
n
&&
(
n
=
[[
t
.
i
,
n
,
""
]]),
n
.
locals
&&
(
t
.
exports
=
n
.
locals
);
a
(
"rjj0"
)(
"5dac314c"
,
n
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/manifest.37a2c22f6d7341ea6070.js
0 → 100644
View file @
6dd2039b
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
54
:
0
};
function
b
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
b
){
a
=
f
[
e
]
=
[
c
,
b
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ad7667ef49edaeb356fd"
,
1
:
"38358a40bc217794f903"
,
2
:
"5390639de944dba5e977"
,
3
:
"6694ba874a5220f39f37"
,
4
:
"83fe6e13c3ab27798a53"
,
5
:
"e5f77b77773d0d3629a0"
,
6
:
"3d5165fca25427d0f542"
,
7
:
"e80fa8feb66814d12e51"
,
8
:
"105e48cc3f5b5ba4ae4e"
,
9
:
"30c7f2a691896ab85fe7"
,
10
:
"da0baa59c7ac13494b8a"
,
11
:
"c43bedf5fe01822e90eb"
,
12
:
"e126e28fbda24c4e829e"
,
13
:
"d6c52940b76286f07db5"
,
14
:
"df68d9fbcbe28396929a"
,
15
:
"66d58c275819c2249751"
,
16
:
"3cd53e06fe8a491f38b0"
,
17
:
"7a0049eb4b76677dc78c"
,
18
:
"44a7645d0dd322ac44aa"
,
19
:
"cd68059bd5d3c961f7c6"
,
20
:
"e4813c3542990106882a"
,
21
:
"8a9994c770b1161e590f"
,
22
:
"7b28de5eacc188a6623e"
,
23
:
"44441fb27052f4853044"
,
24
:
"280f3dcdb4ea1b0cfe79"
,
25
:
"40309740d3bf3fdb0c4a"
,
26
:
"7f4cc617606e30485c6f"
,
27
:
"a197b7daba26282173e3"
,
28
:
"df64b1900e33e29f2394"
,
29
:
"c98bc5732c84c8ec6811"
,
30
:
"5525fa4ae0d76dcbf2d1"
,
31
:
"d09088b15f2df41fa1a4"
,
32
:
"eae986e73b783d40add5"
,
33
:
"a9db80e96f71ca22d41b"
,
34
:
"1515030948739f750b37"
,
35
:
"04f400392ebba7e9db1a"
,
36
:
"d8718f748785cf74a56a"
,
37
:
"ae87ec293ec61bb0419f"
,
38
:
"90e038c1fa522c86a602"
,
39
:
"98d8ee239c9c23c4838e"
,
40
:
"512c3138c205bbab4790"
,
41
:
"5df0b31126978ab8ba3c"
,
42
:
"2feebd084f6dffbc96c2"
,
43
:
"de8cb8ffe5a16b4d9b54"
,
44
:
"af8a5060ba9860650684"
,
45
:
"f002ee4b50549513cd1e"
,
46
:
"c7a241e6a32e5fa761c0"
,
47
:
"7babb73407bf7783de4b"
,
48
:
"d70b98a090081b6e2906"
,
49
:
"4b3ee0f144df83518bbf"
,
50
:
"e57b4438becf748fbeaf"
,
51
:
"630884771fea6cb0cbd9"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
a
,
c
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dev/static/js/manifest.a4f3974bc94a2956ea3e.js
0 → 100644
View file @
6dd2039b
!
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
:
"ad7667ef49edaeb356fd"
,
1
:
"38358a40bc217794f903"
,
2
:
"5390639de944dba5e977"
,
3
:
"8cb1730e0b21b5edc0b8"
,
4
:
"83fe6e13c3ab27798a53"
,
5
:
"e5f77b77773d0d3629a0"
,
6
:
"3d5165fca25427d0f542"
,
7
:
"e80fa8feb66814d12e51"
,
8
:
"105e48cc3f5b5ba4ae4e"
,
9
:
"dc2867c72ebe998cae5d"
,
10
:
"da0baa59c7ac13494b8a"
,
11
:
"c43bedf5fe01822e90eb"
,
12
:
"e126e28fbda24c4e829e"
,
13
:
"d6c52940b76286f07db5"
,
14
:
"df68d9fbcbe28396929a"
,
15
:
"66d58c275819c2249751"
,
16
:
"3cd53e06fe8a491f38b0"
,
17
:
"7a0049eb4b76677dc78c"
,
18
:
"44a7645d0dd322ac44aa"
,
19
:
"cd68059bd5d3c961f7c6"
,
20
:
"e4813c3542990106882a"
,
21
:
"8a9994c770b1161e590f"
,
22
:
"7b28de5eacc188a6623e"
,
23
:
"44441fb27052f4853044"
,
24
:
"280f3dcdb4ea1b0cfe79"
,
25
:
"40309740d3bf3fdb0c4a"
,
26
:
"7f4cc617606e30485c6f"
,
27
:
"a197b7daba26282173e3"
,
28
:
"df64b1900e33e29f2394"
,
29
:
"c98bc5732c84c8ec6811"
,
30
:
"5525fa4ae0d76dcbf2d1"
,
31
:
"d09088b15f2df41fa1a4"
,
32
:
"eae986e73b783d40add5"
,
33
:
"a9db80e96f71ca22d41b"
,
34
:
"1515030948739f750b37"
,
35
:
"04f400392ebba7e9db1a"
,
36
:
"d8718f748785cf74a56a"
,
37
:
"ae87ec293ec61bb0419f"
,
38
:
"90e038c1fa522c86a602"
,
39
:
"98d8ee239c9c23c4838e"
,
40
:
"512c3138c205bbab4790"
,
41
:
"5df0b31126978ab8ba3c"
,
42
:
"2feebd084f6dffbc96c2"
,
43
:
"de8cb8ffe5a16b4d9b54"
,
44
:
"af8a5060ba9860650684"
,
45
:
"f002ee4b50549513cd1e"
,
46
:
"c7a241e6a32e5fa761c0"
,
47
:
"7babb73407bf7783de4b"
,
48
:
"d70b98a090081b6e2906"
,
49
:
"4b3ee0f144df83518bbf"
,
50
:
"e57b4438becf748fbeaf"
,
51
:
"630884771fea6cb0cbd9"
}[
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/teacherDetail/task.vue
View file @
6dd2039b
...
@@ -94,15 +94,14 @@
...
@@ -94,15 +94,14 @@
</div>
</div>
</div>
</div>
<div
class=
"over_work"
>
<div
class=
"over_work"
>
<div
class=
"header bg-h"
>
全勤人数
</div>
<div
class=
"header bg-h"
>
截止今日
全勤人数
</div>
<el-button
size=
"mini"
type=
"text"
@
click=
"showOverWorkDetail(scope.row
)"
>
{{data.total_watch_user_num}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"showOverWorkDetail(data
)"
>
{{data.total_watch_user_num}}
</el-button>
</div>
</div>
<div
class=
"recall"
>
<div
class=
"recall"
>
<div
class=
"header bg-h"
>
今日需召回人数
</div>
<div
class=
"header bg-h"
>
今日需召回人数
</div>
<el-button
size=
"mini"
type=
"text"
@
click=
"showRecallDetail(
scope.row
)"
>
{{data.need_recall_user_num}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"showRecallDetail(
data
)"
>
{{data.need_recall_user_num}}
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
...
@@ -356,7 +355,8 @@
...
@@ -356,7 +355,8 @@
loading
:
false
,
loading
:
false
,
periods_id
:
''
,
periods_id
:
''
,
cur_date
:
''
,
cur_date
:
''
,
title
:
''
title
:
''
,
type
:
0
,
}
}
}
}
},
},
...
@@ -373,6 +373,7 @@
...
@@ -373,6 +373,7 @@
this
.
task3Detail
.
periods_id
=
data
.
periods_id
;
this
.
task3Detail
.
periods_id
=
data
.
periods_id
;
this
.
task3Detail
.
is_watch
=
is_watch
;
this
.
task3Detail
.
is_watch
=
is_watch
;
this
.
task3Detail
.
cur_date
=
cur_date
;
this
.
task3Detail
.
cur_date
=
cur_date
;
this
.
task3Detail
.
type
=
1
;
this
.
task3Detail
.
title
=
`【
${
data
.
periods_id
}
】
${
data
.
title
}
${
is_true
===
1
?
'已'
:
'未'
}${
is_watch
===
1
?
'看课'
:
'打卡'
}
学员`
this
.
task3Detail
.
title
=
`【
${
data
.
periods_id
}
】
${
data
.
title
}
${
is_true
===
1
?
'已'
:
'未'
}${
is_watch
===
1
?
'看课'
:
'打卡'
}
学员`
getWatchUserApi
(
data
.
periods_id
,
this
.
id
,
json
).
then
(
res
=>
{
getWatchUserApi
(
data
.
periods_id
,
this
.
id
,
json
).
then
(
res
=>
{
this
.
task3Detail
.
loading
=
false
;
this
.
task3Detail
.
loading
=
false
;
...
@@ -383,11 +384,9 @@
...
@@ -383,11 +384,9 @@
let
json
=
{};
let
json
=
{};
this
.
task3Detail
.
show
=
true
;
this
.
task3Detail
.
show
=
true
;
this
.
task3Detail
.
loading
=
true
;
this
.
task3Detail
.
loading
=
true
;
this
.
task3Detail
.
is_true
=
is_true
;
this
.
task3Detail
.
periods_id
=
data
.
periods_id
;
this
.
task3Detail
.
periods_id
=
data
.
periods_id
;
this
.
task3Detail
.
is_watch
=
is_watch
;
this
.
task3Detail
.
type
=
2
;
this
.
task3Detail
.
cur_date
=
cur_date
;
this
.
task3Detail
.
title
=
`【
${
data
.
periods_id
}
】
${
data
.
title
}
截止今日全勤学员`
this
.
task3Detail
.
title
=
`【
${
data
.
periods_id
}
】
${
data
.
title
}
截止当天全勤学员`
getOverWatchListApi
(
data
.
periods_id
,
this
.
id
,
json
).
then
(
res
=>
{
getOverWatchListApi
(
data
.
periods_id
,
this
.
id
,
json
).
then
(
res
=>
{
this
.
task3Detail
.
loading
=
false
;
this
.
task3Detail
.
loading
=
false
;
this
.
task3Detail
.
list
=
res
this
.
task3Detail
.
list
=
res
...
@@ -398,10 +397,8 @@
...
@@ -398,10 +397,8 @@
let
json
=
{};
let
json
=
{};
this
.
task3Detail
.
show
=
true
;
this
.
task3Detail
.
show
=
true
;
this
.
task3Detail
.
loading
=
true
;
this
.
task3Detail
.
loading
=
true
;
this
.
task3Detail
.
is_true
=
is_true
;
this
.
task3Detail
.
periods_id
=
data
.
periods_id
;
this
.
task3Detail
.
periods_id
=
data
.
periods_id
;
this
.
task3Detail
.
is_watch
=
is_watch
;
this
.
task3Detail
.
type
=
3
;
this
.
task3Detail
.
cur_date
=
cur_date
;
this
.
task3Detail
.
title
=
`【
${
data
.
periods_id
}
】
${
data
.
title
}
今日需要招回学员`
this
.
task3Detail
.
title
=
`【
${
data
.
periods_id
}
】
${
data
.
title
}
今日需要招回学员`
getRecallListApi
(
data
.
periods_id
,
this
.
id
,
json
).
then
(
res
=>
{
getRecallListApi
(
data
.
periods_id
,
this
.
id
,
json
).
then
(
res
=>
{
this
.
task3Detail
.
loading
=
false
;
this
.
task3Detail
.
loading
=
false
;
...
@@ -429,6 +426,7 @@
...
@@ -429,6 +426,7 @@
})
})
},
},
refDesc3
(){
refDesc3
(){
if
(
this
.
task3Detail
.
type
===
1
){
let
json
=
{
let
json
=
{
is_true
:
this
.
task3Detail
.
is_true
,
is_true
:
this
.
task3Detail
.
is_true
,
is_watch
:
this
.
task3Detail
.
is_watch
,
is_watch
:
this
.
task3Detail
.
is_watch
,
...
@@ -440,6 +438,20 @@
...
@@ -440,6 +438,20 @@
this
.
task3Detail
.
show
=
true
;
this
.
task3Detail
.
show
=
true
;
this
.
task3Detail
.
list
=
res
this
.
task3Detail
.
list
=
res
})
})
}
else
if
(
this
.
task3Detail
.
type
===
2
){
getOverWatchListApi
(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
res
=>
{
this
.
task3Detail
.
loading
=
false
;
this
.
task3Detail
.
show
=
true
;
this
.
task3Detail
.
list
=
res
})
}
else
if
(
this
.
task3Detail
.
type
===
3
)
{
showRecallDetail
(
this
.
task3Detail
.
periods_id
,
this
.
id
,{}).
then
(
res
=>
{
this
.
task3Detail
.
loading
=
false
;
this
.
task3Detail
.
show
=
true
;
this
.
task3Detail
.
list
=
res
})
}
},
},
showTask2Detail
(
data
){
showTask2Detail
(
data
){
...
@@ -603,10 +615,10 @@
...
@@ -603,10 +615,10 @@
min-width: 90px;
min-width: 90px;
}
}
&.over_work{
&.over_work{
min-width:
9
0px;
min-width:
12
0px;
}
}
&.recall{
&.recall{
min-width:
9
0px;
min-width:
11
0px;
}
}
.header{
.header{
position: absolute;
position: absolute;
...
...
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