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
0b582ee7
Commit
0b582ee7
authored
Nov 23, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build
parent
c3c860af
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
17 additions
and
2 deletions
+17
-2
index.html
dev/index.html
+1
-1
38.7a33d778414d2b9007a1.js
dev/static/js/38.7a33d778414d2b9007a1.js
+1
-0
manifest.f0f4f998407c44852bb9.js
dev/static/js/manifest.f0f4f998407c44852bb9.js
+1
-0
index.html
dist/index.html
+1
-1
app.d39fa536c9cae404a3bd496eab823c96.css
dist/static/css/app.d39fa536c9cae404a3bd496eab823c96.css
+1
-0
30.9ca0435baabeae961554.js
dist/static/js/30.9ca0435baabeae961554.js
+1
-0
31.56f47ffd47a8b4bae053.js
dist/static/js/31.56f47ffd47a8b4bae053.js
+1
-0
32.bd2ad65ee7d2a1e3d74b.js
dist/static/js/32.bd2ad65ee7d2a1e3d74b.js
+1
-0
33.80d22d4b889321e2bc81.js
dist/static/js/33.80d22d4b889321e2bc81.js
+1
-0
34.bb83ac3bad4fbc45e152.js
dist/static/js/34.bb83ac3bad4fbc45e152.js
+1
-0
35.3dae882f379695db2804.js
dist/static/js/35.3dae882f379695db2804.js
+1
-0
36.1c9522fb7de5737fe46e.js
dist/static/js/36.1c9522fb7de5737fe46e.js
+1
-0
37.0d4d448b2cc152d86bf2.js
dist/static/js/37.0d4d448b2cc152d86bf2.js
+1
-0
38.12e24c58d46c537b431a.js
dist/static/js/38.12e24c58d46c537b431a.js
+1
-0
39.2e4806bf1ac60ac2c531.js
dist/static/js/39.2e4806bf1ac60ac2c531.js
+1
-0
app.4684e57bcaa4d5a130d3.js
dist/static/js/app.4684e57bcaa4d5a130d3.js
+1
-0
manifest.aab3ed16309f32053169.js
dist/static/js/manifest.aab3ed16309f32053169.js
+1
-0
No files found.
dev/index.html
View file @
0b582ee7
<!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_bhids3f63a6.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.2bd92fe7ddc6125266c2e648a580d878.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.
8483de9dc941f81a756c
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.c2723610b2dc22ed2d0a.js
></script><script
type=
text/javascript
src=
/static/js/app.90f2b38bf8b9cf3aa297.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_bhids3f63a6.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.2bd92fe7ddc6125266c2e648a580d878.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.
f0f4f998407c44852bb9
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.c2723610b2dc22ed2d0a.js
></script><script
type=
text/javascript
src=
/static/js/app.90f2b38bf8b9cf3aa297.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/38.7a33d778414d2b9007a1.js
0 → 100644
View file @
0b582ee7
This diff is collapsed.
Click to expand it.
dev/static/js/manifest.f0f4f998407c44852bb9.js
0 → 100644
View file @
0b582ee7
!
function
(
e
){
var
f
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
n
,
r
){
for
(
var
t
,
o
,
b
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
o
=
a
[
i
],
c
[
o
]
&&
u
.
push
(
c
[
o
][
0
]),
c
[
o
]
=
0
;
for
(
t
in
n
)
Object
.
prototype
.
hasOwnProperty
.
call
(
n
,
t
)
&&
(
e
[
t
]
=
n
[
t
]);
for
(
f
&&
f
(
a
,
n
,
r
);
u
.
length
;)
u
.
shift
()();
if
(
r
)
for
(
i
=
0
;
i
<
r
.
length
;
i
++
)
b
=
d
(
d
.
s
=
r
[
i
]);
return
b
};
var
a
=
{},
c
=
{
43
:
0
};
function
d
(
f
){
if
(
a
[
f
])
return
a
[
f
].
exports
;
var
c
=
a
[
f
]
=
{
i
:
f
,
l
:
!
1
,
exports
:{}};
return
e
[
f
].
call
(
c
.
exports
,
c
,
c
.
exports
,
d
),
c
.
l
=!
0
,
c
.
exports
}
d
.
e
=
function
(
e
){
var
f
=
c
[
e
];
if
(
0
===
f
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
f
)
return
f
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
f
=
c
[
e
]
=
[
a
,
d
]});
f
[
2
]
=
a
;
var
n
=
document
.
getElementsByTagName
(
"head"
)[
0
],
r
=
document
.
createElement
(
"script"
);
r
.
type
=
"text/javascript"
,
r
.
charset
=
"utf-8"
,
r
.
async
=!
0
,
r
.
timeout
=
12
e4
,
d
.
nc
&&
r
.
setAttribute
(
"nonce"
,
d
.
nc
),
r
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"c8a70c2fbebeab07ebde"
,
1
:
"6ab1d9f0e03a03e1e7bf"
,
2
:
"118e522ec0b8b98f58e5"
,
3
:
"b0c8a527905ea363c621"
,
4
:
"f716b45371ca45e5e419"
,
5
:
"de465bae31c8ea0ec012"
,
6
:
"940b1b22ef746ee33726"
,
7
:
"36fb5fd08adfbd44a246"
,
8
:
"383675fda244e98dcb89"
,
9
:
"114f8ffd8cdaffdec486"
,
10
:
"9b2bd73edc6d99803294"
,
11
:
"4f86e205af0d3c516fad"
,
12
:
"6abcdef9cbca8dcd4792"
,
13
:
"3a665a5bfb90ac310945"
,
14
:
"6de91795b54e546b184c"
,
15
:
"0f152497e822ad3fce91"
,
16
:
"d2f2d67ef95681d45257"
,
17
:
"75bf74af802bb6b63fcd"
,
18
:
"e9a70f02feb03598be96"
,
19
:
"d402c56519afb21259eb"
,
20
:
"752338cc2e2b30992e2f"
,
21
:
"1da27020c9f9fb61d365"
,
22
:
"c2bdd8c5ffd37981e818"
,
23
:
"e0e06debe6463d81ec50"
,
24
:
"d50ff3c61bacf3a060fd"
,
25
:
"0e45219fd658aa7293fe"
,
26
:
"b6f63497dd76edfd9603"
,
27
:
"f4784d28a71fd05d4579"
,
28
:
"45e057bec5a915531caf"
,
29
:
"8ff48e5f8826fb25b824"
,
30
:
"a96a8fe8e296989c17d9"
,
31
:
"e8d129c3a1c62a35a5e3"
,
32
:
"acd9761033a28086be20"
,
33
:
"582f7a015a384aa87687"
,
34
:
"91456c3936d7f4a6b263"
,
35
:
"90329dff408a319ff3d1"
,
36
:
"93ce9fa9136391a8f86f"
,
37
:
"d9630c45f67dc330b595"
,
38
:
"7a33d778414d2b9007a1"
,
39
:
"7edc59c32d3792c81a7a"
,
40
:
"c5bf2333a7137f63c529"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
o
,
12
e4
);
function
o
(){
r
.
onerror
=
r
.
onload
=
null
,
clearTimeout
(
t
);
var
f
=
c
[
e
];
0
!==
f
&&
(
f
&&
f
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
r
.
onerror
=
r
.
onload
=
o
,
n
.
appendChild
(
r
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
f
,
a
){
d
.
o
(
e
,
f
)
||
Object
.
defineProperty
(
e
,
f
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
f
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
f
,
"a"
,
f
),
f
},
d
.
o
=
function
(
e
,
f
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
f
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
0b582ee7
<!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_bhids3f63a6.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.
1c8a80c967dd87c82f12b2f4eded4346.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.5e903c013c658f8e1c86.js
></script><script
type=
text/javascript
src=
/static/js/vendor.fc0e4ede3fe733f599bf.js
></script><script
type=
text/javascript
src=
/static/js/app.d5d7a8169f9aa4a09c67
.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_bhids3f63a6.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.
d39fa536c9cae404a3bd496eab823c96.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.aab3ed16309f32053169.js
></script><script
type=
text/javascript
src=
/static/js/vendor.fc0e4ede3fe733f599bf.js
></script><script
type=
text/javascript
src=
/static/js/app.4684e57bcaa4d5a130d3
.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.d39fa536c9cae404a3bd496eab823c96.css
0 → 100644
View file @
0b582ee7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/30.9ca0435baabeae961554.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
30
],{
fWCI
:
function
(
t
,
e
){},
sJm1
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
{
render
:
function
(){
this
.
$createElement
;
this
.
_self
.
_c
;
return
this
.
_m
(
0
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"index"
},[
e
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
,
"margin-top"
:
"5%"
}},[
this
.
_v
(
"正在开发中..."
)])])}]};
var
r
=
n
(
"VU/8"
)({
data
:
function
(){
return
{
content
:
"我是富文本编辑器的内容"
,
editorSetting
:{
height
:
400
}}},
components
:{}},
i
,
!
1
,
function
(
t
){
n
(
"fWCI"
)},
"data-v-7d2db85a"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/31.56f47ffd47a8b4bae053.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
31
],{
"M/8r"
:
function
(
e
,
t
){},
Vt1u
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"CCn6"
),
i
=
{
components
:{
page
:
n
(
"kmJW"
).
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
roleList
:[],
dialog
:{
title
:
"新增角色"
,
show
:
!
1
,
select
:[],
chooseed
:[],
rules
:{
name
:[{
required
:
!
0
,
message
:
"请填写角色名称"
,
trigger
:
"change"
}]},
form
:{
name
:
""
,
menu_ids
:[],
id
:
""
}}}},
created
:
function
(){
this
.
getList
(),
this
.
getMenuList
()},
methods
:{
getMenuList
:
function
(){
var
e
=
this
;
Object
(
o
.
_30
)().
then
(
function
(
t
){
t
&&
(
t
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
,
"订单列表"
===
e
.
name
&&
(
e
.
refund
=!
1
)})}),
e
.
dialog
.
select
=
t
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
o
.
_41
)(
t
).
then
(
function
(
t
){
t
&&
(
e
.
roleList
=
t
.
list
,
e
.
total
=
t
.
total
)})},
edit
:
function
(
e
){
var
t
=
this
;
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑角色"
,
Object
(
o
.
_30
)().
then
(
function
(
n
){
n
&&
(
n
.
forEach
(
function
(
e
){
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
readonly
=!
1
,
e
.
delete
=!
1
,
"订单列表"
===
e
.
name
&&
(
e
.
refund
=!
1
)})}),
t
.
dialog
.
select
=
n
,
Object
(
o
.
_40
)(
e
.
id
).
then
(
function
(
e
){
t
.
dialog
.
form
.
name
=
e
.
name
,
t
.
dialog
.
form
.
menu_ids
=
JSON
.
parse
(
e
.
menu_ids
),
t
.
dialog
.
chooseed
=
[],
t
.
dialog
.
form
.
menu_ids
.
forEach
(
function
(
e
){
t
.
dialog
.
chooseed
.
push
(
e
.
id
),
t
.
dialog
.
select
.
forEach
(
function
(
t
){
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
id
===
e
.
id
&&
(
t
.
readonly
=!!
e
.
readonly
,
t
.
delete
=!!
e
.
delete
,
"5-1"
===
e
.
cover
&&
(
t
.
refund
=!!
e
.
refund
))})})}),
t
.
dialog
.
show
=!
0
,
t
.
$nextTick
(
function
(){
this
.
$refs
.
tree
.
setCheckedKeys
(
this
.
dialog
.
chooseed
)})}))})},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增菜单"
,
this
.
dialog
.
form
.
name
=
""
,
this
.
dialog
.
form
.
menu_ids
=
[],
this
.
getMenuList
()},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
G
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getList
()})})},
sub
:
function
(){
var
e
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
n
=
[];
e
.
$refs
.
tree
.
getCheckedNodes
().
forEach
(
function
(
e
){
var
t
=
void
0
;
!
1
!==
e
.
readonly
&&!
0
!==
e
.
readonly
||
(
t
=
{
id
:
e
.
id
,
cover
:
e
.
cover
,
readonly
:
e
.
readonly
}),
!
1
!==
e
.
delete
&&!
0
!==
e
.
delete
||
(
t
.
delete
=
e
.
delete
),
!
1
!==
e
.
refund
&&!
0
!==
e
.
refund
||
(
t
.
refund
=
e
.
refund
),
t
&&
n
.
push
(
t
)});
var
i
=
e
.
dialog
;
if
(
i
.
form
.
id
){
var
a
=
{
name
:
i
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
n
)};
e
.
$confirm
(
"此操作将修改该角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_73
)(
i
.
form
.
id
,
a
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
i
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
l
=
{
name
:
i
.
form
.
name
,
menu_ids
:
JSON
.
stringify
(
n
)};
e
.
$confirm
(
"此操作将添加新角色?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_63
)(
l
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
i
.
show
=!
1
,
e
.
getList
()})})}}})}}},
a
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"role"
},[
n
(
"div"
,{
staticClass
:
"head clear-both"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增角色"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
roleList
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"角色ID"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"角色名称"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
&&!
e
.
$store
.
state
.
readonly
?
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
n
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"40%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"角色名称"
,
prop
:
"name"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"name"
,
t
)},
expression
:
"dialog.form.name"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"菜单选项"
}},[
n
(
"div"
,{
staticClass
:
"custom-tree-container"
},[
n
(
"el-tree"
,{
ref
:
"tree"
,
attrs
:{
data
:
e
.
dialog
.
select
,
"show-checkbox"
:
""
,
"node-key"
:
"id"
,
"default-checked-keys"
:
e
.
dialog
.
chooseed
,
"default-expand-all"
:
""
,
"expand-on-click-node"
:
!
1
,
props
:{
children
:
"children"
,
label
:
"name"
,
value
:
!
1
}},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
o
=
t
.
node
,
i
=
t
.
data
;
return
n
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
o
.
label
))]),
e
.
_v
(
" "
),
0
!==
i
.
pid
?
n
(
"span"
,[
"5-1"
===
i
.
cover
?
n
(
"el-checkbox"
,{
model
:{
value
:
i
.
refund
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"refund"
,
t
)},
expression
:
"data.refund"
}},[
e
.
_v
(
"退款"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"el-checkbox"
,{
model
:{
value
:
i
.
readonly
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"readonly"
,
t
)},
expression
:
"data.readonly"
}},[
e
.
_v
(
"只读"
)]),
e
.
_v
(
" "
),
n
(
"el-checkbox"
,{
model
:{
value
:
i
.
delete
,
callback
:
function
(
t
){
e
.
$set
(
i
,
"delete"
,
t
)},
expression
:
"data.delete"
}},[
e
.
_v
(
"删除"
)])],
1
):
e
.
_e
()])}}])})],
1
)])],
1
),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
l
=
n
(
"VU/8"
)(
i
,
a
,
!
1
,
function
(
e
){
n
(
"M/8r"
)},
"data-v-73eb23c2"
,
null
);
t
.
default
=
l
.
exports
}});
\ No newline at end of file
dist/static/js/32.bd2ad65ee7d2a1e3d74b.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
32
],{
"0Q7q"
:
function
(
e
,
t
){},
iPJD
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
n
(
"CCn6"
),
l
=
{
name
:
"upload"
,
data
:
function
(){
return
{
fileList
:[]}},
methods
:{
uploadFileVideo1Banner
:
function
(
e
){
var
t
=
this
;
Object
(
i
.
_75
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
e
.
url
=
"https://cdn.singsingenglish.com/"
+
e
.
url
,
t
.
fileList
.
push
(
e
)})}}},
a
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,[
n
(
"el-upload"
,{
staticClass
:
"upload-demo"
,
attrs
:{
action
:
"/api/public/upload"
,
"http-request"
:
e
.
uploadFileVideo1Banner
,
"list-type"
:
"picture-card"
,
multiple
:
""
}}),
e
.
_v
(
" "
),
n
(
"pre"
,[
e
.
_v
(
" <p>
\n
"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
fileList
,
function
(
t
){
return
n
(
"pre"
,[
e
.
_v
(
' <img src="'
+
e
.
_s
(
t
.
url
)
+
'" style="display:block">
\
n '
)])}),
e
.
_v
(
" "
),
n
(
"pre"
,[
e
.
_v
(
" </p>
\n
"
)])],
2
)},
staticRenderFns
:[]};
var
r
=
n
(
"VU/8"
)(
l
,
a
,
!
1
,
function
(
e
){
n
(
"0Q7q"
)},
"data-v-639ba378"
,
null
);
t
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/33.80d22d4b889321e2bc81.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
33
],{
MT6K
:
function
(
e
,
t
){},
NrkQ
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
o
(
"kmJW"
),
s
=
o
(
"sf/l"
),
r
=
o
(
"CCn6"
),
i
=
{
name
:
"index"
,
components
:{
page
:
a
.
a
},
data
:
function
(){
return
{
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
},
tableData
:[],
commentForm
:{},
showCommentDialog
:
!
1
}},
created
:
function
(){
this
.
initPage
()},
methods
:{
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
time
&&
(
t
.
time
=
this
.
searchFrom
.
time
),
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
t
.
date_start
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
),
t
.
date_end
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
Object
(
r
.
_6
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
initPage
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
initPage
()},
doExport
:
function
(){
var
e
=
"?type=export"
;
this
.
searchFrom
.
source
&&
(
e
=
e
+
"&source="
+
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
e
=
(
e
=
e
+
"&date_start="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
))
+
"&date_end="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
window
.
open
(
"/api/public/ads/export/all"
+
e
)},
saveComment
:
function
(){
var
e
=
this
,
t
=
this
.
commentForm
.
id
,
o
=
this
.
commentForm
.
desc
?
this
.
commentForm
.
desc
:
""
;
o
&&
this
.
$confirm
(
"确认编辑备注"
,
"提示"
,{
confirmButtonText
:
"继续"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
r
.
_67
)(
t
,{
desc
:
o
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
e
.
showCommentDialog
=!
1
,
e
.
initPage
()})})},
editComment
:
function
(
e
,
t
){
this
.
showCommentDialog
=!
0
,
this
.
commentForm
=
{
id
:
e
,
desc
:
t
}}}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"index"
},[
o
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
lg
:
10
,
sm
:
24
,
md
:
24
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
o
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
o
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
,
size
:
"small"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
o
(
"el-form-item"
,[
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
o
(
"el-form-item"
,[
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝贝名称"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"telephone"
,
label
:
"手机号"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"添加时间"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-button"
,{
attrs
:{
type
:
"text"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
o
){
e
.
editComment
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"
\n
编辑备注
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
"编辑备注"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
showCommentDialog
,
"close-on-click-modal"
:
!
1
,
"close-on-press-escape"
:
!
1
,
"show-close"
:
!
1
,
width
:
"600px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
showCommentDialog
=
t
}}},[
o
(
"div"
,[
o
(
"el-form"
,{
ref
:
"commentFrom"
,
attrs
:{
model
:
e
.
commentForm
}},[
o
(
"el-form-item"
,{
attrs
:{
prop
:
"desc"
}},[
o
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
commentForm
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
commentForm
,
"desc"
,
t
)},
expression
:
"commentForm.desc"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
showCommentDialog
=!
1
,
e
.
commentForm
=
{}}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveComment
}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
m
=
o
(
"VU/8"
)(
i
,
n
,
!
1
,
function
(
e
){
o
(
"MT6K"
)},
"data-v-57a2a76e"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/34.bb83ac3bad4fbc45e152.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
34
],{
k4EB
:
function
(
e
,
t
){},
"s7i+"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
s
=
{
name
:
"index"
,
data
:
function
(){
return
{
goodsList
:[],
headList
:[],
tableData
:[],
searchFrom
:{
priceList
:[],
dateValue
:[]}}},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
initPage
()},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
r
.
_26
)({
limit
:
99999
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
t
){
e
.
searchFrom
.
priceList
.
push
(
t
.
id
)}),
e
.
goodsList
=
t
.
list
,
e
.
searchPage
()})},
searchPage
:
function
(){
var
e
=
this
;
if
(
this
.
searchFrom
.
dateValue
.
length
<
2
)
this
.
$message
.
error
(
"请先选择起止日期"
);
else
{
var
t
=
{
start_at
:
this
.
searchFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFrom
.
dateValue
[
1
],
goods_ids
:
this
.
searchFrom
.
priceList
.
toString
()};
Object
(
r
.
_58
)(
t
).
then
(
function
(
t
){
if
(
t
.
length
>
0
){
var
a
=
t
[
0
];
for
(
var
r
in
e
.
tableData
=
t
,
e
.
headList
=
[],
a
)
"cur_date"
===
r
?
e
.
headList
.
push
(
"时间"
):
"register_num"
===
r
?
e
.
headList
.
push
(
"注册数"
):
"total_money"
===
r
?
e
.
headList
.
push
(
"总金额"
):
e
.
headList
.
push
(
r
)}})}},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
s
=
t
+
"-"
+
a
+
"-01"
,
n
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFrom
.
dateValue
=
[
s
,
n
]}}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"orderCount"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
a
(
"el-select"
,{
staticStyle
:{
width
:
"600px"
},
attrs
:{
"collapse-tags"
:
""
,
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
priceList
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"priceList"
,
t
)},
expression
:
"searchFrom.priceList"
}},
e
.
_l
(
e
.
goodsList
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
type
:
"daterange"
,
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchPage
},
model
:{
value
:
e
.
searchFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"dateValue"
,
t
)},
expression
:
"searchFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},
e
.
_l
(
e
.
headList
,
function
(
t
){
return
a
(
"el-table-column"
,{
key
:
t
,
attrs
:{
label
:
t
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
r
){
return
[
"时间"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
cur_date
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"注册数"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
register_num
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"总金额"
===
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
.
total_money
)
+
"
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"时间"
!==
t
&&
"注册数"
!==
t
&&
"总金额"
!==
t
?
a
(
"span"
,[
e
.
_v
(
"
\n
"
+
e
.
_s
(
r
.
row
[
t
])
+
"
\n
"
)]):
e
.
_e
()]}}])})}))],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
a
(
"k4EB"
)},
"data-v-442aac43"
,
null
);
t
.
default
=
i
.
exports
}});
\ No newline at end of file
dist/static/js/35.3dae882f379695db2804.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
35
],{
h7MV
:
function
(
e
,
n
){},
usUK
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
;
return
(
this
.
_self
.
_c
||
e
)(
"div"
,[
this
.
_v
(
"
\n
发货列表
\n
"
)])},
staticRenderFns
:[]};
var
i
=
t
(
"VU/8"
)({
name
:
"index"
},
r
,
!
1
,
function
(
e
){
t
(
"h7MV"
)},
"data-v-3f478d15"
,
null
);
n
.
default
=
i
.
exports
}});
\ No newline at end of file
dist/static/js/36.1c9522fb7de5737fe46e.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
36
],{
"Nyg+"
:
function
(
e
,
t
){},
hLMI
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"kmJW"
),
s
=
a
(
"sf/l"
),
i
=
a
(
"CCn6"
),
o
=
{
name
:
"index"
,
components
:{
page
:
r
.
a
},
data
:
function
(){
return
{
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
source
:
""
},
tableData
:[]}},
created
:
function
(){
this
.
initPage
()},
methods
:{
initPage
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
time
&&
(
t
.
time
=
this
.
searchFrom
.
time
),
this
.
searchFrom
.
source
&&
(
t
.
source
=
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
t
.
date_start
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
),
t
.
date_end
=
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
Object
(
i
.
_7
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
initPage
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
initPage
()},
doExport
:
function
(){
var
e
=
"?type=export"
;
this
.
searchFrom
.
source
&&
(
e
=
e
+
"&source="
+
this
.
searchFrom
.
source
),
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
&&
(
e
=
(
e
=
e
+
"&date_start="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
))
+
"&date_end="
+
s
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)),
window
.
open
(
"/api/public/ads/export/all"
+
e
)}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"index"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
lg
:
10
,
sm
:
24
,
md
:
24
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"购买时间"
}},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"来源"
}},[
a
(
"el-input"
,{
attrs
:{
placeholder
:
"名称"
,
size
:
"small"
},
model
:{
value
:
e
.
searchFrom
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"source"
,
t
)},
expression
:
"searchFrom.source"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
initPage
}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
lg
:
4
,
sm
:
24
,
md
:
12
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
size
:
"small"
},
on
:{
click
:
e
.
doExport
}},[
e
.
_v
(
"
\n
导出
\n
"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"宝贝名称"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"create_at"
,
label
:
"添加时间"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"来源"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"Nyg+"
)},
"data-v-3da00fae"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/37.0d4d448b2cc152d86bf2.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
37
],{
YddS
:
function
(
e
,
t
){},
aTXs
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
o
(
"CCn6"
),
n
=
{
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
menuList
:[],
plist
:[],
dialog
:{
title
:
"新增菜单"
,
show
:
!
1
,
rules
:{
name
:[{
required
:
!
0
,
message
:
"请填写菜单名称"
,
trigger
:
"change"
}],
cover
:[{
required
:
!
0
,
message
:
"请填写菜单code"
,
trigger
:
"change"
}]},
form
:{
id
:
""
,
name
:
""
,
cover
:
""
,
pid
:
0
,
type
:
2
}}}},
created
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(){
var
e
=
this
;
Object
(
i
.
_30
)().
then
(
function
(
t
){
t
&&
(
e
.
menuList
=
[],
e
.
plist
=
[],
t
.
forEach
(
function
(
t
){
e
.
menuList
.
push
(
t
),
e
.
plist
.
push
(
t
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
){
e
.
menuList
.
push
(
t
)})}))})},
edit
:
function
(
e
){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑菜单"
,
this
.
dialog
.
form
.
name
=
e
.
name
,
this
.
dialog
.
form
.
cover
=
e
.
cover
,
this
.
dialog
.
form
.
pid
=
e
.
pid
},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增菜单"
,
this
.
dialog
.
form
.
name
=
""
,
this
.
dialog
.
form
.
pid
=
0
,
this
.
dialog
.
form
.
cover
=
""
},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该菜单?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
E
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getList
()})})},
sub
:
function
(){
var
e
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
o
=
e
.
dialog
;
if
(
o
.
form
.
id
){
var
n
=
{
name
:
o
.
form
.
name
,
cover
:
o
.
form
.
cover
,
pid
:
o
.
form
.
pid
};
e
.
$confirm
(
"此操作将修改该菜单?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
_70
)(
o
.
form
.
id
,
n
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
o
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
a
=
{
name
:
o
.
form
.
name
,
cover
:
o
.
form
.
cover
,
pid
:
o
.
form
.
pid
};
e
.
$confirm
(
"此操作将添加新菜单?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
_61
)(
a
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
o
.
show
=!
1
,
e
.
getList
()})})}}})}}},
a
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"menu"
},[
o
(
"div"
,{
staticClass
:
"head clear-both"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增菜单"
)])],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
menuList
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"菜单名称"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"cover"
,
label
:
"菜单Code"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"30%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"菜单名称"
,
prop
:
"name"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"name"
,
t
)},
expression
:
"dialog.form.name"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"菜单Code"
,
prop
:
"cover"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
cover
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"cover"
,
t
)},
expression
:
"dialog.form.cover"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"上级菜单"
,
prop
:
"cover"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
dialog
.
form
.
pid
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"pid"
,
t
)},
expression
:
"dialog.form.pid"
}},[
o
(
"el-option"
,{
attrs
:{
label
:
"无"
,
value
:
0
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
plist
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
l
=
o
(
"VU/8"
)(
n
,
a
,
!
1
,
function
(
e
){
o
(
"YddS"
)},
"data-v-270cf65d"
,
null
);
t
.
default
=
l
.
exports
}});
\ No newline at end of file
dist/static/js/38.12e24c58d46c537b431a.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
38
],{
"8s6X"
:
function
(
e
,
t
){},
WZgi
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"CCn6"
),
l
=
{
name
:
"sysConfig"
,
components
:{
page
:
a
(
"kmJW"
).
a
},
data
:
function
(){
return
{
list
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
searchFrom
:{
admin_id
:
""
,
url
:
""
,
desc
:
""
}}},
mounted
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(){
var
e
=
this
;
this
.
searchFrom
.
page
=
this
.
nowPage
;
var
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
searchFrom
.
admin_id
&&
(
t
.
admin_id
=
this
.
searchFrom
.
admin_id
),
this
.
searchFrom
.
url
&&
(
t
.
url
=
this
.
searchFrom
.
url
),
this
.
searchFrom
.
desc
&&
(
t
.
desc
=
this
.
searchFrom
.
desc
),
Object
(
s
.
_5
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
total
=
t
.
total
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()}}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"log"
},[
a
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
a
(
"el-row"
,[
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
admin_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"admin_id"
,
t
)},
expression
:
"searchFrom.admin_id"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"地址"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"url"
,
t
)},
expression
:
"searchFrom.url"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"功能名"
}},[
a
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"desc"
,
t
)},
expression
:
"searchFrom.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-col"
,{
attrs
:{
span
:
4
}},[
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-form"
,{
staticClass
:
"demo-table-expand"
,
attrs
:{
"label-position"
:
"left"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求方法"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
method
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"请求链接"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
url
))])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"参数"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
params
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"登陆名"
,
prop
:
"user_name"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户ID"
,
prop
:
"admin_id"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"用户名"
,
prop
:
"user_desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"功能名"
,
prop
:
"desc"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
e
){
a
(
"8s6X"
)},
"data-v-112ed272"
,
null
);
t
.
default
=
i
.
exports
}});
\ No newline at end of file
dist/static/js/39.2e4806bf1ac60ac2c531.js
0 → 100644
View file @
0b582ee7
webpackJsonp
([
39
],{
"/ubI"
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
o
(
"CCn6"
),
s
=
o
(
"kmJW"
),
a
=
{
components
:{
page
:
s
.
a
,
userPage
:
s
.
a
},
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
sourceList
:[],
codeSelect
:[{
value
:
"USER"
,
label
:
"用户"
},{
value
:
"TEACHER"
,
label
:
"老师"
}],
dialog
:{
title
:
"新增来源码"
,
show
:
!
1
,
rules
:{
title
:[{
required
:
!
0
,
message
:
"请填写来源码名字"
,
trigger
:
"change"
}],
code
:[{
required
:
!
0
,
message
:
"请填写来源码类型"
,
trigger
:
"change"
}]},
form
:{
id
:
""
,
title
:
""
,
code
:
""
,
is_withdraw
:
0
,
desc
:
""
,
no_cash_user
:
""
}},
userDialog
:{
total
:
0
,
limit
:
10
,
nowPage
:
1
,
show
:
!
1
},
userList
:[],
searchUserFrom
:{},
multipleSelection
:[]}},
filters
:{
sourceType
:
function
(
e
){
return
"user"
===
e
.
toLowerCase
()?
"用户"
:
"teacher"
===
e
.
toLowerCase
()?
"老师"
:
e
},
isWithdraw
:
function
(
e
){
return
1
===
e
?
"是"
:
"否"
}},
created
:
function
(){
this
.
getList
()},
methods
:{
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
i
.
_44
)(
t
).
then
(
function
(
t
){
t
&&
(
e
.
sourceList
=
t
.
list
?
t
.
list
:[],
e
.
total
=
t
.
total
)})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
onSelectUser
:
function
(){
this
.
userDialog
.
show
=!
0
,
this
.
dialog
.
form
.
no_cash_user
?
this
.
multipleSelection
=
this
.
dialog
.
form
.
no_cash_user
.
split
(
","
):
this
.
multipleSelection
=
[],
this
.
getUser
()},
onUserPageChange
:
function
(
e
){
this
.
userDialog
.
nowPage
=
e
,
this
.
getUser
()},
onUserSizeChange
:
function
(
e
){
this
.
userDialog
.
nowPage
=
1
,
this
.
userDialog
.
limit
=
e
,
this
.
getUser
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
onConfirm
:
function
(){
var
e
=
this
.
multipleSelection
;
if
(
0
===
e
.
length
);
else
{
var
t
=
[];
e
.
forEach
(
function
(
e
){
t
.
push
(
e
.
user_id
)});
var
o
=
t
;
this
.
dialog
.
form
.
no_cash_user
&&
(
o
=
t
.
concat
(
this
.
stringToInt
(
this
.
dialog
.
form
.
no_cash_user
.
split
(
","
))));
var
i
=
this
.
dedupe
(
o
);
this
.
dialog
.
form
.
no_cash_user
=
i
.
join
(
","
),
this
.
userDialog
.
show
=!
1
}},
stringToInt
:
function
(
e
){
var
t
=
e
||
[];
return
t
=
t
.
map
(
function
(
e
){
return
parseInt
(
e
,
10
)})},
dedupe
:
function
(
e
){
return
Array
.
from
(
new
Set
(
e
))},
getUser
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
userDialog
.
nowPage
,
limit
:
this
.
userDialog
.
limit
};
this
.
searchUserFrom
.
userId
&&
(
t
.
user_id
=
this
.
searchUserFrom
.
userId
),
this
.
searchUserFrom
.
nickName
&&
(
t
.
nickname
=
this
.
searchUserFrom
.
nickName
),
this
.
searchUserFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchUserFrom
.
mobile
),
Object
(
i
.
_50
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
userDialog
.
total
=
t
.
total
})},
edit
:
function
(
e
){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
e
.
id
,
this
.
dialog
.
title
=
"编辑来源码"
,
this
.
dialog
.
form
.
title
=
e
.
title
,
this
.
dialog
.
form
.
code
=
e
.
code
,
this
.
dialog
.
form
.
is_withdraw
=
1
===
e
.
is_withdraw
,
this
.
dialog
.
form
.
desc
=
e
.
desc
,
this
.
dialog
.
form
.
no_cash_user
=
e
.
no_cash_user
},
add
:
function
(){
this
.
dialog
.
show
=!
0
,
this
.
dialog
.
form
.
id
=
""
,
this
.
dialog
.
title
=
"新增来源码"
,
this
.
dialog
.
form
.
title
=
""
,
this
.
dialog
.
form
.
code
=
"USER"
,
this
.
dialog
.
form
.
is_withdraw
=!
1
,
this
.
dialog
.
form
.
desc
=
""
,
this
.
dialog
.
form
.
no_cash_user
=
""
},
del
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该来源码?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
I
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
}),
t
.
getList
()})})},
sub
:
function
(){
var
e
=
this
;
this
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
o
=
e
.
dialog
;
if
(
o
.
form
.
id
){
var
s
=
{
title
:
o
.
form
.
title
,
code
:
o
.
form
.
code
,
is_withdraw
:
o
.
form
.
is_withdraw
?
1
:
0
,
desc
:
o
.
form
.
desc
};
o
.
form
.
no_cash_user
&&
(
s
.
no_cash_user
=
o
.
form
.
no_cash_user
),
e
.
$confirm
(
"此操作将修改该来源码?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
_74
)(
o
.
form
.
id
,
s
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
o
.
show
=!
1
,
e
.
getList
()})})}
else
{
var
a
=
{
title
:
o
.
form
.
title
,
code
:
o
.
form
.
code
,
no_cash_user
:
o
.
form
.
no_cash_user
,
is_withdraw
:
o
.
form
.
is_withdraw
?
1
:
0
,
desc
:
o
.
form
.
desc
};
e
.
$confirm
(
"此操作将添加来源码?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
i
.
n
)(
a
).
then
(
function
(){
e
.
$message
({
type
:
"success"
,
message
:
"添加成功!"
}),
o
.
show
=!
1
,
e
.
getList
()})})}}})}}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"menu"
},[
o
(
"div"
,{
staticClass
:
"head clear-both"
},[
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"新增来源码"
)])],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
sourceList
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"名字"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"code"
,
label
:
"渠道码类型"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"可以提现"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"isWithdraw"
)(
t
.
row
.
is_withdraw
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"no_cash_user"
,
label
:
"被限制的提现用户"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
type
:
"danger"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
del
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialog
.
title
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialog
.
show
,
width
:
"50%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
rules
:
e
.
dialog
.
rules
,
model
:
e
.
dialog
.
form
,
"label-width"
:
"100px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"名字"
,
prop
:
"title"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"title"
,
t
)},
expression
:
"dialog.form.title"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"渠道码类型"
,
prop
:
"code"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"code"
,
t
)},
expression
:
"dialog.form.code"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"是否可提现"
}},[
o
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#13ce66"
,
"inactive-color"
:
"#eee"
},
model
:{
value
:
e
.
dialog
.
form
.
is_withdraw
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"is_withdraw"
,
t
)},
expression
:
"dialog.form.is_withdraw"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
16
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
no_cash_user
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"no_cash_user"
,
t
)},
expression
:
"dialog.form.no_cash_user"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
6
,
offset
:
2
}},[
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSelectUser
}},[
e
.
_v
(
"选择用户"
)])],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"备注"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
dialog
.
form
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dialog
.
form
,
"desc"
,
t
)},
expression
:
"dialog.form.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
userDialog
.
show
,
"append-to-body"
:
""
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
userDialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
8
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
searchUserFrom
.
userId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchUserFrom
,
"userId"
,
t
)},
expression
:
"searchUserFrom.userId"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
8
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
searchUserFrom
.
nickName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchUserFrom
,
"nickName"
,
t
)},
expression
:
"searchUserFrom.nickName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
8
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
searchUserFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchUserFrom
,
"mobile"
,
t
)},
expression
:
"searchUserFrom.mobile"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
8
,
offset
:
16
}},[
o
(
"el-form-item"
,[
o
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
o
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"img"
,{
staticStyle
:{
"margin-right"
:
"5px"
,
width
:
"50px"
,
height
:
"50px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}})],
1
),
e
.
_v
(
" "
),
o
(
"user-page"
,{
attrs
:{
total
:
e
.
userDialog
.
total
,
limit
:
e
.
userDialog
.
limit
},
on
:{
pageChange
:
e
.
onUserPageChange
,
sizeChange
:
e
.
onUserSizeChange
}}),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
userDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onConfirm
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
l
=
o
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
e
){
o
(
"wZ/6"
)},
"data-v-0a62faee"
,
null
);
t
.
default
=
l
.
exports
},
"wZ/6"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.4684e57bcaa4d5a130d3.js
0 → 100644
View file @
0b582ee7
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.aab3ed16309f32053169.js
0 → 100644
View file @
0b582ee7
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
r
,
d
){
for
(
var
t
,
b
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
b
=
f
[
i
],
c
[
b
]
&&
u
.
push
(
c
[
b
][
0
]),
c
[
b
]
=
0
;
for
(
t
in
r
)
Object
.
prototype
.
hasOwnProperty
.
call
(
r
,
t
)
&&
(
e
[
t
]
=
r
[
t
]);
for
(
a
&&
a
(
f
,
r
,
d
);
u
.
length
;)
u
.
shift
()();
if
(
d
)
for
(
i
=
0
;
i
<
d
.
length
;
i
++
)
o
=
n
(
n
.
s
=
d
[
i
]);
return
o
};
var
f
=
{},
c
=
{
43
:
0
};
function
n
(
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
,
n
),
c
.
l
=!
0
,
c
.
exports
}
n
.
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
,
n
){
a
=
c
[
e
]
=
[
f
,
n
]});
a
[
2
]
=
f
;
var
r
=
document
.
getElementsByTagName
(
"head"
)[
0
],
d
=
document
.
createElement
(
"script"
);
d
.
type
=
"text/javascript"
,
d
.
charset
=
"utf-8"
,
d
.
async
=!
0
,
d
.
timeout
=
12
e4
,
n
.
nc
&&
d
.
setAttribute
(
"nonce"
,
n
.
nc
),
d
.
src
=
n
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"427a42ce951fcfaa847d"
,
1
:
"f123439d21938bac23b2"
,
2
:
"8f3688842a73b285d945"
,
3
:
"f843d699dade856f04ea"
,
4
:
"6cd754fdafc5ca07b9c4"
,
5
:
"78e1e726194401cb8827"
,
6
:
"45453d0bbd5b7e24e947"
,
7
:
"581e411271a005d2e38f"
,
8
:
"f8bb73f0883faffdf312"
,
9
:
"12d41621f9b990589a08"
,
10
:
"f520abb4bd5def577502"
,
11
:
"3eae80b7cde40f666738"
,
12
:
"7c54afd32818b2f2a88b"
,
13
:
"3b2e3833956deae4f71b"
,
14
:
"7fabbf67f650267a1918"
,
15
:
"1893ba40f99e64175e0b"
,
16
:
"92fedc454c5ee6ef1704"
,
17
:
"b523eb9f41b53c25d6b8"
,
18
:
"450f742cd530ea108af6"
,
19
:
"3c434a55a88f8664be31"
,
20
:
"acf5e03ad6a5c4ed5041"
,
21
:
"d81e191c47fd0572bcbb"
,
22
:
"ce9183fdd16a6de4007e"
,
23
:
"ee6f46e3f22004424a79"
,
24
:
"809e8dbbdfbe06a39dee"
,
25
:
"4751fb4c084ac438a966"
,
26
:
"550893c608d4bcc29ff8"
,
27
:
"51b74bd5c6361457867c"
,
28
:
"f6d54199f4c967ade620"
,
29
:
"9228b91c82495d1f273d"
,
30
:
"9ca0435baabeae961554"
,
31
:
"56f47ffd47a8b4bae053"
,
32
:
"bd2ad65ee7d2a1e3d74b"
,
33
:
"80d22d4b889321e2bc81"
,
34
:
"bb83ac3bad4fbc45e152"
,
35
:
"3dae882f379695db2804"
,
36
:
"1c9522fb7de5737fe46e"
,
37
:
"0d4d448b2cc152d86bf2"
,
38
:
"12e24c58d46c537b431a"
,
39
:
"2e4806bf1ac60ac2c531"
,
40
:
"1b502e1694d379a2b0fe"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
b
,
12
e4
);
function
b
(){
d
.
onerror
=
d
.
onload
=
null
,
clearTimeout
(
t
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
d
.
onerror
=
d
.
onload
=
b
,
r
.
appendChild
(
d
),
f
},
n
.
m
=
e
,
n
.
c
=
f
,
n
.
d
=
function
(
e
,
a
,
f
){
n
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
n
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
a
,
"a"
,
a
),
a
},
n
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
n
.
p
=
"/"
,
n
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
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