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
9d4e4d58
Commit
9d4e4d58
authored
Feb 26, 2019
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外部订单 日期修改
parent
3e3b38d8
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
10 deletions
+25
-10
index.html
dev/index.html
+1
-1
33.75ac31108860c7e8b468.js
dev/static/js/33.75ac31108860c7e8b468.js
+1
-0
manifest.624a9bb294350a951795.js
dev/static/js/manifest.624a9bb294350a951795.js
+1
-0
index.html
dist/index.html
+1
-1
app.db192809033892cba984b6361fbf98dc.css
dist/static/css/app.db192809033892cba984b6361fbf98dc.css
+1
-0
28.d16b164adafd3fa7be43.js
dist/static/js/28.d16b164adafd3fa7be43.js
+1
-0
manifest.aba32ae27a0301eb9686.js
dist/static/js/manifest.aba32ae27a0301eb9686.js
+1
-0
index.vue
src/components/yunji/index.vue
+18
-8
No files found.
dev/index.html
View file @
9d4e4d58
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://unpkg.com/vue@2.5.17/dist/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1/dist/vuex.min.js
></script><script
src=
https://unpkg.com/axios@0.18.0/dist/axios.min.js
></script><script
src=
https://unpkg.com/element-ui@2.4.9/lib/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
5df6ff16310e03079ac6
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.19b07206259747695190.js
></script><script
type=
text/javascript
src=
/static/js/app.98b6f56b70d99673cb72.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://unpkg.com/vue@2.5.17/dist/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1/dist/vuex.min.js
></script><script
src=
https://unpkg.com/axios@0.18.0/dist/axios.min.js
></script><script
src=
https://unpkg.com/element-ui@2.4.9/lib/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
624a9bb294350a951795
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.19b07206259747695190.js
></script><script
type=
text/javascript
src=
/static/js/app.98b6f56b70d99673cb72.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dev/static/js/33.75ac31108860c7e8b468.js
0 → 100644
View file @
9d4e4d58
webpackJsonp
([
33
],{
"69L+"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
a
(
"NC6I"
),
i
=
a
.
n
(
s
),
o
=
a
(
"CCn6"
),
n
=
a
(
"+TkF"
),
l
=
{
name
:
"smsRecord"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
a
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
uploadHeader
:{
token
:
localStorage
.
getItem
(
"cc_token"
)},
param_token
:
i
()(
JSON
.
stringify
({
sing
:
"singsingenglish21000"
})),
nowPage
:
1
,
total
:
0
,
limit
:
10
,
useTypeList
:[{
user_buy
:
0
,
value
:
"未绑定"
},{
user_buy
:
1
,
value
:
"已绑定"
}],
searchFrom
:{
goods_id
:
""
,
mobile
:
""
,
createTime
:[],
course_type
:
"-1"
,
pullTime
:[],
order_id
:
""
,
teacher_id
:
""
,
user_id
:
""
,
nickname
:
""
},
list
:[],
teacherList
:[],
goodList
:[],
classObj
:{
show
:
!
1
,
title
:
"当前同步进度"
,
order_id
:
0
,
teacher_id
:
0
},
classList
:[],
last_pull_time
:
"无"
}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
filterGoods
:
function
(
e
){
return
"["
+
n
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
mounted
:
function
(){
this
.
getList
(),
this
.
getGoodsOption
(),
this
.
getTeacherList
()},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
})},
downLoad
:
function
(){
window
.
open
(
"/static/外部订单模板.xlsx"
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
o
.
_69
)({
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
),
"-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
),
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
Object
(
o
.
_80
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
?
t
.
list
:[]})},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
o
.
_39
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
editNote
:
function
(
e
,
t
){
var
a
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
r
=
t
.
value
;
a
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_86
)({
desc
:
r
},
e
).
then
(
function
(
e
){
a
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
a
.
getList
()})})})},
exportTable
:
function
(
e
){
if
(
e
.
length
>
0
){
var
t
=
{};
this
.
searchFrom
.
order_id
&&
(
t
.
order_id
=
this
.
searchFrom
.
order_id
),(
this
.
searchFrom
.
user_buy
||
0
==
this
.
searchFrom
.
user_buy
)
&&
(
t
.
user_buy
=
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
Object
(
o
.
_13
)(
"api/admin/yunji/order/export"
,
t
)}},
classListOption
:
function
(){
var
e
=
this
;
this
.
classObj
.
show
=!
0
,
Object
(
o
.
_80
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
classList
=
t
.
teacher
,
t
.
last_pull_time
&&
(
e
.
last_pull_time
=
t
.
last_pull_time
)})}}},
c
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"sms"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"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
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
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
,
r
){
return
a
(
"el-option"
,{
key
:
r
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"绑定状态"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"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
a
(
"el-option"
,{
key
:
e
.
user_buy
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
user_buy
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
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"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
a
(
"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
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"下单时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
createTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"createTime"
,
t
)},
expression
:
"searchFrom.createTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"付款时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
pullTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"pullTime"
,
t
)},
expression
:
"searchFrom.pullTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
exportTable
(
e
.
list
)}}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-upload"
,{
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
action
:
"/api/admin/order/import"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
}},[
e
.
_v
(
"导入"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
downLoad
()}}},[
e
.
_v
(
"excel模板下载"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"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"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
,
size
:
"mini"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"order_id"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"购买人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
a
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
a
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
a
(
"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
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
money
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"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
"
),
a
(
"br"
),
e
.
_v
(
"
\n
tel:"
+
e
.
_s
(
t
.
row
.
receiver_phone
)
+
"
\n
"
),
a
(
"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
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_time"
,
label
:
"下单时间"
,
width
:
"140px"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_time"
,
label
:
"付款时间"
,
width
:
"140px"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
a
(
"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
)}}},[
a
(
"div"
,{
staticStyle
:{
margin
:
"10px"
,
color
:
"#888888"
}},[
e
.
_v
(
"
\n
最新同步时间:"
+
e
.
_s
(
e
.
last_pull_time
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
data
:
e
.
classList
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"num"
,
label
:
"预计入班人数"
}})],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
})],
1
)],
1
)};
c
.
_withStripped
=!
0
;
var
m
=
{
render
:
c
,
staticRenderFns
:[]},
u
=
m
;
var
d
=!
1
;
var
h
=
a
(
"VU/8"
)(
l
,
u
,
!
1
,
function
(
e
){
d
||
(
a
(
"feiJ"
),
a
(
"SwjR"
))},
"data-v-1ae2f8f2"
,
null
);
h
.
options
.
__file
=
"src
\\
components
\\
yunji
\\
index.vue"
;
t
.
default
=
h
.
exports
},
O6CK
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.userInfo > div {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row nowrap;
\n
flex-flow: row nowrap;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/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 {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row nowrap;
\n
flex-flow: row nowrap;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
SwjR
:
function
(
e
,
t
,
a
){
var
r
=
a
(
"O6CK"
);
"string"
==
typeof
r
&&
(
r
=
[[
e
.
i
,
r
,
""
]]),
r
.
locals
&&
(
e
.
exports
=
r
.
locals
);
a
(
"rjj0"
)(
"0c14fd13"
,
r
,
!
1
,{})},
caQm
:
function
(
e
,
t
,
a
){(
e
.
exports
=
a
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.sms[data-v-1ae2f8f2] {
\n
padding: 20px 0;
\n
}
\n
.avatar[data-v-1ae2f8f2] {
\n
width: 50px;
\n
min-width: 50px;
\n
margin-right: 10px;
\n
height: 50px;
\n\n
border-radius: 50%;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"D:/myproject/changchang-admin-new/src/components/yunji/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gBAAgB;CACjB;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,mBAAmB;EACnB,aAAa;;EAEb,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.sms[data-v-1ae2f8f2] {
\n
padding: 20px 0;
\n
}
\n
.avatar[data-v-1ae2f8f2] {
\n
width: 50px;
\n
min-width: 50px;
\n
margin-right: 10px;
\n
height: 50px;
\n\n
border-radius: 50%;
\n
}
\n
"
],
sourceRoot
:
""
}])},
feiJ
:
function
(
e
,
t
,
a
){
var
r
=
a
(
"caQm"
);
"string"
==
typeof
r
&&
(
r
=
[[
e
.
i
,
r
,
""
]]),
r
.
locals
&&
(
e
.
exports
=
r
.
locals
);
a
(
"rjj0"
)(
"6345fe06"
,
r
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/manifest.624a9bb294350a951795.js
0 → 100644
View file @
9d4e4d58
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
54
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
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
:
"04bf919ed842b80d7220"
,
1
:
"2986755771d6f9468ac4"
,
2
:
"8066380c636c5a4d54c1"
,
3
:
"d3357b1ed08b66f1a86b"
,
4
:
"d355fcb16b9544a3ba39"
,
5
:
"f218afafb2e40e96d640"
,
6
:
"a841f01ea8066dee0a27"
,
7
:
"4fcd67c46a13752c259f"
,
8
:
"d5231b311359b23e1ef3"
,
9
:
"3649834b3b8a229f7d93"
,
10
:
"c9e3b5aa885939de201f"
,
11
:
"0df57511cdf35d308d4a"
,
12
:
"b3660f902b31d5c48386"
,
13
:
"42ec78c1a19033580903"
,
14
:
"2dbaab6f43f082f81abd"
,
15
:
"2b0e60f40c1121a444b3"
,
16
:
"fad604299c1b2a499a5e"
,
17
:
"6eb3ef4203d4f6a8d953"
,
18
:
"170aef10203adbdf8021"
,
19
:
"ce5dfd067bfd66280e90"
,
20
:
"af41aad745ba143656c2"
,
21
:
"01a9307ddfc13a8d1b8e"
,
22
:
"368f36b786b9be8b5c21"
,
23
:
"28cc04887c08dba6ae7f"
,
24
:
"3b8952fc7fb1daec0bb5"
,
25
:
"ccd69bc6af3124b367b5"
,
26
:
"6705de133151a4b5fee2"
,
27
:
"f0c59af27f26ea551288"
,
28
:
"5fa8023dec3e2dfdfe0a"
,
29
:
"f0b9af575881808ecd60"
,
30
:
"d3e8171a0bd91a933ea7"
,
31
:
"7ba7cdfdfddd25f68ab2"
,
32
:
"b90c3ebc73b1c9d51189"
,
33
:
"75ac31108860c7e8b468"
,
34
:
"2d1a136a2b9762d4e8cf"
,
35
:
"c9f96d4ec23eff355efb"
,
36
:
"16cd28b70a7a3775e8c6"
,
37
:
"e1c592fa214a6c8c6129"
,
38
:
"1bb5790354d045aad532"
,
39
:
"e18473babf9e603ffcbf"
,
40
:
"c8ebdbef45c03495b29b"
,
41
:
"6dba200c8bc974d91e61"
,
42
:
"b44529aaa35c8b216c7e"
,
43
:
"0f7d0e326122debd9bef"
,
44
:
"4b19f6f3220644b1b9da"
,
45
:
"f002ee4b50549513cd1e"
,
46
:
"54e60f6cb95f5cffeffb"
,
47
:
"f4be4ca985e3de9d7b96"
,
48
:
"bc0fe2b189cc5bce9fc3"
,
49
:
"fbf52427fa2bf5238803"
,
50
:
"d6a82a99b4801fe9625a"
,
51
:
"a861f6172353c9391d2b"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
9d4e4d58
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
2ef201b718638ff137d5c7ee8ed9c31e.css
rel=
stylesheet
></head><body><script
src=
https://unpkg.com/vue@2.5.17/dist/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1/dist/vuex.min.js
></script><script
src=
https://unpkg.com/axios@0.18.0/dist/axios.min.js
></script><script
src=
https://unpkg.com/element-ui@2.4.9/lib/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.9e2a43bb877242e52eac
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.dabb3afa5856b271bc7f.js
></script><script
type=
text/javascript
src=
/static/js/app.f07ea2c654cde72beb5e.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://unpkg.com/element-ui@2.4.9/lib/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.
db192809033892cba984b6361fbf98dc.css
rel=
stylesheet
></head><body><script
src=
https://unpkg.com/vue@2.5.17/dist/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1/dist/vuex.min.js
></script><script
src=
https://unpkg.com/axios@0.18.0/dist/axios.min.js
></script><script
src=
https://unpkg.com/element-ui@2.4.9/lib/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.aba32ae27a0301eb9686
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.dabb3afa5856b271bc7f.js
></script><script
type=
text/javascript
src=
/static/js/app.f07ea2c654cde72beb5e.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dist/static/css/app.db192809033892cba984b6361fbf98dc.css
0 → 100644
View file @
9d4e4d58
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/28.d16b164adafd3fa7be43.js
0 → 100644
View file @
9d4e4d58
webpackJsonp
([
28
],{
"69L+"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
a
(
"NC6I"
),
i
=
a
.
n
(
s
),
o
=
a
(
"CCn6"
),
l
=
a
(
"+TkF"
),
n
=
{
name
:
"smsRecord"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
a
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
a
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
a
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
uploadHeader
:{
token
:
localStorage
.
getItem
(
"cc_token"
)},
param_token
:
i
()(
JSON
.
stringify
({
sing
:
"singsingenglish21000"
})),
nowPage
:
1
,
total
:
0
,
limit
:
10
,
useTypeList
:[{
user_buy
:
0
,
value
:
"未绑定"
},{
user_buy
:
1
,
value
:
"已绑定"
}],
searchFrom
:{
goods_id
:
""
,
mobile
:
""
,
createTime
:[],
course_type
:
"-1"
,
pullTime
:[],
order_id
:
""
,
teacher_id
:
""
,
user_id
:
""
,
nickname
:
""
},
list
:[],
teacherList
:[],
goodList
:[],
classObj
:{
show
:
!
1
,
title
:
"当前同步进度"
,
order_id
:
0
,
teacher_id
:
0
},
classList
:[],
last_pull_time
:
"无"
}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
filterGoods
:
function
(
e
){
return
"["
+
l
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
mounted
:
function
(){
this
.
getList
(),
this
.
getGoodsOption
(),
this
.
getTeacherList
()},
methods
:{
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
})},
downLoad
:
function
(){
window
.
open
(
"/static/外部订单模板.xlsx"
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
o
.
_69
)({
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
),
"-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
),
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
Object
(
o
.
_80
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
?
t
.
list
:[]})},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
o
.
_39
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
editNote
:
function
(
e
,
t
){
var
a
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
r
=
t
.
value
;
a
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_86
)({
desc
:
r
},
e
).
then
(
function
(
e
){
a
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
a
.
getList
()})})})},
exportTable
:
function
(
e
){
if
(
e
.
length
>
0
){
var
t
=
{};
this
.
searchFrom
.
order_id
&&
(
t
.
order_id
=
this
.
searchFrom
.
order_id
),(
this
.
searchFrom
.
user_buy
||
0
==
this
.
searchFrom
.
user_buy
)
&&
(
t
.
user_buy
=
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
Object
(
o
.
_13
)(
"api/admin/yunji/order/export"
,
t
)}},
classListOption
:
function
(){
var
e
=
this
;
this
.
classObj
.
show
=!
0
,
Object
(
o
.
_80
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
classList
=
t
.
teacher
,
t
.
last_pull_time
&&
(
e
.
last_pull_time
=
t
.
last_pull_time
)})}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"sms"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"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
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
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
,
r
){
return
a
(
"el-option"
,{
key
:
r
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"绑定状态"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"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
a
(
"el-option"
,{
key
:
e
.
user_buy
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
user_buy
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
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"
}},
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
a
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
a
(
"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
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"下单时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
createTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"createTime"
,
t
)},
expression
:
"searchFrom.createTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"付款时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
pullTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"pullTime"
,
t
)},
expression
:
"searchFrom.pullTime"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
exportTable
(
e
.
list
)}}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-upload"
,{
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
action
:
"/api/admin/order/import"
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
}},[
e
.
_v
(
"导入"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
downLoad
()}}},[
e
.
_v
(
"excel模板下载"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"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"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
,
size
:
"mini"
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"order_id"
,
label
:
"订单号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"购买人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
a
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
a
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
a
(
"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
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
money
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"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
"
),
a
(
"br"
),
e
.
_v
(
"
\n
tel:"
+
e
.
_s
(
t
.
row
.
receiver_phone
)
+
"
\n
"
),
a
(
"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
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_time"
,
label
:
"下单时间"
,
width
:
"140px"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_time"
,
label
:
"付款时间"
,
width
:
"140px"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
a
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)])]}}])})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
a
(
"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
)}}},[
a
(
"div"
,{
staticStyle
:{
margin
:
"10px"
,
color
:
"#888888"
}},[
e
.
_v
(
"
\n
最新同步时间:"
+
e
.
_s
(
e
.
last_pull_time
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
data
:
e
.
classList
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"num"
,
label
:
"预计入班人数"
}})],
1
),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
})],
1
)],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
n
,
c
,
!
1
,
function
(
e
){
a
(
"xBkF"
),
a
(
"X3Bo"
)},
"data-v-4b36c41e"
,
null
);
t
.
default
=
m
.
exports
},
X3Bo
:
function
(
e
,
t
){},
xBkF
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/manifest.aba32ae27a0301eb9686.js
0 → 100644
View file @
9d4e4d58
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
54
:
0
};
function
b
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
b
){
a
=
f
[
e
]
=
[
c
,
b
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"f5968bd457f58cea9e47"
,
1
:
"41d25c420bebbfeb3e4a"
,
2
:
"e10cd218f4c9bb84034d"
,
3
:
"32f0b58fb70ae670879a"
,
4
:
"fde890a507adaae38acc"
,
5
:
"5eebeab0cc13b49d177b"
,
6
:
"2be9167b26eabe4481bc"
,
7
:
"59e4edb7b6eac2020982"
,
8
:
"a5f40934f3974f707e64"
,
9
:
"508c2db6ad1ce23b246b"
,
10
:
"56579e1bf4ca204c596c"
,
11
:
"cb3b7c8e4baffcc80a23"
,
12
:
"55af00c9b456b4e72836"
,
13
:
"af9e9dc94897f13bbe42"
,
14
:
"89fab4d4cc8dbfd3f8a7"
,
15
:
"3f6c1b93e21902aef4bc"
,
16
:
"4653ad18dc393d3e1926"
,
17
:
"45d7744a1f1275a7eccf"
,
18
:
"ff0729d2ad1d5d0c9375"
,
19
:
"611c6d9ab2cfbe35bb86"
,
20
:
"907ca4fc40f805e42a12"
,
21
:
"7e24ee8ee2205da9a8a4"
,
22
:
"7724849c255db8abb274"
,
23
:
"8f75bf7e8de3b73e642d"
,
24
:
"390eeb03771cf0ab539f"
,
25
:
"8ff7fac165d2fcea8b28"
,
26
:
"a9c1788f8d8fa32c24da"
,
27
:
"86827c45da28bb0e25ae"
,
28
:
"d16b164adafd3fa7be43"
,
29
:
"b6c67cb52e8fb4ac3de3"
,
30
:
"775f819861de0b44705d"
,
31
:
"fa2cff02b35eace0df5f"
,
32
:
"78827177d063f5d912ee"
,
33
:
"58a2e0af685001378440"
,
34
:
"9795847fe16fa99a1aa0"
,
35
:
"8af8020979de9eb5fa3a"
,
36
:
"30f6c5df3a57e073a8f4"
,
37
:
"c231c3e8c02b52d7fb39"
,
38
:
"7a1401a413510ac96b63"
,
39
:
"b5bf6e2956e31106fce4"
,
40
:
"29fb35d600d185c701c6"
,
41
:
"9386854e603ecf256a40"
,
42
:
"45b43e4e59ef68d11090"
,
43
:
"0488afb66241270d05d8"
,
44
:
"c5a276600bb2a8665c39"
,
45
:
"739493ada2bdbb1408e7"
,
46
:
"bb6300d45a8d30e88a68"
,
47
:
"cf4b655b9d6eaf21030c"
,
48
:
"b163cd5e2750e3f00800"
,
49
:
"668613c777307089d478"
,
50
:
"c56cb86db8e51549da41"
,
51
:
"d11b1ca4f96751ce46db"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
a
,
c
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/yunji/index.vue
View file @
9d4e4d58
...
@@ -174,29 +174,29 @@ export default {
...
@@ -174,29 +174,29 @@ export default {
return
{
return
{
today
:{
today
:{
text
:
'今天'
,
text
:
'今天'
,
onClick
:()
=>
{
onClick
:(
vm
)
=>
{
this
.
searchFrom
.
payTime
=
[
this
.
formatTime
(
new
Date
())
+
' 00:00:00'
,
this
.
formatTime
(
new
Date
())
+
' 23:59:59'
];
vm
.
$emit
(
'pick'
,
[
this
.
formatTime
(
new
Date
())
+
' 00:00:00'
,
this
.
formatTime
(
new
Date
())
+
' 23:59:59'
])
}
}
},
},
yesterday
:{
yesterday
:{
text
:
'昨天'
,
text
:
'昨天'
,
onClick
:()
=>
{
onClick
:(
vm
)
=>
{
let
preDate
=
this
.
formatTime
(
new
Date
(
new
Date
().
getTime
()
-
24
*
60
*
60
*
1000
));
let
preDate
=
this
.
formatTime
(
new
Date
(
new
Date
().
getTime
()
-
24
*
60
*
60
*
1000
));
this
.
searchFrom
.
payTime
=
[
preDate
+
' 00:00:00'
,
preDate
+
' 23:59:59'
];
vm
.
$emit
(
'pick'
,
[
preDate
+
' 00:00:00'
,
preDate
+
' 23:59:59'
])
}
}
},
},
last30Day
:{
last30Day
:{
text
:
'过去30天'
,
text
:
'过去30天'
,
onClick
:()
=>
{
onClick
:(
vm
)
=>
{
let
preDate
=
this
.
formatTime
(
new
Date
(
new
Date
().
getTime
()
-
30
*
24
*
60
*
60
*
1000
));
let
preDate
=
this
.
formatTime
(
new
Date
(
new
Date
().
getTime
()
-
30
*
24
*
60
*
60
*
1000
));
this
.
searchFrom
.
payTime
=
[
preDate
+
' 00:00:00'
,
this
.
formatTime
(
new
Date
())
+
' 23:59:59'
]
;
vm
.
$emit
(
'pick'
,
[
preDate
+
' 00:00:00'
,
this
.
formatTime
(
new
Date
())
+
' 23:59:59'
])
;
}
}
},
},
last7Day
:{
last7Day
:{
text
:
'过去7天'
,
text
:
'过去7天'
,
onClick
:()
=>
{
onClick
:(
vm
)
=>
{
let
preDate
=
this
.
formatTime
(
new
Date
(
new
Date
().
getTime
()
-
7
*
24
*
60
*
60
*
1000
));
let
preDate
=
this
.
formatTime
(
new
Date
(
new
Date
().
getTime
()
-
7
*
24
*
60
*
60
*
1000
));
this
.
searchFrom
.
payTime
=
[
preDate
+
' 00:00:00'
,
this
.
formatTime
(
new
Date
())
+
' 23:59:59'
]
;
vm
.
$emit
(
'pick'
,
[
preDate
+
' 00:00:00'
,
this
.
formatTime
(
new
Date
())
+
' 23:59:59'
])
;
}
}
},
},
uploadHeader
:{
token
:
localStorage
.
getItem
(
'cc_token'
)},
uploadHeader
:{
token
:
localStorage
.
getItem
(
'cc_token'
)},
...
@@ -266,6 +266,16 @@ export default {
...
@@ -266,6 +266,16 @@ export default {
this
.
getTeacherList
();
this
.
getTeacherList
();
},
},
methods
:
{
methods
:
{
formatTime
(
date
){
let
year
=
date
.
getFullYear
();
let
Month
=
date
.
getMonth
()
+
1
;
if
(
Month
<
10
){
Month
=
`0
${
Month
}
`
}
let
Day
=
date
.
getDate
();
if
(
Day
<
10
)
Day
=
`0
${
Day
}
`
;
return
`
${
year
}
-
${
Month
}
-
${
Day
}
`
;
},
fileSuccess
(){
fileSuccess
(){
this
.
$message
({
this
.
$message
({
message
:
'提交成功,请稍后刷新'
,
message
:
'提交成功,请稍后刷新'
,
...
...
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