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
82bb364f
Commit
82bb364f
authored
Aug 02, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
82
parent
a721aa6b
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
3 deletions
+11
-3
index.html
dev/index.html
+1
-1
14.8b33ee9159ef24d377d7.js
dev/static/js/14.8b33ee9159ef24d377d7.js
+1
-0
manifest.062e10d8e2ebf07fb638.js
dev/static/js/manifest.062e10d8e2ebf07fb638.js
+1
-0
index.html
dist/index.html
+1
-1
12.3d290b0ab2209bdf87a9.js
dist/static/js/12.3d290b0ab2209bdf87a9.js
+1
-0
13.9c6495a76c1be6a7633b.js
dist/static/js/13.9c6495a76c1be6a7633b.js
+1
-0
14.71d7db719b296c756393.js
dist/static/js/14.71d7db719b296c756393.js
+1
-0
15.6558a2ae96ba759668ae.js
dist/static/js/15.6558a2ae96ba759668ae.js
+1
-0
app.d0b92abc69c253c2682f.js
dist/static/js/app.d0b92abc69c253c2682f.js
+1
-0
manifest.90301b48239adabffa98.js
dist/static/js/manifest.90301b48239adabffa98.js
+1
-0
add.vue
src/components/exchange/add.vue
+1
-1
No files found.
dev/index.html
View file @
82bb364f
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
e876e164e665c843eb29
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6a18832950b1e06cbd55.js
></script><script
type=
text/javascript
src=
/static/js/app.4a85c5d666788cb86bdd.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https:////at.alicdn.com/t/font_746649_x1rivf5f5.css
><link
rel=
stylesheet
href=
https://lib.baomitu.com/element-ui/2.7.2/theme-chalk/index.css
><title>
唱唱启蒙-后台
</title></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
062e10d8e2ebf07fb638
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6a18832950b1e06cbd55.js
></script><script
type=
text/javascript
src=
/static/js/app.4a85c5d666788cb86bdd.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/14.8b33ee9159ef24d377d7.js
0 → 100644
View file @
82bb364f
webpackJsonp
([
14
],{
"3V9n"
:
function
(
n
,
e
,
t
){
var
a
=
t
(
"b/O8"
);
"string"
==
typeof
a
&&
(
a
=
[[
n
.
i
,
a
,
""
]]),
a
.
locals
&&
(
n
.
exports
=
a
.
locals
);
t
(
"rjj0"
)(
"6af27cf0"
,
a
,
!
1
,{})},
"4Kgm"
:
function
(
n
,
e
,
t
){
var
a
=
t
(
"SOnj"
);
"string"
==
typeof
a
&&
(
a
=
[[
n
.
i
,
a
,
""
]]),
a
.
locals
&&
(
n
.
exports
=
a
.
locals
);
t
(
"rjj0"
)(
"4c9a8162"
,
a
,
!
1
,{})},
CvLZ
:
function
(
n
,
e
,
t
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
t
(
"CCn6"
),
i
=
t
(
"+TkF"
),
o
=
t
(
"kmJW"
),
s
=
{
name
:
"add"
,
data
:
function
(){
return
{
pickerOptions0
:{
disabledDate
:
function
(
n
){
return
n
.
getTime
()
<
Date
.
now
()
-
864
e5
}},
classSource
:[]}},
created
:
function
(){
var
n
=
this
;
Object
(
a
.
_96
)().
then
(
function
(
e
){
n
.
classSource
=
e
})},
props
:[
"newIntegral"
,
"goodsList"
],
methods
:{
reSetForm
:
function
(){
this
.
$refs
.
newIntegral
.
resetFields
()},
onAdd
:
function
(){
var
n
=
this
;
this
.
$refs
.
newIntegral
.
validate
(
function
(
e
){
e
&&
(
n
.
newIntegral
.
id
?
n
.
$emit
(
"subEdit"
):
n
.
$emit
(
"subAdd"
))})}},
watch
:{
"newIntegral.show"
:
function
(
n
){
var
e
=
this
;
n
&&!
this
.
newIntegral
.
id
&&
this
.
$nextTick
(
function
(){
e
.
reSetForm
()})}}},
r
=
function
(){
var
n
=
this
,
e
=
n
.
$createElement
,
t
=
n
.
_self
.
_c
||
e
;
return
t
(
"el-dialog"
,{
attrs
:{
visible
:
n
.
newIntegral
.
show
,
width
:
"800px"
,
center
:
""
,
title
:
n
.
newIntegral
.
id
?
"修改兑换码"
:
"生成兑换码"
},
on
:{
"update:visible"
:
function
(
e
){
n
.
$set
(
n
.
newIntegral
,
"show"
,
e
)}}},[
t
(
"el-form"
,{
ref
:
"newIntegral"
,
attrs
:{
"label-width"
:
"150px"
,
model
:
n
.
newIntegral
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"名称"
,
prop
:
"name"
,
rules
:[{
required
:
!
0
,
message
:
"请输入名称"
,
trigger
:
"blur"
}]}},[
t
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
t
(
"el-col"
,{
attrs
:{
span
:
20
}},[
t
(
"el-input"
,{
model
:{
value
:
n
.
newIntegral
.
name
,
callback
:
function
(
e
){
n
.
$set
(
n
.
newIntegral
,
"name"
,
e
)},
expression
:
"newIntegral.name"
}})],
1
)],
1
)],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
,
prop
:
"goods_id"
,
rules
:[{
required
:
!
0
,
message
:
"请选择商品"
,
trigger
:
"change"
}]}},[
t
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
t
(
"el-col"
,{
attrs
:{
span
:
20
}},[
t
(
"el-select"
,{
attrs
:{
filterable
:
""
},
model
:{
value
:
n
.
newIntegral
.
goods_id
,
callback
:
function
(
e
){
n
.
$set
(
n
.
newIntegral
,
"goods_id"
,
e
)},
expression
:
"newIntegral.goods_id"
}},
n
.
_l
(
n
.
goodsList
,
function
(
n
){
return
t
(
"el-option"
,{
key
:
n
.
id
,
attrs
:{
label
:
"【"
+
n
.
id
+
"】"
+
n
.
name
,
value
:
n
.
id
}})}))],
1
)],
1
)],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"招生来源"
}},[
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
model
:{
value
:
n
.
newIntegral
.
source
,
callback
:
function
(
e
){
n
.
$set
(
n
.
newIntegral
,
"source"
,
e
)},
expression
:
"newIntegral.source"
}},
n
.
_l
(
n
.
classSource
,
function
(
n
,
e
){
return
t
(
"el-option"
,{
key
:
e
,
attrs
:{
label
:
n
.
name
,
value
:
n
.
type
}})}))],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"数量"
,
prop
:
"num"
,
rules
:[{
required
:
!
0
,
message
:
"请输入数量"
,
trigger
:
"blur"
}]}},[
t
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
t
(
"el-col"
,{
attrs
:{
span
:
20
}},[
t
(
"el-input-number"
,{
model
:{
value
:
n
.
newIntegral
.
num
,
callback
:
function
(
e
){
n
.
$set
(
n
.
newIntegral
,
"num"
,
e
)},
expression
:
"newIntegral.num"
}})],
1
)],
1
)],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"失效时间"
,
prop
:
"expire_at"
,
rules
:[{
required
:
!
0
,
message
:
"请选择失效时间"
,
trigger
:
"change"
}]}},[
t
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
t
(
"el-col"
,{
attrs
:{
span
:
20
}},[
t
(
"el-date-picker"
,{
attrs
:{
type
:
"datetime"
,
format
:
"yyyy-MM-dd HH:mm:ss"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:
n
.
pickerOptions0
,
placeholder
:
"选择日期"
},
model
:{
value
:
n
.
newIntegral
.
expire_at
,
callback
:
function
(
e
){
n
.
$set
(
n
.
newIntegral
,
"expire_at"
,
e
)},
expression
:
"newIntegral.expire_at"
}})],
1
)],
1
)],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"备注"
,
prop
:
"desc"
,
rules
:[{
required
:
!
0
,
message
:
"请填写备注信息"
,
trigger
:
"blur"
}]}},[
t
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
t
(
"el-col"
,{
attrs
:{
span
:
20
}},[
t
(
"el-input"
,{
model
:{
value
:
n
.
newIntegral
.
desc
,
callback
:
function
(
e
){
n
.
$set
(
n
.
newIntegral
,
"desc"
,
e
)},
expression
:
"newIntegral.desc"
}})],
1
)],
1
)],
1
)],
1
),
n
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
t
(
"el-button"
,{
on
:{
click
:
function
(
e
){
n
.
newIntegral
.
show
=!
1
}}},[
n
.
_v
(
"取 消"
)]),
n
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
n
.
onAdd
}},[
n
.
_v
(
"确 定"
)])],
1
)],
1
)};
r
.
_withStripped
=!
0
;
var
l
=
{
render
:
r
,
staticRenderFns
:[]},
c
=
l
;
var
d
=!
1
;
var
u
=
t
(
"VU/8"
)(
s
,
c
,
!
1
,
function
(
n
){
d
||
t
(
"a/v8"
)},
"data-v-2582bd58"
,
null
);
u
.
options
.
__file
=
"src
\\
components
\\
exchange
\\
add.vue"
;
var
g
=
u
.
exports
,
m
=
{
name
:
"list"
,
components
:{
page
:
o
.
a
},
props
:[
"detailList"
],
data
:
function
(){
return
{
limit
:
10
,
list
:[],
form
:{
user_id
:
""
,
exchange_code
:
""
,
is_exchange
:
""
},
totalPage
:
0
,
nowPage
:
1
}},
methods
:{
initPage
:
function
(){
this
.
form
=
{
user_id
:
""
,
exchange_code
:
""
,
is_exchange
:
""
},
this
.
getList
()},
onPageChange
:
function
(
n
){
this
.
nowPage
=
n
,
this
.
getList
()},
onSizeChange
:
function
(
n
){
this
.
limit
=
n
,
this
.
nowPage
=
1
,
this
.
getList
()},
exprotList
:
function
(){
var
n
=
{};
""
!==
this
.
form
.
is_exchange
&&
(
n
.
is_exchange
=
this
.
form
.
is_exchange
),
""
!==
this
.
form
.
user_id
&&
(
n
.
user_id
=
this
.
form
.
user_id
),
Object
(
a
.
_27
)(
"/api/admin/exchange/export/"
+
this
.
detailList
.
id
,
n
)},
getList
:
function
(){
var
n
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
""
!==
this
.
form
.
is_exchange
&&
(
e
.
is_exchange
=
this
.
form
.
is_exchange
),
""
!==
this
.
form
.
user_id
&&
(
e
.
user_id
=
this
.
form
.
user_id
),
""
!==
this
.
form
.
exchange_code
&&
(
e
.
exchange_code
=
this
.
form
.
exchange_code
),
Object
(
a
.
_26
)(
this
.
detailList
.
id
,
e
).
then
(
function
(
e
){
n
.
list
=
e
.
list
,
n
.
totalPage
=
e
.
total
})}},
watch
:{
"detailList.show"
:
function
(
n
){
n
&&
this
.
initPage
()}}},
p
=
function
(){
var
n
=
this
,
e
=
n
.
$createElement
,
t
=
n
.
_self
.
_c
||
e
;
return
t
(
"el-dialog"
,{
attrs
:{
visible
:
n
.
detailList
.
show
,
width
:
"1200px"
,
center
:
""
,
title
:
"详细纪录"
},
on
:{
"update:visible"
:
function
(
e
){
n
.
$set
(
n
.
detailList
,
"show"
,
e
)}}},[
t
(
"el-form"
,{
attrs
:{
"label-width"
:
"80px"
,
inline
:
""
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
t
(
"el-input"
,{
attrs
:{
size
:
"small"
},
model
:{
value
:
n
.
form
.
user_id
,
callback
:
function
(
e
){
n
.
$set
(
n
.
form
,
"user_id"
,
e
)},
expression
:
"form.user_id"
}})],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"激活码"
}},[
t
(
"el-input"
,{
attrs
:{
size
:
"small"
},
model
:{
value
:
n
.
form
.
exchange_code
,
callback
:
function
(
e
){
n
.
$set
(
n
.
form
,
"exchange_code"
,
e
)},
expression
:
"form.exchange_code"
}})],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"是否激活"
}},[
t
(
"el-select"
,{
attrs
:{
size
:
"small"
},
model
:{
value
:
n
.
form
.
is_exchange
,
callback
:
function
(
e
){
n
.
$set
(
n
.
form
,
"is_exchange"
,
e
)},
expression
:
"form.is_exchange"
}},[
t
(
"el-option"
,{
attrs
:{
label
:
"是"
,
value
:
1
}}),
n
.
_v
(
" "
),
t
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,[
t
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
},
on
:{
click
:
n
.
getList
}},[
n
.
_v
(
"搜索"
)]),
n
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
n
.
exprotList
}},[
n
.
_v
(
"导出"
)])],
1
)],
1
),
n
.
_v
(
" "
),
t
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
n
.
list
}},[
t
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
},
scopedSlots
:
n
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
0
===
e
.
row
.
user_id
?
t
(
"div"
,[
n
.
_v
(
"暂无"
)]):
n
.
_e
(),
n
.
_v
(
" "
),
0
!==
e
.
row
.
user_id
?
t
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
t
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"margin-right"
:
"5px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
e
.
row
.
user_avatar
}}),
n
.
_v
(
" "
+
n
.
_s
(
e
.
row
.
user_nickname
)
+
"(ID:"
+
n
.
_s
(
e
.
row
.
user_id
)
+
")
\n
"
),
t
(
"br"
),
n
.
_v
(
" Tel:"
+
n
.
_s
(
e
.
row
.
user_mobile
)
+
"
\n
"
)]):
n
.
_e
()]}}])}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"exchange_no"
,
label
:
"兑换码"
}}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
label
:
"商品"
},
scopedSlots
:
n
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
.
_v
(
"
\n
【"
+
n
.
_s
(
e
.
row
.
goods_id
)
+
"】"
+
n
.
_s
(
e
.
row
.
goods_name
)
+
"
\n
"
)]}}])}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"expire_at"
,
label
:
"失效时间"
}}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"exchange_at"
,
label
:
"兑换时间"
},
scopedSlots
:
n
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
"0000-00-00 00:00:00"
!==
e
.
row
.
exchange_at
?
t
(
"span"
,[
n
.
_v
(
n
.
_s
(
e
.
row
.
exchange_at
))]):
n
.
_e
(),
n
.
_v
(
" "
),
"0000-00-00 00:00:00"
===
e
.
row
.
exchange_at
?
t
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
n
.
_v
(
"尚未兑换"
)]):
n
.
_e
()]}}])})],
1
),
n
.
_v
(
" "
),
t
(
"page"
,{
attrs
:{
nowPage
:
n
.
nowPage
,
total
:
n
.
totalPage
,
limit
:
n
.
limit
},
on
:{
pageChange
:
n
.
onPageChange
,
sizeChange
:
n
.
onSizeChange
}})],
1
)};
p
.
_withStripped
=!
0
;
var
h
=
{
render
:
p
,
staticRenderFns
:[]},
f
=
h
;
var
A
=!
1
;
var
_
=
t
(
"VU/8"
)(
m
,
f
,
!
1
,
function
(
n
){
A
||
t
(
"4Kgm"
)},
"data-v-27536d77"
,
null
);
_
.
options
.
__file
=
"src
\\
components
\\
exchange
\\
list.vue"
;
var
b
=
_
.
exports
,
v
=
[],
w
=
{
name
:
"index"
,
components
:{
page
:
o
.
a
,
addExchange
:
g
,
listDetail
:
b
},
filters
:{
classSourceFilter
:
function
(
n
){
return
console
.
log
(
n
),
console
.
log
(
v
),
v
[
n
]}},
data
:
function
(){
var
n
=
[];
for
(
var
e
in
i
.
i
)
n
.
push
({
id
:
e
,
value
:
i
.
i
[
e
]});
var
t
=
[];
for
(
var
a
in
i
.
h
)
t
.
push
({
id
:
a
,
value
:
i
.
h
[
a
]});
return
{
list
:[],
total
:
0
,
detailList
:{
show
:
!
1
,
user_id
:
""
,
is_exchange
:
""
,
id
:
null
},
newIntegral
:{
show
:
!
1
,
goods_id
:
""
,
num
:
""
,
expire_at
:
""
,
desc
:
""
,
id
:
null
,
source
:
""
},
goodsList
:[],
is_addOption
:
n
,
sourceOption
:
t
,
limit
:
10
,
userListShow
:{
show
:
!
1
},
nowPage
:
1
,
form
:{
name
:
""
,
goods_id
:
""
}}},
mounted
:
function
(){
this
.
initPage
()},
methods
:{
onDetail
:
function
(
n
){
this
.
detailList
=
{
show
:
!
0
,
user_id
:
""
,
is_exchange
:
""
,
id
:
n
.
id
}},
onEdit
:
function
(
n
){
this
.
newIntegral
=
{
show
:
!
0
,
goods_id
:
n
.
goods_id
,
num
:
n
.
num
,
expire_at
:
n
.
expire_at
,
desc
:
n
.
desc
,
name
:
n
.
name
,
id
:
n
.
id
,
source
:
n
.
source
}},
subEdit
:
function
(){
var
n
=
this
,
e
=
{
goods_id
:
this
.
newIntegral
.
goods_id
,
num
:
this
.
newIntegral
.
num
,
expire_at
:
this
.
newIntegral
.
expire_at
,
desc
:
this
.
newIntegral
.
desc
,
name
:
this
.
newIntegral
.
name
,
source
:
this
.
newIntegral
.
source
};
Object
(
a
.
_14
)(
this
.
newIntegral
.
id
,
e
).
then
(
function
(
e
){
n
.
$message
({
message
:
"数据修改成功"
,
type
:
"success"
}),
n
.
getList
(),
n
.
newIntegral
.
show
=!
1
})},
subAdd
:
function
(){
var
n
=
this
,
e
=
{
goods_id
:
this
.
newIntegral
.
goods_id
,
num
:
this
.
newIntegral
.
num
,
expire_at
:
this
.
newIntegral
.
expire_at
,
desc
:
this
.
newIntegral
.
desc
,
name
:
this
.
newIntegral
.
name
,
source
:
this
.
newIntegral
.
source
};
Object
(
a
.
j
)(
e
).
then
(
function
(
e
){
n
.
$message
({
message
:
"数据添加成功"
,
type
:
"success"
}),
n
.
getList
(),
n
.
newIntegral
.
show
=!
1
})},
showUserList
:
function
(){
this
.
userListShow
.
show
=!
0
},
addUser
:
function
(
n
){
this
.
userListShow
.
show
=!
1
,
this
.
newIntegral
.
user_id
=
n
},
changeUserList
:
function
(){},
addIntegral
:
function
(){
this
.
newIntegral
=
{
show
:
!
0
,
goods_id
:
""
,
num
:
""
,
expire_at
:
""
,
name
:
""
,
id
:
null
,
desc
:
""
}},
initPage
:
function
(){
var
n
=
this
;
this
.
form
=
{
name
:
""
,
goods_id
:
""
},
this
.
getGood
(),
Object
(
a
.
_96
)().
then
(
function
(
e
){
var
t
=
{};
e
.
forEach
(
function
(
n
,
e
){
t
[
n
.
type
]
=
n
.
name
}),
v
=
t
,
console
.
log
(
t
),
n
.
getList
()})},
getGood
:
function
(){
var
n
=
this
;
Object
(
a
.
_60
)({
limit
:
1
e3
}).
then
(
function
(
e
){
n
.
goodsList
=
e
.
list
})},
onPageChange
:
function
(
n
){
this
.
nowPage
=
n
,
this
.
getList
()},
onSizeChange
:
function
(
n
){
this
.
limit
=
n
,
this
.
nowPage
=
1
,
this
.
getList
()},
getList
:
function
(){
var
n
=
this
,
e
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
""
!==
this
.
form
.
name
&&
(
e
.
name
=
this
.
form
.
name
),
""
!==
this
.
form
.
goods_id
&&
(
e
.
goods_id
=
this
.
form
.
goods_id
),
Object
(
a
.
_58
)(
e
).
then
(
function
(
e
){
n
.
list
=
e
.
list
,
n
.
total
=
e
.
total
})}}},
x
=
function
(){
var
n
=
this
,
e
=
n
.
$createElement
,
t
=
n
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"integral-page"
},[
t
(
"el-form"
,{
ref
:
"searchFrom"
,
staticStyle
:{
"padding-top"
:
"20px"
,
background
:
"white"
},
attrs
:{
model
:
n
.
form
,
"label-width"
:
"100px"
,
size
:
"small"
,
inline
:
""
}},[
t
(
"el-form-item"
,{
attrs
:{
label
:
"标题"
}},[
t
(
"el-input"
,{
model
:{
value
:
n
.
form
.
name
,
callback
:
function
(
e
){
n
.
$set
(
n
.
form
,
"name"
,
e
)},
expression
:
"form.name"
}})],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
t
(
"el-select"
,{
attrs
:{
filterable
:
""
},
model
:{
value
:
n
.
form
.
goods_id
,
callback
:
function
(
e
){
n
.
$set
(
n
.
form
,
"goods_id"
,
e
)},
expression
:
"form.goods_id"
}},
n
.
_l
(
n
.
goodsList
,
function
(
n
){
return
t
(
"el-option"
,{
key
:
n
.
id
,
attrs
:{
label
:
"【"
+
n
.
id
+
"】"
+
n
.
name
,
value
:
n
.
id
}})}))],
1
),
n
.
_v
(
" "
),
t
(
"el-form-item"
,[
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
n
.
getList
}},[
n
.
_v
(
"搜索"
)]),
n
.
_v
(
" "
),
n
.
$store
.
state
.
readonly
?
n
.
_e
():
t
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
n
.
addIntegral
}},[
n
.
_v
(
"生成兑换码"
)])],
1
)],
1
),
n
.
_v
(
" "
),
t
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
n
.
list
,
size
:
"small"
}},[
t
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品"
},
scopedSlots
:
n
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
.
_v
(
"
\n
【"
+
n
.
_s
(
e
.
row
.
goods_id
)
+
"】"
+
n
.
_s
(
e
.
row
.
goods_name
)
+
"
\n
"
)]}}])}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"num"
,
label
:
"数量"
}}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"招生来源"
},
scopedSlots
:
n
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
n
.
_v
(
n
.
_s
(
n
.
_f
(
"classSourceFilter"
)(
e
.
row
.
source
)))]}}])}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"expire_at"
,
label
:
"失效时间"
}}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
n
.
_v
(
" "
),
t
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"180"
},
scopedSlots
:
n
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
n
.
onDetail
(
e
.
row
)}}},[
n
.
_v
(
"查看详情"
)]),
n
.
_v
(
" "
),
n
.
$store
.
state
.
readonly
?
n
.
_e
():
t
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
n
.
onEdit
(
e
.
row
)}}},[
n
.
_v
(
"编辑"
)])]}}])})],
1
),
n
.
_v
(
" "
),
t
(
"page"
,{
attrs
:{
nowPage
:
n
.
nowPage
,
total
:
n
.
total
,
limit
:
n
.
limit
},
on
:{
pageChange
:
n
.
onPageChange
,
sizeChange
:
n
.
onSizeChange
}}),
n
.
_v
(
" "
),
t
(
"add-exchange"
,{
ref
:
"add_page"
,
attrs
:{
newIntegral
:
n
.
newIntegral
,
goodsList
:
n
.
goodsList
},
on
:{
subAdd
:
n
.
subAdd
,
subEdit
:
n
.
subEdit
}}),
n
.
_v
(
" "
),
t
(
"list-detail"
,{
attrs
:{
detailList
:
n
.
detailList
}})],
1
)};
x
.
_withStripped
=!
0
;
var
C
=
{
render
:
x
,
staticRenderFns
:[]},
k
=
C
;
var
B
=!
1
;
var
E
=
t
(
"VU/8"
)(
w
,
k
,
!
1
,
function
(
n
){
B
||
(
t
(
"3V9n"
),
t
(
"vRPh"
))},
"data-v-42e27d6e"
,
null
);
E
.
options
.
__file
=
"src
\\
components
\\
exchange
\\
index.vue"
;
e
.
default
=
E
.
exports
},
SOnj
:
function
(
n
,
e
,
t
){(
n
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
n
.
i
,
"
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
"
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"list.vue"
,
sourceRoot
:
""
}])},
"a/v8"
:
function
(
n
,
e
,
t
){
var
a
=
t
(
"ilmF"
);
"string"
==
typeof
a
&&
(
a
=
[[
n
.
i
,
a
,
""
]]),
a
.
locals
&&
(
n
.
exports
=
a
.
locals
);
t
(
"rjj0"
)(
"4cb88478"
,
a
,
!
1
,{})},
"b/O8"
:
function
(
n
,
e
,
t
){(
n
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
n
.
i
,
'
\
n.search-btn-block[data-v-42e27d6e] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-42e27d6e] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-42e27d6e] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-42e27d6e] {
\
n float: right;
\
n}
\
n.text-c[data-v-42e27d6e] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-42e27d6e] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-42e27d6e] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-42e27d6e] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-42e27d6e] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-42e27d6e] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "
\\
5FAE
\\
8F6F
\\
96C5
\\
9ED1", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-42e27d6e]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-42e27d6e]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-42e27d6e]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-42e27d6e]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.avatar[data-v-42e27d6e] {
\
n width: 50px;
\
n min-width: 50px;
\
n height: 50px;
\
n margin-right: 5px;
\
n border-radius: 50%;
\
n}
\
n'
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/exchange/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,kBAAkB;CACnB;AACD;EACE,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,aAAa;EACb,kBAAkB;CACnB;AACD;EACE,aAAa;CACd;AACD;EACE,mBAAmB;CACpB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,eAAe;CAChB;AACD;EACE,kBAAkB;CACnB;AACD;EACE,YAAY;EACZ,kBAAkB;EAClB,aAAa;CACd;AACD;EACE,0IAA0H;CAC3H;AACD;EACE,YAAY;EACZ,eAAe;EACf,YAAY;CACb;AACD;EACE,oBAAoB;CACrB;AACD;EACE,WAAW;EACX,YAAY;CACb;AACD;EACE,uBAAuB;EACvB,oBAAoB;EACpB,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,aAAa;EACb,kBAAkB;EAClB,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
'
\
n.search-btn-block[data-v-42e27d6e] {
\
n margin-left: 20px;
\
n}
\
n.search-form[data-v-42e27d6e] {
\
n background: white;
\
n padding: 10px;
\
n margin: 10px 0;
\
n}
\
n.new-block[data-v-42e27d6e] {
\
n margin: 10px;
\
n text-align: right;
\
n}
\
n.fl-r[data-v-42e27d6e] {
\
n float: right;
\
n}
\
n.text-c[data-v-42e27d6e] {
\
n text-align: center;
\
n}
\
n.text-b[data-v-42e27d6e] {
\
n font-weight: bold;
\
n}
\
n.color-b[data-v-42e27d6e] {
\
n color: #6ba8e6;
\
n}
\
n.text-r[data-v-42e27d6e] {
\
n text-align: right;
\
n}
\
n.main-block[data-v-42e27d6e] {
\
n margin: 5px;
\
n background: white;
\
n padding: 5px;
\
n}
\
nhtml[data-v-42e27d6e] {
\
n font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
\
n}
\
n.clear-both[data-v-42e27d6e]:after {
\
n content:
\'\'
;
\
n display: block;
\
n clear: both;
\
n}
\
n[data-v-42e27d6e]::-webkit-scrollbar-track-piece {
\
n border-radius: 10px;
\
n}
\
n[data-v-42e27d6e]::-webkit-scrollbar {
\
n width: 5px;
\
n height: 5px;
\
n}
\
n[data-v-42e27d6e]::-webkit-scrollbar-thumb {
\
n background-color: #999;
\
n border-radius: 10px;
\
n height: 10px;
\
n min-height: 10px;
\
n}
\
n.avatar[data-v-42e27d6e] {
\
n width: 50px;
\
n min-width: 50px;
\
n height: 50px;
\
n margin-right: 5px;
\
n border-radius: 50%;
\
n}
\
n'
],
sourceRoot
:
""
}])},
ilmF
:
function
(
n
,
e
,
t
){(
n
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
n
.
i
,
"
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
"
,
""
,{
version
:
3
,
sources
:[],
names
:[],
mappings
:
""
,
file
:
"add.vue"
,
sourceRoot
:
""
}])},
uEUG
:
function
(
n
,
e
,
t
){(
n
.
exports
=
t
(
"FZ+f"
)(
!
0
)).
push
([
n
.
i
,
"
\n
.f-c > .cell {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\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
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/exchange/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gCAAgC;EAChC,gCAAgC;EAChC,yBAAyB;EACzB,+BAA+B;EAC/B,8BAA8B;MAC1B,mBAAmB;UACf,eAAe;EACvB,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.f-c > .cell {
\n
display: -webkit-box !important;
\n
display: -ms-flexbox !important;
\n
display: flex !important;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row;
\n
flex-flow: row;
\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
:
""
}])},
vRPh
:
function
(
n
,
e
,
t
){
var
a
=
t
(
"uEUG"
);
"string"
==
typeof
a
&&
(
a
=
[[
n
.
i
,
a
,
""
]]),
a
.
locals
&&
(
n
.
exports
=
a
.
locals
);
t
(
"rjj0"
)(
"7af636f1"
,
a
,
!
1
,{})}});
\ No newline at end of file
dev/static/js/manifest.062e10d8e2ebf07fb638.js
0 → 100644
View file @
82bb364f
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
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
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
72
:
0
};
function
d
(
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
,
d
),
c
.
l
=!
0
,
c
.
exports
}
d
.
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
,
d
){
a
=
c
[
e
]
=
[
f
,
d
]});
a
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"8ece2d740605eca702b9"
,
1
:
"ab6f0c84d8f979d09660"
,
2
:
"1c03b4c991a6b0594f92"
,
3
:
"091ca645443107e9ded6"
,
4
:
"c102d8d545fb2556c3a2"
,
5
:
"0462b2a40269380bbf4f"
,
6
:
"75fd58eab2034cedb4b6"
,
7
:
"bcac752106446b3e8adc"
,
8
:
"5c4cd85aaf5bc6efb4a0"
,
9
:
"b567701895f206d5236b"
,
10
:
"e0b1d5a28f3bc275d815"
,
11
:
"fdc025b3e244c98a15bd"
,
12
:
"65c678a82241b31987ea"
,
13
:
"7463293754ae59c5ca08"
,
14
:
"8b33ee9159ef24d377d7"
,
15
:
"51a5212d6d88ac802fb8"
,
16
:
"71b5ad58d890c2879092"
,
17
:
"f2af9634d65d2347ea6f"
,
18
:
"ecfa760eee2250fbfb46"
,
19
:
"8d0a2c4b5640c880c10b"
,
20
:
"24878188af651fbc6c0e"
,
21
:
"2387e41550a5813ff1a3"
,
22
:
"7394293fef9452d081c1"
,
23
:
"c680a54e7e3942b7ec9e"
,
24
:
"87b599154d1e8461c65a"
,
25
:
"88061534f9610db1f39b"
,
26
:
"f36e2160a413162d0381"
,
27
:
"42775f4bf91ce581108c"
,
28
:
"017e568c6a7ba07a08a0"
,
29
:
"591494b0361b153749ff"
,
30
:
"9d6f785c9e4744234606"
,
31
:
"2627895fb81e1b3cad97"
,
32
:
"1329176d100047a56898"
,
33
:
"a04a956d25ac27225bb9"
,
34
:
"a6d27c0e1c8905ddace8"
,
35
:
"0a714fb33d735e56be5f"
,
36
:
"7d0fe5d25ecc866811c5"
,
37
:
"dad3564317ba19bb11ec"
,
38
:
"9132b630b11a7358f38b"
,
39
:
"29b0f0a9ff3e9d998ece"
,
40
:
"5004d16d8b1cae453942"
,
41
:
"f74a3a362d3ef0bf8e29"
,
42
:
"0e33d8489572470ad249"
,
43
:
"ae6629f7bbd40ba6b3d5"
,
44
:
"9807558fcebc724f1be4"
,
45
:
"3618161227dd6b2419f3"
,
46
:
"62f3dbe209b4270aa14d"
,
47
:
"cda21a0d5eb14e81af54"
,
48
:
"505bbf654c168b7458ee"
,
49
:
"03ece76cfd4e0781ba5a"
,
50
:
"bbf8e93e68d626e33c0a"
,
51
:
"db1464d9559ce2a18a76"
,
52
:
"9756bf359ff62912a05a"
,
53
:
"95e08f56a7fe2196fa30"
,
54
:
"dcc480e01681465fff7e"
,
55
:
"f719e50579f4e1b64805"
,
56
:
"3ca2d1d33f3e3c9db6e2"
,
57
:
"d32f2d7ddbf24a633beb"
,
58
:
"7a9cf6f66a9e6468ec11"
,
59
:
"08953d0639fd3affa097"
,
60
:
"9469909bde10400ad51e"
,
61
:
"c1cdb5875d350052e604"
,
62
:
"f422f78032e9ab08b0c7"
,
63
:
"9f3f1e5f158491cc2742"
,
64
:
"94de89183fa7d740df30"
,
65
:
"7b0df218024b7958e53f"
,
66
:
"2ed0622377756bd3712a"
,
67
:
"02a72683f94e130517fc"
,
68
:
"28d69e52d8e332c7142b"
,
69
:
"e370153a2187b391ce0f"
}[
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
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
a
,
f
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
82bb364f
<!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.01710a13be3bf5993bf61aa96530b3f5.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.
c5003106ddd71c5b114b.js
></script><script
type=
text/javascript
src=
/static/js/vendor.adb38bc212a981bb369e.js
></script><script
type=
text/javascript
src=
/static/js/app.a2f3631fb81e369fb58a
.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.01710a13be3bf5993bf61aa96530b3f5.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.
90301b48239adabffa98.js
></script><script
type=
text/javascript
src=
/static/js/vendor.adb38bc212a981bb369e.js
></script><script
type=
text/javascript
src=
/static/js/app.d0b92abc69c253c2682f
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dist/static/js/12.3d290b0ab2209bdf87a9.js
0 → 100644
View file @
82bb364f
webpackJsonp
([
12
],{
AxXo
:
function
(
e
,
t
){},
CvLZ
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"CCn6"
),
s
=
n
(
"+TkF"
),
i
=
n
(
"kmJW"
),
o
=
{
name
:
"add"
,
data
:
function
(){
return
{
pickerOptions0
:{
disabledDate
:
function
(
e
){
return
e
.
getTime
()
<
Date
.
now
()
-
864
e5
}},
classSource
:[]}},
created
:
function
(){
var
e
=
this
;
Object
(
a
.
_96
)().
then
(
function
(
t
){
e
.
classSource
=
t
})},
props
:[
"newIntegral"
,
"goodsList"
],
methods
:{
reSetForm
:
function
(){
this
.
$refs
.
newIntegral
.
resetFields
()},
onAdd
:
function
(){
var
e
=
this
;
this
.
$refs
.
newIntegral
.
validate
(
function
(
t
){
t
&&
(
e
.
newIntegral
.
id
?
e
.
$emit
(
"subEdit"
):
e
.
$emit
(
"subAdd"
))})}},
watch
:{
"newIntegral.show"
:
function
(
e
){
var
t
=
this
;
e
&&!
this
.
newIntegral
.
id
&&
this
.
$nextTick
(
function
(){
t
.
reSetForm
()})}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
newIntegral
.
show
,
width
:
"800px"
,
center
:
""
,
title
:
e
.
newIntegral
.
id
?
"修改兑换码"
:
"生成兑换码"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
ref
:
"newIntegral"
,
attrs
:{
"label-width"
:
"150px"
,
model
:
e
.
newIntegral
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"名称"
,
prop
:
"name"
,
rules
:[{
required
:
!
0
,
message
:
"请输入名称"
,
trigger
:
"blur"
}]}},[
n
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
n
(
"el-col"
,{
attrs
:{
span
:
20
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
newIntegral
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"name"
,
t
)},
expression
:
"newIntegral.name"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
,
prop
:
"goods_id"
,
rules
:[{
required
:
!
0
,
message
:
"请选择商品"
,
trigger
:
"change"
}]}},[
n
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
n
(
"el-col"
,{
attrs
:{
span
:
20
}},[
n
(
"el-select"
,{
attrs
:{
filterable
:
""
},
model
:{
value
:
e
.
newIntegral
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"goods_id"
,
t
)},
expression
:
"newIntegral.goods_id"
}},
e
.
_l
(
e
.
goodsList
,
function
(
e
){
return
n
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
"【"
+
e
.
id
+
"】"
+
e
.
name
,
value
:
e
.
id
}})}))],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"招生来源"
}},[
n
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
model
:{
value
:
e
.
newIntegral
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"source"
,
t
)},
expression
:
"newIntegral.source"
}},
e
.
_l
(
e
.
classSource
,
function
(
e
,
t
){
return
n
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
type
}})}))],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"数量"
,
prop
:
"num"
,
rules
:[{
required
:
!
0
,
message
:
"请输入数量"
,
trigger
:
"blur"
}]}},[
n
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
n
(
"el-col"
,{
attrs
:{
span
:
20
}},[
n
(
"el-input-number"
,{
model
:{
value
:
e
.
newIntegral
.
num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"num"
,
t
)},
expression
:
"newIntegral.num"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"失效时间"
,
prop
:
"expire_at"
,
rules
:[{
required
:
!
0
,
message
:
"请选择失效时间"
,
trigger
:
"change"
}]}},[
n
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
n
(
"el-col"
,{
attrs
:{
span
:
20
}},[
n
(
"el-date-picker"
,{
attrs
:{
type
:
"datetime"
,
format
:
"yyyy-MM-dd HH:mm:ss"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:
e
.
pickerOptions0
,
placeholder
:
"选择日期"
},
model
:{
value
:
e
.
newIntegral
.
expire_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"expire_at"
,
t
)},
expression
:
"newIntegral.expire_at"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"备注"
,
prop
:
"desc"
,
rules
:[{
required
:
!
0
,
message
:
"请填写备注信息"
,
trigger
:
"blur"
}]}},[
n
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
n
(
"el-col"
,{
attrs
:{
span
:
20
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
newIntegral
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"desc"
,
t
)},
expression
:
"newIntegral.desc"
}})],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
newIntegral
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onAdd
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
n
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
n
(
"DP8M"
)},
"data-v-d725acae"
,
null
).
exports
,
c
=
{
name
:
"list"
,
components
:{
page
:
i
.
a
},
props
:[
"detailList"
],
data
:
function
(){
return
{
limit
:
10
,
list
:[],
form
:{
user_id
:
""
,
exchange_code
:
""
,
is_exchange
:
""
},
totalPage
:
0
,
nowPage
:
1
}},
methods
:{
initPage
:
function
(){
this
.
form
=
{
user_id
:
""
,
exchange_code
:
""
,
is_exchange
:
""
},
this
.
getList
()},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getList
()},
exprotList
:
function
(){
var
e
=
{};
""
!==
this
.
form
.
is_exchange
&&
(
e
.
is_exchange
=
this
.
form
.
is_exchange
),
""
!==
this
.
form
.
user_id
&&
(
e
.
user_id
=
this
.
form
.
user_id
),
Object
(
a
.
_27
)(
"/api/admin/exchange/export/"
+
this
.
detailList
.
id
,
e
)},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
""
!==
this
.
form
.
is_exchange
&&
(
t
.
is_exchange
=
this
.
form
.
is_exchange
),
""
!==
this
.
form
.
user_id
&&
(
t
.
user_id
=
this
.
form
.
user_id
),
""
!==
this
.
form
.
exchange_code
&&
(
t
.
exchange_code
=
this
.
form
.
exchange_code
),
Object
(
a
.
_26
)(
this
.
detailList
.
id
,
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
totalPage
=
t
.
total
})}},
watch
:{
"detailList.show"
:
function
(
e
){
e
&&
this
.
initPage
()}}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
detailList
.
show
,
width
:
"1200px"
,
center
:
""
,
title
:
"详细纪录"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
detailList
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
attrs
:{
"label-width"
:
"80px"
,
inline
:
""
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
n
(
"el-input"
,{
attrs
:{
size
:
"small"
},
model
:{
value
:
e
.
form
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"user_id"
,
t
)},
expression
:
"form.user_id"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"激活码"
}},[
n
(
"el-input"
,{
attrs
:{
size
:
"small"
},
model
:{
value
:
e
.
form
.
exchange_code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"exchange_code"
,
t
)},
expression
:
"form.exchange_code"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"是否激活"
}},[
n
(
"el-select"
,{
attrs
:{
size
:
"small"
},
model
:{
value
:
e
.
form
.
is_exchange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"is_exchange"
,
t
)},
expression
:
"form.is_exchange"
}},[
n
(
"el-option"
,{
attrs
:{
label
:
"是"
,
value
:
1
}}),
e
.
_v
(
" "
),
n
(
"el-option"
,{
attrs
:{
label
:
"否"
,
value
:
0
}})],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
e
.
exprotList
}},[
e
.
_v
(
"导出"
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
}},[
n
(
"el-table-column"
,{
attrs
:{
label
:
"用户信息"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
===
t
.
row
.
user_id
?
n
(
"div"
,[
e
.
_v
(
"暂无"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
0
!==
t
.
row
.
user_id
?
n
(
"div"
,{
staticStyle
:{
display
:
"flex"
}},[
n
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
"margin-right"
:
"5px"
,
"min-width"
:
"40px"
,
height
:
"40px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
row
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
),
n
(
"br"
),
e
.
_v
(
" Tel:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"exchange_no"
,
label
:
"兑换码"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"商品"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
【"
+
e
.
_s
(
t
.
row
.
goods_id
)
+
"】"
+
e
.
_s
(
t
.
row
.
goods_name
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"expire_at"
,
label
:
"失效时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"exchange_at"
,
label
:
"兑换时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"0000-00-00 00:00:00"
!==
t
.
row
.
exchange_at
?
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
exchange_at
))]):
e
.
_e
(),
e
.
_v
(
" "
),
"0000-00-00 00:00:00"
===
t
.
row
.
exchange_at
?
n
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
e
.
_v
(
"尚未兑换"
)]):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
totalPage
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
u
=
n
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
n
(
"AxXo"
)},
"data-v-3a94b73e"
,
null
).
exports
,
g
=
[],
m
=
{
name
:
"index"
,
components
:{
page
:
i
.
a
,
addExchange
:
r
,
listDetail
:
u
},
filters
:{
classSourceFilter
:
function
(
e
){
return
console
.
log
(
e
),
console
.
log
(
g
),
g
[
e
]}},
data
:
function
(){
var
e
=
[];
for
(
var
t
in
s
.
i
)
e
.
push
({
id
:
t
,
value
:
s
.
i
[
t
]});
var
n
=
[];
for
(
var
a
in
s
.
h
)
n
.
push
({
id
:
a
,
value
:
s
.
h
[
a
]});
return
{
list
:[],
total
:
0
,
detailList
:{
show
:
!
1
,
user_id
:
""
,
is_exchange
:
""
,
id
:
null
},
newIntegral
:{
show
:
!
1
,
goods_id
:
""
,
num
:
""
,
expire_at
:
""
,
desc
:
""
,
id
:
null
,
source
:
""
},
goodsList
:[],
is_addOption
:
e
,
sourceOption
:
n
,
limit
:
10
,
userListShow
:{
show
:
!
1
},
nowPage
:
1
,
form
:{
name
:
""
,
goods_id
:
""
}}},
mounted
:
function
(){
this
.
initPage
()},
methods
:{
onDetail
:
function
(
e
){
this
.
detailList
=
{
show
:
!
0
,
user_id
:
""
,
is_exchange
:
""
,
id
:
e
.
id
}},
onEdit
:
function
(
e
){
this
.
newIntegral
=
{
show
:
!
0
,
goods_id
:
e
.
goods_id
,
num
:
e
.
num
,
expire_at
:
e
.
expire_at
,
desc
:
e
.
desc
,
name
:
e
.
name
,
id
:
e
.
id
,
source
:
e
.
source
}},
subEdit
:
function
(){
var
e
=
this
,
t
=
{
goods_id
:
this
.
newIntegral
.
goods_id
,
num
:
this
.
newIntegral
.
num
,
expire_at
:
this
.
newIntegral
.
expire_at
,
desc
:
this
.
newIntegral
.
desc
,
name
:
this
.
newIntegral
.
name
,
source
:
this
.
newIntegral
.
source
};
Object
(
a
.
_14
)(
this
.
newIntegral
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
message
:
"数据修改成功"
,
type
:
"success"
}),
e
.
getList
(),
e
.
newIntegral
.
show
=!
1
})},
subAdd
:
function
(){
var
e
=
this
,
t
=
{
goods_id
:
this
.
newIntegral
.
goods_id
,
num
:
this
.
newIntegral
.
num
,
expire_at
:
this
.
newIntegral
.
expire_at
,
desc
:
this
.
newIntegral
.
desc
,
name
:
this
.
newIntegral
.
name
,
source
:
this
.
newIntegral
.
source
};
Object
(
a
.
j
)(
t
).
then
(
function
(
t
){
e
.
$message
({
message
:
"数据添加成功"
,
type
:
"success"
}),
e
.
getList
(),
e
.
newIntegral
.
show
=!
1
})},
showUserList
:
function
(){
this
.
userListShow
.
show
=!
0
},
addUser
:
function
(
e
){
this
.
userListShow
.
show
=!
1
,
this
.
newIntegral
.
user_id
=
e
},
changeUserList
:
function
(){},
addIntegral
:
function
(){
this
.
newIntegral
=
{
show
:
!
0
,
goods_id
:
""
,
num
:
""
,
expire_at
:
""
,
name
:
""
,
id
:
null
,
desc
:
""
}},
initPage
:
function
(){
var
e
=
this
;
this
.
form
=
{
name
:
""
,
goods_id
:
""
},
this
.
getGood
(),
Object
(
a
.
_96
)().
then
(
function
(
t
){
var
n
=
{};
t
.
forEach
(
function
(
e
,
t
){
n
[
e
.
type
]
=
e
.
name
}),
g
=
n
,
console
.
log
(
n
),
e
.
getList
()})},
getGood
:
function
(){
var
e
=
this
;
Object
(
a
.
_60
)({
limit
:
1
e3
}).
then
(
function
(
t
){
e
.
goodsList
=
t
.
list
})},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
""
!==
this
.
form
.
name
&&
(
t
.
name
=
this
.
form
.
name
),
""
!==
this
.
form
.
goods_id
&&
(
t
.
goods_id
=
this
.
form
.
goods_id
),
Object
(
a
.
_58
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
total
=
t
.
total
})}}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"integral-page"
},[
n
(
"el-form"
,{
ref
:
"searchFrom"
,
staticStyle
:{
"padding-top"
:
"20px"
,
background
:
"white"
},
attrs
:{
model
:
e
.
form
,
"label-width"
:
"100px"
,
size
:
"small"
,
inline
:
""
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"标题"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"name"
,
t
)},
expression
:
"form.name"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"商品"
}},[
n
(
"el-select"
,{
attrs
:{
filterable
:
""
},
model
:{
value
:
e
.
form
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"goods_id"
,
t
)},
expression
:
"form.goods_id"
}},
e
.
_l
(
e
.
goodsList
,
function
(
e
){
return
n
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
"【"
+
e
.
id
+
"】"
+
e
.
name
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
addIntegral
}},[
e
.
_v
(
"生成兑换码"
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
,
size
:
"small"
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
【"
+
e
.
_s
(
t
.
row
.
goods_id
)
+
"】"
+
e
.
_s
(
t
.
row
.
goods_name
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"num"
,
label
:
"数量"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"source"
,
label
:
"招生来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"classSourceFilter"
)(
t
.
row
.
source
)))]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"expire_at"
,
label
:
"失效时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"180"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
size
:
"mini"
},
on
:{
click
:
function
(
n
){
e
.
onDetail
(
t
.
row
)}}},[
e
.
_v
(
"查看详情"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
size
:
"mini"
},
on
:{
click
:
function
(
n
){
e
.
onEdit
(
t
.
row
)}}},[
e
.
_v
(
"编辑"
)])]}}])})],
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
(
"add-exchange"
,{
ref
:
"add_page"
,
attrs
:{
newIntegral
:
e
.
newIntegral
,
goodsList
:
e
.
goodsList
},
on
:{
subAdd
:
e
.
subAdd
,
subEdit
:
e
.
subEdit
}}),
e
.
_v
(
" "
),
n
(
"list-detail"
,{
attrs
:{
detailList
:
e
.
detailList
}})],
1
)},
staticRenderFns
:[]};
var
h
=
n
(
"VU/8"
)(
m
,
_
,
!
1
,
function
(
e
){
n
(
"GNJE"
),
n
(
"xy3Y"
)},
"data-v-7c36e4b6"
,
null
);
t
.
default
=
h
.
exports
},
DP8M
:
function
(
e
,
t
){},
GNJE
:
function
(
e
,
t
){},
xy3Y
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/13.9c6495a76c1be6a7633b.js
0 → 100644
View file @
82bb364f
webpackJsonp
([
13
],{
"9RoH"
:
function
(
e
,
t
){},
NDyu
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"CCn6"
),
a
=
i
(
"+TkF"
),
n
=
i
(
"kmJW"
),
l
=
{
name
:
"newIntegral"
,
props
:[
"newIntegral"
],
data
:
function
(){
var
e
=
[];
for
(
var
t
in
a
.
i
)
e
.
push
({
id
:
t
,
value
:
a
.
i
[
t
]});
return
{
is_addOption
:
e
}},
methods
:{
onAdd
:
function
(){
this
.
newIntegral
.
user_id
&&
""
!==
this
.
newIntegral
.
user_id
?
this
.
newIntegral
.
is_add
&&
""
!==
this
.
newIntegral
.
is_add
?
this
.
newIntegral
.
value
&&
""
!==
this
.
newIntegral
.
value
?
this
.
newIntegral
.
desc
&&
""
!==
this
.
newIntegral
.
desc
?
this
.
$emit
(
"subAdd"
):
this
.
$message
(
"请填写描述"
):
this
.
$message
(
"请填写积分值"
):
this
.
$message
(
"请选择积分类型"
):
this
.
$message
(
"请填写用户ID"
)},
showUserList
:
function
(){
this
.
$emit
(
"showUserList"
)}}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
newIntegral
.
show
,
width
:
"800px"
,
center
:
""
,
title
:
"积分变更"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"show"
,
t
)}}},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"150px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
14
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
newIntegral
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"user_id"
,
t
)},
expression
:
"newIntegral.user_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
6
}},[
i
(
"el-button"
,{
on
:{
click
:
e
.
showUserList
}},[
e
.
_v
(
"查询"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"积分类型"
}},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
20
}},[
i
(
"el-select"
,{
model
:{
value
:
e
.
newIntegral
.
is_add
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"is_add"
,
t
)},
expression
:
"newIntegral.is_add"
}},
e
.
_l
(
e
.
is_addOption
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"积分值"
}},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
20
}},[
i
(
"el-input-number"
,{
model
:{
value
:
e
.
newIntegral
.
value
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"value"
,
t
)},
expression
:
"newIntegral.value"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"描述【用户可见】"
}},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-col"
,{
attrs
:{
span
:
20
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
newIntegral
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
newIntegral
,
"desc"
,
t
)},
expression
:
"newIntegral.desc"
}})],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
newIntegral
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onAdd
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
o
=
i
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
e
){
i
(
"c01J"
)},
"data-v-f5ee97e6"
,
null
).
exports
,
u
=
{
name
:
"userList"
,
props
:[
"show"
],
components
:{
page
:
n
.
a
},
data
:
function
(){
return
{
userList
:[],
form
:{
userId
:
""
,
nickName
:
""
,
mobile
:
""
},
nowPage
:
1
,
limit
:
5
,
total
:
0
,
multipleSelection
:
null
}},
methods
:{
handleCurrentChange
:
function
(
e
){
e
&&
(
this
.
multipleSelection
=
e
.
user_id
)},
onAdd
:
function
(){
this
.
multipleSelection
?
this
.
$emit
(
"addUser"
,
this
.
multipleSelection
):
this
.
$message
(
"请点击选择用户"
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getUserList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getUserList
()},
getUserList
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
form
.
userId
&&
(
t
.
user_id
=
this
.
form
.
userId
),
this
.
form
.
nickName
&&
(
t
.
nickname
=
this
.
form
.
nickName
),
this
.
form
.
mobile
&&
(
t
.
mobile
=
this
.
form
.
mobile
),
Object
(
s
.
_118
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
total
=
t
.
total
})},
initPage
:
function
(){
this
.
multipleSelection
=
null
,
this
.
form
=
{
userId
:
""
,
nickName
:
""
,
mobile
:
""
},
this
.
getUserList
()}},
watch
:{
"show.show"
:
function
(
e
){
e
&&
this
.
initPage
()}}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
show
.
show
,
width
:
"700px"
,
center
:
""
,
title
:
"用户列表"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
show
,
"show"
,
t
)}}},[
i
(
"el-form"
,{
attrs
:{
"label-width"
:
"40px"
,
inline
:
""
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
userId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"userId"
,
t
)},
expression
:
"form.userId"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
nickName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"nickName"
,
t
)},
expression
:
"form.nickName"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"mobile"
,
t
)},
expression
:
"form.mobile"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUserList
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
,
"highlight-current-row"
:
""
},
on
:{
"current-change"
:
e
.
handleCurrentChange
}},[
i
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"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
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}})],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
show
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onAdd
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
d
=
i
(
"VU/8"
)(
u
,
c
,
!
1
,
function
(
e
){
i
(
"mJrq"
)},
"data-v-4fe5a55a"
,
null
).
exports
,
m
=
{
name
:
"index"
,
components
:{
page
:
n
.
a
,
newIntegral
:
o
,
userListPage
:
d
},
data
:
function
(){
var
e
=
[];
for
(
var
t
in
a
.
i
)
e
.
push
({
id
:
t
,
value
:
a
.
i
[
t
]});
var
i
=
[];
for
(
var
s
in
a
.
h
)
i
.
push
({
id
:
s
,
value
:
a
.
h
[
s
]});
return
{
width
:
0
,
list
:[],
total
:
0
,
newIntegral
:{
show
:
!
1
,
user_id
:
""
,
is_add
:
""
,
value
:
""
,
desc
:
""
},
is_addOption
:
e
,
sourceOption
:
i
,
limit
:
10
,
userListShow
:{
show
:
!
1
},
nowPage
:
1
,
form
:{
is_add
:
"-1"
,
source
:
""
,
user_id
:
""
,
mobile
:
""
,
nickname
:
""
}}},
mounted
:
function
(){
this
.
initPage
(),
this
.
width
=
window
.
innerWidth
-
200
},
filters
:{
INTEGRALTYPE
:
function
(
e
){
return
a
.
i
[
e
]},
INTEGRALFUN
:
function
(
e
){
return
a
.
h
[
e
]}},
methods
:{
subAdd
:
function
(){
var
e
=
this
,
t
=
{
user_id
:
this
.
newIntegral
.
user_id
,
is_add
:
this
.
newIntegral
.
is_add
,
value
:
this
.
newIntegral
.
value
,
desc
:
this
.
newIntegral
.
desc
};
Object
(
s
.
B
)(
t
).
then
(
function
(
t
){
e
.
getList
(),
e
.
newIntegral
.
show
=!
1
})},
showUserList
:
function
(){
this
.
userListShow
.
show
=!
0
},
addUser
:
function
(
e
){
this
.
userListShow
.
show
=!
1
,
this
.
newIntegral
.
user_id
=
e
},
changeUserList
:
function
(){},
addIntegral
:
function
(){
this
.
newIntegral
=
{
show
:
!
0
,
user_id
:
""
,
is_add
:
""
,
value
:
""
,
desc
:
""
}},
initPage
:
function
(){
this
.
form
=
{
is_add
:
"-1"
,
source
:
""
,
user_id
:
""
,
mobile
:
""
,
nickname
:
""
},
this
.
getList
()},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
"-2"
===
this
.
form
.
is_add
?
Object
(
s
.
_130
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
total
=
t
.
total
}):(
""
!==
this
.
form
.
is_add
&&
"-1"
!==
this
.
form
.
is_add
&&
(
t
.
is_add
=
this
.
form
.
is_add
),
""
!==
this
.
form
.
source
&&
(
t
.
source
=
this
.
form
.
source
),
""
!==
this
.
form
.
user_id
&&
(
t
.
user_id
=
this
.
form
.
user_id
),
""
!==
this
.
form
.
mobile
&&
(
t
.
mobile
=
this
.
form
.
mobile
),
""
!==
this
.
form
.
nickname
&&
(
t
.
nickname
=
this
.
form
.
nickname
),
Object
(
s
.
_61
)(
t
).
then
(
function
(
t
){
e
.
list
=
t
.
list
,
e
.
total
=
t
.
total
}))}}},
h
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"integral-page"
},[
i
(
"el-form"
,{
ref
:
"searchFrom"
,
staticStyle
:{
"padding-top"
:
"20px"
,
background
:
"white"
},
attrs
:{
model
:
e
.
form
,
"label-width"
:
"80px"
,
inline
:
""
,
size
:
"small"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
form
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"nickname"
,
t
)},
expression
:
"form.nickname"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
i
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
model
:{
value
:
e
.
form
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"user_id"
,
t
)},
expression
:
"form.user_id"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
i
(
"el-input"
,{
model
:{
value
:
e
.
form
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"mobile"
,
t
)},
expression
:
"form.mobile"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"获/抵方式"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
form
.
source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"source"
,
t
)},
expression
:
"form.source"
}},
e
.
_l
(
e
.
sourceOption
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
addIntegral
}},[
e
.
_v
(
"变更用户积分"
)])],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getList
},
model
:{
value
:
e
.
form
.
is_add
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"is_add"
,
t
)},
expression
:
"form.is_add"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"添加积分"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"减少积分"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"积分排行"
,
name
:
"-2"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
style
:{
width
:
e
.
width
+
"px"
},
attrs
:{
data
:
e
.
list
,
size
:
"mini"
}},[
i
(
"el-table-column"
,{
attrs
:{
width
:
"220"
,
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
),
i
(
"br"
),
e
.
_v
(
"
\n
手机:"
+
e
.
_s
(
t
.
row
.
mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
"-2"
!==
e
.
form
.
is_add
?
i
(
"el-table-column"
,{
attrs
:{
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"INTEGRALFUN"
)(
t
.
row
.
source
)))]}}])}):
e
.
_e
(),
e
.
_v
(
" "
),
"-2"
!==
e
.
form
.
is_add
?
i
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"积分变更描述"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
"-2"
!==
e
.
form
.
is_add
?
i
(
"el-table-column"
,{
attrs
:{
label
:
"变更积分值"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
1
===
t
.
row
.
is_add
?
i
(
"span"
,{
staticStyle
:{
color
:
"green"
}},[
e
.
_v
(
"+"
+
e
.
_s
(
t
.
row
.
value
))]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
is_add
?
i
(
"span"
,{
staticStyle
:{
color
:
"red"
}},[
e
.
_v
(
"-"
+
e
.
_s
(
t
.
row
.
value
))]):
e
.
_e
()]}}])}):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"last_value"
,
label
:
"-2"
!==
e
.
form
.
is_add
?
"变更后积分值"
:
"最新积分"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"-2"
!==
e
.
form
.
is_add
?
"创建时间"
:
"最新变更时间"
}})],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
i
(
"new-integral"
,{
attrs
:{
newIntegral
:
e
.
newIntegral
},
on
:{
subAdd
:
e
.
subAdd
,
showUserList
:
e
.
showUserList
}}),
e
.
_v
(
" "
),
i
(
"user-list-page"
,{
attrs
:{
show
:
e
.
userListShow
},
on
:{
addUser
:
e
.
addUser
}})],
1
)},
staticRenderFns
:[]};
var
f
=
i
(
"VU/8"
)(
m
,
h
,
!
1
,
function
(
e
){
i
(
"kmZK"
),
i
(
"9RoH"
)},
"data-v-2400e64b"
,
null
);
t
.
default
=
f
.
exports
},
c01J
:
function
(
e
,
t
){},
kmZK
:
function
(
e
,
t
){},
mJrq
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/14.71d7db719b296c756393.js
0 → 100644
View file @
82bb364f
webpackJsonp
([
14
],{
"1djJ"
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
o
(
"CCn6"
),
i
=
o
(
"+TkF"
),
l
=
o
(
"kmJW"
),
r
=
o
(
"5eDb"
),
a
=
o
.
n
(
r
),
n
=
(
o
(
"o5MN"
),
o
(
"q47d"
)),
c
=
(
o
(
"NBEC"
),
o
(
"gBhd"
),
o
(
"Q/P+"
),
o
(
"f85y"
),
o
(
"q/hF"
),
o
(
"yXOt"
),
o
(
"c/6r"
),
o
(
"Rv7z"
),
o
(
"S0tB"
),
o
(
"UWKq"
),
o
(
"gvu3"
),
o
(
"XUqK"
),{
name
:
"tinymce"
,
props
:[
"lookData"
],
data
:
function
(){
return
{
radio
:[],
imageType
:
!
1
,
form
:{
imgList
:[],
big
:
!
1
,
weight
:
""
,
center
:
!
0
},
show
:
""
,
dialogVisible
:
!
1
,
init
:{
toolbar
:
"bold italic underline strikethrough | fontselect | fontsizeselect | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent blockquote | undo redo | link unlink image code | "
,
language_url
:
"/static/tinymce/zh_CN.js"
,
language
:
"zh_CN"
,
skin_url
:
"/static/tinymce/skins/lightgray"
,
height
:
500
,
plugins
:
"preview textpattern colorpicker lists code colorpicker fullpage textcolor wordcount contextmenu media"
,
branding
:
!
1
}}},
activated
:
function
(){
this
.
show
=!
0
},
deactivated
:
function
(){},
mounted
:
function
(){},
methods
:{
beforeAvatarUploadImg
:
function
(
e
){
var
t
=
"image/jpeg"
===
e
.
type
||
"image/png"
===
e
.
type
;
return
t
||
this
.
$message
.
error
(
"上传头像图片只能是 JPG 或 PNG 格式!"
),
t
},
imgInter
:
function
(){
if
(
this
.
form
.
imgList
.
length
<
1
)
return
this
.
$message
({
type
:
"error"
,
message
:
"请选择图片"
}),
!
1
;
var
e
=
""
;
this
.
form
.
big
?
e
+=
"width:100%;"
:
e
+=
"width:70%"
,
this
.
form
.
center
&&
(
e
=
"display:block;margin:auto"
);
var
t
=
'<img src="'
+
this
.
form
.
imgList
[
0
].
url
+
'" style="'
+
e
+
'"/>'
;
a
.
a
.
activeEditor
.
insertContent
(
t
),
this
.
dialogVisible
=!
1
},
uploadFile
:
function
(
e
){
var
t
=
this
;
Object
(
s
.
_187
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
}),
t
.
form
.
imgList
=
[{
name
:
e
.
name
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
}]})},
showDialog
:
function
(){
this
.
dialogVisible
=!
0
,
this
.
form
=
{
imgList
:[],
big
:
!
1
,
weight
:
""
,
center
:
!
0
}},
insertContent
:
function
(
e
){
if
(
e
){
var
t
=
null
;
if
(
document
.
selection
)(
t
=
document
.
selection
).
createRange
().
pasteHTML
(
e
);
else
if
((
t
=
document
.
getElementById
(
"tinymce_ifr"
).
contentWindow
.
getSelection
()).
rangeCount
>
0
){
var
o
=
t
.
getRangeAt
(
0
);
o
.
deleteContents
();
var
s
=
document
.
createElement
(
"div"
);
s
.
innerHTML
=
e
;
var
i
=
document
.
createDocumentFragment
(),
l
=
s
.
firstChild
,
r
=
i
.
appendChild
(
l
);
o
.
insertNode
(
i
);
var
a
=
o
.
cloneRange
();
a
.
setStartAfter
(
r
),
a
.
collapse
(
!
0
),
t
.
removeAllRanges
(),
t
.
addRange
(
a
)}}},
removeFile
:
function
(){},
handleExceed
:
function
(){}},
created
:
function
(){
a
.
a
.
init
({})},
components
:{
Editor
:
n
.
a
}}),
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"tinymce"
},[
o
(
"editor"
,{
attrs
:{
id
:
"tinymce"
,
init
:
e
.
init
},
model
:{
value
:
e
.
lookData
.
detail
,
callback
:
function
(
t
){
e
.
$set
(
e
.
lookData
,
"detail"
,
t
)},
expression
:
"lookData.detail"
}}),
e
.
_v
(
" "
),
o
(
"div"
,[
o
(
"div"
,{
staticClass
:
"imgInter"
,
on
:{
click
:
function
(
t
){
e
.
showDialog
()}}},[
e
.
_v
(
"插入图片"
)])]),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
"插入图片"
,
visible
:
e
.
dialogVisible
,
"modal-append-to-body"
:
!
1
,
"close-on-click-modal"
:
!
1
,
center
:
""
,
"append-to-body"
:
!
0
,
width
:
"550px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
o
(
"el-form"
,{
attrs
:{
"label-width"
:
"80px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"图片"
}},[
o
(
"el-upload"
,{
attrs
:{
action
:
"/api/public/upload"
,
"http-request"
:
e
.
uploadFile
,
"on-remove"
:
e
.
removeFile
,
"before-upload"
:
e
.
beforeAvatarUploadImg
,
drag
:
""
,
"on-exceed"
:
e
.
handleExceed
,
multiple
:
""
,
limit
:
1
,
"file-list"
:
e
.
form
.
imgList
}},[
o
(
"i"
,{
staticClass
:
"el-icon-upload"
}),
e
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"el-upload__text"
},[
e
.
_v
(
"将文件拖到此处,或"
),
o
(
"em"
,[
e
.
_v
(
"点击上传"
)])]),
e
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
e
.
_v
(
"只能上传png或jpg文件"
)])])],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"铺满"
}},[
o
(
"el-switch"
,{
model
:{
value
:
e
.
form
.
big
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"big"
,
t
)},
expression
:
"form.big"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"居中"
}},[
o
(
"el-switch"
,{
model
:{
value
:
e
.
form
.
center
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"center"
,
t
)},
expression
:
"form.center"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
imgInter
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
u
=
o
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
o
(
"WQzf"
)},
"data-v-1d092dba"
,
null
).
exports
,
m
=
{
name
:
"tinymce1"
,
props
:[
"lookData1"
],
data
:
function
(){
return
{
radio
:[],
imageType
:
!
1
,
form
:{
imgList1
:[],
big
:
!
1
,
weight
:
""
,
center
:
!
0
},
show
:
""
,
dialogVisible1
:
!
1
,
init
:{
toolbar
:
"bold italic underline strikethrough | fontselect | fontsizeselect | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent blockquote | undo redo | link unlink image code | "
,
language_url
:
"/static/tinymce/zh_CN.js"
,
language
:
"zh_CN"
,
skin_url
:
"/static/tinymce/skins/lightgray"
,
height
:
500
,
plugins
:
"preview textpattern colorpicker lists code colorpicker fullpage textcolor wordcount contextmenu media"
,
branding
:
!
1
}}},
activated
:
function
(){
this
.
show
=!
0
},
deactivated
:
function
(){},
mounted
:
function
(){},
methods
:{
beforeAvatarUploadImg
:
function
(
e
){
var
t
=
"image/jpeg"
===
e
.
type
||
"image/png"
===
e
.
type
;
return
t
||
this
.
$message
.
error
(
"上传头像图片只能是 JPG 或 PNG 格式!"
),
t
},
imgInter1
:
function
(){
if
(
this
.
form
.
imgList1
.
length
<
1
)
return
this
.
$message
({
type
:
"error"
,
message
:
"请选择图片"
}),
!
1
;
var
e
=
""
;
this
.
form
.
big
?
e
+=
"width:100%;"
:
e
+=
"width:70%"
,
this
.
form
.
center
&&
(
e
=
"display:block;margin:auto"
);
var
t
=
'<img src="'
+
this
.
form
.
imgList1
[
0
].
url
+
'" style="'
+
e
+
'"/>'
;
a
.
a
.
activeEditor
.
insertContent
(
t
),
this
.
dialogVisible1
=!
1
},
uploadFile
:
function
(
e
){
var
t
=
this
;
Object
(
s
.
_187
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
}),
t
.
form
.
imgList1
=
[{
name
:
e
.
name
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
}]})},
showDialog1
:
function
(){
this
.
dialogVisible1
=!
0
,
this
.
form
=
{
imgList1
:[],
big
:
!
1
,
weight
:
""
,
center
:
!
0
}},
insertContent
:
function
(
e
){
if
(
e
){
var
t
=
null
;
if
(
document
.
selection
)(
t
=
document
.
selection
).
createRange
().
pasteHTML
(
e
);
else
if
((
t
=
document
.
getElementById
(
"tinymce1_ifr"
).
contentWindow
.
getSelection
()).
rangeCount
>
0
){
var
o
=
t
.
getRangeAt
(
0
);
o
.
deleteContents
();
var
s
=
document
.
createElement
(
"div"
);
s
.
innerHTML
=
e
;
var
i
=
document
.
createDocumentFragment
(),
l
=
s
.
firstChild
,
r
=
i
.
appendChild
(
l
);
o
.
insertNode
(
i
);
var
a
=
o
.
cloneRange
();
a
.
setStartAfter
(
r
),
a
.
collapse
(
!
0
),
t
.
removeAllRanges
(),
t
.
addRange
(
a
)}}},
removeFile
:
function
(){},
handleExceed
:
function
(){}},
created
:
function
(){
a
.
a
.
init
({})},
components
:{
Editor
:
n
.
a
}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"tinymce"
},[
o
(
"editor"
,{
attrs
:{
id
:
"tinymce1"
,
init
:
e
.
init
},
model
:{
value
:
e
.
lookData1
.
qa
,
callback
:
function
(
t
){
e
.
$set
(
e
.
lookData1
,
"qa"
,
t
)},
expression
:
"lookData1.qa"
}}),
e
.
_v
(
" "
),
o
(
"div"
,[
o
(
"div"
,{
staticClass
:
"imgInter"
,
on
:{
click
:
function
(
t
){
e
.
showDialog1
()}}},[
e
.
_v
(
"插入图片"
)])]),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
"插入图片"
,
visible
:
e
.
dialogVisible1
,
"modal-append-to-body"
:
!
1
,
"close-on-click-modal"
:
!
1
,
center
:
""
,
"append-to-body"
:
!
0
,
width
:
"550px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible1
=
t
}}},[
o
(
"el-form"
,{
attrs
:{
"label-width"
:
"80px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"图片"
}},[
o
(
"el-upload"
,{
attrs
:{
action
:
"/api/public/upload"
,
"http-request"
:
e
.
uploadFile
,
"on-remove"
:
e
.
removeFile
,
"before-upload"
:
e
.
beforeAvatarUploadImg
,
drag
:
""
,
"on-exceed"
:
e
.
handleExceed
,
multiple
:
""
,
limit
:
1
,
"file-list"
:
e
.
form
.
imgList1
}},[
o
(
"i"
,{
staticClass
:
"el-icon-upload"
}),
e
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"el-upload__text"
},[
e
.
_v
(
"将文件拖到此处,或"
),
o
(
"em"
,[
e
.
_v
(
"点击上传"
)])]),
e
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
e
.
_v
(
"只能上传png或jpg文件"
)])])],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"铺满"
}},[
o
(
"el-switch"
,{
model
:{
value
:
e
.
form
.
big
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"big"
,
t
)},
expression
:
"form.big"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"居中"
}},[
o
(
"el-switch"
,{
model
:{
value
:
e
.
form
.
center
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"center"
,
t
)},
expression
:
"form.center"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogVisible1
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
imgInter1
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
f
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
components
:{
editorDetail
:
u
,
editorKnow
:
o
(
"VU/8"
)(
m
,
_
,
!
1
,
function
(
e
){
o
(
"1rvC"
)},
"data-v-49643bc6"
,
null
).
exports
},
filters
:{
filterGoods
:
function
(
e
){
return
"["
+
i
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
data
:
function
(){
return
{
tiny
:{
height
:
300
},
sendObj
:{
content
:
"nihao"
},
loading
:
!
0
,
goodsYou
:[],
goodsList
:[],
form
:{
name
:
""
,
goods_type
:
1
,
goods_desc
:{
desc
:
""
,
imgLesson
:[],
img
:[],
course_title
:
""
,
time_limit
:
0
},
course_id
:
""
,
course_type
:
0
,
watch_num
:
""
,
invite_earnings
:
0
,
original_price
:
""
,
current_price
:
""
,
is_real
:
0
,
is_auth_user
:
0
,
is_auth_teacher
:
0
,
share_desc
:{
title
:
""
,
content
:
""
,
img
:[],
refImg
:[]},
desc
:{
detail
:
""
,
qa
:
""
,
customer_service
:[],
after_goods_id
:
""
,
before_goods_id
:
""
},
is_into_periods
:
"0"
},
lessonList
:[],
goOn_goods_Id
:{
after_goods_id
:
""
,
before_goods_id
:
""
},
coupongoods
:[],
false
:
!
1
}},
methods
:{
goodsChange
:
function
(){
var
e
=
this
;
if
(
4
==
this
.
form
.
goods_type
||
3
==
this
.
form
.
goods_type
){
var
t
=
{
limit
:
"999"
,
page
:
"1"
,
goods_type
:
"1,2"
,
status
:
"1"
};
Object
(
s
.
_60
)(
t
).
then
(
function
(
o
){
console
.
log
(
t
),
e
.
goodsList
=
o
.
list
})}
else
if
(
1
==
this
.
form
.
goods_type
||
2
==
this
.
form
.
goods_type
){
Object
(
s
.
_60
)({
limit
:
"999"
,
page
:
"1"
,
goods_type
:
"4"
}).
then
(
function
(
t
){
console
.
log
(
t
);
e
.
coupongoods
=
t
.
list
,
e
.
coupongoods
.
unshift
({
name
:
"不赠送"
,
id
:
"0"
,
goods_type
:
4
,
course_type
:
0
,
current_price
:
0
})})}},
sub
:
function
(){
var
e
=
this
;
if
(
console
.
log
(
this
.
form
),
this
.
form
.
share_desc
.
img
||
2
!=
this
.
form
.
goods_type
){
var
t
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
)
+
""
);
switch
(
console
.
log
(
this
.
form
),
3
!==
t
.
goods_type
&&
4
!==
t
.
goods_type
&&
5
!==
t
.
goods_type
||
(
t
.
course_id
=
0
,
t
.
watch_num
=
0
),
5
===
t
.
goods_type
&&
(
t
.
is_real
=
1
),
t
.
desc
.
before_goods_id
=
this
.
goOn_goods_Id
.
before_goods_id
,
this
.
goodsYou
.
length
<
1
?
t
.
desc
.
use_goods_ids
=
""
:
t
.
desc
.
use_goods_ids
=
this
.
goodsYou
.
toString
(),
t
.
desc
.
after_goods_id
=
this
.
goOn_goods_Id
.
after_goods_id
,
t
.
original_price
=
(
100
*
t
.
original_price
).
toFixed
(
0
),
t
.
current_price
=
(
100
*
t
.
current_price
).
toFixed
(
0
),
t
.
invite_earnings
=
(
100
*
t
.
invite_earnings
).
toFixed
(
0
),
t
.
goods_desc
=
JSON
.
stringify
(
t
.
goods_desc
),
t
.
desc
=
JSON
.
stringify
(
t
.
desc
),
t
.
share_desc
=
JSON
.
stringify
(
t
.
share_desc
),
this
.
dialogObj
.
type
){
case
1
:
Object
(
s
.
_15
)(
this
.
dialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
dialogObj
.
show
=!
1
});
break
;
case
0
:
console
.
log
(
t
),
Object
(
s
.
k
)(
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"新增成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
dialogObj
.
show
=!
1
})}}
else
this
.
$message
({
type
:
"success"
,
message
:
"请上传主图!"
})},
removeFileMain
:
function
(
e
){
var
t
=
this
.
form
.
goods_desc
.
img
.
findIndex
(
function
(
t
){
return
t
.
name
===
e
.
name
});
this
.
form
.
goods_desc
.
img
.
splice
(
t
,
1
)},
uploadFileLesson
:
function
(
e
){
var
t
=
this
;
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
this
.
fileUid
=
e
.
file
.
uid
,
Object
(
s
.
_187
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
form
.
goods_desc
.
imgLesson
=
[{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
}],
t
.
$message
({
message
:
"上传成功"
,
type
:
"success"
})})},
removeFileLesson
:
function
(){
this
.
form
.
goods_desc
.
imgLesson
=
[]},
uploadFileMain
:
function
(
e
){
var
t
=
this
;
console
.
log
(
e
),
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
this
.
fileUid
=
e
.
file
.
uid
,
Object
(
s
.
_187
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
form
.
goods_desc
.
img
.
push
({
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
}),
t
.
$message
({
message
:
"上传成功"
,
type
:
"success"
})})},
removeFileShareRef
:
function
(){
this
.
form
.
share_desc
.
refImg
=
[]},
uploadFileMainShareRef
:
function
(
e
){
var
t
=
this
;
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
this
.
fileUid
=
e
.
file
.
uid
,
Object
(
s
.
_187
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
$message
({
message
:
"上传成功"
,
type
:
"success"
}),
t
.
form
.
share_desc
.
refImg
?
t
.
form
.
share_desc
.
refImg
[
0
]
=
{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
}:(
t
.
form
.
share_desc
.
refImg
=
[],
t
.
form
.
share_desc
.
refImg
[
0
]
=
{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
})})},
uploadFileMainShare
:
function
(
e
){
var
t
=
this
;
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
this
.
fileUid
=
e
.
file
.
uid
,
Object
(
s
.
_187
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
$message
({
message
:
"上传成功"
,
type
:
"success"
}),
t
.
form
.
share_desc
.
img
?
t
.
form
.
share_desc
.
img
[
0
]
=
{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
}:(
t
.
form
.
share_desc
.
img
=
[],
t
.
form
.
share_desc
.
img
[
0
]
=
{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
})})},
removeFileService
:
function
(){
this
.
form
.
desc
.
customer_service
=
[]},
uploadFileMainService
:
function
(
e
){
var
t
=
this
;
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
this
.
fileUid
=
e
.
file
.
uid
,
Object
(
s
.
_187
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
$message
({
message
:
"上传成功"
,
type
:
"success"
}),
t
.
form
.
desc
.
customer_service
?
t
.
form
.
desc
.
customer_service
[
0
]
=
{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
}:(
t
.
form
.
desc
.
customer_service
=
[],
t
.
form
.
desc
.
customer_service
[
0
]
=
{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
})})},
uploadFileShare
:
function
(
e
){
var
t
=
this
;
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
this
.
fileUid
=
e
.
file
.
uid
,
Object
(
s
.
_187
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
e
){
t
.
$message
({
message
:
"上传成功"
,
type
:
"success"
}),
t
.
form
.
share_desc
.
img
?
t
.
form
.
share_desc
.
img
[
0
]
=
{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
}:(
t
.
form
.
share_desc
.
img
=
[],
t
.
form
.
share_desc
.
img
[
0
]
=
{
name
:
e
.
url
,
url
:
"https://cdn.singsingenglish.com/"
+
e
.
url
,
title
:
""
,
lable
:
""
})})},
initDialog
:
function
(){
var
e
=
this
;
switch
(
this
.
dialogObj
.
type
){
case
0
:
if
(
this
.
loading
=!
1
,
this
.
goOn_goods_Id
.
after_goods_id
=
""
,
this
.
goodsYou
=
[],
this
.
goOn_goods_Id
.
before_goods_id
=
""
,
this
.
form
=
{
name
:
""
,
goods_type
:
1
,
goods_desc
:{
desc
:
""
,
img
:[],
course_title
:
""
},
course_id
:
""
,
course_type
:
0
,
watch_num
:
""
,
duration_num
:
0
,
original_price
:
""
,
current_price
:
""
,
is_real
:
0
,
is_auth_user
:
0
,
is_auth_teacher
:
0
,
share_desc
:{
title
:
""
,
content
:
""
,
refImg
:[],
img
:[]},
desc
:{
detail
:
""
,
qa
:
""
,
customer_service
:[],
before_goods_id
:
0
,
after_goods_id
:
0
},
is_into_periods
:
"0"
},
this
.
getLessonList
(),
console
.
log
(
this
.
form
.
course_type
),
1
==
this
.
form
.
goods_type
||
2
==
this
.
form
.
goods_type
){
Object
(
s
.
_60
)({
limit
:
200
,
nowPage
:
1
,
goods_type
:
"4"
}).
then
(
function
(
t
){
e
.
coupongoods
=
t
.
list
,
e
.
coupongoods
.
unshift
({
name
:
"不赠送"
,
id
:
"0"
,
goods_type
:
4
,
course_type
:
0
,
current_price
:
0
})})}
break
;
case
1
:
case
2
:
this
.
goOn_goods_Id
.
after_goods_id
=
""
,
this
.
goOn_goods_Id
.
before_goods_id
=
""
,
this
.
goodsYou
=
[],
this
.
form
=
{
name
:
""
,
goods_type
:
1
,
goods_desc
:{
desc
:
""
,
img
:[],
course_title
:
""
},
course_id
:
""
,
course_type
:
0
,
watch_num
:
""
,
duration_num
:
0
,
original_price
:
""
,
current_price
:
""
,
is_real
:
0
,
is_auth_user
:
0
,
is_auth_teacher
:
0
,
share_desc
:{
title
:
""
,
content
:
""
,
refImg
:[],
img
:[]},
desc
:{
detail
:
""
,
qa
:
""
,
customer_service
:[],
before_goods_id
:
0
,
after_goods_id
:
0
},
is_into_periods
:
"0"
},
Object
(
s
.
_59
)(
this
.
dialogObj
.
id
).
then
(
function
(
t
){
e
.
loading
=!
1
;
var
o
=
JSON
.
parse
(
t
.
share_desc
);
if
(
o
.
refImg
||
(
o
.
refImg
=
[]),
e
.
form
=
{
name
:
t
.
name
,
goods_type
:
t
.
goods_type
,
goods_desc
:
JSON
.
parse
(
t
.
goods_desc
),
course_id
:
t
.
course_id
,
course_type
:
t
.
course_type
,
watch_num
:
t
.
watch_num
,
duration_num
:
t
.
duration_num
,
original_price
:
t
.
original_price
/
100
,
current_price
:
t
.
current_price
/
100
,
is_real
:
t
.
is_real
,
is_auth_user
:
t
.
is_auth_user
,
share_desc
:
JSON
.
parse
(
t
.
share_desc
),
desc
:
JSON
.
parse
(
t
.
desc
),
invite_earnings
:
t
.
invite_earnings
/
100
,
is_auth_teacher
:
t
.
is_auth_teacher
,
is_into_periods
:
t
.
is_into_periods
},
e
.
form
.
desc
.
before_goods_id
&&
(
e
.
goOn_goods_Id
.
before_goods_id
=
e
.
form
.
desc
.
before_goods_id
),
e
.
form
.
desc
.
after_goods_id
&&
(
e
.
goOn_goods_Id
.
after_goods_id
=
e
.
form
.
desc
.
after_goods_id
),
e
.
form
.
desc
.
use_goods_ids
&&
(
e
.
goodsYou
=
e
.
form
.
desc
.
use_goods_ids
.
split
(
","
),
e
.
goodsYou
=
e
.
goodsYou
.
map
(
function
(
e
){
return
+
e
})),
console
.
log
(
e
.
form
),
1
!=
e
.
form
.
course_type
&&
2
!=
e
.
form
.
course_type
&&
Object
(
s
.
_60
)({
limit
:
200
}).
then
(
function
(
t
){
e
.
goodsList
=
t
.
list
}),
console
.
log
(
e
.
form
.
course_type
),
4
==
e
.
form
.
goods_type
){
e
.
getLessonList
();
Object
(
s
.
_60
)({
limit
:
200
,
nowPage
:
1
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
e
.
goodsList
=
t
.
list
})}
if
(
1
==
e
.
form
.
goods_type
||
2
==
e
.
form
.
goods_type
){
Object
(
s
.
_60
)({
limit
:
200
,
nowPage
:
1
,
goods_type
:
"4"
}).
then
(
function
(
t
){
e
.
coupongoods
=
t
.
list
,
e
.
coupongoods
.
unshift
({
name
:
"不赠送"
,
id
:
"0"
,
goods_type
:
4
,
course_type
:
0
,
current_price
:
0
})})}});
break
;
case
3
:
if
(
this
.
title
=
"编辑"
,
this
.
show
=
this
.
dialogObj
.
show
,
this
.
id
=
this
.
dialogObj
.
id
,
this
.
type
=
2
,
1
==
this
.
form
.
goods_type
||
2
==
this
.
form
.
goods_type
){
this
.
getLessonList
();
Object
(
s
.
_60
)({
limit
:
200
,
nowPage
:
1
,
goods_type
:
"4"
}).
then
(
function
(
t
){
e
.
coupongoods
=
t
.
list
})}}},
changeLessonType
:
function
(){
this
.
getLessonList
()},
getLessonList
:
function
(){
var
e
=
this
;
Object
(
s
.
_63
)({
type
:
this
.
form
.
course_type
}).
then
(
function
(
t
){
e
.
lessonList
=
t
.
list
})}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
dialogObj
.
show
&&
(
console
.
log
(
this
.
dialogObj
),
this
.
loading
=!
0
,
this
.
initDialog
())},
deep
:
!
0
},
"dialogObj.show"
:
function
(
e
){},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
g
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogObj
.
title
,
center
:
""
,
visible
:
e
.
dialogObj
.
show
,
"close-on-click-modal"
:
!
1
,
width
:
"900px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
o
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
"label-width"
:
"120px"
,
disabled
:
2
===
e
.
dialogObj
.
type
}},[
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
,
required
:
""
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
form
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"name"
,
t
)},
expression
:
"form.name"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"商品描述"
,
required
:
""
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
form
.
goods_desc
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
.
goods_desc
,
"desc"
,
t
)},
expression
:
"form.goods_desc.desc"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"商品类型"
,
required
:
""
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
goodsChange
},
model
:{
value
:
e
.
form
.
goods_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"goods_type"
,
t
)},
expression
:
"form.goods_type"
}},[
o
(
"el-option"
,{
attrs
:{
label
:
"普通商品"
,
value
:
1
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"团购商品"
,
value
:
2
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"续课商品"
,
value
:
3
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"优惠券商品"
,
value
:
4
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"实物商品"
,
value
:
5
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"广告语"
,
required
:
""
}},[
o
(
"el-input"
,{
attrs
:{
placeholder
:
"不超过8个字"
},
model
:{
value
:
e
.
form
.
goods_desc
.
tips
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
.
goods_desc
,
"tips"
,
t
)},
expression
:
"form.goods_desc.tips"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-row"
,[
4
===
e
.
form
.
goods_type
?
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"课程类型"
,
required
:
""
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
form
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"course_type"
,
t
)},
expression
:
"form.course_type"
}},[
o
(
"el-option"
,{
attrs
:{
label
:
"日课"
,
value
:
1
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"月课"
,
value
:
0
}})],
1
)],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
4
===
e
.
form
.
goods_type
?
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"可用商品"
,
required
:
""
}},[
o
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"全部"
},
model
:{
value
:
e
.
goodsYou
,
callback
:
function
(
t
){
e
.
goodsYou
=
t
},
expression
:
"goodsYou"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
t
.
course_type
===
e
.
form
.
course_type
?
o
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}}):
e
.
_e
()}))],
1
)],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
3
===
e
.
form
.
goods_type
?
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"续课已购商品"
,
required
:
""
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
goOn_goods_Id
.
before_goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
goOn_goods_Id
,
"before_goods_id"
,
t
)},
expression
:
"goOn_goods_Id.before_goods_id"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
o
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"续购商品"
,
required
:
""
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
goOn_goods_Id
.
after_goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
goOn_goods_Id
,
"after_goods_id"
,
t
)},
expression
:
"goOn_goods_Id.after_goods_id"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
){
return
o
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
)],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
!==
e
.
form
.
goods_type
&&
4
!==
e
.
form
.
goods_type
&&
5
!==
e
.
form
.
goods_type
?
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"课程类型"
,
required
:
""
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
function
(
t
){
e
.
changeLessonType
()}},
model
:{
value
:
e
.
form
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"course_type"
,
t
)},
expression
:
"form.course_type"
}},[
o
(
"el-option"
,{
attrs
:{
label
:
"日课"
,
value
:
1
}}),
e
.
_v
(
" "
),
o
(
"el-option"
,{
attrs
:{
label
:
"月课"
,
value
:
0
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"课程"
,
required
:
""
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
form
.
course_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"course_id"
,
t
)},
expression
:
"form.course_id"
}},
e
.
_l
(
e
.
lessonList
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})}))],
1
)],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
!==
e
.
form
.
goods_type
&&
4
!==
e
.
form
.
goods_type
&&
5
!==
e
.
form
.
goods_type
?
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
"label-width"
:
"120"
,
label
:
"观看时长(节)"
,
required
:
""
}},[
o
(
"el-input-number"
,{
attrs
:{
label
:
"课时数"
},
model
:{
value
:
e
.
form
.
watch_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"watch_num"
,
t
)},
expression
:
"form.watch_num"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
"label-width"
:
"120"
,
label
:
"续看时长(天)"
,
required
:
""
}},[
o
(
"el-input-number"
,{
attrs
:{
label
:
"看课天数"
},
model
:{
value
:
e
.
form
.
duration_num
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"duration_num"
,
t
)},
expression
:
"form.duration_num"
}})],
1
)],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
form
.
goods_type
||
2
==
e
.
form
.
goods_type
?
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
"label-width"
:
"120"
,
label
:
"课程标题(客户端展示)"
,
required
:
""
}},[
o
(
"el-input"
,{
staticStyle
:{
width
:
"200px"
},
model
:{
value
:
e
.
form
.
goods_desc
.
course_title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
.
goods_desc
,
"course_title"
,
t
)},
expression
:
"form.goods_desc.course_title"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"是否进入期数"
,
"label-width"
:
"160"
,
required
:
""
}},[
o
(
"el-switch"
,{
attrs
:{
"active-value"
:
1
,
"inactive-value"
:
0
},
model
:{
value
:
e
.
form
.
is_into_periods
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"is_into_periods"
,
t
)},
expression
:
"form.is_into_periods"
}})],
1
)],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
e
.
form
.
goods_type
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"领取到期时间(小时)"
,
"label-width"
:
"160px"
}},[
o
(
"el-input-number"
,{
model
:{
value
:
e
.
form
.
goods_desc
.
time_limit
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
.
goods_desc
,
"time_limit"
,
t
)},
expression
:
"form.goods_desc.time_limit"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
form
.
goods_type
||
2
==
e
.
form
.
goods_type
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"是否赠送优惠券"
,
"label-width"
:
"160px"
}},[
o
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
form
.
goods_desc
.
coupon_goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
.
goods_desc
,
"coupon_goods_id"
,
t
)},
expression
:
"form.goods_desc.coupon_goods_id"
}},
e
.
_l
(
e
.
coupongoods
,
function
(
t
){
return
o
(
"el-option"
,{
key
:
t
.
id
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
!==
e
.
form
.
goods_type
&&
4
!==
e
.
form
.
goods_type
&&
5
!==
e
.
form
.
goods_type
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"课程封面(670*472)"
,
required
:
""
}},[
o
(
"el-upload"
,{
staticClass
:
"upload-demo"
,
attrs
:{
"list-type"
:
"picture-card"
,
action
:
"/api/public/upload"
,
"http-request"
:
e
.
uploadFileLesson
,
"on-remove"
:
e
.
removeFileLesson
,
limit
:
1
,
"file-list"
:
e
.
form
.
goods_desc
.
imgLesson
}},[
o
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"主图(750*600)"
,
required
:
""
}},[
o
(
"el-upload"
,{
staticClass
:
"upload-demo"
,
attrs
:{
"list-type"
:
"picture-card"
,
action
:
"/api/public/upload"
,
"http-request"
:
e
.
uploadFileMain
,
"on-remove"
:
e
.
removeFileMain
,
"file-list"
:
e
.
form
.
goods_desc
.
img
}},[
o
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"客服(200*200)"
}},[
o
(
"el-upload"
,{
staticClass
:
"upload-demo"
,
class
:
e
.
form
.
desc
.
customer_service
&&
e
.
form
.
desc
.
customer_service
.
length
>
0
?
"uploadService"
:
""
,
attrs
:{
"list-type"
:
"picture-card"
,
action
:
"/api/public/upload"
,
limit
:
1
,
"http-request"
:
e
.
uploadFileMainService
,
"on-remove"
:
e
.
removeFileService
,
"file-list"
:
e
.
form
.
desc
.
customer_service
}},[
o
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
),
e
.
_v
(
" "
),
1
===
e
.
form
.
goods_type
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"推荐奖金(元)"
}},[
o
(
"el-input-number"
,{
attrs
:{
label
:
"推荐奖金"
},
model
:{
value
:
e
.
form
.
invite_earnings
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"invite_earnings"
,
t
)},
expression
:
"form.invite_earnings"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
===
e
.
form
.
goods_type
||
2
===
e
.
form
.
goods_type
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"是否配置实物"
}},[
o
(
"el-switch"
,{
attrs
:{
"active-value"
:
1
,
"inactive-value"
:
0
},
model
:{
value
:
e
.
form
.
is_real
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"is_real"
,
t
)},
expression
:
"form.is_real"
}}),
e
.
_v
(
" "
),
o
(
"span"
,{
staticStyle
:{
"font-size"
:
"12px"
}},[
e
.
_v
(
"打开后提示用户填写具体住址"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
===
e
.
form
.
goods_type
?
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"是否允许用户推广"
,
"label-width"
:
"200"
}},[
o
(
"el-switch"
,{
attrs
:{
"active-value"
:
1
,
"inactive-value"
:
0
},
model
:{
value
:
e
.
form
.
is_auth_user
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"is_auth_user"
,
t
)},
expression
:
"form.is_auth_user"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"是否允许老师推广"
,
"label-width"
:
"200"
}},[
o
(
"el-switch"
,{
attrs
:{
"active-value"
:
1
,
"inactive-value"
:
0
},
model
:{
value
:
e
.
form
.
is_auth_teacher
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"is_auth_teacher"
,
t
)},
expression
:
"form.is_auth_teacher"
}})],
1
)],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
1
===
e
.
form
.
goods_type
||
3
===
e
.
form
.
goods_type
||
5
===
e
.
form
.
goods_type
?
"原价(元)"
:
4
===
e
.
form
.
goods_type
?
"抵扣价格(元)"
:
"单买价格(元)"
,
required
:
""
}},[
o
(
"el-input-number"
,{
attrs
:{
label
:
"原价"
},
model
:{
value
:
e
.
form
.
original_price
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"original_price"
,
t
)},
expression
:
"form.original_price"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
1
===
e
.
form
.
goods_type
||
3
===
e
.
form
.
goods_type
||
5
===
e
.
form
.
goods_type
?
"现价(元)"
:
4
===
e
.
form
.
goods_type
?
"购买价格(元)"
:
"拼团价格(元)"
,
required
:
""
}},[
o
(
"el-input-number"
,{
attrs
:{
label
:
"现价"
},
model
:{
value
:
e
.
form
.
current_price
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"current_price"
,
t
)},
expression
:
"form.current_price"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
2
===
e
.
form
.
goods_type
?
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"成团人数(人)"
}},[
o
(
"el-input-number"
,{
attrs
:{
label
:
"成团人数"
},
model
:{
value
:
e
.
form
.
desc
.
group_number
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
.
desc
,
"group_number"
,
t
)},
expression
:
"form.desc.group_number"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"团购失效时间(小时)"
,
"label-width"
:
"136px"
}},[
o
(
"el-input-number"
,{
attrs
:{
label
:
"团购失效时间"
},
model
:{
value
:
e
.
form
.
desc
.
group_continue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
.
desc
,
"group_continue"
,
t
)},
expression
:
"form.desc.group_continue"
}})],
1
)],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
!==
e
.
form
.
goods_type
||
5
!==
e
.
form
.
goods_type
?
o
(
"el-row"
,{
attrs
:{
required
:
""
}},[
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"分享标题"
,
required
:
""
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
form
.
share_desc
.
title
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
.
share_desc
,
"title"
,
t
)},
expression
:
"form.share_desc.title"
}})],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-col"
,{
attrs
:{
span
:
12
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"分享内容"
,
required
:
""
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
form
.
share_desc
.
content
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
.
share_desc
,
"content"
,
t
)},
expression
:
"form.share_desc.content"
}})],
1
)],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
!==
e
.
form
.
goods_type
||
5
!==
e
.
form
.
goods_type
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"分享主图(300*300)"
,
required
:
""
}},[
o
(
"el-upload"
,{
attrs
:{
"list-type"
:
"picture-card"
,
action
:
"/api/public/upload"
,
limit
:
1
,
"file-list"
:
e
.
form
.
share_desc
.
img
,
"http-request"
:
e
.
uploadFileMainShare
}},[
o
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
3
!==
e
.
form
.
goods_type
||
5
!==
e
.
form
.
goods_type
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"分享海报"
,
required
:
""
}},[
o
(
"el-upload"
,{
attrs
:{
"list-type"
:
"picture-card"
,
action
:
"/api/public/upload"
,
limit
:
1
,
"file-list"
:
e
.
form
.
share_desc
.
refImg
,
"http-request"
:
e
.
uploadFileMainShareRef
}},[
o
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
24
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"商品详情"
,
required
:
""
}},[
o
(
"editor-detail"
,{
attrs
:{
lookData
:
e
.
form
.
desc
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
24
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"购买须知"
,
required
:
""
}},[
o
(
"editor-know"
,{
attrs
:{
lookData1
:
e
.
form
.
desc
}})],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
2
!==
e
.
dialogObj
.
type
?
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
sub
}},[
e
.
_v
(
"确 定"
)])],
1
):
e
.
_e
()],
1
)])},
staticRenderFns
:[]};
var
p
=
o
(
"VU/8"
)(
f
,
g
,
!
1
,
function
(
e
){
o
(
"gq0Q"
)},
"data-v-4d79372a"
,
null
).
exports
,
h
=
{
name
:
"index"
,
data
:
function
(){
return
{
searchFrom
:{
name
:
""
,
goods_type
:
"-1"
,
status
:
"1"
,
course_id
:
""
,
course_type
:
""
,
goods_id
:
""
},
classType
:[{
course_type
:
0
,
value
:
"月课"
},{
course_type
:
1
,
value
:
"日课"
}],
goodList
:[],
total
:
0
,
nowPage
:
1
,
limit
:
10
,
chooseDialog
:{
show
:
!
1
,
title
:
""
,
id
:
""
,
form
:{
value
:
""
,
list
:[]},
type
:
0
},
dialogObj
:{
type
:
0
,
show
:
!
1
,
title
:
""
,
id
:
""
},
classList
:[]}},
components
:{
page
:
l
.
a
,
dialogCom
:
p
},
filters
:{
isOrNot
:
function
(
e
){
return
i
.
n
[
e
]},
goodsType
:
function
(
e
){
return
i
.
g
[
e
]},
lessonType
:
function
(
e
){
return
i
.
o
[
e
]},
goodsStatus
:
function
(
e
){
return
i
.
f
[
e
]},
goodsDesc
:
function
(
e
){
return
JSON
.
parse
(
e
).
desc
}},
mounted
:
function
(){
this
.
getGoods
(),
this
.
getClassList
()},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getGoods
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
getGoods
()},
copyShop
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将复制该商品?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
F
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"复制成功!"
})}),
t
.
getGoods
()})},
copyUrl
:
function
(
e
){
var
t
=
"https://wechat.changchangenglish.com/#/buyDetail?shopId="
+
e
,
o
=
document
.
createElement
(
"input"
);
o
.
value
=
t
,
document
.
body
.
appendChild
(
o
),
o
.
select
(),
document
.
execCommand
(
"Copy"
),
this
.
$message
({
message
:
"已成功复制到剪切板"
,
type
:
"success"
}),
o
.
remove
()},
dialogSub
:
function
(){
var
e
=
this
;
switch
(
this
.
chooseDialog
.
type
){
case
0
:
Object
(
s
.
y
)(
this
.
chooseDialog
.
id
,
this
.
chooseDialog
.
form
.
value
).
then
(
function
(
t
){
e
.
$message
({
message
:
"绑定成功"
,
type
:
"success"
}),
e
.
chooseDialog
.
show
=!
1
}),
this
.
getGoods
();
break
;
case
1
:
var
t
=
{
conflict_goods_ids
:
this
.
chooseDialog
.
form
.
list
.
toString
()};
Object
(
s
.
E
)(
this
.
chooseDialog
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
message
:
"设置成功"
,
type
:
"success"
}),
e
.
chooseDialog
.
show
=!
1
,
e
.
getGoods
()})}},
getGoods
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
name
&&
(
t
.
name
=
this
.
searchFrom
.
name
),
this
.
searchFrom
.
goods_type
&&
"-1"
!=
this
.
searchFrom
.
goods_type
&&
(
t
.
goods_type
=
this
.
searchFrom
.
goods_type
),
this
.
searchFrom
.
course_id
&&
(
t
.
course_id
=
this
.
searchFrom
.
course_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
status
&&
"-1"
!==
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
),
this
.
searchFrom
.
current_price
&&
(
t
.
current_price
=
100
*
this
.
searchFrom
.
current_price
),
this
.
searchFrom
.
course_type
&&
(
t
.
course_type
=
this
.
searchFrom
.
course_type
),
Object
(
s
.
_60
)(
t
).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
""
===
e
.
conflict_goods_ids
?
e
.
conflict_goods_ids
=
[]:
e
.
conflict_goods_ids
=
e
.
conflict_goods_ids
.
split
(
","
)}),
e
.
goodList
=
t
.
list
,
e
.
total
=
t
.
total
})},
edit
:
function
(
e
){
this
.
dialogObj
=
{
type
:
1
,
title
:
"编辑商品"
,
show
:
!
0
,
id
:
e
.
id
}},
add
:
function
(){
this
.
dialogObj
=
{
type
:
0
,
title
:
"添加商品"
,
show
:
!
0
}},
detail
:
function
(
e
){
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
type
=
2
,
this
.
dialogObj
.
title
=
"查看商品"
,
this
.
dialogObj
.
show
=!
0
},
onDel
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将删除该商品?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
_0
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
})}),
t
.
getGoods
()})},
onUp
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将上架该商品?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
_171
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"操作成功!"
}),
t
.
getGoods
()})})},
onDown
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"此操作将下架该商品?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
s
.
_3
)(
e
.
id
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"操作成功!"
}),
t
.
getGoods
()})})},
changeShow
:
function
(
e
){
this
.
dialogObj
.
show
=
e
},
bindOther
:
function
(
e
){
this
.
chooseDialog
=
{
show
:
!
0
,
title
:
"绑定商品"
,
id
:
e
.
id
,
form
:{
value
:
e
.
bind_goods_id
,
list
:[]},
type
:
0
}},
conflict
:
function
(
e
){
this
.
chooseDialog
=
{
show
:
!
0
,
title
:
"冲突商品"
,
id
:
e
.
id
,
form
:{
value
:
""
,
list
:
e
.
conflict_goods_ids
},
type
:
1
}},
getClassList
:
function
(){
var
e
=
this
;
Object
(
s
.
_63
)({
limit
:
200
,
page
:
1
}).
then
(
function
(
t
){
e
.
classList
=
t
.
list
})},
addComment
:
function
(
e
){
var
t
=
this
,
o
=
JSON
.
parse
(
e
.
desc
)
||
{};
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
o
.
desc
||
""
}).
then
(
function
(
o
){
var
i
=
o
.
value
;
Object
(
s
.
_16
)(
e
.
id
,{
desc
:
i
}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
t
.
getGoods
()})})},
updateGoodsNumber
:
function
(
e
){
var
t
=
this
;
this
.
$prompt
(
""
,
"修改商品购买数量"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"number"
,
inputValue
:
e
.
buy_nums
||
0
}).
then
(
function
(
o
){
var
i
=
o
.
value
;
Object
(
s
.
_178
)(
e
.
id
,{
buy_nums
:
parseInt
(
i
)}).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"修改商品购买数量成功"
}),
t
.
getGoods
()})})}}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
staticClass
:
"user"
},[
o
(
"el-form"
,{
ref
:
"searchFrom"
,
staticClass
:
"search-form"
,
attrs
:{
size
:
"small"
,
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"name"
,
t
)},
expression
:
"searchFrom.name"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"商品编号"
}},[
o
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"课程"
}},[
o
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
},
on
:{
change
:
e
.
getGoods
},
model
:{
value
:
e
.
searchFrom
.
course_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_id"
,
t
)},
expression
:
"searchFrom.course_id"
}},[
o
(
"el-option"
,{
attrs
:{
value
:
""
,
label
:
"请选择"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
classList
,
function
(
e
,
t
){
return
o
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
title
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"课程类别"
}},[
o
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getGoods
},
model
:{
value
:
e
.
searchFrom
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_type"
,
t
)},
expression
:
"searchFrom.course_type"
}},
e
.
_l
(
e
.
classType
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
course_type
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
course_type
}})}))],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"商品现价/团购价"
,
"label-width"
:
"120px"
}},[
o
(
"el-input-number"
,{
model
:{
value
:
e
.
searchFrom
.
current_price
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"current_price"
,
t
)},
expression
:
"searchFrom.current_price"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-form-item"
,[
o
(
"div"
,{
staticClass
:
"search-btn-block"
},[
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
,
icon
:
"el-icon-search"
},
on
:{
click
:
e
.
getGoods
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
o
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
add
}},[
e
.
_v
(
"添加商品"
)])],
1
)])],
1
),
e
.
_v
(
" "
),
o
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getGoods
},
model
:{
value
:
e
.
searchFrom
.
goods_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_type"
,
t
)},
expression
:
"searchFrom.goods_type"
}},[
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"所有商品"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"普通商品"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"团购商品"
,
name
:
"2"
}}),
e
.
_v
(
" "
),
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"续课商品"
,
name
:
"3"
}}),
e
.
_v
(
" "
),
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"优惠券商品"
,
name
:
"4"
}}),
e
.
_v
(
" "
),
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"实物商品"
,
name
:
"5"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getGoods
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},[
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"上架"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"编辑中"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"下架"
,
name
:
"2"
}}),
e
.
_v
(
" "
),
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}})],
1
),
e
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
size
:
"small"
,
data
:
e
.
goodList
,
fixed
:
""
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"id"
,
label
:
"商品编号"
,
width
:
"80"
}}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"router-link"
,{
attrs
:{
to
:{
name
:
"periods"
,
query
:{
goods_id
:
t
.
row
.
id
}}}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
name
)
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"商品类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"goodsType"
)(
t
.
row
.
goods_type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"商品原价/直购价"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
original_price
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"商品现价/团购价"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
current_price
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"course_title"
,
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
(
"lessonType"
)(
t
.
row
.
course_type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"是否有实物"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"isOrNot"
)(
t
.
row
.
is_real
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"buy_nums"
,
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
(
"goodsStatus"
)(
t
.
row
.
status
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"goodsDesc"
)(
t
.
row
.
desc
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
fixed
:
"right"
,
width
:
"60"
,
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
o
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"800"
}},[
o
(
"div"
,{
staticStyle
:{
"text-align"
:
"center"
}},[
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
detail
(
t
.
row
)}}},[
e
.
_v
(
"
\n
查看详情
\n
"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
copyUrl
(
t
.
row
.
id
)}}},[
e
.
_v
(
"
\n
复制链接
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():[
2
===
t
.
row
.
status
||
0
===
t
.
row
.
status
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
onUp
(
t
.
row
)}}},[
e
.
_v
(
"
\n
上架
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
===
t
.
row
.
status
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
onDown
(
t
.
row
)}}},[
e
.
_v
(
"
\n
下架
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"warning"
},
on
:{
click
:
function
(
o
){
e
.
edit
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑
\n
"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"success"
},
on
:{
click
:
function
(
o
){
e
.
copyShop
(
t
.
row
)}}},[
e
.
_v
(
"
\n
复制商品
\n
"
)]),
e
.
_v
(
" "
),
2
===
t
.
row
.
status
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
bindOther
(
t
.
row
)}}},[
e
.
_v
(
"
\n
绑定商品
\n
"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
e
.
conflict
(
t
.
row
)}}},[
e
.
_v
(
"
\n
冲突商品
\n
"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"success"
},
on
:{
click
:
function
(
o
){
e
.
addComment
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑备注
\n
"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
o
){
e
.
updateGoodsNumber
(
t
.
row
)}}},[
e
.
_v
(
"
\n
修改购买数量
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
deletePermission
?
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
o
){
e
.
onDel
(
t
.
row
)}}},[
e
.
_v
(
"
\n
删除
\n
"
)]):
e
.
_e
()]],
2
),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
size
:
"mini"
,
type
:
"text"
},
slot
:
"reference"
},[
e
.
_v
(
"操作"
)])],
1
)]}}])})],
1
),
e
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
o
(
"dialog-com"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
changeShow
:
e
.
changeShow
,
reflash
:
e
.
getGoods
}}),
e
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
e
.
chooseDialog
.
title
,
visible
:
e
.
chooseDialog
.
show
,
width
:
"30%"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
chooseDialog
,
"show"
,
t
)}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
"label-width"
:
"80px"
}},[
0
===
e
.
chooseDialog
.
type
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"绑定商品"
}},[
o
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
chooseDialog
.
form
.
value
,
callback
:
function
(
t
){
e
.
$set
(
e
.
chooseDialog
.
form
,
"value"
,
t
)},
expression
:
"chooseDialog.form.value"
}},
e
.
_l
(
e
.
goodList
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
"【"
+
e
.
id
+
"】"
+
e
.
name
,
value
:
e
.
id
}})}))],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
===
e
.
chooseDialog
.
type
?
o
(
"el-form-item"
,{
attrs
:{
label
:
"冲突商品"
}},[
o
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请选择"
,
multiple
:
""
},
model
:{
value
:
e
.
chooseDialog
.
form
.
list
,
callback
:
function
(
t
){
e
.
$set
(
e
.
chooseDialog
.
form
,
"list"
,
t
)},
expression
:
"chooseDialog.form.list"
}},
e
.
_l
(
e
.
goodList
,
function
(
e
){
return
o
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
"【"
+
e
.
id
+
"】"
+
e
.
name
,
value
:
e
.
id
.
toString
()}})}))],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
chooseDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
dialogSub
()}}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
v
=
o
(
"VU/8"
)(
h
,
b
,
!
1
,
function
(
e
){
o
(
"7QMb"
)},
"data-v-30dbfe6e"
,
null
);
t
.
default
=
v
.
exports
},
"1rvC"
:
function
(
e
,
t
){},
"7QMb"
:
function
(
e
,
t
){},
WQzf
:
function
(
e
,
t
){},
gq0Q
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/15.6558a2ae96ba759668ae.js
0 → 100644
View file @
82bb364f
webpackJsonp
([
15
],{
"69L+"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"kmJW"
),
s
=
r
(
"NC6I"
),
i
=
r
.
n
(
s
),
o
=
r
(
"zA5m"
),
l
=
r
(
"G2rA"
),
n
=
r
(
"CCn6"
),
c
=
r
(
"+TkF"
),
d
=
{},
u
=
{
name
:
"smsRecord"
,
components
:{
page
:
a
.
a
,
refundDialog
:
o
.
a
,
refundDetail
:
l
.
a
},
data
:
function
(){
var
e
=
this
;
return
{
adressDialog
:
!
1
,
postOtherOrderDialog
:
!
1
,
postOtherOrderData
:{},
classSource
:[{
label
:
"系统订单随机"
,
value
:
2
},{
label
:
"渠道1订单随机"
,
value
:
3
},{
label
:
"渠道2订单随机"
,
value
:
4
}],
adressData
:{},
USERSTATUS
:
c
.
w
,
today
:{
text
:
"今天"
,
onClick
:
function
(
t
){
t
.
$emit
(
"pick"
,[
e
.
formatTime
(
new
Date
)
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(
t
){
var
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
r
+
" 23:59:59"
])}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(
t
){
var
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(
t
){
var
r
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
t
.
$emit
(
"pick"
,[
r
+
" 00:00:00"
,
e
.
formatTime
(
new
Date
)
+
" 23:59:59"
])}},
uploadHeader
:{
token
:
localStorage
.
getItem
(
"cc_token"
)},
param_token
:
i
()(
JSON
.
stringify
({
sing
:
"singsingenglish21000"
})),
nowPage
:
1
,
total
:
0
,
limit
:
10
,
useTypeList
:[{
user_buy
:
0
,
value
:
"未绑定"
},{
user_buy
:
1
,
value
:
"已绑定"
}],
searchFrom
:{
goods_id
:
""
,
mobile
:
""
,
active_at
:[],
invite_type
:
""
,
status
:[
1
],
createTime
:[],
course_type
:
"-1"
,
pullTime
:[],
order_id
:
""
,
teacher_id
:
""
,
user_id
:
""
,
nickname
:
""
,
user_status
:[],
sub_order_id
:
""
},
refundDialogObj
:{
show
:
!
1
,
id
:
""
,
order_type
:
" other"
,
money
:
0
},
orderStatusOption
:
c
.
r
,
list
:[],
teacherList
:[],
goodList
:[],
refundDetail
:{
show
:
!
1
,
out_trade_no
:
""
},
teacherId
:
null
,
classObj
:{
show
:
!
1
,
title
:
"当前同步进度"
,
order_id
:
0
,
teacher_id
:
0
},
multipleSelection
:[],
classList
:[],
last_pull_time
:
"无"
,
studentSource
:{}}},
filters
:{
filterStatus
:
function
(
e
){
return
0
===
e
?
"未绑定"
:
"已绑定"
},
status
:
function
(
e
){
return
c
.
q
[
e
]},
filterGoods
:
function
(
e
){
return
"["
+
e
.
id
+
"]["
+
c
.
g
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
},
classType
:
function
(
e
){
return
d
[
e
]}},
mounted
:
function
(){
var
e
=
this
;
this
.
getGoodsOption
(),
this
.
getTeacherList
(),
Object
(
n
.
_96
)().
then
(
function
(
t
){
var
r
=
{};
t
.
forEach
(
function
(
e
,
t
){
r
[
e
.
type
]
=
e
.
name
}),
d
=
r
,
e
.
getList
()})},
methods
:{
initClearOtherOrder
:
function
(
e
){
var
t
=
this
;
this
.
$confirm
(
"确认清除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_139
)(
e
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"清除成功!"
})})}).
catch
(
function
(){
t
.
$message
({
type
:
"info"
,
message
:
"已取消"
})})},
postOtherOrderFn
:
function
(){
var
e
=
this
,
t
=
{};
this
.
postOtherOrderData
.
order_id
&&
(
t
.
order_id
=
this
.
postOtherOrderData
.
order_id
),
this
.
postOtherOrderData
.
goods_id
&&
(
t
.
goods_id
=
this
.
postOtherOrderData
.
goods_id
),
this
.
postOtherOrderData
.
receiver_name
&&
(
t
.
receiver_name
=
this
.
postOtherOrderData
.
receiver_name
),
this
.
postOtherOrderData
.
receiver_mobile
&&
(
t
.
receiver_mobile
=
this
.
postOtherOrderData
.
receiver_mobile
),
this
.
postOtherOrderData
.
receiver_province
&&
(
t
.
receiver_province
=
this
.
postOtherOrderData
.
receiver_province
),
this
.
postOtherOrderData
.
receiver_city
&&
(
t
.
receiver_city
=
this
.
postOtherOrderData
.
receiver_city
),
this
.
postOtherOrderData
.
receiver_area
&&
(
t
.
receiver_area
=
this
.
postOtherOrderData
.
receiver_area
),
this
.
postOtherOrderData
.
receiver_address
&&
(
t
.
receiver_address
=
this
.
postOtherOrderData
.
receiver_address
),
this
.
postOtherOrderData
.
class_source
&&
(
t
.
class_source
=
this
.
postOtherOrderData
.
class_source
),
this
.
postOtherOrderData
.
desc
&&
(
t
.
desc
=
this
.
postOtherOrderData
.
desc
),
console
.
log
(
this
.
postOtherOrderData
),
Object
(
n
.
_141
)(
t
).
then
(
function
(
t
){
e
.
$message
(
"发送成功"
),
e
.
postOtherOrderDialog
=!
1
,
e
.
getList
()})},
initOeder
:
function
(){
this
.
postOtherOrderDialog
=!
0
,
this
.
postOtherOrderData
=
{
order_id
:
""
,
goods_id
:
""
,
receiver_name
:
""
,
receiver_mobile
:
""
,
receiver_province
:
""
,
receiver_city
:
""
,
receiver_area
:
""
,
receiver_address
:
""
,
class_source
:
""
,
desc
:
""
}},
editAdress
:
function
(
e
){
this
.
adressDialog
=!
0
,
this
.
adressData
=
{
receiver_name
:
e
.
receiver_name
,
receiver_mobile
:
e
.
receiver_mobile
,
receiver_province
:
e
.
receiver_province
,
receiver_city
:
e
.
receiver_city
,
receiver_area
:
e
.
receiver_area
,
receiver_address
:
e
.
receiver_address
,
id
:
e
.
id
}},
editAdressCf
:
function
(){
var
e
=
this
;
Object
(
n
.
_18
)(
this
.
adressData
.
id
,
this
.
adressData
).
then
(
function
(
t
){
e
.
getList
(),
e
.
$message
(
"修改成功"
),
e
.
adressDialog
=!
1
})},
userStatusFormatter
:
function
(
e
){
return
c
.
x
[
e
.
user_status
]},
pullAll
:
function
(){
var
e
=
this
;
if
(
this
.
multipleSelection
.
length
<
1
)
return
this
.
$message
(
"请选择订单"
),
!
1
;
if
(
!
this
.
teacherId
)
return
this
.
$message
(
"请选择老师"
),
!
1
;
var
t
=
{
order_ids
:[]};
this
.
multipleSelection
.
forEach
(
function
(
e
){
t
.
order_ids
.
push
(
e
.
id
)}),
this
.
$confirm
(
"是否确定将这"
+
t
.
order_ids
.
length
+
"笔订单分配给该老师?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_190
)(
e
.
teacherId
,{
order_ids
:
t
.
order_ids
.
join
(
","
)}).
then
(
function
(
t
){
e
.
multipleSelection
=
[],
e
.
$message
({
message
:
"提交成功"
,
type
:
"success"
}),
e
.
getList
()})}).
catch
(
function
(){})},
selectedFlag
:
function
(
e
){
return
0
===
e
.
user_id
},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
onAfterRefund
:
function
(){
this
.
refundDialogObj
.
show
=!
1
,
this
.
getList
()},
showRef
:
function
(
e
){
this
.
refundDetail
.
show
=!
0
,
this
.
refundDetail
.
out_trade_no
=
e
.
order_id
},
changeShow
:
function
(
e
){
this
.
refundDialogObj
.
show
=
e
},
onRefund
:
function
(
e
,
t
){
this
.
refundDialogObj
.
id
=
e
,
this
.
refundDialogObj
.
money
=
t
,
this
.
refundDialogObj
.
show
=!
0
},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
r
=
e
.
getMonth
()
+
1
;
r
<
10
&&
(
r
=
"0"
+
r
);
var
a
=
e
.
getDate
();
return
a
<
10
&&
(
a
=
"0"
+
a
),
t
+
"-"
+
r
+
"-"
+
a
},
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
})},
downLoad
:
function
(){
window
.
open
(
"/static/外部订单模板.xlsx"
)},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
getTeacherList
:
function
(){
var
e
=
this
;
Object
(
n
.
_110
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
teacherList
=
t
.
list
})},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
join
(
","
)),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
t
.
course_type
=
this
.
searchFrom
.
course_type
),
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
sub_order_id
&&
(
t
.
sub_order_id
=
this
.
searchFrom
.
sub_order_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
t
.
goods_name
=
this
.
searchFrom
.
goods_name
),(
this
.
searchFrom
.
user_buy
||
0
===
this
.
searchFrom
.
user_buy
)
&&
(
t
.
user_buy
=
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
order_id
&&
(
t
.
order_id
=
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
user_status
.
length
&&
(
t
.
user_status
=
this
.
searchFrom
.
user_status
.
join
(
","
)),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
createTime
&&
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
this
.
searchFrom
.
active_at
&&
2
===
this
.
searchFrom
.
active_at
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_at
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_at
[
1
]),
this
.
searchFrom
.
pullTime
&&
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
Object
(
n
.
_129
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
list
=
t
.
list
?
t
.
list
:[]})},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
n
.
_60
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
editNote
:
function
(
e
,
t
){
var
r
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
a
=
t
.
value
;
r
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
n
.
_136
)({
desc
:
a
},
e
).
then
(
function
(
e
){
r
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
r
.
getList
()})})})},
exportTable
:
function
(
e
){
if
(
e
.
length
>
0
){
var
t
=
{};
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
status
&&
(
t
.
status
=
this
.
searchFrom
.
status
.
join
(
","
)),
"-1"
!==
this
.
searchFrom
.
course_type
&&
(
t
.
course_type
=
this
.
searchFrom
.
course_type
),
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
teacher_id
&&
(
t
.
teacher_id
=
this
.
searchFrom
.
teacher_id
),
this
.
searchFrom
.
goods_name
&&
(
t
.
goods_name
=
this
.
searchFrom
.
goods_name
),(
this
.
searchFrom
.
user_buy
||
0
===
this
.
searchFrom
.
user_buy
)
&&
(
t
.
user_buy
=
this
.
searchFrom
.
user_buy
),
this
.
searchFrom
.
order_id
&&
(
t
.
order_id
=
this
.
searchFrom
.
order_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
invite_type
&&
(
t
.
invite_type
=
this
.
searchFrom
.
invite_type
),
this
.
searchFrom
.
createTime
&&
2
===
this
.
searchFrom
.
createTime
.
length
&&
(
t
.
start_at
=
this
.
searchFrom
.
createTime
[
0
],
t
.
end_at
=
this
.
searchFrom
.
createTime
[
1
]),
this
.
searchFrom
.
active_at
&&
2
===
this
.
searchFrom
.
active_at
.
length
&&
(
t
.
active_start_at
=
this
.
searchFrom
.
active_at
[
0
],
t
.
active_end_at
=
this
.
searchFrom
.
active_at
[
1
]),
this
.
searchFrom
.
pullTime
&&
2
===
this
.
searchFrom
.
pullTime
.
length
&&
(
t
.
pay_start_at
=
this
.
searchFrom
.
pullTime
[
0
],
t
.
pay_end_at
=
this
.
searchFrom
.
pullTime
[
1
]),
console
.
log
(
t
),
Object
(
n
.
_27
)(
"api/admin/yunji/order/export"
,
t
)}},
classListOption
:
function
(){
var
e
=
this
;
this
.
classObj
.
show
=!
0
,
Object
(
n
.
_129
)({
page
:
1
,
limit
:
200
}).
then
(
function
(
t
){
e
.
classList
=
t
.
teacher
,
t
.
last_pull_time
&&
(
e
.
last_pull_time
=
t
.
last_pull_time
)})}}},
h
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"sms"
},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
inline
:
""
,
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"110px"
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
a
){
return
r
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticClass
:
"test"
,
attrs
:{
label
:
"来源"
}},[
r
(
"el-input"
,{
staticStyle
:{
width
:
"180px"
},
attrs
:{
placeholder
:
"来源CODE"
},
model
:{
value
:
e
.
searchFrom
.
invite_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"invite_type"
,
t
)},
expression
:
"searchFrom.invite_type
\
t"
}},[
r
(
"template"
,{
slot
:
"prepend"
},[
e
.
_v
(
"CC -"
)])],
2
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"订单状态"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"230px"
},
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"status"
,
t
)},
expression
:
"searchFrom.status"
}},
e
.
_l
(
e
.
orderStatusOption
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
id
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"沟通情况"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"230px"
},
attrs
:{
multiple
:
""
,
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
user_status
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_status"
,
t
)},
expression
:
"searchFrom.user_status"
}},
e
.
_l
(
e
.
USERSTATUS
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
code
,
attrs
:{
label
:
e
.
lable
,
value
:
e
.
code
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"绑定状态"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
user_buy
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_buy"
,
t
)},
expression
:
"searchFrom.user_buy"
}},
e
.
_l
(
e
.
useTypeList
,
function
(
e
){
return
r
(
"el-option"
,{
key
:
e
.
user_buy
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
user_buy
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"老师"
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"100px"
},
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
teacher_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"teacher_id"
,
t
)},
expression
:
"searchFrom.teacher_id"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"未指定"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"订单号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"order_id"
,
t
)},
expression
:
"searchFrom.order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"子订单号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
sub_order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"sub_order_id"
,
t
)},
expression
:
"searchFrom.sub_order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"下单时间"
}},[
r
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
createTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"createTime"
,
t
)},
expression
:
"searchFrom.createTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"付款时间"
}},[
r
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
pullTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"pullTime"
,
t
)},
expression
:
"searchFrom.pullTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"激活时间"
}},[
r
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
active_at
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"active_at"
,
t
)},
expression
:
"searchFrom.active_at"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
getList
}},[
e
.
_v
(
"搜索"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
exportTable
(
e
.
list
)}}},[
e
.
_v
(
"导出"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-upload"
,{
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
action
:
"/api/admin/order/import"
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
}},[
e
.
_v
(
"导入"
)])],
1
)],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
downLoad
()}}},[
e
.
_v
(
"excel模板下载"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
r
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
course_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"course_type"
,
t
)},
expression
:
"searchFrom.course_type"
}},[
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部"
,
name
:
"-1"
}}),
e
.
_v
(
" "
),
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"月课"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
r
(
"el-tab-pane"
,{
attrs
:{
label
:
"日课"
,
name
:
"1"
}})],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
distribution
?
r
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
top
:
"10px"
,
right
:
"10px"
,
"font-size"
:
"14px"
}},[
e
.
_v
(
"
\n
老师:
\n
"
),
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
size
:
"small"
,
placeholder
:
"请选择"
,
clearable
:
""
,
filterable
:
""
},
model
:{
value
:
e
.
teacherId
,
callback
:
function
(
t
){
e
.
teacherId
=
t
},
expression
:
"teacherId"
}},[
r
(
"el-option"
,{
attrs
:{
label
:
"暂不分配"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
e
.
_l
(
e
.
teacherList
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
id
}})})],
2
),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"success"
},
on
:{
click
:
e
.
pullAll
}},[
e
.
_v
(
"批量分配"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
},
on
:{
click
:
e
.
initOeder
}},[
e
.
_v
(
"手动添加外部订单"
)])],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
list
,
size
:
"mini"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
r
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
selectable
:
e
.
selectedFlag
,
width
:
"55"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"order_id"
,
width
:
"80"
,
label
:
"订单号"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"p"
,[
e
.
_v
(
"主订单号:"
+
e
.
_s
(
t
.
row
.
order_id
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"子订单号:"
+
e
.
_s
(
t
.
row
.
sub_order_id
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"nickname"
,
label
:
"购买人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
!==
t
.
row
.
user_id
?
r
(
"div"
,[
r
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
),
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)),
r
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
)])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
===
t
.
row
.
user_id
?
r
(
"div"
,[
e
.
_v
(
"
\n
暂未绑定用户
\n
"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名称"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"invite_type"
,
label
:
"来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
invite_type
)
+
"("
+
e
.
_s
(
t
.
row
.
invite_name
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"class_source"
,
width
:
"80"
,
label
:
"招生来源"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"classType"
)(
t
.
row
.
class_source
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"付款状态"
,
width
:
"80"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
5
===
t
.
row
.
status
||
3
===
t
.
row
.
status
?
r
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
r
){
e
.
showRef
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
!==
t
.
row
.
status
&&
3
!==
t
.
row
.
status
?
r
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"status"
)(
t
.
row
.
status
)))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"实付金额"
,
width
:
"70"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
money
/
100
)
+
"元
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
label
:
"收货地址"
,
width
:
"150px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
姓名:"
+
e
.
_s
(
t
.
row
.
receiver_name
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
tel:"
+
e
.
_s
(
t
.
row
.
receiver_phone
)
+
"
\n
"
),
r
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receiver_province
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_city
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_area
)
+
" "
+
e
.
_s
(
t
.
row
.
receiver_address
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"active_at"
,
label
:
"时间"
,
width
:
"190"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"p"
,[
e
.
_v
(
"激活时间:"
+
e
.
_s
(
"0000-00-00 00:00:00"
===
t
.
row
.
active_at
?
"未激活"
:
t
.
row
.
active_at
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"下单时间:"
+
e
.
_s
(
t
.
row
.
create_time
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"付款时间:"
+
e
.
_s
(
t
.
row
.
pay_time
))]),
e
.
_v
(
" "
),
r
(
"p"
,[
e
.
_v
(
"导入时间:"
+
e
.
_s
(
t
.
row
.
created_at
))])]}}])}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"user_status"
,
formatter
:
e
.
userStatusFormatter
,
label
:
"沟通状态"
,
width
:
"90"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"desc"
,
label
:
"备注"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-table-column"
,{
staticClass
:
"editBox"
,
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"130"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
initClearOtherOrder
(
t
.
row
.
order_id
)}}},[
e
.
_v
(
"清除激活信息"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
r
){
e
.
editNote
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)]),
e
.
_v
(
" "
),
1
!==
t
.
row
.
status
&&
4
!==
t
.
row
.
status
&&
5
!==
t
.
row
.
status
||!
e
.
$store
.
state
.
orderRefund
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
type
:
"warning"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
r
){
e
.
onRefund
(
t
.
row
.
id
,
t
.
row
.
money
)}}},[
e
.
_v
(
"
\n
退款
\n
"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
r
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"success"
},
on
:{
click
:
function
(
r
){
e
.
editAdress
(
t
.
row
)}}},[
e
.
_v
(
"编辑地址"
)])]}}])})],
1
),
e
.
_v
(
" "
),
r
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
r
(
"refund-dialog"
,{
attrs
:{
dialogObj
:
e
.
refundDialogObj
},
on
:{
reflash
:
e
.
onAfterRefund
,
changeShow
:
e
.
changeShow
}}),
e
.
_v
(
" "
),
r
(
"refund-detail"
,{
attrs
:{
dialogObj
:
e
.
refundDetail
}}),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
e
.
classObj
.
title
,
visible
:
e
.
classObj
.
show
,
center
:
""
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
classObj
,
"show"
,
t
)}}},[
r
(
"div"
,{
staticStyle
:{
margin
:
"10px"
,
color
:
"#888888"
}},[
e
.
_v
(
"
\n
最新同步时间:"
+
e
.
_s
(
e
.
last_pull_time
)
+
"
\n
"
)]),
e
.
_v
(
" "
),
r
(
"el-table"
,{
attrs
:{
data
:
e
.
classList
}},[
r
(
"el-table-column"
,{
attrs
:{
prop
:
"teacher_name"
,
label
:
"班级老师"
}}),
e
.
_v
(
" "
),
r
(
"el-table-column"
,{
attrs
:{
prop
:
"num"
,
label
:
"预计入班人数"
}})],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
})],
1
),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
"手动创建外部订单"
,
visible
:
e
.
postOtherOrderDialog
,
center
:
""
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
postOtherOrderDialog
=
t
}}},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
model
:
e
.
postOtherOrderData
,
"label-width"
:
"125px"
}},[
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"订单ID"
,
required
:
""
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
order_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"order_id"
,
t
)},
expression
:
"postOtherOrderData.order_id"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
,
required
:
""
}},[
r
(
"el-select"
,{
staticStyle
:{
width
:
"150px"
},
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
,
clearable
:
""
},
model
:{
value
:
e
.
postOtherOrderData
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"goods_id"
,
t
)},
expression
:
"postOtherOrderData.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
a
){
return
r
(
"el-option"
,{
key
:
a
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
id
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收件人姓名"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_name"
,
t
)},
expression
:
"postOtherOrderData.receiver_name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收件人手机号"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_mobile"
,
t
)},
expression
:
"postOtherOrderData.receiver_mobile"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"省名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_province
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_province"
,
t
)},
expression
:
"postOtherOrderData.receiver_province"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"市名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_city
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_city"
,
t
)},
expression
:
"postOtherOrderData.receiver_city"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"区名称"
,
required
:
""
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
postOtherOrderData
.
receiver_area
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_area"
,
t
)},
expression
:
"postOtherOrderData.receiver_area"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
required
:
""
,
left
:
""
,
label
:
"详细地址"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
postOtherOrderData
.
receiver_address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"receiver_address"
,
t
)},
expression
:
"postOtherOrderData.receiver_address"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"带班类型"
,
required
:
""
}},[
r
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
,
filterable
:
""
},
model
:{
value
:
e
.
postOtherOrderData
.
class_source
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"class_source"
,
t
)},
expression
:
"postOtherOrderData.class_source"
}},
e
.
_l
(
e
.
classSource
,
function
(
e
,
t
){
return
r
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
required
:
""
,
left
:
""
,
label
:
"备注"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
postOtherOrderData
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
postOtherOrderData
,
"desc"
,
t
)},
expression
:
"postOtherOrderData.desc"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
postOtherOrderDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
postOtherOrderFn
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-dialog"
,{
attrs
:{
title
:
"编辑地址"
,
visible
:
e
.
adressDialog
,
left
:
""
,
width
:
"500px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
adressDialog
=
t
}}},[
r
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
size
:
"small"
,
model
:
e
.
adressData
,
"label-width"
:
"125px"
}},[
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"用户姓名"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_name"
,
t
)},
expression
:
"adressData.receiver_name"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
label
:
"收货人手机号"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_mobile"
,
t
)},
expression
:
"adressData.receiver_mobile"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人省"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_province
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_province"
,
t
)},
expression
:
"adressData.receiver_province"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人市"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_city
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_city"
,
t
)},
expression
:
"adressData.receiver_city"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
label
:
"收货人区"
,
"label-width"
:
"125px"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
adressData
.
receiver_area
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_area"
,
t
)},
expression
:
"adressData.receiver_area"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
staticStyle
:{
width
:
"400px"
},
attrs
:{
"label-width"
:
"125px"
,
left
:
""
,
label
:
"收货人详细地址"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
adressData
.
receiver_address
,
callback
:
function
(
t
){
e
.
$set
(
e
.
adressData
,
"receiver_address"
,
t
)},
expression
:
"adressData.receiver_address"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"text-align"
:
"center"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
adressDialog
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
editAdressCf
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
m
=
r
(
"VU/8"
)(
u
,
h
,
!
1
,
function
(
e
){
r
(
"SDzT"
),
r
(
"7cg3"
)},
"data-v-45a68be0"
,
null
);
t
.
default
=
m
.
exports
},
"7cg3"
:
function
(
e
,
t
){},
GB5s
:
function
(
e
,
t
){},
SDzT
:
function
(
e
,
t
){},
zA5m
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"CCn6"
),
s
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{
show
:
!
1
,
id
:
""
,
loading
:
!
0
,
form
:{
money
:
0
,
refund_type
:
1
,
desc
:
""
},
rules
:{
money
:[{
required
:
!
0
,
message
:
"请输入退款金额"
,
trigger
:
"change"
}],
desc
:[{
required
:
!
0
,
message
:
"请输入退款原因"
,
trigger
:
"change"
}]}}},
methods
:{
save
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
dialogObj
.
id
&&
e
.
$refs
.
form
.
validate
(
function
(
t
){
if
(
t
){
var
r
=
{
refund_money
:
100
*
parseFloat
(
e
.
form
.
money
),
desc
:
e
.
form
.
desc
,
refund_type
:
e
.
form
.
refund_type
};
e
.
dialogObj
.
order_type
&&
(
r
.
order_type
=
e
.
dialogObj
.
order_type
),
Object
(
a
.
_152
)(
e
.
dialogObj
.
id
,
r
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"退款成功!"
}),
e
.
$emit
(
"reflash"
),
e
.
show
=!
1
})}})})},
initDialog
:
function
(){
this
.
show
=
this
.
dialogObj
.
show
,
this
.
dialogObj
.
id
&&
(
this
.
id
=
this
.
dialogObj
.
id
),
this
.
form
.
money
=
parseFloat
(
this
.
dialogObj
.
money
/
100
),
this
.
form
.
desc
=
this
.
dialogObj
.
desc
,
this
.
loading
=!
1
}},
watch
:{
dialogObj
:{
handler
:
function
(){
this
.
initDialog
()},
deep
:
!
0
},
show
:
function
(
e
){
this
.
$emit
(
"changeShow"
,
e
)}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"el-dialog"
,{
attrs
:{
title
:
"退款"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
show
=
t
}}},[
r
(
"div"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}]},[
r
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
e
.
form
,
rules
:
e
.
rules
}},[
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退款金额"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
8
}},[
r
(
"el-form-item"
,{
attrs
:{
prop
:
"key"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
form
.
money
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"money"
,
t
)},
expression
:
"form.money"
}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
6
}},[
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
100
}}},[
e
.
_v
(
"¥100"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"success"
,
round
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
t
){
e
.
form
.
money
=
150
}}},[
e
.
_v
(
"¥150"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退课"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
8
}},[
r
(
"el-form-item"
,[
r
(
"el-switch"
,{
attrs
:{
"active-value"
:
2
,
"inactive-value"
:
1
},
model
:{
value
:
e
.
form
.
refund_type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"refund_type"
,
t
)},
expression
:
"form.refund_type"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
r
(
"el-col"
,{
attrs
:{
span
:
4
}},[
r
(
"label"
,[
e
.
_v
(
"退款原因"
)])]),
e
.
_v
(
" "
),
r
(
"el-col"
,{
attrs
:{
span
:
12
}},[
r
(
"el-form-item"
,[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
},
model
:{
value
:
e
.
form
.
desc
,
callback
:
function
(
t
){
e
.
$set
(
e
.
form
,
"desc"
,
t
)},
expression
:
"form.desc"
}})],
1
)],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
r
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
save
}},[
e
.
_v
(
"确 定"
)])],
1
)])},
staticRenderFns
:[]};
var
o
=
r
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
r
(
"GB5s"
)},
"data-v-189146f3"
,
null
);
t
.
a
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/app.d0b92abc69c253c2682f.js
0 → 100644
View file @
82bb364f
webpackJsonp
([
71
],{
IcnI
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"NYxO"
),
a
=
t
(
"lRwf"
),
r
=
t
.
n
(
a
),
i
=
t
(
"zSLJ"
),
u
=
{
setToken
:
function
(
e
,
n
){
e
.
token
=
n
,
i
.
a
.
set
(
"cc_token"
,
n
)},
setUserName
:
function
(
e
,
n
){
e
.
userName
=
n
,
i
.
a
.
set
(
"cc_user_name"
,
n
)},
setPermission
:
function
(
e
,
n
){
e
.
progressList
=
n
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
n
))},
setMenu
:
function
(
e
,
n
){
e
.
menuList
=
n
},
readonly
:
function
(
e
,
n
){
e
.
readonly
=
n
},
deletePermission
:
function
(
e
,
n
){
e
.
deletePermission
=
n
},
distribution
:
function
(
e
,
n
){
e
.
distribution
=
n
},
classManage
:
function
(
e
,
n
){
e
.
classManage
=
n
},
classManageUnlimited
:
function
(
e
,
n
){
e
.
classManageUnlimited
=
n
},
classTakeUnlimited
:
function
(
e
,
n
){
e
.
classTakeUnlimited
=
n
},
promoter
:
function
(
e
,
n
){
e
.
promoter
=
n
},
mainCanShow
:
function
(
e
){
e
.
mainLoad
=!
1
},
mainUnShow
:
function
(
e
){
e
.
mainLoad
=!
0
},
changeParentRouter
:
function
(
e
,
n
){
e
.
menuList
.
find
(
function
(
e
){
return
e
.
name
===
n
.
name
}).
routerName
=
n
.
to
.
name
},
progress
:
function
(
e
,
n
){
switch
(
n
.
type
){
case
"new"
:
e
.
progressList
.
push
({
num
:
0
,
id
:
n
.
id
});
break
;
case
"change"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
}).
num
=
n
.
num
;
break
;
case
"delete"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
n
.
id
})}}};
r
.
a
.
use
(
o
.
a
);
n
.
a
=
new
o
.
a
.
Store
({
state
:{
show
:
!
1
,
userName
:
""
,
token
:
""
,
export
:
!
1
,
orderRefund
:
!
1
,
permission
:
!
1
,
readonly
:
!
0
,
deletePermission
:
!
1
,
distribution
:
!
1
,
classManage
:
!
1
,
classManageUnlimited
:
!
1
,
classTakeUnlimited
:
!
1
,
promoter
:
!
1
,
mainLoad
:
!
0
,
menuList
:[],
menuType
:
!
1
,
nowTab
:
"first"
,
progressList
:[],
openedTab
:[{
value
:
"首页"
,
routerName
:
"first"
,
name
:
"first"
,
delNo
:
!
0
,
path
:
"/index"
}]},
mutations
:
u
,
actions
:{
setToken
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setToken"
,
n
)},
setUserName
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setUserName"
,
n
)},
setProgress
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"progress"
,
n
)},
setPermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setPermission"
,
n
)},
setMenu
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"setMenu"
,
n
)},
readonly
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"readonly"
,
n
)},
deletePermission
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"deletePermission"
,
n
)},
distribution
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"distribution"
,
n
)},
classManage
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classManage"
,
n
)},
classManageUnlimited
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classManageUnlimited"
,
n
)},
classTakeUnlimited
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"classTakeUnlimited"
,
n
)},
promoter
:
function
(
e
,
n
){(
0
,
e
.
commit
)(
"promoter"
,
n
)}}})},
NHnr
:
function
(
e
,
n
,
t
){
"use strict"
;
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
});
var
o
=
[{
name
:
""
,
value
:
"教研管理"
,
icon
:
"icon-material"
,
list
:[{
value
:
"教材列表"
,
routerName
:
"resources"
,
path
:
"/resources"
,
cover
:
"1-1"
,
router
:{
path
:
"/resources"
,
name
:
"resources"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
1
)]).
then
(
function
(){
var
n
=
[
t
(
"z5EG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"商品课程"
,
icon
:
"icon-shangpin1"
,
list
:[{
value
:
"课程列表"
,
routerName
:
"lesson"
,
path
:
"/lesson"
,
cover
:
"2-1"
,
router
:{
path
:
"/lesson"
,
name
:
"lesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
9
)]).
then
(
function
(){
var
n
=
[
t
(
"AbSL"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"商品列表"
,
routerName
:
"shop"
,
path
:
"/shop"
,
cover
:
"4-1"
,
router
:{
path
:
"/shop"
,
name
:
"shop"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
14
)]).
then
(
function
(){
var
n
=
[
t
(
"1djJ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"期数管理"
,
icon
:
"icon-kecheng"
,
list
:[{
value
:
"期数列表"
,
routerName
:
"periods"
,
path
:
"/periods"
,
cover
:
"2-2"
,
router
:{
path
:
"/periods"
,
name
:
"periods"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
26
)]).
then
(
function
(){
var
n
=
[
t
(
"ayGs"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"班级列表"
,
routerName
:
"class"
,
path
:
"/class"
,
cover
:
"2-3"
,
router
:{
path
:
"/class"
,
name
:
"class"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
16
)]).
then
(
function
(){
var
n
=
[
t
(
"OX9A"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"市场招生统计"
,
routerName
:
"marketStatistics"
,
path
:
"/marketStatistics"
,
cover
:
"2-5"
,
router
:{
path
:
"/marketStatistics"
,
name
:
"marketStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
51
)]).
then
(
function
(){
var
n
=
[
t
(
"SKyX"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
35
)]).
then
(
function
(){
var
n
=
[
t
(
"sg/1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"自化课列表"
,
routerName
:
"autoClass"
,
path
:
"/autoClass"
,
cover
:
"2-6"
,
router
:{
path
:
"/autoClass"
,
name
:
"autoClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
30
)]).
then
(
function
(){
var
n
=
[
t
(
"f9Sx"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"销售管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"教师列表"
,
routerName
:
"teacher"
,
path
:
"/teacher"
,
cover
:
"3-1"
,
router
:{
path
:
"/teacher"
,
name
:
"teacher"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
2
)]).
then
(
function
(){
var
n
=
[
t
(
"Y0Vi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
5
)]).
then
(
function
(){
var
n
=
[
t
(
"xdzM"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
54
)]).
then
(
function
(){
var
n
=
[
t
(
"v/LD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
42
)]).
then
(
function
(){
var
n
=
[
t
(
"89rD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"业绩排行"
,
routerName
:
"achievement"
,
path
:
"/achievement"
,
cover
:
"5-7"
,
router
:{
path
:
"/achievement"
,
name
:
"achievement"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
22
)]).
then
(
function
(){
var
n
=
[
t
(
"Fmgy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"话术列表"
,
routerName
:
"talkingSkill"
,
path
:
"/talkingSkill"
,
cover
:
"11-6"
,
router
:{
path
:
"/talkingSkill"
,
name
:
"talkingSkill"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
25
)]).
then
(
function
(){
var
n
=
[
t
(
"CUAv"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"用户管理"
,
icon
:
"icon-laoshi"
,
list
:[{
value
:
"用户列表"
,
routerName
:
"user"
,
path
:
"/user"
,
cover
:
"3-2"
,
router
:{
path
:
"/user"
,
name
:
"user"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
4
)]).
then
(
function
(){
var
n
=
[
t
(
"jFLA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"老系统用户列表"
,
routerName
:
"oldUser"
,
path
:
"/oldUser"
,
cover
:
"3-3"
,
router
:{
path
:
"/oldUser"
,
name
:
"oldUser"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
40
)]).
then
(
function
(){
var
n
=
[
t
(
"K2yr"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"用户积分列表"
,
routerName
:
"integral"
,
path
:
"/integral"
,
cover
:
"3-4"
,
router
:{
path
:
"/integral"
,
name
:
"integral"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
13
)]).
then
(
function
(){
var
n
=
[
t
(
"NDyu"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"绑定子账号列表"
,
routerName
:
"subList"
,
path
:
"/subList"
,
cover
:
"3-5"
,
router
:{
path
:
"/subList"
,
name
:
"subList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
36
)]).
then
(
function
(){
var
n
=
[
t
(
"L5jB"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"订单管理"
,
icon
:
"icon-dingdan"
,
list
:[{
value
:
"日课订单列表"
,
routerName
:
"order"
,
path
:
"/order"
,
cover
:
"5-1"
,
router
:{
path
:
"/order"
,
name
:
"order"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
8
)]).
then
(
function
(){
var
n
=
[
t
(
"2qmY"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
41
)]).
then
(
function
(){
var
n
=
[
t
(
"F5pf"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"发货管理"
,
routerName
:
"consignment"
,
path
:
"/consignment"
,
cover
:
"5-4"
,
router
:{
path
:
"/consignment"
,
name
:
"consignment"
,
component
:
function
(
e
){
return
t
.
e
(
60
).
then
(
function
(){
var
n
=
[
t
(
"usUK"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"订单统计"
,
routerName
:
"orderCount"
,
path
:
"/orderCount"
,
cover
:
"5-5"
,
router
:{
path
:
"/orderCount"
,
name
:
"orderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
59
)]).
then
(
function
(){
var
n
=
[
t
(
"s7i+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"日课订单统计"
,
routerName
:
"dayOrderCount"
,
path
:
"/dayOrderCount"
,
cover
:
"5-11"
,
router
:{
path
:
"/dayOrderCount"
,
name
:
"dayOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
52
)]).
then
(
function
(){
var
n
=
[
t
(
"mjLz"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"优惠券列表"
,
routerName
:
"coupon"
,
path
:
"/coupon"
,
cover
:
"5-6"
,
router
:{
path
:
"/coupon"
,
name
:
"coupon"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
37
)]).
then
(
function
(){
var
n
=
[
t
(
"WvRy"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"扫码入课列表"
,
routerName
:
"notBuyClass"
,
path
:
"/notBuyClass"
,
cover
:
"5-8"
,
router
:{
path
:
"/notBuyClass"
,
name
:
"notBuyClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
23
)]).
then
(
function
(){
var
n
=
[
t
(
"E6Zo"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部订单列表"
,
routerName
:
"yunji"
,
path
:
"/yunji"
,
cover
:
"5-9"
,
router
:{
path
:
"/yunji"
,
name
:
"yunji"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
15
)]).
then
(
function
(){
var
n
=
[
t
(
"69L+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"兑换码管理"
,
routerName
:
"exchange"
,
path
:
"/exchange"
,
cover
:
"5-13"
,
router
:{
path
:
"/exchange"
,
name
:
"exchange"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
12
)]).
then
(
function
(){
var
n
=
[
t
(
"CvLZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"数据管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"年课转化来源"
,
routerName
:
"sourceConversionList"
,
path
:
"/sourceConversionList"
,
cover
:
"9-9"
,
router
:{
path
:
"/sourceConversionList"
,
name
:
"sourceConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
66
)]).
then
(
function
(){
var
n
=
[
t
(
"8toi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"市场招生列表"
,
routerName
:
"marketEnrollmentConversionList"
,
path
:
"/marketEnrollmentConversionList"
,
cover
:
"9-8"
,
router
:{
path
:
"/marketEnrollmentConversionList"
,
name
:
"marketEnrollmentConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
57
)]).
then
(
function
(){
var
n
=
[
t
(
"lWjU"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"渠道转化数据"
,
routerName
:
"channelConversionList"
,
path
:
"/channelConversionList"
,
cover
:
"9-3"
,
router
:{
path
:
"/channelConversionList"
,
name
:
"channelConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
68
)]).
then
(
function
(){
var
n
=
[
t
(
"h0PA"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"渠道分商品转化数据"
,
routerName
:
"channelGoodsConversionList"
,
path
:
"/channelGoodsConversionList"
,
cover
:
"9-2"
,
router
:{
path
:
"/channelGoodsConversionList"
,
name
:
"channelGoodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
56
)]).
then
(
function
(){
var
n
=
[
t
(
"G/kT"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"期数转化数据"
,
routerName
:
"periodsConversionList"
,
path
:
"/periodsConversionList"
,
cover
:
"9-4"
,
router
:{
path
:
"/periodsConversionList"
,
name
:
"periodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
64
)]).
then
(
function
(){
var
n
=
[
t
(
"+Xua"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"销售小组数据"
,
routerName
:
"squadConversionList"
,
path
:
"/squadConversionList"
,
cover
:
"9-5"
,
router
:{
path
:
"/squadConversionList"
,
name
:
"squadConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
53
)]).
then
(
function
(){
var
n
=
[
t
(
"M7X6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"班主任转化数据"
,
routerName
:
"teacherConversionList"
,
path
:
"/teacherConversionList"
,
cover
:
"9-6"
,
router
:{
path
:
"/teacherConversionList"
,
name
:
"teacherConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
48
)]).
then
(
function
(){
var
n
=
[
t
(
"6yV8"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"各期数班主任转化数据"
,
routerName
:
"teacherPeriodsConversionList"
,
path
:
"/teacherPeriodsConversionList"
,
cover
:
"9-7"
,
router
:{
path
:
"/teacherPeriodsConversionList"
,
name
:
"teacherPeriodsConversionList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
67
)]).
then
(
function
(){
var
n
=
[
t
(
"TtuZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"明细数据列表"
,
routerName
:
"channelTransList"
,
path
:
"/channelTransList"
,
cover
:
"9-1"
,
router
:{
path
:
"/channelTransList"
,
name
:
"channelTransList"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
65
)]).
then
(
function
(){
var
n
=
[
t
(
"XXYb"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"实物管理"
,
icon
:
"icon-shu"
,
list
:[{
value
:
"单品列表"
,
routerName
:
"single"
,
path
:
"/single"
,
cover
:
"6-1"
,
router
:{
path
:
"/single"
,
name
:
"single"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
21
)]).
then
(
function
(){
var
n
=
[
t
(
"B31M"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"盒子列表"
,
routerName
:
"box"
,
path
:
"/box"
,
cover
:
"6-2"
,
router
:{
path
:
"/box"
,
name
:
"box"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
18
)]).
then
(
function
(){
var
n
=
[
t
(
"+vCD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"待发货列表"
,
routerName
:
"logistics"
,
path
:
"/logistics"
,
cover
:
"6-3"
,
router
:{
path
:
"/logistics"
,
name
:
"logistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
24
)]).
then
(
function
(){
var
n
=
[
t
(
"eYh/"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"公众号"
,
icon
:
"icon-ai-weixin"
,
list
:[{
value
:
"自动回复"
,
routerName
:
"focusReply"
,
path
:
"/focusReply"
,
cover
:
"7-1"
,
router
:{
path
:
"/focusReply"
,
name
:
"focusReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
19
)]).
then
(
function
(){
var
n
=
[
t
(
"CK6D"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"关键词回复"
,
routerName
:
"autoReply"
,
path
:
"/autoReply"
,
cover
:
"7-2"
,
router
:{
path
:
"/autoReply"
,
name
:
"autoReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
20
)]).
then
(
function
(){
var
n
=
[
t
(
"65NY"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"公众号菜单"
,
routerName
:
"weChat"
,
path
:
"/weChat"
,
cover
:
"7-3"
,
router
:{
path
:
"/weChat"
,
name
:
"weChat"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
27
)]).
then
(
function
(){
var
n
=
[
t
(
"q5av"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"素材管理"
,
routerName
:
"weChatResource"
,
path
:
"/weChatResource"
,
cover
:
"7-4"
,
router
:{
path
:
"/weChatResource"
,
name
:
"weChatResource"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
28
)]).
then
(
function
(){
var
n
=
[
t
(
"Xhqp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"二维码管理"
,
routerName
:
"qrcode"
,
path
:
"/qrcode"
,
cover
:
"7-6"
,
router
:{
path
:
"/qrcode"
,
name
:
"qrcode"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
17
)]).
then
(
function
(){
var
n
=
[
t
(
"lNiQ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"群发助手"
,
routerName
:
"groupSend"
,
path
:
"/groupSend"
,
cover
:
"7-7"
,
router
:{
path
:
"/groupSend"
,
name
:
"groupSend"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
10
)]).
then
(
function
(){
var
n
=
[
t
(
"oerw"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"关注取关统计"
,
routerName
:
"watchCount"
,
path
:
"/watchCount"
,
cover
:
"7-8"
,
router
:{
path
:
"/watchCount"
,
name
:
"watchCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
62
)]).
then
(
function
(){
var
n
=
[
t
(
"Dq6T"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"微信统计"
,
routerName
:
"weChatStatistics"
,
path
:
"/weChatStatistics"
,
cover
:
"7-10"
,
router
:{
path
:
"/weChatStatistics"
,
name
:
"weChatStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
63
)]).
then
(
function
(){
var
n
=
[
t
(
"5t3x"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"测试"
,
routerName
:
"test"
,
path
:
"/test"
,
cover
:
"7-11"
,
router
:{
path
:
"/test"
,
name
:
"test"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
33
)]).
then
(
function
(){
var
n
=
[
t
(
"9ZSL"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"系统管理"
,
icon
:
"icon-xitongquanxian"
,
list
:[{
value
:
"首页管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"10-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
38
)]).
then
(
function
(){
var
n
=
[
t
(
"CGL6"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"10-6"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
55
)]).
then
(
function
(){
var
n
=
[
t
(
"NrkQ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"来源码管理"
,
routerName
:
"sourceManage"
,
path
:
"/sourceManage"
,
cover
:
"10-1"
,
router
:{
path
:
"/sourceManage"
,
name
:
"sourceManage"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
39
)]).
then
(
function
(){
var
n
=
[
t
(
"/ubI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"短信发送记录"
,
routerName
:
"smsRecord"
,
path
:
"/smsRecord"
,
cover
:
"10-2"
,
router
:{
path
:
"/smsRecord"
,
name
:
"smsRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
31
)]).
then
(
function
(){
var
n
=
[
t
(
"qjS+"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"设备监管记录"
,
routerName
:
"staffRecord"
,
path
:
"/staffRecord"
,
cover
:
"10-7"
,
router
:{
path
:
"/staffRecord"
,
name
:
"staffRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
44
)]).
then
(
function
(){
var
n
=
[
t
(
"4tei"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"员工管理"
,
routerName
:
"staff"
,
path
:
"/staff"
,
cover
:
"10-4"
,
router
:{
path
:
"/staff"
,
name
:
"staff"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
29
)]).
then
(
function
(){
var
n
=
[
t
(
"eqK0"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
47
)]).
then
(
function
(){
var
n
=
[
t
(
"TPCG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]},{
name
:
""
,
value
:
"后台管理"
,
icon
:
"icon-shezhi"
,
list
:[{
value
:
"账号管理"
,
routerName
:
"admin"
,
path
:
"/admin"
,
cover
:
"8-1"
,
router
:{
path
:
"/admin"
,
name
:
"admin"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
49
)]).
then
(
function
(){
var
n
=
[
t
(
"+jTk"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"角色管理"
,
routerName
:
"role"
,
path
:
"/role"
,
cover
:
"8-2"
,
router
:{
path
:
"/role"
,
name
:
"role"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
46
)]).
then
(
function
(){
var
n
=
[
t
(
"Vt1u"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"菜单管理"
,
routerName
:
"menu"
,
path
:
"/menu"
,
cover
:
"8-3"
,
router
:{
path
:
"/menu"
,
name
:
"menu"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
69
)]).
then
(
function
(){
var
n
=
[
t
(
"aTXs"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"sysConfig"
,
path
:
"/sysConfig"
,
cover
:
"8-4"
,
router
:{
path
:
"/sysConfig"
,
name
:
"sysConfig"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
34
)]).
then
(
function
(){
var
n
=
[
t
(
"gaNG"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}},{
value
:
"操作日志"
,
routerName
:
"adminLog"
,
path
:
"/adminLog"
,
cover
:
"8-5"
,
router
:{
path
:
"/adminLog"
,
name
:
"adminLog"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
43
)]).
then
(
function
(){
var
n
=
[
t
(
"WZgi"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}}]}],
a
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
n
=
this
.
$store
.
state
.
progressList
;
console
.
log
(
this
.
$store
.
state
);
var
a
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
11
)]).
then
(
function
(){
var
n
=
[
t
(
"9PRC"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}},
i
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
6
)]).
then
(
function
(){
var
n
=
[
t
(
"hFUZ"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}};
o
.
forEach
(
function
(
t
){
var
o
=!
1
,
u
=
[];
t
.
list
.
forEach
(
function
(
t
){
var
a
=
n
.
find
(
function
(
e
){
return
e
.
cover
===
t
.
cover
});
a
&&
(
t
.
router
.
meta
=
{},
t
.
router
.
meta
.
readonly
=!!
a
.
readonly
,
t
.
router
.
meta
.
delete
=!!
a
.
delete
,
t
.
router
.
meta
.
export
=!!
a
.
export
,
t
.
router
.
meta
.
refund
=!!
a
.
refund
,
t
.
router
.
meta
.
distribution
=!!
a
.
distribution
,
t
.
router
.
meta
.
classManage
=!!
a
.
classManage
,
t
.
router
.
meta
.
classManageUnlimited
=!!
a
.
classManageUnlimited
,
t
.
router
.
meta
.
classTakeUnlimited
=!!
a
.
classTakeUnlimited
,
t
.
router
.
meta
.
promoter
=!!
a
.
promoter
,
u
.
push
(
t
),
"3-1"
===
a
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
a
.
readonly
,
i
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
"3-2"
===
a
.
cover
&&
(
r
.
meta
=
{},
r
.
meta
.
readonly
=
a
.
readonly
,
r
.
meta
.
delete
=!!
a
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
r
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
t
.
router
),
o
=!
0
)}),
o
&&
(
t
.
list
=
u
,
a
.
push
(
t
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
a
)}}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
n
=
this
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
i
=
t
(
"VU/8"
)(
a
,
r
,
!
1
,
function
(
e
){
t
(
"lvoo"
)},
null
,
null
).
exports
,
u
=
t
(
"lRwf"
),
c
=
t
.
n
(
u
),
s
=
t
(
"YaEn"
),
l
=
t
(
"IcnI"
),
h
=
t
(
"zL8q"
),
m
=
t
.
n
(
h
);
c
.
a
.
use
(
m
.
a
),
c
.
a
.
config
.
productionTip
=!
1
,
new
c
.
a
({
el
:
"#app"
,
store
:
l
.
a
,
router
:
s
.
a
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
OMN4
:
function
(
e
,
n
){
e
.
exports
=
axios
},
YaEn
:
function
(
e
,
n
,
t
){
"use strict"
;
var
o
=
t
(
"IcnI"
),
a
=
t
(
"/ocq"
),
r
=
t
(
"zSLJ"
),
i
=
new
a
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
7
)]).
then
(
function
(){
var
n
=
[
t
(
"jHcp"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
t
.
e
(
32
).
then
(
function
(){
var
n
=
[
t
(
"sJm1"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
45
)]).
then
(
function
(){
var
n
=
[
t
(
"0HId"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/register"
,
name
:
"register"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
50
)]).
then
(
function
(){
var
n
=
[
t
(
"90Fj"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/outManager"
,
name
:
"outManager"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
61
)]).
then
(
function
(){
var
n
=
[
t
(
"hLMI"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
58
)]).
then
(
function
(){
var
n
=
[
t
(
"iPJD"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/newLesson"
,
name
:
"newLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
t
.
e
(
0
),
t
.
e
(
3
)]).
then
(
function
(){
var
n
=
[
t
(
"4t0V"
)];
e
.
apply
(
null
,
n
)}.
bind
(
this
)).
catch
(
t
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
i
.
beforeEach
(
function
(
e
,
n
,
t
){
if
(
o
.
a
.
commit
(
"mainCanShow"
),
r
.
a
.
get
(
"cc_token"
)
&&
(
o
.
a
.
dispatch
(
"setToken"
,
r
.
a
.
get
(
"cc_token"
)),
o
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
r
.
a
.
get
(
"cc_user_name"
)
&&
o
.
a
.
dispatch
(
"setUserName"
,
r
.
a
.
get
(
"cc_user_name"
))),
o
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
a
=
void
0
,
i
=
0
;
i
<
o
.
a
.
state
.
menuList
.
length
;
i
++
)
for
(
var
u
=
o
.
a
.
state
.
menuList
[
i
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
s
=
u
.
list
[
c
];
s
.
path
===
e
.
path
&&
(
a
=
s
)}
o
.
a
.
state
.
openedTab
.
indexOf
(
a
)
<
0
&&
o
.
a
.
state
.
openedTab
.
push
(
a
)}
if
(
e
.
meta
.
readonly
?
o
.
a
.
dispatch
(
"readonly"
,
!
0
):
o
.
a
.
dispatch
(
"readonly"
,
!
1
),
o
.
a
.
state
.
orderRefund
=
e
.
meta
.
refund
,
o
.
a
.
state
.
export
=
e
.
meta
.
export
,
o
.
a
.
state
.
distribution
=
e
.
meta
.
distribution
,
o
.
a
.
state
.
classManage
=
e
.
meta
.
classManage
,
o
.
a
.
dispatch
(
"promoter"
,
e
.
meta
.
promoter
),
o
.
a
.
dispatch
(
"classManageUnlimited"
,
e
.
meta
.
classManageUnlimited
),
o
.
a
.
dispatch
(
"classTakeUnlimited"
,
e
.
meta
.
classTakeUnlimited
),
console
.
log
(
e
.
meta
),
"userDetail"
===
e
.
name
){
var
l
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
o
.
a
.
dispatch
(
"readonly"
,
l
)}
e
.
meta
.
delete
?
o
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
o
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
o
.
a
.
state
.
token
?
t
({
path
:
"/login"
}):
t
()}),
i
.
onError
(
function
(
e
){
var
n
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
t
=
i
.
history
.
pending
.
fullPath
;
n
&&
i
.
replace
(
t
)}),
n
.
a
=
i
},
lRwf
:
function
(
e
,
n
){
e
.
exports
=
Vue
},
lvoo
:
function
(
e
,
n
){},
zSLJ
:
function
(
e
,
n
,
t
){
"use strict"
;
n
.
a
=
{
set
:
function
(
e
,
n
,
t
){
var
o
=
new
Date
;
o
.
setTime
(
o
.
getTime
()
+
864
e5
*
t
),
window
.
document
.
cookie
=
e
+
"="
+
n
+
";path=/;expires="
+
o
.
toGMTString
()},
get
:
function
(
e
){
var
n
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
n
?
n
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.90301b48239adabffa98.js
0 → 100644
View file @
82bb364f
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
72
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"a7fb12056e38d5233aac"
,
1
:
"8e595e5f50cd9f29ec9b"
,
2
:
"b2a9c6eaca47f25ec5dc"
,
3
:
"4c91e10b2ee26e9d4b00"
,
4
:
"ecdf1ab10adae5b68873"
,
5
:
"851ae32cc6b98d3e78be"
,
6
:
"8be0fe2a2ae78b2394fb"
,
7
:
"40eef4cc2f9cd1c89c2b"
,
8
:
"69eb662fa354dccea05d"
,
9
:
"8cf4ab43f18264d305cd"
,
10
:
"3e2ce745cbc0beb5255a"
,
11
:
"64af6c28c44518865418"
,
12
:
"3d290b0ab2209bdf87a9"
,
13
:
"9c6495a76c1be6a7633b"
,
14
:
"71d7db719b296c756393"
,
15
:
"6558a2ae96ba759668ae"
,
16
:
"be82a2f611584f2de3fd"
,
17
:
"447d9aa8ff4572087d22"
,
18
:
"fa03c80307df397ccc51"
,
19
:
"65364867ea9a86f102ea"
,
20
:
"e1a54d75198298bda584"
,
21
:
"822911fdaad3362aa9f1"
,
22
:
"490b5ac5f94706526ec7"
,
23
:
"ab3f0599e3cc45accb55"
,
24
:
"35c3348b6044abe14d51"
,
25
:
"462c91b8a878c88a7742"
,
26
:
"53852f5fcc51f52c6441"
,
27
:
"10c1a74c92cf8912c3d8"
,
28
:
"84088958b53cbc315353"
,
29
:
"e5c575bff4f4b79eb393"
,
30
:
"bb96bdfa06416fd7e36f"
,
31
:
"c62cfcddada51052d261"
,
32
:
"1b5ebf0b612ebe8d3339"
,
33
:
"c2b060b9034c2815e8ad"
,
34
:
"11da40bfce88fd9bc786"
,
35
:
"ad99006d263b47d0cc97"
,
36
:
"df15208bc7df51374d0e"
,
37
:
"c27ad66aafdfc8df9c58"
,
38
:
"8ded24f693860ec1857f"
,
39
:
"d29485f6c89245004d69"
,
40
:
"375f966f21695724df83"
,
41
:
"35bd06e1a3cfc68de8ca"
,
42
:
"3b483b2de87b32c646c1"
,
43
:
"c753dfdbd68704df5031"
,
44
:
"de03a55a01cc7c104eaf"
,
45
:
"a2eade44a0a49ca715e6"
,
46
:
"d1c0a89a1c68bb048917"
,
47
:
"9e8dcf698d729504ffad"
,
48
:
"dc62067f250a26b61d7a"
,
49
:
"23d6138229249a5b029b"
,
50
:
"e9027f35bcca6a9bf420"
,
51
:
"60423c999943e60f2a42"
,
52
:
"b828a2cacf1e93d38035"
,
53
:
"73a65174125d937b8f20"
,
54
:
"166b6d2bc7e9c649012b"
,
55
:
"62622ffc5cb5d7d082fe"
,
56
:
"3e21eba4dcf80b45fc39"
,
57
:
"4cd3edcd7ff538e6c1c2"
,
58
:
"d56f59428fea0d0d01fc"
,
59
:
"22fc25cfd524a6046ab2"
,
60
:
"8b6ab62362de13ba6cde"
,
61
:
"c982a0cbd3bd07bdf649"
,
62
:
"00de91fe0443653ea004"
,
63
:
"c076d762c18fe442a47e"
,
64
:
"f302cbf47efcf191ea58"
,
65
:
"1a4d44a79e04e53dddbf"
,
66
:
"43c0a59ee677e7723e76"
,
67
:
"9a8559f704b52cf86040"
,
68
:
"43f7a7b48e7925e819fe"
,
69
:
"a09113613868461befb0"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"/"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/exchange/add.vue
View file @
82bb364f
...
...
@@ -15,7 +15,7 @@
:rules=
"[
{ required: true, message: '请选择商品', trigger: 'change' }]">
<el-row
:gutter=
"20"
>
<el-col
:span=
"20"
>
<el-select
v-model=
"newIntegral.goods_id"
>
<el-select
v-model=
"newIntegral.goods_id"
filterable
>
<el-option
v-for=
"data in goodsList"
:key=
"data.id"
:label=
"`【$
{data.id}】${data.name}`" :value="data.id"/>
</el-select>
</el-col>
...
...
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