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
b1dcf8cf
Commit
b1dcf8cf
authored
Jun 24, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
624
parent
551319b9
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
31 additions
and
19 deletions
+31
-19
index.html
dev/index.html
+1
-1
18.6de58933e209cc2793d0.js
dev/static/js/18.6de58933e209cc2793d0.js
+1
-0
18.9a2b746f8649403529fb.js
dev/static/js/18.9a2b746f8649403529fb.js
+1
-0
manifest.0bcff131009eaf411f91.js
dev/static/js/manifest.0bcff131009eaf411f91.js
+1
-0
manifest.630f13e4e764d3766ecb.js
dev/static/js/manifest.630f13e4e764d3766ecb.js
+1
-0
index.html
dist/index.html
+1
-1
app.58e3174a731f9deba24127f89ca1e00c.css
dist/static/css/app.58e3174a731f9deba24127f89ca1e00c.css
+1
-0
14.7171caa5960d28df5dd0.js
dist/static/js/14.7171caa5960d28df5dd0.js
+1
-0
manifest.f2d0458909b496bf0333.js
dist/static/js/manifest.f2d0458909b496bf0333.js
+1
-0
index.vue
src/components/yunji/index.vue
+22
-17
No files found.
dev/index.html
View file @
b1dcf8cf
<!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.min.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.
c521950e3c626fe4330a
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.4f218b4f48eb4bcaf1bd.js
></script><script
type=
text/javascript
src=
/static/js/app.6797ecafc799637d2bcf.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.min.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.
630f13e4e764d3766ecb
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.4f218b4f48eb4bcaf1bd.js
></script><script
type=
text/javascript
src=
/static/js/app.6797ecafc799637d2bcf.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/18.6de58933e209cc2793d0.js
0 → 100644
View file @
b1dcf8cf
webpackJsonp
([
18
],{
"69L+"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"kmJW"
),
s
=
r
(
"NC6I"
),
i
=
r
.
n
(
s
),
o
=
r
(
"zA5m"
),
l
=
r
(
"G2rA"
),
n
=
r
(
"CCn6"
),
c
=
r
(
"+TkF"
),
d
=
{
name
:
"smsRecord"
,
components
:{
page
:
a
.
a
,
refundDialog
:
o
.
a
,
refundDetail
:
l
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
adressDialog
:
!
1
,
postOtherOrderDialog
:
!
1
,
postOtherOrderData
:{},
classSource
:[{
label
:
"系统订单随机"
,
value
:
2
},{
label
:
"渠道1订单随机"
,
value
:
3
},{
label
:
"渠道2订单随机"
,
value
:
4
}],
adressData
:{},
USERSTATUS
:
c
.
w
,
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
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
r
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
uploadHeader
:{
token
:
localStorage
.
getItem
(
"cc_token"
)},
param_token
:
i
()(
JSON
.
stringify
({
sing
:
"singsingenglish21000"
})),
nowPage
:
1
,
total
:
0
,
limit
:
10
,
useTypeList
:[{
user_buy
:
0
,
value
:
"未绑定"
},{
user_buy
:
1
,
value
:
"已绑定"
}],
searchFrom
:{
goods_id
:
""
,
mobile
:
""
,
active_at
:[],
invite_type
:
""
,
status
:[
1
],
createTime
:[],
course_type
:
"-1"
,
pullTime
:[],
order_id
:
""
,
teacher_id
:
""
,
user_id
:
""
,
nickname
:
""
,
user_status
:[],
sub_order_id
:
""
},
refundDialogObj
:{
show
:
!
1
,
id
:
""
,
order_type
:
" other"
,
money
:
0
},
orderStatusOption
:
c
.
r
,
list
:[],
teacherList
:[],
goodList
:[],
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
teacherId
:
null
,
classObj
:{
show
:
!
1
,
title
:
"当前同步进度"
,
order_id
:
0
,
teacher_id
:
0
},
multipleSelection
:[],
classList
:[],
last_pull_time
:
"无"
}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
status
:
function
(
e
){
return
c
.
q
[
e
]},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
c
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
},
classType
:
function
(
e
){
return
c
.
f
[
e
]}},
mounted
:
function
(){
this
.
getList
(),
this
.
getGoodsOption
(),
this
.
getTeacherList
()},
methods
:{
initClearOtherOrder
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"确认清除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_114
)(
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"清除成功!"
})})}).
catch
(
function
(){
t
.
$message
({
type
:
"info"
,
message
:
"已取消"
})})},
postOtherOrderFn
:
function
(){
var
e
=
this
,
t
=
{};
this
.
postOtherOrderData
.
order_id
&&
(
t
.
order_id
=
this
.
postOtherOrderData
.
order_id
),
this
.
postOtherOrderData
.
goods_id
&&
(
t
.
goods_id
=
this
.
postOtherOrderData
.
goods_id
),
this
.
postOtherOrderData
.
receiver_name
&&
(
t
.
receiver_name
=
this
.
postOtherOrderData
.
receiver_name
),
this
.
postOtherOrderData
.
receiver_mobile
&&
(
t
.
receiver_mobile
=
this
.
postOtherOrderData
.
receiver_mobile
),
this
.
postOtherOrderData
.
receiver_province
&&
(
t
.
receiver_province
=
this
.
postOtherOrderData
.
receiver_province
),
this
.
postOtherOrderData
.
receiver_city
&&
(
t
.
receiver_city
=
this
.
postOtherOrderData
.
receiver_city
),
this
.
postOtherOrderData
.
receiver_area
&&
(
t
.
receiver_area
=
this
.
postOtherOrderData
.
receiver_area
),
this
.
postOtherOrderData
.
receiver_address
&&
(
t
.
receiver_address
=
this
.
postOtherOrderData
.
receiver_address
),
this
.
postOtherOrderData
.
class_source
&&
(
t
.
class_source
=
this
.
postOtherOrderData
.
class_source
),
this
.
postOtherOrderData
.
desc
&&
(
t
.
desc
=
this
.
postOtherOrderData
.
desc
),
console
.
log
(
this
.
postOtherOrderData
),
Object
(
n
.
_115
)(
t
).
then
(
function
(
t
){
e
.
$message
(
"发送成功"
),
e
.
postOtherOrderDialog
=!
1
,
e
.
getList
()})},
initOeder
:
function
(){
this
.
postOtherOrderDialog
=!
0
,
this
.
postOtherOrderData
=
{
order_id
:
""
,
goods_id
:
""
,
receiver_name
:
""
,
receiver_mobile
:
""
,
receiver_province
:
""
,
receiver_city
:
""
,
receiver_area
:
""
,
receiver_address
:
""
,
class_source
:
""
,
desc
:
""
}},
editAdress
:
function
(
e
){
this
.
adressDialog
=!
0
,
this
.
adressData
=
{
receiver_name
:
e
.
receiver_name
,
receiver_mobile
:
e
.
receiver_mobile
,
receiver_province
:
e
.
receiver_province
,
receiver_city
:
e
.
receiver_city
,
receiver_area
:
e
.
receiver_area
,
receiver_address
:
e
.
receiver_address
,
id
:
e
.
id
}},
editAdressCf
:
function
(){
var
e
=
this
;
Object
(
n
.
_12
)(
this
.
adressData
.
id
,
this
.
adressData
).
then
(
function
(
t
){
e
.
getList
(),
e
.
$message
(
"修改成功"
),
e
.
adressDialog
=!
1
})},
userStatusFormatter
:
function
(
e
){
return
c
.
x
[
e
.
user_status
]},
pullAll
:
function
(){
var
e
=
this
;
if
(
this
.
multipleSelection
.
length
<
1
)
return
this
.
$message
(
"请选择订单"
),
!
1
;
if
(
!
this
.
teacherId
)
return
this
.
$message
(
"请选择老师"
),
!
1
;
var
t
=
{
order_ids
:[]};
this
.
multipleSelection
.
forEach
(
function
(
e
){
t
.
order_ids
.
push
(
e
.
id
)}),
this
.
$confirm
(
"是否确定将这"
+
t
.
order_ids
.
length
+
"笔订单分配给该老师?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_156
)(
e
.
teacherId
,{
order_ids
:
t
.
order_ids
.
join
(
","
)}).
then
(
function
(
t
){
e
.
multipleSelection
=
[],
e
.
$message
({
message
:
"提交成功"
,
type
:
"success"
}),
e
.
getList
()})}).
catch
(
function
(){})},
selectedFlag
:
function
(
e
){
return
0
===
e
.
user_id
},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
onAfterRefund
:
function
(){
this
.
refundDialogObj
.
show
=!
1
,
this
.
getList
()},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
order_id
},
changeShow
:
function
(
e
){
this
.
refundDialogObj
.
show
=
e
},
onRefund
:
function
(
e
,
t
){
this
.
refundDialogObj
.
id
=
e
,
this
.
refundDialogObj
.
money
=
t
,
this
.
refundDialogObj
.
show
=!
0
},
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
},
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
})},
downLoad
:
function
(){
window
.
open
(
"/static/外部订单模板.xlsx"
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
n
.
_89
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
join
(
","
)),
"-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
.
sub_order_id
&&
(
t
.
sub_order_id
=
this
.
searchFrom
.
sub_order_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
t
.
goods_name
=
this
.
searchFrom
.
goods_name
),(
this
.
searchFrom
.
user_buy
||
0
===
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
.
user_status
.
length
&&
(
t
.
user_status
=
this
.
searchFrom
.
user_status
.
join
(
","
)),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
createTime
&&
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
this
.
searchFrom
.
active_at
&&
2
===
this
.
searchFrom
.
active_at
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_at
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_at
[
1
]),
this
.
searchFrom
.
pullTime
&&
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
Object
(
n
.
_104
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
?
t
.
list
:[]})},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
n
.
_49
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
editNote
:
function
(
e
,
t
){
var
r
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
a
=
t
.
value
;
r
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_111
)({
desc
:
a
},
e
).
then
(
function
(
e
){
r
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
r
.
getList
()})})})},
exportTable
:
function
(
e
){
if
(
e
.
length
>
0
){
var
t
=
{};
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
join
(
","
)),
"-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
),(
this
.
searchFrom
.
user_buy
||
0
===
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
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
createTime
&&
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
this
.
searchFrom
.
active_at
&&
2
===
this
.
searchFrom
.
active_at
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_at
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_at
[
1
]),
this
.
searchFrom
.
pullTime
&&
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
console
.
log
(
t
),
Object
(
n
.
_21
)(
"api/admin/yunji/order/export"
,
t
)}},
classListOption
:
function
(){
var
e
=
this
;
this
.
classObj
.
show
=!
0
,
Object
(
n
.
_104
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
classList
=
t
.
teacher
,
t
.
last_pull_time
&&
(
e
.
last_pull_time
=
t
.
last_pull_time
)})}}},
u
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"sms"
},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
r
(
"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
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
r
(
"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
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
r
(
"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
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
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
,
a
){
return
r
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"test"
,
attrs
:{
label
:
"来源"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"180px"
},
attrs
:{
placeholder
:
"来源CODE"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type
\
t"
}},[
r
(
"template"
,{
slot
:
"prepend"
},[
e
.
_v
(
"CC -"
)])],
2
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"230px"
},
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},
e
.
_l
(
e
.
orderStatusOption
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"沟通情况"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"230px"
},
attrs
:{
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
user_status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_status"
,
t
)},
expression
:
"searchFrom.user_status"
}},
e
.
_l
(
e
.
USERSTATUS
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
code
,
attrs
:{
label
:
e
.
lable
,
value
:
e
.
code
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"绑定状态"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
user_buy
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_buy"
,
t
)},
expression
:
"searchFrom.user_buy"
}},
e
.
_l
(
e
.
useTypeList
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
user_buy
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
user_buy
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"未指定"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"order_id"
,
t
)},
expression
:
"searchFrom.order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"子订单号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
sub_order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"sub_order_id"
,
t
)},
expression
:
"searchFrom.sub_order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"下单时间"
}},[
r
(
"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"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
createTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"createTime"
,
t
)},
expression
:
"searchFrom.createTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"付款时间"
}},[
r
(
"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"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
pullTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"pullTime"
,
t
)},
expression
:
"searchFrom.pullTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"激活时间"
}},[
r
(
"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"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
active_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"active_at"
,
t
)},
expression
:
"searchFrom.active_at"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
exportTable
(
e
.
list
)}}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-upload"
,{
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
action
:
"/api/admin/order/import"
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
}},[
e
.
_v
(
"导入"
)])],
1
)],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
downLoad
()}}},[
e
.
_v
(
"excel模板下载"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
r
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_type"
,
t
)},
expression
:
"searchFrom.course_type"
}},[
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
distribution
?
r
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
top
:
"10px"
,
right
:
"10px"
,
"font-size"
:
"14px"
}},[
e
.
_v
(
"
\n
老师:
\n
"
),
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
size
:
"small"
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
teacherId
,
callback
:
function
(
t
){
e
.
teacherId
=
t
},
expression
:
"teacherId"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
e
.
pullAll
}},[
e
.
_v
(
"批量分配"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
},
on
:{
click
:
e
.
initOeder
}},[
e
.
_v
(
"手动添加外部订单"
)])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
,
size
:
"mini"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
r
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
selectable
:
e
.
selectedFlag
,
width
:
"55"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"class_type"
,
width
:
"80"
,
label
:
"班级类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"classType"
)(
t
.
row
.
class_type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"order_id"
,
width
:
"80"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"sub_order_id"
,
width
:
"80"
,
label
:
"子订单号"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"购买人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
r
(
"div"
,[
r
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
r
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
r
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
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
?
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
,
width
:
"70"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
money
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
,
width
:
"150px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
姓名:"
+
e
.
_s
(
t
.
row
.
receiver_name
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
tel:"
+
e
.
_s
(
t
.
row
.
receiver_phone
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receiver_province
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_city
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_area
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_address
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"active_at"
,
label
:
"时间"
,
width
:
"90"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"p"
,[
e
.
_v
(
"激活时间:"
+
e
.
_s
(
"0000-00-00 00:00:00"
===
t
.
row
.
active_at
?
"未激活"
:
t
.
row
.
active_at
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"下单时间:"
+
e
.
_s
(
t
.
row
.
create_time
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"付款时间:"
+
e
.
_s
(
t
.
row
.
pay_time
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"导入时间:"
+
e
.
_s
(
t
.
row
.
created_at
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"user_status"
,
formatter
:
e
.
userStatusFormatter
,
label
:
"沟通状态"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"400"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
initClearOtherOrder
(
t
.
row
.
order_id
)}}},[
e
.
_v
(
"清除激活信息"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)]),
e
.
_v
(
" "
),
1
!==
t
.
row
.
status
&&
4
!==
t
.
row
.
status
&&
5
!==
t
.
row
.
status
||!
e
.
$store
.
state
.
orderRefund
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
r
){
e
.
onRefund
(
t
.
row
.
id
,
t
.
row
.
money
)}}},[
e
.
_v
(
"
\n
退款
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"success"
},
on
:{
click
:
function
(
r
){
e
.
editAdress
(
t
.
row
)}}},[
e
.
_v
(
"编辑地址"
)])]}}])})],
1
),
e
.
_v
(
" "
),
r
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
r
(
"refund-dialog"
,{
attrs
:{
dialogObj
:
e
.
refundDialogObj
},
on
:{
reflash
:
e
.
onAfterRefund
,
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
r
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
e
.
classObj
.
title
,
visible
:
e
.
classObj
.
show
,
center
:
""
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
classObj
,
"show"
,
t
)}}},[
r
(
"div"
,{
staticStyle
:{
margin
:
"10px"
,
color
:
"#888888"
}},[
e
.
_v
(
"
\n
最新同步时间:"
+
e
.
_s
(
e
.
last_pull_time
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"el-table"
,{
attrs
:{
data
:
e
.
classList
}},[
r
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"num"
,
label
:
"预计入班人数"
}})],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
})],
1
),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
"手动创建外部订单"
,
visible
:
e
.
postOtherOrderDialog
,
center
:
""
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
postOtherOrderDialog
=
t
}}},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
model
:
e
.
postOtherOrderData
,
"label-width"
:
"125px"
}},[
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"订单ID"
,
required
:
""
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"order_id"
,
t
)},
expression
:
"postOtherOrderData.order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
,
required
:
""
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
,
clearable
:
""
},
model
:{
value
:
e
.
postOtherOrderData
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"goods_id"
,
t
)},
expression
:
"postOtherOrderData.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
a
){
return
r
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收件人姓名"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_name"
,
t
)},
expression
:
"postOtherOrderData.receiver_name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收件人手机号"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_mobile"
,
t
)},
expression
:
"postOtherOrderData.receiver_mobile"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"省名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_province
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_province"
,
t
)},
expression
:
"postOtherOrderData.receiver_province"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"市名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_city
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_city"
,
t
)},
expression
:
"postOtherOrderData.receiver_city"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"区名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_area
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_area"
,
t
)},
expression
:
"postOtherOrderData.receiver_area"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
required
:
""
,
left
:
""
,
label
:
"详细地址"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
postOtherOrderData
.
receiver_address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_address"
,
t
)},
expression
:
"postOtherOrderData.receiver_address"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"带班类型"
,
required
:
""
}},[
r
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
model
:{
value
:
e
.
postOtherOrderData
.
class_source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"class_source"
,
t
)},
expression
:
"postOtherOrderData.class_source"
}},
e
.
_l
(
e
.
classSource
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
required
:
""
,
left
:
""
,
label
:
"备注"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
postOtherOrderData
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"desc"
,
t
)},
expression
:
"postOtherOrderData.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
postOtherOrderDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
postOtherOrderFn
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
"编辑地址"
,
visible
:
e
.
adressDialog
,
left
:
""
,
width
:
"500px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
adressDialog
=
t
}}},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
model
:
e
.
adressData
,
"label-width"
:
"125px"
}},[
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"用户姓名"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_name"
,
t
)},
expression
:
"adressData.receiver_name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
label
:
"收货人手机号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_mobile"
,
t
)},
expression
:
"adressData.receiver_mobile"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人省"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_province
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_province"
,
t
)},
expression
:
"adressData.receiver_province"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人市"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_city
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_city"
,
t
)},
expression
:
"adressData.receiver_city"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人区"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_area
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_area"
,
t
)},
expression
:
"adressData.receiver_area"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
left
:
""
,
label
:
"收货人详细地址"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
adressData
.
receiver_address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_address"
,
t
)},
expression
:
"adressData.receiver_address"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
adressDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
editAdressCf
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)};
u
.
_withStripped
=!
0
;
var
m
=
{
render
:
u
,
staticRenderFns
:[]},
h
=
m
;
var
p
=!
1
;
var
_
=
r
(
"VU/8"
)(
d
,
h
,
!
1
,
function
(
e
){
p
||
(
r
(
"feiJ"
),
r
(
"SwjR"
))},
"data-v-1ae2f8f2"
,
null
);
_
.
options
.
__file
=
"src
\\
components
\\
yunji
\\
index.vue"
;
t
.
default
=
_
.
exports
},
"F+JO"
:
function
(
e
,
t
,
r
){(
e
.
exports
=
r
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
""
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"refundDialog.vue"
,
sourceRoot
:
""
}])},
O6CK
:
function
(
e
,
t
,
r
){(
e
.
exports
=
r
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.userInfo > div {
\
r
\n
display: -webkit-box;
\
r
\n
display: -ms-flexbox;
\
r
\n
display: flex;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row nowrap;
\
r
\n
flex-flow: row nowrap;
\
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
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/yunji/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,+BAA+B;EAC/B,8BAA8B;MAC1B,0BAA0B;UACtB,sBAAsB;EAC9B,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.userInfo > div {
\
r
\n
display: -webkit-box;
\
r
\n
display: -ms-flexbox;
\
r
\n
display: flex;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row nowrap;
\
r
\n
flex-flow: row nowrap;
\
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
\
r
\n
"
],
sourceRoot
:
""
}])},
SwjR
:
function
(
e
,
t
,
r
){
var
a
=
r
(
"O6CK"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
r
(
"rjj0"
)(
"0c14fd13"
,
a
,
!
1
,{})},
caQm
:
function
(
e
,
t
,
r
){(
e
.
exports
=
r
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.sms[data-v-1ae2f8f2] {
\
r
\n
padding: 20px 0;
\n
}
\n
.avatar[data-v-1ae2f8f2] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
margin-right: 10px;
\
r
\n
height: 50px;
\
r
\n
\
r
\n
border-radius: 50%;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/yunji/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gBAAgB;CACjB;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,mBAAmB;EACnB,aAAa;;EAEb,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.sms[data-v-1ae2f8f2] {
\
r
\n
padding: 20px 0;
\n
}
\n
.avatar[data-v-1ae2f8f2] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
margin-right: 10px;
\
r
\n
height: 50px;
\
r
\n
\
r
\n
border-radius: 50%;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])},
feiJ
:
function
(
e
,
t
,
r
){
var
a
=
r
(
"caQm"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
r
(
"rjj0"
)(
"6345fe06"
,
a
,
!
1
,{})},
jKuw
:
function
(
e
,
t
,
r
){
var
a
=
r
(
"F+JO"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
r
(
"rjj0"
)(
"679c3646"
,
a
,
!
1
,{})},
zA5m
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"CCn6"
),
s
=
{
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
r
=
{
refund_money
:
100
*
parseFloat
(
e
.
form
.
money
),
desc
:
e
.
form
.
desc
,
refund_type
:
e
.
form
.
refund_type
};
e
.
dialogObj
.
order_type
&&
(
r
.
order_type
=
e
.
dialogObj
.
order_type
),
Object
(
a
.
_118
)(
e
.
dialogObj
.
id
,
r
).
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
)}}},
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"el-dialog"
,{
attrs
:{
title
:
"退款"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
show
=
t
}}},[
r
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
r
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
rules
:
e
.
rules
}},[
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退款金额"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
8
}},[
r
(
"el-form-item"
,{
attrs
:{
prop
:
"key"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
form
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"money"
,
t
)},
expression
:
"form.money"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
6
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
100
}}},[
e
.
_v
(
"¥100"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
150
}}},[
e
.
_v
(
"¥150"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退课"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
8
}},[
r
(
"el-form-item"
,[
r
(
"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
(
" "
),
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退款原因"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
12
}},[
r
(
"el-form-item"
,[
r
(
"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
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"确 定"
)])],
1
)])};
i
.
_withStripped
=!
0
;
var
o
=
{
render
:
i
,
staticRenderFns
:[]},
l
=
o
;
var
n
=!
1
;
var
c
=
r
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
e
){
n
||
r
(
"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/18.9a2b746f8649403529fb.js
0 → 100644
View file @
b1dcf8cf
webpackJsonp
([
18
],{
"69L+"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"kmJW"
),
s
=
r
(
"NC6I"
),
i
=
r
.
n
(
s
),
o
=
r
(
"zA5m"
),
l
=
r
(
"G2rA"
),
n
=
r
(
"CCn6"
),
c
=
r
(
"+TkF"
),
d
=
{
name
:
"smsRecord"
,
components
:{
page
:
a
.
a
,
refundDialog
:
o
.
a
,
refundDetail
:
l
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
adressDialog
:
!
1
,
postOtherOrderDialog
:
!
1
,
postOtherOrderData
:{},
classSource
:[{
label
:
"系统订单随机"
,
value
:
2
},{
label
:
"渠道1订单随机"
,
value
:
3
},{
label
:
"渠道2订单随机"
,
value
:
4
}],
adressData
:{},
USERSTATUS
:
c
.
w
,
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
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
r
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
uploadHeader
:{
token
:
localStorage
.
getItem
(
"cc_token"
)},
param_token
:
i
()(
JSON
.
stringify
({
sing
:
"singsingenglish21000"
})),
nowPage
:
1
,
total
:
0
,
limit
:
10
,
useTypeList
:[{
user_buy
:
0
,
value
:
"未绑定"
},{
user_buy
:
1
,
value
:
"已绑定"
}],
searchFrom
:{
goods_id
:
""
,
mobile
:
""
,
active_at
:[],
invite_type
:
""
,
status
:[
1
],
createTime
:[],
course_type
:
"-1"
,
pullTime
:[],
order_id
:
""
,
teacher_id
:
""
,
user_id
:
""
,
nickname
:
""
,
user_status
:[],
sub_order_id
:
""
},
refundDialogObj
:{
show
:
!
1
,
id
:
""
,
order_type
:
" other"
,
money
:
0
},
orderStatusOption
:
c
.
r
,
list
:[],
teacherList
:[],
goodList
:[],
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
teacherId
:
null
,
classObj
:{
show
:
!
1
,
title
:
"当前同步进度"
,
order_id
:
0
,
teacher_id
:
0
},
multipleSelection
:[],
classList
:[],
last_pull_time
:
"无"
}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
status
:
function
(
e
){
return
c
.
q
[
e
]},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
c
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
},
classType
:
function
(
e
){
return
c
.
f
[
e
]}},
mounted
:
function
(){
this
.
getList
(),
this
.
getGoodsOption
(),
this
.
getTeacherList
()},
methods
:{
initClearOtherOrder
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"确认清除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_114
)(
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"清除成功!"
})})}).
catch
(
function
(){
t
.
$message
({
type
:
"info"
,
message
:
"已取消"
})})},
postOtherOrderFn
:
function
(){
var
e
=
this
,
t
=
{};
this
.
postOtherOrderData
.
order_id
&&
(
t
.
order_id
=
this
.
postOtherOrderData
.
order_id
),
this
.
postOtherOrderData
.
goods_id
&&
(
t
.
goods_id
=
this
.
postOtherOrderData
.
goods_id
),
this
.
postOtherOrderData
.
receiver_name
&&
(
t
.
receiver_name
=
this
.
postOtherOrderData
.
receiver_name
),
this
.
postOtherOrderData
.
receiver_mobile
&&
(
t
.
receiver_mobile
=
this
.
postOtherOrderData
.
receiver_mobile
),
this
.
postOtherOrderData
.
receiver_province
&&
(
t
.
receiver_province
=
this
.
postOtherOrderData
.
receiver_province
),
this
.
postOtherOrderData
.
receiver_city
&&
(
t
.
receiver_city
=
this
.
postOtherOrderData
.
receiver_city
),
this
.
postOtherOrderData
.
receiver_area
&&
(
t
.
receiver_area
=
this
.
postOtherOrderData
.
receiver_area
),
this
.
postOtherOrderData
.
receiver_address
&&
(
t
.
receiver_address
=
this
.
postOtherOrderData
.
receiver_address
),
this
.
postOtherOrderData
.
class_source
&&
(
t
.
class_source
=
this
.
postOtherOrderData
.
class_source
),
this
.
postOtherOrderData
.
desc
&&
(
t
.
desc
=
this
.
postOtherOrderData
.
desc
),
console
.
log
(
this
.
postOtherOrderData
),
Object
(
n
.
_115
)(
t
).
then
(
function
(
t
){
e
.
$message
(
"发送成功"
),
e
.
postOtherOrderDialog
=!
1
,
e
.
getList
()})},
initOeder
:
function
(){
this
.
postOtherOrderDialog
=!
0
,
this
.
postOtherOrderData
=
{
order_id
:
""
,
goods_id
:
""
,
receiver_name
:
""
,
receiver_mobile
:
""
,
receiver_province
:
""
,
receiver_city
:
""
,
receiver_area
:
""
,
receiver_address
:
""
,
class_source
:
""
,
desc
:
""
}},
editAdress
:
function
(
e
){
this
.
adressDialog
=!
0
,
this
.
adressData
=
{
receiver_name
:
e
.
receiver_name
,
receiver_mobile
:
e
.
receiver_mobile
,
receiver_province
:
e
.
receiver_province
,
receiver_city
:
e
.
receiver_city
,
receiver_area
:
e
.
receiver_area
,
receiver_address
:
e
.
receiver_address
,
id
:
e
.
id
}},
editAdressCf
:
function
(){
var
e
=
this
;
Object
(
n
.
_12
)(
this
.
adressData
.
id
,
this
.
adressData
).
then
(
function
(
t
){
e
.
getList
(),
e
.
$message
(
"修改成功"
),
e
.
adressDialog
=!
1
})},
userStatusFormatter
:
function
(
e
){
return
c
.
x
[
e
.
user_status
]},
pullAll
:
function
(){
var
e
=
this
;
if
(
this
.
multipleSelection
.
length
<
1
)
return
this
.
$message
(
"请选择订单"
),
!
1
;
if
(
!
this
.
teacherId
)
return
this
.
$message
(
"请选择老师"
),
!
1
;
var
t
=
{
order_ids
:[]};
this
.
multipleSelection
.
forEach
(
function
(
e
){
t
.
order_ids
.
push
(
e
.
id
)}),
this
.
$confirm
(
"是否确定将这"
+
t
.
order_ids
.
length
+
"笔订单分配给该老师?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_156
)(
e
.
teacherId
,{
order_ids
:
t
.
order_ids
.
join
(
","
)}).
then
(
function
(
t
){
e
.
multipleSelection
=
[],
e
.
$message
({
message
:
"提交成功"
,
type
:
"success"
}),
e
.
getList
()})}).
catch
(
function
(){})},
selectedFlag
:
function
(
e
){
return
0
===
e
.
user_id
},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
onAfterRefund
:
function
(){
this
.
refundDialogObj
.
show
=!
1
,
this
.
getList
()},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
order_id
},
changeShow
:
function
(
e
){
this
.
refundDialogObj
.
show
=
e
},
onRefund
:
function
(
e
,
t
){
this
.
refundDialogObj
.
id
=
e
,
this
.
refundDialogObj
.
money
=
t
,
this
.
refundDialogObj
.
show
=!
0
},
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
},
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
})},
downLoad
:
function
(){
window
.
open
(
"/static/外部订单模板.xlsx"
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
n
.
_89
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
join
(
","
)),
"-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
.
sub_order_id
&&
(
t
.
sub_order_id
=
this
.
searchFrom
.
sub_order_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
t
.
goods_name
=
this
.
searchFrom
.
goods_name
),(
this
.
searchFrom
.
user_buy
||
0
===
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
.
user_status
.
length
&&
(
t
.
user_status
=
this
.
searchFrom
.
user_status
.
join
(
","
)),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
createTime
&&
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
this
.
searchFrom
.
active_at
&&
2
===
this
.
searchFrom
.
active_at
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_at
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_at
[
1
]),
this
.
searchFrom
.
pullTime
&&
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
Object
(
n
.
_104
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
?
t
.
list
:[]})},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
n
.
_49
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
editNote
:
function
(
e
,
t
){
var
r
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
a
=
t
.
value
;
r
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_111
)({
desc
:
a
},
e
).
then
(
function
(
e
){
r
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
r
.
getList
()})})})},
exportTable
:
function
(
e
){
if
(
e
.
length
>
0
){
var
t
=
{};
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
join
(
","
)),
"-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
),(
this
.
searchFrom
.
user_buy
||
0
===
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
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
createTime
&&
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
this
.
searchFrom
.
active_at
&&
2
===
this
.
searchFrom
.
active_at
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_at
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_at
[
1
]),
this
.
searchFrom
.
pullTime
&&
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
console
.
log
(
t
),
Object
(
n
.
_21
)(
"api/admin/yunji/order/export"
,
t
)}},
classListOption
:
function
(){
var
e
=
this
;
this
.
classObj
.
show
=!
0
,
Object
(
n
.
_104
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
classList
=
t
.
teacher
,
t
.
last_pull_time
&&
(
e
.
last_pull_time
=
t
.
last_pull_time
)})}}},
u
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"sms"
},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
r
(
"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
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
r
(
"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
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
r
(
"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
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
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
,
a
){
return
r
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"test"
,
attrs
:{
label
:
"来源"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"180px"
},
attrs
:{
placeholder
:
"来源CODE"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type
\
t"
}},[
r
(
"template"
,{
slot
:
"prepend"
},[
e
.
_v
(
"CC -"
)])],
2
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"230px"
},
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},
e
.
_l
(
e
.
orderStatusOption
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"沟通情况"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"230px"
},
attrs
:{
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
user_status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_status"
,
t
)},
expression
:
"searchFrom.user_status"
}},
e
.
_l
(
e
.
USERSTATUS
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
code
,
attrs
:{
label
:
e
.
lable
,
value
:
e
.
code
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"绑定状态"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
user_buy
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_buy"
,
t
)},
expression
:
"searchFrom.user_buy"
}},
e
.
_l
(
e
.
useTypeList
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
user_buy
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
user_buy
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"未指定"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"order_id"
,
t
)},
expression
:
"searchFrom.order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"子订单号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
sub_order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"sub_order_id"
,
t
)},
expression
:
"searchFrom.sub_order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"下单时间"
}},[
r
(
"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"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
createTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"createTime"
,
t
)},
expression
:
"searchFrom.createTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"付款时间"
}},[
r
(
"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"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
pullTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"pullTime"
,
t
)},
expression
:
"searchFrom.pullTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"激活时间"
}},[
r
(
"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"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
active_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"active_at"
,
t
)},
expression
:
"searchFrom.active_at"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
exportTable
(
e
.
list
)}}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-upload"
,{
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
action
:
"/api/admin/order/import"
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
}},[
e
.
_v
(
"导入"
)])],
1
)],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
downLoad
()}}},[
e
.
_v
(
"excel模板下载"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
r
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_type"
,
t
)},
expression
:
"searchFrom.course_type"
}},[
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
distribution
?
r
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
top
:
"10px"
,
right
:
"10px"
,
"font-size"
:
"14px"
}},[
e
.
_v
(
"
\n
老师:
\n
"
),
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
size
:
"small"
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
teacherId
,
callback
:
function
(
t
){
e
.
teacherId
=
t
},
expression
:
"teacherId"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
e
.
pullAll
}},[
e
.
_v
(
"批量分配"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
},
on
:{
click
:
e
.
initOeder
}},[
e
.
_v
(
"手动添加外部订单"
)])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
,
size
:
"mini"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
r
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
selectable
:
e
.
selectedFlag
,
width
:
"55"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"class_type"
,
width
:
"80"
,
label
:
"班级类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"classType"
)(
t
.
row
.
class_type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"order_id"
,
width
:
"80"
,
label
:
"订单号"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"p"
,[
e
.
_v
(
"主订单号:"
+
e
.
_s
(
t
.
row
.
order_id
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"子订单号:"
+
e
.
_s
(
t
.
row
.
sub_order_id
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"sub_order_id"
,
width
:
"80"
,
label
:
"子订单号"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"购买人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
r
(
"div"
,[
r
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
r
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
r
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
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
?
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
,
width
:
"70"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
money
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
,
width
:
"150px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
姓名:"
+
e
.
_s
(
t
.
row
.
receiver_name
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
tel:"
+
e
.
_s
(
t
.
row
.
receiver_phone
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receiver_province
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_city
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_area
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_address
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"active_at"
,
label
:
"时间"
,
width
:
"90"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"p"
,[
e
.
_v
(
"激活时间:"
+
e
.
_s
(
"0000-00-00 00:00:00"
===
t
.
row
.
active_at
?
"未激活"
:
t
.
row
.
active_at
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"下单时间:"
+
e
.
_s
(
t
.
row
.
create_time
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"付款时间:"
+
e
.
_s
(
t
.
row
.
pay_time
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"导入时间:"
+
e
.
_s
(
t
.
row
.
created_at
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"user_status"
,
formatter
:
e
.
userStatusFormatter
,
label
:
"沟通状态"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-table-column"
,{
staticClass
:
"editBox"
,
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"130"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
initClearOtherOrder
(
t
.
row
.
order_id
)}}},[
e
.
_v
(
"清除激活信息"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)]),
e
.
_v
(
" "
),
1
!==
t
.
row
.
status
&&
4
!==
t
.
row
.
status
&&
5
!==
t
.
row
.
status
||!
e
.
$store
.
state
.
orderRefund
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
r
){
e
.
onRefund
(
t
.
row
.
id
,
t
.
row
.
money
)}}},[
e
.
_v
(
"
\n
退款
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"success"
},
on
:{
click
:
function
(
r
){
e
.
editAdress
(
t
.
row
)}}},[
e
.
_v
(
"编辑地址"
)])]}}])})],
1
),
e
.
_v
(
" "
),
r
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
r
(
"refund-dialog"
,{
attrs
:{
dialogObj
:
e
.
refundDialogObj
},
on
:{
reflash
:
e
.
onAfterRefund
,
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
r
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
e
.
classObj
.
title
,
visible
:
e
.
classObj
.
show
,
center
:
""
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
classObj
,
"show"
,
t
)}}},[
r
(
"div"
,{
staticStyle
:{
margin
:
"10px"
,
color
:
"#888888"
}},[
e
.
_v
(
"
\n
最新同步时间:"
+
e
.
_s
(
e
.
last_pull_time
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"el-table"
,{
attrs
:{
data
:
e
.
classList
}},[
r
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"num"
,
label
:
"预计入班人数"
}})],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
})],
1
),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
"手动创建外部订单"
,
visible
:
e
.
postOtherOrderDialog
,
center
:
""
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
postOtherOrderDialog
=
t
}}},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
model
:
e
.
postOtherOrderData
,
"label-width"
:
"125px"
}},[
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"订单ID"
,
required
:
""
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"order_id"
,
t
)},
expression
:
"postOtherOrderData.order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
,
required
:
""
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
,
clearable
:
""
},
model
:{
value
:
e
.
postOtherOrderData
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"goods_id"
,
t
)},
expression
:
"postOtherOrderData.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
a
){
return
r
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收件人姓名"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_name"
,
t
)},
expression
:
"postOtherOrderData.receiver_name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收件人手机号"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_mobile"
,
t
)},
expression
:
"postOtherOrderData.receiver_mobile"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"省名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_province
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_province"
,
t
)},
expression
:
"postOtherOrderData.receiver_province"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"市名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_city
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_city"
,
t
)},
expression
:
"postOtherOrderData.receiver_city"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"区名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_area
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_area"
,
t
)},
expression
:
"postOtherOrderData.receiver_area"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
required
:
""
,
left
:
""
,
label
:
"详细地址"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
postOtherOrderData
.
receiver_address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_address"
,
t
)},
expression
:
"postOtherOrderData.receiver_address"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"带班类型"
,
required
:
""
}},[
r
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
model
:{
value
:
e
.
postOtherOrderData
.
class_source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"class_source"
,
t
)},
expression
:
"postOtherOrderData.class_source"
}},
e
.
_l
(
e
.
classSource
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
required
:
""
,
left
:
""
,
label
:
"备注"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
postOtherOrderData
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"desc"
,
t
)},
expression
:
"postOtherOrderData.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
postOtherOrderDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
postOtherOrderFn
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
"编辑地址"
,
visible
:
e
.
adressDialog
,
left
:
""
,
width
:
"500px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
adressDialog
=
t
}}},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
model
:
e
.
adressData
,
"label-width"
:
"125px"
}},[
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"用户姓名"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_name"
,
t
)},
expression
:
"adressData.receiver_name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
label
:
"收货人手机号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_mobile"
,
t
)},
expression
:
"adressData.receiver_mobile"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人省"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_province
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_province"
,
t
)},
expression
:
"adressData.receiver_province"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人市"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_city
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_city"
,
t
)},
expression
:
"adressData.receiver_city"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人区"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_area
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_area"
,
t
)},
expression
:
"adressData.receiver_area"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
left
:
""
,
label
:
"收货人详细地址"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
adressData
.
receiver_address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_address"
,
t
)},
expression
:
"adressData.receiver_address"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
adressDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
editAdressCf
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)};
u
.
_withStripped
=!
0
;
var
m
=
{
render
:
u
,
staticRenderFns
:[]},
h
=
m
;
var
p
=!
1
;
var
_
=
r
(
"VU/8"
)(
d
,
h
,
!
1
,
function
(
e
){
p
||
(
r
(
"feiJ"
),
r
(
"SwjR"
))},
"data-v-1ae2f8f2"
,
null
);
_
.
options
.
__file
=
"src
\\
components
\\
yunji
\\
index.vue"
;
t
.
default
=
_
.
exports
},
"F+JO"
:
function
(
e
,
t
,
r
){(
e
.
exports
=
r
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
""
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"refundDialog.vue"
,
sourceRoot
:
""
}])},
O6CK
:
function
(
e
,
t
,
r
){(
e
.
exports
=
r
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.userInfo > div {
\
r
\n
display: -webkit-box;
\
r
\n
display: -ms-flexbox;
\
r
\n
display: flex;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row nowrap;
\
r
\n
flex-flow: row nowrap;
\
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
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/yunji/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,+BAA+B;EAC/B,8BAA8B;MAC1B,0BAA0B;UACtB,sBAAsB;EAC9B,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.userInfo > div {
\
r
\n
display: -webkit-box;
\
r
\n
display: -ms-flexbox;
\
r
\n
display: flex;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row nowrap;
\
r
\n
flex-flow: row nowrap;
\
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
\
r
\n
"
],
sourceRoot
:
""
}])},
SwjR
:
function
(
e
,
t
,
r
){
var
a
=
r
(
"O6CK"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
r
(
"rjj0"
)(
"0c14fd13"
,
a
,
!
1
,{})},
caQm
:
function
(
e
,
t
,
r
){(
e
.
exports
=
r
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.sms[data-v-1ae2f8f2] {
\
r
\n
padding: 20px 0;
\n
}
\n
.el-button+.el-button[data-v-1ae2f8f2]{
\
r
\n
margin-left: 0;
\
r
\n
margin-top: 10px;
\n
}
\n
.avatar[data-v-1ae2f8f2] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
margin-right: 10px;
\
r
\n
height: 50px;
\
r
\n
\
r
\n
border-radius: 50%;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/yunji/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gBAAgB;CACjB;AACD;EACE,eAAe;EACf,iBAAiB;CAClB;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,mBAAmB;EACnB,aAAa;;EAEb,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.sms[data-v-1ae2f8f2] {
\
r
\n
padding: 20px 0;
\n
}
\n
.el-button+.el-button[data-v-1ae2f8f2]{
\
r
\n
margin-left: 0;
\
r
\n
margin-top: 10px;
\n
}
\n
.avatar[data-v-1ae2f8f2] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
margin-right: 10px;
\
r
\n
height: 50px;
\
r
\n
\
r
\n
border-radius: 50%;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])},
feiJ
:
function
(
e
,
t
,
r
){
var
a
=
r
(
"caQm"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
r
(
"rjj0"
)(
"6345fe06"
,
a
,
!
1
,{})},
jKuw
:
function
(
e
,
t
,
r
){
var
a
=
r
(
"F+JO"
);
"string"
==
typeof
a
&&
(
a
=
[[
e
.
i
,
a
,
""
]]),
a
.
locals
&&
(
e
.
exports
=
a
.
locals
);
r
(
"rjj0"
)(
"679c3646"
,
a
,
!
1
,{})},
zA5m
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"CCn6"
),
s
=
{
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
r
=
{
refund_money
:
100
*
parseFloat
(
e
.
form
.
money
),
desc
:
e
.
form
.
desc
,
refund_type
:
e
.
form
.
refund_type
};
e
.
dialogObj
.
order_type
&&
(
r
.
order_type
=
e
.
dialogObj
.
order_type
),
Object
(
a
.
_118
)(
e
.
dialogObj
.
id
,
r
).
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
)}}},
i
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"el-dialog"
,{
attrs
:{
title
:
"退款"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
show
=
t
}}},[
r
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
r
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
rules
:
e
.
rules
}},[
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退款金额"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
8
}},[
r
(
"el-form-item"
,{
attrs
:{
prop
:
"key"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
form
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"money"
,
t
)},
expression
:
"form.money"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
6
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
100
}}},[
e
.
_v
(
"¥100"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
150
}}},[
e
.
_v
(
"¥150"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退课"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
8
}},[
r
(
"el-form-item"
,[
r
(
"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
(
" "
),
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退款原因"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
12
}},[
r
(
"el-form-item"
,[
r
(
"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
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"确 定"
)])],
1
)])};
i
.
_withStripped
=!
0
;
var
o
=
{
render
:
i
,
staticRenderFns
:[]},
l
=
o
;
var
n
=!
1
;
var
c
=
r
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
e
){
n
||
r
(
"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.0bcff131009eaf411f91.js
0 → 100644
View file @
b1dcf8cf
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
59
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
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
:
"3a5576e3e983cabc4bb0"
,
1
:
"5b95b81add2dcc3365b7"
,
2
:
"3f2c0fa2c725d7168c0b"
,
3
:
"c39edb0d1132a8175a5f"
,
4
:
"f65e7975a17eb450933a"
,
5
:
"5a90b0c4a08161f3c25a"
,
6
:
"fa592dc41f8fd067ce1e"
,
7
:
"1ab63201d33eba440d87"
,
8
:
"e7023095350c5c2d3d21"
,
9
:
"0c7e5763b5c1a2358bfa"
,
10
:
"19bde4761cca027167eb"
,
11
:
"7eb7348664db666c4048"
,
12
:
"b72a94d09b3fa03af359"
,
13
:
"1b40912701f5bd2a9ffe"
,
14
:
"251556c212d416f0ccd4"
,
15
:
"3fe567333e7c7adf187a"
,
16
:
"f01b2376dc7360f07a63"
,
17
:
"fc647e3dbc336e7889a6"
,
18
:
"6de58933e209cc2793d0"
,
19
:
"a3bcb4db2d0b3c1d4dca"
,
20
:
"e3fa88bf6d638b2d16ab"
,
21
:
"7e38292f6c24e08db8a1"
,
22
:
"c71ed1c30587463dcd9b"
,
23
:
"e2e370e885d4ce921f14"
,
24
:
"e3068ad2b13f0b5be8ba"
,
25
:
"b530019dfef33ac5cc8f"
,
26
:
"cf95aa96f3969269a944"
,
27
:
"706b02e542e09a2ca13e"
,
28
:
"4c8f6f46a53762a7389b"
,
29
:
"6662c28ee1b18f5c3af7"
,
30
:
"0fcfada5bd56f80d9094"
,
31
:
"8f3de4b335888ad08076"
,
32
:
"2674f007cffa84b8272b"
,
33
:
"d6ef6cccf9fbdbdb8aff"
,
34
:
"55810b44924e34682093"
,
35
:
"3b1c80f1638927d91891"
,
36
:
"ac7a52b486a7ffa4740a"
,
37
:
"efb9c246d234ffc4e566"
,
38
:
"44e6489f826699b92978"
,
39
:
"aacdee7e4bae8fae7900"
,
40
:
"e950b366c4e39a38e908"
,
41
:
"713ee3f2245252a7b240"
,
42
:
"5e495af5ecdd6ab3199f"
,
43
:
"c9d57ec5a7db5e719895"
,
44
:
"2c709cadfb3a5274c6c7"
,
45
:
"b82d640e50e5476a2dfd"
,
46
:
"18513c1c6ba1739f6786"
,
47
:
"a100614c4582ac5c3321"
,
48
:
"70dd1f7445c1ff9d210f"
,
49
:
"1749a50b157804f23e0c"
,
50
:
"c4d7ad12248351d18da6"
,
51
:
"8559a41298a996bd0a8d"
,
52
:
"7b96cd0dcb3bba4f41f4"
,
53
:
"740f9550bb8891a13142"
,
54
:
"b6cf6782940b47303db8"
,
55
:
"6998707c004922a9f3ac"
,
56
:
"ce4e60d9d2d97c2485e7"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dev/static/js/manifest.630f13e4e764d3766ecb.js
0 → 100644
View file @
b1dcf8cf
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
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
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
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
=
{},
f
=
{
59
:
0
};
function
d
(
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
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
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
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
a
[
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
:
"3a5576e3e983cabc4bb0"
,
1
:
"5b95b81add2dcc3365b7"
,
2
:
"3f2c0fa2c725d7168c0b"
,
3
:
"c39edb0d1132a8175a5f"
,
4
:
"f65e7975a17eb450933a"
,
5
:
"5a90b0c4a08161f3c25a"
,
6
:
"fa592dc41f8fd067ce1e"
,
7
:
"1ab63201d33eba440d87"
,
8
:
"e7023095350c5c2d3d21"
,
9
:
"0c7e5763b5c1a2358bfa"
,
10
:
"19bde4761cca027167eb"
,
11
:
"7eb7348664db666c4048"
,
12
:
"b72a94d09b3fa03af359"
,
13
:
"1b40912701f5bd2a9ffe"
,
14
:
"251556c212d416f0ccd4"
,
15
:
"3fe567333e7c7adf187a"
,
16
:
"f01b2376dc7360f07a63"
,
17
:
"fc647e3dbc336e7889a6"
,
18
:
"9a2b746f8649403529fb"
,
19
:
"a3bcb4db2d0b3c1d4dca"
,
20
:
"e3fa88bf6d638b2d16ab"
,
21
:
"7e38292f6c24e08db8a1"
,
22
:
"c71ed1c30587463dcd9b"
,
23
:
"e2e370e885d4ce921f14"
,
24
:
"e3068ad2b13f0b5be8ba"
,
25
:
"b530019dfef33ac5cc8f"
,
26
:
"cf95aa96f3969269a944"
,
27
:
"706b02e542e09a2ca13e"
,
28
:
"4c8f6f46a53762a7389b"
,
29
:
"6662c28ee1b18f5c3af7"
,
30
:
"0fcfada5bd56f80d9094"
,
31
:
"8f3de4b335888ad08076"
,
32
:
"2674f007cffa84b8272b"
,
33
:
"d6ef6cccf9fbdbdb8aff"
,
34
:
"55810b44924e34682093"
,
35
:
"3b1c80f1638927d91891"
,
36
:
"ac7a52b486a7ffa4740a"
,
37
:
"efb9c246d234ffc4e566"
,
38
:
"44e6489f826699b92978"
,
39
:
"aacdee7e4bae8fae7900"
,
40
:
"e950b366c4e39a38e908"
,
41
:
"713ee3f2245252a7b240"
,
42
:
"5e495af5ecdd6ab3199f"
,
43
:
"c9d57ec5a7db5e719895"
,
44
:
"2c709cadfb3a5274c6c7"
,
45
:
"b82d640e50e5476a2dfd"
,
46
:
"18513c1c6ba1739f6786"
,
47
:
"a100614c4582ac5c3321"
,
48
:
"70dd1f7445c1ff9d210f"
,
49
:
"1749a50b157804f23e0c"
,
50
:
"c4d7ad12248351d18da6"
,
51
:
"8559a41298a996bd0a8d"
,
52
:
"7b96cd0dcb3bba4f41f4"
,
53
:
"740f9550bb8891a13142"
,
54
:
"b6cf6782940b47303db8"
,
55
:
"6998707c004922a9f3ac"
,
56
:
"ce4e60d9d2d97c2485e7"
}[
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
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
b1dcf8cf
<!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><link
href=
/static/css/app.
9b275a3efab72d5c4d3b1d3af01ca42d.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.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.743744d3bf19f6e81c45
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.f14e7028641dac0809c7.js
></script><script
type=
text/javascript
src=
/static/js/app.a853ee098afa752505c1.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><link
href=
/static/css/app.
58e3174a731f9deba24127f89ca1e00c.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.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.f2d0458909b496bf0333
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.f14e7028641dac0809c7.js
></script><script
type=
text/javascript
src=
/static/js/app.a853ee098afa752505c1.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.58e3174a731f9deba24127f89ca1e00c.css
0 → 100644
View file @
b1dcf8cf
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/14.7171caa5960d28df5dd0.js
0 → 100644
View file @
b1dcf8cf
webpackJsonp
([
14
],{
"69L+"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"kmJW"
),
s
=
r
(
"NC6I"
),
i
=
r
.
n
(
s
),
o
=
r
(
"zA5m"
),
l
=
r
(
"G2rA"
),
n
=
r
(
"CCn6"
),
c
=
r
(
"+TkF"
),
d
=
{
name
:
"smsRecord"
,
components
:{
page
:
a
.
a
,
refundDialog
:
o
.
a
,
refundDetail
:
l
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
adressDialog
:
!
1
,
postOtherOrderDialog
:
!
1
,
postOtherOrderData
:{},
classSource
:[{
label
:
"系统订单随机"
,
value
:
2
},{
label
:
"渠道1订单随机"
,
value
:
3
},{
label
:
"渠道2订单随机"
,
value
:
4
}],
adressData
:{},
USERSTATUS
:
c
.
w
,
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
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
r
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
uploadHeader
:{
token
:
localStorage
.
getItem
(
"cc_token"
)},
param_token
:
i
()(
JSON
.
stringify
({
sing
:
"singsingenglish21000"
})),
nowPage
:
1
,
total
:
0
,
limit
:
10
,
useTypeList
:[{
user_buy
:
0
,
value
:
"未绑定"
},{
user_buy
:
1
,
value
:
"已绑定"
}],
searchFrom
:{
goods_id
:
""
,
mobile
:
""
,
active_at
:[],
invite_type
:
""
,
status
:[
1
],
createTime
:[],
course_type
:
"-1"
,
pullTime
:[],
order_id
:
""
,
teacher_id
:
""
,
user_id
:
""
,
nickname
:
""
,
user_status
:[],
sub_order_id
:
""
},
refundDialogObj
:{
show
:
!
1
,
id
:
""
,
order_type
:
" other"
,
money
:
0
},
orderStatusOption
:
c
.
r
,
list
:[],
teacherList
:[],
goodList
:[],
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
teacherId
:
null
,
classObj
:{
show
:
!
1
,
title
:
"当前同步进度"
,
order_id
:
0
,
teacher_id
:
0
},
multipleSelection
:[],
classList
:[],
last_pull_time
:
"无"
}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
status
:
function
(
e
){
return
c
.
q
[
e
]},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
c
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
},
classType
:
function
(
e
){
return
c
.
f
[
e
]}},
mounted
:
function
(){
this
.
getList
(),
this
.
getGoodsOption
(),
this
.
getTeacherList
()},
methods
:{
initClearOtherOrder
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"确认清除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_114
)(
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"清除成功!"
})})}).
catch
(
function
(){
t
.
$message
({
type
:
"info"
,
message
:
"已取消"
})})},
postOtherOrderFn
:
function
(){
var
e
=
this
,
t
=
{};
this
.
postOtherOrderData
.
order_id
&&
(
t
.
order_id
=
this
.
postOtherOrderData
.
order_id
),
this
.
postOtherOrderData
.
goods_id
&&
(
t
.
goods_id
=
this
.
postOtherOrderData
.
goods_id
),
this
.
postOtherOrderData
.
receiver_name
&&
(
t
.
receiver_name
=
this
.
postOtherOrderData
.
receiver_name
),
this
.
postOtherOrderData
.
receiver_mobile
&&
(
t
.
receiver_mobile
=
this
.
postOtherOrderData
.
receiver_mobile
),
this
.
postOtherOrderData
.
receiver_province
&&
(
t
.
receiver_province
=
this
.
postOtherOrderData
.
receiver_province
),
this
.
postOtherOrderData
.
receiver_city
&&
(
t
.
receiver_city
=
this
.
postOtherOrderData
.
receiver_city
),
this
.
postOtherOrderData
.
receiver_area
&&
(
t
.
receiver_area
=
this
.
postOtherOrderData
.
receiver_area
),
this
.
postOtherOrderData
.
receiver_address
&&
(
t
.
receiver_address
=
this
.
postOtherOrderData
.
receiver_address
),
this
.
postOtherOrderData
.
class_source
&&
(
t
.
class_source
=
this
.
postOtherOrderData
.
class_source
),
this
.
postOtherOrderData
.
desc
&&
(
t
.
desc
=
this
.
postOtherOrderData
.
desc
),
console
.
log
(
this
.
postOtherOrderData
),
Object
(
n
.
_115
)(
t
).
then
(
function
(
t
){
e
.
$message
(
"发送成功"
),
e
.
postOtherOrderDialog
=!
1
,
e
.
getList
()})},
initOeder
:
function
(){
this
.
postOtherOrderDialog
=!
0
,
this
.
postOtherOrderData
=
{
order_id
:
""
,
goods_id
:
""
,
receiver_name
:
""
,
receiver_mobile
:
""
,
receiver_province
:
""
,
receiver_city
:
""
,
receiver_area
:
""
,
receiver_address
:
""
,
class_source
:
""
,
desc
:
""
}},
editAdress
:
function
(
e
){
this
.
adressDialog
=!
0
,
this
.
adressData
=
{
receiver_name
:
e
.
receiver_name
,
receiver_mobile
:
e
.
receiver_mobile
,
receiver_province
:
e
.
receiver_province
,
receiver_city
:
e
.
receiver_city
,
receiver_area
:
e
.
receiver_area
,
receiver_address
:
e
.
receiver_address
,
id
:
e
.
id
}},
editAdressCf
:
function
(){
var
e
=
this
;
Object
(
n
.
_12
)(
this
.
adressData
.
id
,
this
.
adressData
).
then
(
function
(
t
){
e
.
getList
(),
e
.
$message
(
"修改成功"
),
e
.
adressDialog
=!
1
})},
userStatusFormatter
:
function
(
e
){
return
c
.
x
[
e
.
user_status
]},
pullAll
:
function
(){
var
e
=
this
;
if
(
this
.
multipleSelection
.
length
<
1
)
return
this
.
$message
(
"请选择订单"
),
!
1
;
if
(
!
this
.
teacherId
)
return
this
.
$message
(
"请选择老师"
),
!
1
;
var
t
=
{
order_ids
:[]};
this
.
multipleSelection
.
forEach
(
function
(
e
){
t
.
order_ids
.
push
(
e
.
id
)}),
this
.
$confirm
(
"是否确定将这"
+
t
.
order_ids
.
length
+
"笔订单分配给该老师?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_156
)(
e
.
teacherId
,{
order_ids
:
t
.
order_ids
.
join
(
","
)}).
then
(
function
(
t
){
e
.
multipleSelection
=
[],
e
.
$message
({
message
:
"提交成功"
,
type
:
"success"
}),
e
.
getList
()})}).
catch
(
function
(){})},
selectedFlag
:
function
(
e
){
return
0
===
e
.
user_id
},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
onAfterRefund
:
function
(){
this
.
refundDialogObj
.
show
=!
1
,
this
.
getList
()},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
order_id
},
changeShow
:
function
(
e
){
this
.
refundDialogObj
.
show
=
e
},
onRefund
:
function
(
e
,
t
){
this
.
refundDialogObj
.
id
=
e
,
this
.
refundDialogObj
.
money
=
t
,
this
.
refundDialogObj
.
show
=!
0
},
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
},
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
})},
downLoad
:
function
(){
window
.
open
(
"/static/外部订单模板.xlsx"
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
n
.
_89
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
join
(
","
)),
"-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
.
sub_order_id
&&
(
t
.
sub_order_id
=
this
.
searchFrom
.
sub_order_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
t
.
goods_name
=
this
.
searchFrom
.
goods_name
),(
this
.
searchFrom
.
user_buy
||
0
===
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
.
user_status
.
length
&&
(
t
.
user_status
=
this
.
searchFrom
.
user_status
.
join
(
","
)),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
createTime
&&
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
this
.
searchFrom
.
active_at
&&
2
===
this
.
searchFrom
.
active_at
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_at
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_at
[
1
]),
this
.
searchFrom
.
pullTime
&&
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
Object
(
n
.
_104
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
?
t
.
list
:[]})},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
n
.
_49
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
editNote
:
function
(
e
,
t
){
var
r
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
a
=
t
.
value
;
r
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_111
)({
desc
:
a
},
e
).
then
(
function
(
e
){
r
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
r
.
getList
()})})})},
exportTable
:
function
(
e
){
if
(
e
.
length
>
0
){
var
t
=
{};
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
join
(
","
)),
"-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
),(
this
.
searchFrom
.
user_buy
||
0
===
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
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
createTime
&&
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
this
.
searchFrom
.
active_at
&&
2
===
this
.
searchFrom
.
active_at
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_at
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_at
[
1
]),
this
.
searchFrom
.
pullTime
&&
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
console
.
log
(
t
),
Object
(
n
.
_21
)(
"api/admin/yunji/order/export"
,
t
)}},
classListOption
:
function
(){
var
e
=
this
;
this
.
classObj
.
show
=!
0
,
Object
(
n
.
_104
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
classList
=
t
.
teacher
,
t
.
last_pull_time
&&
(
e
.
last_pull_time
=
t
.
last_pull_time
)})}}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"sms"
},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
r
(
"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
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
r
(
"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
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
r
(
"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
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
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
,
a
){
return
r
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"test"
,
attrs
:{
label
:
"来源"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"180px"
},
attrs
:{
placeholder
:
"来源CODE"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type
\
t"
}},[
r
(
"template"
,{
slot
:
"prepend"
},[
e
.
_v
(
"CC -"
)])],
2
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"230px"
},
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},
e
.
_l
(
e
.
orderStatusOption
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"沟通情况"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"230px"
},
attrs
:{
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
user_status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_status"
,
t
)},
expression
:
"searchFrom.user_status"
}},
e
.
_l
(
e
.
USERSTATUS
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
code
,
attrs
:{
label
:
e
.
lable
,
value
:
e
.
code
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"绑定状态"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
user_buy
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_buy"
,
t
)},
expression
:
"searchFrom.user_buy"
}},
e
.
_l
(
e
.
useTypeList
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
user_buy
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
user_buy
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"未指定"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"order_id"
,
t
)},
expression
:
"searchFrom.order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"子订单号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
sub_order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"sub_order_id"
,
t
)},
expression
:
"searchFrom.sub_order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"下单时间"
}},[
r
(
"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"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
createTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"createTime"
,
t
)},
expression
:
"searchFrom.createTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"付款时间"
}},[
r
(
"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"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
pullTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"pullTime"
,
t
)},
expression
:
"searchFrom.pullTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"激活时间"
}},[
r
(
"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"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
active_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"active_at"
,
t
)},
expression
:
"searchFrom.active_at"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
exportTable
(
e
.
list
)}}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-upload"
,{
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
action
:
"/api/admin/order/import"
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
}},[
e
.
_v
(
"导入"
)])],
1
)],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
downLoad
()}}},[
e
.
_v
(
"excel模板下载"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
r
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_type"
,
t
)},
expression
:
"searchFrom.course_type"
}},[
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
distribution
?
r
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
top
:
"10px"
,
right
:
"10px"
,
"font-size"
:
"14px"
}},[
e
.
_v
(
"
\n
老师:
\n
"
),
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
size
:
"small"
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
teacherId
,
callback
:
function
(
t
){
e
.
teacherId
=
t
},
expression
:
"teacherId"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
e
.
pullAll
}},[
e
.
_v
(
"批量分配"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
},
on
:{
click
:
e
.
initOeder
}},[
e
.
_v
(
"手动添加外部订单"
)])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
,
size
:
"mini"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
r
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
selectable
:
e
.
selectedFlag
,
width
:
"55"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"class_type"
,
width
:
"80"
,
label
:
"班级类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"classType"
)(
t
.
row
.
class_type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"order_id"
,
width
:
"80"
,
label
:
"订单号"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"p"
,[
e
.
_v
(
"主订单号:"
+
e
.
_s
(
t
.
row
.
order_id
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"子订单号:"
+
e
.
_s
(
t
.
row
.
sub_order_id
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"sub_order_id"
,
width
:
"80"
,
label
:
"子订单号"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"购买人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
r
(
"div"
,[
r
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
r
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
r
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
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
?
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
,
width
:
"70"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
money
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
,
width
:
"150px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
姓名:"
+
e
.
_s
(
t
.
row
.
receiver_name
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
tel:"
+
e
.
_s
(
t
.
row
.
receiver_phone
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receiver_province
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_city
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_area
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_address
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"active_at"
,
label
:
"时间"
,
width
:
"90"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"p"
,[
e
.
_v
(
"激活时间:"
+
e
.
_s
(
"0000-00-00 00:00:00"
===
t
.
row
.
active_at
?
"未激活"
:
t
.
row
.
active_at
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"下单时间:"
+
e
.
_s
(
t
.
row
.
create_time
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"付款时间:"
+
e
.
_s
(
t
.
row
.
pay_time
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"导入时间:"
+
e
.
_s
(
t
.
row
.
created_at
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"user_status"
,
formatter
:
e
.
userStatusFormatter
,
label
:
"沟通状态"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-table-column"
,{
staticClass
:
"editBox"
,
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"130"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
initClearOtherOrder
(
t
.
row
.
order_id
)}}},[
e
.
_v
(
"清除激活信息"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)]),
e
.
_v
(
" "
),
1
!==
t
.
row
.
status
&&
4
!==
t
.
row
.
status
&&
5
!==
t
.
row
.
status
||!
e
.
$store
.
state
.
orderRefund
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
r
){
e
.
onRefund
(
t
.
row
.
id
,
t
.
row
.
money
)}}},[
e
.
_v
(
"
\n
退款
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"success"
},
on
:{
click
:
function
(
r
){
e
.
editAdress
(
t
.
row
)}}},[
e
.
_v
(
"编辑地址"
)])]}}])})],
1
),
e
.
_v
(
" "
),
r
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
r
(
"refund-dialog"
,{
attrs
:{
dialogObj
:
e
.
refundDialogObj
},
on
:{
reflash
:
e
.
onAfterRefund
,
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
r
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
e
.
classObj
.
title
,
visible
:
e
.
classObj
.
show
,
center
:
""
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
classObj
,
"show"
,
t
)}}},[
r
(
"div"
,{
staticStyle
:{
margin
:
"10px"
,
color
:
"#888888"
}},[
e
.
_v
(
"
\n
最新同步时间:"
+
e
.
_s
(
e
.
last_pull_time
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"el-table"
,{
attrs
:{
data
:
e
.
classList
}},[
r
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"num"
,
label
:
"预计入班人数"
}})],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
})],
1
),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
"手动创建外部订单"
,
visible
:
e
.
postOtherOrderDialog
,
center
:
""
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
postOtherOrderDialog
=
t
}}},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
model
:
e
.
postOtherOrderData
,
"label-width"
:
"125px"
}},[
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"订单ID"
,
required
:
""
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"order_id"
,
t
)},
expression
:
"postOtherOrderData.order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
,
required
:
""
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
,
clearable
:
""
},
model
:{
value
:
e
.
postOtherOrderData
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"goods_id"
,
t
)},
expression
:
"postOtherOrderData.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
a
){
return
r
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收件人姓名"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_name"
,
t
)},
expression
:
"postOtherOrderData.receiver_name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收件人手机号"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_mobile"
,
t
)},
expression
:
"postOtherOrderData.receiver_mobile"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"省名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_province
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_province"
,
t
)},
expression
:
"postOtherOrderData.receiver_province"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"市名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_city
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_city"
,
t
)},
expression
:
"postOtherOrderData.receiver_city"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"区名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_area
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_area"
,
t
)},
expression
:
"postOtherOrderData.receiver_area"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
required
:
""
,
left
:
""
,
label
:
"详细地址"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
postOtherOrderData
.
receiver_address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_address"
,
t
)},
expression
:
"postOtherOrderData.receiver_address"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"带班类型"
,
required
:
""
}},[
r
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
model
:{
value
:
e
.
postOtherOrderData
.
class_source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"class_source"
,
t
)},
expression
:
"postOtherOrderData.class_source"
}},
e
.
_l
(
e
.
classSource
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
required
:
""
,
left
:
""
,
label
:
"备注"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
postOtherOrderData
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"desc"
,
t
)},
expression
:
"postOtherOrderData.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
postOtherOrderDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
postOtherOrderFn
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
"编辑地址"
,
visible
:
e
.
adressDialog
,
left
:
""
,
width
:
"500px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
adressDialog
=
t
}}},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
model
:
e
.
adressData
,
"label-width"
:
"125px"
}},[
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"用户姓名"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_name"
,
t
)},
expression
:
"adressData.receiver_name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
label
:
"收货人手机号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_mobile"
,
t
)},
expression
:
"adressData.receiver_mobile"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人省"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_province
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_province"
,
t
)},
expression
:
"adressData.receiver_province"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人市"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_city
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_city"
,
t
)},
expression
:
"adressData.receiver_city"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人区"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_area
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_area"
,
t
)},
expression
:
"adressData.receiver_area"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
left
:
""
,
label
:
"收货人详细地址"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
adressData
.
receiver_address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_address"
,
t
)},
expression
:
"adressData.receiver_address"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
adressDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
editAdressCf
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
h
=
r
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
e
){
r
(
"POdW"
),
r
(
"7enJ"
)},
"data-v-ba0fdf24"
,
null
);
t
.
default
=
h
.
exports
},
"7enJ"
:
function
(
e
,
t
){},
GB5s
:
function
(
e
,
t
){},
POdW
:
function
(
e
,
t
){},
zA5m
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"CCn6"
),
s
=
{
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
r
=
{
refund_money
:
100
*
parseFloat
(
e
.
form
.
money
),
desc
:
e
.
form
.
desc
,
refund_type
:
e
.
form
.
refund_type
};
e
.
dialogObj
.
order_type
&&
(
r
.
order_type
=
e
.
dialogObj
.
order_type
),
Object
(
a
.
_118
)(
e
.
dialogObj
.
id
,
r
).
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
)}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"el-dialog"
,{
attrs
:{
title
:
"退款"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
show
=
t
}}},[
r
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
r
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
rules
:
e
.
rules
}},[
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退款金额"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
8
}},[
r
(
"el-form-item"
,{
attrs
:{
prop
:
"key"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
form
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"money"
,
t
)},
expression
:
"form.money"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
6
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
100
}}},[
e
.
_v
(
"¥100"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
150
}}},[
e
.
_v
(
"¥150"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退课"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
8
}},[
r
(
"el-form-item"
,[
r
(
"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
(
" "
),
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退款原因"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
12
}},[
r
(
"el-form-item"
,[
r
(
"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
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"确 定"
)])],
1
)])},
staticRenderFns
:[]};
var
o
=
r
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
r
(
"GB5s"
)},
"data-v-189146f3"
,
null
);
t
.
a
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.f2d0458909b496bf0333.js
0 → 100644
View file @
b1dcf8cf
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
59
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ccc190766e5804cb07e9"
,
1
:
"4d1ff1f0474a3931e7f4"
,
2
:
"669706cff5b89c27cb52"
,
3
:
"d83240b7b4cf11d19aaa"
,
4
:
"19541bac438bb2573b65"
,
5
:
"13270f36f23d99396f09"
,
6
:
"150394d0df3b0b113437"
,
7
:
"6268c790880159e96e47"
,
8
:
"6c3f0040ff9107bedc76"
,
9
:
"ffec27d2f74cec3a4d19"
,
10
:
"0b4fd897dde9403f23d6"
,
11
:
"3fa8df1ba53ed79ff81e"
,
12
:
"058be5d02b8a437a9071"
,
13
:
"2cd458c79d21637182d6"
,
14
:
"7171caa5960d28df5dd0"
,
15
:
"d8e22b67c8fedc091e76"
,
16
:
"b48ab93eb24fe4db422f"
,
17
:
"66932fcf74c64f5ea028"
,
18
:
"404885c3377dca0d400c"
,
19
:
"1f7ed42a9ab89824a531"
,
20
:
"757d1b5a264854ee544c"
,
21
:
"905a645402c93a998d4d"
,
22
:
"14946b8eaf97a276640e"
,
23
:
"bb384f5bceed35a2c11d"
,
24
:
"e4f5fdc2a78ceafb925d"
,
25
:
"3b749831767828c39ad9"
,
26
:
"780a1b650e5ed05a798f"
,
27
:
"cd9443319eba97c97bc7"
,
28
:
"7284d69153eeeb262425"
,
29
:
"2d2b425ed16627e2b7d0"
,
30
:
"3eb7e7a7715e62c5de5e"
,
31
:
"8f4b9c4fb58b42c9df34"
,
32
:
"ff466ab20175b0e5243c"
,
33
:
"4c10369200a2c2b8bfe2"
,
34
:
"93c05b97bb604acc7afb"
,
35
:
"e6eac3caf4fca178e3e9"
,
36
:
"ee26f59fd3b173d3428d"
,
37
:
"c9eabcefd958155195a2"
,
38
:
"bdc20f13add2146adccb"
,
39
:
"0255e7a646be1e49d527"
,
40
:
"4ae6c477f4fd09e8d53a"
,
41
:
"a5b946e859a4ad5f6797"
,
42
:
"a9c64c0cff01496bdb0e"
,
43
:
"b909038a0bd201220f40"
,
44
:
"d49646f9b694f02e9346"
,
45
:
"81a624ddb6402ec2e85d"
,
46
:
"cb921bad73f071284a2e"
,
47
:
"f9c6300a77632e60aa6e"
,
48
:
"b163cd5e2750e3f00800"
,
49
:
"f642916fe2c6d14b13ef"
,
50
:
"f3f4851cb838227cbf39"
,
51
:
"79ad6f31c3264a1d06c9"
,
52
:
"0fb9cb838adfff13f437"
,
53
:
"e9c1835ef02876207904"
,
54
:
"6829dbec740155bfe215"
,
55
:
"a9cd8e6f1c1797388e44"
,
56
:
"eb0288b9af15cfba828a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/yunji/index.vue
View file @
b1dcf8cf
...
...
@@ -143,6 +143,10 @@
<!-- classType -->
</el-table-column>
<el-table-column
prop=
"order_id"
width=
"80"
label=
"订单号"
>
<
template
slot-scope=
"scope"
>
<p>
主订单号:
{{
scope
.
row
.
order_id
}}
</p>
<p>
子订单号:
{{
scope
.
row
.
sub_order_id
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"sub_order_id"
width=
"80"
label=
"子订单号"
>
</el-table-column>
...
...
@@ -188,20 +192,19 @@
{{
scope
.
row
.
receiver_province
}}
{{
scope
.
row
.
receiver_city
}}
{{
scope
.
row
.
receiver_area
}}
{{
scope
.
row
.
receiver_address
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"active_at"
label=
"
激活
时间"
width=
"90"
>
<el-table-column
prop=
"active_at"
label=
"时间"
width=
"90"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
active_at
===
'0000-00-00 00:00:00'
?
'未激活'
:
scope
.
row
.
active_at
}}
<p>
激活时间:
{{
scope
.
row
.
active_at
===
'0000-00-00 00:00:00'
?
'未激活'
:
scope
.
row
.
active_at
}}
</p>
<p>
下单时间:
{{
scope
.
row
.
create_time
}}
</p>
<p>
付款时间:
{{
scope
.
row
.
pay_time
}}
</p>
<p>
导入时间:
{{
scope
.
row
.
created_at
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"create_time"
label=
"下单时间"
width=
"90"
>
</el-table-column>
<el-table-column
prop=
"pay_time"
label=
"付款时间"
width=
"90"
>
</el-table-column>
<el-table-column
prop=
"user_status"
:formatter=
"userStatusFormatter"
label=
"沟通状态"
width=
"90"
>
</el-table-column>
<el-table-column
prop=
"desc"
label=
"备注"
>
</el-table-column>
<el-table-column
label=
"操作"
fixed=
"right"
v-if=
"!$store.state.readonly"
width=
"40
0"
>
<el-table-column
class=
"editBox"
label=
"操作"
fixed=
"right"
v-if=
"!$store.state.readonly"
width=
"13
0"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"initClearOtherOrder(scope.row.order_id)"
size=
"mini"
plain
type=
"primary"
>
清除激活信息
</el-button>
<el-button
@
click=
"editNote(scope.row.id, scope.row.desc)"
size=
"mini"
plain
type=
"primary"
>
编辑备注
</el-button>
...
...
@@ -329,7 +332,8 @@ import {
GOODSTYPE
,
ORDERSTATUSOPTION
,
USERSTATUS
,
USERSTATUSFORMATER
USERSTATUSFORMATER
,
CLASSSOURCE
}
from
"../../util/wordbook"
;
export
default
{
...
...
@@ -416,7 +420,8 @@ export default {
teacher_id
:
""
,
user_id
:
""
,
nickname
:
""
,
user_status
:[]
user_status
:[],
sub_order_id
:
""
},
refundDialogObj
:
{
show
:
false
,
...
...
@@ -472,13 +477,7 @@ export default {
);
},
classType
(
val
){
if
(
val
==
1
){
return
'带班班级'
}
else
if
(
val
==
2
){
return
'观摩班级'
}
else
{
return
''
}
return
CLASSSOURCE
[
val
]
}
},
mounted
()
{
...
...
@@ -694,6 +693,9 @@ export default {
}
if
(
this
.
searchFrom
.
user_id
)
{
json
.
user_id
=
this
.
searchFrom
.
user_id
;
}
if
(
this
.
searchFrom
.
sub_order_id
)
{
json
.
sub_order_id
=
this
.
searchFrom
.
sub_order_id
;
}
if
(
this
.
searchFrom
.
teacher_id
)
{
json
.
teacher_id
=
this
.
searchFrom
.
teacher_id
;
...
...
@@ -833,7 +835,10 @@ export default {
.sms
{
padding
:
20px
0
;
}
.el-button
+
.el-button
{
margin-left
:
0
;
margin-top
:
10px
;
}
.avatar
{
width
:
50px
;
min-width
:
50px
;
...
...
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