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
a6740beb
Commit
a6740beb
authored
Aug 06, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
86
parent
f655e094
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
65 additions
and
38 deletions
+65
-38
index.html
dev/index.html
+1
-1
0.ccb4d601a2af64b32ce2.js
dev/static/js/0.ccb4d601a2af64b32ce2.js
+20
-0
8.9f80bdcf1310ef1f4d40.js
dev/static/js/8.9f80bdcf1310ef1f4d40.js
+1
-0
manifest.2ec45d57dd81ca4353b2.js
dev/static/js/manifest.2ec45d57dd81ca4353b2.js
+1
-0
index.vue
src/components/order/index.vue
+11
-5
api.js
src/service/api.js
+30
-32
index.js
src/service/index.js
+1
-0
No files found.
dev/index.html
View file @
a6740beb
<!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.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
f50c28635bfaeaa8908a
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6a18832950b1e06cbd55.js
></script><script
type=
text/javascript
src=
/static/js/app.607bd306fb9aee58c3c4.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.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
2ec45d57dd81ca4353b2
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6a18832950b1e06cbd55.js
></script><script
type=
text/javascript
src=
/static/js/app.607bd306fb9aee58c3c4.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/0.ccb4d601a2af64b32ce2.js
0 → 100644
View file @
a6740beb
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dev/static/js/8.9f80bdcf1310ef1f4d40.js
0 → 100644
View file @
a6740beb
webpackJsonp
([
8
],{
"+dYf"
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"eW9u"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"e77fce0c"
,
o
,
!
1
,{})},
"1d8X"
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"Yg4o"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"8bc76fe0"
,
o
,
!
1
,{})},
"2qmY"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
i
(
"CCn6"
),
r
=
i
(
"kmJW"
),
a
=
i
(
"P0f4"
),
n
=
i
(
"xGts"
),
s
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{}},
watch
:{
"dialogObj.show"
:{
deep
:
!
0
,
handler
:
function
(){
console
.
log
(
this
.
dialogObj
)}}},
methods
:{
handlerAddressChange
:
function
(
e
){
if
(
e
.
province
&&
e
.
city
&&
e
.
district
){
this
.
dialogObj
.
detail
=
e
.
detail
,
this
.
dialogObj
.
province
=
e
.
province
,
this
.
dialogObj
.
city
=
e
.
city
,
this
.
dialogObj
.
receive_mobile
=
e
.
mobile
,
this
.
dialogObj
.
receive_name
=
e
.
name
;
var
t
=
n
.
a
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
province
}),
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
city
}),
o
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
district
});
this
.
dialogObj
.
province_name
=
t
[
0
].
label
,
this
.
dialogObj
.
city_name
=
i
[
0
].
label
,
this
.
dialogObj
.
district_name
=
o
.
length
>
0
?
o
[
0
].
label
:
i
[
0
].
children
[
0
].
label
,
this
.
dialogObj
.
district
=
o
.
length
>
0
?
o
[
0
].
value
:
i
[
0
].
children
[
0
].
value
}},
saveAddress
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
province_id
:
e
.
dialogObj
.
province
,
province_name
:
e
.
dialogObj
.
province_name
,
city_id
:
e
.
dialogObj
.
city
,
city
:
e
.
dialogObj
.
city_name
,
area
:
e
.
dialogObj
.
district_name
,
area_id
:
e
.
dialogObj
.
district
,
address
:
e
.
dialogObj
.
detail
,
receive_name
:
e
.
dialogObj
.
receive_name
,
receive_mobile
:
e
.
dialogObj
.
receive_mobile
};
Object
(
o
.
_4
)(
e
.
dialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)})})}},
components
:{
vueAddress
:
a
.
a
},
mounted
:
function
(){
console
.
log
(
this
.
dialogObj
)}},
l
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"编辑收货地址"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"vue-address"
,{
attrs
:{
province
:
e
.
dialogObj
.
province
,
city
:
e
.
dialogObj
.
city
,
district
:
e
.
dialogObj
.
district
,
detail
:
e
.
dialogObj
.
detail
,
mobile
:
e
.
dialogObj
.
receive_mobile
,
name
:
e
.
dialogObj
.
receive_name
},
on
:{
change
:
e
.
handlerAddressChange
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAddress
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)};
l
.
_withStripped
=!
0
;
var
c
=
{
render
:
l
,
staticRenderFns
:[]},
d
=
c
;
var
_
=!
1
;
var
u
=
i
(
"VU/8"
)(
s
,
d
,
!
1
,
function
(
e
){
_
||
i
(
"ri1l"
)},
"data-v-60e716f4"
,
null
);
u
.
options
.
__file
=
"src
\\
components
\\
order
\\
dialog.vue"
;
var
h
=
u
.
exports
,
m
=
i
(
"O6Rd"
),
p
=
i
(
"zA5m"
),
f
=
i
(
"kmsh"
),
v
=
i
(
"+TkF"
),
g
=
{
name
:
"detail"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
detail
:{},
show
:
!
1
}},
methods
:{
initDialog
:
function
(){
this
.
detail
=
this
.
dialogObj
.
detail
,
this
.
show
=
this
.
dialogObj
.
show
}},
filters
:{
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
v
.
j
[
e
]},
status
:
function
(
e
){
return
v
.
q
[
e
]},
buyType
:
function
(
e
){
return
v
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
b
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"订单详情"
,
center
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"订单号"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
detail
.
out_trade_no
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"商品名称"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
goods_name
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"用户昵称"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
detail
.
user_nickname
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"用户手机号"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
user_mobile
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人类型"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"inviteType"
)(
e
.
detail
.
invite_type
)))]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人ID"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
invite_id
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
align
:
"middle"
,
type
:
"flex"
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"推广人收益"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
invite_earnings
?
e
.
detail
.
invite_earnings
/
100
:
0
)
+
"元"
)]),
e
.
_v
(
" "
),
2
===
e
.
detail
.
buy_type
?[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"团购信息"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
"团ID:"
+
e
.
_s
(
e
.
detail
.
order_group_id
)),
i
(
"br"
),
e
.
_v
(
"是否是团长:"
+
e
.
_s
(
0
===
e
.
detail
.
is_captain
?
"否"
:
"是"
))])]:
e
.
_e
()],
2
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"期数ID"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
periods_id
))]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"描述"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
desc
))])],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"收货地址"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
20
}},[
e
.
detail
.
user_address_id
&&
e
.
detail
.
address_info
?[
e
.
_v
(
"
\n
收货人:"
+
e
.
_s
(
e
.
detail
.
address_info
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
"
\n
手机号:"
+
e
.
_s
(
e
.
detail
.
address_info
.
receive_mobile
)),
i
(
"br"
),
e
.
_v
(
"
\n
收货地址: "
+
e
.
_s
(
e
.
detail
.
address_info
.
province_name
)
+
e
.
_s
(
e
.
detail
.
address_info
.
city
)
+
e
.
_s
(
e
.
detail
.
address_info
.
area
)
+
e
.
_s
(
e
.
detail
.
address_info
.
address
)
+
"
\n
"
)]:
e
.
_e
()],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"付款时间"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
e
.
_v
(
e
.
_s
(
e
.
detail
.
pay_at
))])],
1
)],
1
)};
b
.
_withStripped
=!
0
;
var
y
=
{
render
:
b
,
staticRenderFns
:[]},
w
=
y
;
var
x
=!
1
;
var
O
=
i
(
"VU/8"
)(
g
,
w
,
!
1
,
function
(
e
){
x
||
i
(
"cCfO"
)},
"data-v-375439e2"
,
null
);
O
.
options
.
__file
=
"src
\\
components
\\
order
\\
detail.vue"
;
var
F
=
O
.
exports
,
A
=
i
(
"G2rA"
),
j
=
(
i
(
"sf/l"
),{
name
:
"index"
,
data
:
function
(){
var
e
=
this
;
return
{
nowPage
:
1
,
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"
]}},
sourceDialog
:{
show
:
!
1
,
out_trade_no
:
""
},
couponDetail
:{
show
:
!
1
,
order_coupon_id
:
""
},
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
limit
:
10
,
searchFrom
:{
nickname
:
""
,
wait_into_course
:
""
,
user_id
:
""
,
invite_type
:
""
,
invite_id
:
""
,
buy_type
:
""
,
status
:[
1
,
4
,
5
],
goods_id
:
""
,
out_trade_no
:
""
,
payTime
:[],
order_group_id
:
""
,
is_captain
:
""
},
tableData
:[],
dialogObj
:{
show
:
!
1
},
refundDialogObj
:{
show
:
!
1
,
id
:
""
,
money
:
0
},
dialogDetailObj
:{
show
:
!
1
,
detail
:{}},
goodList
:[],
inviteTypeOption
:
v
.
k
,
orderStatusOption
:
v
.
r
,
buyTypeOption
:
v
.
c
,
inviteSearchPlaceholder
:
""
,
rules
:{
value
:[{
required
:
!
0
,
message
:
"请输入备注"
,
trigger
:
"change"
}]},
promoterDialog
:{
show
:
!
1
,
nowPage
:
1
,
total
:
0
,
limit
:
100
,
teacher_id
:
""
},
teacherList
:[],
loading
:
!
1
,
isLeaderOption
:
v
.
m
}},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
i
=
e
.
getMonth
()
+
1
;
i
<
10
&&
(
i
=
"0"
+
i
);
var
o
=
e
.
getDate
();
return
o
<
10
&&
(
o
=
"0"
+
o
),
t
+
"-"
+
i
+
"-"
+
o
},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
out_trade_no
},
showCoupon
:
function
(
e
){
this
.
couponDetail
.
show
=!
0
,
this
.
couponDetail
.
order_coupon_id
=
e
.
order_coupon_id
},
showSource
:
function
(
e
){
this
.
sourceDialog
.
show
=!
0
,
this
.
sourceDialog
.
out_trade_no
=
e
.
out_trade_no
},
changeRow
:
function
(
e
,
t
){
t
.
indexOf
(
e
)
>-
1
&&
Object
(
o
.
_88
)({
out_trade_no
:
e
.
out_trade_no
}).
then
(
function
(
t
){
e
.
refundList
=
t
.
list
})},
exportTable
:
function
(){
var
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
.
invite_type
&&
(
e
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
invite_id
&&
(
e
.
invite_id
=
this
.
searchFrom
.
invite_id
),
this
.
searchFrom
.
order_group_id
&&
(
e
.
order_group_id
=
this
.
searchFrom
.
order_group_id
),
this
.
searchFrom
.
buy_type
&&
(
e
.
buy_type
=
this
.
searchFrom
.
buy_type
),
this
.
searchFrom
.
status
&&
(
e
.
status
=
this
.
searchFrom
.
status
.
toString
()),
this
.
searchFrom
.
goods_id
&&
(
e
.
goods_id
=
this
.
searchFrom
.
goods_id
),(
this
.
searchFrom
.
is_captain
||
0
==
this
.
searchFrom
.
is_captain
)
&&
(
e
.
is_captain
=
this
.
searchFrom
.
is_captain
),
this
.
searchFrom
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
this
.
searchFrom
.
receive_mobile
&&
(
e
.
receive_mobile
=
this
.
searchFrom
.
receive_mobile
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
e
.
pay_start_at
=
this
.
searchFrom
.
payTime
[
0
],
e
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]),
this
.
searchFrom
.
wait_into_course
&&
(
e
.
wait_into_course
=
this
.
searchFrom
.
wait_into_course
),
e
.
course_type
=
1
,
Object
(
o
.
_27
)(
"/api/admin/order/export"
,
e
,
"日课订单列表"
)},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
o
.
_60
)({
page
:
1
,
limit
:
100
,
course_type
:
1
,
status
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
onInviteTypeChange
:
function
(
e
){
0
===
e
?
this
.
inviteSearchPlaceholder
=
"用户ID"
:
1
===
e
?
this
.
inviteSearchPlaceholder
=
"老师ID"
:
2
===
e
&&
(
this
.
inviteSearchPlaceholder
=
"推广人ID"
),
this
.
getOrderList
()},
detail
:
function
(
e
){
var
t
=
e
;
this
.
dialogDetailObj
=
{
show
:
!
0
,
detail
:
t
}},
editComment
:
function
(
e
,
t
){
var
i
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
r
=
t
.
value
;
i
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_19
)(
e
,
"order"
,{
desc
:
r
}).
then
(
function
(
e
){
i
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
i
.
getOrderList
()})})})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getOrderList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getOrderList
()},
getOrderList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
invite_id
&&
(
t
.
invite_id
=
this
.
searchFrom
.
invite_id
),
this
.
searchFrom
.
order_group_id
&&
(
t
.
order_group_id
=
this
.
searchFrom
.
order_group_id
),
this
.
searchFrom
.
buy_type
&&
(
t
.
buy_type
=
this
.
searchFrom
.
buy_type
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
toString
()),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),(
this
.
searchFrom
.
is_captain
||
0
==
this
.
searchFrom
.
is_captain
)
&&
(
t
.
is_captain
=
this
.
searchFrom
.
is_captain
),
this
.
searchFrom
.
out_trade_no
&&
(
t
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
this
.
searchFrom
.
receive_mobile
&&
(
t
.
receive_mobile
=
this
.
searchFrom
.
receive_mobile
),
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
payTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]),
this
.
searchFrom
.
wait_into_course
&&
(
t
.
wait_into_course
=
this
.
searchFrom
.
wait_into_course
),
t
.
course_type
=
1
,
Object
(
o
.
_73
)(
t
).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
refundList
=
[]}),
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
changeDetailShow
:
function
(
e
){
this
.
dialogDetailObj
.
show
=
e
},
changeShow
:
function
(
e
){
this
.
refundDialogObj
.
show
=
e
},
onRefund
:
function
(
e
,
t
){
this
.
refundDialogObj
.
id
=
e
,
this
.
refundDialogObj
.
money
=
t
,
this
.
refundDialogObj
.
show
=!
0
},
onAfterRefund
:
function
(){
this
.
refundDialogObj
.
show
=!
1
,
this
.
getOrderList
()},
onUpdateAddress
:
function
(){
this
.
dialogObj
.
show
=!
1
,
this
.
getOrderList
()},
editAddress
:
function
(
e
){
if
(
console
.
log
(
e
),
e
.
address_info
&&
e
.
address_info
.
province_name
){
var
t
=
n
.
a
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
province_name
});
if
(
t
&&
t
.
length
>
0
)
if
(
this
.
dialogObj
.
province
=
e
.
address_info
.
province_id
?
e
.
address_info
.
province_id
:
t
[
0
].
value
,
e
.
address_info
.
city
){
var
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
city
});
if
(
this
.
dialogObj
.
city
=
e
.
address_info
.
city_id
?
e
.
address_info
.
city_id
:
i
[
0
].
value
,
e
.
address_info
.
area
){
var
o
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
label
===
e
.
address_info
.
area
});
this
.
dialogObj
.
district
=
e
.
address_info
.
area_id
?
e
.
address_info
.
area_id
:
o
[
0
].
value
}
else
this
.
dialogObj
.
district
=
""
}
else
this
.
dialogObj
.
city
=
""
;
else
this
.
dialogObj
.
province
=
""
,
this
.
dialogObj
.
district
=
""
,
this
.
dialogObj
.
city
=
""
}
else
this
.
dialogObj
.
province
=
""
,
this
.
dialogObj
.
city
=
""
,
this
.
dialogObj
.
district
=
""
;
this
.
dialogObj
.
detail
=
e
.
address_info
?
e
.
address_info
.
address
:
""
,
this
.
dialogObj
.
receive_mobile
=
e
.
address_info
?
e
.
address_info
.
receive_mobile
:
""
,
this
.
dialogObj
.
receive_name
=
e
.
address_info
?
e
.
address_info
.
receive_name
:
""
,
this
.
dialogObj
.
province_name
=
e
.
address_info
?
e
.
address_info
.
province_name
:
""
,
this
.
dialogObj
.
city_name
=
e
.
address_info
?
e
.
address_info
.
city
:
""
,
this
.
dialogObj
.
district_name
=
e
.
address_info
?
e
.
address_info
.
area
:
""
,
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
show
=!
0
},
getTeacherList
:
function
(
e
){
var
t
=
this
;
this
.
loading
=!
0
;
var
i
=
{
limit
:
this
.
promoterDialog
.
limit
,
page
:
this
.
promoterDialog
.
nowPage
};
e
&&
(
i
.
name
=
e
),
Object
(
o
.
_110
)(
i
).
then
(
function
(
e
){
t
.
teacherList
=
e
.
list
,
t
.
loading
=!
1
})},
handleCurrentTeacherChange
:
function
(
e
){
console
.
log
(
"handleCurrentTeacherChange"
,
e
)},
updateTeacher
:
function
(
e
){
this
.
promoterDialog
.
show
=!
0
,
this
.
promoterDialog
.
id
=
e
.
id
,
this
.
promoterDialog
.
teacher_id
=
e
.
invite_id
,
this
.
getTeacherList
()},
remoteMethod
:
function
(
e
){
""
!==
e
?
this
.
getTeacherList
(
e
):
this
.
getTeacherList
()},
saveTeacher
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"此操作将修改推广人?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
console
.
log
(
"this.promoterDialog.teacher_id"
,
e
.
promoterDialog
),
Object
(
o
.
_181
)(
e
.
promoterDialog
.
id
,
e
.
promoterDialog
.
teacher_id
).
then
(
function
(
t
){
e
.
promoterDialog
.
id
=
""
,
e
.
promoterDialog
.
teacher_id
=
""
,
e
.
promoterDialog
.
show
=!
1
,
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
getOrderList
()})})}},
components
:{
addressDialog
:
h
,
refundDialog
:
p
.
a
,
detailDialog
:
F
,
refundDetail
:
A
.
a
,
sourceDialog
:
m
.
a
,
couponDialog
:
f
.
a
,
page
:
r
.
a
},
mounted
:
function
(){
this
.
$route
.
query
.
code
&&
(
this
.
searchFrom
.
invite_type
=
this
.
$route
.
query
.
code
),
this
.
getOrderList
(),
this
.
getGoodsOption
()},
watch
:{},
filters
:{
isLeader
:
function
(
e
){
return
v
.
l
[
e
]},
payMentFilter
:
function
(
e
){
return
"1"
==
e
?
"已付款"
:
"未付款"
},
courseTypeFilter
:
function
(
e
){
return
"1"
==
e
.
type
?
"正式课("
+
e
.
duration
+
"个月)"
:
"试听课("
+
e
.
duration
+
"天)"
},
inviteType
:
function
(
e
){
return
v
.
j
[
e
]},
status
:
function
(
e
){
return
v
.
q
[
e
]},
buyType
:
function
(
e
){
return
v
.
b
[
e
]},
moneytFilter
:
function
(
e
){
return
e
/
100
+
"元"
},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
v
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}}}),
C
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"order"
},[
i
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
,
size
:
"small"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
i
(
"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
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"收件人手机号"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
receive_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"receive_mobile"
,
t
)},
expression
:
"searchFrom.receive_mobile"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
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
,
o
){
return
i
(
"el-option"
,{
key
:
o
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticClass
:
"test"
,
attrs
:{
label
:
"来源"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
e
.
inviteSearchPlaceholder
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type
\
t"
}},[
i
(
"template"
,{
slot
:
"prepend"
},[
e
.
_v
(
"CC -"
)])],
2
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"推广人ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
attrs
:{
placeholder
:
e
.
inviteSearchPlaceholder
},
model
:{
value
:
e
.
searchFrom
.
invite_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_id"
,
t
)},
expression
:
"searchFrom.invite_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"团ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
model
:{
value
:
e
.
searchFrom
.
order_group_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"order_group_id"
,
t
)},
expression
:
"searchFrom.order_group_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"是否团长"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
is_captain
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"is_captain"
,
t
)},
expression
:
"searchFrom.is_captain"
}},
e
.
_l
(
e
.
isLeaderOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"购买方式"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
buy_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"buy_type"
,
t
)},
expression
:
"searchFrom.buy_type"
}},
e
.
_l
(
e
.
buyTypeOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
i
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},
e
.
_l
(
e
.
orderStatusOption
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"是否入课"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
wait_into_course
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"wait_into_course"
,
t
)},
expression
:
"searchFrom.wait_into_course"
}},[
i
(
"el-option"
,{
attrs
:{
label
:
"已入课"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
i
(
"el-option"
,{
attrs
:{
label
:
"未入课"
,
value
:
"1"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"交易订单号"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
out_trade_no
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"out_trade_no"
,
t
)},
expression
:
"searchFrom.out_trade_no"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
i
(
"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
.
getOrderList
},
model
:{
value
:
e
.
searchFrom
.
payTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"payTime"
,
t
)},
expression
:
"searchFrom.payTime"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getOrderList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
exportTable
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
size
:
"small"
,
fixed
:
""
},
on
:{
"expand-change"
:
e
.
changeRow
}},[
i
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
,
width
:
"120"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
i
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
),
i
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数标题"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
,
width
:
"160"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
width
:
"250"
,
prop
:
"invite_id"
,
className
:
"f-c"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
invite_earnings
>
0
&&
0
!==
t
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
width
:
"100%"
,
display
:
"flex"
,
color
:
"#409eff"
,
cursor
:
"pointer"
},
on
:{
click
:
function
(
i
){
e
.
showSource
(
t
.
row
)}}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
" 类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
" ("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
),
i
(
"br"
),
e
.
_v
(
" 收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_earnings
&&
0
!==
t
.
row
.
invite_id
?
i
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
invite_avatar
}}),
e
.
_v
(
" 类型:"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
" ("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
),
i
(
"br"
),
e
.
_v
(
" 收益:"
+
e
.
_s
(
t
.
row
.
invite_earnings
/
100
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 用户ID:"
+
e
.
_s
(
t
.
row
.
invite_id
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 昵称:"
+
e
.
_s
(
t
.
row
.
invite_nickname
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" 手机:"
+
e
.
_s
(
t
.
row
.
invite_mobile
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
invite_id
?
i
(
"div"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"order_group_id"
,
label
:
"团ID"
,
width
:
"80"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"是否团长"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"isLeader"
)(
t
.
row
.
is_captain
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"优惠活动"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
===
t
.
row
.
order_coupon_id
?
i
(
"span"
,[
e
.
_v
(
"
\n
无
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
!==
t
.
row
.
order_coupon_id
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
e
.
showCoupon
(
t
.
row
)}}},[
e
.
_v
(
"
\n
优惠券
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
i
){
e
.
showRef
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
!==
t
.
row
.
status
&&
3
!==
t
.
row
.
status
?
i
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"实付金额"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"moneytFilter"
)(
t
.
row
.
money
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
user_address_id
&&
t
.
row
.
address_info
?
i
(
"div"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
address_info
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
address_info
.
receive_mobile
)
+
"
\n
"
),
i
(
"br"
),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
address_info
.
province_name
)
+
e
.
_s
(
t
.
row
.
address_info
.
city
)
+
e
.
_s
(
t
.
row
.
address_info
.
area
)
+
e
.
_s
(
t
.
row
.
address_info
.
address
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"时间"
,
width
:
"280"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
下单时间:"
+
e
.
_s
(
t
.
row
.
created_at
)),
i
(
"br"
),
e
.
_v
(
"
\n
购买时间:"
+
e
.
_s
(
t
.
row
.
pay_at
)),
i
(
"br"
),
e
.
_v
(
" "
),
1
!=
t
.
row
.
buy_type
?
i
(
"div"
,[
e
.
_v
(
"
\n
成团时间:"
+
e
.
_s
(
t
.
row
.
group_success_time
)),
i
(
"br"
),
e
.
_v
(
"
\n
截止时间:"
+
e
.
_s
(
t
.
row
.
deadline
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
width
:
"50"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"400"
}},[
i
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
1
!=
t
.
row
.
status
&&
4
!=
t
.
row
.
status
&&
5
!=
t
.
row
.
status
||!
e
.
$store
.
state
.
orderRefund
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
onRefund
(
t
.
row
.
id
,
t
.
row
.
money
)}}},[
e
.
_v
(
"
\n
退款
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"info"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editComment
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"
\n
编辑备注
\n
"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
plain
:
""
,
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editAddress
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑收货地址
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
promoter
?
i
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
updateTeacher
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑推广人
\n
"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
e
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
e
.
_v
(
" "
),
i
(
"address-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
onUpdateAddress
}}),
e
.
_v
(
" "
),
i
(
"refund-dialog"
,{
attrs
:{
dialogObj
:
e
.
refundDialogObj
},
on
:{
reflash
:
e
.
onAfterRefund
,
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
i
(
"detail-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogDetailObj
},
on
:{
changeShow
:
e
.
changeDetailShow
}}),
e
.
_v
(
" "
),
i
(
"source-dialog"
,{
attrs
:{
dialogObj
:
e
.
sourceDialog
}}),
e
.
_v
(
" "
),
i
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
i
(
"coupon-dialog"
,{
attrs
:{
dialogObj
:
e
.
couponDetail
}}),
e
.
_v
(
" "
),
i
(
"el-dialog"
,{
attrs
:{
title
:
"修改推广人"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
promoterDialog
.
show
,
width
:
"600"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
promoterDialog
,
"show"
,
t
)}}},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
"label-width"
:
"120px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
i
(
"el-select"
,{
attrs
:{
filterable
:
""
,
remote
:
""
,
clearable
:
""
,
placeholder
:
"请输入名称"
,
"remote-method"
:
e
.
remoteMethod
,
loading
:
e
.
loading
},
model
:{
value
:
e
.
promoterDialog
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
promoterDialog
,
"teacher_id"
,
t
)},
expression
:
"promoterDialog.teacher_id"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
user_id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
promoterDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveTeacher
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)};
C
.
_withStripped
=!
0
;
var
k
=
{
render
:
C
,
staticRenderFns
:[]},
D
=
k
;
var
T
=!
1
;
var
B
=
i
(
"VU/8"
)(
j
,
D
,
!
1
,
function
(
e
){
T
||
(
i
(
"+dYf"
),
i
(
"1d8X"
))},
"data-v-e25265f8"
,
null
);
B
.
options
.
__file
=
"src
\\
components
\\
order
\\
index.vue"
;
t
.
default
=
B
.
exports
},
"F+JO"
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
""
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"refundDialog.vue"
,
sourceRoot
:
""
}])},
TGA0
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.el-col[data-v-375439e2] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-375439e2] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-375439e2] {
\n
color: #5982e6;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/order/detail.vue"
],
names
:[],
mappings
:
";AACA;EACE,aAAa;CACd;AACD;EACE,YAAY;EACZ,qBAAqB;CACtB;AACD;EACE,eAAe;CAChB"
,
file
:
"detail.vue"
,
sourcesContent
:[
"
\n
.el-col[data-v-375439e2] {
\n
height: 60px;
\n
}
\n
.el-col img[data-v-375439e2] {
\n
width: 50px;
\n
border-radius: 100px;
\n
}
\n
.el-col label[data-v-375439e2] {
\n
color: #5982e6;
\n
}
\n
"
],
sourceRoot
:
""
}])},
U05e
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.dialog-footer[data-v-60e716f4] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/order/dialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,eAAe;EACf,mBAAmB;CACpB"
,
file
:
"dialog.vue"
,
sourcesContent
:[
"
\n
.dialog-footer[data-v-60e716f4] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
Yg4o
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.f-c > .cell {
\
r
\n
display: -webkit-box !important;
\
r
\n
display: -ms-flexbox !important;
\
r
\n
display: flex !important;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row;
\
r
\n
flex-flow: row;
\
r
\n
-webkit-box-pack: start;
\
r
\n
-ms-flex-pack: start;
\
r
\n
justify-content: flex-start;
\
r
\n
-webkit-box-align: center;
\
r
\n
-ms-flex-align: center;
\
r
\n
align-items: center;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/order/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.f-c > .cell {
\
r
\n
display: -webkit-box !important;
\
r
\n
display: -ms-flexbox !important;
\
r
\n
display: flex !important;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row;
\
r
\n
flex-flow: row;
\
r
\n
-webkit-box-pack: start;
\
r
\n
-ms-flex-pack: start;
\
r
\n
justify-content: flex-start;
\
r
\n
-webkit-box-align: center;
\
r
\n
-ms-flex-align: center;
\
r
\n
align-items: center;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])},
cCfO
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"TGA0"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"dc96e79c"
,
o
,
!
1
,{})},
eW9u
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.avatar[data-v-e25265f8] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
height: 50px;
\
r
\n
margin-right: 5px;
\
r
\n
border-radius: 50%;
\n
}
\n
.order[data-v-e25265f8] {
\
r
\n
padding: 20px 0;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/order/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,kBAAkB;EAClB,mBAAmB;CACpB;AACD;EACE,gBAAgB;CACjB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.avatar[data-v-e25265f8] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
height: 50px;
\
r
\n
margin-right: 5px;
\
r
\n
border-radius: 50%;
\n
}
\n
.order[data-v-e25265f8] {
\
r
\n
padding: 20px 0;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])},
jKuw
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"F+JO"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"679c3646"
,
o
,
!
1
,{})},
ri1l
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"U05e"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"cbfcbdae"
,
o
,
!
1
,{})},
zA5m
:
function
(
e
,
t
,
i
){
"use strict"
;
var
o
=
i
(
"CCn6"
),
r
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
show
:
!
1
,
id
:
""
,
loading
:
!
0
,
form
:{
money
:
0
,
refund_type
:
1
,
desc
:
""
},
rules
:{
money
:[{
required
:
!
0
,
message
:
"请输入退款金额"
,
trigger
:
"change"
}],
desc
:[{
required
:
!
0
,
message
:
"请输入退款原因"
,
trigger
:
"change"
}]}}},
methods
:{
save
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
dialogObj
.
id
&&
e
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
i
=
{
refund_money
:
100
*
parseFloat
(
e
.
form
.
money
),
desc
:
e
.
form
.
desc
,
refund_type
:
e
.
form
.
refund_type
};
e
.
dialogObj
.
order_type
&&
(
i
.
order_type
=
e
.
dialogObj
.
order_type
),
Object
(
o
.
_153
)(
e
.
dialogObj
.
id
,
i
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"退款成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
show
=!
1
})}})})},
initDialog
:
function
(){
this
.
show
=
this
.
dialogObj
.
show
,
this
.
dialogObj
.
id
&&
(
this
.
id
=
this
.
dialogObj
.
id
),
this
.
form
.
money
=
parseFloat
(
this
.
dialogObj
.
money
/
100
),
this
.
form
.
desc
=
this
.
dialogObj
.
desc
,
this
.
loading
=!
1
}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"退款"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
show
=
t
}}},[
i
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
rules
:
e
.
rules
}},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退款金额"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
attrs
:{
prop
:
"key"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"money"
,
t
)},
expression
:
"form.money"
}})],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
6
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
100
}}},[
e
.
_v
(
"¥100"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
150
}}},[
e
.
_v
(
"¥150"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退课"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,[
i
(
"el-switch"
,{
attrs
:{
"active-value"
:
2
,
"inactive-value"
:
1
},
model
:{
value
:
e
.
form
.
refund_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"refund_type"
,
t
)},
expression
:
"form.refund_type"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
4
}},[
i
(
"label"
,[
e
.
_v
(
"退款原因"
)])]),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,[
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
form
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"desc"
,
t
)},
expression
:
"form.desc"
}})],
1
)],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"确 定"
)])],
1
)])};
a
.
_withStripped
=!
0
;
var
n
=
{
render
:
a
,
staticRenderFns
:[]},
s
=
n
;
var
l
=!
1
;
var
c
=
i
(
"VU/8"
)(
r
,
s
,
!
1
,
function
(
e
){
l
||
i
(
"jKuw"
)},
"data-v-7cbba59e"
,
null
);
c
.
options
.
__file
=
"src
\\
components
\\
order
\\
refundDialog.vue"
;
t
.
a
=
c
.
exports
}});
\ No newline at end of file
dev/static/js/manifest.2ec45d57dd81ca4353b2.js
0 → 100644
View file @
a6740beb
!
function
(
e
){
var
f
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
f
&&
f
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
a
=
{
72
:
0
};
function
d
(
f
){
if
(
c
[
f
])
return
c
[
f
].
exports
;
var
a
=
c
[
f
]
=
{
i
:
f
,
l
:
!
1
,
exports
:{}};
return
e
[
f
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
f
=
a
[
e
];
if
(
0
===
f
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
f
)
return
f
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
f
=
a
[
e
]
=
[
c
,
d
]});
f
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ccb4d601a2af64b32ce2"
,
1
:
"4667f1574aa22b84609c"
,
2
:
"e94f60b077910deb18bb"
,
3
:
"c6779c9b3aa0c8780991"
,
4
:
"a4f7f1d7ae5c1cc16528"
,
5
:
"6d1a9f7a2e30dd44d02d"
,
6
:
"f1925ca55ec5c7d41887"
,
7
:
"f0e8b03080b3b4ebf31c"
,
8
:
"9f80bdcf1310ef1f4d40"
,
9
:
"523f6b2142e0b1a59de8"
,
10
:
"4af583c4dd796e3360f9"
,
11
:
"aec2a9fb6041eb630d55"
,
12
:
"2c72155b2154e8815c00"
,
13
:
"af9f03f63888b915fd7f"
,
14
:
"8cd0f3a8b31d5e64931e"
,
15
:
"4bd927c46272193f9e72"
,
16
:
"51a8748901c539c9d7f6"
,
17
:
"c6ca0315d005d11917f2"
,
18
:
"4bc4d53a32507fa89c2d"
,
19
:
"2b43d74d0aa30e036698"
,
20
:
"f42b11252eb62efb59cd"
,
21
:
"574b6484dc28d94bef1f"
,
22
:
"aeadcb935f4215bd1bd5"
,
23
:
"080a8966b3305c3ae15b"
,
24
:
"277d9ff15010e8edf386"
,
25
:
"586027709dea49f5116f"
,
26
:
"d77cdbd1bc2f9789ae81"
,
27
:
"62a380e3075bb9f61234"
,
28
:
"24b6f10c46ca1efeb87a"
,
29
:
"aba6b471e6c95a1907f4"
,
30
:
"0bc70212b94eb5665fff"
,
31
:
"135568f2f6466e39320c"
,
32
:
"24c59027060f0ebec47f"
,
33
:
"489760d45a9fef30bb4a"
,
34
:
"6c63eb8d60c5be1dc2f3"
,
35
:
"974841988630e681632c"
,
36
:
"512280620f6044f06ebd"
,
37
:
"40a0dd48806323a37f8b"
,
38
:
"508b9a742a79cdae432c"
,
39
:
"50ccfca6c1306cff512a"
,
40
:
"7cde0e1c3d8e909777cc"
,
41
:
"23e1be9d61c60e87d43b"
,
42
:
"0e33d8489572470ad249"
,
43
:
"a8d1fc3389fd795b2bce"
,
44
:
"a5af5802ec28b6068e5b"
,
45
:
"fe6e1551696349b29668"
,
46
:
"12a517ba912b03aab935"
,
47
:
"f0665b8c5b8f3af0c10f"
,
48
:
"fb608a4f603e4a31cade"
,
49
:
"f97d79f4daec8f87df42"
,
50
:
"7dd0676cbb72e6f2fd1a"
,
51
:
"939577234b61aded2624"
,
52
:
"b2ed992be8294772a938"
,
53
:
"c3b179b20a856816890a"
,
54
:
"212816b171eafd1488bc"
,
55
:
"f9539545129dd1bad64b"
,
56
:
"501b516cd393780837db"
,
57
:
"aa460a73c9c018520800"
,
58
:
"a08c9ad93f421380be9d"
,
59
:
"4b383cfca408a639edd1"
,
60
:
"9469909bde10400ad51e"
,
61
:
"e058805f6e7edf48bd52"
,
62
:
"95820125712b6f2ace7f"
,
63
:
"b469807b5322df1168f0"
,
64
:
"83207fa7cfec7327665c"
,
65
:
"c1554131ce716a3b677c"
,
66
:
"3b61402de44f86c4ef2a"
,
67
:
"09ced7442ae82f25505e"
,
68
:
"0456ffd7b429ae2463ac"
,
69
:
"1478ab9bf52f6eef71d3"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
f
=
a
[
e
];
0
!==
f
&&
(
f
&&
f
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
f
,
c
){
d
.
o
(
e
,
f
)
||
Object
.
defineProperty
(
e
,
f
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
f
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
f
,
"a"
,
f
),
f
},
d
.
o
=
function
(
e
,
f
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
f
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/order/index.vue
View file @
a6740beb
...
...
@@ -365,7 +365,10 @@ export default {
}
},
exportTable
()
{
let
json
=
{};
let
json
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
if
(
this
.
searchFrom
.
nickname
)
{
json
.
nickname
=
this
.
searchFrom
.
nickname
;
}
...
...
@@ -384,21 +387,24 @@ export default {
if
(
this
.
searchFrom
.
buy_type
)
{
json
.
buy_type
=
this
.
searchFrom
.
buy_type
;
}
if
(
this
.
searchFrom
.
status
)
{
json
.
status
=
this
.
searchFrom
.
status
.
toString
();
}
if
(
this
.
searchFrom
.
goods_id
)
{
json
.
goods_id
=
this
.
searchFrom
.
goods_id
;
}
if
(
this
.
searchFrom
.
is_captain
||
this
.
searchFrom
.
is_captain
==
0
)
{
json
.
is_captain
=
this
.
searchFrom
.
is_captain
;
}
if
(
this
.
searchFrom
.
out_trade_no
)
{
json
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
;
}
if
(
this
.
searchFrom
.
is_captain
||
this
.
searchFrom
.
is_captain
==
0
)
{
json
.
is_captain
=
this
.
searchFrom
.
is_captain
;
}
if
(
this
.
searchFrom
.
receive_mobile
)
{
json
.
receive_mobile
=
this
.
searchFrom
.
receive_mobile
;
}
if
(
this
.
searchFrom
.
payTime
&&
this
.
searchFrom
.
payTime
.
length
>
0
)
{
json
.
pay_start_at
=
this
.
searchFrom
.
payTime
[
0
]
json
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]
json
.
pay_end_at
=
this
.
searchFrom
.
payTime
[
1
]
}
if
(
this
.
searchFrom
.
wait_into_course
)
{
json
.
wait_into_course
=
this
.
searchFrom
.
wait_into_course
...
...
src/service/api.js
View file @
a6740beb
...
...
@@ -714,46 +714,44 @@ function exportExcel(form) {
responseType
:
'blob'
,
// 表明返回服务器返回的数据类型
headers
:
{
'Content-Type'
:
'application/json'
}
})
// return Vue.prototype.$post(form.url, form.params)
}
export
const
exportExcelApi
=
function
(
url
,
params
,
fname
)
{
url
=
`
${
url
}
`
;
let
json
=
JSON
.
parse
(
JSON
.
stringify
(
params
))
for
(
let
k
in
json
)
{
let
reg
=
/^
[
0-9
]
+$/
u
;
if
(
reg
.
test
(
json
[
k
]))
{
json
[
k
]
=
Number
(
json
[
k
])
}
if
(
json
[
k
]
===
null
)
{
json
[
k
]
=
''
}
if
(
typeof
json
[
k
]
===
"string"
)
{
params
[
k
]
=
params
[
k
].
replace
(
/
(
^
\s
*
)
|
(\s
*$
)
/g
,
""
);
json
[
k
]
=
json
[
k
].
replace
(
/
(
^
\s
*
)
|
(\s
*$
)
/g
,
""
);
}
json
[
k
]
=
md5
(
json
[
k
].
toString
())
}
json
.
sing
=
"singsingenglish21000"
;
params
.
param_token
=
md5
(
JSON
.
stringify
(
json
));
let
urlEncode
=
function
(
param
,
key
,
encode
)
{
if
(
param
==
null
)
return
''
;
let
paramStr
=
[];
let
t
=
typeof
(
param
);
if
(
t
===
'string'
||
t
===
'number'
||
t
===
'boolean'
)
{
paramStr
.
push
(
key
+
'='
+
((
encode
==
null
||
encode
)
?
encodeURIComponent
(
param
)
:
param
))
}
else
{
for
(
let
i
in
param
)
{
let
k
=
key
==
null
?
i
:
key
+
(
param
instanceof
Array
?
'['
+
i
+
']'
:
'.'
+
i
);
paramStr
.
push
(
urlEncode
(
param
[
i
],
k
,
encode
));
}
}
return
paramStr
.
join
(
'&'
);
};
// let json = JSON.parse(JSON.stringify(params))
// for (let k in json) {
// if (json[k] === null) {
// json[k] = ''
// }
// if (typeof json[k] === "string") {
// params[k] = params[k].replace(/(^\s*)|(\s*$)/g, "");
// json[k] = json[k].replace(/(^\s*)|(\s*$)/g, "");
// }
// json[k] = md5(json[k].toString())
// }
// json.sing = "singsingenglish21000";
// params.param_token = md5(JSON.stringify(json));
// console.log(params.param_token)
// let urlEncode = function (param, key, encode) {
// if (param == null) return '';
// let paramStr = [];
// let t = typeof (param);
// if (t === 'string' || t === 'number' || t === 'boolean') {
// paramStr.push(key + '=' + ((encode == null || encode) ? encodeURIComponent(param) : param))
// } else {
// for (let i in param) {
// let k = key == null ? i : key + (param instanceof Array ? '[' + i + ']' : '.' + i);
// paramStr.push(urlEncode(param[i], k, encode));
// }
// }
// return paramStr.join('&');
// };
// url += urlEncode(params);
url
;
console
.
log
(
url
)
console
.
log
(
params
,
754
)
// window.open(url)
let
obj
=
{
'url'
:
url
,
...
...
src/service/index.js
View file @
a6740beb
...
...
@@ -79,6 +79,7 @@ axios.interceptors.request.use(
if
(
process
.
env
.
NODE_ENV
===
'development'
){
config
.
data
.
special_token
=
"changchangenglish"
;
}
console
.
log
(
54
)
console
.
log
(
JSON
.
stringify
(
json2
))
config
.
data
.
param_token
=
md5
(
JSON
.
stringify
(
json2
));
}
...
...
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