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
d534a245
Commit
d534a245
authored
Aug 07, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
87
parent
060b7b31
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
39 additions
and
24 deletions
+39
-24
index.html
dev/index.html
+1
-1
18.3e560fbd379260dfd8ff.js
dev/static/js/18.3e560fbd379260dfd8ff.js
+1
-0
manifest.8083cb5f1be14e9bb64b.js
dev/static/js/manifest.8083cb5f1be14e9bb64b.js
+1
-0
index.html
dist/index.html
+1
-1
app.9d25f58c1169f95f0d22fb38d5247bc7.css
dist/static/css/app.9d25f58c1169f95f0d22fb38d5247bc7.css
+1
-0
15.907589cf28fcf315db91.js
dist/static/js/15.907589cf28fcf315db91.js
+1
-0
manifest.2e6863f41cfa05a90e2f.js
dist/static/js/manifest.2e6863f41cfa05a90e2f.js
+1
-0
index.vue
src/components/yunji/index.vue
+32
-22
No files found.
dev/index.html
View file @
d534a245
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
b655fb0c7a85afc953a6
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6a18832950b1e06cbd55.js
></script><script
type=
text/javascript
src=
/static/js/app.607bd306fb9aee58c3c4.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
8083cb5f1be14e9bb64b
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6a18832950b1e06cbd55.js
></script><script
type=
text/javascript
src=
/static/js/app.607bd306fb9aee58c3c4.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/18.3e560fbd379260dfd8ff.js
0 → 100644
View file @
d534a245
webpackJsonp
([
18
],{
"69L+"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"kmJW"
),
s
=
(
r
(
"NC6I"
),
r
(
"zA5m"
)),
i
=
r
(
"G2rA"
),
o
=
r
(
"sf/l"
),
l
=
r
(
"zSLJ"
),
n
=
r
(
"CCn6"
),
c
=
r
(
"+TkF"
),
d
=
{},
u
=
{
name
:
"smsRecord"
,
components
:{
page
:
a
.
a
,
refundDialog
:
s
.
a
,
refundDetail
:
i
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
importDialog
:
!
1
,
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
:
l
.
a
.
get
(
"cc_token"
)},
param_token
:
o
.
a
.
md5Code
(),
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
:
"无"
,
studentSource
:{}}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
status
:
function
(
e
){
return
c
.
q
[
e
]},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
c
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
},
classType
:
function
(
e
){
return
d
[
e
]}},
mounted
:
function
(){
var
e
=
this
;
this
.
getGoodsOption
(),
this
.
getTeacherList
(),
Object
(
n
.
_96
)().
then
(
function
(
t
){
var
r
=
{};
t
.
forEach
(
function
(
e
,
t
){
r
[
e
.
type
]
=
e
.
name
}),
d
=
r
,
e
.
getList
()})},
methods
:{
initClearOtherOrder
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"确认清除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_139
)(
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
.
_142
)(
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
.
_18
)(
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
.
_191
)(
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
(
e
){
console
.
log
(
e
),
200
==
e
.
code
?
this
.
$message
({
message
:
e
.
data
,
type
:
"success"
}):
this
.
$message
({
message
:
e
.
msg
.
replace
(
/
\n
/g
,
"</br>"
),
type
:
"error"
,
duration
:
0
,
showClose
:
!
0
,
dangerouslyUseHTMLString
:
!
0
})},
downLoad
:
function
(){
window
.
open
(
"/static/外部订单模板.xlsx"
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
n
.
_110
)({
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
.
_129
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
?
t
.
list
:[]})},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
n
.
_60
)({
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
.
_136
)({
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
.
_27
)(
"api/admin/yunji/order/export"
,
t
,
"外部订单列表"
)}},
classListOption
:
function
(){
var
e
=
this
;
this
.
classObj
.
show
=!
0
,
Object
(
n
.
_129
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
classList
=
t
.
teacher
,
t
.
last_pull_time
&&
(
e
.
last_pull_time
=
t
.
last_pull_time
)})}}},
m
=
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
(),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
importDialog
=!
0
}}},[
e
.
_v
(
"导入"
)]):
e
.
_e
()],
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
:
"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
:
"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
:{
prop
:
"class_source"
,
width
:
"80"
,
label
:
"招生来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"classType"
)(
t
.
row
.
class_source
))
+
"
\n
"
)]}}])}),
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
:
"190"
},
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"
,{
staticClass
:
"import"
,
attrs
:{
title
:
"导入"
,
visible
:
e
.
importDialog
,
center
:
""
,
width
:
"600px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
importDialog
=
t
}}},[
r
(
"div"
,{
staticClass
:
"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/1"
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
}},[
e
.
_v
(
"500条以下"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"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/2"
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"warn"
,
plain
:
""
}},[
e
.
_v
(
"500条或以上"
)])],
1
)],
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
)};
m
.
_withStripped
=!
0
;
var
h
=
{
render
:
m
,
staticRenderFns
:[]},
p
=
h
;
var
_
=!
1
;
var
v
=
r
(
"VU/8"
)(
u
,
p
,
!
1
,
function
(
e
){
_
||
(
r
(
"feiJ"
),
r
(
"SwjR"
))},
"data-v-1ae2f8f2"
,
null
);
v
.
options
.
__file
=
"src
\\
components
\\
yunji
\\
index.vue"
;
t
.
default
=
v
.
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
"
,
""
,{
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
"
],
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
}
\n
.el-form-item__content[data-v-1ae2f8f2]{height:32px;
\n
}
\n
.import[data-v-1ae2f8f2]{top: 20vh;
\n
}
\n
.import .item[data-v-1ae2f8f2]{display:inline-block;margin-left: 110px
\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,uBAAuB;CACxB;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,mBAAmB;EACnB,aAAa;;EAEb,mBAAmB;CACpB;AACD,wCAAwC,YAAY;CACnD;AACD,yBAAyB,UAAU;CAClC;AACD,+BAA+B,qBAAqB,kBAAkB;CACrE"
,
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
}
\n
.el-form-item__content[data-v-1ae2f8f2]{height:32px;
\n
}
\n
.import[data-v-1ae2f8f2]{top: 20vh;
\n
}
\n
.import .item[data-v-1ae2f8f2]{display:inline-block;margin-left: 110px
\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
.
_153
)(
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.8083cb5f1be14e9bb64b.js
0 → 100644
View file @
d534a245
!
function
(
e
){
var
f
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
f
&&
f
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
a
=
{
72
:
0
};
function
b
(
f
){
if
(
c
[
f
])
return
c
[
f
].
exports
;
var
a
=
c
[
f
]
=
{
i
:
f
,
l
:
!
1
,
exports
:{}};
return
e
[
f
].
call
(
a
.
exports
,
a
,
a
.
exports
,
b
),
a
.
l
=!
0
,
a
.
exports
}
b
.
e
=
function
(
e
){
var
f
=
a
[
e
];
if
(
0
===
f
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
f
)
return
f
[
2
];
var
c
=
new
Promise
(
function
(
c
,
b
){
f
=
a
[
e
]
=
[
c
,
b
]});
f
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"5e21353f9e7f6b913588"
,
1
:
"74eb00e6fb303e2d2759"
,
2
:
"1f6a00a1c98fbf2db665"
,
3
:
"c6779c9b3aa0c8780991"
,
4
:
"71fc328e214e30832054"
,
5
:
"6d1a9f7a2e30dd44d02d"
,
6
:
"f1925ca55ec5c7d41887"
,
7
:
"f0e8b03080b3b4ebf31c"
,
8
:
"9f80bdcf1310ef1f4d40"
,
9
:
"523f6b2142e0b1a59de8"
,
10
:
"4af583c4dd796e3360f9"
,
11
:
"aec2a9fb6041eb630d55"
,
12
:
"2c72155b2154e8815c00"
,
13
:
"af9f03f63888b915fd7f"
,
14
:
"8cd0f3a8b31d5e64931e"
,
15
:
"4bd927c46272193f9e72"
,
16
:
"51a8748901c539c9d7f6"
,
17
:
"c6ca0315d005d11917f2"
,
18
:
"3e560fbd379260dfd8ff"
,
19
:
"2b43d74d0aa30e036698"
,
20
:
"f42b11252eb62efb59cd"
,
21
:
"574b6484dc28d94bef1f"
,
22
:
"aeadcb935f4215bd1bd5"
,
23
:
"080a8966b3305c3ae15b"
,
24
:
"92cbc050ed71b534294b"
,
25
:
"586027709dea49f5116f"
,
26
:
"d77cdbd1bc2f9789ae81"
,
27
:
"62a380e3075bb9f61234"
,
28
:
"24b6f10c46ca1efeb87a"
,
29
:
"aba6b471e6c95a1907f4"
,
30
:
"0bc70212b94eb5665fff"
,
31
:
"135568f2f6466e39320c"
,
32
:
"24c59027060f0ebec47f"
,
33
:
"489760d45a9fef30bb4a"
,
34
:
"6c63eb8d60c5be1dc2f3"
,
35
:
"974841988630e681632c"
,
36
:
"512280620f6044f06ebd"
,
37
:
"40a0dd48806323a37f8b"
,
38
:
"508b9a742a79cdae432c"
,
39
:
"50ccfca6c1306cff512a"
,
40
:
"7cde0e1c3d8e909777cc"
,
41
:
"23e1be9d61c60e87d43b"
,
42
:
"0e33d8489572470ad249"
,
43
:
"a8d1fc3389fd795b2bce"
,
44
:
"a5af5802ec28b6068e5b"
,
45
:
"fe6e1551696349b29668"
,
46
:
"12a517ba912b03aab935"
,
47
:
"f0665b8c5b8f3af0c10f"
,
48
:
"fb608a4f603e4a31cade"
,
49
:
"f97d79f4daec8f87df42"
,
50
:
"7dd0676cbb72e6f2fd1a"
,
51
:
"939577234b61aded2624"
,
52
:
"b2ed992be8294772a938"
,
53
:
"c3b179b20a856816890a"
,
54
:
"212816b171eafd1488bc"
,
55
:
"f9539545129dd1bad64b"
,
56
:
"501b516cd393780837db"
,
57
:
"aa460a73c9c018520800"
,
58
:
"a08c9ad93f421380be9d"
,
59
:
"4b383cfca408a639edd1"
,
60
:
"9469909bde10400ad51e"
,
61
:
"e058805f6e7edf48bd52"
,
62
:
"95820125712b6f2ace7f"
,
63
:
"b469807b5322df1168f0"
,
64
:
"83207fa7cfec7327665c"
,
65
:
"c1554131ce716a3b677c"
,
66
:
"3b61402de44f86c4ef2a"
,
67
:
"09ced7442ae82f25505e"
,
68
:
"0456ffd7b429ae2463ac"
,
69
:
"1478ab9bf52f6eef71d3"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
f
=
a
[
e
];
0
!==
f
&&
(
f
&&
f
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
f
,
c
){
b
.
o
(
e
,
f
)
||
Object
.
defineProperty
(
e
,
f
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
b
.
n
=
function
(
e
){
var
f
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
f
,
"a"
,
f
),
f
},
b
.
o
=
function
(
e
,
f
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
f
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
d534a245
<!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.9
c113ec52bc120bdaffb0be6fbe1bdb8.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.c5d1e3b88ff373546b9e
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.adb38bc212a981bb369e.js
></script><script
type=
text/javascript
src=
/static/js/app.100b7f4500d2b66f597d.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.9
d25f58c1169f95f0d22fb38d5247bc7.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.2e6863f41cfa05a90e2f
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.adb38bc212a981bb369e.js
></script><script
type=
text/javascript
src=
/static/js/app.100b7f4500d2b66f597d.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.9d25f58c1169f95f0d22fb38d5247bc7.css
0 → 100644
View file @
d534a245
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/15.907589cf28fcf315db91.js
0 → 100644
View file @
d534a245
webpackJsonp
([
15
],{
"3vBJ"
:
function
(
e
,
t
){},
"69L+"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"kmJW"
),
s
=
(
r
(
"NC6I"
),
r
(
"zA5m"
)),
i
=
r
(
"G2rA"
),
o
=
r
(
"sf/l"
),
l
=
r
(
"zSLJ"
),
n
=
r
(
"CCn6"
),
c
=
r
(
"+TkF"
),
d
=
{},
u
=
{
name
:
"smsRecord"
,
components
:{
page
:
a
.
a
,
refundDialog
:
s
.
a
,
refundDetail
:
i
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
importDialog
:
!
1
,
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
:
l
.
a
.
get
(
"cc_token"
)},
param_token
:
o
.
a
.
md5Code
(),
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
:
"无"
,
studentSource
:{}}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
status
:
function
(
e
){
return
c
.
q
[
e
]},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
c
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
},
classType
:
function
(
e
){
return
d
[
e
]}},
mounted
:
function
(){
var
e
=
this
;
this
.
getGoodsOption
(),
this
.
getTeacherList
(),
Object
(
n
.
_96
)().
then
(
function
(
t
){
var
r
=
{};
t
.
forEach
(
function
(
e
,
t
){
r
[
e
.
type
]
=
e
.
name
}),
d
=
r
,
e
.
getList
()})},
methods
:{
initClearOtherOrder
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"确认清除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_139
)(
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
.
_142
)(
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
.
_18
)(
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
.
_191
)(
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
(
e
){
console
.
log
(
e
),
200
==
e
.
code
?
this
.
$message
({
message
:
e
.
data
,
type
:
"success"
}):
this
.
$message
({
message
:
e
.
msg
.
replace
(
/
\n
/g
,
"</br>"
),
type
:
"error"
,
duration
:
0
,
showClose
:
!
0
,
dangerouslyUseHTMLString
:
!
0
})},
downLoad
:
function
(){
window
.
open
(
"/static/外部订单模板.xlsx"
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
n
.
_110
)({
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
.
_129
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
?
t
.
list
:[]})},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
n
.
_60
)({
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
.
_136
)({
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
.
_27
)(
"api/admin/yunji/order/export"
,
t
,
"外部订单列表"
)}},
classListOption
:
function
(){
var
e
=
this
;
this
.
classObj
.
show
=!
0
,
Object
(
n
.
_129
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
classList
=
t
.
teacher
,
t
.
last_pull_time
&&
(
e
.
last_pull_time
=
t
.
last_pull_time
)})}}},
h
=
{
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
(),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
importDialog
=!
0
}}},[
e
.
_v
(
"导入"
)]):
e
.
_e
()],
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
:
"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
:
"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
:{
prop
:
"class_source"
,
width
:
"80"
,
label
:
"招生来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"classType"
)(
t
.
row
.
class_source
))
+
"
\n
"
)]}}])}),
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
:
"190"
},
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"
,{
staticClass
:
"import"
,
attrs
:{
title
:
"导入"
,
visible
:
e
.
importDialog
,
center
:
""
,
width
:
"600px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
importDialog
=
t
}}},[
r
(
"div"
,{
staticClass
:
"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/1"
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
}},[
e
.
_v
(
"500条以下"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"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/2"
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"warn"
,
plain
:
""
}},[
e
.
_v
(
"500条或以上"
)])],
1
)],
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
m
=
r
(
"VU/8"
)(
u
,
h
,
!
1
,
function
(
e
){
r
(
"3vBJ"
),
r
(
"p3KV"
)},
"data-v-728e5623"
,
null
);
t
.
default
=
m
.
exports
},
GB5s
:
function
(
e
,
t
){},
p3KV
:
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
.
_153
)(
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.2e6863f41cfa05a90e2f.js
0 → 100644
View file @
d534a245
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
b
[
t
]
&&
u
.
push
(
b
[
t
][
0
]),
b
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
b
=
{
72
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
b
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
b
.
exports
,
b
,
b
.
exports
,
f
),
b
.
l
=!
0
,
b
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
b
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
b
[
e
]
=
[
c
,
f
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"9ad51ff0cc7bfde211a5"
,
1
:
"4bf7ef6b10fb2f1fce01"
,
2
:
"5055d90e5ebe9b7660d1"
,
3
:
"21445077358e688e5e80"
,
4
:
"c277c2a23df4047bd82a"
,
5
:
"e4d7fdc8c4d082d99d89"
,
6
:
"fa0953c14df5c864f0cf"
,
7
:
"a76a91b1844dc6a8b5b7"
,
8
:
"6e7f9bbaf8cbe880b0a5"
,
9
:
"e7a072f7fb8ffb733984"
,
10
:
"c8b3a6ae5ca19cd5a260"
,
11
:
"ea7abbe9f5942dda2d52"
,
12
:
"80a37e4567474a5bd5bf"
,
13
:
"ca9d51bd45337b4c4c53"
,
14
:
"91acc339ae6fd719abda"
,
15
:
"907589cf28fcf315db91"
,
16
:
"736d2f864e6573d2cfbb"
,
17
:
"0e97c65823cfd0bfb76b"
,
18
:
"97df2e4b68eb98b9d504"
,
19
:
"98e603e366de6a159c34"
,
20
:
"eeecee4d5c7589604314"
,
21
:
"b5fb1dfc5f79622f60b0"
,
22
:
"60e06f92607467f49683"
,
23
:
"c698f4bcb71ffb97b545"
,
24
:
"375634aacd4ac263d151"
,
25
:
"a483d23e509412a4b37e"
,
26
:
"8fe9b70a2863c66bc66e"
,
27
:
"ad5a98c1bab10ad278d8"
,
28
:
"890cf5085953838432b9"
,
29
:
"c8c4cbda4445a6a01057"
,
30
:
"058b1f4b377ba425ef32"
,
31
:
"25e56a0ada198f72237c"
,
32
:
"1b5ebf0b612ebe8d3339"
,
33
:
"b92c2edf2d2aebac8213"
,
34
:
"8a5c4a4ba35b38dd4ac5"
,
35
:
"5bc09a539e8fce85eb2c"
,
36
:
"d98d9d0af5091b483195"
,
37
:
"cc416795d72f875e5ba5"
,
38
:
"9cfcc6e0f1b8e902f7b3"
,
39
:
"4148b009e141f51cecf2"
,
40
:
"3b77650b22332a131a9a"
,
41
:
"7417760c77f3764c15db"
,
42
:
"542389c794df8e0aead8"
,
43
:
"f40658a1ab4e833b510a"
,
44
:
"7422b4ebbf130c3e1352"
,
45
:
"88eda52b7a25e1d1a61d"
,
46
:
"5bcc341c38bc2a2c47da"
,
47
:
"ce31b632e663ade45f3e"
,
48
:
"e1f3c9946260e27d8734"
,
49
:
"db59f36fad00bbf92818"
,
50
:
"00702af26b43085c54fe"
,
51
:
"ab8716054a1178e52dd7"
,
52
:
"c04cb60444a0b98ab60a"
,
53
:
"c2f1743fb6ae55ef6350"
,
54
:
"30c1e88bfefca7df4527"
,
55
:
"5f236873b953be1fb862"
,
56
:
"920cde30f31e03a0481b"
,
57
:
"cb8e05b524029baf443d"
,
58
:
"700e9988d7308e6d37f9"
,
59
:
"f3ee362cbcbb912b4b29"
,
60
:
"5834f87d6eed92d62b07"
,
61
:
"470e6491cf25a8614300"
,
62
:
"ef9e9acbba948972940b"
,
63
:
"af9b177f00ac08a19fad"
,
64
:
"7c71db60cdd87be3077f"
,
65
:
"29b1f7f9cea0581443f1"
,
66
:
"0383a1e41683a5b3d58e"
,
67
:
"40b1d7ff975a6b37372c"
,
68
:
"a182aa7c3e4a2fe20880"
,
69
:
"c2d37a87d2c907ecb17c"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
b
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
b
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
f
.
m
=
e
,
f
.
c
=
c
,
f
.
d
=
function
(
e
,
a
,
c
){
f
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
f
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
a
,
"a"
,
a
),
a
},
f
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
f
.
p
=
"/"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/yunji/index.vue
View file @
d534a245
...
...
@@ -95,28 +95,7 @@
<el-form-item
>
<el-button
type=
"primary"
@
click=
"getList"
>
搜索
</el-button>
<el-button
type=
"primary"
plain
@
click=
"exportTable(list)"
v-if=
"$store.state.export"
>
导出
</el-button>
</el-form-item>
<el-form-item>
<el-upload
:show-file-list=
"false"
:onSuccess=
"fileSuccess"
:headers=
"uploadHeader"
:data=
"{param_token:param_token}"
action=
"/api/admin/order/import/1"
>
<el-button
type=
"primary"
plain
>
导入(500条以下)
</el-button>
</el-upload>
</el-form-item>
<el-form-item>
<el-upload
:show-file-list=
"false"
:onSuccess=
"fileSuccess"
:headers=
"uploadHeader"
:data=
"{param_token:param_token}"
action=
"/api/admin/order/import/2"
>
<el-button
type=
"warn"
plain
>
导入(500条或以上)
</el-button>
</el-upload>
<el-button
type=
"primary"
plain
@
click=
"importDialog=true"
v-if=
"$store.state.export"
>
导入
</el-button>
</el-form-item>
<el-form-item
v-if=
"!$store.state.readonly"
>
<el-button
type=
"primary"
plain
@
click=
"downLoad()"
>
excel模板下载
</el-button>
...
...
@@ -241,6 +220,34 @@
<span
slot=
"footer"
class=
"dialog-footer"
>
</span>
</el-dialog>
<el-dialog
title=
"导入"
class=
"import"
:visible
.
sync=
"importDialog"
center
width=
"600px"
>
<!-- <el-form-item> -->
<div
class=
'item'
>
<el-upload
:show-file-list=
"false"
:onSuccess=
"fileSuccess"
:headers=
"uploadHeader"
:data=
"{param_token:param_token}"
action=
"/api/admin/order/import/1"
>
<el-button
type=
"primary"
plain
>
500条以下
</el-button>
</el-upload>
</div>
<!-- </el-form-item> -->
<!-- <el-form-item> -->
<div
class=
'item'
>
<el-upload
:show-file-list=
"false"
:onSuccess=
"fileSuccess"
:headers=
"uploadHeader"
:data=
"{param_token:param_token}"
action=
"/api/admin/order/import/2"
>
<el-button
type=
"warn"
plain
>
500条或以上
</el-button>
</el-upload>
</div>
<!-- </el-form-item> -->
</el-dialog>
<el-dialog
title=
"手动创建外部订单"
:visible
.
sync=
"postOtherOrderDialog"
center
width=
"800px"
>
<el-form
ref=
"searchFrom"
size=
"small"
:model=
"postOtherOrderData"
label-width=
"125px"
>
<el-form-item
label=
"订单ID"
required=
""
style=
"width: 400px"
>
...
...
@@ -361,6 +368,7 @@ export default {
sing
:
"singsingenglish21000"
};
return
{
importDialog
:
false
,
adressDialog
:
false
,
postOtherOrderDialog
:
false
,
postOtherOrderData
:{},
...
...
@@ -883,6 +891,8 @@ export default {
border-radius
:
50%
;
}
.el-form-item__content
{
height
:
32px
;}
.import
{
top
:
20vh
;}
.import
.item
{
display
:
inline-block
;
margin-left
:
110px
}
</
style
>
<
style
>
.userInfo
>
div
{
...
...
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