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
4112fa45
Commit
4112fa45
authored
Sep 03, 2019
by
赵茹林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build teacherfix
parent
7b03e057
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
26 additions
and
1 deletion
+26
-1
index.html
dist/index.html
+1
-1
app.531a7fb9d06b24280bc1aa5681e5ca9a.css
dist/static/css/app.531a7fb9d06b24280bc1aa5681e5ca9a.css
+1
-0
26.d97fd226fdb6065cee9a.js
dist/static/js/26.d97fd226fdb6065cee9a.js
+1
-0
27.d4802e89ee8318ba6016.js
dist/static/js/27.d4802e89ee8318ba6016.js
+1
-0
28.9de147aff79a70da4c83.js
dist/static/js/28.9de147aff79a70da4c83.js
+1
-0
29.4bb6a854e8e9e908be1c.js
dist/static/js/29.4bb6a854e8e9e908be1c.js
+1
-0
30.bd3d4b628f4f670fe896.js
dist/static/js/30.bd3d4b628f4f670fe896.js
+1
-0
31.aeeb08941e4d82ed0957.js
dist/static/js/31.aeeb08941e4d82ed0957.js
+1
-0
32.3957b3c2f5e52a831472.js
dist/static/js/32.3957b3c2f5e52a831472.js
+1
-0
33.87f7f8d3afef61e46b44.js
dist/static/js/33.87f7f8d3afef61e46b44.js
+1
-0
34.97af662650c5bd305758.js
dist/static/js/34.97af662650c5bd305758.js
+1
-0
35.470e33376d819086ecfa.js
dist/static/js/35.470e33376d819086ecfa.js
+1
-0
36.858500f3da5fc516d4b1.js
dist/static/js/36.858500f3da5fc516d4b1.js
+1
-0
58.4bfa5d88102cf3d20a00.js
dist/static/js/58.4bfa5d88102cf3d20a00.js
+1
-0
59.2a74a9bd6c05eb7b0a42.js
dist/static/js/59.2a74a9bd6c05eb7b0a42.js
+1
-0
60.15f4c68aa6f51d629833.js
dist/static/js/60.15f4c68aa6f51d629833.js
+1
-0
61.f1f918879fffd50063fc.js
dist/static/js/61.f1f918879fffd50063fc.js
+1
-0
62.9f14c3144130e9d1ace0.js
dist/static/js/62.9f14c3144130e9d1ace0.js
+1
-0
63.d8b8c40f74def7a4b9d7.js
dist/static/js/63.d8b8c40f74def7a4b9d7.js
+1
-0
64.ee38beac5e4d808a897d.js
dist/static/js/64.ee38beac5e4d808a897d.js
+1
-0
65.68863829f6aba58b94a0.js
dist/static/js/65.68863829f6aba58b94a0.js
+1
-0
66.3c1304239ffe658f617c.js
dist/static/js/66.3c1304239ffe658f617c.js
+1
-0
67.bb8a657fc31dbc5a7d73.js
dist/static/js/67.bb8a657fc31dbc5a7d73.js
+1
-0
68.0732087699fa9a829c9e.js
dist/static/js/68.0732087699fa9a829c9e.js
+1
-0
app.fa018bb773a0f24c0443.js
dist/static/js/app.fa018bb773a0f24c0443.js
+1
-0
manifest.5eceed2ae075999136ba.js
dist/static/js/manifest.5eceed2ae075999136ba.js
+1
-0
No files found.
dist/index.html
View file @
4112fa45
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
4c224b34f3ceef4161b8f6114ee004f0.css
rel=
stylesheet
></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.66920110c14547d9f5a4.js
></script><script
type=
text/javascript
src=
/static/js/vendor.67bcaac7027a9ca0cb5c.js
></script><script
type=
text/javascript
src=
/static/js/app.92650e760a380d0b873f
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.11.1/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
531a7fb9d06b24280bc1aa5681e5ca9a.css
rel=
stylesheet
></head><body><script
src=
https://lib.baomitu.com/vue/2.5.17/vue.js
></script><script
src=
https://lib.baomitu.com/vuex/3.0.1/vuex.min.js
></script><script
src=
https://lib.baomitu.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.11.1/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.5eceed2ae075999136ba.js
></script><script
type=
text/javascript
src=
/static/js/vendor.67bcaac7027a9ca0cb5c.js
></script><script
type=
text/javascript
src=
/static/js/app.fa018bb773a0f24c0443
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dist/static/css/app.531a7fb9d06b24280bc1aa5681e5ca9a.css
0 → 100644
View file @
4112fa45
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/26.d97fd226fdb6065cee9a.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
26
],{
"89rD"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
n
=
{
name
:
"index"
,
components
:{
page
:
a
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
refundTypeList
:[{
id
:
0
,
value
:
"退款中"
},{
id
:
1
,
value
:
"退款成功"
},{
id
:
2
,
value
:
"退款失败"
}],
searchFrom
:{
nickname
:
""
,
user_id
:
""
,
out_trade_no
:
""
,
status
:
"1"
},
list
:[]}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
.
status
?
e
=
"退款中"
:
1
===
t
.
status
?
e
=
"退款成功"
:
2
===
t
.
status
&&
(
e
=
"退款失败("
+
t
.
err_msg
+
")"
),
e
}},
mounted
:
function
(){
this
.
getRefundList
()},
methods
:{
editComment
:
function
(
t
,
e
){
var
a
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
e
}).
then
(
function
(
e
){
var
n
=
e
.
value
;
Object
(
s
.
_19
)(
t
,
"refund"
,{
desc
:
n
}).
then
(
function
(
t
){
a
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
a
.
getRefundList
()})})},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getRefundList
()},
onSizeChange
:
function
(
t
){
this
.
nowPage
=
1
,
this
.
limit
=
t
,
this
.
getRefundList
()},
getRefundList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
nickname
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
status
&&
"-1"
!==
this
.
searchFrom
.
status
&&
(
e
.
status
=
this
.
searchFrom
.
status
),
this
.
searchFrom
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
Object
(
s
.
_89
)(
e
).
then
(
function
(
e
){
t
.
total
=
e
.
total
,
t
.
list
=
e
.
list
})},
exportTable
:
function
(){
var
t
=
{};
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
this
.
searchFrom
.
out_trade_no
&&
(
t
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
Object
(
s
.
_27
)(
"/api/admin/refund/export"
,
t
,
"退款列表"
)}}},
r
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"refund"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
nickname
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"nickname"
,
e
)},
expression
:
"searchFrom.nickname"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
user_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"user_id"
,
e
)},
expression
:
"searchFrom.user_id"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单编号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
out_trade_no
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"out_trade_no"
,
e
)},
expression
:
"searchFrom.out_trade_no"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
"label-width"
:
"10px"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
getRefundList
}},[
t
.
_v
(
"搜索"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
export
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
exportTable
}},[
t
.
_v
(
"导出"
)]):
t
.
_e
()],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
getRefundList
},
model
:{
value
:
t
.
searchFrom
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"status"
,
e
)},
expression
:
"searchFrom.status"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"退款成功"
,
name
:
"1"
}}),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"退款中"
,
name
:
"0"
}}),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"退款失败"
,
name
:
"2"
}}),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
}},[
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
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"success_at"
,
label
:
"退款成功时间"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"80"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editComment
(
e
.
row
.
id
,
e
.
row
.
desc
)}}},[
t
.
_v
(
"
\n
备注
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
n
,
r
,
!
1
,
function
(
t
){
a
(
"U5sH"
),
a
(
"VPi6"
)},
"data-v-eb7558de"
,
null
);
e
.
default
=
o
.
exports
},
U5sH
:
function
(
t
,
e
){},
VPi6
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/27.d4802e89ee8318ba6016.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
27
],{
"/Zag"
:
function
(
t
,
e
){},
"/lIG"
:
function
(
t
,
e
){},
CGL6
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"CCn6"
),
n
=
{
name
:
"banner"
,
components
:{
page
:
i
(
"kmJW"
).
a
},
data
:
function
(){
return
{
loading
:
!
1
,
bannerList
:[],
searchFrom
:{
status
:
"1"
,
type
:
"2"
},
total
:
0
,
nowPage
:
1
,
uploadShow
:
!
0
,
limit
:
10
,
dialog
:{
title
:
"新增"
,
show
:
!
1
,
rules
:{
title
:[{
required
:
!
0
,
message
:
"请填写名称"
,
trigger
:
"change"
}],
link
:[{
required
:
!
0
,
message
:
"请填写链接"
,
trigger
:
"change"
}],
sub_title
:[{
required
:
!
0
,
message
:
"请填写子名称"
,
trigger
:
"change"
}]},
form
:{
title
:
""
,
url
:
""
,
link
:
""
,
id
:
""
,
sub_title
:
""
}},
imageList
:[],
audio
:[]}},
created
:
function
(){
this
.
getList
()},
filters
:{
status
:
function
(
t
){
return
1
===
t
?
"上架中"
:
"已下架"
}},
methods
:{
removeFileAudio2
:
function
(
t
,
e
){
this
.
audio
=
e
},
handleExceed
:
function
(){},
beforeAvatarAudio
:
function
(
t
){
var
e
=
"audio/mp3"
===
t
.
type
;
return
e
||
this
.
$message
.
error
(
"上传视频只能是MP3格式!"
),
e
},
uploadFileAudio2
:
function
(
t
){
var
e
=
this
;
Object
(
a
.
_196
)({
file
:
t
.
file
,
type
:
"local"
,
obj
:
t
}).
then
(
function
(
i
){
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
}),
t
.
onSuccess
(
"上传成功"
),
e
.
dialog
.
form
.
link
=
"https://cdn.singsingenglish.com/"
+
i
.
url
,
e
.
audio
.
push
({
name
:
i
.
name
,
url
:
"https://cdn.singsingenglish.com/"
+
i
.
url
,
title
:
""
,
tips
:
""
,
image
:
""
})})},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getList
()},
changeStatus
:
function
(
t
){
var
e
=
this
,
i
=
void
0
,
n
=
void
0
;
1
===
t
.
status
?(
i
=
"此操作将下架,是否继续?"
,
n
=
2
):(
i
=
"此操作将上架,是否继续?"
,
n
=
1
),
this
.
$confirm
(
i
,
"提示"
,{
confirmButtonText
:
"继续"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
i
=
{
status
:
n
};
Object
(
a
.
x
)(
t
.
id
,
i
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
getList
()})})},
onSizeChange
:
function
(
t
){
this
.
nowPage
=
1
,
this
.
limit
=
t
,
this
.
getList
()},
getList
:
function
(){
var
t
=
this
;
this
.
loading
=!
0
;
var
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
"-1"
!==
this
.
searchFrom
.
status
&&
(
e
.
status
=
this
.
searchFrom
.
status
),
Object
(
a
.
_37
)(
this
.
searchFrom
.
type
,
e
).
then
(
function
(
e
){
e
&&
(
t
.
bannerList
=
e
.
list
,
t
.
total
=
e
.
total
,
t
.
loading
=!
1
)})},
edit
:
function
(
t
){
var
e
=
this
;
this
.
dialog
.
form
.
id
=
t
.
id
,
this
.
dialog
.
title
=
"编辑"
,
Object
(
a
.
_36
)(
t
.
id
).
then
(
function
(
t
){
e
.
dialog
.
form
.
title
=
t
.
title
,
e
.
dialog
.
form
.
sub_title
=
t
.
sub_title
,
e
.
dialog
.
form
.
link
=
t
.
link
,
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
t
.
url
}],
e
.
dialog
.
show
=!
0
,
e
.
uploadShow
=!
1
,
e
.
audio
=
[]})},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增"
,
this
.
dialog
.
form
.
title
=
""
,
this
.
dialog
.
form
.
sub_title
=
""
,
this
.
dialog
.
form
.
link
=
""
,
this
.
imageList
=
[],
this
.
uploadShow
=!
0
,
this
.
audio
=
[]},
del
:
function
(
t
){
var
e
=
this
;
this
.
$confirm
(
"此操作将删除该?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
I
)(
t
.
id
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
e
.
getList
()})})},
handleAvatarSuccess
:
function
(
t
){
this
.
imageList
=
[{
name
:
t
.
data
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
data
.
url
}],
this
.
dialog
.
form
.
url
=
"https://cdn.singsingenglish.com/"
+
t
.
data
.
url
},
beforeAvatarUpload
:
function
(){
this
.
uploadShow
=!
1
},
handleRemove
:
function
(){
this
.
uploadShow
=!
0
},
sub
:
function
(){
var
t
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
e
){
if
(
e
){
var
i
=
t
.
dialog
;
if
(
i
.
form
.
id
){
var
n
=
{
title
:
i
.
form
.
title
,
link
:
i
.
form
.
link
,
sub_title
:
i
.
form
.
sub_title
};
t
.
imageList
.
length
>
0
&&
(
n
.
url
=
t
.
imageList
[
0
].
url
),
t
.
$confirm
(
"确认修改"
,
"提示"
,{
confirmButtonText
:
"继续"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
_8
)(
i
.
form
.
id
,
n
).
then
(
function
(){
t
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
i
.
show
=!
1
,
t
.
getList
()})})}
else
{
var
s
=
{
title
:
i
.
form
.
title
,
link
:
i
.
form
.
link
,
sub_title
:
i
.
form
.
sub_title
};
t
.
imageList
.
length
>
0
&&
(
s
.
url
=
t
.
imageList
[
0
].
url
),
t
.
$confirm
(
"确认添加"
,
"提示"
,{
confirmButtonText
:
"继续"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
c
)(
t
.
searchFrom
.
type
,
s
).
then
(
function
(){
t
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
i
.
show
=!
1
,
t
.
getList
()})})}}})},
moveUp
:
function
(
t
){
var
e
=
this
.
bannerList
;
this
.
sort
(
e
[
t
].
id
,
e
[
t
-
1
].
id
)},
moveDown
:
function
(
t
){
var
e
=
this
.
bannerList
;
this
.
sort
(
e
[
t
+
1
].
id
,
e
[
t
].
id
)},
sort
:
function
(
t
,
e
){
var
i
=
this
;
this
.
loading
=!
0
,
Object
(
a
.
_137
)(
t
,
e
).
then
(
function
(){
i
.
loading
=!
1
,
i
.
getList
()})},
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
(
a
.
_196
)({
file
:
t
.
file
,
type
:
"local"
}).
then
(
function
(
t
){
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
loading
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
e
.
loading
=!
1
})}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"banner"
},[
i
(
"div"
,{
staticClass
:
"head clear-both"
},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
t
.
add
}},[
t
.
_v
(
"新增"
)])],
1
),
t
.
_v
(
" "
),
i
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
getList
},
model
:{
value
:
t
.
searchFrom
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"type"
,
e
)},
expression
:
"searchFrom.type"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"磨耳朵"
,
name
:
"2"
}}),
t
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"启蒙小课堂"
,
name
:
"3"
}}),
t
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"明星学员"
,
name
:
"4"
}}),
t
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"精彩直播课"
,
name
:
"5"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
getList
},
model
:{
value
:
t
.
searchFrom
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"status"
,
e
)},
expression
:
"searchFrom.status"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
t
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"上架"
,
name
:
"1"
}}),
t
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"下架"
,
name
:
"2"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
bannerList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"ID"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"标题"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"url"
,
label
:
"图片"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"a"
,{
attrs
:{
href
:
t
.
row
.
url
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticClass
:
"short-banner"
,
attrs
:{
src
:
t
.
row
.
url
}})])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"status"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"link"
,
label
:
"链接"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"280"
}},[
i
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
i
){
t
.
edit
(
e
.
row
)}}},[
t
.
_v
(
"
\n
编辑
\n
"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
deletePermission
?
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
i
){
t
.
del
(
e
.
row
)}}},[
t
.
_v
(
"
\n
删除
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
row
.
status
?
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
i
){
t
.
changeStatus
(
e
.
row
)}}},[
t
.
_v
(
"
\n
上架
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
row
.
status
?
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
i
){
t
.
changeStatus
(
e
.
row
)}}},[
t
.
_v
(
"
\n
下架
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
$index
>
0
?
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
i
){
t
.
moveUp
(
e
.
$index
)}}},[
t
.
_v
(
"
\n
上移
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
$index
!==
t
.
bannerList
.
length
-
1
?
i
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
i
){
t
.
moveDown
(
e
.
$index
)}}},[
t
.
_v
(
"
\n
下移
\n
"
)]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
t
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}}),
t
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
t
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
t
.
dialog
.
show
,
width
:
"30%"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialog
,
"show"
,
e
)}}},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
t
.
dialog
.
rules
,
model
:
t
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"名称"
,
prop
:
"title"
}},[
i
(
"el-input"
,{
model
:{
value
:
t
.
dialog
.
form
.
title
,
callback
:
function
(
e
){
t
.
$set
(
t
.
dialog
.
form
,
"title"
,
e
)},
expression
:
"dialog.form.title"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"二级名称"
,
prop
:
"sub_title"
}},[
i
(
"el-input"
,{
model
:{
value
:
t
.
dialog
.
form
.
sub_title
,
callback
:
function
(
e
){
t
.
$set
(
t
.
dialog
.
form
,
"sub_title"
,
e
)},
expression
:
"dialog.form.sub_title"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"链接"
,
prop
:
"link"
}},[
i
(
"el-input"
,{
model
:{
value
:
t
.
dialog
.
form
.
link
,
callback
:
function
(
e
){
t
.
$set
(
t
.
dialog
.
form
,
"link"
,
e
)},
expression
:
"dialog.form.link"
}})],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"upload-block"
},[
i
(
"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
}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})]),
t
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"size"
},[
t
.
_v
(
"750*400"
)])],
1
),
t
.
_v
(
" "
),
2
==
t
.
searchFrom
.
type
&&
0
==
t
.
audio
.
length
?
i
(
"el-upload"
,{
staticClass
:
"upload-demo"
,
attrs
:{
"http-request"
:
t
.
uploadFileAudio2
,
"before-upload"
:
t
.
beforeAvatarAudio
,
"file-list"
:
t
.
audio
,
"on-exceed"
:
t
.
handleExceed
,
"on-remove"
:
t
.
removeFileAudio2
,
drag
:
""
,
action
:
"https://jsonplaceholder.typicode.com/posts/"
,
multiple
:
""
}},[
i
(
"i"
,{
staticClass
:
"el-icon-upload"
}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"el-upload__text"
},[
t
.
_v
(
"
\n
将文件拖到此处,或"
),
i
(
"em"
,[
t
.
_v
(
"点击上传"
)]),
t
.
_v
(
" "
),
i
(
"br"
),
t
.
_v
(
" "
),
i
(
"span"
,{
staticStyle
:{
color
:
"#888888"
,
"font-size"
:
"12px"
}},[
t
.
_v
(
"只能上传MP3文件"
)])])]):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
dialog
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
sub
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
o
=
i
(
"VU/8"
)(
n
,
s
,
!
1
,
function
(
t
){
i
(
"/Zag"
),
i
(
"/lIG"
)},
null
,
null
);
e
.
default
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/28.9de147aff79a70da4c83.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
28
],{
"47Oq"
:
function
(
e
,
t
){},
"9ZSL"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"CCn6"
),
s
=
i
(
"kmJW"
),
o
=
i
(
"C+jy"
),
n
=
(
i
(
"sf/l"
),
i
(
"+TkF"
));
function
l
(
e
,
t
,
i
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
i
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
i
,
e
}
var
r
=
{
name
:
"index"
,
components
:{
page
:
s
.
a
,
page2
:
s
.
a
,
pageImage
:
s
.
a
,
pageVideo
:
s
.
a
,
emotion
:
o
.
a
,
getMsgCountApi
:
getMsgCountApi
},
data
:
function
(){
var
e
;
return
l
(
e
=
{
sendReviewDialog
:
!
1
,
sendReviewId
:
""
,
goodList
:[],
goodsDialog
:{
show
:
!
1
},
handSecUser
:
""
,
secGoods_ids
:
""
,
secPeriods_ids
:
""
,
userList
:[],
radio1
:
1
,
radio2
:
1
,
radio3
:
1
,
nowPage
:
1
,
total
:
0
,
limit
:
10
,
mediaPage
:{
nowPage
:
1
,
total
:
0
,
limit
:
5
},
show
:
!
1
,
loading
:
!
1
,
activeName
:
"text"
,
list
:[],
content
:
""
,
uploadShow
:
!
0
,
imageList
:[],
fileList
:[],
imageContent
:
""
,
videoContent
:
""
,
searchFrom
:{
type
:
1
,
is_test
:
!
1
},
goodSearchFrom
:{
status
:
"1"
},
tableData
:[],
fileUid
:
null
,
userDialog
:{
total
:
0
,
limit
:
10
,
nowPage
:
1
,
show
:
!
1
},
searchUserFrom
:{},
multipleSelection
:[],
showEmotion
:
!
1
,
showMedia
:
!
1
,
showImage
:
!
1
,
showVideo
:
!
1
,
mediaList
:[],
mediaImageList
:[],
mediaVideoList
:[],
mediaImagePage
:{
nowPage
:
1
,
total
:
0
,
limit
:
5
},
mediaVideoPage
:{
nowPage
:
1
,
total
:
0
,
limit
:
5
}},
"imageContent"
,
null
),
l
(
e
,
"videoContent"
,
null
),
l
(
e
,
"newsContent"
,
null
),
e
},
filters
:{
isOrNot
:
function
(
e
){
return
n
.
n
[
e
]},
goodsType
:
function
(
e
){
return
n
.
g
[
e
]},
lessonType
:
function
(
e
){
return
n
.
o
[
e
]},
goodsStatus
:
function
(
e
){
return
n
.
f
[
e
]},
goodsDesc
:
function
(
e
){
return
JSON
.
parse
(
e
).
desc
},
typeFilter
:
function
(
e
){
if
(
e
)
return
"text"
===
e
?
"文本"
:
"image"
===
e
?
"图片"
:
"video"
===
e
?
"视频"
:
"news"
===
e
?
"图文"
:
void
0
},
typeListFilter
:
function
(
e
){
return
e
?
1
===
e
?
"48时内关注但未购课用户"
:
2
===
e
?
"有体验课但没有正式课用户"
:
3
===
e
?
"未试听用户"
:
4
===
e
?
"指定用户手机号"
:
void
0
:
""
}},
methods
:{
getGoods
:
function
(){
var
e
=
this
,
t
=
{
limit
:
"100"
,
page
:
this
.
nowPage
};
this
.
goodSearchFrom
.
status
&&
"-1"
!==
this
.
goodSearchFrom
.
status
&&
(
t
.
status
=
this
.
goodSearchFrom
.
status
),
console
.
log
(
613
),
Object
(
a
.
_61
)(
t
).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
""
===
e
.
conflict_goods_ids
?
e
.
conflict_goods_ids
=
[]:
e
.
conflict_goods_ids
=
e
.
conflict_goods_ids
.
split
(
","
)}),
e
.
goodList
=
t
.
list
})},
radio1change
:
function
(
e
){
3
==
e
&&
this
.
onSelectUser
()},
radio2change
:
function
(
e
){},
radio3change
:
function
(
e
){
2
==
e
&&
(
this
.
getGoods
(),
this
.
goodsDialog
.
show
=!
0
),
console
.
log
(
this
.
radio3
)},
handleClick
:
function
(
e
){
this
.
activeName
=
e
.
name
},
handleRemove
:
function
(){
this
.
uploadShow
=!
0
,
this
.
imageList
=
[],
this
.
imageContent
=
""
},
handleRemoveVideo
:
function
(){
this
.
videoContent
=
""
,
this
.
fileList
=
[]},
beforeAvatarUpload
:
function
(){
this
.
uploadShow
=!
1
},
handleAvatarSuccess
:
function
(
e
){
this
.
imageList
=
[{
name
:
e
.
data
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
data
.
url
}]},
uploadFile
:
function
(
e
){
var
t
=
this
;
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
Object
(
a
.
_196
)({
file
:
e
.
file
,
type
:
"wechat"
}).
then
(
function
(
e
){
t
.
imageContent
=
{
content
:
e
.
media_id
,
url
:
e
.
url
},
t
.
imageList
=
[{
name
:
e
.
media_id
,
url
:
e
.
url
}],
t
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
t
.
$message
({
type
:
"error"
,
message
:
"上传失败!"
})})},
uploadVideo
:
function
(
e
){
var
t
=
this
;
Object
(
a
.
_196
)({
file
:
e
.
file
,
type
:
"wechat"
}).
then
(
function
(
i
){
t
.
uploadVideoFile
(
e
,
i
)}).
catch
(
function
(){
t
.
$message
({
type
:
"error"
,
message
:
"上传失败!"
})})},
uploadVideoFile
:
function
(
e
,
t
){
var
i
=
this
;
this
.
fileUid
=
e
.
file
.
uid
,
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
Object
(
a
.
_196
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
a
){
i
.
videoContent
=
{
content
:
t
.
media_id
,
url
:
"https://cdn.singsingenglish.com/"
+
a
.
url
},
i
.
fileList
=
[{
name
:
a
.
name
,
url
:
"https://cdn.singsingenglish.com/"
+
a
.
url
}],
i
.
loading
=!
1
,
i
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
}),
i
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"delete"
,
id
:
e
.
file
.
uid
}),
i
.
fileUid
=
null
}).
catch
(
function
(){
i
.
loading
=!
1
,
i
.
$message
({
type
:
"error"
,
message
:
"上传失败!"
})})},
sendReview
:
function
(){
var
e
=
this
,
t
=
{};
t
.
test_id
=
this
.
sendReviewId
;
var
i
=
{};
if
(
i
.
type
=
this
.
activeName
,
"text"
===
this
.
activeName
){
if
(
!
this
.
content
)
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请输入文本!"
});
i
.
content
=
this
.
content
}
else
if
(
"image"
===
this
.
activeName
){
if
(
!
this
.
imageContent
)
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请上传图片!"
});
i
.
content
=
this
.
imageContent
.
content
,
i
.
url
=
this
.
imageContent
.
url
}
else
if
(
"video"
===
this
.
activeName
){
if
(
!
this
.
videoContent
)
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请上传视频!"
});
i
.
content
=
this
.
videoContent
.
content
,
i
.
url
=
this
.
videoContent
.
url
}
else
"news"
===
this
.
activeName
&&
(
this
.
newsContent
&&
this
.
newsContent
.
media_id
?
i
.
content
=
this
.
newsContent
.
media_id
:
this
.
$message
({
type
:
"error"
,
message
:
"请选择图文!"
}));
t
.
content
=
JSON
.
stringify
(
i
),
Object
(
a
.
_167
)(
t
).
then
(
function
(
t
){
e
.
$message
({
message
:
t
,
type
:
"success"
}),
e
.
sendReviewDialog
=!
1
,
e
.
clearData
(),
e
.
getMsgList
()})},
getMsgCountApi
:
function
(){},
send
:
function
(){
var
e
=
this
,
t
=
{};
t
.
type
=
this
.
radio1
;
var
i
=
""
;
3
==
t
.
type
&&
(
this
.
handSecUser
?(
t
.
ids
=
this
.
handSecUser
,
i
=
"已选发送用户"
+
t
.
ids
):
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
})),
2
==
t
.
type
&&
(
t
.
fans_type
=
this
.
radio2
,
3
==
t
.
fans_type
&&
(
t
.
course_type
=
this
.
radio3
,
2
==
t
.
course_type
||
t
.
course_type
));
var
s
=
{};
if
(
s
.
type
=
this
.
activeName
,
"text"
===
this
.
activeName
){
if
(
!
this
.
content
)
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请输入文本!"
});
s
.
content
=
this
.
content
}
else
if
(
"image"
===
this
.
activeName
){
if
(
!
this
.
imageContent
)
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请上传图片!"
});
s
.
content
=
this
.
imageContent
.
content
,
s
.
url
=
this
.
imageContent
.
url
}
else
if
(
"video"
===
this
.
activeName
){
if
(
!
this
.
videoContent
)
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请上传视频!"
});
s
.
content
=
this
.
videoContent
.
content
,
s
.
url
=
this
.
videoContent
.
url
}
else
"news"
===
this
.
activeName
&&
(
this
.
newsContent
&&
this
.
newsContent
.
media_id
?
s
.
content
=
this
.
newsContent
.
media_id
:
this
.
$message
({
type
:
"error"
,
message
:
"请选择图文!"
}));
t
.
content
=
JSON
.
stringify
(
s
),
t
.
is_test
=
this
.
searchFrom
.
is_test
?
2
:
1
,
console
.
log
(
"json"
,
t
),
this
.
$confirm
(
i
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
_167
)(
t
).
then
(
function
(
t
){
e
.
$message
({
message
:
t
,
type
:
"success"
}),
e
.
show
=!
1
,
e
.
clearData
(),
e
.
getMsgList
()})}).
catch
(
function
(){
e
.
$message
({
type
:
"info"
,
message
:
"已取消发送"
})})},
clearData
:
function
(){
this
.
content
=
""
,
this
.
videoContent
=
null
,
this
.
imageContent
=
null
,
this
.
newsContent
=
null
,
this
.
activeName
,
this
.
searchFrom
=
{},
this
.
fileList
=
[],
this
.
imageList
=
[]},
getMsgList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
a
.
_72
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onMediaPageChange
:
function
(
e
){
this
.
mediaPage
.
nowPage
=
e
,
this
.
getMediaList
()},
onMediaSizeChange
:
function
(){
this
.
mediaPage
.
nowPage
=
1
,
this
.
mediaPage
.
limit
=
val
,
this
.
getMediaList
()},
onImagePageChange
:
function
(
e
){
this
.
mediaImagePage
.
nowPage
=
e
,
this
.
getMediaList
()},
onImageSizeChange
:
function
(
e
){
this
.
mediaImagePage
.
nowPage
=
1
,
this
.
mediaImagePage
.
limit
=
e
,
this
.
getMediaList
()},
onVideoPageChange
:
function
(
e
){
this
.
mediaVideoPage
.
nowPage
=
e
,
this
.
getMediaList
()},
onVideoSizeChange
:
function
(
e
){
this
.
mediaVideoPage
.
nowPage
=
1
,
this
.
mediaVideoPage
.
limit
=
e
,
this
.
getMediaList
()},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getMsgList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getMsgList
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
userDialog
.
nowPage
,
limit
:
this
.
userDialog
.
limit
};
this
.
searchUserFrom
.
userId
&&
(
t
.
user_id
=
this
.
searchUserFrom
.
userId
),
this
.
searchUserFrom
.
nickName
&&
(
t
.
nickname
=
this
.
searchUserFrom
.
nickName
),
this
.
searchUserFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchUserFrom
.
mobile
),
Object
(
a
.
_122
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
userDialog
.
total
=
t
.
total
})},
onUserPageChange
:
function
(
e
){
this
.
userDialog
.
nowPage
=
e
,
this
.
getUser
()},
onUserSizeChange
:
function
(
e
){
this
.
userDialog
.
nowPage
=
1
,
this
.
userDialog
.
limit
=
e
,
this
.
getUser
()},
goodsSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
onGoodsConfirm
:
function
(){
var
e
=
this
.
multipleSelection
;
if
(
0
===
e
.
length
)
this
.
$message
({
type
:
"error"
,
message
:
"商品!"
});
else
{
var
t
=
[];
e
.
forEach
(
function
(
e
){
t
.
push
(
e
.
id
)});
var
i
=
t
,
a
=
this
.
dedupe
(
i
);
this
.
secGoods_ids
=
a
.
join
(
","
),
console
.
log
(
this
.
secGoods_ids
),
this
.
goodsDialog
.
show
=!
1
}},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
onSelectUser
:
function
(){
this
.
userDialog
.
show
=!
0
,
console
.
log
(
this
.
userDialog
),
this
.
searchFrom
.
user_id
?
this
.
multipleSelection
=
this
.
searchFrom
.
user_id
.
split
(
","
):
this
.
multipleSelection
=
[],
this
.
getUser
()},
onConfirm
:
function
(){
var
e
=
this
.
multipleSelection
;
if
(
0
===
e
.
length
)
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
});
else
{
var
t
=
[];
e
.
forEach
(
function
(
e
){
t
.
push
(
e
.
user_id
)});
var
i
=
t
;
this
.
searchFrom
.
user_ids
&&
(
i
=
t
.
concat
(
this
.
stringToInt
(
this
.
searchFrom
.
user_ids
.
split
(
","
))));
var
a
=
this
.
dedupe
(
i
);
this
.
handSecUser
=
a
.
join
(
","
),
console
.
log
(
a
),
this
.
userDialog
.
show
=!
1
}},
dedupe
:
function
(
e
){
return
Array
.
from
(
new
Set
(
e
))},
stringToInt
:
function
(
e
){
var
t
=
e
||
[];
return
t
=
t
.
map
(
function
(
e
){
return
parseInt
(
e
,
10
)})},
emotion
:
function
(
e
){
var
t
=
e
.
replace
(
/
\/
/gi
,
""
);
return
'<img src="https://res.wx.qq.com/mpres/htmledition/images/icon/emotion/'
+
[
"微笑"
,
"撇嘴"
,
"色"
,
"发呆"
,
"得意"
,
"流泪"
,
"害羞"
,
"闭嘴"
,
"睡"
,
"大哭"
,
"尴尬"
,
"发怒"
,
"调皮"
,
"呲牙"
,
"惊讶"
,
"难过"
,
"酷"
,
"冷汗"
,
"抓狂"
,
"吐"
,
"偷笑"
,
"可爱"
,
"白眼"
,
"傲慢"
,
"饥饿"
,
"困"
,
"惊恐"
,
"流汗"
,
"憨笑"
,
"大兵"
,
"奋斗"
,
"咒骂"
,
"疑问"
,
"嘘"
,
"晕"
,
"折磨"
,
"衰"
,
"骷髅"
,
"敲打"
,
"再见"
,
"擦汗"
,
"抠鼻"
,
"鼓掌"
,
"糗大了"
,
"坏笑"
,
"左哼哼"
,
"右哼哼"
,
"哈欠"
,
"鄙视"
,
"委屈"
,
"快哭了"
,
"阴险"
,
"亲亲"
,
"吓"
,
"可怜"
,
"菜刀"
,
"西瓜"
,
"啤酒"
,
"篮球"
,
"乒乓"
,
"咖啡"
,
"饭"
,
"猪头"
,
"玫瑰"
,
"凋谢"
,
"示爱"
,
"爱心"
,
"心碎"
,
"蛋糕"
,
"闪电"
,
"炸弹"
,
"刀"
,
"足球"
,
"瓢虫"
,
"便便"
,
"月亮"
,
"太阳"
,
"礼物"
,
"拥抱"
,
"强"
,
"弱"
,
"握手"
,
"胜利"
,
"抱拳"
,
"勾引"
,
"拳头"
,
"差劲"
,
"爱你"
,
"NO"
,
"OK"
,
"爱情"
,
"飞吻"
,
"跳跳"
,
"发抖"
,
"怄火"
,
"转圈"
,
"磕头"
,
"回头"
,
"跳绳"
,
"挥手"
,
"激动"
,
"街舞"
,
"献吻"
,
"左太极"
,
"右太极"
].
indexOf
(
t
)
+
'.gif" align="middle">'
},
handleEmotion
:
function
(
e
){
this
.
content
+=
e
},
onChooseMedia
:
function
(
e
){
console
.
log
(
"onChooseMedia"
,
e
),
"image"
===
this
.
type
?(
this
.
imageContent
=
{
content
:
e
.
media_id
,
url
:
e
.
url
},
this
.
imageList
=
[{
name
:
e
.
media_id
,
url
:
e
.
url
}],
this
.
showImage
=!
1
):
"video"
===
this
.
type
?(
this
.
videoContent
=
{
content
:
e
.
media_id
,
url
:
e
.
info
.
down_url
},
this
.
fileList
=
[{
name
:
e
.
info
.
title
,
url
:
e
.
info
.
url
}],
this
.
showVideo
=!
1
):
"news"
===
this
.
type
&&
(
this
.
newsContent
=
e
,
this
.
showMedia
=!
1
)},
getMediaList
:
function
(){
var
e
=
this
,
t
=
this
.
activeName
,
i
=
{
type
:
t
,
page
:
this
.
mediaPage
.
nowPage
,
limit
:
this
.
mediaPage
.
limit
};
"image"
===
t
?(
i
.
page
=
this
.
mediaImagePage
.
nowPage
,
i
.
limit
=
this
.
mediaImagePage
.
limit
,
this
.
showImage
=!
0
):
"video"
===
t
?(
i
.
page
=
this
.
mediaVideoPage
.
nowPage
,
i
.
limit
=
this
.
mediaVideoPage
.
limit
,
this
.
showVideo
=!
0
):
"news"
===
t
&&
(
i
.
page
=
this
.
mediaPage
.
nowPage
,
i
.
limit
=
this
.
mediaPage
.
limit
,
this
.
showMedia
=!
0
),
this
.
loading
=!
0
,
Object
(
a
.
_69
)(
i
).
then
(
function
(
i
){
e
.
loading
=!
1
,
e
.
type
=
t
,
e
.
mediaList
=
i
.
item
,
e
.
mediaPage
.
total
=
i
.
total_count
,
"image"
===
t
?(
e
.
mediaImageList
=
i
.
item
,
e
.
mediaImagePage
.
total
=
i
.
total_count
):
"video"
===
t
?(
e
.
mediaVideoList
=
i
.
item
,
e
.
mediaVideoPage
.
total
=
i
.
total_count
):
"news"
===
t
&&
(
e
.
mediaList
=
i
.
item
,
e
.
mediaPage
.
total
=
i
.
total_count
),
0
===
e
.
total
&&
e
.
$message
({
showClose
:
!
0
,
message
:
"暂无数据"
})}).
catch
(
function
(){
e
.
loading
=!
1
})},
defaultTime
:
function
(){
var
e
=
(
new
Date
).
getTime
(),
t
=
e
-
1728
e5
;
this
.
searchFrom
.
time
=
[
new
Date
(
t
),
new
Date
(
e
)]}},
mounted
:
function
(){
this
.
getMsgList
(),
this
.
defaultTime
()},
computed
:{
progress
:
function
(){
var
e
=
this
;
return
this
.
$store
.
state
.
progressList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
fileUid
}).
num
<
100
?
this
.
$store
.
state
.
progressList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
fileUid
}).
num
:
100
}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"index"
},[
i
(
"el-tabs"
,{
attrs
:{
type
:
"border-card"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"编辑内容"
}},[
i
(
"div"
,{
staticClass
:
"box"
},[
i
(
"div"
,{
staticClass
:
"radio"
},[
i
(
"div"
,{
staticClass
:
"radio_title"
},[
e
.
_v
(
"选择发送范围"
)]),
e
.
_v
(
" "
),
i
(
"el-radio-group"
,{
on
:{
change
:
e
.
radio1change
},
model
:{
value
:
e
.
radio1
,
callback
:
function
(
t
){
e
.
radio1
=
t
},
expression
:
"radio1"
}},[
i
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"全部粉丝"
)]),
e
.
_v
(
" "
),
i
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"按条件筛选"
)]),
e
.
_v
(
" "
),
i
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"手动选择粉丝"
)])],
1
)],
1
),
e
.
_v
(
" "
),
3
==
e
.
radio1
?
i
(
"div"
,{
staticClass
:
"secUinput"
},[
e
.
_v
(
"
\n
已选用户ID:"
),
i
(
"el-input"
,{
model
:{
value
:
e
.
handSecUser
,
callback
:
function
(
t
){
e
.
handSecUser
=
t
},
expression
:
"handSecUser"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
radio1
?
i
(
"div"
,{
staticClass
:
"radio"
},[
i
(
"div"
,{
staticClass
:
"radio_title"
},[
e
.
_v
(
"选择用户类型"
)]),
e
.
_v
(
" "
),
i
(
"el-radio-group"
,{
on
:{
change
:
e
.
radio2change
},
model
:{
value
:
e
.
radio2
,
callback
:
function
(
t
){
e
.
radio2
=
t
},
expression
:
"radio2"
}},[
i
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"无手机号用户"
)]),
e
.
_v
(
" "
),
i
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"有手机号但无课用户"
)]),
e
.
_v
(
" "
),
i
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"有课用户"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
radio2
&&
2
==
e
.
radio1
?
i
(
"div"
,{
staticClass
:
"radio"
},[
i
(
"div"
,{
staticClass
:
"radio_title"
},[
e
.
_v
(
"选择课程类型"
)]),
e
.
_v
(
" "
),
i
(
"el-radio-group"
,{
on
:{
change
:
e
.
radio3change
},
model
:{
value
:
e
.
radio3
,
callback
:
function
(
t
){
e
.
radio3
=
t
},
expression
:
"radio3"
}},[
i
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"所有有课用户"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
radio2
&&
2
==
e
.
radio1
&&
2
==
e
.
radio3
?
i
(
"div"
,{
staticClass
:
"secUinput"
},[
e
.
_v
(
"
\n
已选商品编号:"
),
i
(
"el-input"
,{
model
:{
value
:
e
.
secGoods_ids
,
callback
:
function
(
t
){
e
.
secGoods_ids
=
t
},
expression
:
"secGoods_ids"
}})],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
i
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"文本"
,
name
:
"text"
}},[
i
(
"div"
,{
staticClass
:
"inner-edit_area"
},[
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
autosize
:{
minRows
:
4
,
maxRows
:
8
},
placeholder
:
"请输入内容"
},
model
:{
value
:
e
.
content
,
callback
:
function
(
t
){
e
.
content
=
t
},
expression
:
"content"
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
float
:
"right"
,
"margin-right"
:
"15px"
}},[
i
(
"el-popover"
,{
attrs
:{
placement
:
"bottom-end"
,
width
:
"400"
,
offset
:
10
,
trigger
:
"hover"
},
model
:{
value
:
e
.
showEmotion
,
callback
:
function
(
t
){
e
.
showEmotion
=
t
},
expression
:
"showEmotion"
}},[
i
(
"div"
,[
i
(
"emotion"
,{
attrs
:{
height
:
200
},
on
:{
emotion
:
e
.
handleEmotion
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
showEmotion
=!
e
.
showEmotion
}},
slot
:
"reference"
},[
i
(
"span"
,{
staticClass
:
"icon_emotion emotion_switch"
})])],
1
)],
1
)]),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"图片"
,
name
:
"image"
}},[
i
(
"div"
,{
staticClass
:
"flex-start"
},[
i
(
"div"
,[
i
(
"el-upload"
,{
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
e
.
uploadFile
,
"before-upload"
:
e
.
beforeAvatarUpload
,
"list-type"
:
"picture-card"
,
"file-list"
:
e
.
imageList
,
"on-success"
:
e
.
handleAvatarSuccess
,
"on-remove"
:
e
.
handleRemove
,
limit
:
1
}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
)]),
e
.
_v
(
" "
),
e
.
showImage
&&
e
.
mediaImageList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
mediaImageList
},
on
:{
"row-click"
:
e
.
onChooseMedia
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
url
}},[
i
(
"img"
,{
staticStyle
:{
width
:
"60px"
},
attrs
:{
src
:
e
.
row
.
url
}})])]}}])})],
1
),
e
.
_v
(
" "
),
i
(
"page-image"
,{
attrs
:{
total
:
e
.
mediaImagePage
.
total
,
limit
:
e
.
mediaImagePage
.
limit
},
on
:{
pageChange
:
e
.
onImagePageChange
,
sizeChange
:
e
.
onImageSizeChange
},
model
:{
value
:
e
.
mediaImagePage
.
nowPage
,
callback
:
function
(
t
){
e
.
$set
(
e
.
mediaImagePage
,
"nowPage"
,
t
)},
expression
:
"mediaImagePage.nowPage"
}})],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"视频"
,
name
:
"video"
}},[
i
(
"div"
,{
staticClass
:
"flex-start"
},[
i
(
"el-upload"
,{
staticClass
:
"upload-video"
,
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
e
.
uploadVideo
,
"file-list"
:
e
.
fileList
,
"on-remove"
:
e
.
handleRemoveVideo
,
limit
:
1
}},[
i
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
,
disabled
:
e
.
fileUid
&&
e
.
progress
<
99
}},[
e
.
_v
(
"点击上传"
)]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
width
:
"300px"
}},[
e
.
fileUid
?
i
(
"el-progress"
,{
attrs
:{
percentage
:
e
.
progress
}}):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"display-b"
},[
i
(
"div"
,{
staticClass
:
"choose_item"
,
staticStyle
:{
color
:
"#888"
},
on
:{
click
:
function
(
t
){
e
.
getMediaList
()}}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
,
staticStyle
:{
color
:
"#8c939d"
}}),
e
.
_v
(
"从素材库中选择"
)])])],
1
),
e
.
_v
(
" "
),
e
.
showVideo
&&
e
.
mediaVideoList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
mediaVideoList
},
on
:{
"row-click"
:
e
.
onChooseMedia
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
info
&&
t
.
row
.
info
.
down_url
?
i
(
"a"
,{
attrs
:{
href
:
t
.
row
.
info
.
down_url
,
target
:
"_blank"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
info
.
title
)
+
"
\n
"
)]):
e
.
_e
()]}}])})],
1
)],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"图文"
,
name
:
"news"
}},[
e
.
newsContent
&&
e
.
newsContent
.
content
&&
e
.
newsContent
.
content
.
news_item
?
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"news-media"
,
staticStyle
:{
display
:
"inline-block"
}},[
i
(
"el-card"
,{
attrs
:{
"body-style"
:{
padding
:
"0px"
}}},
e
.
_l
(
e
.
newsContent
.
content
.
news_item
,
function
(
t
,
a
){
return
i
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
1
===
e
.
newsContent
.
content
.
news_item
.
length
?
i
(
"div"
,{
staticClass
:
"single-cover"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
t
.
thumb_url
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"digest"
},[
e
.
_v
(
e
.
_s
(
t
.
digest
))]),
e
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
t
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"
\n
预览文章
\n
"
)])]):
e
.
newsContent
.
content
.
news_item
.
length
>
1
?
i
(
"div"
,{
staticClass
:
"clear-both bottomCover"
,
staticStyle
:{
position
:
"relative"
}},[
0
===
a
?
i
(
"div"
,{
staticClass
:
"muti-cover"
},[
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
t
.
thumb_url
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"bottom-title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))])]):
i
(
"div"
,{
staticClass
:
"next-cover clear-both"
},[
i
(
"span"
,{
staticClass
:
"next-title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
i
(
"img"
,{
staticClass
:
"next-img"
,
attrs
:{
src
:
t
.
thumb_url
}})]),
e
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
t
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"
\n
预览文章
\n
"
)])]):
e
.
_e
()])}))],
1
),
e
.
_v
(
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-delete"
,
staticStyle
:{
display
:
"inline-block"
},
on
:{
click
:
function
(
t
){
e
.
newsContent
=
""
}}})]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"display-b"
},[
i
(
"div"
,{
staticClass
:
"choose_item"
,
staticStyle
:{
color
:
"#888"
},
on
:{
click
:
function
(
t
){
e
.
getMediaList
()}}},[
i
(
"i"
,{
staticClass
:
"el-icon-plus"
,
staticStyle
:{
color
:
"#8c939d"
}}),
e
.
_v
(
"从素材库中选择"
)])]),
e
.
_v
(
" "
),
e
.
showMedia
&&
e
.
mediaList
.
length
>
0
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
mediaList
},
on
:{
"row-click"
:
e
.
onChooseMedia
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
content
&&
t
.
row
.
content
.
news_item
?
i
(
"div"
,{
staticClass
:
"news-media"
,
staticStyle
:{
display
:
"inline-block"
,
width
:
"200px"
}},
e
.
_l
(
t
.
row
.
content
.
news_item
,
function
(
a
,
s
){
return
i
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
1
===
t
.
row
.
content
.
news_item
.
length
?
i
(
"div"
,{
staticClass
:
"single-cover"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
e
.
_s
(
a
.
title
))]),
e
.
_v
(
" "
),
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
a
.
thumb_url
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"digest"
},[
e
.
_v
(
e
.
_s
(
a
.
digest
))]),
e
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
a
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"
\n
预览文章
\n
"
)])]):
t
.
row
.
content
.
news_item
.
length
>
1
?
i
(
"div"
,{
staticClass
:
"clear-both bottomCover"
,
staticStyle
:{
position
:
"relative"
}},[
0
===
s
?
i
(
"div"
,{
staticClass
:
"muti-cover"
},[
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
a
.
thumb_url
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"bottom-title"
},[
e
.
_v
(
e
.
_s
(
a
.
title
))])]):
i
(
"div"
,{
staticClass
:
"next-cover clear-both"
},[
i
(
"span"
,{
staticClass
:
"next-title"
},[
e
.
_v
(
e
.
_s
(
a
.
title
))]),
e
.
_v
(
" "
),
i
(
"img"
,{
staticClass
:
"next-img"
,
attrs
:{
src
:
a
.
thumb_url
}})]),
e
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
a
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"
\n
预览文章
\n
"
)])]):
e
.
_e
()])})):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
i
(
"page2"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
mediaPage
.
limit
},
on
:{
pageChange
:
e
.
onMediaPageChange
,
sizeChange
:
e
.
onMediaSizeChange
},
model
:{
value
:
e
.
mediaPage
.
nowPage
,
callback
:
function
(
t
){
e
.
$set
(
e
.
mediaPage
,
"nowPage"
,
t
)},
expression
:
"mediaPage.nowPage"
}})],
1
):
e
.
_e
()])],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"b-title"
},[
i
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
"margin-bottom"
:
"10px"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
send
()}}},[
e
.
_v
(
"立即群发"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
margin
:
"0 40px 10px 0"
},
attrs
:{
type
:
"info"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
sendReviewDialog
=!
0
}}},[
e
.
_v
(
"预览发送"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"发送记录"
}},[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-table"
,{
attrs
:{
border
:
!
1
,
data
:[
JSON
.
parse
(
t
.
row
.
content
)]}},[
i
(
"el-table-column"
,{
attrs
:{
label
:
"类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"typeFilter"
)(
t
.
row
.
type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
"text"
!==
JSON
.
parse
(
t
.
row
.
content
).
type
?
i
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"media_id"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
content
)
+
"
\n
"
)]}}])}):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"url"
,
label
:
"内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"text"
===
t
.
row
.
type
?
i
(
"div"
,[
i
(
"span"
,{
domProps
:{
innerHTML
:
e
.
_s
(
t
.
row
.
content
.
replace
(
/
\/[\u
4E00-
\u
9FA5
]{1,3}
/gi
,
e
.
emotion
))}})]):
"image"
===
t
.
row
.
type
?
i
(
"div"
,[
i
(
"img"
,{
staticStyle
:{
width
:
"80px"
},
attrs
:{
src
:
t
.
row
.
url
}})]):
"video"
===
t
.
row
.
type
?
i
(
"div"
,[
i
(
"a"
,{
attrs
:{
href
:
t
.
row
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"点击查看视频"
)])]):
e
.
_e
()]}}])})],
1
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"send_id"
,
label
:
"消息ID"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"消息类型"
,
prop
:
"condition"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"send_num"
,
label
:
"预计发送"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"arrive_num"
,
label
:
"已发送"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"failed_num"
,
label
:
"发送失败"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"发送时间"
}})],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
goodsDialog
.
show
,
"append-to-body"
:
""
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
goodsDialog
,
"show"
,
t
)}}},[
i
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
function
(
t
){
e
.
getGoods
()}},
model
:{
value
:
e
.
goodSearchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
goodSearchFrom
,
"status"
,
t
)},
expression
:
"goodSearchFrom.status"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"上架"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"下架"
,
name
:
"2"
}}),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
size
:
"small"
,
data
:
e
.
goodList
,
fixed
:
""
},
on
:{
"selection-change"
:
e
.
goodsSelectionChange
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"商品编号"
,
width
:
"80"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"router-link"
,{
attrs
:{
to
:{
name
:
"periods"
,
query
:{
goods_id
:
t
.
row
.
id
}}}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
name
)
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"商品类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"goodsType"
)(
t
.
row
.
goods_type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"商品原价/直购价"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
original_price
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"商品现价/团购价"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
current_price
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"course_title"
,
label
:
"课程名称"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"课程类别"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"lessonType"
)(
t
.
row
.
course_type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"是否有实物"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"isOrNot"
)(
t
.
row
.
is_real
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"buy_nums"
,
label
:
"商品购买数量"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"goodsStatus"
)(
t
.
row
.
status
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"goodsDesc"
)(
t
.
row
.
desc
))
+
"
\n
"
)]}}])})],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
goodsDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onGoodsConfirm
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
userDialog
.
show
,
"append-to-body"
:
""
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
userDialog
,
"show"
,
t
)}}},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
3
}},[
i
(
"el-form-item"
,[
i
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
7
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchUserFrom
.
userId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchUserFrom
,
"userId"
,
t
)},
expression
:
"searchUserFrom.userId"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
7
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchUserFrom
.
nickName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchUserFrom
,
"nickName"
,
t
)},
expression
:
"searchUserFrom.nickName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
7
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchUserFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchUserFrom
,
"mobile"
,
t
)},
expression
:
"searchUserFrom.mobile"
}})],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticStyle
:{
"margin-right"
:
"5px"
,
width
:
"50px"
,
height
:
"50px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}})],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
total
:
e
.
userDialog
.
total
,
limit
:
e
.
userDialog
.
limit
},
on
:{
pageChange
:
e
.
onUserPageChange
,
sizeChange
:
e
.
onUserSizeChange
}}),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
userDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onConfirm
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
sendReviewDialog
,
"append-to-body"
:
""
},
on
:{
"update:visible"
:
function
(
t
){
e
.
sendReviewDialog
=
t
}}},[
i
(
"div"
,[
e
.
_v
(
"预览用户ID"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
label
:
"预览用户ID"
},
model
:{
value
:
e
.
sendReviewId
,
callback
:
function
(
t
){
e
.
sendReviewId
=
t
},
expression
:
"sendReviewId"
}}),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
sendReviewDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sendReview
}},[
e
.
_v
(
"发送预览"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
i
(
"VU/8"
)(
r
,
c
,
!
1
,
function
(
e
){
i
(
"AuEM"
),
i
(
"47Oq"
)},
"data-v-cd3f693e"
,
null
);
t
.
default
=
d
.
exports
},
AuEM
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/29.4bb6a854e8e9e908be1c.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
29
],{
"/njr"
:
function
(
e
,
t
){},
K2yr
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
s
(
"CCn6"
),
o
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
mobile
:
""
,
old_user_id
:
""
,
course_title
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
showDetail
:
!
1
}},
components
:{
page
:
s
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getUser
()},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
old_user_id
&&
(
t
.
old_user_id
=
this
.
searchFrom
.
old_user_id
),
this
.
searchFrom
.
course_title
&&
(
t
.
course_title
=
this
.
searchFrom
.
course_title
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
r
.
_73
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
})},
deleteOption
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"确定删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
r
.
P
)(
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功"
}),
t
.
getUser
()})})}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"user"
},[
s
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
s
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
old_user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"old_user_id"
,
t
)},
expression
:
"searchFrom.old_user_id"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"课程名称"
}},[
s
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
course_title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_title"
,
t
)},
expression
:
"searchFrom.course_title"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
s
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
}},[
s
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
headimgurl
}}),
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
old_user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"course_title"
,
label
:
"课程名字"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"start_time"
,
label
:
"开课时间"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
s
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
$store
.
state
.
deletePermission
?
s
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
s
){
e
.
deleteOption
(
t
.
row
.
id
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
s
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
a
=
s
(
"VU/8"
)(
o
,
i
,
!
1
,
function
(
e
){
s
(
"vn85"
),
s
(
"/njr"
)},
"data-v-b08215b8"
,
null
);
t
.
default
=
a
.
exports
},
vn85
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/30.bd3d4b628f4f670fe896.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
30
],{
L4UB
:
function
(
t
,
e
){},
WvRy
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"CCn6"
),
s
=
{
name
:
"index"
,
components
:{
page
:
a
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
useTypeList
:[{
id
:
0
,
value
:
"未使用"
},{
id
:
1
,
value
:
"已使用"
},{
id
:
2
,
value
:
"禁用"
}],
searchFrom
:{
user_id
:
""
,
out_trade_no
:
""
,
status
:
0
},
list
:[],
dialogObj
:{
show
:
!
1
},
value1
:
""
,
rowId
:
""
}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"未使用"
:
1
===
t
?
e
=
"已使用"
:
2
===
t
&&
(
e
=
"禁用"
),
e
}},
mounted
:
function
(){
this
.
getList
()},
methods
:{
editTime
:
function
(
t
){
this
.
dialogObj
.
show
=!
0
,
this
.
value1
=
new
Date
(
t
.
deadline_at
),
this
.
rowId
=
t
.
id
,
console
.
log
(
t
)},
onConfirm
:
function
(){
var
t
=
this
;
console
.
log
(
this
.
value1
),
Object
(
o
.
_11
)({
deadline_at
:
this
.
value1
},
this
.
rowId
).
then
(
function
(
e
){
t
.
dialogObj
.
show
=!
1
,
t
.
getList
()})},
dayline
:
function
(
t
){
return
"0000-00-00 00:00:00"
==
t
.
deadline_at
?
"永不过期"
:
t
.
deadline_at
},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getList
()},
onSizeChange
:
function
(
t
){
this
.
nowPage
=
1
,
this
.
limit
=
t
,
this
.
getList
()},
getList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),(
this
.
searchFrom
.
status
||
0
===
this
.
searchFrom
.
status
)
&&
(
e
.
status
=
this
.
searchFrom
.
status
),
this
.
searchFrom
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
Object
(
o
.
_52
)(
e
).
then
(
function
(
e
){
t
.
total
=
e
.
total
,
t
.
list
=
e
.
list
?
e
.
list
:[]})}}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"refund"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
user_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"user_id"
,
e
)},
expression
:
"searchFrom.user_id"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
out_trade_no
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"out_trade_no"
,
e
)},
expression
:
"searchFrom.out_trade_no"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"使用状态"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getList
},
model
:{
value
:
t
.
searchFrom
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"status"
,
e
)},
expression
:
"searchFrom.status"
}},
t
.
_l
(
t
.
useTypeList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
t
.
value
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
getList
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
}},[
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
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"deadline_at"
,
label
:
"过期时间"
,
formatter
:
t
.
dayline
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editTime
(
e
.
row
)}}},[
t
.
_v
(
"
\n
修改过期时间
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"修改过期时间"
,
visible
:
t
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetime"
,
"value-format"
:
"yyyy-MM-dd-HH-mm-ss"
,
placeholder
:
"选择日期时间"
},
model
:{
value
:
t
.
value1
,
callback
:
function
(
e
){
t
.
value1
=
e
},
expression
:
"value1"
}}),
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
.
onConfirm
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
t
){
a
(
"YqS3"
),
a
(
"L4UB"
)},
"data-v-ad731cc8"
,
null
);
e
.
default
=
n
.
exports
},
YqS3
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/31.aeeb08941e4d82ed0957.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
31
],{
JcxP
:
function
(
e
,
t
){},
eqK0
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"CCn6"
),
l
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
id
:
""
,
name
:
""
,
mobile
:
""
,
id_card
:
""
,
type
:
""
,
status
:
""
,
start_in
:
""
,
over_in
:
""
},
startTime
:[],
tableData
:[],
dialog
:{
title
:
""
,
show
:
!
1
,
form
:{
id
:
""
,
name
:
""
,
mobile
:
""
,
id_card
:
""
,
type
:
""
,
in_at
:
""
,
over_at
:
""
,
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入"
,
trigger
:
"blur"
}],
mobile
:[{
required
:
!
0
,
message
:
"请输入"
,
trigger
:
"blur"
}],
id_card
:[{
required
:
!
0
,
message
:
"请输入"
,
trigger
:
"blur"
}],
type
:[{
required
:
!
0
,
message
:
"请选择"
,
trigger
:
"change"
}],
in_at
:[{
required
:
!
0
,
message
:
"请选择"
,
trigger
:
"change"
}]}}},
type
:[{
value
:
1
,
label
:
"销售"
}],
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
showDetail
:
!
1
,
showId
:
""
,
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
dialogDetailObj
:{
show
:
!
1
,
id
:
""
},
loading
:
!
1
}},
components
:{
page
:
a
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getData
()},
methods
:{
dialogToggle
:
function
(){
this
.
dialog
.
show
=!
this
.
dialog
.
show
,
this
.
dialog
.
show
||
this
.
dialogReset
()},
dialogReset
:
function
(){
var
e
=
this
;
this
.
$nextTick
(
function
(){
e
.
$refs
.
dialogForm
.
resetFields
()})},
dialogSave
:
function
(){
var
e
=
this
;
this
.
$refs
.
dialogForm
.
validate
(
function
(
t
){
if
(
!
t
)
return
console
.
log
(
"error submit!!"
),
!
1
;
var
a
=
{
name
:
e
.
dialog
.
form
.
name
,
mobile
:
e
.
dialog
.
form
.
mobile
,
id_card
:
e
.
dialog
.
form
.
id_card
,
type
:
e
.
dialog
.
form
.
type
,
in_at
:
e
.
dialog
.
form
.
in_at
};
e
.
dialog
.
form
.
id
?(
a
.
id
=
e
.
dialog
.
form
.
id
,
e
.
dialog
.
form
.
over_at
?(
a
.
over_at
=
e
.
dialog
.
form
.
over_at
,
a
.
status
=
1
):(
a
.
over_at
=
"0000-00-00"
,
a
.
status
=
0
),
Object
(
o
.
_158
)(
a
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑成功!"
}),
e
.
dialogToggle
(),
e
.
getData
()})):
Object
(
o
.
_150
)(
a
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
e
.
dialogToggle
(),
e
.
getData
()})})},
getData
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
id
&&
(
t
.
id
=
this
.
searchFrom
.
id
),
this
.
searchFrom
.
name
&&
(
t
.
name
=
this
.
searchFrom
.
name
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
id_card
&&
(
t
.
id_card
=
this
.
searchFrom
.
id_card
),
this
.
searchFrom
.
type
&&
(
t
.
type
=
this
.
searchFrom
.
type
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
Object
(
o
.
_99
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onAdd
:
function
(){
var
e
=
this
;
this
.
dialog
.
title
=
"添加员工"
,
this
.
dialogToggle
(),
this
.
$nextTick
(
function
(){
e
.
dialogReset
()})},
onEdit
:
function
(
e
){
var
t
=
this
;
this
.
dialogToggle
(),
this
.
dialogReset
(),
this
.
$nextTick
(
function
(){
t
.
dialog
.
title
=
"编辑员工"
,
t
.
dialog
.
form
.
id
=
e
.
id
,
t
.
dialog
.
form
.
name
=
e
.
name
,
t
.
dialog
.
form
.
mobile
=
e
.
mobile
,
t
.
dialog
.
form
.
id_card
=
e
.
id_card
,
t
.
dialog
.
form
.
type
=
e
.
type
,
t
.
dialog
.
form
.
in_at
=
e
.
in_at
,
1
==
e
.
status
?
t
.
dialog
.
form
.
over_at
=
e
.
over_at
:
t
.
dialog
.
form
.
over_at
=
""
})},
onSearch
:
function
(){
this
.
getData
()},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getData
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getData
()}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"user"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
a
(
"el-input"
,{
attrs
:{
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"id"
,
t
)},
expression
:
"searchFrom.id"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"姓名"
}},[
a
(
"el-input"
,{
attrs
:{
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"name"
,
t
)},
expression
:
"searchFrom.name"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"手机号码"
}},[
a
(
"el-input"
,{
attrs
:{
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"身份证号"
}},[
a
(
"el-input"
,{
attrs
:{
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
id_card
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"id_card"
,
t
)},
expression
:
"searchFrom.id_card"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"岗位"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type"
,
t
)},
expression
:
"searchFrom.type"
}},
e
.
_l
(
e
.
type
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"状态"
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"在职"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"离职"
,
value
:
"1"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
onSearch
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
onAdd
}},[
e
.
_v
(
"添加"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"ID"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"真实姓名"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号码"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"id_card"
,
label
:
"身份证号"
,
width
:
"200"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,{
staticStyle
:{
"white-space"
:
"nowrap"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
id_card
)
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"岗位"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
1
==
t
.
row
.
type
?
"销售"
:
""
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"in_at"
,
label
:
"入职时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"离职时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
1
==
t
.
row
.
status
?
t
.
row
.
over_at
:
"-"
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
0
==
t
.
row
.
status
?
"在职"
:
"离职"
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
onEdit
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
visible
:
e
.
dialog
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
a
(
"el-form"
,{
ref
:
"dialogForm"
,
attrs
:{
rules
:
e
.
dialog
.
form
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"真实姓名:"
,
prop
:
"name"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"text"
},
model
:{
value
:
e
.
dialog
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"name"
,
t
)},
expression
:
"dialog.form.name"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"手机号码:"
,
prop
:
"mobile"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"number"
},
model
:{
value
:
e
.
dialog
.
form
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"mobile"
,
t
)},
expression
:
"dialog.form.mobile"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"身份证号:"
,
prop
:
"id_card"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"text"
},
model
:{
value
:
e
.
dialog
.
form
.
id_card
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"id_card"
,
t
)},
expression
:
"dialog.form.id_card"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"岗位:"
,
prop
:
"type"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dialog
.
form
.
type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"type"
,
t
)},
expression
:
"dialog.form.type"
}},
e
.
_l
(
e
.
type
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"入职日期:"
,
prop
:
"in_at"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"date"
,
"value-format"
:
"yyyy-MM-dd"
,
clearable
:
!
1
,
placeholder
:
"选择日期"
},
model
:{
value
:
e
.
dialog
.
form
.
in_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"in_at"
,
t
)},
expression
:
"dialog.form.in_at"
}})],
1
),
e
.
_v
(
" "
),
"添加员工"
!=
e
.
dialog
.
title
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"离职日期:"
,
prop
:
"over_at"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"date"
,
"value-format"
:
"yyyy-MM-dd"
,
clearable
:
!
0
,
placeholder
:
"选择日期"
},
model
:{
value
:
e
.
dialog
.
form
.
over_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"over_at"
,
t
)},
expression
:
"dialog.form.over_at"
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
dialogToggle
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
dialogSave
}},[
e
.
_v
(
"确定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
l
,
i
,
!
1
,
function
(
e
){
a
(
"JcxP"
),
a
(
"n/uG"
)},
"data-v-5fee4a7b"
,
null
);
t
.
default
=
r
.
exports
},
"n/uG"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/32.3957b3c2f5e52a831472.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
32
],{
Nxlt
:
function
(
t
,
e
){},
Xhqp
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"CCn6"
),
a
=
{
name
:
"resource"
,
data
:
function
(){
return
{
mediaList
:[],
nowPage
:
1
,
total
:
0
,
limit
:
5
,
loading
:
!
1
,
type
:
"news"
,
imageList
:[],
uploadParam
:{
type
:
"wechat"
,
chunk
:
0
,
count
:
1
},
fileUid
:
null
,
showProgress
:
!
1
,
typeText
:{
image
:
"图片"
,
video
:
"视频"
,
voice
:
"语音"
}}},
components
:{
page
:
i
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getMediaList
(
this
.
type
)},
computed
:{
progress
:
function
(){
var
t
=
this
;
return
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
<
100
?
this
.
$store
.
state
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
fileUid
}).
num
:
100
}},
methods
:{
getMediaType
:
function
(
t
){
this
.
type
=
t
,
this
.
nowPage
=
1
,
this
.
getMediaList
(
t
)},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getMediaList
(
this
.
type
)},
onSizeChange
:
function
(
t
){
this
.
nowPage
=
1
,
this
.
limit
=
t
,
this
.
getMediaList
(
this
.
type
)},
getMediaList
:
function
(
t
){
var
e
=
this
,
i
=
{
type
:
t
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
loading
=!
0
,
Object
(
s
.
_69
)(
i
).
then
(
function
(
i
){
e
.
loading
=!
1
,
e
.
type
=
t
,
e
.
mediaList
=
i
.
item
,
e
.
total
=
i
.
total_count
,
0
===
i
.
item
.
length
&&
e
.
$message
({
showClose
:
!
0
,
message
:
"暂无数据"
})}).
catch
(
function
(){
e
.
loading
=!
1
})},
handleUploadSuccess
:
function
(
t
){
200
===
t
.
code
&&
(
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
,
this
.
showProgress
=!
0
,
Object
(
s
.
_196
)({
file
:
t
.
file
,
type
:
"wechat"
}).
then
(
function
(
t
){
e
.
imageList
=
[{
name
:
t
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
url
}],
e
.
getMediaList
(
e
.
type
),
e
.
loading
=!
1
,
e
.
showProgress
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
e
.
loading
=!
1
,
e
.
showProgress
=!
1
})}}},
n
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticClass
:
"media"
},[
i
(
"h2"
,{
staticClass
:
"media-title"
},[
t
.
_v
(
"素材管理"
)]),
t
.
_v
(
" "
),
i
(
"div"
,[
i
(
"ul"
,{
staticClass
:
"media-navs"
},[
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"news"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"news"
)}}},[
t
.
_m
(
0
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"image"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"image"
)}}},[
t
.
_m
(
1
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"voice"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"voice"
)}}},[
t
.
_m
(
2
)]),
t
.
_v
(
" "
),
i
(
"li"
,{
staticClass
:
"media-nav js_top"
,
class
:
"video"
===
t
.
type
?
"media-current-nav"
:
""
,
on
:{
click
:
function
(
e
){
t
.
getMediaType
(
"video"
)}}},[
t
.
_m
(
3
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"media-panel"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top flex-bt"
},[
i
(
"div"
,{
staticClass
:
"media-panel-top-left"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
typeText
[
t
.
type
])
+
"(共"
+
t
.
_s
(
t
.
total
)
+
"条)
\n
"
)]),
t
.
_v
(
" "
),
t
.
showProgress
?
i
(
"div"
,{
staticClass
:
"progress"
},[
i
(
"el-progress"
,{
attrs
:{
percentage
:
t
.
progress
,
status
:
"success"
}})],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
"news"
!==
t
.
type
?
i
(
"div"
,{
staticClass
:
"media-panel-top-right"
},[
i
(
"el-upload"
,{
ref
:
"upload"
,
staticClass
:
"upload-demo"
,
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
t
.
uploadFile
,
"show-file-list"
:
!
1
,
data
:
t
.
uploadParam
}},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
i
(
"el-button"
,{
staticStyle
:{
order
:
"2"
},
attrs
:{
slot
:
"trigger"
,
size
:
"small"
,
type
:
"primary"
},
slot
:
"trigger"
},[
t
.
_v
(
"选取文件"
)])],
1
)],
1
):
t
.
_e
()]),
t
.
_v
(
" "
),
t
.
mediaList
.
length
>
0
&&
"news"
===
t
.
type
?
i
(
"div"
,{
staticClass
:
"d-start"
,
staticStyle
:{
"margin-bottom"
:
"20px"
}},
t
.
_l
(
t
.
mediaList
,
function
(
e
,
s
){
return
i
(
"div"
,{
key
:
s
,
staticClass
:
"news-media"
},[
i
(
"el-card"
,{
attrs
:{
"body-style"
:{
padding
:
"0px"
}}},
t
.
_l
(
e
.
content
.
news_item
,
function
(
s
,
a
){
return
i
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
1
===
e
.
content
.
news_item
.
length
?
i
(
"div"
,{
staticClass
:
"single-cover"
},[
i
(
"div"
,{
staticClass
:
"title"
},[
t
.
_v
(
t
.
_s
(
s
.
title
))]),
t
.
_v
(
" "
),
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
s
.
thumb_url
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"digest"
},[
t
.
_v
(
t
.
_s
(
s
.
digest
))]),
t
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
s
.
url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
预览文章
\n
"
)])]):
e
.
content
.
news_item
.
length
>
1
?
i
(
"div"
,{
staticClass
:
"clear-both bottomCover"
,
staticStyle
:{
position
:
"relative"
}},[
0
===
a
?
i
(
"div"
,{
staticClass
:
"muti-cover"
},[
i
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
s
.
thumb_url
}}),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"bottom-title"
},[
t
.
_v
(
t
.
_s
(
s
.
title
))])]):
i
(
"div"
,{
staticClass
:
"next-cover"
},[
i
(
"span"
,{
staticClass
:
"next-title"
},[
t
.
_v
(
t
.
_s
(
s
.
title
))]),
t
.
_v
(
" "
),
i
(
"img"
,{
staticClass
:
"next-img"
,
attrs
:{
src
:
s
.
thumb_url
}})]),
t
.
_v
(
" "
),
i
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
s
.
url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
预览文章
\n
"
)])]):
t
.
_e
()])}))],
1
)})):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
mediaList
.
length
>
0
&&
"news"
===
t
.
type
?
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}}):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
mediaList
.
length
>
0
&&
"news"
!==
t
.
type
?
i
(
"div"
,[
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
mediaList
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
"image"
===
t
.
type
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
url
,
target
:
"_blank"
}},[
i
(
"img"
,{
staticStyle
:{
width
:
"60px"
},
attrs
:{
src
:
e
.
row
.
url
}})]):
t
.
_e
(),
t
.
_v
(
" "
),
"video"
===
t
.
type
&&
e
.
row
.
info
&&
e
.
row
.
info
.
down_url
?
i
(
"a"
,{
attrs
:{
href
:
e
.
row
.
info
.
down_url
,
target
:
"_blank"
}},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
info
.
title
)
+
"
\n
"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
"voice"
===
t
.
type
?
i
(
"audio"
,{
attrs
:{
id
:
"myAudio"
,
controls
:
""
}},[
i
(
"source"
,{
attrs
:{
src
:
e
.
row
.
url
}}),
t
.
_v
(
"
\n
Your browser does not support the audio element.
\n
"
)]):
t
.
_e
()]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
):
t
.
_e
()],
1
)])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"图文消息"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"图片"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"语音"
),
e
(
"br"
)])},
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"a"
,{
attrs
:{
href
:
"javascript:void(0);"
}},[
this
.
_v
(
"视频"
),
e
(
"br"
)])}]};
var
o
=
i
(
"VU/8"
)(
a
,
n
,
!
1
,
function
(
t
){
i
(
"cX1h"
),
i
(
"Nxlt"
)},
"data-v-59dd29ca"
,
null
);
e
.
default
=
o
.
exports
},
cX1h
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/33.87f7f8d3afef61e46b44.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
33
],{
"0QYT"
:
function
(
e
,
t
){},
"1adT"
:
function
(
e
,
t
){},
F5pf
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
o
=
a
(
"zSLJ"
),
r
=
a
(
"kmJW"
),
i
=
a
(
"sf/l"
),
l
=
(
a
(
"NC6I"
),{
name
:
"putForward"
,
data
:
function
(){
var
e
=
this
;
return
{
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
a
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
uploadHeader
:{
token
:
o
.
a
.
get
(
"cc_token"
)},
param_token
:
i
.
a
.
md5Code
(),
nowPage
:
1
,
total
:
0
,
limit
:
10
,
search
:{
key
:
""
,
status
:
"1"
,
payTime
:[]},
liStatus
:[{
label
:
"全部"
,
status
:
""
},{
label
:
"申请中"
,
status
:
0
},{
label
:
"提现成功"
,
status
:
1
},{
label
:
"提现失败"
,
status
:
2
}],
tableData
:[],
showDialog
:
!
1
,
showDesc
:
!
1
,
dialogTitle
:
"审核"
,
nowObj
:{
id
:
""
,
status
:
1
,
reason
:
""
,
desc
:
""
},
page
:{
current
:
1
,
pageSize
:
100
,
total
:
0
},
putForwardDialog
:{
show
:
!
1
,
user_id
:
""
,
userLabel
:
""
,
money
:
0
,
desc
:
""
},
userList
:[],
rules
:{
userLabel
:[{
required
:
!
0
,
message
:
"请选择用户"
,
trigger
:
"change"
}],
money
:[{
required
:
!
0
,
message
:
"请输入提现金额"
,
trigger
:
"change"
}],
desc
:[{
required
:
!
0
,
message
:
"请输入提现说明"
,
trigger
:
"change"
}]},
searchFrom
:{},
selectUserList
:[],
userDialog
:{
show
:
!
1
,
nowPage
:
1
,
total
:
0
,
limit
:
5
}}},
components
:{
page
:
r
.
a
},
filters
:{
moneyYuan
:
function
(
e
){
return
e
?(
e
/
100
).
toFixed
(
2
)
+
"元"
:
"0元"
},
filterStatus
:
function
(
e
){
var
t
=
""
;
return
0
===
e
.
status
?
t
=
"审核中"
:
1
===
e
.
status
?
t
=
"提现成功"
:
2
===
e
.
status
&&
(
t
=
"提现失败("
+
e
.
reason
+
")"
),
t
},
userLabel
:
function
(
e
){
return
e
.
nickname
+
"["
+
e
.
user_id
+
"]"
}},
mounted
:
function
(){
this
.
getList
()},
methods
:{
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
})},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
s
=
e
.
getDate
();
return
s
<
10
&&
(
s
=
"0"
+
s
),
t
+
"-"
+
a
+
"-"
+
s
},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
exportTable
:
function
(){
var
e
=
{};
this
.
search
.
withdraw_no
&&
(
e
.
withdraw_no
=
this
.
search
.
withdraw_no
),
this
.
search
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
search
.
out_trade_no
),(
this
.
search
.
status
||
0
===
this
.
search
.
status
)
&&
(
e
.
status
=
this
.
search
.
status
),
this
.
search
.
user_id
&&
(
e
.
user_id
=
this
.
search
.
user_id
),
this
.
search
.
money
&&
(
e
.
money
=
100
*
parseFloat
(
this
.
search
.
money
)),
Object
(
s
.
_27
)(
"/api/admin/withdraw/export"
,
e
,
"提现列表"
)},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
search
.
withdraw_no
&&
(
t
.
withdraw_no
=
this
.
search
.
withdraw_no
),
this
.
search
.
out_trade_no
&&
(
t
.
out_trade_no
=
this
.
search
.
out_trade_no
),
this
.
search
.
status
&&
"-1"
!==
this
.
search
.
status
&&
(
t
.
status
=
this
.
search
.
status
),
this
.
search
.
user_id
&&
(
t
.
user_id
=
this
.
search
.
user_id
),
this
.
search
.
payTime
&&
this
.
search
.
payTime
.
length
>
0
&&
(
t
.
success_start_at
=
this
.
search
.
payTime
[
0
],
t
.
success_end_at
=
this
.
search
.
payTime
[
1
]),
this
.
search
.
money
&&
(
t
.
money
=
100
*
parseFloat
(
this
.
search
.
money
)),
Object
(
s
.
_129
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onSearch
:
function
(){
this
.
nowPage
=
1
,
this
.
getList
()},
checkMoney
:
function
(
e
){
this
.
nowObj
.
id
=
e
,
this
.
showDesc
=!
1
,
this
.
showDialog
=!
0
},
addDesc
:
function
(
e
,
t
){
this
.
nowObj
.
id
=
e
,
this
.
nowObj
.
desc
=
t
,
this
.
showDesc
=!
0
,
this
.
showDialog
=!
0
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
page
.
current
=
e
,
this
.
getList
()},
doCallback
:
function
(){
this
.
nowObj
.
id
=
""
,
this
.
nowObj
.
status
=
1
,
this
.
nowObj
.
reason
=
""
,
this
.
nowObj
.
desc
=
""
,
this
.
page
.
current
=
1
,
this
.
showDialog
=!
1
,
this
.
getList
(),
this
.
$message
({
message
:
"提交成功"
,
type
:
"success"
})},
onSave
:
function
(
e
){
var
t
=
this
;
if
(
e
){
var
a
=
{
desc
:
this
.
nowObj
.
desc
};
if
(
""
===
a
.
desc
||
null
==
a
.
desc
)
return
this
.
$message
.
error
(
"请填写备注"
),
!
1
;
Object
(
s
.
_19
)(
this
.
nowObj
.
id
,
"withdraw"
,
a
).
then
(
function
(
e
){
t
.
doCallback
()})}
else
{
var
o
=
{
reason
:
this
.
nowObj
.
reason
,
status
:
this
.
nowObj
.
status
};
if
((
""
===
o
.
reason
||
null
==
o
.
reason
)
&&
2
===
o
.
status
)
return
this
.
$message
.
error
(
"请填写失败理由"
),
!
1
;
o
.
reason
=
""
,
Object
(
s
.
_198
)(
this
.
nowObj
.
id
,
o
).
then
(
function
(
e
){
t
.
doCallback
()})}},
manualPutForward
:
function
(){
this
.
putForwardDialog
.
show
=!
0
,
this
.
putForwardDialog
.
user_id
=
""
,
this
.
putForwardDialog
.
userLabel
=
""
,
this
.
putForwardDialog
.
money
=
0
,
this
.
putForwardDialog
.
desc
=
""
,
this
.
getUserList
()},
getUserList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
userDialog
.
limit
,
page
:
this
.
userDialog
.
nowPage
};
this
.
searchFrom
.
userId
&&
(
t
.
user_id
=
this
.
searchFrom
.
userId
),
this
.
searchFrom
.
nickName
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickName
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
s
.
_122
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
userDialog
.
total
=
t
.
total
})},
confirmPutForward
:
function
(){
var
e
=
this
,
t
=
{
user_id
:
this
.
putForwardDialog
.
user_id
,
money
:
this
.
putForwardDialog
.
money
,
desc
:
this
.
putForwardDialog
.
desc
};
this
.
$refs
.
refPutForward
.
validate
(
function
(
a
){
if
(
!
a
)
return
!
1
;
e
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
_141
)(
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"保存成功"
}),
e
.
getList
(),
e
.
putForwardDialog
.
show
=!
1
})})})},
handleSelectionChange
:
function
(
e
){
this
.
selectUserList
=
e
},
onUserPageChange
:
function
(
e
){
this
.
userDialog
.
nowPage
=
e
,
this
.
getUserList
()},
onUserSizeChange
:
function
(
e
){
this
.
userDialog
.
limit
=
e
,
this
.
userDialog
.
nowPage
=
1
,
this
.
getUserList
()},
onAdd
:
function
(){
0
!==
this
.
selectUserList
.
length
?
1
===
this
.
selectUserList
.
length
?(
this
.
putForwardDialog
.
userLabel
=
this
.
selectUserList
[
0
].
nickname
+
"["
+
this
.
selectUserList
[
0
].
user_id
+
"]"
,
this
.
putForwardDialog
.
user_id
=
this
.
selectUserList
[
0
].
user_id
,
this
.
userDialog
.
show
=!
1
):
this
.
$message
({
type
:
"error"
,
message
:
"只能选择一个用户!"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
})}}}),
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"putForward"
},[
a
(
"el-form"
,{
staticClass
:
"demo-form-inline"
,
attrs
:{
model
:
e
.
search
,
inline
:
""
,
"label-width"
:
"80px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"提现单号"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"提现单号"
},
model
:{
value
:
e
.
search
.
withdraw_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"withdraw_no"
,
t
)},
expression
:
"search.withdraw_no"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"订单号"
},
model
:{
value
:
e
.
search
.
out_trade_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"out_trade_no"
,
t
)},
expression
:
"search.out_trade_no"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"用户ID"
},
model
:{
value
:
e
.
search
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"user_id"
,
t
)},
expression
:
"search.user_id"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"提现金额"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"提现金额"
},
model
:{
value
:
e
.
search
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"money"
,
t
)},
expression
:
"search.money"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"提现时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
],
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]}},
model
:{
value
:
e
.
search
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"payTime"
,
t
)},
expression
:
"search.payTime"
}})],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
import
?
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-upload"
,{
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
action
:
"/api/admin/pay/users/import "
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
}},[
e
.
_v
(
"批量提现"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSearch
}},[
e
.
_v
(
"查询"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportTable
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
$store
.
state
.
import
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
manualPutForward
}},[
e
.
_v
(
"手动提现"
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
onSearch
},
model
:{
value
:
e
.
search
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
search
,
"status"
,
t
)},
expression
:
"search.status"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"提现成功"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"申请中"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"申请失败"
,
name
:
"2"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
border
:
""
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"withdraw_no"
,
label
:
"提现单号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户"
,
width
:
"200"
,
className
:
"f-c"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_mobile"
,
label
:
"手机号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现金额"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"moneyYuan"
)(
t
.
row
.
money
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,{
class
:{
status
:
!
0
,
red
:
2
===
t
.
row
.
status
,
green
:
1
===
t
.
row
.
status
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"filterStatus"
)(
t
.
row
))
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现成功时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
success_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提现时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
created_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
===
t
.
row
.
status
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
checkMoney
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"
\n
审核
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
addDesc
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"
\n
添加备注
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
e
.
showDialog
?
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogTitle
,
visible
:
e
.
showDialog
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showDialog
=
t
}}},[
a
(
"el-form"
,{
ref
:
"saveuser"
,
attrs
:{
model
:
e
.
nowObj
,
"label-width"
:
"70px"
}},[
e
.
showDesc
?
e
.
_e
():
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[[
a
(
"el-radio-group"
,{
model
:{
value
:
e
.
nowObj
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
nowObj
,
"status"
,
t
)},
expression
:
"nowObj.status"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"提现成功"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"提现失败"
)])],
1
)]],
2
),
e
.
_v
(
" "
),
2
!==
e
.
nowObj
.
status
||
e
.
showDesc
?
e
.
_e
():
a
(
"el-form-item"
,{
attrs
:{
label
:
"失败理由"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
"3"
,
"auto-complete"
:
"off"
},
model
:{
value
:
e
.
nowObj
.
reason
,
callback
:
function
(
t
){
e
.
$set
(
e
.
nowObj
,
"reason"
,
t
)},
expression
:
"nowObj.reason"
}})],
1
),
e
.
_v
(
" "
),
e
.
showDesc
?
a
(
"el-form-item"
,{
attrs
:{
label
:
"备注信息"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
"3"
,
"auto-complete"
:
"off"
},
model
:{
value
:
e
.
nowObj
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
nowObj
,
"desc"
,
t
)},
expression
:
"nowObj.desc"
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
onSave
(
e
.
showDesc
)}}},[
e
.
_v
(
"保 存"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
showDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
putForwardDialog
.
show
?
a
(
"el-dialog"
,{
attrs
:{
title
:
"手动提现"
,
visible
:
e
.
putForwardDialog
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
putForwardDialog
,
"show"
,
t
)}}},[
a
(
"el-form"
,{
ref
:
"refPutForward"
,
attrs
:{
model
:
e
.
putForwardDialog
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
20
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户"
,
prop
:
"userLabel"
}},[
a
(
"el-input"
,{
attrs
:{
readonly
:
""
,
placeholder
:
"请选择用户"
},
model
:{
value
:
e
.
putForwardDialog
.
userLabel
,
callback
:
function
(
t
){
e
.
$set
(
e
.
putForwardDialog
,
"userLabel"
,
t
)},
expression
:
"putForwardDialog.userLabel"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
userDialog
.
show
=!
0
}}},[
e
.
_v
(
"选择用户"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"提现金额"
,
prop
:
"money"
}},[
a
(
"el-input-number"
,{
attrs
:{
min
:
0
,
placeholder
:
"提现金额"
},
model
:{
value
:
e
.
putForwardDialog
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
putForwardDialog
,
"money"
,
t
)},
expression
:
"putForwardDialog.money"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"提现说明"
,
prop
:
"desc"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
2
,
placeholder
:
"请输入内容"
},
model
:{
value
:
e
.
putForwardDialog
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
putForwardDialog
,
"desc"
,
t
)},
expression
:
"putForwardDialog.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
putForwardDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
confirmPutForward
}},[
e
.
_v
(
"确 定"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
modal
:
!
1
,
visible
:
e
.
userDialog
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
userDialog
,
"show"
,
t
)}}},[
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
:
e
.
searchFrom
.
userId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"userId"
,
t
)},
expression
:
"searchFrom.userId"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
nickName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickName"
,
t
)},
expression
:
"searchFrom.nickName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
8
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
)],
1
)],
1
),
e
.
_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
:
e
.
getUserList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"img"
,{
staticStyle
:{
"margin-right"
:
"5px"
,
width
:
"50px"
,
height
:
"50px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
userDialog
.
total
,
limit
:
e
.
userDialog
.
limit
},
on
:{
pageChange
:
e
.
onUserPageChange
,
sizeChange
:
e
.
onUserSizeChange
}}),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
userDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onAdd
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
n
,
!
1
,
function
(
e
){
a
(
"1adT"
),
a
(
"0QYT"
)},
"data-v-571422e7"
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/34.97af662650c5bd305758.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
34
],{
Djfz
:
function
(
e
,
t
){},
f9Sx
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
l
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
nickName
:
""
,
mobile
:
""
,
level
:
""
,
userId
:
""
},
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
showDetail
:
!
1
,
showId
:
""
,
dialogObj
:{
show
:
!
1
,
title
:
"绑定老师"
,
id
:
0
,
teacher_id
:
0
},
dialogDetailObj
:{
show
:
!
1
,
id
:
""
},
loading
:
!
1
}},
components
:{
page
:
a
(
"kmJW"
).
a
},
mounted
:
function
(){
this
.
getUser
()},
methods
:{
sexFormatter
:
function
(
e
){
return
0
==
e
.
sex
?
"保密"
:
1
==
e
.
sex
?
"男"
:
2
==
e
.
sex
?
"女"
:
void
0
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
Object
(
s
.
_35
)(
t
).
then
(
function
(
t
){
console
.
log
(
t
),
e
.
userList
=
t
.
result
.
list
,
e
.
total
=
t
.
result
.
total
})}}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticClass
:
"user"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
}},[
a
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
e
.
_s
(
t
.
row
.
user_nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_mobile"
,
label
:
"手机号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"注册时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"last_login_at"
,
label
:
"最后登录时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"course_title"
,
label
:
"课程标题"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"优惠券"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"order_id"
,
label
:
"订单Id"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
e
){
a
(
"ttTJ"
),
a
(
"Djfz"
)},
"data-v-446031f1"
,
null
);
t
.
default
=
i
.
exports
},
ttTJ
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/35.470e33376d819086ecfa.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
35
],{
F9kO
:
function
(
e
,
t
){},
L5jB
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"CCn6"
),
r
=
s
(
"+TkF"
),
i
=
{
name
:
"index"
,
components
:{
page
:
s
(
"kmJW"
).
a
},
data
:
function
(){
var
e
=
[];
for
(
var
t
in
r
.
i
)
e
.
push
({
id
:
t
,
value
:
r
.
i
[
t
]});
var
s
=
[];
for
(
var
a
in
r
.
h
)
s
.
push
({
id
:
a
,
value
:
r
.
h
[
a
]});
return
{
width
:
0
,
searchFrom
:{
user_id
:
""
,
sub_user_id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
showDetail
:
!
1
}},
mounted
:
function
(){
this
.
getUser
(),
this
.
width
=
window
.
innerWidth
-
200
},
filters
:{
INTEGRALTYPE
:
function
(
e
){
return
r
.
i
[
e
]},
INTEGRALFUN
:
function
(
e
){
return
r
.
h
[
e
]}},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
sub_user_id
&&
(
t
.
sub_user_id
=
this
.
searchFrom
.
sub_user_id
),
Object
(
a
.
_105
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
})}}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"integral-page"
},[
s
(
"el-form"
,{
ref
:
"searchFrom"
,
staticStyle
:{
"padding-top"
:
"20px"
},
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"主账户ID"
}},[
s
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"子账户ID"
}},[
s
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
sub_user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"sub_user_id"
,
t
)},
expression
:
"searchFrom.sub_user_id"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
data
:
e
.
userList
}},[
s
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"主账户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
user_nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"子账户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
sub_user_avatar
}}),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sub_user_nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
sub_user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"绑定时间"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"unbind_at"
,
label
:
"解绑时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
"0000-00-00 00:00:00"
==
t
.
row
.
unbind_at
?
"未解绑"
:
t
.
row
.
unbind_at
))]}}])})],
1
),
e
.
_v
(
" "
),
s
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
o
=
s
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
e
){
s
(
"F9kO"
),
s
(
"uU+H"
)},
"data-v-3dbbda3a"
,
null
);
t
.
default
=
o
.
exports
},
"uU+H"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/36.858500f3da5fc516d4b1.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
36
],{
"9URi"
:
function
(
e
,
t
){},
JwTU
:
function
(
e
,
t
){},
QVUs
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
s
(
"kmJW"
),
i
=
(
s
(
"NC6I"
),
s
(
"CCn6"
)),
r
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
form
:{}}},
watch
:{
"dialogObj.show"
:{
deep
:
!
0
,
handler
:
function
(){
console
.
log
(
this
.
dialogObj
),
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
dialogObj
))}}},
methods
:{
saveAddress
:
function
(){
var
e
=
this
;
this
.
form
.
receive_name
?
this
.
form
.
receive_mobile
?
this
.
form
.
receive_address
?
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
deliver_id
:
e
.
form
.
id
,
receive_address
:
e
.
form
.
receive_address
,
receive_name
:
e
.
form
.
receive_name
,
receive_mobile
:
e
.
form
.
receive_mobile
,
express_no
:
e
.
form
.
express_no
,
express_name
:
e
.
form
.
express_name
,
status
:
e
.
form
.
status
};
Object
(
i
.
_156
)(
e
.
form
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)})}):
this
.
$message
({
type
:
"error"
,
message
:
"请输入收货地址"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请输入收货手机号"
}):
this
.
$message
({
type
:
"error"
,
message
:
"请输入收货人名"
})}},
mounted
:
function
(){
console
.
log
(
this
.
dialogObj
)}},
a
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
attrs
:{
title
:
"编辑"
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
s
(
"el-form"
,{
staticStyle
:{
"margin-top"
:
"20px"
},
attrs
:{
"label-width"
:
"100px"
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"收货人"
,
required
:
""
}},[
s
(
"el-input"
,{
attrs
:{
type
:
"text"
},
model
:{
value
:
e
.
form
.
receive_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"receive_name"
,
t
)},
expression
:
"form.receive_name"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"收货手机号"
,
required
:
""
}},[
s
(
"el-input"
,{
attrs
:{
type
:
"text"
},
model
:{
value
:
e
.
form
.
receive_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"receive_mobile"
,
t
)},
expression
:
"form.receive_mobile"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"收货地址"
,
required
:
""
}},[
s
(
"el-input"
,{
attrs
:{
type
:
"text"
},
model
:{
value
:
e
.
form
.
receive_address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"receive_address"
,
t
)},
expression
:
"form.receive_address"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"物流状态"
}},[
s
(
"el-radio-group"
,{
model
:{
value
:
e
.
form
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"status"
,
t
)},
expression
:
"form.status"
}},[
s
(
"el-radio"
,{
attrs
:{
label
:
0
}},[
e
.
_v
(
"待发货"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"已发货"
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"物流单号"
}},[
s
(
"el-input"
,{
attrs
:{
type
:
"text"
},
model
:{
value
:
e
.
form
.
express_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"express_no"
,
t
)},
expression
:
"form.express_no"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,{
attrs
:{
label
:
"物流名称"
}},[
s
(
"el-input"
,{
attrs
:{
type
:
"text"
},
model
:{
value
:
e
.
form
.
express_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"express_name"
,
t
)},
expression
:
"form.express_name"
}})],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAddress
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)},
staticRenderFns
:[]},
n
=
s
(
"VU/8"
)(
r
,
a
,
!
1
,
null
,
null
,
null
).
exports
,
l
=
{
name
:
"receiveInfoDialog"
,
props
:[
"showFlag"
,
"goodsList"
,
"cancelEvent"
,
"sureEvent"
],
data
:
function
(){
return
{
selectedGoods
:[]}},
methods
:{
cancelClick
:
function
(){
this
.
cancelEvent
()},
onAdd
:
function
(){
var
e
=
this
;
this
.
periods
&&
this
.
periods
.
id
?
this
.
exportReceiveInfo
().
then
(
function
(){
e
.
sureEvent
()}):
Vue
.
prototype
.
$msgbox
({
message
:
"请选择期数"
,
type
:
"warning"
})},
exportReceiveInfo
:
function
(){
return
Object
(
i
.
_28
)(
this
.
periods
.
id
)},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]})}},
handleItemChange
:
function
(
e
){
var
t
=
this
;
Object
(
i
.
_77
)({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
s
){
s
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
s
.
list
})}}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
showFlag
,
width
:
"800px"
,
center
:
""
,
title
:
"按期数导出收货信息"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showFlag
=
t
}}},[
s
(
"el-form"
,{
attrs
:{
"label-width"
:
"150px"
}},[
s
(
"el-form-item"
,{
attrs
:{
label
:
"期数"
}},[
s
(
"el-cascader"
,{
attrs
:{
options
:
e
.
goodsList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
e
.
handleItemChange
,
change
:
e
.
changePeriods
},
model
:{
value
:
e
.
selectedGoods
,
callback
:
function
(
t
){
e
.
selectedGoods
=
t
},
expression
:
"selectedGoods"
}})],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
e
.
cancelClick
}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onAdd
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)},
staticRenderFns
:[]},
c
=
s
(
"VU/8"
)(
l
,
d
,
!
1
,
null
,
null
,
null
).
exports
,
u
=
s
(
"zSLJ"
),
m
=
s
(
"sf/l"
),
p
=
s
(
"+TkF"
),
_
=
{
name
:
"index"
,
components
:{
page
:
o
.
a
,
addressDialog
:
n
,
receiveInfoDialog
:
c
},
data
:
function
(){
return
{
dialogObj
:{
show
:
!
1
},
showFlag
:
!
1
,
adressDialog
:
!
1
,
searchFrom
:{
user_id
:
""
,
theme_id
:
""
,
periods_id
:
""
,
type
:
"2"
},
nowPage
:
1
,
total
:
0
,
limit
:
10
,
deliverList
:[],
selectedGoods
:[],
secGoods
:[],
periodsId
:
null
,
goods_id
:
null
,
goodsList
:[],
themeList
:[],
uploadHeader
:{
token
:
u
.
a
.
get
(
"cc_token"
)},
param_token
:
m
.
a
.
md5Code
(),
logisticsType
:[{
value
:
"0"
,
name
:
"当前待发货 "
},{
value
:
"1"
,
name
:
"所有待发货 "
},{
value
:
"2"
,
name
:
"所有已发货 "
}]}},
filters
:{
LogisticsStatusFil
:
function
(
e
){
return
p
.
p
[
e
]}},
mounted
:
function
(){
this
.
init
()},
methods
:{
cancelEvent
:
function
(){
this
.
showFlag
=!
1
},
sureEvent
:
function
(){
this
.
showFlag
=!
1
},
handleClick
:
function
(
e
){
this
.
getList
()},
editAddress
:
function
(
e
){
console
.
log
(
e
),
this
.
dialogObj
.
express_no
=
e
.
express_no
,
this
.
dialogObj
.
express_name
=
e
.
express_name
,
this
.
dialogObj
.
status
=
e
.
status
,
this
.
dialogObj
.
receive_address
=
e
.
receive_address
,
this
.
dialogObj
.
receive_mobile
=
e
.
receive_mobile
,
this
.
dialogObj
.
receive_name
=
e
.
receive_name
,
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
show
=!
0
},
onUpdateAddress
:
function
(){
this
.
dialogObj
.
show
=!
1
,
this
.
getList
()},
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
}),
this
.
getList
()},
init
:
function
(){
this
.
getList
()},
exportTable
:
function
(){
var
e
=
{};
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
type
&&
"2"
!=
this
.
searchFrom
.
type
&&
(
e
.
status
=
this
.
searchFrom
.
type
),
Object
(
i
.
_27
)(
"/api/admin/user/deliver/once/export"
,
e
)},
initQuery
:
function
(){
var
e
=
this
,
t
=
this
.
$route
.
query
;
t
&&
t
.
goods_id
&&
t
.
periods_id
?(
this
.
goods_id
=
t
.
goods_id
,
this
.
selectedGoods
=
[
parseInt
(
t
.
goods_id
),
parseInt
(
t
.
periods_id
)],
getPeriodsApi
({
goods_id
:
this
.
selectedGoods
[
0
],
limit
:
100
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]}).
children
=
t
.
list
;
var
s
=
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]});
e
.
periods
=
s
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
1
]}),
console
.
log
(
e
.
periods
)})):
getDefaultPeriodsApi
().
then
(
function
(
t
){
console
.
log
(
t
),
t
&&
(
e
.
goods_id
=
t
.
goods_id
,
e
.
selectedGoods
=
[
parseInt
(
t
.
goods_id
),
parseInt
(
t
.
id
)],
getPeriodsApi
({
goods_id
:
e
.
selectedGoods
[
0
],
limit
:
100
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]}).
children
=
t
.
list
;
var
s
=
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]});
e
.
periods
=
s
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
1
]}),
e
.
teacher_id
=
""
,
console
.
log
(
e
.
periods
)}))}),
console
.
log
(
this
.
goodsList
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
type
&&
"2"
!=
this
.
searchFrom
.
type
&&
(
t
.
status
=
this
.
searchFrom
.
type
),
Object
(
i
.
_56
)(
t
).
then
(
function
(
t
){
e
.
deliverList
=
t
.
list
,
e
.
total
=
t
.
total
})},
reset
:
function
(){
this
.
searchFrom
=
{
user_id
:
""
,
theme_id
:
""
,
periods_id
:
""
,
type
:
""
},
this
.
getList
()}}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"admin-refresh"
},[
s
(
"div"
,{
staticClass
:
"section-search"
},[
s
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
inline
:
""
,
size
:
"small"
}},[
s
(
"el-form-item"
,[
s
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"用户ID"
,
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-form-item"
,[
s
(
"div"
,{
staticClass
:
"search-btn-wrapper"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
import
?
s
(
"el-upload"
,{
staticStyle
:{
"margin-left"
:
"10px"
},
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
accept
:
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"
,
action
:
"/api/admin/deliver/once/import"
}},[
s
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
}},[
e
.
_v
(
"导入发货信息"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
s
(
"el-button"
,{
staticStyle
:{
"margin-left"
:
"10px"
},
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
exportTable
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"el-tabs"
,{
staticStyle
:{
"padding-top"
:
"10px"
,
"background-color"
:
"#fff"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
searchFrom
.
type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type"
,
t
)},
expression
:
"searchFrom.type"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"所有"
,
name
:
"2"
}}),
e
.
_v
(
" "
),
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"待发货"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"已发货"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
s
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
deliverList
,
size
:
"mini"
}},[
s
(
"el-table-column"
,{
staticClass
:
"f-c"
,
attrs
:{
width
:
"200"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"img"
,{
staticClass
:
"avatar"
,
staticStyle
:{
"vertical-align"
:
"top"
},
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
),
s
(
"span"
,{
staticStyle
:{
display
:
"inline-block"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
user_nickname
)
+
"
\n
"
),
s
(
"br"
),
e
.
_v
(
"
\n
(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
),
s
(
"br"
),
e
.
_v
(
"
\n
手机:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"收货地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receive_name
)
+
"
\n
"
),
s
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receive_mobile
)
+
"
\n
"
),
s
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receive_address
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_title"
,
label
:
"商品名"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"货品类型"
,
width
:
"80px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
0
==
t
.
row
.
goods_type
?
"订单货品"
:
1
==
t
.
row
.
goods_type
?
"赠品"
:
""
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"updated_at"
,
label
:
"最后更新"
,
width
:
"95px"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"deliver_at"
,
label
:
"发货时间"
,
width
:
"100px"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
"status"
,
label
:
"物流状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
status
?[
s
(
"div"
,{
staticStyle
:{
color
:
"#e6a23c"
}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"LogisticsStatusFil"
)(
t
.
row
.
status
)))])]:
1
==
t
.
row
.
status
?[
s
(
"div"
,{
staticStyle
:{
color
:
"#67c23a"
}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"LogisticsStatusFil"
)(
t
.
row
.
status
)))])]:
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
express_name
?[
e
.
_v
(
e
.
_s
(
t
.
row
.
express_name
)
+
":"
)]:
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
express_no
?
s
(
"a"
,{
attrs
:{
href
:
"https://m.baidu.com/from=1013755s/s?word="
+
t
.
row
.
express_no
+
"&sa=tb&ts=2790568&t_kt=0&ie=utf-8&rsv_t=cbe2F%252FT5T3MIzkRl%252Fg8ZUw%252FEPHZmn2wHIrB8cLvgNlEKyyDqUNPrTyDEEDjkAb8&rsv_pq=11793168499026332712&ss=110000000001&tj=1&rqlang=zh&rsv_sug4=4111&inputT=3178&oq=快递单号查询"
,
target
:
"_blank"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
express_no
))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
s
(
"el-table-column"
,{
attrs
:{
width
:
"80"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-button"
,{
attrs
:{
plain
:
""
,
type
:
"primary"
,
size
:
"mini"
},
on
:{
click
:
function
(
s
){
e
.
editAddress
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)])]}}])})],
1
),
e
.
_v
(
" "
),
s
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
s
(
"address-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
onUpdateAddress
}})],
1
)},
staticRenderFns
:[]};
var
h
=
s
(
"VU/8"
)(
_
,
f
,
!
1
,
function
(
e
){
s
(
"9URi"
),
s
(
"JwTU"
)},
"data-v-3c159fe7"
,
null
);
t
.
default
=
h
.
exports
}});
\ No newline at end of file
dist/static/js/58.4bfa5d88102cf3d20a00.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
58
],{
Vt1u
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
o
(
"CCn6"
),
i
=
{
components
:{
page
:
o
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
roleList
:[],
exportMenuList
:[
"2-3"
,
"5-10"
,
"5-2"
,
"5-1"
,
"5-3"
,
"5-8"
,
"5-9"
,
"6-4"
,
"3-1"
,
"3-6"
,
"3-7"
,
"7-9"
,
"6-3"
,
"10-8"
],
dialog
:{
title
:
"新增角色"
,
show
:
!
1
,
select
:[],
chooseed
:[],
rules
:{
name
:[{
required
:
!
0
,
message
:
"请填写角色名称"
,
trigger
:
"change"
}]},
form
:{
name
:
""
,
menu_ids
:[],
id
:
""
}}}},
created
:
function
(){
this
.
getList
(),
this
.
getMenuList
()},
methods
:{
distribution
:
function
(
e
){},
rowClick
:
function
(
e
){
this
.
$router
.
push
({
name
:
"admin"
,
query
:{
roleId
:
e
.
id
}})},
getMenuList
:
function
(){
var
e
=
this
;
Object
(
n
.
_70
)().
then
(
function
(
t
){
t
&&
(
t
.
forEach
(
function
(
t
){
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
readonly
=!
1
,
t
.
delete
=!
1
,
e
.
exportMenuList
.
indexOf
(
t
.
cover
)
>-
1
&&
(
t
.
export
=!
1
),
"5-9"
!==
t
.
cover
&&
"7-9"
!==
t
.
cover
||
(
t
.
distribution
=!
1
),
"6-3"
!==
t
.
cover
&&
"5-3"
!==
t
.
cover
&&
"5-9"
!==
t
.
cover
&&
"6-4"
!==
t
.
cover
||
(
t
.
import
=!
1
),
"月课订单列表"
!==
t
.
name
&&
"日课订单列表"
!==
t
.
name
&&
"来源码管理"
!==
t
.
name
&&
"5-9"
!==
t
.
cover
&&
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
&&
"3-2"
!==
t
.
cover
&&
"3-6"
!==
t
.
cover
&&
"3-7"
!==
t
.
cover
||
(
t
.
refund
=!
1
),
"2-3"
!==
t
.
cover
&&
"3-1"
!==
t
.
cover
&&
"3-2"
!==
t
.
cover
&&
"3-6"
!==
t
.
cover
&&
"3-7"
!==
t
.
cover
||
(
t
.
classManageUnlimited
=!
1
,
t
.
classManage
=!
1
,
t
.
classTakeUnlimited
=!
1
),
"2-3"
===
t
.
cover
&&
(
t
.
exportFinish
=!
1
),
"5-1"
===
t
.
cover
&&
(
t
.
promoter
=!
1
)})}),
e
.
dialog
.
select
=
t
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
n
.
_91
)(
t
).
then
(
function
(
t
){
t
&&
(
e
.
roleList
=
t
.
list
,
e
.
total
=
t
.
total
)})},
edit
:
function
(
e
){
var
t
=
this
;
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑角色"
,
Object
(
n
.
_70
)().
then
(
function
(
o
){
o
&&
(
o
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
,
t
.
exportMenuList
.
indexOf
(
e
.
cover
)
>-
1
&&
(
e
.
export
=!
1
),
"5-9"
!==
e
.
cover
&&
"7-9"
!==
e
.
cover
||
(
e
.
distribution
=!
1
),
"6-3"
!==
e
.
cover
&&
"5-3"
!==
e
.
cover
&&
"5-9"
!==
e
.
cover
&&
"6-4"
!==
e
.
cover
||
(
e
.
import
=!
1
),
"月课订单列表"
!==
e
.
name
&&
"日课订单列表"
!==
e
.
name
&&
"来源码管理"
!==
e
.
name
&&
"5-9"
!==
e
.
cover
&&
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
&&
"3-2"
!==
e
.
cover
&&
"3-6"
!==
e
.
cover
&&
"3-7"
!==
e
.
cover
||
(
e
.
refund
=!
1
),
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
&&
"3-2"
!==
e
.
cover
&&
"3-6"
!==
e
.
cover
&&
"3-7"
!==
e
.
cover
||
(
e
.
classManageUnlimited
=!
1
,
e
.
classManage
=!
1
,
e
.
classTakeUnlimited
=!
1
),
"2-3"
===
e
.
cover
&&
(
e
.
exportFinish
=!
1
),
"5-1"
===
e
.
cover
&&
(
e
.
promoter
=!
1
)})}),
t
.
dialog
.
select
=
o
,
Object
(
n
.
_90
)(
e
.
id
).
then
(
function
(
e
){
t
.
dialog
.
form
.
name
=
e
.
name
,
t
.
dialog
.
form
.
menu_ids
=
JSON
.
parse
(
e
.
menu_ids
),
console
.
log
(
t
.
dialog
.
form
.
menu_ids
),
t
.
dialog
.
chooseed
=
[],
t
.
dialog
.
form
.
menu_ids
.
forEach
(
function
(
e
){
t
.
dialog
.
chooseed
.
push
(
e
.
id
),
t
.
dialog
.
select
.
forEach
(
function
(
o
){
o
.
children
&&
o
.
children
.
forEach
(
function
(
o
){
o
.
id
===
e
.
id
&&
(
o
.
readonly
=!!
e
.
readonly
,
o
.
delete
=!!
e
.
delete
,
t
.
exportMenuList
.
indexOf
(
e
.
cover
)
>-
1
&&
(
o
.
export
=!!
e
.
export
),
"5-1"
!==
e
.
cover
&&
"5-10"
!==
e
.
cover
&&
"10-1"
!==
e
.
cover
&&
"5-9"
!==
e
.
cover
&&
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
&&
"3-2"
!==
e
.
cover
&&
"3-6"
!==
e
.
cover
&&
"3-7"
!==
e
.
cover
||
(
o
.
refund
=!!
e
.
refund
),
"2-3"
!==
e
.
cover
&&
"3-1"
!==
e
.
cover
&&
"3-2"
!==
e
.
cover
&&
"3-6"
!==
e
.
cover
&&
"3-7"
!==
e
.
cover
||
(
o
.
classManage
=!!
e
.
classManage
,
o
.
classManageUnlimited
=!!
e
.
classManageUnlimited
,
o
.
classTakeUnlimited
=!!
e
.
classTakeUnlimited
),
"6-3"
!==
e
.
cover
&&
"5-3"
!==
e
.
cover
&&
"5-9"
!==
e
.
cover
&&
"6-4"
!==
e
.
cover
||
(
o
.
import
=!!
e
.
import
),
"5-9"
!==
e
.
cover
&&
"7-9"
!==
e
.
cover
||
(
o
.
distribution
=!!
e
.
distribution
),
"2-3"
===
e
.
cover
&&
(
o
.
exportFinish
=!!
e
.
exportFinish
),
"5-1"
===
e
.
cover
&&
(
o
.
promoter
=!!
e
.
promoter
))})})}),
t
.
dialog
.
show
=!
0
,
t
.
$nextTick
(
function
(){
this
.
$refs
.
tree
.
setCheckedKeys
(
this
.
dialog
.
chooseed
)})}))})},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增菜单"
,
this
.
dialog
.
form
.
name
=
""
,
this
.
dialog
.
form
.
menu_ids
=
[],
this
.
getMenuList
()},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
R
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getList
()})})},
sub
:
function
(){
var
e
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
o
=
[];
e
.
$refs
.
tree
.
getCheckedNodes
().
forEach
(
function
(
e
){
var
t
=
void
0
;
!
1
!==
e
.
readonly
&&!
0
!==
e
.
readonly
||
(
t
=
{
id
:
e
.
id
,
cover
:
e
.
cover
,
readonly
:
e
.
readonly
}),
!
1
!==
e
.
delete
&&!
0
!==
e
.
delete
||
(
t
.
delete
=
e
.
delete
),
!
1
!==
e
.
refund
&&!
0
!==
e
.
refund
||
(
t
.
refund
=
e
.
refund
),
!
1
!==
e
.
classManage
&&!
0
!==
e
.
classManage
||
(
t
.
classManage
=
e
.
classManage
),
!
1
!==
e
.
classManageUnlimited
&&!
0
!==
e
.
classManageUnlimited
||
(
t
.
classManageUnlimited
=
e
.
classManageUnlimited
),
!
1
!==
e
.
classTakeUnlimited
&&!
0
!==
e
.
classTakeUnlimited
||
(
t
.
classTakeUnlimited
=
e
.
classTakeUnlimited
),
!
1
!==
e
.
exportFinish
&&!
0
!==
e
.
exportFinish
||
(
t
.
exportFinish
=
e
.
exportFinish
),
!
1
!==
e
.
promoter
&&!
0
!==
e
.
promoter
||
(
t
.
promoter
=
e
.
promoter
),
!
1
!==
e
.
export
&&!
0
!==
e
.
export
||
(
t
.
export
=
e
.
export
),
!
1
!==
e
.
import
&&!
0
!==
e
.
import
||
(
t
.
import
=
e
.
import
),
!
1
!==
e
.
distribution
&&!
0
!==
e
.
distribution
||
(
t
.
distribution
=
e
.
distribution
),
t
&&
o
.
push
(
t
)});
var
i
=
e
.
dialog
;
if
(
i
.
form
.
id
){
var
a
=
{
name
:
i
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
e
.
$confirm
(
"此操作将修改该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_193
)(
i
.
form
.
id
,
a
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
i
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
r
=
{
name
:
i
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
o
)};
e
.
$confirm
(
"此操作将添加新角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_165
)(
r
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
i
.
show
=!
1
,
e
.
getList
()})})}}})}}},
a
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"role"
},[
o
(
"div"
,{
staticClass
:
"head clear-both"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增角色"
)])],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
attrs
:{
data
:
e
.
roleList
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"角色ID"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"角色名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
o
){
e
.
rowClick
(
t
.
row
)}}},[
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
name
))])]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"删除"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"100vw"
,
top
:
"0"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"角色名称"
,
prop
:
"name"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"name"
,
t
)},
expression
:
"dialog.form.name"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"菜单选项"
}},[
o
(
"div"
,{
staticClass
:
"custom-tree-container"
},[
o
(
"el-tree"
,{
ref
:
"tree"
,
attrs
:{
data
:
e
.
dialog
.
select
,
"show-checkbox"
:
""
,
"node-key"
:
"id"
,
"default-checked-keys"
:
e
.
dialog
.
chooseed
,
"default-expand-all"
:
""
,
"expand-on-click-node"
:
!
1
,
props
:{
children
:
"children"
,
label
:
"name"
,
value
:
!
1
}},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
n
=
t
.
node
,
i
=
t
.
data
;
return
o
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
o
(
"span"
,[
e
.
_v
(
e
.
_s
(
n
.
label
))]),
e
.
_v
(
" "
),
0
!==
i
.
pid
?
o
(
"span"
,[
"5-1"
===
i
.
cover
||
"5-10"
===
i
.
cover
||
"5-9"
===
i
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"退款"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"10-1"
===
i
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"类别管理"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-1"
===
i
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
promoter
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"promoter"
,
t
)},
expression
:
"data.promoter"
}},[
e
.
_v
(
"编辑推广人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
i
.
cover
||
"3-1"
===
i
.
cover
||
"3-2"
===
i
.
cover
||
"3-6"
===
i
.
cover
||
"3-7"
===
i
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"添加观摩班用户"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
i
.
cover
||
"3-1"
===
i
.
cover
||
"3-2"
===
i
.
cover
||
"3-6"
===
i
.
cover
||
"3-7"
===
i
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
classManage
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"classManage"
,
t
)},
expression
:
"data.classManage"
}},[
e
.
_v
(
"添加带班班用户"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
i
.
cover
||
"3-1"
===
i
.
cover
||
"3-2"
===
i
.
cover
||
"3-6"
===
i
.
cover
||
"3-7"
===
i
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
classManageUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"classManageUnlimited"
,
t
)},
expression
:
"data.classManageUnlimited"
}},[
e
.
_v
(
"添加观摩班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
i
.
cover
||
"3-1"
===
i
.
cover
||
"3-2"
===
i
.
cover
||
"3-6"
===
i
.
cover
||
"3-7"
===
i
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
classTakeUnlimited
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"classTakeUnlimited"
,
t
)},
expression
:
"data.classTakeUnlimited"
}},[
e
.
_v
(
"添加带班班(无限制)"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"5-9"
===
i
.
cover
||
"7-9"
===
i
.
cover
?
o
(
"el-checkbox"
,{
on
:{
change
:
e
.
distribution
},
model
:{
value
:
i
.
distribution
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"distribution"
,
t
)},
expression
:
"data.distribution"
}},[
e
.
_v
(
"批量分配"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"2-3"
===
i
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
exportFinish
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"exportFinish"
,
t
)},
expression
:
"data.exportFinish"
}},[
e
.
_v
(
"导出完课用户"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"6-3"
===
i
.
cover
||
"5-3"
===
i
.
cover
||
"5-9"
===
i
.
cover
||
"6-4"
===
i
.
cover
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
import
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"import"
,
t
)},
expression
:
"data.import"
}},[
e
.
_v
(
"导入"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
exportMenuList
.
indexOf
(
i
.
cover
)
>-
1
?
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
export
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"export"
,
t
)},
expression
:
"data.export"
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
readonly
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"readonly"
,
t
)},
expression
:
"data.readonly"
}},[
e
.
_v
(
"只读"
)]),
e
.
_v
(
" "
),
o
(
"el-checkbox"
,{
model
:{
value
:
i
.
delete
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"delete"
,
t
)},
expression
:
"data.delete"
}},[
e
.
_v
(
"删除"
)])],
1
):
e
.
_e
()])}}])})],
1
)])],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
o
(
"VU/8"
)(
i
,
a
,
!
1
,
function
(
e
){
o
(
"X45H"
)},
"data-v-56bf92c5"
,
null
);
t
.
default
=
r
.
exports
},
X45H
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/59.2a74a9bd6c05eb7b0a42.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
59
],{
NrkQ
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
(
a
(
"sf/l"
),
a
(
"CCn6"
)),
o
=
a
(
"+TkF"
),
i
=
{
name
:
"index"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
a
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
teacherId
:
null
,
secId
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
,
course_type
:
"-1"
},
tableData
:[],
commentForm
:{},
showCommentDialog
:
!
1
,
teacherList
:[],
goodList
:[]}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
o
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
created
:
function
(){
this
.
initPage
(),
this
.
getGoodsOption
(),
this
.
getTeacherList
()},
methods
:{
externalLaunchStatus
:
function
(
e
){
return
o
.
z
[
e
.
status
]},
formatTime
:
function
(
e
){
console
.
log
(
e
);
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
s
.
_61
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
pullAll
:
function
(){
var
e
=
this
;
if
(
this
.
secId
.
length
<
1
)
return
this
.
$message
(
"请选择订单"
),
!
1
;
if
(
!
this
.
teacherId
)
return
this
.
$message
(
"请选择老师"
),
!
1
;
var
t
=
{
order_ids
:[]};
this
.
secId
.
forEach
(
function
(
e
){
t
.
order_ids
.
push
(
e
)}),
this
.
$confirm
(
"是否确定将这"
+
t
.
order_ids
.
length
+
"笔订单分配给该老师?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
v
)(
e
.
teacherId
,{
ids
:
t
.
order_ids
.
join
(
","
)}).
then
(
function
(
t
){
e
.
$message
({
message
:
"提交成功"
,
type
:
"success"
}),
e
.
initPage
()})}).
catch
(
function
(){})},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_113
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
handleSelectionChange
:
function
(
e
){
var
t
=
this
;
this
.
secId
=
[],
e
.
forEach
(
function
(
e
){
t
.
secId
.
push
(
e
.
id
)})},
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
t
.
course_type
=
this
.
searchFrom
.
course_type
),
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
t
.
goods_name
=
this
.
searchFrom
.
goods_name
),
-
1
!=
this
.
searchFrom
.
user_buy
&&
(
t
.
user_buy
=
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
order_id
&&
(
t
.
order_id
=
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
time
&&
2
==
this
.
searchFrom
.
time
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
time
[
0
],
t
.
end_at
=
this
.
searchFrom
.
time
[
1
]),
this
.
searchFrom
.
active_time
&&
2
==
this
.
searchFrom
.
active_time
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_time
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_time
[
1
]),
Object
(
s
.
_33
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
initPage
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
initPage
()},
doExport
:
function
(){
var
e
=
"?type=export"
;
this
.
searchFrom
.
source
&&
(
e
=
e
+
"&source="
+
this
.
searchFrom
.
source
),
this
.
searchFrom
.
mobile
&&
(
e
=
e
+
"&mobile="
+
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
e
=
e
+
"&status="
+
this
.
searchFrom
.
status
),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
e
=
e
+
"&course_type="
+
this
.
searchFrom
.
course_type
),
"-1"
!==
this
.
searchFrom
.
user_buy
&&
(
e
=
e
+
"&user_buy="
+
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
nickname
&&
(
e
=
e
+
"&nickname="
+
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
e
=
e
+
"&user_id="
+
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
teacher_id
&&
(
e
=
e
+
"&teacher_id="
+
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
e
=
e
+
"&goods_name="
+
this
.
searchFrom
.
goods_name
),
this
.
searchFrom
.
order_id
&&
(
e
=
e
+
"&order_id="
+
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
e
=
e
+
"&goods_id="
+
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
time
&&
2
==
this
.
searchFrom
.
time
.
length
&&
(
e
=
(
e
=
e
+
"&start_at="
+
this
.
searchFrom
.
time
[
0
])
+
"&end_at="
+
this
.
searchFrom
.
time
[
1
]),
this
.
searchFrom
.
active_time
&&
2
==
this
.
searchFrom
.
active_time
.
length
&&
(
e
=
(
e
=
e
+
"&active_start_at="
+
this
.
searchFrom
.
active_time
[
0
])
+
"&active_end_at="
+
this
.
searchFrom
.
active_time
[
1
]),
window
.
open
(
"/api/admin/ads/export/all"
+
e
)},
saveComment
:
function
(){
var
e
=
this
,
t
=
void
0
;
t
=
this
.
commentForm
.
id
?
this
.
commentForm
.
id
:
this
.
secId
.
join
(
","
);
var
a
=
this
.
commentForm
.
desc
?
this
.
commentForm
.
desc
:
""
;
a
&&
this
.
$confirm
(
"确认编辑备注"
,
"提示"
,{
confirmButtonText
:
"继续"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
_181
)({
ids
:
t
,
desc
:
a
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
showCommentDialog
=!
1
,
e
.
initPage
()})})},
editNote
:
function
(
e
,
t
){
this
.
showCommentDialog
=!
0
,
this
.
commentForm
=
{
id
:
e
,
desc
:
t
}},
editComment
:
function
(
e
,
t
){
this
.
secId
.
length
>
0
?
this
.
showCommentDialog
=!
0
:
this
.
$message
({
type
:
"warning"
,
message
:
"请选择"
})}}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"领取时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"激活时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
active_time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"active_time"
,
t
)},
expression
:
"searchFrom.active_time"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"是否激活"
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
,
size
:
"medium"
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
user_buy
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_buy"
,
t
)},
expression
:
"searchFrom.user_buy"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"已激活"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"未激活"
,
value
:
0
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"沟通状态"
}},[
a
(
"el-select"
,{
attrs
:{
clearable
:
""
,
size
:
"medium"
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"已激活"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"假号"
,
value
:
2
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"没兴趣"
,
value
:
3
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"待激活"
,
value
:
0
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
r
){
return
a
(
"el-option"
,{
key
:
r
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"180px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"未指定"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
e
.
$store
.
state
.
export
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
initPage
},
model
:{
value
:
e
.
searchFrom
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_type"
,
t
)},
expression
:
"searchFrom.course_type"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
distribution
?
a
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
top
:
"10px"
,
right
:
"10px"
,
"font-size"
:
"14px"
}},[
e
.
_v
(
"
\n
老师:
\n
"
),
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
size
:
"small"
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
teacherId
,
callback
:
function
(
t
){
e
.
teacherId
=
t
},
expression
:
"teacherId"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
e
.
pullAll
}},[
e
.
_v
(
"批量分配"
)])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"领取人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
a
(
"div"
,[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
a
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝宝昵称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"telephone"
,
label
:
"领取电话"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
source
)
+
"("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"status"
,
formatter
:
e
.
externalLaunchStatus
,
label
:
"沟通状态"
,
width
:
"120"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"active_at"
,
label
:
"激活时间"
,
width
:
"90"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
"0000-00-00 00:00:00"
===
t
.
row
.
active_at
?
"未激活"
:
t
.
row
.
active_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"领取时间"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"180"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"编辑备注"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
showCommentDialog
,
"close-on-click-modal"
:
!
1
,
"close-on-press-escape"
:
!
1
,
"show-close"
:
!
1
,
width
:
"600px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showCommentDialog
=
t
}}},[
a
(
"div"
,[
a
(
"el-form"
,{
ref
:
"commentFrom"
,
attrs
:{
model
:
e
.
commentForm
}},[
a
(
"el-form-item"
,{
attrs
:{
prop
:
"desc"
}},[
a
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
commentForm
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
commentForm
,
"desc"
,
t
)},
expression
:
"commentForm.desc"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
showCommentDialog
=!
1
,
e
.
commentForm
=
{}}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveComment
}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
e
){
a
(
"am5e"
)},
"data-v-562940f3"
,
null
);
t
.
default
=
l
.
exports
},
am5e
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/60.15f4c68aa6f51d629833.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
60
],{
h7MV
:
function
(
e
,
n
){},
usUK
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"div"
,[
this
.
_v
(
"
\n
发货列表
\n
"
)])},
staticRenderFns
:[]};
var
i
=
t
(
"VU/8"
)({
name
:
"index"
},
r
,
!
1
,
function
(
e
){
t
(
"h7MV"
)},
"data-v-3f478d15"
,
null
);
n
.
default
=
i
.
exports
}});
\ No newline at end of file
dist/static/js/61.f1f918879fffd50063fc.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
61
],{
"Nyg+"
:
function
(
e
,
t
){},
hLMI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
a
(
"sf/l"
),
i
=
a
(
"CCn6"
),
o
=
{
name
:
"index"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
return
{
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
},
tableData
:[]}},
created
:
function
(){
this
.
initPage
()},
methods
:{
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
time
&&
(
t
.
time
=
this
.
searchFrom
.
time
),
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
t
.
date_start
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
),
t
.
date_end
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
Object
(
i
.
_34
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
initPage
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
initPage
()},
doExport
:
function
(){
var
e
=
"?type=export"
;
this
.
searchFrom
.
source
&&
(
e
=
e
+
"&source="
+
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
e
=
(
e
=
e
+
"&date_start="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
))
+
"&date_end="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
window
.
open
(
"/api/public/ads/export/all"
+
e
)}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
lg
:
10
,
sm
:
24
,
md
:
24
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
,
size
:
"small"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝贝名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"添加时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"Nyg+"
)},
"data-v-3da00fae"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/62.9f14c3144130e9d1ace0.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
62
],{
"+Xua"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
r
=
a
(
"kmJW"
),
i
=
a
(
"+TkF"
),
n
=
a
(
"Ix4X"
),
o
=
{
name
:
"periodsConversionList"
,
data
:
function
(){
var
e
=
this
;
return
{
updateTime
:
""
,
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
payTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
))}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
classToday
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
classTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
classYesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
classTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
classLast30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
classTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
classLast7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
classTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
spanArr
:[],
contentSpanArr
:[],
searchFrom
:{
payTime
:[],
classTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
},
propertyList
:[],
watchList
:[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]}},
components
:{
page
:
r
.
a
},
methods
:{
periodName
:
function
(
e
){
var
t
=
""
;
return
e
.
goods_id
&&
(
t
+=
"【"
+
e
.
goods_id
+
"】"
),
e
.
periods_title
?
t
+=
e
.
periods_title
+
"<br>"
:
t
+=
"<br>"
,
e
.
watch_num
&&
(
t
+=
e
.
watch_num
+
"课时"
),
e
.
start_at
&&
(
t
+=
"("
+
e
.
start_at
.
slice
(
5
).
replace
(
"-"
,
""
)
+
")"
),(
e
.
has_watch_num
||
0
==
e
.
has_watch_num
)
&&
(
t
+=
"-d"
+
e
.
has_watch_num
),
t
},
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
n
.
c
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_113
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
s
=
e
.
getDate
();
return
s
<
10
&&
(
s
=
"0"
+
s
),
t
+
"-"
+
a
+
"-"
+
s
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
s
.
_61
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
i
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_80
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
label
=
"【"
+
e
.
goods_id
+
"】"
+
e
.
title
+
e
.
watch_num
+
"课时("
+
e
.
start_at
.
slice
(
5
).
replace
(
"-"
,
""
)
+
")-d"
+
e
.
has_watch_num
}),
e
.
periodList
=
t
.
list
,
console
.
log
(
320
)})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
this
.
searchFrom
.
classTime
&&
this
.
searchFrom
.
classTime
.
length
>
0
&&
(
console
.
log
(
this
.
searchFrom
.
classTime
),
this
.
searchFrom
.
classTime
[
0
]
&&
this
.
searchFrom
.
classTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
class_start_at
=
this
.
searchFrom
.
classTime
[
0
],
t
.
class_start_at
=
this
.
searchFrom
.
class_start_at
),
this
.
searchFrom
.
classTime
[
1
]
&&
this
.
searchFrom
.
classTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
class_end_at
=
this
.
searchFrom
.
classTime
[
1
],
t
.
class_end_at
=
this
.
searchFrom
.
class_end_at
)),
Object
(
s
.
_79
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
s
){
a
.
index
=
s
,
0
==
s
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
s
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
s
);
var
r
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
i
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
n
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
r
,
a
.
goods_name
=
""
+
i
+
a
.
goods_name
+
n
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})},
getUpdateTime
:
function
(){
var
e
=
this
;
Object
(
s
.
_119
)().
then
(
function
(
t
){
t
.
time
&&
(
e
.
updateTime
=
t
.
time
)})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
(),
this
.
getTeacherList
(),
this
.
getUpdateTime
()}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"开结课日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
classToday
,
e
.
classYesterday
,
e
.
classLast7Day
,
e
.
classLast30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
classTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"classTime"
,
t
)},
expression
:
"searchFrom.classTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"480px"
},
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"组ID"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
changeTeacher
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"update-time"
},[
e
.
_v
(
"最近更新时间:"
+
e
.
_s
(
e
.
updateTime
?
e
.
updateTime
:
"-"
))]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"期数名称"
,
width
:
"170px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
domProps
:{
innerHTML
:
e
.
_s
(
e
.
periodName
(
t
.
row
))}})]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
staticStyle
:{
"font-size"
:
"12px"
},
attrs
:{
prop
:
"duration_over_at"
,
label
:
"开课看课时间"
,
width
:
"200"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
开课日期:"
+
e
.
_s
(
t
.
row
.
start_at
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
结课日期:"
+
e
.
_s
(
t
.
row
.
over_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_class_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
friend_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_class_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
come_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_class_num"
,
label
:
"转化率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sum_buy_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_money"
,
width
:
"120"
,
label
:
"转化总额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"LRob"
)},
null
,
null
);
t
.
default
=
c
.
exports
},
LRob
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/63.d8b8c40f74def7a4b9d7.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
63
],{
"3v84"
:
function
(
e
,
t
){},
TtuZ
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
r
=
a
(
"kmJW"
),
i
=
a
(
"+TkF"
),
n
=
a
(
"Ix4X"
),
o
=
{
name
:
"teacherPeriodsConversionList"
,
data
:
function
(){
var
e
=
this
;
return
{
updateTime
:
""
,
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
payTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
classToday
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
classTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
classYesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
classTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
classLast30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
classTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
classLast7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
classTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
spanArr
:[],
contentSpanArr
:[],
searchFrom
:{
classTime
:[],
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
},
propertyList
:[],
watchList
:[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]}},
components
:{
page
:
r
.
a
},
methods
:{
periodName
:
function
(
e
){
var
t
=
""
;
return
e
.
periods_title
?(
e
.
goods_id
&&
(
t
+=
"【"
+
e
.
goods_id
+
"】"
),
e
.
periods_title
&&
(
t
+=
e
.
periods_title
+
"<br>"
),
e
.
watch_num
&&
(
t
+=
e
.
watch_num
+
"课时"
),
e
.
start_at
&&
(
t
+=
"("
+
e
.
start_at
.
slice
(
5
).
replace
(
"-"
,
""
)
+
")"
),(
e
.
has_watch_num
||
0
==
e
.
has_watch_num
)
&&
(
t
+=
"-d"
+
e
.
has_watch_num
)):
t
=
"-"
,
t
},
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
n
.
c
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_113
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
s
=
e
.
getDate
();
return
s
<
10
&&
(
s
=
"0"
+
s
),
t
+
"-"
+
a
+
"-"
+
s
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
s
.
_61
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
i
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_80
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
label
=
"【"
+
e
.
goods_id
+
"】"
+
e
.
title
+
e
.
watch_num
+
"课时("
+
e
.
start_at
.
slice
(
5
).
replace
(
"-"
,
""
)
+
")-d"
+
e
.
has_watch_num
}),
e
.
periodList
=
t
.
list
})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
this
.
searchFrom
.
classTime
&&
this
.
searchFrom
.
classTime
.
length
>
0
&&
(
console
.
log
(
this
.
searchFrom
.
classTime
),
this
.
searchFrom
.
classTime
[
0
]
&&
this
.
searchFrom
.
classTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
class_start_at
=
this
.
searchFrom
.
classTime
[
0
],
t
.
class_start_at
=
this
.
searchFrom
.
class_start_at
),
this
.
searchFrom
.
classTime
[
1
]
&&
this
.
searchFrom
.
classTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
class_end_at
=
this
.
searchFrom
.
classTime
[
1
],
t
.
class_end_at
=
this
.
searchFrom
.
class_end_at
)),
Object
(
s
.
_114
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
s
){
a
.
index
=
s
,
0
==
s
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
s
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
s
);
var
r
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
i
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
n
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
r
,
a
.
goods_name
=
""
+
i
+
a
.
goods_name
+
n
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})},
getUpdateTime
:
function
(){
var
e
=
this
;
Object
(
s
.
_119
)().
then
(
function
(
t
){
t
.
time
&&
(
e
.
updateTime
=
t
.
time
)})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getPeriodsOtherList
(),
this
.
getGoodsList
(),
this
.
getTeacherList
(),
this
.
getUpdateTime
()}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"开结课日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
classToday
,
e
.
classYesterday
,
e
.
classLast7Day
,
e
.
classLast30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
classTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"classTime"
,
t
)},
expression
:
"searchFrom.classTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"组ID"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"480px"
},
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
changeTeacher
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"update-time"
},[
e
.
_v
(
"最近更新时间:"
+
e
.
_s
(
e
.
updateTime
?
e
.
updateTime
:
"-"
))]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
,
width
:
"180px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
domProps
:{
innerHTML
:
e
.
_s
(
e
.
periodName
(
t
.
row
))}})]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
staticStyle
:{
"font-size"
:
"12px"
},
attrs
:{
prop
:
"duration_over_at"
,
label
:
"开课看课时间"
,
width
:
"180"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
开课日期:"
+
e
.
_s
(
t
.
row
.
start_at
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
结课日期:"
+
e
.
_s
(
t
.
row
.
over_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"老师名称"
,
width
:
"180"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_class_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
friend_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_class_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
come_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_class_num"
,
label
:
"转化率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sum_buy_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_money"
,
width
:
"120"
,
label
:
"转化总额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"3v84"
)},
null
,
null
);
t
.
default
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/64.ee38beac5e4d808a897d.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
64
],{
XXYb
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
i
=
a
(
"kmJW"
),
r
=
a
(
"+TkF"
),
n
=
{
name
:
"channelTransList"
,
data
:
function
(){
var
e
=
this
;
return
{
updateTime
:
""
,
typeList
:[],
width
:
0
,
nowPage
:
1
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[],
total
:
0
,
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
payTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
classToday
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
classTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
classYesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
classTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
classLast30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
classTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
classLast7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
classTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
spanArr
:[],
contentSpanArr
:[],
searchFrom
:{
payTime
:[],
classTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
},
propertyList
:[],
watchList
:[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]}},
components
:{
page
:
i
.
a
},
methods
:{
periodName
:
function
(
e
){},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
exportDataTable
:
function
(){
var
e
=
{};
this
.
searchFrom
.
sort_value
&&
(
e
.
sort_value
=
this
.
searchFrom
.
sort_value
,
e
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
start_at
.
length
>
0
&&
this
.
searchFrom
.
end_at
.
length
>
0
&&
(
e
.
start_at
=
this
.
searchFrom
.
start_at
,
e
.
end_at
=
this
.
searchFrom
.
end_at
),
this
.
searchFrom
.
teacher_id
&&
(
e
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
type_id
&&
(
e
.
type_id
=
this
.
searchFrom
.
type_id
),
this
.
searchFrom
.
invite_type
.
length
>
0
&&
(
e
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
periods_id
&&
(
e
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
squad
&&
(
e
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
e
.
watch_num
=
this
.
searchFrom
.
watch_num
),
Object
(
s
.
_27
)(
"/api/admin/channel/class/list/export"
,
e
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
Object
(
s
.
_77
)({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
s
=
e
.
getDate
();
return
s
<
10
&&
(
s
=
"0"
+
s
),
t
+
"-"
+
a
+
"-"
+
s
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_113
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
}),
Object
(
s
.
_51
)({
page
:
1
,
limit
:
100
,
key
:
"code_rule_type"
}).
then
(
function
(
t
){
e
.
typeList
=
t
.
list
})},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
s
.
_61
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
r
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
s
.
_80
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
label
=
"【"
+
e
.
goods_id
+
"】"
+
e
.
title
+
e
.
watch_num
+
"课时("
+
e
.
start_at
.
slice
(
5
).
replace
(
"-"
,
""
)
+
")-d"
+
e
.
has_watch_num
}),
e
.
periodList
=
t
.
list
})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
type_id
&&
(
t
.
type_id
=
this
.
searchFrom
.
type_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
this
.
searchFrom
.
classTime
&&
this
.
searchFrom
.
classTime
.
length
>
0
&&
(
console
.
log
(
this
.
searchFrom
.
classTime
),
this
.
searchFrom
.
classTime
[
0
]
&&
this
.
searchFrom
.
classTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
class_start_at
=
this
.
searchFrom
.
classTime
[
0
],
t
.
class_start_at
=
this
.
searchFrom
.
class_start_at
),
this
.
searchFrom
.
classTime
[
1
]
&&
this
.
searchFrom
.
classTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
class_end_at
=
this
.
searchFrom
.
classTime
[
1
],
t
.
class_end_at
=
this
.
searchFrom
.
class_end_at
)),
Object
(
s
.
_131
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
s
){
a
.
index
=
s
,
0
==
s
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
s
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
s
),
a
.
squad
=
"T"
+
a
.
squad
;
var
i
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
r
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
n
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
i
,
a
.
goods_name
=
""
+
r
+
a
.
goods_name
+
n
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})},
getUpdateTime
:
function
(){
var
e
=
this
;
Object
(
s
.
_119
)().
then
(
function
(
t
){
t
.
time
&&
(
e
.
updateTime
=
t
.
time
)})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getTeacherList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
(),
this
.
getUpdateTime
()}},
o
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"开结课日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
classToday
,
e
.
classYesterday
,
e
.
classLast7Day
,
e
.
classLast30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
classTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"classTime"
,
t
)},
expression
:
"searchFrom.classTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道类别"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type_id"
,
t
)},
expression
:
"searchFrom.type_id"
}},
e
.
_l
(
e
.
typeList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"480px"
},
attrs
:{
"popper-class"
:
"refresh-select-multi width-480"
,
placeholder
:
"请选择"
,
multiple
:
""
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"组ID"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
changeTeacher
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
_e
()],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"update-time"
},[
e
.
_v
(
"最近更新时间:"
+
e
.
_s
(
e
.
updateTime
?
e
.
updateTime
:
"-"
))]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"进量日期"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"渠道类型"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
,
width
:
"180"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
staticStyle
:{
"font-size"
:
"12px"
},
attrs
:{
prop
:
"duration_over_at"
,
label
:
"开课看课时间"
,
width
:
"200"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
开课日期:"
+
e
.
_s
(
t
.
row
.
start_at
)
+
"
\n
"
),
a
(
"br"
),
e
.
_v
(
"
\n
结课日期:"
+
e
.
_s
(
t
.
row
.
over_at
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"squad"
,
label
:
"组ID"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"老师名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_num"
,
label
:
"购买人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_num"
,
label
:
"班级人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_friend_num"
,
label
:
"老师主动添加好友人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"user_friend_num"
,
label
:
"用户主动添加好友人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num"
,
label
:
"到课人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"one_buy_num"
,
label
:
"一年课购买人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"two_buy_num"
,
label
:
"两年课购买人数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"one_buy_money"
,
label
:
"一年课转化金额"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"two_buy_money"
,
label
:
"两年课转化金额"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
n
,
o
,
!
1
,
function
(
e
){
a
(
"br/y"
)},
null
,
null
);
t
.
default
=
l
.
exports
},
"br/y"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/65.68863829f6aba58b94a0.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
65
],{
M7X6
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
s
=
a
(
"kmJW"
),
i
=
a
(
"+TkF"
),
n
=
a
(
"Ix4X"
),
o
=
{
name
:
"squadConversionList"
,
data
:
function
(){
var
e
=
this
;
return
{
updateTime
:
""
,
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
periodList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
payTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
spanArr
:[],
contentSpanArr
:[],
searchFrom
:{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
},
propertyList
:[],
watchList
:[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}]}},
components
:{
page
:
s
.
a
},
methods
:{
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
n
.
c
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
r
.
_61
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
i
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
getPeriodsOtherList
:
function
(){
var
e
=
this
;
Object
(
r
.
_80
)({
limit
:
1
e3
,
page
:
1
,
max_watch_num
:
20
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
label
=
"【"
+
e
.
goods_id
+
"】"
+
e
.
title
+
e
.
watch_num
+
"课时("
+
e
.
start_at
.
slice
(
5
).
replace
(
"-"
,
""
)
+
")-d"
+
e
.
has_watch_num
}),
e
.
periodList
=
t
.
list
})},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFrom
.
squad
),
this
.
searchFrom
.
watch_num
&&
(
t
.
watch_num
=
this
.
searchFrom
.
watch_num
),
this
.
periods_id
&&
(
t
.
periods_ids
=
this
.
periods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
Object
(
r
.
_98
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
t
.
list
.
push
(
t
.
total_result
),
console
.
log
(
t
.
list
),
e
.
list
=
t
.
list
.
map
(
function
(
a
,
r
){
a
.
index
=
r
,
0
==
r
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
r
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
r
),
r
==
t
.
list
.
length
-
1
?
a
.
squad
=
"合计"
:
a
.
squad
=
"T"
+
a
.
squad
;
var
s
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
i
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
n
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
s
,
a
.
goods_name
=
""
+
i
+
a
.
goods_name
+
n
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})},
getUpdateTime
:
function
(){
var
e
=
this
;
Object
(
r
.
_119
)().
then
(
function
(
t
){
t
.
time
&&
(
e
.
updateTime
=
t
.
time
)})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsList
(),
this
.
getPeriodsOtherList
(),
this
.
getUpdateTime
()}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品课时数"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
clearable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
selectChange
},
model
:{
value
:
e
.
searchFrom
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"watch_num"
,
t
)},
expression
:
"searchFrom.watch_num"
}},
e
.
_l
(
e
.
watchList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
,
prop
:
"periods_title"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"480px"
},
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
onPeriodChange
},
model
:{
value
:
e
.
searchFrom
.
periods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"periods_id"
,
t
)},
expression
:
"searchFrom.periods_id"
}},
e
.
_l
(
e
.
periodList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"update-time"
},[
e
.
_v
(
"最近更新时间:"
+
e
.
_s
(
e
.
updateTime
?
e
.
updateTime
:
"-"
))]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"squad"
,
label
:
"组别"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_class_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
friend_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_class_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
come_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_class_num"
,
"render-header"
:
e
.
rendertip
,
label
:
"转化率"
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
sum_buy_num_except_class_num
)
+
"%
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_money"
,
width
:
"120"
,
label
:
"转化总额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"N8DU"
)},
null
,
null
);
t
.
default
=
c
.
exports
},
N8DU
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/66.3c1304239ffe658f617c.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
66
],{
LlUx
:
function
(
e
,
t
){},
x4wH
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"CCn6"
),
s
=
(
r
(
"+TkF"
),
r
(
"kmJW"
)),
n
=
r
(
"hFUZ"
),
i
=
r
(
"eBmH"
),
o
=
{},
l
=
{
name
:
"growth"
,
data
:
function
(){
return
{
transfer
:{
show
:
!
1
,
form
:{
reason
:
""
,
reason_name
:
""
,
teacher_name
:
""
,
teacher_id
:
""
,
staff_current_name
:
""
,
staff_name
:
""
,
staff_id
:
""
,
transfer_at
:
""
,
rules
:{
staff_id
:[{
required
:
!
0
,
message
:
"请选择"
,
trigger
:
"change"
}],
transfer_at
:[{
required
:
!
0
,
message
:
"请选择"
,
trigger
:
"change"
}],
reason
:[{
required
:
!
0
,
message
:
"请选择"
,
trigger
:
"change"
}]}},
staff
:[
0
],
reasonList
:[{
id
:
0
,
name
:
"人员入职"
},{
id
:
1
,
name
:
"人员离职"
},{
id
:
2
,
name
:
"请假"
},{
id
:
3
,
name
:
"其它"
}]},
searchFrom
:{
name
:
""
,
alias
:
""
,
status
:
"0"
,
task_date
:
this
.
formatTime
(
new
Date
),
squad
:
"1"
,
type
:
"3,4"
},
dialogObj
:{
typeAdd
:
"3,4"
,
type
:
0
,
show
:
!
1
,
id
:
""
},
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
20
,
res
:
null
,
dialogDetailObj
:{
show
:
!
1
,
title
:
"班级列表"
,
id
:
""
},
teacherTypeOption
:[{
id
:
0
,
label
:
"老师"
},{
id
:
1
,
label
:
"新星妈妈"
}],
phoneNumObj
:{}}},
watch
:{
"dialogDetail.show"
:
function
(
e
){
e
||
this
.
getUser
()}},
components
:{
page
:
s
.
a
,
dialogCom
:
i
.
a
,
teacherDetail
:
n
.
default
},
filters
:{
teacherType
:
function
(
e
){
return
o
[
e
]}},
mounted
:
function
(){
var
e
=
this
,
t
=
localStorage
.
getItem
(
"phoneNum"
);
console
.
log
(
t
),
t
&&
(
t
=
JSON
.
parse
(
t
),
this
.
phoneNumObj
=
t
),
t
&&
"teacher_leader"
!=
t
.
teacher_type
?
this
.
$router
.
push
(
"/teacher/"
+
t
.
id
):
this
.
getUser
(),
Object
(
a
.
_116
)().
then
(
function
(
t
){
e
.
dialogObj
.
teacherTypeList
=
t
;
var
r
=
{};
t
.
forEach
(
function
(
e
,
t
){
r
[
e
.
type
]
=
e
.
name
}),
o
=
r
,
console
.
log
(
r
)})},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
r
=
e
.
getMonth
()
+
1
;
r
<
10
&&
(
r
=
"0"
+
r
);
var
a
=
e
.
getDate
();
return
a
<
10
&&
(
a
=
"0"
+
a
),
t
+
"-"
+
r
+
"-"
+
a
},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};(
this
.
searchFrom
.
type
||
0
===
this
.
searchFrom
.
type
)
&&
(
t
.
type
=
this
.
searchFrom
.
type
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
this
.
searchFrom
.
name
&&
(
t
.
name
=
this
.
searchFrom
.
name
),
this
.
searchFrom
.
alias
&&
(
t
.
alias
=
this
.
searchFrom
.
alias
),
this
.
searchFrom
.
task_date
&&
(
t
.
task_date
=
this
.
searchFrom
.
task_date
);
var
r
=
localStorage
.
getItem
(
"phoneNum"
);
r
&&
(
r
=
JSON
.
parse
(
r
)),
r
&&
"teacher_leader"
==
r
.
teacher_type
?
t
.
squad
=
r
.
squad
:
t
.
squad
=
this
.
searchFrom
.
squad
,
Object
(
a
.
_113
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
,
e
.
res
=
t
})},
transferStaffName
:
function
(
e
){
this
.
transfer
.
form
.
staff_name
=
this
.
transfer
.
staff
.
find
(
function
(
t
){
return
t
.
id
==
e
}).
name
},
transferReasonName
:
function
(
e
){
this
.
transfer
.
form
.
reason_name
=
this
.
transfer
.
reasonList
.
find
(
function
(
t
){
return
t
.
id
==
e
}).
name
},
transferToggle
:
function
(
e
){
var
t
=
this
;
if
(
this
.
transfer
.
show
=!
this
.
transfer
.
show
,
this
.
transfer
.
show
){
if
(
0
===
this
.
transfer
.
staff
[
0
]){
Object
(
a
.
_99
)({
limit
:
1
e3
,
page
:
1
,
status
:
0
}).
then
(
function
(
e
){
t
.
transfer
.
staff
=
e
.
list
})}
this
.
$nextTick
(
function
(){
t
.
$refs
.
transferForm
.
resetFields
(),
t
.
transfer
.
form
.
teacher_name
=
e
.
name
,
t
.
transfer
.
form
.
teacher_id
=
e
.
id
,
t
.
transfer
.
form
.
staff_current_name
=
e
.
adviser
})}
else
this
.
$nextTick
(
function
(){
t
.
$refs
.
transferForm
.
resetFields
()})},
transferSave
:
function
(){
var
e
=
this
;
this
.
$refs
.
transferForm
.
validate
(
function
(
t
){
if
(
!
t
)
return
console
.
log
(
"error submit!!"
),
!
1
;
e
.
$confirm
(
'确定将
\
n <span style="color: red;">'
+
e
.
transfer
.
form
.
teacher_name
+
'</span> 移交给
\
n <span style="color: red;">'
+
e
.
transfer
.
form
.
staff_name
+
"</span> ?<br>
\n
移交开始时间 "
+
e
.
transfer
.
form
.
transfer_at
+
" <br>
\n
移交原因 "
+
e
.
transfer
.
form
.
reason_name
,
"提示"
,{
dangerouslyUseHTMLString
:
!
0
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
teacher_id
:
e
.
transfer
.
form
.
teacher_id
,
staff_id
:
e
.
transfer
.
form
.
staff_id
,
transfer_at
:
e
.
transfer
.
form
.
transfer_at
,
reason
:
e
.
transfer
.
form
.
reason
};
Object
(
a
.
_153
)(
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"移交成功!"
}),
e
.
transferToggle
(),
e
.
getUser
()})}).
catch
(
function
(){
e
.
$message
({
type
:
"info"
,
message
:
"已取消移交"
})})})},
edit
:
function
(
e
){
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
type
=
2
,
this
.
dialogObj
.
show
=!
0
},
add
:
function
(){
this
.
dialogObj
.
type
=
0
,
this
.
dialogObj
.
show
=!
0
},
detail
:
function
(
e
){
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
type
=
1
,
this
.
dialogObj
.
show
=!
0
},
delTeacher
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该账号?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
X
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getUser
()})})},
changeShow
:
function
(
e
){
this
.
dialogObj
.
show
=
e
},
classDetail
:
function
(
e
){
this
.
dialogDetailObj
=
{
show
:
!
0
,
title
:
e
.
name
+
"班级详情"
,
id
:
e
.
id
}},
goToTeacherDetail
:
function
(
e
){
this
.
dialogDetail
.
id
=
e
.
id
,
this
.
dialogDetail
.
show
=!
0
}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"user"
},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
size
:
"mini"
,
"label-width"
:
"68px"
,
inline
:
""
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"90px"
},
model
:{
value
:
e
.
searchFrom
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"name"
,
t
)},
expression
:
"searchFrom.name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
alias
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"alias"
,
t
)},
expression
:
"searchFrom.alias"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"老师状态"
,
clearable
:
""
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"88px"
},
attrs
:{
clearable
:
""
},
on
:{
change
:
e
.
getUser
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"带班"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
r
(
"el-option"
,{
attrs
:{
label
:
"不带班"
,
value
:
"1"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"任务日期"
}},[
r
(
"el-date-picker"
,{
staticStyle
:{
width
:
"140px"
},
attrs
:{
type
:
"date"
,
"value-format"
:
"yyyy-MM-dd"
,
placeholder
:
"选择日期"
},
model
:{
value
:
e
.
searchFrom
.
task_date
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"task_date"
,
t
)},
expression
:
"searchFrom.task_date"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增增长运营"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getUser
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}},
e
.
_l
(
10
,
function
(
t
){
return
"teacher_leader"
!=
e
.
phoneNumObj
.
teacher_type
?
r
(
"el-tab-pane"
,{
key
:
t
,
attrs
:{
label
:
"T"
+
t
,
name
:
t
.
toString
()}}):
e
.
_e
()})),
e
.
_v
(
" "
),
r
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
size
:
"mini"
,
data
:
e
.
userList
,
height
:
"calc(100vh - 335px)"
}},[
r
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
width
:
"250"
,
label
:
"老师"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
r
(
"a"
,{
staticClass
:
"clearfix"
,
attrs
:{
href
:
t
.
row
.
qr
,
target
:
"_blank"
}},[
r
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
qr
,
alt
:
"二维码"
}})]),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
"
\n
老师名:"
+
e
.
_s
(
t
.
row
.
name
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
微信号:"
+
e
.
_s
(
t
.
row
.
alias
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
类别:"
+
e
.
_s
(
e
.
_f
(
"teacherType"
)(
t
.
row
.
type
))
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
顾问:"
+
e
.
_s
(
t
.
row
.
adviser
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
开始时间:"
),
r
(
"span"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"72px"
,
"vertical-align"
:
"text-top"
,
"line-height"
:
"16px"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
teacher_start
))])])])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"添加好友"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
进班人数:"
+
e
.
_s
(
t
.
row
.
into_class_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
加老师处理数:"
+
e
.
_s
(
t
.
row
.
add_teacher_exec_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
加老师成功数:"
+
e
.
_s
(
t
.
row
.
add_teacher_success_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
成功率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
Number
(
t
.
row
.
add_teacher_success_rate
)
>
70
?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
t
.
row
.
add_teacher_success_rate
)?
Number
(
t
.
row
.
add_teacher_success_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
100
===
Number
(
t
.
row
.
add_teacher_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
t
.
row
.
add_teacher_exec_rate
)?
Number
(
t
.
row
.
add_teacher_exec_rate
):
0
}})]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"召回率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
需召回人数:"
+
e
.
_s
(
t
.
row
.
need_recall_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
已沟通人数:"
+
e
.
_s
(
t
.
row
.
recall_desc_exec_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
用户回复数:"
+
e
.
_s
(
t
.
row
.
recall_desc_reply_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
达标率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
100
===
Number
(
t
.
row
.
recall_watch_rate
)?
"#67C23A"
:
"#dd001b"
,
percentage
:
Number
(
t
.
row
.
recall_watch_rate
)?
Number
(
t
.
row
.
recall_watch_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
100
===
Number
(
t
.
row
.
recall_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
t
.
row
.
recall_exec_rate
)?
Number
(
t
.
row
.
recall_exec_rate
):
0
}})]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"意向标记"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
意向用户数:"
+
e
.
_s
(
t
.
row
.
intention_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
完课沟通用户数"
+
e
.
_s
(
t
.
row
.
over_desc_exec_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
往期活跃用户沟通数:"
+
e
.
_s
(
t
.
row
.
past_desc_exec_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
标记率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
t
.
row
.
over_intention_rate
)?
Number
(
t
.
row
.
over_intention_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
100
===
Number
(
t
.
row
.
over_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
t
.
row
.
over_exec_rate
)?
Number
(
t
.
row
.
over_exec_rate
):
0
}})]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"intention_num"
,
width
:
"100"
,
label
:
"意向用户数"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"performance"
,
width
:
"100"
,
label
:
"当月业绩"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
width
:
"320"
,
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
goToTeacherDetail
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"warning"
},
on
:{
click
:
function
(
r
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"success"
},
on
:{
click
:
function
(
r
){
e
.
transferToggle
(
t
.
row
)}}},[
e
.
_v
(
"移交"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
r
){
e
.
delTeacher
(
t
.
row
)}}},[
e
.
_v
(
"删除"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
e
.
res
?
r
(
"div"
,{
staticClass
:
"total-tab"
},[
r
(
"div"
,[
e
.
_v
(
"总计"
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
r
(
"div"
,[
e
.
_v
(
"
\n
成功率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
Number
(
e
.
res
.
add_teacher_success_rate
)
>
70
?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
e
.
res
.
add_teacher_success_rate
)?
Number
(
e
.
res
.
add_teacher_success_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
100
===
Number
(
e
.
res
.
add_teacher_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
e
.
res
.
add_teacher_exec_rate
)?
Number
(
e
.
res
.
add_teacher_exec_rate
):
0
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
r
(
"div"
,[
e
.
_v
(
"
\n
达标率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
100
===
Number
(
e
.
res
.
recall_watch_rate
)?
"#67C23A"
:
"#ff0000"
,
percentage
:
Number
(
e
.
res
.
recall_watch_rate
)?
Number
(
e
.
res
.
recall_watch_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
100
===
Number
(
e
.
res
.
recall_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
e
.
res
.
recall_exec_rate
)?
Number
(
e
.
res
.
recall_exec_rate
):
0
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
r
(
"div"
,[
e
.
_v
(
"
\n
标记率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
res
.
over_intention_rate
)?
Number
(
e
.
res
.
over_intention_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
100
===
Number
(
e
.
res
.
over_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
e
.
res
.
over_exec_rate
)?
Number
(
e
.
res
.
over_exec_rate
):
0
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
res
.
intention_num
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
res
.
total_money
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"div"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
r
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
r
(
"dialog-com"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
changeShow
:
e
.
changeShow
,
reflash
:
e
.
getUser
}}),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
width
:
"90%"
,
top
:
"5vh"
,
visible
:
e
.
dialogDetail
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogDetail
,
"show"
,
t
)}}},[
e
.
dialogDetail
.
show
?
r
(
"div"
,[
r
(
"teacher-detail"
,{
attrs
:{
parentDetail
:
e
.
dialogDetail
}})],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
width
:
"500px"
,
visible
:
e
.
transfer
.
show
,
title
:
"移交"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
transfer
,
"show"
,
t
)}}},[
r
(
"el-form"
,{
ref
:
"transferForm"
,
attrs
:{
rules
:
e
.
transfer
.
form
.
rules
,
model
:
e
.
transfer
.
form
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"当前设备:"
,
prop
:
"teacher_name"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
transfer
.
form
.
teacher_name
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"当前顾问:"
,
prop
:
"staff_current_name"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
transfer
.
form
.
staff_current_name
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"移交顾问:"
,
prop
:
"staff_id"
}},[
r
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
!
1
},
on
:{
change
:
e
.
transferStaffName
},
model
:{
value
:
e
.
transfer
.
form
.
staff_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
transfer
.
form
,
"staff_id"
,
t
)},
expression
:
"transfer.form.staff_id"
}},
e
.
_l
(
e
.
transfer
.
staff
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"移交时间:"
,
prop
:
"transfer_at"
}},[
r
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
r
(
"el-date-picker"
,{
attrs
:{
clearable
:
!
1
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
type
:
"datetime"
,
placeholder
:
"选择时间"
},
model
:{
value
:
e
.
transfer
.
form
.
transfer_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
transfer
.
form
,
"transfer_at"
,
t
)},
expression
:
"transfer.form.transfer_at"
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"移交原因:"
,
prop
:
"reason"
}},[
r
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
!
1
},
on
:{
change
:
e
.
transferReasonName
},
model
:{
value
:
e
.
transfer
.
form
.
reason
,
callback
:
function
(
t
){
e
.
$set
(
e
.
transfer
.
form
,
"reason"
,
t
)},
expression
:
"transfer.form.reason"
}},
e
.
_l
(
e
.
transfer
.
reasonList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
e
.
transferToggle
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
transferSave
}},[
e
.
_v
(
"确定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
_
=
r
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
r
(
"LlUx"
)},
"data-v-2247f1ae"
,
null
);
t
.
default
=
_
.
exports
}});
\ No newline at end of file
dist/static/js/67.bb8a657fc31dbc5a7d73.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
67
],{
OGfD
:
function
(
e
,
t
){},
QOFr
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"CCn6"
),
s
=
(
r
(
"+TkF"
),
r
(
"kmJW"
)),
n
=
r
(
"hFUZ"
),
i
=
r
(
"eBmH"
),
o
=
{},
l
=
{
name
:
"growth"
,
data
:
function
(){
return
{
transfer
:{
show
:
!
1
,
form
:{
reason
:
""
,
reason_name
:
""
,
teacher_name
:
""
,
teacher_id
:
""
,
staff_current_name
:
""
,
staff_name
:
""
,
staff_id
:
""
,
transfer_at
:
""
,
rules
:{
staff_id
:[{
required
:
!
0
,
message
:
"请选择"
,
trigger
:
"change"
}],
transfer_at
:[{
required
:
!
0
,
message
:
"请选择"
,
trigger
:
"change"
}],
reason
:[{
required
:
!
0
,
message
:
"请选择"
,
trigger
:
"change"
}]}},
staff
:[
0
],
reasonList
:[{
id
:
0
,
name
:
"人员入职"
},{
id
:
1
,
name
:
"人员离职"
},{
id
:
2
,
name
:
"请假"
},{
id
:
3
,
name
:
"其它"
}]},
searchFrom
:{
name
:
""
,
alias
:
""
,
status
:
"0"
,
task_date
:
this
.
formatTime
(
new
Date
),
squad
:
"1"
,
type
:
2
},
dialogObj
:{
typeAdd
:
2
,
type
:
0
,
show
:
!
1
,
id
:
""
},
dialogDetail
:{
show
:
!
1
,
id
:
""
},
userList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
20
,
res
:
null
,
dialogDetailObj
:{
show
:
!
1
,
title
:
"班级列表"
,
id
:
""
},
teacherTypeOption
:[{
id
:
0
,
label
:
"老师"
},{
id
:
1
,
label
:
"新星妈妈"
}],
phoneNumObj
:{}}},
watch
:{
"dialogDetail.show"
:
function
(
e
){
e
||
this
.
getUser
()}},
components
:{
page
:
s
.
a
,
dialogCom
:
i
.
a
,
teacherDetail
:
n
.
default
},
filters
:{
teacherType
:
function
(
e
){
return
o
[
e
]}},
mounted
:
function
(){
var
e
=
this
,
t
=
localStorage
.
getItem
(
"phoneNum"
);
console
.
log
(
t
),
t
&&
(
t
=
JSON
.
parse
(
t
),
this
.
phoneNumObj
=
t
),
t
&&
"teacher_leader"
!=
t
.
teacher_type
?
this
.
$router
.
push
(
"/teacher/"
+
t
.
id
):
this
.
getUser
(),
Object
(
a
.
_116
)().
then
(
function
(
t
){
e
.
dialogObj
.
teacherTypeList
=
t
;
var
r
=
{};
t
.
forEach
(
function
(
e
,
t
){
r
[
e
.
type
]
=
e
.
name
}),
o
=
r
,
console
.
log
(
r
)})},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUser
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
r
=
e
.
getMonth
()
+
1
;
r
<
10
&&
(
r
=
"0"
+
r
);
var
a
=
e
.
getDate
();
return
a
<
10
&&
(
a
=
"0"
+
a
),
t
+
"-"
+
r
+
"-"
+
a
},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUser
()},
getUser
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};(
this
.
searchFrom
.
type
||
0
===
this
.
searchFrom
.
type
)
&&
(
t
.
type
=
this
.
searchFrom
.
type
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
this
.
searchFrom
.
name
&&
(
t
.
name
=
this
.
searchFrom
.
name
),
this
.
searchFrom
.
alias
&&
(
t
.
alias
=
this
.
searchFrom
.
alias
),
this
.
searchFrom
.
task_date
&&
(
t
.
task_date
=
this
.
searchFrom
.
task_date
);
var
r
=
localStorage
.
getItem
(
"phoneNum"
);
r
&&
(
r
=
JSON
.
parse
(
r
)),
r
&&
"teacher_leader"
==
r
.
teacher_type
?
t
.
squad
=
r
.
squad
:
t
.
squad
=
this
.
searchFrom
.
squad
,
Object
(
a
.
_113
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
,
e
.
res
=
t
})},
transferStaffName
:
function
(
e
){
this
.
transfer
.
form
.
staff_name
=
this
.
transfer
.
staff
.
find
(
function
(
t
){
return
t
.
id
==
e
}).
name
},
transferReasonName
:
function
(
e
){
this
.
transfer
.
form
.
reason_name
=
this
.
transfer
.
reasonList
.
find
(
function
(
t
){
return
t
.
id
==
e
}).
name
},
transferToggle
:
function
(
e
){
var
t
=
this
;
if
(
this
.
transfer
.
show
=!
this
.
transfer
.
show
,
this
.
transfer
.
show
){
if
(
0
===
this
.
transfer
.
staff
[
0
]){
Object
(
a
.
_99
)({
limit
:
1
e3
,
page
:
1
,
status
:
0
}).
then
(
function
(
e
){
t
.
transfer
.
staff
=
e
.
list
})}
this
.
$nextTick
(
function
(){
t
.
$refs
.
transferForm
.
resetFields
(),
t
.
transfer
.
form
.
teacher_name
=
e
.
name
,
t
.
transfer
.
form
.
teacher_id
=
e
.
id
,
t
.
transfer
.
form
.
staff_current_name
=
e
.
adviser
})}
else
this
.
$nextTick
(
function
(){
t
.
$refs
.
transferForm
.
resetFields
()})},
transferSave
:
function
(){
var
e
=
this
;
this
.
$refs
.
transferForm
.
validate
(
function
(
t
){
if
(
!
t
)
return
console
.
log
(
"error submit!!"
),
!
1
;
e
.
$confirm
(
'确定将
\
n <span style="color: red;">'
+
e
.
transfer
.
form
.
teacher_name
+
'</span> 移交给
\
n <span style="color: red;">'
+
e
.
transfer
.
form
.
staff_name
+
"</span> ?<br>
\n
移交开始时间 "
+
e
.
transfer
.
form
.
transfer_at
+
" <br>
\n
移交原因 "
+
e
.
transfer
.
form
.
reason_name
,
"提示"
,{
dangerouslyUseHTMLString
:
!
0
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
teacher_id
:
e
.
transfer
.
form
.
teacher_id
,
staff_id
:
e
.
transfer
.
form
.
staff_id
,
transfer_at
:
e
.
transfer
.
form
.
transfer_at
,
reason
:
e
.
transfer
.
form
.
reason
};
Object
(
a
.
_153
)(
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"移交成功!"
}),
e
.
transferToggle
(),
e
.
getUser
()})}).
catch
(
function
(){
e
.
$message
({
type
:
"info"
,
message
:
"已取消移交"
})})})},
edit
:
function
(
e
){
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
type
=
2
,
this
.
dialogObj
.
show
=!
0
},
add
:
function
(){
this
.
dialogObj
.
type
=
0
,
this
.
dialogObj
.
show
=!
0
},
detail
:
function
(
e
){
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
type
=
1
,
this
.
dialogObj
.
show
=!
0
},
delTeacher
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该账号?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
a
.
X
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getUser
()})})},
changeShow
:
function
(
e
){
this
.
dialogObj
.
show
=
e
},
classDetail
:
function
(
e
){
this
.
dialogDetailObj
=
{
show
:
!
0
,
title
:
e
.
name
+
"班级详情"
,
id
:
e
.
id
}},
goToTeacherDetail
:
function
(
e
){
this
.
dialogDetail
.
id
=
e
.
id
,
this
.
dialogDetail
.
show
=!
0
}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"user"
},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
size
:
"mini"
,
"label-width"
:
"68px"
,
inline
:
""
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"90px"
},
model
:{
value
:
e
.
searchFrom
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"name"
,
t
)},
expression
:
"searchFrom.name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
alias
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"alias"
,
t
)},
expression
:
"searchFrom.alias"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"老师状态"
,
clearable
:
""
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"88px"
},
attrs
:{
clearable
:
""
},
on
:{
change
:
e
.
getUser
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"带班"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
r
(
"el-option"
,{
attrs
:{
label
:
"不带班"
,
value
:
"1"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"任务日期"
}},[
r
(
"el-date-picker"
,{
staticStyle
:{
width
:
"140px"
},
attrs
:{
type
:
"date"
,
"value-format"
:
"yyyy-MM-dd"
,
placeholder
:
"选择日期"
},
model
:{
value
:
e
.
searchFrom
.
task_date
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"task_date"
,
t
)},
expression
:
"searchFrom.task_date"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增用户服务"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getUser
},
model
:{
value
:
e
.
searchFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"squad"
,
t
)},
expression
:
"searchFrom.squad"
}},
e
.
_l
(
10
,
function
(
t
){
return
"teacher_leader"
!=
e
.
phoneNumObj
.
teacher_type
?
r
(
"el-tab-pane"
,{
key
:
t
,
attrs
:{
label
:
"T"
+
t
,
name
:
t
.
toString
()}}):
e
.
_e
()})),
e
.
_v
(
" "
),
r
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
size
:
"mini"
,
data
:
e
.
userList
,
height
:
"calc(100vh - 335px)"
}},[
r
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
width
:
"250"
,
label
:
"老师"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
r
(
"a"
,{
staticClass
:
"clearfix"
,
attrs
:{
href
:
t
.
row
.
qr
,
target
:
"_blank"
}},[
r
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
qr
,
alt
:
"二维码"
}})]),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
"
\n
老师名:"
+
e
.
_s
(
t
.
row
.
name
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
微信号:"
+
e
.
_s
(
t
.
row
.
alias
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
类别:"
+
e
.
_s
(
e
.
_f
(
"teacherType"
)(
t
.
row
.
type
))
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
顾问:"
+
e
.
_s
(
t
.
row
.
adviser
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
开始时间:"
),
r
(
"span"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"72px"
,
"vertical-align"
:
"text-top"
,
"line-height"
:
"16px"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
teacher_start
))])])])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"添加好友"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
进班人数:"
+
e
.
_s
(
t
.
row
.
into_class_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
加老师处理数:"
+
e
.
_s
(
t
.
row
.
add_teacher_exec_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
加老师成功数:"
+
e
.
_s
(
t
.
row
.
add_teacher_success_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
成功率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
Number
(
t
.
row
.
add_teacher_success_rate
)
>
70
?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
t
.
row
.
add_teacher_success_rate
)?
Number
(
t
.
row
.
add_teacher_success_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
100
===
Number
(
t
.
row
.
add_teacher_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
t
.
row
.
add_teacher_exec_rate
)?
Number
(
t
.
row
.
add_teacher_exec_rate
):
0
}})]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"召回率"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
需召回人数:"
+
e
.
_s
(
t
.
row
.
need_recall_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
已沟通人数:"
+
e
.
_s
(
t
.
row
.
recall_desc_exec_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
用户回复数:"
+
e
.
_s
(
t
.
row
.
recall_desc_reply_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
达标率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
100
===
Number
(
t
.
row
.
recall_watch_rate
)?
"#67C23A"
:
"#dd001b"
,
percentage
:
Number
(
t
.
row
.
recall_watch_rate
)?
Number
(
t
.
row
.
recall_watch_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
100
===
Number
(
t
.
row
.
recall_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
t
.
row
.
recall_exec_rate
)?
Number
(
t
.
row
.
recall_exec_rate
):
0
}})]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"意向标记"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
意向用户数:"
+
e
.
_s
(
t
.
row
.
intention_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
完课沟通用户数"
+
e
.
_s
(
t
.
row
.
over_desc_exec_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
往期活跃用户沟通数:"
+
e
.
_s
(
t
.
row
.
past_desc_exec_num
)),
r
(
"br"
),
e
.
_v
(
"
\n
标记率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
"#67C23A"
,
percentage
:
Number
(
t
.
row
.
over_intention_rate
)?
Number
(
t
.
row
.
over_intention_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
18
,
color
:
100
===
Number
(
t
.
row
.
over_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
t
.
row
.
over_exec_rate
)?
Number
(
t
.
row
.
over_exec_rate
):
0
}})]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"intention_num"
,
width
:
"100"
,
label
:
"意向用户数"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"performance"
,
width
:
"100"
,
label
:
"当月业绩"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
width
:
"320"
,
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
goToTeacherDetail
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"warning"
},
on
:{
click
:
function
(
r
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"success"
},
on
:{
click
:
function
(
r
){
e
.
transferToggle
(
t
.
row
)}}},[
e
.
_v
(
"移交"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
r
){
e
.
delTeacher
(
t
.
row
)}}},[
e
.
_v
(
"删除"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
e
.
res
?
r
(
"div"
,{
staticClass
:
"total-tab"
},[
r
(
"div"
,[
e
.
_v
(
"总计"
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
r
(
"div"
,[
e
.
_v
(
"
\n
成功率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
Number
(
e
.
res
.
add_teacher_success_rate
)
>
70
?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
e
.
res
.
add_teacher_success_rate
)?
Number
(
e
.
res
.
add_teacher_success_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
100
===
Number
(
e
.
res
.
add_teacher_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
e
.
res
.
add_teacher_exec_rate
)?
Number
(
e
.
res
.
add_teacher_exec_rate
):
0
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
r
(
"div"
,[
e
.
_v
(
"
\n
达标率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
100
===
Number
(
e
.
res
.
recall_watch_rate
)?
"#67C23A"
:
"#ff0000"
,
percentage
:
Number
(
e
.
res
.
recall_watch_rate
)?
Number
(
e
.
res
.
recall_watch_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
100
===
Number
(
e
.
res
.
recall_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
e
.
res
.
recall_exec_rate
)?
Number
(
e
.
res
.
recall_exec_rate
):
0
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
r
(
"div"
,[
e
.
_v
(
"
\n
标记率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
"#67C23A"
,
percentage
:
Number
(
e
.
res
.
over_intention_rate
)?
Number
(
e
.
res
.
over_intention_rate
):
0
}}),
e
.
_v
(
" "
),
r
(
"br"
),
e
.
_v
(
"
\n
处理率:"
),
r
(
"el-progress"
,{
staticStyle
:{
display
:
"inline-block"
,
width
:
"calc(90% - 50px)"
},
attrs
:{
"text-inside"
:
!
0
,
"stroke-width"
:
16
,
color
:
100
===
Number
(
e
.
res
.
over_exec_rate
)?
"#67C23A"
:
"#f00"
,
percentage
:
Number
(
e
.
res
.
over_exec_rate
)?
Number
(
e
.
res
.
over_exec_rate
):
0
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
res
.
intention_num
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
res
.
total_money
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"div"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
r
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
r
(
"dialog-com"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
changeShow
:
e
.
changeShow
,
reflash
:
e
.
getUser
}}),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
width
:
"90%"
,
top
:
"5vh"
,
visible
:
e
.
dialogDetail
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogDetail
,
"show"
,
t
)}}},[
e
.
dialogDetail
.
show
?
r
(
"div"
,[
r
(
"teacher-detail"
,{
attrs
:{
parentDetail
:
e
.
dialogDetail
}})],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
width
:
"500px"
,
visible
:
e
.
transfer
.
show
,
title
:
"移交"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
transfer
,
"show"
,
t
)}}},[
r
(
"el-form"
,{
ref
:
"transferForm"
,
attrs
:{
rules
:
e
.
transfer
.
form
.
rules
,
model
:
e
.
transfer
.
form
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"当前设备:"
,
prop
:
"teacher_name"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
transfer
.
form
.
teacher_name
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"当前顾问:"
,
prop
:
"staff_current_name"
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
transfer
.
form
.
staff_current_name
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"移交顾问:"
,
prop
:
"staff_id"
}},[
r
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
!
1
},
on
:{
change
:
e
.
transferStaffName
},
model
:{
value
:
e
.
transfer
.
form
.
staff_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
transfer
.
form
,
"staff_id"
,
t
)},
expression
:
"transfer.form.staff_id"
}},
e
.
_l
(
e
.
transfer
.
staff
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"移交时间:"
,
prop
:
"transfer_at"
}},[
r
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
r
(
"el-date-picker"
,{
attrs
:{
clearable
:
!
1
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
type
:
"datetime"
,
placeholder
:
"选择时间"
},
model
:{
value
:
e
.
transfer
.
form
.
transfer_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
transfer
.
form
,
"transfer_at"
,
t
)},
expression
:
"transfer.form.transfer_at"
}})],
1
)]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"移交原因:"
,
prop
:
"reason"
}},[
r
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
!
1
},
on
:{
change
:
e
.
transferReasonName
},
model
:{
value
:
e
.
transfer
.
form
.
reason
,
callback
:
function
(
t
){
e
.
$set
(
e
.
transfer
.
form
,
"reason"
,
t
)},
expression
:
"transfer.form.reason"
}},
e
.
_l
(
e
.
transfer
.
reasonList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
e
.
transferToggle
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
transferSave
}},[
e
.
_v
(
"确定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
_
=
r
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
r
(
"OGfD"
)},
"data-v-207774bd"
,
null
);
t
.
default
=
_
.
exports
}});
\ No newline at end of file
dist/static/js/68.0732087699fa9a829c9e.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
68
],{
"0vcR"
:
function
(
e
,
t
){},
h0PA
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
o
=
a
(
"Ix4X"
),
s
=
(
a
(
"sf/l"
),{
name
:
"channelConversionList"
,
data
:
function
(){
var
e
=
this
;
return
{
updateTime
:
""
,
typeList
:[],
width
:
0
,
nowPage
:
1
,
total
:
0
,
limit
:
20
,
list
:[],
goods_id
:
null
,
teacherList
:[],
goodsList
:[],
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFrom
.
payTime
=
[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
t
+
" 23:59:59"
]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFrom
.
payTime
=
[
t
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
]}},
spanArr
:[],
contentSpanArr
:[],
searchFrom
:{
payTime
:[],
start_at
:
""
,
end_at
:
""
,
invite_type
:
""
,
invite_name
:
""
,
watch_num
:
""
,
periods_id
:
""
,
squad
:
""
,
teacher_id
:
""
,
periods_title
:
""
},
propertyList
:[],
watchList
:[{
id
:
0
,
title
:
5
},{
id
:
1
,
title
:
6
},{
id
:
2
,
title
:
10
},{
id
:
3
,
title
:
20
}],
goodList
:[]}},
filters
:{
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
n
.
g
[
e
.
goods_type
]
+
"]【"
+
e
.
current_price
/
100
+
"元】"
+
e
.
name
}},
components
:{
page
:
a
(
"kmJW"
).
a
},
methods
:{
rendertip
:
function
(
e
,
t
){
var
a
=
t
.
column
;
return
e
(
"span"
,[
e
(
"span"
,
a
.
label
),
e
(
"el-tooltip"
,{
props
:{
effect
:
"dark"
,
content
:
o
.
b
[
a
.
label
],
placement
:
"top"
}},[
e
(
"i"
,{
class
:
"el-icon-question"
,
style
:
"color:#409eff;display:block;"
})])])},
sortMethod
:
function
(
e
){
this
.
searchFrom
.
sort_key
=
e
.
prop
,
"ascending"
==
e
.
order
?
this
.
searchFrom
.
sort_value
=
"asc"
:
this
.
searchFrom
.
sort_value
=
"desc"
,
this
.
getChannelTransList
()},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
r
.
_61
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
,
console
.
log
(
e
.
goodList
,
176
)}),
Object
(
r
.
_51
)({
page
:
1
,
limit
:
100
,
key
:
"code_rule_type"
}).
then
(
function
(
t
){
e
.
typeList
=
t
.
list
})},
seachData
:
function
(){
this
.
total
=
0
,
this
.
nowPage
=
1
,
this
.
getChannelTransList
()},
onPeriodChange
:
function
(
e
){
var
t
=
""
;
t
=
e
.
length
>
1
?
e
.
join
(
","
):
e
[
0
],
this
.
periods_id
=
t
,
console
.
log
(
t
)},
objectSpanMethod
:
function
(
e
){},
handleItemChange
:
function
(
e
){
var
t
=
this
;
getPeriodsApi
({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
a
){
a
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
a
.
list
})},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
,
this
.
getChannelTransList
()}},
changeTeacher
:
function
(
e
){
this
.
searchFrom
.
teacher_id
=
e
,
this
.
getChannelTransList
()},
selectChange
:
function
(
e
){
this
.
searchFrom
.
watch_num
=
this
.
watchList
[
e
].
title
,
this
.
getChannelTransList
()},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getChannelTransList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getChannelTransList
()},
getChannelTransList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
type_id
&&
(
t
.
type_id
=
this
.
searchFrom
.
type_id
),
this
.
searchFrom
.
sort_value
&&
(
t
.
sort_value
=
this
.
searchFrom
.
sort_value
,
t
.
sort_key
=
this
.
searchFrom
.
sort_key
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
this
.
searchFrom
.
payTime
[
0
]
&&
this
.
searchFrom
.
payTime
[
0
].
length
>
0
&&
(
this
.
searchFrom
.
start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
start_at
=
this
.
searchFrom
.
start_at
),
this
.
searchFrom
.
payTime
[
1
]
&&
this
.
searchFrom
.
payTime
[
1
].
length
>
0
&&
(
this
.
searchFrom
.
end_at
=
this
.
searchFrom
.
payTime
[
1
],
t
.
end_at
=
this
.
searchFrom
.
end_at
)),
Object
(
r
.
_43
)(
t
).
then
(
function
(
t
){
if
(
t
){
if
(
t
.
list
&&
t
.
list
.
length
>
0
){
for
(
var
a
in
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
.
map
(
function
(
a
,
r
){
a
.
index
=
r
,
0
==
r
?(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
0
):
a
.
cur_date
==
t
.
list
[
r
-
1
].
cur_date
?(
e
.
spanArr
[
e
.
pos
]
+=
1
,
e
.
spanArr
.
push
(
0
)):(
e
.
spanArr
.
push
(
1
),
e
.
pos
=
r
);
var
n
=
a
.
invite_name
&&
a
.
invite_name
.
length
>
0
?
"("
+
a
.
invite_name
+
")"
:
""
,
o
=
a
.
goods_id
&&
a
.
goods_id
>
0
?
"【"
+
a
.
goods_id
+
"】"
:
""
,
s
=
a
.
watch_num
&&
a
.
watch_num
>
0
?
"【"
+
a
.
watch_num
+
"个课时】"
:
""
;
return
a
.
invite_type
=
""
+
a
.
invite_type
+
n
,
a
.
goods_name
=
""
+
o
+
a
.
goods_name
+
s
,
a
}),
e
.
list
[
0
])
e
.
propertyList
.
push
(
a
);
e
.
width
=
document
.
documentElement
.
clientWidth
-
200
}
t
.
list
&&
0
===
t
.
list
.
length
&&
(
e
.
list
=
[])}
else
e
.
list
=
[]})},
getUpdateTime
:
function
(){
var
e
=
this
;
Object
(
r
.
_119
)().
then
(
function
(
t
){
t
.
time
&&
(
e
.
updateTime
=
t
.
time
)})}},
mounted
:
function
(){
this
.
getChannelTransList
(),
this
.
getGoodsOption
(),
this
.
getUpdateTime
()}}),
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"channel-trans-list"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"进量日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道code"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
r
){
return
a
(
"el-option"
,{
key
:
r
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"渠道类别"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getChannelTransList
},
model
:{
value
:
e
.
searchFrom
.
type_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type_id"
,
t
)},
expression
:
"searchFrom.type_id"
}},
e
.
_l
(
e
.
typeList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"div"
,{
staticClass
:
"flexRow"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
seachData
}},[
e
.
_v
(
"搜索"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"update-time"
},[
e
.
_v
(
"最近更新时间:"
+
e
.
_s
(
e
.
updateTime
?
e
.
updateTime
:
"-"
))]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
border
:
""
,
"span-method"
:
e
.
objectSpanMethod
,
data
:
e
.
list
,
fixed
:
""
},
on
:{
"sort-change"
:
e
.
sortMethod
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"is_other"
,
label
:
"渠道来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
0
==
t
.
row
.
is_other
?
"内部"
:
"外部"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type_name"
,
label
:
"渠道类别"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"渠道类型"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_total_num"
,
label
:
"订单数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_class_num"
,
label
:
"到班数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"class_num_except_total_num"
,
label
:
"到班率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
class_num_except_total_num
)
+
"%"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_friend_num"
,
label
:
"好友数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"friend_num_except_total_num"
,
label
:
"好友率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
friend_num_except_total_num
)
+
"%"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_come_num"
,
label
:
"到课数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"come_num_except_total_num"
,
label
:
"到课率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
come_num_except_total_num
)
+
"%"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num"
,
label
:
"转化人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_num_except_total_num"
,
label
:
"转化率"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
sum_buy_num_except_total_num
)
+
"%"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_num"
,
width
:
"120"
,
label
:
"一年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_num"
,
width
:
"120"
,
label
:
"两年课购买人数"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_buy_money"
,
width
:
"120"
,
label
:
"转化总额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_one_buy_money"
,
label
:
"一年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"sum_two_buy_money"
,
label
:
"两年课转化金额"
,
"render-header"
:
e
.
rendertip
,
sortable
:
"custom"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"0vcR"
)},
null
,
null
);
t
.
default
=
l
.
exports
}});
\ No newline at end of file
dist/static/js/app.fa018bb773a0f24c0443.js
0 → 100644
View file @
4112fa45
webpackJsonp
([
74
],{
IcnI
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"NYxO"
),
a
=
t
(
"lRwf"
),
r
=
t
.
n
(
a
),
i
=
t
(
"zSLJ"
),
u
=
{
setToken
:
function
(
e
,
n
){
e
.
token
=
n
,
i
.
a
.
set
(
"cc_token"
,
n
)},
setUserName
:
function
(
e
,
n
){
e
.
userName
=
n
,
i
.
a
.
set
(
"cc_user_name"
,
n
)},
setPermission
:
function
(
e
,
n
){
e
.
progressList
=
n
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
n
))},
setMenu
:
function
(
e
,
n
){
e
.
menuList
=
n
},
readonly
:
function
(
e
,
n
){
e
.
readonly
=
n
},
deletePermission
:
function
(
e
,
n
){
e
.
deletePermission
=
n
},
distribution
:
function
(
e
,
n
){
e
.
distribution
=
n
},
classManage
:
function
(
e
,
n
){
e
.
classManage
=
n
},
classManageUnlimited
:
function
(
e
,
n
){
e
.
classManageUnlimited
=
n
},
exportFinish
:
function
(
e
,
n
){
e
.
exportFinish
=
n
},
classTakeUnlimited
:
function
(
e
,
n
){
e
.
classTakeUnlimited
=
n
},
promoter
:
function
(
e
,
n
){
e
.
promoter
=
n
},
mainCanShow
:
function
(
e
){
e
.
mainLoad
=!
1
},
mainUnShow
:
function
(
e
){
e
.
mainLoad
=!
0
},
changeParentRouter
:
function
(
e
,
n
){
e
.
menuList
.
find
(
function
(
e
){
return
e
.
name
===
n
.
name
}).
routerName
=
n
.
to
.
name
},
progress
:
function
(
e
,
n
){
switch
(
n
.
type
){
case
"new"
:
e
.
progressList
.
push
({
num
:
0
,
id
:
n
.
id
});
break
;
case
"change"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
}).
num
=
n
.
num
;
break
;
case
"delete"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
})}}};
r
.
a
.
use
(
o
.
a
);
n
.
a
=
new
o
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
export
:
!
1
,
orderRefund
:
!
1
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
distribution
:
!
1
,
classManage
:
!
1
,
classManageUnlimited
:
!
1
,
classTakeUnlimited
:
!
1
,
exportFinish
:
!
1
,
import
:
!
1
,
promoter
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
u
,
actions
:{
setToken
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setToken"
,
n
)},
setUserName
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setUserName"
,
n
)},
setProgress
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"progress"
,
n
)},
setPermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setPermission"
,
n
)},
setMenu
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setMenu"
,
n
)},
readonly
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"readonly"
,
n
)},
deletePermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"deletePermission"
,
n
)},
distribution
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"distribution"
,
n
)},
classManage
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classManage"
,
n
)},
classManageUnlimited
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classManageUnlimited"
,
n
)},
classTakeUnlimited
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classTakeUnlimited"
,
n
)},
exportFinish
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"exportFinish"
,
n
)},
promoter
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"promoter"
,
n
)}}})},
Kkbb
:
function
(
e
,
n
){},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
[{
name
:
""
,
value
:
"教研管理"
,
icon
:
"icon-material"
,
list
:[{
value
:
"教材列表"
,
routerName
:
"resources"
,
path
:
"/resources"
,
cover
:
"1-1"
,
router
:{
path
:
"/resources"
,
name
:
"resources"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
1
)]).
then
(
function
(){
var
n
=
[
t
(
"z5EG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"商品课程"
,
icon
:
"icon-shangpin1"
,
list
:[{
value
:
"课程列表"
,
routerName
:
"lesson"
,
path
:
"/lesson"
,
cover
:
"2-1"
,
router
:{
path
:
"/lesson"
,
name
:
"lesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
7
)]).
then
(
function
(){
var
n
=
[
t
(
"AbSL"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"商品列表"
,
routerName
:
"shop"
,
path
:
"/shop"
,
cover
:
"4-1"
,
router
:{
path
:
"/shop"
,
name
:
"shop"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
13
)]).
then
(
function
(){
var
n
=
[
t
(
"1djJ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"期数管理"
,
icon
:
"icon-kecheng"
,
list
:[{
value
:
"期数列表"
,
routerName
:
"periods"
,
path
:
"/periods"
,
cover
:
"2-2"
,
router
:{
path
:
"/periods"
,
name
:
"periods"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
18
)]).
then
(
function
(){
var
n
=
[
t
(
"ayGs"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"班级列表"
,
routerName
:
"class"
,
path
:
"/class"
,
cover
:
"2-3"
,
router
:{
path
:
"/class"
,
name
:
"class"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
21
)]).
then
(
function
(){
var
n
=
[
t
(
"OX9A"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"市场招生统计"
,
routerName
:
"marketStatistics"
,
path
:
"/marketStatistics"
,
cover
:
"2-5"
,
router
:{
path
:
"/marketStatistics"
,
name
:
"marketStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
47
)]).
then
(
function
(){
var
n
=
[
t
(
"SKyX"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
41
)]).
then
(
function
(){
var
n
=
[
t
(
"sg/1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"自化课列表"
,
routerName
:
"autoClass"
,
path
:
"/autoClass"
,
cover
:
"2-6"
,
router
:{
path
:
"/autoClass"
,
name
:
"autoClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
34
)]).
then
(
function
(){
var
n
=
[
t
(
"f9Sx"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"销售管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"教师列表"
,
routerName
:
"teacher"
,
path
:
"/teacher"
,
cover
:
"3-1"
,
router
:{
path
:
"/teacher"
,
name
:
"teacher"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
57
)]).
then
(
function
(){
var
n
=
[
t
(
"Y0Vi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"增长运营列表"
,
routerName
:
"growth"
,
path
:
"/growth"
,
cover
:
"3-6"
,
router
:{
path
:
"/growth"
,
name
:
"growth"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
66
)]).
then
(
function
(){
var
n
=
[
t
(
"x4wH"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"用户服务列表"
,
routerName
:
"userservice"
,
path
:
"/userservice"
,
cover
:
"3-7"
,
router
:{
path
:
"/userservice"
,
name
:
"userservice"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
67
)]).
then
(
function
(){
var
n
=
[
t
(
"QOFr"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
3
)]).
then
(
function
(){
var
n
=
[
t
(
"xdzM"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
42
)]).
then
(
function
(){
var
n
=
[
t
(
"v/LD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
26
)]).
then
(
function
(){
var
n
=
[
t
(
"89rD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"业绩排行"
,
routerName
:
"achievement"
,
path
:
"/achievement"
,
cover
:
"5-7"
,
router
:{
path
:
"/achievement"
,
name
:
"achievement"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
20
)]).
then
(
function
(){
var
n
=
[
t
(
"Fmgy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"话术列表"
,
routerName
:
"talkingSkill"
,
path
:
"/talkingSkill"
,
cover
:
"11-6"
,
router
:{
path
:
"/talkingSkill"
,
name
:
"talkingSkill"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
24
)]).
then
(
function
(){
var
n
=
[
t
(
"CUAv"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"用户管理"
,
icon
:
"icon-yonghu"
,
list
:[{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
4
)]).
then
(
function
(){
var
n
=
[
t
(
"jFLA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"老系统用户列表"
,
routerName
:
"oldUser"
,
path
:
"/oldUser"
,
cover
:
"3-3"
,
router
:{
path
:
"/oldUser"
,
name
:
"oldUser"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
29
)]).
then
(
function
(){
var
n
=
[
t
(
"K2yr"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"用户积分列表"
,
routerName
:
"integral"
,
path
:
"/integral"
,
cover
:
"3-4"
,
router
:{
path
:
"/integral"
,
name
:
"integral"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
10
)]).
then
(
function
(){
var
n
=
[
t
(
"NDyu"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"绑定子账号列表"
,
routerName
:
"subList"
,
path
:
"/subList"
,
cover
:
"3-5"
,
router
:{
path
:
"/subList"
,
name
:
"subList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
35
)]).
then
(
function
(){
var
n
=
[
t
(
"L5jB"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"订单管理"
,
icon
:
"icon-dingdan"
,
list
:[{
value
:
"日课订单列表"
,
routerName
:
"order"
,
path
:
"/order"
,
cover
:
"5-1"
,
router
:{
path
:
"/order"
,
name
:
"order"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
6
)]).
then
(
function
(){
var
n
=
[
t
(
"2qmY"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
33
)]).
then
(
function
(){
var
n
=
[
t
(
"F5pf"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"发货管理"
,
routerName
:
"consignment"
,
path
:
"/consignment"
,
cover
:
"5-4"
,
router
:{
path
:
"/consignment"
,
name
:
"consignment"
,
component
:
function
(
e
){
return
t
.
e
(
60
).
then
(
function
(){
var
n
=
[
t
(
"usUK"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"订单统计"
,
routerName
:
"orderCount"
,
path
:
"/orderCount"
,
cover
:
"5-5"
,
router
:{
path
:
"/orderCount"
,
name
:
"orderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
45
)]).
then
(
function
(){
var
n
=
[
t
(
"s7i+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"日课订单统计"
,
routerName
:
"dayOrderCount"
,
path
:
"/dayOrderCount"
,
cover
:
"5-11"
,
router
:{
path
:
"/dayOrderCount"
,
name
:
"dayOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
52
)]).
then
(
function
(){
var
n
=
[
t
(
"mjLz"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"优惠券列表"
,
routerName
:
"coupon"
,
path
:
"/coupon"
,
cover
:
"5-6"
,
router
:{
path
:
"/coupon"
,
name
:
"coupon"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
30
)]).
then
(
function
(){
var
n
=
[
t
(
"WvRy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"扫码入课列表"
,
routerName
:
"notBuyClass"
,
path
:
"/notBuyClass"
,
cover
:
"5-8"
,
router
:{
path
:
"/notBuyClass"
,
name
:
"notBuyClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
22
)]).
then
(
function
(){
var
n
=
[
t
(
"E6Zo"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部订单列表"
,
routerName
:
"yunji"
,
path
:
"/yunji"
,
cover
:
"5-9"
,
router
:{
path
:
"/yunji"
,
name
:
"yunji"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
9
)]).
then
(
function
(){
var
n
=
[
t
(
"69L+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"兑换码管理"
,
routerName
:
"exchange"
,
path
:
"/exchange"
,
cover
:
"5-13"
,
router
:{
path
:
"/exchange"
,
name
:
"exchange"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
15
)]).
then
(
function
(){
var
n
=
[
t
(
"CvLZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"数据管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"年课转化来源"
,
routerName
:
"sourceConversionList"
,
path
:
"/sourceConversionList"
,
cover
:
"9-9"
,
router
:{
path
:
"/sourceConversionList"
,
name
:
"sourceConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
72
)]).
then
(
function
(){
var
n
=
[
t
(
"8toi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"市场招生列表"
,
routerName
:
"marketEnrollmentConversionList"
,
path
:
"/marketEnrollmentConversionList"
,
cover
:
"9-8"
,
router
:{
path
:
"/marketEnrollmentConversionList"
,
name
:
"marketEnrollmentConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
43
)]).
then
(
function
(){
var
n
=
[
t
(
"lWjU"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"渠道转化数据"
,
routerName
:
"channelConversionList"
,
path
:
"/channelConversionList"
,
cover
:
"9-3"
,
router
:{
path
:
"/channelConversionList"
,
name
:
"channelConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
68
)]).
then
(
function
(){
var
n
=
[
t
(
"h0PA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"渠道分商品转化数据"
,
routerName
:
"channelGoodsConversionList"
,
path
:
"/channelGoodsConversionList"
,
cover
:
"9-2"
,
router
:{
path
:
"/channelGoodsConversionList"
,
name
:
"channelGoodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
56
)]).
then
(
function
(){
var
n
=
[
t
(
"G/kT"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"期数转化数据"
,
routerName
:
"periodsConversionList"
,
path
:
"/periodsConversionList"
,
cover
:
"9-4"
,
router
:{
path
:
"/periodsConversionList"
,
name
:
"periodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
62
)]).
then
(
function
(){
var
n
=
[
t
(
"+Xua"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"销售小组数据"
,
routerName
:
"squadConversionList"
,
path
:
"/squadConversionList"
,
cover
:
"9-5"
,
router
:{
path
:
"/squadConversionList"
,
name
:
"squadConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
65
)]).
then
(
function
(){
var
n
=
[
t
(
"M7X6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"班主任转化数据"
,
routerName
:
"teacherConversionList"
,
path
:
"/teacherConversionList"
,
cover
:
"9-6"
,
router
:{
path
:
"/teacherConversionList"
,
name
:
"teacherConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
48
)]).
then
(
function
(){
var
n
=
[
t
(
"6yV8"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"各期数班主任转化数据"
,
routerName
:
"teacherPeriodsConversionList"
,
path
:
"/teacherPeriodsConversionList"
,
cover
:
"9-7"
,
router
:{
path
:
"/teacherPeriodsConversionList"
,
name
:
"teacherPeriodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
63
)]).
then
(
function
(){
var
n
=
[
t
(
"TtuZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"明细数据列表"
,
routerName
:
"channelTransList"
,
path
:
"/channelTransList"
,
cover
:
"9-1"
,
router
:{
path
:
"/channelTransList"
,
name
:
"channelTransList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
64
)]).
then
(
function
(){
var
n
=
[
t
(
"XXYb"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"实物管理"
,
icon
:
"icon-shu"
,
list
:[{
value
:
"单品列表"
,
routerName
:
"single"
,
path
:
"/single"
,
cover
:
"6-1"
,
router
:{
path
:
"/single"
,
name
:
"single"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
19
)]).
then
(
function
(){
var
n
=
[
t
(
"B31M"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"盒子列表"
,
routerName
:
"box"
,
path
:
"/box"
,
cover
:
"6-2"
,
router
:{
path
:
"/box"
,
name
:
"box"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
14
)]).
then
(
function
(){
var
n
=
[
t
(
"+vCD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"待发货列表"
,
routerName
:
"logistics"
,
path
:
"/logistics"
,
cover
:
"6-3"
,
router
:{
path
:
"/logistics"
,
name
:
"logistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
25
)]).
then
(
function
(){
var
n
=
[
t
(
"eYh/"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"一次性物流信息"
,
routerName
:
"disposable"
,
path
:
"/disposable"
,
cover
:
"6-4"
,
router
:{
path
:
"/disposable"
,
name
:
"disposable"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
36
)]).
then
(
function
(){
var
n
=
[
t
(
"QVUs"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"公众号"
,
icon
:
"icon-ai-weixin"
,
list
:[{
value
:
"自动回复"
,
routerName
:
"focusReply"
,
path
:
"/focusReply"
,
cover
:
"7-1"
,
router
:{
path
:
"/focusReply"
,
name
:
"focusReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
23
)]).
then
(
function
(){
var
n
=
[
t
(
"CK6D"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"关键词回复"
,
routerName
:
"autoReply"
,
path
:
"/autoReply"
,
cover
:
"7-2"
,
router
:{
path
:
"/autoReply"
,
name
:
"autoReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
17
)]).
then
(
function
(){
var
n
=
[
t
(
"65NY"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"公众号菜单"
,
routerName
:
"weChat"
,
path
:
"/weChat"
,
cover
:
"7-3"
,
router
:{
path
:
"/weChat"
,
name
:
"weChat"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
16
)]).
then
(
function
(){
var
n
=
[
t
(
"q5av"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"素材管理"
,
routerName
:
"weChatResource"
,
path
:
"/weChatResource"
,
cover
:
"7-4"
,
router
:{
path
:
"/weChatResource"
,
name
:
"weChatResource"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
32
)]).
then
(
function
(){
var
n
=
[
t
(
"Xhqp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"二维码管理"
,
routerName
:
"qrcode"
,
path
:
"/qrcode"
,
cover
:
"7-6"
,
router
:{
path
:
"/qrcode"
,
name
:
"qrcode"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
11
)]).
then
(
function
(){
var
n
=
[
t
(
"lNiQ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"群发助手"
,
routerName
:
"groupSend"
,
path
:
"/groupSend"
,
cover
:
"7-7"
,
router
:{
path
:
"/groupSend"
,
name
:
"groupSend"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
8
)]).
then
(
function
(){
var
n
=
[
t
(
"oerw"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"关注取关统计"
,
routerName
:
"watchCount"
,
path
:
"/watchCount"
,
cover
:
"7-8"
,
router
:{
path
:
"/watchCount"
,
name
:
"watchCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
49
)]).
then
(
function
(){
var
n
=
[
t
(
"Dq6T"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"微信统计"
,
routerName
:
"weChatStatistics"
,
path
:
"/weChatStatistics"
,
cover
:
"7-10"
,
router
:{
path
:
"/weChatStatistics"
,
name
:
"weChatStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
71
)]).
then
(
function
(){
var
n
=
[
t
(
"5t3x"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"测试"
,
routerName
:
"test"
,
path
:
"/test"
,
cover
:
"7-11"
,
router
:{
path
:
"/test"
,
name
:
"test"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
28
)]).
then
(
function
(){
var
n
=
[
t
(
"9ZSL"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"系统管理"
,
icon
:
"icon-xitongquanxian"
,
list
:[{
value
:
"首页管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"10-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
27
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"10-6"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
59
)]).
then
(
function
(){
var
n
=
[
t
(
"NrkQ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"来源码管理"
,
routerName
:
"sourceManage"
,
path
:
"/sourceManage"
,
cover
:
"10-1"
,
router
:{
path
:
"/sourceManage"
,
name
:
"sourceManage"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
39
)]).
then
(
function
(){
var
n
=
[
t
(
"/ubI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"短信发送记录"
,
routerName
:
"smsRecord"
,
path
:
"/smsRecord"
,
cover
:
"10-2"
,
router
:{
path
:
"/smsRecord"
,
name
:
"smsRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
37
)]).
then
(
function
(){
var
n
=
[
t
(
"qjS+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"设备监管记录"
,
routerName
:
"staffRecord"
,
path
:
"/staffRecord"
,
cover
:
"10-7"
,
router
:{
path
:
"/staffRecord"
,
name
:
"staffRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
44
)]).
then
(
function
(){
var
n
=
[
t
(
"4tei"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"标签管理"
,
routerName
:
"tag"
,
path
:
"/tag"
,
cover
:
"10-8"
,
router
:{
path
:
"/tag"
,
name
:
"tag"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
51
)]).
then
(
function
(){
var
n
=
[
t
(
"aK2+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"员工管理"
,
routerName
:
"staff"
,
path
:
"/staff"
,
cover
:
"10-4"
,
router
:{
path
:
"/staff"
,
name
:
"staff"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
31
)]).
then
(
function
(){
var
n
=
[
t
(
"eqK0"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
50
)]).
then
(
function
(){
var
n
=
[
t
(
"TPCG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"后台管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"账号管理"
,
routerName
:
"admin"
,
path
:
"/admin"
,
cover
:
"8-1"
,
router
:{
path
:
"/admin"
,
name
:
"admin"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
53
)]).
then
(
function
(){
var
n
=
[
t
(
"+jTk"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"角色管理"
,
routerName
:
"role"
,
path
:
"/role"
,
cover
:
"8-2"
,
router
:{
path
:
"/role"
,
name
:
"role"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
58
)]).
then
(
function
(){
var
n
=
[
t
(
"Vt1u"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"菜单管理"
,
routerName
:
"menu"
,
path
:
"/menu"
,
cover
:
"8-3"
,
router
:{
path
:
"/menu"
,
name
:
"menu"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
70
)]).
then
(
function
(){
var
n
=
[
t
(
"aTXs"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"sysConfig"
,
path
:
"/sysConfig"
,
cover
:
"8-4"
,
router
:{
path
:
"/sysConfig"
,
name
:
"sysConfig"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
40
)]).
then
(
function
(){
var
n
=
[
t
(
"gaNG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"操作日志"
,
routerName
:
"adminLog"
,
path
:
"/adminLog"
,
cover
:
"8-5"
,
router
:{
path
:
"/adminLog"
,
name
:
"adminLog"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
54
)]).
then
(
function
(){
var
n
=
[
t
(
"WZgi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]}],
a
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
n
=
this
.
$store
.
state
.
progressList
;
console
.
log
(
this
.
$store
.
state
);
var
a
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
12
)]).
then
(
function
(){
var
n
=
[
t
(
"9PRC"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},
i
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
t
.
e
(
0
).
then
(
function
(){
var
n
=
[
t
(
"hFUZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}};
o
.
forEach
(
function
(
t
){
var
o
=!
1
,
u
=
[];
t
.
list
.
forEach
(
function
(
t
){
var
a
=
n
.
find
(
function
(
e
){
return
e
.
cover
===
t
.
cover
});
a
&&
(
t
.
router
.
meta
=
{},
t
.
router
.
meta
.
readonly
=!!
a
.
readonly
,
t
.
router
.
meta
.
delete
=!!
a
.
delete
,
t
.
router
.
meta
.
export
=!!
a
.
export
,
t
.
router
.
meta
.
refund
=!!
a
.
refund
,
t
.
router
.
meta
.
distribution
=!!
a
.
distribution
,
t
.
router
.
meta
.
classManage
=!!
a
.
classManage
,
t
.
router
.
meta
.
classManageUnlimited
=!!
a
.
classManageUnlimited
,
t
.
router
.
meta
.
classTakeUnlimited
=!!
a
.
classTakeUnlimited
,
t
.
router
.
meta
.
exportFinish
=!!
a
.
exportFinish
,
t
.
router
.
meta
.
promoter
=!!
a
.
promoter
,
t
.
router
.
meta
.
import
=!!
a
.
import
,
u
.
push
(
t
),
"3-1"
===
a
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
a
.
readonly
,
i
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
"3-2"
===
a
.
cover
&&
(
r
.
meta
=
{},
r
.
meta
.
readonly
=
a
.
readonly
,
r
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
r
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
t
.
router
),
o
=!
0
)}),
o
&&
(
t
.
list
=
u
,
a
.
push
(
t
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
a
)}}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
i
=
t
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
e
){
t
(
"Kkbb"
)},
null
,
null
).
exports
,
u
=
t
(
"lRwf"
),
c
=
t
.
n
(
u
),
s
=
t
(
"YaEn"
),
l
=
t
(
"IcnI"
),
h
=
t
(
"zL8q"
),
m
=
t
.
n
(
h
);
c
.
a
.
use
(
m
.
a
),
c
.
a
.
config
.
productionTip
=!
1
,
new
c
.
a
({
el
:
"#app"
,
store
:
l
.
a
,
router
:
s
.
a
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
OMN4
:
function
(
e
,
n
){
e
.
exports
=
axios
},
YaEn
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"IcnI"
),
a
=
t
(
"/ocq"
),
r
=
t
(
"zSLJ"
),
i
=
new
a
.
a
({
scrollBehavior
:
function
(){
return
{
y
:
0
}},
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
5
)]).
then
(
function
(){
var
n
=
[
t
(
"jHcp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
t
.
e
(
38
).
then
(
function
(){
var
n
=
[
t
(
"sJm1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
46
)]).
then
(
function
(){
var
n
=
[
t
(
"0HId"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/register"
,
name
:
"register"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
69
)]).
then
(
function
(){
var
n
=
[
t
(
"90Fj"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/outManager"
,
name
:
"outManager"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
61
)]).
then
(
function
(){
var
n
=
[
t
(
"hLMI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
55
)]).
then
(
function
(){
var
n
=
[
t
(
"iPJD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/newLesson"
,
name
:
"newLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
2
)]).
then
(
function
(){
var
n
=
[
t
(
"4t0V"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
i
.
beforeEach
(
function
(
e
,
n
,
t
){
if
(
o
.
a
.
commit
(
"mainCanShow"
),
r
.
a
.
get
(
"cc_token"
)
&&
(
o
.
a
.
dispatch
(
"setToken"
,
r
.
a
.
get
(
"cc_token"
)),
o
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
r
.
a
.
get
(
"cc_user_name"
)
&&
o
.
a
.
dispatch
(
"setUserName"
,
r
.
a
.
get
(
"cc_user_name"
))),
o
.
a
.
state
.
nowTab
=
e
.
name
,
console
.
log
(
e
),
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
a
=
void
0
,
i
=
0
;
i
<
o
.
a
.
state
.
menuList
.
length
;
i
++
)
for
(
var
u
=
o
.
a
.
state
.
menuList
[
i
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
s
=
u
.
list
[
c
];
s
.
path
===
e
.
path
&&
(
a
=
s
)}
o
.
a
.
state
.
openedTab
.
indexOf
(
a
)
<
0
&&
o
.
a
.
state
.
openedTab
.
push
(
a
)}
if
(
e
.
meta
.
readonly
?
o
.
a
.
dispatch
(
"readonly"
,
!
0
):
o
.
a
.
dispatch
(
"readonly"
,
!
1
),
o
.
a
.
state
.
orderRefund
=
e
.
meta
.
refund
,
o
.
a
.
state
.
export
=
e
.
meta
.
export
,
o
.
a
.
state
.
distribution
=
e
.
meta
.
distribution
,
o
.
a
.
state
.
classManage
=
e
.
meta
.
classManage
,
o
.
a
.
state
.
import
=
e
.
meta
.
import
,
o
.
a
.
dispatch
(
"promoter"
,
e
.
meta
.
promoter
),
o
.
a
.
dispatch
(
"classManageUnlimited"
,
e
.
meta
.
classManageUnlimited
),
o
.
a
.
dispatch
(
"classTakeUnlimited"
,
e
.
meta
.
classTakeUnlimited
),
o
.
a
.
dispatch
(
"exportFinish"
,
e
.
meta
.
exportFinish
),
console
.
log
(
e
.
meta
),
"userDetail"
===
e
.
name
){
var
l
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
o
.
a
.
dispatch
(
"readonly"
,
l
)}
e
.
meta
.
delete
?
o
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
o
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
o
.
a
.
state
.
token
?
t
({
path
:
"/login"
}):
t
()}),
i
.
onError
(
function
(
e
){
var
n
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
t
=
i
.
history
.
pending
.
fullPath
;
n
&&
i
.
replace
(
t
)}),
n
.
a
=
i
},
lRwf
:
function
(
e
,
n
){
e
.
exports
=
Vue
},
zSLJ
:
function
(
e
,
n
,
t
){
"use strict"
;
n
.
a
=
{
set
:
function
(
e
,
n
,
t
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
t
),
window
.
document
.
cookie
=
e
+
"="
+
n
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
n
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
n
?
n
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.5eceed2ae075999136ba.js
0 → 100644
View file @
4112fa45
!
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
=
{
75
:
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
:
"fc53186e041687440114"
,
1
:
"e329b9b549c4118ed0bf"
,
2
:
"557116d16cf7b8475850"
,
3
:
"ddc27f21b39a980f2ec3"
,
4
:
"4b63f2bb981af0f0c4cd"
,
5
:
"e36d41ee8ed2040e80f6"
,
6
:
"04d80b2f6d89d85f8b52"
,
7
:
"6d194b08c16e528e61b9"
,
8
:
"7905bcfc376529dc9f0b"
,
9
:
"34aa9b8acaa3f68481e1"
,
10
:
"63652735b5ef07da63b8"
,
11
:
"d73d3f8e354096bf4138"
,
12
:
"8cc5b11aabd526c6e8a4"
,
13
:
"f9c06cf54aaf1f8b99b3"
,
14
:
"eeef6575118faca906dc"
,
15
:
"5d24fc68da3bfb37e539"
,
16
:
"2c943d73b5784b657fe5"
,
17
:
"2fd11ca6a45ff71a0371"
,
18
:
"916c9c6c535212901918"
,
19
:
"2c9580f0706f0bba6746"
,
20
:
"90e3b23241e6568f3680"
,
21
:
"1bb961e08620e9ac1308"
,
22
:
"bae085052659e6d35048"
,
23
:
"1f4a89d6675114ba937f"
,
24
:
"a0987f8329fa9ccb2edc"
,
25
:
"532859715b4f2f20d76a"
,
26
:
"d97fd226fdb6065cee9a"
,
27
:
"d4802e89ee8318ba6016"
,
28
:
"9de147aff79a70da4c83"
,
29
:
"4bb6a854e8e9e908be1c"
,
30
:
"bd3d4b628f4f670fe896"
,
31
:
"aeeb08941e4d82ed0957"
,
32
:
"3957b3c2f5e52a831472"
,
33
:
"87f7f8d3afef61e46b44"
,
34
:
"97af662650c5bd305758"
,
35
:
"470e33376d819086ecfa"
,
36
:
"858500f3da5fc516d4b1"
,
37
:
"40b831749f78fce3a77a"
,
38
:
"37c7be08010a4c834c9c"
,
39
:
"1fbe9793ec25067d5732"
,
40
:
"c4c3b4245aefd6690ef6"
,
41
:
"ad579cc96cdc9d481d5c"
,
42
:
"d37a5c7934f5e7515990"
,
43
:
"007705a337762c79de23"
,
44
:
"13e2e5a8a17efc0417ea"
,
45
:
"61052be98583f314b07c"
,
46
:
"072912e1b2add75c0c90"
,
47
:
"1ff87eb69cebe8d6a900"
,
48
:
"6e29962aa90c0e3227a1"
,
49
:
"d332d227f8bc5aa366e7"
,
50
:
"441528007fc0a5c51b50"
,
51
:
"6552de838650510205f9"
,
52
:
"a3858b796ae914053cd9"
,
53
:
"f2efa63ca398b07502bb"
,
54
:
"0c6227365aa35648b5f9"
,
55
:
"6b3b99b45ac49a9091e2"
,
56
:
"b92a9ca4a23a0dc79891"
,
57
:
"1f0e504b015698a02335"
,
58
:
"4bfa5d88102cf3d20a00"
,
59
:
"2a74a9bd6c05eb7b0a42"
,
60
:
"15f4c68aa6f51d629833"
,
61
:
"f1f918879fffd50063fc"
,
62
:
"9f14c3144130e9d1ace0"
,
63
:
"d8b8c40f74def7a4b9d7"
,
64
:
"ee38beac5e4d808a897d"
,
65
:
"68863829f6aba58b94a0"
,
66
:
"3c1304239ffe658f617c"
,
67
:
"bb8a657fc31dbc5a7d73"
,
68
:
"0732087699fa9a829c9e"
,
69
:
"16d116418287b5d81a86"
,
70
:
"b9cb69d420692ca27044"
,
71
:
"caf4fea616a60375721e"
,
72
:
"32f8dcc9d4b054e9ea5d"
}[
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
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