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
92ceea9c
Commit
92ceea9c
authored
Jul 31, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
731
parent
0573468a
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
3 deletions
+9
-3
index.html
dist/index.html
+1
-1
app.835bacbe6cd60d101cd920f815c658f6.css
dist/static/css/app.835bacbe6cd60d101cd920f815c658f6.css
+1
-0
36.247aa437a73768648ed6.js
dist/static/js/36.247aa437a73768648ed6.js
+1
-0
37.925544c694f4c88a6177.js
dist/static/js/37.925544c694f4c88a6177.js
+1
-0
app.0c9212c87a24e5cad0f2.js
dist/static/js/app.0c9212c87a24e5cad0f2.js
+1
-0
manifest.8fddf246e49791401901.js
dist/static/js/manifest.8fddf246e49791401901.js
+1
-0
index.html
index.html
+2
-1
index.vue
src/components/coupon/index.vue
+1
-1
No files found.
dist/index.html
View file @
92ceea9c
<!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.
018fd36890641c9d60d522f7928e3276.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.83191ee41c16fa551d01.js
></script><script
type=
text/javascript
src=
/static/js/vendor.ee6bbc8cffdb2ad400d2.js
></script><script
type=
text/javascript
src=
/static/js/app.8ea6e77a49e8fb34782b
.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.
835bacbe6cd60d101cd920f815c658f6.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.8fddf246e49791401901.js
></script><script
type=
text/javascript
src=
/static/js/vendor.ee6bbc8cffdb2ad400d2.js
></script><script
type=
text/javascript
src=
/static/js/app.0c9212c87a24e5cad0f2
.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.835bacbe6cd60d101cd920f815c658f6.css
0 → 100644
View file @
92ceea9c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/36.247aa437a73768648ed6.js
0 → 100644
View file @
92ceea9c
webpackJsonp
([
36
],{
"5SHU"
:
function
(
t
,
e
){},
JKpU
:
function
(
t
,
e
){},
WvRy
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"CCn6"
),
s
=
{
name
:
"index"
,
components
:{
page
:
a
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
useTypeList
:[{
id
:
0
,
value
:
"未使用"
},{
id
:
1
,
value
:
"已使用"
},{
id
:
2
,
value
:
"禁用"
}],
searchFrom
:{
user_id
:
""
,
out_trade_no
:
""
,
status
:
0
},
list
:[],
dialogObj
:{
show
:
!
1
},
value1
:
""
,
rowId
:
""
}},
filters
:{
filterStatus
:
function
(
t
){
var
e
=
""
;
return
0
===
t
?
e
=
"未使用"
:
1
===
t
?
e
=
"已使用"
:
2
===
t
&&
(
e
=
"禁用"
),
e
}},
mounted
:
function
(){
this
.
getList
()},
methods
:{
editTime
:
function
(
t
){
this
.
dialogObj
.
show
=!
0
,
this
.
value1
=
new
Date
(
t
.
deadline_at
),
this
.
rowId
=
t
.
id
,
console
.
log
(
t
)},
onConfirm
:
function
(){
var
t
=
this
;
console
.
log
(
this
.
value1
),
Object
(
o
.
_11
)({
deadline_at
:
this
.
value1
},
this
.
rowId
).
then
(
function
(
e
){
t
.
dialogObj
.
show
=!
1
,
t
.
getList
()})},
dayline
:
function
(
t
){
return
"0000-00-00 00:00:00"
==
t
.
deadline_at
?
"永不过期"
:
t
.
deadline_at
},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getList
()},
onSizeChange
:
function
(
t
){
this
.
nowPage
=
1
,
this
.
limit
=
t
,
this
.
getList
()},
getList
:
function
(){
var
t
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),(
this
.
searchFrom
.
status
||
0
===
this
.
searchFrom
.
status
)
&&
(
e
.
status
=
this
.
searchFrom
.
status
),
this
.
searchFrom
.
out_trade_no
&&
(
e
.
out_trade_no
=
this
.
searchFrom
.
out_trade_no
),
Object
(
o
.
_52
)(
e
).
then
(
function
(
e
){
t
.
total
=
e
.
total
,
t
.
list
=
e
.
list
?
e
.
list
:[]})}}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"refund"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
t
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
user_id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"user_id"
,
e
)},
expression
:
"searchFrom.user_id"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
a
(
"el-input"
,{
model
:{
value
:
t
.
searchFrom
.
out_trade_no
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"out_trade_no"
,
e
)},
expression
:
"searchFrom.out_trade_no"
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"使用状态"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
t
.
getList
},
model
:{
value
:
t
.
searchFrom
.
status
,
callback
:
function
(
e
){
t
.
$set
(
t
.
searchFrom
,
"status"
,
e
)},
expression
:
"searchFrom.status"
}},
t
.
_l
(
t
.
useTypeList
,
function
(
t
){
return
a
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
t
.
value
,
value
:
t
.
id
}})}))],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
getList
}},[
t
.
_v
(
"搜索"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"coupon_no"
,
label
:
"优惠券码"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"订单号"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
,
"min-width"
:
"140"
,
className
:
"userInfo"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
t
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"优惠券金额"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
parseFloat
(
e
.
row
.
money
/
100
))
+
"元
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"使用状态"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\n
"
+
t
.
_s
(
t
.
_f
(
"filterStatus"
)(
e
.
row
.
status
))
+
"
\n
"
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"deadline_at"
,
label
:
"过期时间"
,
formatter
:
t
.
dayline
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"use_at"
,
label
:
"使用时间"
,
sortable
:
""
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
a
){
t
.
editTime
(
e
.
row
)}}},[
t
.
_v
(
"
\n
修改过期时间
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"修改过期时间"
,
visible
:
t
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
e
){
t
.
$set
(
t
.
dialogObj
,
"show"
,
e
)}}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetime"
,
"value-format"
:
"yyyy-MM-dd-HH-mm-ss"
,
placeholder
:
"选择日期时间"
},
model
:{
value
:
t
.
value1
,
callback
:
function
(
e
){
t
.
value1
=
e
},
expression
:
"value1"
}}),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
dialogObj
.
show
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
onConfirm
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
),
t
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
t
.
nowPage
,
total
:
t
.
total
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
s
,
l
,
!
1
,
function
(
t
){
a
(
"JKpU"
),
a
(
"5SHU"
)},
"data-v-567ad96a"
,
null
);
e
.
default
=
n
.
exports
}});
\ No newline at end of file
dist/static/js/37.925544c694f4c88a6177.js
0 → 100644
View file @
92ceea9c
This diff is collapsed.
Click to expand it.
dist/static/js/app.0c9212c87a24e5cad0f2.js
0 → 100644
View file @
92ceea9c
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.8fddf246e49791401901.js
0 → 100644
View file @
92ceea9c
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
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
=
{},
a
=
{
70
:
0
};
function
b
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
b
),
a
.
l
=!
0
,
a
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
c
=
a
[
e
]
=
[
f
,
b
]});
c
[
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
:
"2fe593be7397e6c8b9a6"
,
1
:
"e279586b39f6559ec18c"
,
2
:
"cde85624d8857b4670e8"
,
3
:
"d9e77e0bfd796116de33"
,
4
:
"64e32d13d0cb8c5549b8"
,
5
:
"af4b7e5e5b6895ca3b4b"
,
6
:
"1d737ca0423a21c8e7bf"
,
7
:
"b5896f98cf9e1b9ef26c"
,
8
:
"452c1511430941186d22"
,
9
:
"1437496a747ba8ae6a5a"
,
10
:
"4d599138879ace224b28"
,
11
:
"3b79614b347ff5994ba7"
,
12
:
"8d872fc4ee7b29e53c85"
,
13
:
"1ad793aafa52854c4e06"
,
14
:
"581498c4432c76083a8e"
,
15
:
"0872b14b3fcf11ef69f8"
,
16
:
"e7b02e73635111ce1f01"
,
17
:
"f407b3af09b84cd0150a"
,
18
:
"6557786d195b9ccfdcfd"
,
19
:
"99345919ad5dc5848ec8"
,
20
:
"f16ab7a1c666379dbd0f"
,
21
:
"1551d369cb3bc8ce3588"
,
22
:
"b95bf0e6c61905058351"
,
23
:
"e75b5bc706f78d534d9d"
,
24
:
"d58093f468065feda426"
,
25
:
"2e68a20df1657c9de3d6"
,
26
:
"554d9cfda75592924102"
,
27
:
"28ff2bc8621ed239b71f"
,
28
:
"1c3cf6b454479e1c1f7b"
,
29
:
"4e822e63ff1bcbc14162"
,
30
:
"455c49c2fec3dfbfa2eb"
,
31
:
"1c3f1b652018be655519"
,
32
:
"8ea1589d05aec12c10aa"
,
33
:
"1e4a1b2689726faeec1c"
,
34
:
"6b22e8fa1fbba25f31a3"
,
35
:
"646dd5773f8e45a240c2"
,
36
:
"247aa437a73768648ed6"
,
37
:
"925544c694f4c88a6177"
,
38
:
"d0d5be36c0b663727e66"
,
39
:
"f8c84a0978447862be2d"
,
40
:
"79ffc9773055443de3ae"
,
41
:
"f02b11c971ad81e4b852"
,
42
:
"9ddb2109ad2a184d1aeb"
,
43
:
"201a43bd4f25509da636"
,
44
:
"4cd927d1beeb1eb03e7f"
,
45
:
"2c1e846220ec8e9e2732"
,
46
:
"acdf4b9cfba4319fd526"
,
47
:
"35771232868fe78ab72d"
,
48
:
"83b2d3a51baa39f918fe"
,
49
:
"30e06597c06e17993be3"
,
50
:
"040217a861897aec0d65"
,
51
:
"dcb6169cd9135aef0bef"
,
52
:
"f8dae6efa1ae6cd48da7"
,
53
:
"d0d2c8c28cd2a77d5673"
,
54
:
"143247583b003c1402e5"
,
55
:
"532efd95fcf915f5f1a8"
,
56
:
"049f25a6658844ffb7bf"
,
57
:
"c99c2a2f0e5d1ab88d8e"
,
58
:
"74343ed15c0a649902ad"
,
59
:
"f3ee362cbcbb912b4b29"
,
60
:
"db82d558d1ab18cb61f6"
,
61
:
"f370bf9f2106ab67ce77"
,
62
:
"eb62c10416d15e49229a"
,
63
:
"29e73ed2ce65fe21ef18"
,
64
:
"0c3aec5434272119f040"
,
65
:
"9ba497838f1ec1f4d88d"
,
66
:
"92cadb0befba54d673a9"
,
67
:
"8862fbb146929fd02f85"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
c
,
f
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
index.html
View file @
92ceea9c
...
@@ -10,7 +10,8 @@
...
@@ -10,7 +10,8 @@
</head>
</head>
<body>
<body>
<!-- 先引入 Vue -->
<!-- 先引入 Vue -->
<script
src=
"https://cdn.bootcss.com/vue/2.5.17/vue.min.js"
></script>
<script
src=
"https://cdn.bootcss.com/vue/2.5.17/vue.js"
></script>
<!-- <script src="https://cdn.bootcss.com/vue/2.5.17/vue.min.js"></script> -->
<script
src=
"https://unpkg.com/vuex@3.0.1"
></script>
<script
src=
"https://unpkg.com/vuex@3.0.1"
></script>
<!-- 引入组件库 -->
<!-- 引入组件库 -->
<script
src=
"https://cdn.bootcss.com/axios/0.18.0/axios.min.js"
></script>
<script
src=
"https://cdn.bootcss.com/axios/0.18.0/axios.min.js"
></script>
...
...
src/components/coupon/index.vue
View file @
92ceea9c
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<el-date-picker
<el-date-picker
v-model=
"value1"
v-model=
"value1"
type=
"datetime"
type=
"datetime"
value-format=
"yyyy-MM-dd-
hh
-mm-ss"
value-format=
"yyyy-MM-dd-
HH
-mm-ss"
placeholder=
"选择日期时间"
>
placeholder=
"选择日期时间"
>
</el-date-picker>
</el-date-picker>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
...
...
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