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
d0ac1371
Commit
d0ac1371
authored
Jun 28, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
628
parent
27f9d029
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
11 additions
and
3 deletions
+11
-3
index.html
dev/index.html
+1
-1
25.949c0bc8ba78fe3c992d.js
dev/static/js/25.949c0bc8ba78fe3c992d.js
+1
-0
manifest.7e3605f0edc6a03ee9d9.js
dev/static/js/manifest.7e3605f0edc6a03ee9d9.js
+1
-0
index.html
dist/index.html
+1
-1
app.f71829f5ca23948fe152fde440563a1e.css
dist/static/css/app.f71829f5ca23948fe152fde440563a1e.css
+1
-0
22.dce5d2940eddec53c055.js
dist/static/js/22.dce5d2940eddec53c055.js
+1
-0
23.248972529830343ba26f.js
dist/static/js/23.248972529830343ba26f.js
+1
-0
24.ccf83fbbfee9f7eb8cc9.js
dist/static/js/24.ccf83fbbfee9f7eb8cc9.js
+1
-0
25.98e14ecc9b26f31aaa54.js
dist/static/js/25.98e14ecc9b26f31aaa54.js
+1
-0
app.97ac56f2b70658163d9d.js
dist/static/js/app.97ac56f2b70658163d9d.js
+1
-0
manifest.d4c04687d128a76b2c27.js
dist/static/js/manifest.d4c04687d128a76b2c27.js
+1
-0
index.vue
src/components/logistics/index.vue
+0
-1
No files found.
dev/index.html
View file @
d0ac1371
<!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.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
ac5e9fc01c4ba6d21e80
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.c75c8ffdd44fcdb01df5.js
></script><script
type=
text/javascript
src=
/static/js/app.34906f6c5b6497f69e87.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.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
7e3605f0edc6a03ee9d9
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.c75c8ffdd44fcdb01df5.js
></script><script
type=
text/javascript
src=
/static/js/app.34906f6c5b6497f69e87.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dev/static/js/25.949c0bc8ba78fe3c992d.js
0 → 100644
View file @
d0ac1371
webpackJsonp
([
25
],{
"+rlv"
:
function
(
e
,
t
,
i
){
var
n
=
i
(
"r12b"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
i
(
"rjj0"
)(
"10a3ec8d"
,
n
,
!
1
,{})},
Chh9
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.dialog-footer[data-v-be4e8ebe] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/logistics/dialog.vue"
],
names
:[],
mappings
:
";AACA;EACE,eAAe;EACf,mBAAmB;CACpB"
,
file
:
"dialog.vue"
,
sourcesContent
:[
"
\n
.dialog-footer[data-v-be4e8ebe] {
\n
display: block;
\n
text-align: center;
\n
}
\n
"
],
sourceRoot
:
""
}])},
Vj6a
:
function
(
e
,
t
,
i
){
var
n
=
i
(
"xPF6"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
i
(
"rjj0"
)(
"10efc4f2"
,
n
,
!
1
,{})},
"eYh/"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
i
(
"kmJW"
),
o
=
i
(
"NC6I"
),
s
=
i
.
n
(
o
),
r
=
i
(
"CCn6"
),
a
=
i
(
"P0f4"
),
l
=
i
(
"xGts"
),
d
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{}},
watch
:{
"dialogObj.show"
:{
deep
:
!
0
,
handler
:
function
(){
console
.
log
(
this
.
dialogObj
)}}},
methods
:{
handlerAddressChange
:
function
(
e
){
if
(
e
.
province
&&
e
.
city
&&
e
.
district
){
this
.
dialogObj
.
detail
=
e
.
detail
,
this
.
dialogObj
.
province
=
e
.
province
,
this
.
dialogObj
.
city
=
e
.
city
,
this
.
dialogObj
.
receive_mobile
=
e
.
mobile
,
this
.
dialogObj
.
receive_name
=
e
.
name
;
var
t
=
l
.
a
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
province
}),
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
city
}),
n
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
district
});
this
.
dialogObj
.
province_name
=
t
[
0
].
label
,
this
.
dialogObj
.
city_name
=
i
[
0
].
label
,
this
.
dialogObj
.
district_name
=
n
.
length
>
0
?
n
[
0
].
label
:
i
[
0
].
children
[
0
].
label
,
this
.
dialogObj
.
district
=
n
.
length
>
0
?
n
[
0
].
value
:
i
[
0
].
children
[
0
].
value
}},
saveAddress
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
province_id
:
e
.
dialogObj
.
province
,
province_name
:
e
.
dialogObj
.
province_name
,
city_id
:
e
.
dialogObj
.
city
,
city
:
e
.
dialogObj
.
city_name
,
area
:
e
.
dialogObj
.
district_name
,
area_id
:
e
.
dialogObj
.
district
,
address
:
e
.
dialogObj
.
detail
,
receive_name
:
e
.
dialogObj
.
receive_name
,
receive_mobile
:
e
.
dialogObj
.
receive_mobile
};
Object
(
r
.
_9
)(
e
.
dialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)})})}},
components
:{
vueAddress
:
a
.
a
},
mounted
:
function
(){
console
.
log
(
this
.
dialogObj
)}},
c
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"编辑收货地址"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"vue-address"
,{
attrs
:{
province
:
e
.
dialogObj
.
province
,
city
:
e
.
dialogObj
.
city
,
district
:
e
.
dialogObj
.
district
,
detail
:
e
.
dialogObj
.
detail
,
mobile
:
e
.
dialogObj
.
receive_mobile
,
name
:
e
.
dialogObj
.
receive_name
},
on
:{
change
:
e
.
handlerAddressChange
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAddress
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)};
c
.
_withStripped
=!
0
;
var
m
=
{
render
:
c
,
staticRenderFns
:[]},
p
=
m
;
var
u
=!
1
;
var
h
=
i
(
"VU/8"
)(
d
,
p
,
!
1
,
function
(
e
){
u
||
i
(
"twqH"
)},
"data-v-be4e8ebe"
,
null
);
h
.
options
.
__file
=
"src
\\
components
\\
logistics
\\
dialog.vue"
;
var
g
=
h
.
exports
,
f
=
i
(
"+TkF"
),
b
=
{
name
:
"index"
,
components
:{
page
:
n
.
a
,
addressDialog
:
g
},
data
:
function
(){
return
{
dialogObj
:{
show
:
!
1
},
adressDialog
:
!
1
,
searchFrom
:{
user_id
:
""
,
theme_id
:
""
,
periods_id
:
""
,
type
:
""
},
nowPage
:
1
,
total
:
0
,
limit
:
10
,
deliverList
:[],
selectedGoods
:[],
secGoods
:[],
periodsId
:
null
,
goods_id
:
null
,
goodsList
:[],
themeList
:[],
param_token
:
s
()(
JSON
.
stringify
({
sing
:
"singsingenglish21000"
})),
uploadHeader
:{
token
:
localStorage
.
getItem
(
"cc_token"
)},
logisticsType
:[{
value
:
"0"
,
name
:
"当前待发货 "
},{
value
:
"1"
,
name
:
"所有待发货 "
},{
value
:
"2"
,
name
:
"所有已发货 "
}]}},
filters
:{
LogisticsStatusFil
:
function
(
e
){
return
f
.
q
[
e
]}},
mounted
:
function
(){
this
.
init
()},
methods
:{
downLoad
:
function
(){
window
.
open
(
"/static/待发货模板.xls"
)},
handleClick
:
function
(
e
){
this
.
searchFrom
.
type
=
e
.
name
,
this
.
getList
()},
editAddress
:
function
(
e
){
console
.
log
(
e
),
this
.
dialogObj
.
detail
=
e
.
address
,
this
.
dialogObj
.
receive_mobile
=
e
.
receive_mobile
,
this
.
dialogObj
.
receive_name
=
e
.
receive_name
,
this
.
dialogObj
.
province_name
=
""
,
this
.
dialogObj
.
city_name
=
""
,
this
.
dialogObj
.
district_name
=
""
,
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
show
=!
0
},
onUpdateAddress
:
function
(){
this
.
dialogObj
.
show
=!
1
,
this
.
getList
()},
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
}),
this
.
getList
()},
init
:
function
(){
var
e
=
this
;
this
.
getList
();
Object
(
r
.
_96
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
themeList
=
t
.
list
}),
Object
(
r
.
_53
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
console
.
log
(
t
),
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
f
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
exportTable
:
function
(){
var
e
=
{};
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
theme_id
&&
(
e
.
theme_id
=
this
.
searchFrom
.
theme_id
),
this
.
searchFrom
.
periods_id
&&
(
e
.
periods_id
=
this
.
searchFrom
.
periods_id
),
Object
(
r
.
_24
)(
"/api/admin/order/deliver/list/export"
,
e
)},
initQuery
:
function
(){
var
e
=
this
,
t
=
this
.
$route
.
query
;
t
&&
t
.
goods_id
&&
t
.
periods_id
?(
this
.
goods_id
=
t
.
goods_id
,
this
.
selectedGoods
=
[
parseInt
(
t
.
goods_id
),
parseInt
(
t
.
periods_id
)],
Object
(
r
.
_68
)({
goods_id
:
this
.
selectedGoods
[
0
],
limit
:
100
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]}).
children
=
t
.
list
;
var
i
=
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]});
e
.
periods
=
i
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
1
]}),
console
.
log
(
e
.
periods
)})):
Object
(
r
.
_47
)().
then
(
function
(
t
){
console
.
log
(
t
),
t
&&
(
e
.
goods_id
=
t
.
goods_id
,
e
.
selectedGoods
=
[
parseInt
(
t
.
goods_id
),
parseInt
(
t
.
id
)],
Object
(
r
.
_68
)({
goods_id
:
e
.
selectedGoods
[
0
],
limit
:
100
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]}).
children
=
t
.
list
;
var
i
=
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]});
e
.
periods
=
i
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
1
]}),
e
.
teacher_id
=
""
,
console
.
log
(
e
.
periods
)}))}),
console
.
log
(
this
.
goodsList
)},
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
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
theme_id
&&
(
t
.
theme_id
=
this
.
searchFrom
.
theme_id
),
this
.
searchFrom
.
periods_id
&&
(
t
.
periods_id
=
this
.
searchFrom
.
periods_id
),
this
.
searchFrom
.
type
&&
(
t
.
type
=
this
.
searchFrom
.
type
),
Object
(
r
.
_48
)(
t
).
then
(
function
(
t
){
e
.
deliverList
=
t
.
list
,
e
.
total
=
t
.
total
,
console
.
log
(
e
.
deliverList
)})},
reset
:
function
(){
this
.
searchFrom
=
{
user_id
:
""
,
theme_id
:
""
,
periods_id
:
""
,
type
:
""
},
this
.
getList
()},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
console
.
log
(
this
.
goodsList
),
console
.
log
(
this
.
periods
),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
}},
handleItemChange
:
function
(
e
){
var
t
=
this
;
Object
(
r
.
_68
)({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
i
){
i
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
i
.
list
})}}},
_
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"sms"
},[
i
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
,
size
:
"small"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
i
(
"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
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"期数"
}},[
i
(
"el-cascader"
,{
attrs
:{
options
:
e
.
goodsList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
e
.
handleItemChange
,
change
:
e
.
changePeriods
},
model
:{
value
:
e
.
selectedGoods
,
callback
:
function
(
t
){
e
.
selectedGoods
=
t
},
expression
:
"selectedGoods"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"主题"
}},[
i
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
theme_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"theme_id"
,
t
)},
expression
:
"searchFrom.theme_id"
}},
e
.
_l
(
e
.
themeList
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
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
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
reset
}},[
e
.
_v
(
"重置"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
downLoad
()}}},[
e
.
_v
(
"excel模板下载"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
exportTable
}},[
e
.
_v
(
"导出当前待发货"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
i
(
"el-form-item"
,[
i
(
"el-upload"
,{
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
action
:
"/api/admin/order/deliver/list/import"
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
}},[
e
.
_v
(
"导入发货信息"
)])],
1
)],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
i
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
searchFrom
.
type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type"
,
t
)},
expression
:
"searchFrom.type"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"当前待发货"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"所有待发货"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"所有已发货"
,
name
:
"2"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
deliverList
,
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
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
i
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
),
i
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"收货地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receive_mobile
)),
i
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
province_name
)
+
e
.
_s
(
t
.
row
.
city_name
)
+
e
.
_s
(
t
.
row
.
area_name
)
+
e
.
_s
(
t
.
row
.
address
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"theme_name"
,
label
:
"主题"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"deliver_start_at"
,
label
:
"预计发货开始时间"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"deliver_end_at"
,
label
:
"预计发货结束时间"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"deliver_at"
,
label
:
"发货时间"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"status"
,
label
:
"物流状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"LogisticsStatusFil"
)(
t
.
row
.
status
))),
i
(
"br"
),
e
.
_v
(
" "
),
2
==
e
.
searchFrom
.
type
?
i
(
"span"
,[
e
.
_v
(
"快递信息:"
+
e
.
_s
(
e
.
express_name
)
+
e
.
_s
(
e
.
express_no
))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
width
:
"150"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-button"
,{
attrs
:{
plain
:
""
,
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editAddress
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑收货地址
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
i
(
"address-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
onUpdateAddress
}})],
1
)};
_
.
_withStripped
=!
0
;
var
v
=
{
render
:
_
,
staticRenderFns
:[]},
A
=
v
;
var
x
=!
1
;
var
w
=
i
(
"VU/8"
)(
b
,
A
,
!
1
,
function
(
e
){
x
||
(
i
(
"Vj6a"
),
i
(
"+rlv"
))},
"data-v-09341989"
,
null
);
w
.
options
.
__file
=
"src
\\
components
\\
logistics
\\
index.vue"
;
t
.
default
=
w
.
exports
},
r12b
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.userInfo > div {
\
r
\n
display: -webkit-box;
\
r
\n
display: -ms-flexbox;
\
r
\n
display: flex;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row nowrap;
\
r
\n
flex-flow: row nowrap;
\
r
\n
-webkit-box-pack: start;
\
r
\n
-ms-flex-pack: start;
\
r
\n
justify-content: flex-start;
\
r
\n
-webkit-box-align: center;
\
r
\n
-ms-flex-align: center;
\
r
\n
align-items: center;
\n
}
\n
.f-c > .cell {
\
r
\n
display: -webkit-box !important;
\
r
\n
display: -ms-flexbox !important;
\
r
\n
display: flex !important;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row;
\
r
\n
flex-flow: row;
\
r
\n
-webkit-box-pack: start;
\
r
\n
-ms-flex-pack: start;
\
r
\n
justify-content: flex-start;
\
r
\n
-webkit-box-align: center;
\
r
\n
-ms-flex-align: center;
\
r
\n
align-items: center;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/logistics/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,+BAA+B;EAC/B,8BAA8B;MAC1B,0BAA0B;UACtB,sBAAsB;EAC9B,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B;AACD;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
.userInfo > div {
\
r
\n
display: -webkit-box;
\
r
\n
display: -ms-flexbox;
\
r
\n
display: flex;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row nowrap;
\
r
\n
flex-flow: row nowrap;
\
r
\n
-webkit-box-pack: start;
\
r
\n
-ms-flex-pack: start;
\
r
\n
justify-content: flex-start;
\
r
\n
-webkit-box-align: center;
\
r
\n
-ms-flex-align: center;
\
r
\n
align-items: center;
\n
}
\n
.f-c > .cell {
\
r
\n
display: -webkit-box !important;
\
r
\n
display: -ms-flexbox !important;
\
r
\n
display: flex !important;
\
r
\n
-webkit-box-orient: horizontal;
\
r
\n
-webkit-box-direction: normal;
\
r
\n
-ms-flex-flow: row;
\
r
\n
flex-flow: row;
\
r
\n
-webkit-box-pack: start;
\
r
\n
-ms-flex-pack: start;
\
r
\n
justify-content: flex-start;
\
r
\n
-webkit-box-align: center;
\
r
\n
-ms-flex-align: center;
\
r
\n
align-items: center;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])},
twqH
:
function
(
e
,
t
,
i
){
var
n
=
i
(
"Chh9"
);
"string"
==
typeof
n
&&
(
n
=
[[
e
.
i
,
n
,
""
]]),
n
.
locals
&&
(
e
.
exports
=
n
.
locals
);
i
(
"rjj0"
)(
"10fdec89"
,
n
,
!
1
,{})},
xPF6
:
function
(
e
,
t
,
i
){(
e
.
exports
=
i
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.sms[data-v-09341989] {
\
r
\n
padding: 20px 0;
\n
}
\n
.el-button+.el-button[data-v-09341989]{
\
r
\n
margin-left: 0;
\
r
\n
/* margin-top: 10px; */
\n
}
\n
.avatar[data-v-09341989] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
margin-right: 10px;
\
r
\n
height: 50px;
\
r
\n
\
r
\n
border-radius: 50%;
\n
}
\
r
\n
"
,
""
,{
version
:
3
,
sources
:[
"C:/Users/Administrator/Desktop/后台/admin/src/components/logistics/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gBAAgB;CACjB;AACD;EACE,eAAe;EACf,uBAAuB;CACxB;AACD;EACE,YAAY;EACZ,gBAAgB;EAChB,mBAAmB;EACnB,aAAa;;EAEb,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.sms[data-v-09341989] {
\
r
\n
padding: 20px 0;
\n
}
\n
.el-button+.el-button[data-v-09341989]{
\
r
\n
margin-left: 0;
\
r
\n
/* margin-top: 10px; */
\n
}
\n
.avatar[data-v-09341989] {
\
r
\n
width: 50px;
\
r
\n
min-width: 50px;
\
r
\n
margin-right: 10px;
\
r
\n
height: 50px;
\
r
\n
\
r
\n
border-radius: 50%;
\n
}
\
r
\n
"
],
sourceRoot
:
""
}])}});
\ No newline at end of file
dev/static/js/manifest.7e3605f0edc6a03ee9d9.js
0 → 100644
View file @
d0ac1371
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
b
[
t
]
&&
u
.
push
(
b
[
t
][
0
]),
b
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
b
=
{
60
:
0
};
function
f
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
b
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
b
.
exports
,
b
,
b
.
exports
,
f
),
b
.
l
=!
0
,
b
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
b
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
f
){
c
=
b
[
e
]
=
[
a
,
f
]});
c
[
2
]
=
a
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"16eb7f8cbac8a689d499"
,
1
:
"2c9ebf7b732aa3fdf3c2"
,
2
:
"0761b60c669971a9a44a"
,
3
:
"9a5b97380970b0933ae8"
,
4
:
"48823e704707c0d69214"
,
5
:
"1cdcbc229c82e6de28c8"
,
6
:
"a1b5de96eb0d4e912542"
,
7
:
"34f9c1a6c911a69ec382"
,
8
:
"14de3ae9cd758d45251b"
,
9
:
"f0289cec1e521b7d3cef"
,
10
:
"de9f467d9b4a34f88d8b"
,
11
:
"ea6cf614c2fd66d92483"
,
12
:
"9a3b25b43ce9873c1e1e"
,
13
:
"cb2f5287d7d7547dfa43"
,
14
:
"9dd8c3471bb99c0a2b76"
,
15
:
"8dcdb6aa54482b4481bd"
,
16
:
"ec1eb5bdf3d5d8cfc587"
,
17
:
"866854bdaa7ca71446ff"
,
18
:
"4c7a513f0ce0c3621266"
,
19
:
"2cc6119881abc20dfad2"
,
20
:
"01e3a63dea996bea1f83"
,
21
:
"5b9caa2fae623be9123e"
,
22
:
"845c38458cc4eb58b34a"
,
23
:
"1b0ae0527da127f428b4"
,
24
:
"146f0f96eced0f23ce48"
,
25
:
"949c0bc8ba78fe3c992d"
,
26
:
"4e4fe295227884864f16"
,
27
:
"2879e58772a7b23ace75"
,
28
:
"34063e45734c65d85595"
,
29
:
"f9f42d473eabb576f23f"
,
30
:
"84e334d877dbb87b9eb3"
,
31
:
"b29b93be543a2fe65b17"
,
32
:
"01fa2805877c6cbdf7af"
,
33
:
"267c1a2242ebf9a028aa"
,
34
:
"cfd2507442dd13e428cd"
,
35
:
"65d3ab3b0202027fa637"
,
36
:
"5011b2196b584b14826b"
,
37
:
"e94f2bdac1d4a783d393"
,
38
:
"6b9fabd2c071d6cdf54f"
,
39
:
"aa7684a8b9f54f736cf2"
,
40
:
"3e9a225da6813b2511eb"
,
41
:
"f5cbc80a06389832a034"
,
42
:
"2b22e6c6c95c4e96b9a0"
,
43
:
"50825adcf2f817189dbe"
,
44
:
"68e1726458ff7d7bcacb"
,
45
:
"253771485fb2b1ecb8dc"
,
46
:
"be944d0abe4a9d1b4e10"
,
47
:
"aa2b49f936dcc8774648"
,
48
:
"8f6508ff229ef77496c1"
,
49
:
"87fdb289e269eee51211"
,
50
:
"82bb387148b6e4c12d0b"
,
51
:
"f350310b3fb52ad6b1be"
,
52
:
"0240e3bc0b518830e466"
,
53
:
"515e0918fb090883dd7d"
,
54
:
"dc7ad71bf0a1c7a9e137"
,
55
:
"8e5b3dce840d40858ac5"
,
56
:
"d59bc249a4c16f386f8a"
,
57
:
"051980f34375d0b68fcd"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
b
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
b
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
f
.
m
=
e
,
f
.
c
=
a
,
f
.
d
=
function
(
e
,
c
,
a
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"/"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/index.html
View file @
d0ac1371
<!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.f
12b58aab11f5385d440f5d44fd0704f.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.83d1b797b469107362a5.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6c7b37f6719c90d0cedf.js
></script><script
type=
text/javascript
src=
/static/js/app.3135e3186c3ea57a8a88
.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.f
71829f5ca23948fe152fde440563a1e.css
rel=
stylesheet
></head><body><script
src=
https://cdn.bootcss.com/vue/2.5.17/vue.min.js
></script><script
src=
https://unpkg.com/vuex@3.0.1
></script><script
src=
https://cdn.bootcss.com/axios/0.18.0/axios.min.js
></script><script
src=
https://lib.baomitu.com/element-ui/2.7.2/index.js
></script><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.d4c04687d128a76b2c27.js
></script><script
type=
text/javascript
src=
/static/js/vendor.6c7b37f6719c90d0cedf.js
></script><script
type=
text/javascript
src=
/static/js/app.97ac56f2b70658163d9d
.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dist/static/css/app.f71829f5ca23948fe152fde440563a1e.css
0 → 100644
View file @
d0ac1371
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/22.dce5d2940eddec53c055.js
0 → 100644
View file @
d0ac1371
webpackJsonp
([
22
],{
E6Zo
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"CCn6"
),
s
=
n
(
"+TkF"
),
a
=
{
name
:
"entrance"
,
props
:[
"entranceObj"
],
data
:
function
(){
return
{
goodsList
:[],
periodsList
:[],
goods_id
:
null
,
activeName
:
"first"
,
searchFrom
:{
key
:
"goods_receive_course"
,
desc
:
"商品"
,
value
:
""
},
searchFrom2
:{
key
:
"periods_receive_course"
,
desc
:
"期数"
,
value
:
""
},
selectedGoods
:[],
link1
:
"https://w.url.cn/s/A45jJYk"
,
link2
:
"https://w.url.cn/s/AJi1QsS"
}},
mounted
:
function
(){},
filters
:{
filterGoods
:
function
(
e
){
return
"["
+
s
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
methods
:{
initPage
:
function
(){
var
e
=
this
;
Object
(
o
.
_45
)({
key
:
this
.
searchFrom
.
key
}).
then
(
function
(
t
){
t
.
list
&&
t
.
list
.
length
>
0
?
e
.
searchFrom
.
value
=
t
.
list
[
0
].
value
:
e
.
searchFrom
.
value
=
""
}),
Object
(
o
.
_45
)({
key
:
this
.
searchFrom2
.
key
}).
then
(
function
(
t
){
t
.
list
&&
t
.
list
.
length
>
0
||
(
e
.
searchFrom2
.
value
=
""
),
e
.
searchFrom2
.
value
=
""
})},
getGoodsList
:
function
(){
var
e
=
this
;
Object
(
o
.
_53
)({
limit
:
200
,
page
:
1
}).
then
(
function
(
t
){
e
.
goodsList
=
t
.
list
})},
getUser
:
function
(
e
){
var
t
=
this
;
""
!=
e
.
value
?
this
.
$confirm
(
"此操作将设置系统指定配置为商品?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
n
=
{
value
:
e
.
value
,
desc
:
e
.
desc
,
key
:
e
.
key
};
Object
(
o
.
_122
)(
n
).
then
(
function
(
e
){
t
.
$message
({
type
:
"success"
,
message
:
"设置成功!"
})})}):
this
.
$message
({
type
:
"error"
,
message
:
"请设置选择项!"
})},
changePeriods
:
function
(
e
){
e
.
length
>
1
&&
(
this
.
searchFrom2
.
value
=
String
(
e
[
1
]))},
handleItemChange
:
function
(
e
){
var
t
=
this
;
Object
(
o
.
_68
)({
goods_id
:
e
[
0
]}).
then
(
function
(
n
){
n
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
periodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
n
.
list
})},
getPeriodsList
:
function
(){
var
e
=
this
;
Object
(
o
.
_53
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
s
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
periodsList
=
t
.
list
})},
copyUrl
:
function
(
e
){
var
t
=
e
,
n
=
document
.
createElement
(
"input"
);
n
.
value
=
t
,
document
.
body
.
appendChild
(
n
),
n
.
select
(),
console
.
log
(
n
.
value
),
document
.
execCommand
(
"Copy"
),
this
.
$message
({
message
:
"已成功复制到剪切板"
,
type
:
"success"
}),
n
.
remove
()}},
watch
:{
"entranceObj.show"
:
function
(
e
){
e
&&
(
this
.
initPage
(),
this
.
getGoodsList
(),
this
.
getPeriodsList
())}}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-dialog"
,{
attrs
:{
title
:
e
.
entranceObj
.
title
,
visible
:
e
.
entranceObj
.
show
,
center
:
""
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
entranceObj
,
"show"
,
t
)}}},[
n
(
"el-tabs"
,{
staticStyle
:{
"line-height"
:
"1"
},
attrs
:{
type
:
"card"
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
n
(
"el-tab-pane"
,{
attrs
:{
label
:
"商品名称"
,
name
:
"first"
}},[
n
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"90px"
,
inline
:
""
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
n
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
e
.
searchFrom
.
value
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"value"
,
t
)},
expression
:
"searchFrom.value"
}},
e
.
_l
(
e
.
goodsList
,
function
(
t
,
o
){
return
n
(
"el-option"
,{
key
:
o
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
String
(
t
.
id
)}})}))],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"div"
,{
staticClass
:
"search-btn-block"
},[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
getUser
(
e
.
searchFrom
)}}},[
e
.
_v
(
"确定"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
copyUrl
(
e
.
link1
)}}},[
e
.
_v
(
"复制链接"
)])],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-tab-pane"
,{
attrs
:{
label
:
"期数名称"
,
name
:
"second"
}},[
n
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
,
inline
:
""
,
model
:
e
.
searchFrom2
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"期数名称"
}},[
n
(
"el-cascader"
,{
attrs
:{
options
:
e
.
periodsList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
e
.
handleItemChange
,
change
:
e
.
changePeriods
},
model
:{
value
:
e
.
selectedGoods
,
callback
:
function
(
t
){
e
.
selectedGoods
=
t
},
expression
:
"selectedGoods"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"div"
,{
staticClass
:
"search-btn-block"
},[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
getUser
(
e
.
searchFrom2
)}}},[
e
.
_v
(
"确定"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
copyUrl
(
e
.
link2
)}}},[
e
.
_v
(
"复制链接"
)])],
1
)])],
1
)],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
r
=
{
name
:
"notBuyClass"
,
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
configList
:[],
entranceObj
:{
title
:
"无需登录入口"
,
show
:
!
1
},
searchFrom
:{
user_id
:
""
,
goods_id
:
""
,
mobile
:
""
},
goodList
:[]}},
components
:{
entrance
:
n
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
e
){
n
(
"qN7I"
)},
"data-v-7d1872ea"
,
null
).
exports
,
page
:
n
(
"kmJW"
).
a
},
filters
:{
filterGoods
:
function
(
e
){
return
"["
+
s
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
}},
mounted
:
function
(){
this
.
getList
(),
this
.
getGoodsOption
()},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getList
()},
getList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
this
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
goods_id
&&
(
t
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
nickname
&&
(
t
.
nickname
=
this
.
searchFrom
.
nickname
),
this
.
searchFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchFrom
.
mobile
),
Object
(
o
.
_39
)(
t
).
then
(
function
(
t
){
e
.
total
=
t
.
total
,
e
.
configList
=
t
.
list
})},
getGoodsOption
:
function
(){
var
e
=
this
;
Object
(
o
.
_53
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
goodList
=
t
.
list
})},
editComment
:
function
(
e
,
t
){
var
n
=
this
;
this
.
$prompt
(
""
,
"编辑备注"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
inputType
:
"textarea"
,
inputValue
:
t
||
""
}).
then
(
function
(
t
){
var
s
=
t
.
value
;
n
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
Object
(
o
.
_147
)({
desc
:
s
},
e
).
then
(
function
(
e
){
n
.
$message
({
type
:
"success"
,
message
:
"编辑备注成功"
}),
n
.
getList
()})})})},
exportTable
:
function
(){
var
e
=
{};
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
goods_id
&&
(
e
.
goods_id
=
this
.
searchFrom
.
goods_id
),
this
.
searchFrom
.
mobile
&&
(
e
.
mobile
=
this
.
searchFrom
.
mobile
),
this
.
searchFrom
.
nickname
&&
(
e
.
nickname
=
this
.
searchFrom
.
nickname
),
Object
(
o
.
_24
)(
"/api/admin/user/receive/course/log/export"
,
e
)}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"not_buy"
},[
n
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"80px"
,
inline
:
""
,
size
:
"small"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
n
(
"el-input"
,{
staticStyle
:{
width
:
"80px"
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
user_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_id"
,
t
)},
expression
:
"searchFrom.user_id"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"用户昵称"
}},[
n
(
"el-input"
,{
staticStyle
:{
width
:
"120px"
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
nickname
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"nickname"
,
t
)},
expression
:
"searchFrom.nickname"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
}},[
n
(
"el-input"
,{
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"mobile"
,
t
)},
expression
:
"searchFrom.mobile"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"商品名称"
}},[
n
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
on
:{
change
:
e
.
getList
},
model
:{
value
:
e
.
searchFrom
.
goods_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"goods_id"
,
t
)},
expression
:
"searchFrom.goods_id"
}},
e
.
_l
(
e
.
goodList
,
function
(
t
,
o
){
return
n
(
"el-option"
,{
key
:
o
,
attrs
:{
label
:
e
.
_f
(
"filterGoods"
)(
t
),
value
:
t
.
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
.
export
?
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
exportTable
}},[
e
.
_v
(
"导出"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-button"
,{
attrs
:{
plain
:
""
,
type
:
"success"
},
on
:{
click
:
function
(
t
){
e
.
entranceObj
.
show
=!
0
}}},[
e
.
_v
(
"无需登录入口"
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
configList
,
size
:
"small"
}},[
n
(
"el-table-column"
,{
attrs
:{
label
:
"用户ID"
,
sortable
:
""
,
prop
:
"scope.row.user_id"
,
className
:
"userInfo"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n\n
"
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"class_name"
,
label
:
"班级名称"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"期数标题"
,
prop
:
"periods_name"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"商品名称"
,
prop
:
"goods_name"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"mobile"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"创建时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
,
prop
:
"desc"
}}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"220"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"primary"
},
on
:{
click
:
function
(
n
){
e
.
editComment
(
t
.
row
.
id
,
t
.
row
.
desc
)}}},[
e
.
_v
(
"编辑备注"
)])]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
n
(
"entrance"
,{
attrs
:{
entranceObj
:
e
.
entranceObj
}})],
1
)},
staticRenderFns
:[]};
var
c
=
n
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
e
){
n
(
"jO+6"
),
n
(
"HAQw"
)},
"data-v-3eda6f2b"
,
null
);
t
.
default
=
c
.
exports
},
HAQw
:
function
(
e
,
t
){},
"jO+6"
:
function
(
e
,
t
){},
qN7I
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/23.248972529830343ba26f.js
0 → 100644
View file @
d0ac1371
webpackJsonp
([
23
],{
CUAv
:
function
(
t
,
e
,
o
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
,
a
=
o
(
"CCn6"
),
n
=
o
(
"kmJW"
),
s
=
o
(
"5eDb"
),
l
=
o
.
n
(
s
),
r
=
(
o
(
"o5MN"
),
o
(
"q47d"
));
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"
);
function
d
(
t
,
e
,
o
){
return
e
in
t
?
Object
.
defineProperty
(
t
,
e
,{
value
:
o
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
t
[
e
]
=
o
,
t
}
var
c
=
{
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
},
dialogVisibleMp3
:
!
1
}},
activated
:
function
(){
this
.
show
=!
0
},
deactivated
:
function
(){},
mounted
:
function
(){},
methods
:(
i
=
{
beforeAvatarUploadAudio
:
function
(
t
){
var
e
=
"audio/mp3"
===
t
.
type
;
return
e
||
this
.
$message
.
error
(
"上传音频只能选择MP3格式!"
),
e
},
uploadFileMp3
:
function
(
t
){
var
e
=
this
;
Object
(
a
.
_158
)({
file
:
t
.
file
,
type
:
"local"
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
}),
e
.
radio
=
[{
name
:
t
.
name
,
url
:
t
.
url
}]})},
removeFile
:
function
(){},
removeFileMp3
:
function
(){},
handleExceed
:
function
(){},
audioInter
:
function
(){
if
(
this
.
radio
.
length
<
1
)
return
this
.
$message
({
type
:
"error"
,
message
:
"请选择音频"
}),
!
1
;
var
t
=
'<p style="text-align: center"><img class="mce-object mce-object-audio" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" width="280" height="55" data-mce-p-controls="controls" data-mce-html="%0A%3Csource%20src%3D%22https%3A//cdn.singsingenglish.com/'
+
this
.
radio
[
0
].
url
+
'%22%20type%3D%22audio/mpeg%22%20/%3E" data-mce-object="audio"></p>'
;
l
.
a
.
activeEditor
.
insertContent
(
t
),
this
.
dialogVisibleMp3
=!
1
},
showDialogMP3
:
function
(){
this
.
dialogVisibleMp3
=!
0
,
this
.
radio
=
[]},
beforeAvatarUploadImg
:
function
(
t
){
var
e
=
"image/jpeg"
===
t
.
type
||
"image/png"
===
t
.
type
;
return
e
||
this
.
$message
.
error
(
"上传头像图片只能是 JPG 或 PNG 格式!"
),
e
},
imgInter
:
function
(){
if
(
this
.
form
.
imgList
.
length
<
1
)
return
this
.
$message
({
type
:
"error"
,
message
:
"请选择图片"
}),
!
1
;
var
t
=
""
;
this
.
form
.
big
?
t
+=
"width:100%;"
:
t
+=
"width:70%"
,
this
.
form
.
center
&&
(
t
=
"display:block;margin:auto"
);
var
e
=
'<img src="'
+
this
.
form
.
imgList
[
0
].
url
+
'" style="'
+
t
+
'"/>'
;
l
.
a
.
activeEditor
.
insertContent
(
e
),
this
.
dialogVisible
=!
1
},
uploadFile
:
function
(
t
){
var
e
=
this
;
Object
(
a
.
_158
)({
file
:
t
.
file
,
type
:
"local"
}).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
}),
e
.
form
.
imgList
=
[{
name
:
t
.
name
,
url
:
"https://cdn.singsingenglish.com/"
+
t
.
url
}]})},
showDialog
:
function
(){
this
.
dialogVisible
=!
0
,
this
.
form
=
{
imgList
:[],
big
:
!
1
,
weight
:
""
,
center
:
!
0
}},
insertContent
:
function
(
t
){
if
(
t
){
var
e
=
null
;
if
(
document
.
selection
)(
e
=
document
.
selection
).
createRange
().
pasteHTML
(
t
);
else
if
((
e
=
document
.
getElementById
(
"tinymce_ifr"
).
contentWindow
.
getSelection
()).
rangeCount
>
0
){
var
o
=
e
.
getRangeAt
(
0
);
o
.
deleteContents
();
var
i
=
document
.
createElement
(
"div"
);
i
.
innerHTML
=
t
;
var
a
=
document
.
createDocumentFragment
(),
n
=
i
.
firstChild
,
s
=
a
.
appendChild
(
n
);
o
.
insertNode
(
a
);
var
l
=
o
.
cloneRange
();
l
.
setStartAfter
(
s
),
l
.
collapse
(
!
0
),
e
.
removeAllRanges
(),
e
.
addRange
(
l
)}}}},
d
(
i
,
"removeFile"
,
function
(){}),
d
(
i
,
"handleExceed"
,
function
(){}),
i
),
created
:
function
(){
l
.
a
.
init
({})},
components
:{
Editor
:
r
.
a
}},
u
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
o
=
t
.
_self
.
_c
||
e
;
return
o
(
"div"
,{
staticClass
:
"tinymce"
},[
o
(
"editor"
,{
attrs
:{
id
:
"tinymce"
,
init
:
t
.
init
},
model
:{
value
:
t
.
lookData
.
content
,
callback
:
function
(
e
){
t
.
$set
(
t
.
lookData
,
"content"
,
e
)},
expression
:
"lookData.content"
}}),
t
.
_v
(
" "
),
o
(
"div"
,[
o
(
"div"
,{
staticClass
:
"imgInter"
,
on
:{
click
:
function
(
e
){
t
.
showDialog
()}}},[
t
.
_v
(
"插入图片"
)]),
t
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"MP3Inter"
,
on
:{
click
:
function
(
e
){
t
.
showDialogMP3
()}}},[
t
.
_v
(
"插入音频"
)])]),
t
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
"插入图片"
,
visible
:
t
.
dialogVisible
,
"modal-append-to-body"
:
!
1
,
"close-on-click-modal"
:
!
1
,
center
:
""
,
"append-to-body"
:
!
0
,
width
:
"550px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisible
=
e
}}},[
o
(
"el-form"
,{
attrs
:{
"label-width"
:
"80px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"图片"
}},[
o
(
"el-upload"
,{
attrs
:{
action
:
"/api/public/upload"
,
"http-request"
:
t
.
uploadFile
,
"on-remove"
:
t
.
removeFile
,
"before-upload"
:
t
.
beforeAvatarUploadImg
,
drag
:
""
,
"on-exceed"
:
t
.
handleExceed
,
multiple
:
""
,
limit
:
1
,
"file-list"
:
t
.
form
.
imgList
}},[
o
(
"i"
,{
staticClass
:
"el-icon-upload"
}),
t
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"el-upload__text"
},[
t
.
_v
(
"将文件拖到此处,或"
),
o
(
"em"
,[
t
.
_v
(
"点击上传"
)])]),
t
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"只能上传png或jpg文件"
)])])],
1
),
t
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"铺满"
}},[
o
(
"el-switch"
,{
model
:{
value
:
t
.
form
.
big
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"big"
,
e
)},
expression
:
"form.big"
}})],
1
),
t
.
_v
(
" "
),
o
(
"el-form-item"
,{
attrs
:{
label
:
"居中"
}},[
o
(
"el-switch"
,{
model
:{
value
:
t
.
form
.
center
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"center"
,
e
)},
expression
:
"form.center"
}})],
1
)],
1
),
t
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
dialogVisible
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
imgInter
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
),
t
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
"插入音频"
,
visible
:
t
.
dialogVisibleMp3
,
"modal-append-to-body"
:
!
1
,
"close-on-click-modal"
:
!
1
,
center
:
""
,
"append-to-body"
:
!
0
,
width
:
"550px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
dialogVisibleMp3
=
e
}}},[
o
(
"el-form"
,{
attrs
:{
"label-width"
:
"80px"
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"音频"
}},[
o
(
"el-upload"
,{
attrs
:{
action
:
"/api/public/upload"
,
"http-request"
:
t
.
uploadFileMp3
,
"before-upload"
:
t
.
beforeAvatarUploadAudio
,
"on-remove"
:
t
.
removeFileMp3
,
drag
:
""
,
"on-exceed"
:
t
.
handleExceed
,
multiple
:
""
,
limit
:
1
,
"file-list"
:
t
.
radio
}},[
o
(
"i"
,{
staticClass
:
"el-icon-upload"
}),
t
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"el-upload__text"
},[
t
.
_v
(
"将文件拖到此处,或"
),
o
(
"em"
,[
t
.
_v
(
"点击上传"
)])]),
t
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"el-upload__tip"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
t
.
_v
(
"只能上传MP3文件,且不超过10MB"
)])])],
1
)],
1
),
t
.
_v
(
" "
),
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
dialogVisibleMp3
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
audioInter
}},[
t
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
p
=
{
name
:
"index"
,
data
:
function
(){
return
{
total
:
0
,
nowPage
:
1
,
limit
:
10
,
contentTotal
:
0
,
contentNowPage
:
1
,
contentLimit
:
10
,
activeName
:
"keywords_reply"
,
modularList
:[],
modularContent
:[],
selectModular
:[],
questionListParams
:{
type
:
"1"
,
pid
:
""
},
postModularParams
:{
type
:
"1"
,
title
:
""
,
pid
:
""
,
keywords
:
""
,
content
:
""
},
postModularDialog
:
!
1
,
modularTitle
:
"新建模块"
,
postModularContentDialog
:
!
1
,
modularContentTitle
:
"新建话术内容"
,
typeArr
:[{
value
:
"1"
,
label
:
"话术类型"
},{
value
:
"2"
,
label
:
"流程类型"
}],
modularId
:
""
,
contentType
:
""
}},
components
:{
editorDetail
:
o
(
"VU/8"
)(
c
,
u
,
!
1
,
function
(
t
){
o
(
"Q1xo"
)},
"data-v-36033905"
,
null
).
exports
,
page
:
n
.
a
},
mounted
:
function
(){
this
.
getList
()},
filters
:{
type
:
function
(
t
){
return
"text"
===
t
?
"文本"
:
"voice"
===
t
?
"语音"
:
"video"
===
t
?
"视频"
:
"image"
===
t
?
"图片"
:
"news"
===
t
?
"图文"
:
"link"
===
t
?
"链接"
:
"news-item"
===
t
?
"图文链接"
:
t
}},
methods
:{
upcontent
:
function
(
t
,
e
){
var
o
=
this
;
if
(
console
.
log
(
t
,
e
),
0
!=
e
){
var
i
=
{
question_up_id
:
this
.
modularContent
[
e
].
id
,
question_down_id
:
this
.
modularContent
[
e
-
1
].
id
};
Object
(
a
.
_133
)(
i
).
then
(
function
(
t
){
o
.
handleChange
(
o
.
modularId
)})}},
downcontent
:
function
(
t
,
e
){
var
o
=
this
;
if
(
e
<=
this
.
modularContent
.
length
-
1
){
var
i
=
{
question_up_id
:
this
.
modularContent
[
e
+
1
].
id
,
question_down_id
:
this
.
modularContent
[
e
].
id
};
Object
(
a
.
_133
)(
i
).
then
(
function
(
t
){
o
.
handleChange
(
o
.
modularId
)})}},
upIndex
:
function
(
t
,
e
){
var
o
=
this
;
if
(
0
!=
e
){
var
i
=
{
question_up_id
:
this
.
modularList
[
e
].
id
,
question_down_id
:
this
.
modularList
[
e
-
1
].
id
};
Object
(
a
.
_133
)(
i
).
then
(
function
(
t
){
o
.
getList
()})}},
downIndex
:
function
(
t
,
e
){
var
o
=
this
;
if
(
e
<=
this
.
modularList
.
length
-
1
){
var
i
=
{
question_up_id
:
this
.
modularList
[
e
+
1
].
id
,
question_down_id
:
this
.
modularList
[
e
].
id
};
Object
(
a
.
_133
)(
i
).
then
(
function
(
t
){
o
.
getList
()})}},
delIndex
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
$confirm
(
"此操作将删除该记录?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
console
.
log
(
t
),
Object
(
a
.
Z
)(
t
.
id
).
then
(
function
(
t
){
e
.
getList
(),
e
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
})})})},
handleChange
:
function
(){
var
t
=
this
;
this
.
modularContent
=
[];
var
e
=
{
type
:
this
.
questionListParams
.
type
,
page
:
this
.
contentNowPage
,
limit
:
this
.
contentLimit
};
this
.
modularId
&&
(
e
.
pid
=
this
.
modularId
),
this
.
postModularParams
.
pid
=
this
.
modularId
,
Object
(
a
.
_76
)(
e
.
type
,
e
).
then
(
function
(
e
){
t
.
modularContent
=
e
.
list
,
console
.
log
(
e
),
t
.
contentTotal
=
e
.
total
})},
postModularContentInit
:
function
(){
this
.
contentType
=
"new"
,
this
.
postModularParams
.
title
=
""
,
this
.
postModularParams
.
keywords
=
""
,
this
.
postModularParams
.
content
=
""
,
this
.
postModularParams
.
type
=
this
.
questionListParams
.
type
,
this
.
postModularContentDialog
=!
0
},
postModularContentFn
:
function
(){
var
t
=
this
;
console
.
log
(
this
.
postModularParams
);
var
e
=
{};
if
(
"new"
==
this
.
contentType
){
if
(
this
.
modularContentTitle
=
"新建话术内容"
,
!
this
.
postModularParams
.
type
)
return
void
this
.
$message
({
message
:
"请选择类型!"
});
if
(
!
this
.
postModularParams
.
title
)
return
void
this
.
$message
({
message
:
"请输入标题!"
});
if
(
!
this
.
postModularParams
.
pid
)
return
void
this
.
$message
({
message
:
"请选择模块!"
});
if
(
!
this
.
postModularParams
.
keywords
)
return
void
this
.
$message
({
message
:
"请输入关键词!"
});
if
(
!
this
.
postModularParams
.
content
)
return
void
this
.
$message
({
message
:
"请填写内容!"
});
e
=
Object
.
assign
({},
this
.
postModularParams
),
Object
(
a
.
_121
)(
e
).
then
(
function
(
e
){
console
.
log
(
e
),
t
.
getList
(),
t
.
$message
({
type
:
"success"
,
message
:
"提交成功!"
});
var
o
=
{
type
:
t
.
questionListParams
.
type
,
pid
:
t
.
postModularParams
.
pid
};
Object
(
a
.
_76
)(
o
.
type
,
o
).
then
(
function
(
e
){
t
.
modularContent
=
e
.
list
,
console
.
log
(
e
)}),
t
.
postModularContentDialog
=!
1
})}
else
this
.
modularContentTitle
=
"编辑话术内容"
,
e
=
Object
.
assign
({},
this
.
postModularParams
),
console
.
log
(
e
),
Object
(
a
.
_154
)(
e
.
id
,
e
).
then
(
function
(
e
){
console
.
log
(
e
),
t
.
$message
({
type
:
"success"
,
message
:
"更新成功!"
}),
t
.
postModularContentDialog
=!
1
})},
editContent
:
function
(
t
){
var
e
=
this
;
this
.
contentType
=
"edit"
;
Object
(
a
.
_75
)(
t
.
id
).
then
(
function
(
t
){
e
.
postModularParams
=
Object
.
assign
({},
t
),
console
.
log
(
e
.
postModularParams
),
e
.
postModularContentDialog
=!
0
})},
editContentFn
:
function
(){},
editModular
:
function
(
t
){
this
.
postModularDialog
=!
0
,
this
.
modularTitle
=
"编辑模块"
,
this
.
postModularParams
=
Object
.
assign
({},
t
)},
postModularInit
:
function
(){
this
.
postModularDialog
=!
0
,
this
.
modularTitle
=
"新建模块"
,
this
.
postModularParams
.
title
=
""
},
postModularFn
:
function
(){
var
t
=
this
,
e
=
{};
if
(
"新建模块"
==
this
.
modularTitle
){
if
(
!
this
.
postModularParams
.
type
)
return
void
this
.
$message
({
message
:
"请选择类型!"
});
if
(
!
this
.
postModularParams
.
title
)
return
void
this
.
$message
({
message
:
"请填写标题!"
});
e
.
type
=
this
.
postModularParams
.
type
,
e
.
title
=
this
.
postModularParams
.
title
,
console
.
log
(
e
),
Object
(
a
.
_121
)(
e
).
then
(
function
(
e
){
console
.
log
(
e
),
t
.
getList
(),
t
.
$message
({
type
:
"success"
,
message
:
"提交成功!"
}),
t
.
postModularDialog
=!
1
})}
else
this
.
postModularParams
.
pid
=
""
,
e
.
type
=
this
.
postModularParams
.
type
,
e
.
title
=
this
.
postModularParams
.
title
,
e
.
id
=
this
.
postModularParams
.
id
,
console
.
log
(
e
),
Object
(
a
.
_154
)(
e
.
id
,
e
).
then
(
function
(
e
){
t
.
getList
(),
t
.
$message
({
type
:
"success"
,
message
:
"更新成功!"
}),
t
.
postModularDialog
=!
1
})},
onPageChange
:
function
(
t
){
this
.
nowPage
=
t
,
this
.
getList
()},
onSizeChange
:
function
(
t
){
this
.
nowPage
=
1
,
this
.
limit
=
t
,
this
.
getList
()},
onPageChangeC
:
function
(
t
){
this
.
contentNowPage
=
t
,
this
.
handleChange
()},
onSizeChangeC
:
function
(
t
){
this
.
contentNowPage
=
1
,
this
.
contentLimit
=
t
,
this
.
handleChange
()},
getList
:
function
(){
var
t
=
this
,
e
=
{
type
:
this
.
questionListParams
.
type
,
page
:
this
.
nowPage
,
limit
:
this
.
limit
};
this
.
questionListParams
.
pid
&&
(
e
.
pid
=
this
.
questionListParams
.
pid
),
Object
(
a
.
_76
)(
e
.
type
,
e
).
then
(
function
(
e
){
t
.
modularList
=
e
.
list
,
console
.
log
(
t
.
modularList
),
t
.
total
=
e
.
total
})},
delContent
:
function
(
t
){
var
e
=
this
;
console
.
log
(
t
),
this
.
$confirm
(
"此操作将删除该记录?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
console
.
log
(
t
),
Object
(
a
.
Z
)(
t
.
id
).
then
(
function
(
t
){
var
o
=
{
type
:
e
.
questionListParams
.
type
};
o
.
pid
=
e
.
postModularParams
.
pid
,
Object
(
a
.
_76
)(
o
.
type
,
o
).
then
(
function
(
t
){
e
.
modularContent
=
t
.
list
,
console
.
log
(
t
)}),
e
.
$message
({
type
:
"success"
,
message
:
"删除成功!"
})})})},
handleClick
:
function
(
t
){
this
.
questionListParams
.
type
=
t
.
name
,
this
.
postModularParams
.
type
=
t
.
name
,
this
.
getList
()},
typeChange
:
function
(){
var
t
=
this
,
e
=
{
type
:
this
.
postModularParams
.
type
};
Object
(
a
.
_76
)(
e
.
type
,
e
).
then
(
function
(
e
){
t
.
selectModular
=
e
.
list
})}}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
o
=
t
.
_self
.
_c
||
e
;
return
o
(
"div"
,{
staticClass
:
"cssbox"
},[
o
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
t
.
handleClick
},
model
:{
value
:
t
.
questionListParams
.
type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
questionListParams
,
"type"
,
e
)},
expression
:
"questionListParams.type"
}},[
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"话术"
,
name
:
"1"
}}),
t
.
_v
(
" "
),
o
(
"el-tab-pane"
,{
attrs
:{
label
:
"流程"
,
name
:
"2"
}})],
1
),
t
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"btnBox"
},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
t
.
postModularInit
}},[
t
.
_v
(
"新建模块"
)])],
1
),
t
.
_v
(
" "
),
o
(
"el-collapse"
,{
attrs
:{
accordion
:
""
},
on
:{
change
:
t
.
handleChange
},
model
:{
value
:
t
.
modularId
,
callback
:
function
(
e
){
t
.
modularId
=
e
},
expression
:
"modularId"
}},
t
.
_l
(
t
.
modularList
,
function
(
e
,
i
){
return
o
(
"el-collapse-item"
,{
key
:
i
,
attrs
:{
name
:
e
.
id
}},[
o
(
"template"
,{
slot
:
"title"
},[
t
.
_v
(
"
\n
"
+
t
.
_s
(
e
.
title
)
+
"
\n
"
),
o
(
"div"
,{
staticClass
:
"btn-block list2-btn"
},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
staticStyle
:{
"margin-left"
:
"20px"
},
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"warning"
},
on
:{
click
:
function
(
o
){
t
.
editModular
(
e
)}}},[
t
.
_v
(
"编辑"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
o
){
t
.
delIndex
(
e
)}}},[
t
.
_v
(
"删除"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
t
.
upIndex
(
e
,
i
)}}},[
t
.
_v
(
"上移"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
t
.
downIndex
(
e
,
i
)}}},[
t
.
_v
(
"下移"
)])],
1
)]),
t
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"btnBox"
},[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
t
.
postModularContentInit
}},[
t
.
_v
(
"新建模块内容"
)])],
1
),
t
.
_v
(
" "
),
o
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
modularContent
}},[
o
(
"el-table-column"
,{
attrs
:{
prop
:
"title"
,
label
:
"标题"
}}),
t
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
prop
:
"keywords"
,
label
:
"关键字"
}}),
t
.
_v
(
" "
),
o
(
"el-table-column"
,{
attrs
:{
label
:
"创建时间"
,
prop
:
"created_at"
}}),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-table-column"
,{
attrs
:{
width
:
"330"
,
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"warning"
},
on
:{
click
:
function
(
o
){
t
.
editContent
(
e
.
row
)}}},[
t
.
_v
(
"编辑查看"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
,
type
:
"danger"
},
on
:{
click
:
function
(
o
){
t
.
delContent
(
e
.
row
)}}},[
t
.
_v
(
"删除"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
t
.
upcontent
(
e
.
row
,
e
.
$index
)}}},[
t
.
_v
(
"上移"
)]),
t
.
_v
(
" "
),
t
.
$store
.
state
.
readonly
?
t
.
_e
():
o
(
"el-button"
,{
attrs
:{
size
:
"mini"
,
plain
:
""
},
on
:{
click
:
function
(
o
){
t
.
downcontent
(
e
.
row
,
e
.
$index
)}}},[
t
.
_v
(
"下移"
)])]}}])})],
1
),
t
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
total
:
t
.
contentTotal
,
limit
:
t
.
contentLimit
},
on
:{
pageChange
:
t
.
onPageChangeC
,
sizeChange
:
t
.
onSizeChangeC
}})],
2
)})),
t
.
_v
(
" "
),
o
(
"page"
,{
attrs
:{
total
:
t
.
total
,
limit
:
t
.
limit
},
on
:{
pageChange
:
t
.
onPageChange
,
sizeChange
:
t
.
onSizeChange
}}),
t
.
_v
(
" "
),
o
(
"el-dialog"
,{
attrs
:{
title
:
t
.
modularTitle
,
center
:
""
,
visible
:
t
.
postModularDialog
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
postModularDialog
=
e
}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
postModularParams
}},[
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
8
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"标题"
,
"label-width"
:
"80px"
,
required
:
""
}},[
o
(
"el-input"
,{
model
:{
value
:
t
.
postModularParams
.
title
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postModularParams
,
"title"
,
e
)},
expression
:
"postModularParams.title"
}})],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
1
!==
t
.
type
?
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
postModularDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
postModularFn
}},[
t
.
_v
(
"确 定"
)])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
o
(
"el-dialog"
,{
ref
:
"ruleForm"
,
attrs
:{
title
:
t
.
modularContentTitle
,
center
:
""
,
visible
:
t
.
postModularContentDialog
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
postModularContentDialog
=
e
}}},[
o
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
postModularParams
}},[
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
8
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"标题"
,
"label-width"
:
"80px"
,
required
:
""
}},[
o
(
"el-input"
,{
model
:{
value
:
t
.
postModularParams
.
title
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postModularParams
,
"title"
,
e
)},
expression
:
"postModularParams.title"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
8
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"关键词"
,
"label-width"
:
"80px"
,
required
:
""
}},[
o
(
"el-input"
,{
model
:{
value
:
t
.
postModularParams
.
keywords
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postModularParams
,
"keywords"
,
e
)},
expression
:
"postModularParams.keywords"
}})],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
o
(
"el-row"
,[
o
(
"el-col"
,{
attrs
:{
span
:
24
}},[
o
(
"el-form-item"
,{
attrs
:{
label
:
"商品详情"
,
"label-width"
:
"80px"
,
required
:
""
}},[
o
(
"editor-detail"
,{
attrs
:{
lookData
:
t
.
postModularParams
}})],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
1
!==
t
.
type
?
o
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
o
(
"el-button"
,{
on
:{
click
:
function
(
e
){
t
.
postModularContentDialog
=!
1
}}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
o
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
postModularContentFn
(
"ruleForm"
)}}},[
t
.
_v
(
"确 定"
)])],
1
):
t
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
g
=
o
(
"VU/8"
)(
p
,
m
,
!
1
,
function
(
t
){
o
(
"Cpxi"
),
o
(
"G99E"
)},
"data-v-e2fedbb6"
,
null
);
e
.
default
=
g
.
exports
},
Cpxi
:
function
(
t
,
e
){},
G99E
:
function
(
t
,
e
){},
Q1xo
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/24.ccf83fbbfee9f7eb8cc9.js
0 → 100644
View file @
d0ac1371
webpackJsonp
([
24
],{
"0gIA"
:
function
(
e
,
t
){},
Fmgy
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"CCn6"
),
o
=
{
props
:[
"dialogObj"
],
data
:
function
(){
return
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
classList
:[]}},
components
:{
page
:
a
(
"kmJW"
).
a
},
methods
:{
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
classListOption
()},
onSizeChange
:
function
(
e
){
this
.
limit
=
e
,
this
.
nowPage
=
1
,
this
.
classListOption
()},
classListOption
:
function
(){
var
e
=
this
;
void
0
==
this
.
dialogObj
.
timeValue
[
0
]
&&
(
this
.
dialogObj
.
timeValue
[
0
]
=
""
),
void
0
==
this
.
dialogObj
.
timeValue
[
1
]
&&
(
this
.
dialogObj
.
timeValue
[
1
]
=
""
);
var
t
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
,
start_at
:
this
.
dialogObj
.
timeValue
[
0
],
end_at
:
this
.
dialogObj
.
timeValue
[
1
]};
Object
(
r
.
_90
)(
t
,
this
.
dialogObj
.
teacher_id
).
then
(
function
(
t
){
e
.
classList
=
t
.
list
,
e
.
total
=
t
.
total
})}},
watch
:{
"dialogObj.show"
:
function
(
e
){
e
&&
this
.
classListOption
()}}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
dialogObj
.
title
,
visible
:
e
.
dialogObj
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
classList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"购买人"
,
className
:
"f-c"
,
width
:
"150"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
nickname
)),
a
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"out_trade_no"
,
label
:
"交易订单号"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"goods_name"
,
label
:
"商品名字"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"money"
,
label
:
"金额(元)"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"pay_at"
,
label
:
"支付时间"
}})],
1
),
e
.
_v
(
" "
),
a
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}})],
1
)},
staticRenderFns
:[]};
var
s
=
{
name
:
"index"
,
data
:
function
(){
var
e
=
this
;
return
{
activeName
:
"first"
,
firstList
:[],
secondList
:[],
searchFirstFrom
:{
dateValue
:[],
squad
:
"11"
},
today
:{
text
:
"今天"
,
onClick
:
function
(){
e
.
searchFirstFrom
.
dateValue
=
[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)],
e
.
searchSecondFrom
.
dateValue
=
[
e
.
formatTime
(
new
Date
),
e
.
formatTime
(
new
Date
)]}},
yesterday
:{
text
:
"昨天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
864
e5
));
e
.
searchFirstFrom
.
dateValue
=
[
t
,
t
],
e
.
searchSecondFrom
.
dateValue
=
[
t
,
t
]}},
last7Day
:{
text
:
"过去7天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
6048
e5
));
e
.
searchFirstFrom
.
dateValue
=
[
t
,
e
.
formatTime
(
new
Date
)],
e
.
searchSecondFrom
.
dateValue
=
[
t
,
e
.
formatTime
(
new
Date
)]}},
last30Day
:{
text
:
"过去30天"
,
onClick
:
function
(){
var
t
=
e
.
formatTime
(
new
Date
((
new
Date
).
getTime
()
-
2592
e6
));
e
.
searchFirstFrom
.
dateValue
=
[
t
,
e
.
formatTime
(
new
Date
)],
e
.
searchSecondFrom
.
dateValue
=
[
t
,
e
.
formatTime
(
new
Date
)]}},
searchSecondFrom
:{
dateValue
:[],
squad
:
"11"
},
dialogObj
:{
show
:
!
1
,
title
:
"售卖课程"
,
teacher_id
:
""
,
timeValue
:[]}}},
components
:{
classDialog
:
a
(
"VU/8"
)(
o
,
l
,
!
1
,
function
(
e
){
a
(
"jAlk"
),
a
(
"0gIA"
)},
"data-v-43828d16"
,
null
).
exports
},
mounted
:
function
(){
this
.
defaultTime
(),
this
.
searchFirstPage
()},
methods
:{
sortMoney
:
function
(
e
,
t
){
return
Number
(
e
.
total_money
)
-
Number
(
t
.
total_money
)},
handleClick
:
function
(
e
){
"first"
===
e
.
name
?
this
.
searchFirstPage
():
this
.
searchSecondPage
()},
searchFirstPage
:
function
(){
var
e
=
this
,
t
=
{};
this
.
searchFirstFrom
.
dateValue
&&
(
t
=
{
start_at
:
this
.
searchFirstFrom
.
dateValue
[
0
],
end_at
:
this
.
searchFirstFrom
.
dateValue
[
1
]},
11
!=
this
.
searchFirstFrom
.
squad
&&
(
t
.
squad
=
this
.
searchFirstFrom
.
squad
)),
Object
(
r
.
_94
)(
t
).
then
(
function
(
t
){
e
.
firstList
=
t
})},
searchSecondPage
:
function
(){
var
e
=
this
,
t
=
{};
this
.
searchSecondFrom
.
dateValue
&&
(
t
=
{
start_at
:
this
.
searchSecondFrom
.
dateValue
[
0
],
end_at
:
this
.
searchSecondFrom
.
dateValue
[
1
]},
11
!=
this
.
searchSecondFrom
.
squad
&&
(
t
.
squad
=
this
.
searchSecondFrom
.
squad
)),
Object
(
r
.
_91
)(
t
).
then
(
function
(
t
){
e
.
secondList
=
t
})},
formatTime
:
function
(
e
){
var
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
return
r
<
10
&&
(
r
=
"0"
+
r
),
t
+
"-"
+
a
+
"-"
+
r
},
defaultTime
:
function
(){
var
e
=
new
Date
,
t
=
e
.
getFullYear
(),
a
=
e
.
getMonth
()
+
1
;
a
<
10
&&
(
a
=
"0"
+
a
);
var
r
=
e
.
getDate
();
r
<
10
&&
(
r
=
"0"
+
r
);
var
o
=
t
+
"-"
+
a
+
"-01"
,
l
=
t
+
"-"
+
a
+
"-"
+
r
;
this
.
searchFirstFrom
.
dateValue
=
[
o
,
l
],
this
.
searchSecondFrom
.
dateValue
=
[
o
,
l
]},
nameClick
:
function
(
e
,
t
){
this
.
dialogObj
.
teacher_id
=
e
.
tid
,
this
.
dialogObj
.
timeValue
=
void
0
!=
t
?
t
:[
e
.
cur_date
,
e
.
cur_date
],
this
.
dialogObj
.
show
=!
0
}}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,[
a
(
"h2"
,{
staticClass
:
"title"
},[
e
.
_v
(
"班主任业绩排行"
)]),
e
.
_v
(
" "
),
a
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"业绩总排行"
,
name
:
"first"
}},[
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
searchFirstPage
},
model
:{
value
:
e
.
searchFirstFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFirstFrom
,
"squad"
,
t
)},
expression
:
"searchFirstFrom.squad"
}},[
a
(
"el-tab-pane"
,{
key
:
""
,
attrs
:{
label
:
"总排行"
,
name
:
"11"
}}),
e
.
_v
(
" "
),
e
.
_l
(
10
,
function
(
e
){
return
a
(
"el-tab-pane"
,{
key
:
e
,
attrs
:{
label
:
"T"
+
e
,
name
:
e
.
toString
()}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"searchFirstFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchFirstFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
type
:
"daterange"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"value-format"
:
"yyyy-MM-dd"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchFirstPage
},
model
:{
value
:
e
.
searchFirstFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFirstFrom
,
"dateValue"
,
t
)},
expression
:
"searchFirstFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchFirstPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
firstList
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"班主任姓名"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
nameClick
(
t
.
row
,
e
.
searchFirstFrom
.
dateValue
)}}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
teacher_name
)
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_money"
,
label
:
"销售额"
,
"sort-method"
:
e
.
sortMoney
,
sortable
:
!
0
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"three_month"
,
label
:
"季课"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"one_year"
,
label
:
"年课"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"two_year"
,
label
:
"2年课"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"one_to_two"
,
label
:
"续课"
,
sortable
:
""
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"业绩按天排行"
,
name
:
"second"
}},[
a
(
"el-tabs"
,{
staticStyle
:{
background
:
"white"
,
"padding-top"
:
"10px"
},
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
searchSecondPage
},
model
:{
value
:
e
.
searchSecondFrom
.
squad
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchSecondFrom
,
"squad"
,
t
)},
expression
:
"searchSecondFrom.squad"
}},[
a
(
"el-tab-pane"
,{
key
:
""
,
attrs
:{
label
:
"总排行"
,
name
:
"11"
}}),
e
.
_v
(
" "
),
e
.
_l
(
10
,
function
(
e
){
return
a
(
"el-tab-pane"
,{
key
:
e
,
attrs
:{
label
:
"T"
+
e
,
name
:
e
.
toString
()}})})],
2
),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"searchSecondFrom"
,
attrs
:{
inline
:
""
,
model
:
e
.
searchSecondFrom
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"起止日期"
}},[
a
(
"el-date-picker"
,{
attrs
:{
"unlink-panels"
:
""
,
type
:
"daterange"
,
"value-format"
:
"yyyy-MM-dd"
,
"picker-options"
:{
shortcuts
:[
e
.
today
,
e
.
yesterday
,
e
.
last7Day
,
e
.
last30Day
]},
"range-separator"
:
"至"
,
shortcuts
:[],
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
searchSecondPage
},
model
:{
value
:
e
.
searchSecondFrom
.
dateValue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchSecondFrom
,
"dateValue"
,
t
)},
expression
:
"searchSecondFrom.dateValue"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
searchSecondPage
()}}},[
e
.
_v
(
"
\n
搜索
\n
"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
secondList
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cur_date"
,
label
:
"时间"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"班主任姓名"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
nameClick
(
t
.
row
)}}},[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
teacher_name
)
+
"
\n
"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"total_money"
,
label
:
"销售额"
,
"sort-method"
:
e
.
sortMoney
,
sortable
:
!
0
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"three_month"
,
label
:
"季课"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"one_year"
,
label
:
"年课"
,
sortable
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"two_year"
,
label
:
"2年课"
,
sortable
:
""
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"class-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
}})],
1
)},
staticRenderFns
:[]};
var
i
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
a
(
"ROW/"
)},
"data-v-288fe03d"
,
null
);
t
.
default
=
i
.
exports
},
"ROW/"
:
function
(
e
,
t
){},
jAlk
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/25.98e14ecc9b26f31aaa54.js
0 → 100644
View file @
d0ac1371
webpackJsonp
([
25
],{
MIWA
:
function
(
e
,
t
){},
OLpm
:
function
(
e
,
t
){},
"eYh/"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
i
(
"kmJW"
),
s
=
i
(
"NC6I"
),
a
=
i
.
n
(
s
),
n
=
i
(
"CCn6"
),
r
=
i
(
"P0f4"
),
l
=
i
(
"xGts"
),
d
=
{
name
:
"dialogObj"
,
props
:[
"dialogObj"
],
data
:
function
(){
return
{}},
watch
:{
"dialogObj.show"
:{
deep
:
!
0
,
handler
:
function
(){
console
.
log
(
this
.
dialogObj
)}}},
methods
:{
handlerAddressChange
:
function
(
e
){
if
(
e
.
province
&&
e
.
city
&&
e
.
district
){
this
.
dialogObj
.
detail
=
e
.
detail
,
this
.
dialogObj
.
province
=
e
.
province
,
this
.
dialogObj
.
city
=
e
.
city
,
this
.
dialogObj
.
receive_mobile
=
e
.
mobile
,
this
.
dialogObj
.
receive_name
=
e
.
name
;
var
t
=
l
.
a
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
province
}),
i
=
t
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
city
}),
o
=
i
[
0
].
children
.
filter
(
function
(
t
){
return
t
.
value
===
e
.
district
});
this
.
dialogObj
.
province_name
=
t
[
0
].
label
,
this
.
dialogObj
.
city_name
=
i
[
0
].
label
,
this
.
dialogObj
.
district_name
=
o
.
length
>
0
?
o
[
0
].
label
:
i
[
0
].
children
[
0
].
label
,
this
.
dialogObj
.
district
=
o
.
length
>
0
?
o
[
0
].
value
:
i
[
0
].
children
[
0
].
value
}},
saveAddress
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确定保存?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
t
=
{
province_id
:
e
.
dialogObj
.
province
,
province_name
:
e
.
dialogObj
.
province_name
,
city_id
:
e
.
dialogObj
.
city
,
city
:
e
.
dialogObj
.
city_name
,
area
:
e
.
dialogObj
.
district_name
,
area_id
:
e
.
dialogObj
.
district
,
address
:
e
.
dialogObj
.
detail
,
receive_name
:
e
.
dialogObj
.
receive_name
,
receive_mobile
:
e
.
dialogObj
.
receive_mobile
};
Object
(
n
.
_9
)(
e
.
dialogObj
.
id
,
t
).
then
(
function
(
t
){
e
.
$message
({
type
:
"success"
,
message
:
"修改成功"
}),
e
.
dialogObj
.
show
=!
1
,
e
.
$emit
(
"reflash"
)})})}},
components
:{
vueAddress
:
r
.
a
},
mounted
:
function
(){
console
.
log
(
this
.
dialogObj
)}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
title
:
"编辑收货地址"
,
center
:
""
,
"append-to-body"
:
""
,
visible
:
e
.
dialogObj
.
show
,
width
:
"800px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
dialogObj
,
"show"
,
t
)}}},[
i
(
"vue-address"
,{
attrs
:{
province
:
e
.
dialogObj
.
province
,
city
:
e
.
dialogObj
.
city
,
district
:
e
.
dialogObj
.
district
,
detail
:
e
.
dialogObj
.
detail
,
mobile
:
e
.
dialogObj
.
receive_mobile
,
name
:
e
.
dialogObj
.
receive_name
},
on
:{
change
:
e
.
handlerAddressChange
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogObj
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveAddress
}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
)},
staticRenderFns
:[]};
var
h
=
i
(
"VU/8"
)(
d
,
c
,
!
1
,
function
(
e
){
i
(
"kQXt"
)},
"data-v-9d2fec0c"
,
null
).
exports
,
u
=
i
(
"+TkF"
),
_
=
{
name
:
"index"
,
components
:{
page
:
o
.
a
,
addressDialog
:
h
},
data
:
function
(){
return
{
dialogObj
:{
show
:
!
1
},
adressDialog
:
!
1
,
searchFrom
:{
user_id
:
""
,
theme_id
:
""
,
periods_id
:
""
,
type
:
""
},
nowPage
:
1
,
total
:
0
,
limit
:
10
,
deliverList
:[],
selectedGoods
:[],
secGoods
:[],
periodsId
:
null
,
goods_id
:
null
,
goodsList
:[],
themeList
:[],
param_token
:
a
()(
JSON
.
stringify
({
sing
:
"singsingenglish21000"
})),
uploadHeader
:{
token
:
localStorage
.
getItem
(
"cc_token"
)},
logisticsType
:[{
value
:
"0"
,
name
:
"当前待发货 "
},{
value
:
"1"
,
name
:
"所有待发货 "
},{
value
:
"2"
,
name
:
"所有已发货 "
}]}},
filters
:{
LogisticsStatusFil
:
function
(
e
){
return
u
.
q
[
e
]}},
mounted
:
function
(){
this
.
init
()},
methods
:{
downLoad
:
function
(){
window
.
open
(
"/static/待发货模板.xls"
)},
handleClick
:
function
(
e
){
this
.
searchFrom
.
type
=
e
.
name
,
this
.
getList
()},
editAddress
:
function
(
e
){
console
.
log
(
e
),
this
.
dialogObj
.
detail
=
e
.
address
,
this
.
dialogObj
.
receive_mobile
=
e
.
receive_mobile
,
this
.
dialogObj
.
receive_name
=
e
.
receive_name
,
this
.
dialogObj
.
province_name
=
""
,
this
.
dialogObj
.
city_name
=
""
,
this
.
dialogObj
.
district_name
=
""
,
this
.
dialogObj
.
id
=
e
.
id
,
this
.
dialogObj
.
show
=!
0
},
onUpdateAddress
:
function
(){
this
.
dialogObj
.
show
=!
1
,
this
.
getList
()},
fileSuccess
:
function
(){
this
.
$message
({
message
:
"提交成功,请稍后刷新"
,
type
:
"success"
}),
this
.
getList
()},
init
:
function
(){
var
e
=
this
;
this
.
getList
();
Object
(
n
.
_96
)({
page
:
1
,
limit
:
100
}).
then
(
function
(
t
){
e
.
themeList
=
t
.
list
}),
Object
(
n
.
_53
)({
page
:
1
,
limit
:
100
,
goods_type
:
"1,2"
}).
then
(
function
(
t
){
console
.
log
(
t
),
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
"["
+
e
.
id
+
"]["
+
u
.
h
[
e
.
goods_type
]
+
"]["
+
e
.
current_price
/
100
+
"元]"
+
e
.
name
,
e
.
children
=
[]}),
e
.
goodsList
=
t
.
list
})},
exportTable
:
function
(){
var
e
=
{};
this
.
searchFrom
.
user_id
&&
(
e
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
theme_id
&&
(
e
.
theme_id
=
this
.
searchFrom
.
theme_id
),
this
.
searchFrom
.
periods_id
&&
(
e
.
periods_id
=
this
.
searchFrom
.
periods_id
),
Object
(
n
.
_24
)(
"/api/admin/order/deliver/list/export"
,
e
)},
initQuery
:
function
(){
var
e
=
this
,
t
=
this
.
$route
.
query
;
t
&&
t
.
goods_id
&&
t
.
periods_id
?(
this
.
goods_id
=
t
.
goods_id
,
this
.
selectedGoods
=
[
parseInt
(
t
.
goods_id
),
parseInt
(
t
.
periods_id
)],
Object
(
n
.
_68
)({
goods_id
:
this
.
selectedGoods
[
0
],
limit
:
100
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]}).
children
=
t
.
list
;
var
i
=
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]});
e
.
periods
=
i
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
1
]}),
console
.
log
(
e
.
periods
)})):
Object
(
n
.
_47
)().
then
(
function
(
t
){
console
.
log
(
t
),
t
&&
(
e
.
goods_id
=
t
.
goods_id
,
e
.
selectedGoods
=
[
parseInt
(
t
.
goods_id
),
parseInt
(
t
.
id
)],
Object
(
n
.
_68
)({
goods_id
:
e
.
selectedGoods
[
0
],
limit
:
100
}).
then
(
function
(
t
){
t
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]}).
children
=
t
.
list
;
var
i
=
e
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
0
]});
e
.
periods
=
i
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
.
selectedGoods
[
1
]}),
e
.
teacher_id
=
""
,
console
.
log
(
e
.
periods
)}))}),
console
.
log
(
this
.
goodsList
)},
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
.
searchFrom
.
user_id
&&
(
t
.
user_id
=
this
.
searchFrom
.
user_id
),
this
.
searchFrom
.
theme_id
&&
(
t
.
theme_id
=
this
.
searchFrom
.
theme_id
),
this
.
searchFrom
.
periods_id
&&
(
t
.
periods_id
=
this
.
searchFrom
.
periods_id
),
this
.
searchFrom
.
type
&&
(
t
.
type
=
this
.
searchFrom
.
type
),
Object
(
n
.
_48
)(
t
).
then
(
function
(
t
){
e
.
deliverList
=
t
.
list
,
e
.
total
=
t
.
total
,
console
.
log
(
e
.
deliverList
)})},
reset
:
function
(){
this
.
searchFrom
=
{
user_id
:
""
,
theme_id
:
""
,
periods_id
:
""
,
type
:
""
},
this
.
getList
()},
changePeriods
:
function
(
e
){
if
(
e
.
length
>
1
){
this
.
goods_id
=
e
[
0
];
var
t
=
this
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]});
this
.
periods
=
t
.
children
.
find
(
function
(
t
){
return
t
.
id
===
e
[
1
]}),
console
.
log
(
this
.
goodsList
),
console
.
log
(
this
.
periods
),
this
.
searchFrom
.
periods_id
=
this
.
periods
.
id
}},
handleItemChange
:
function
(
e
){
var
t
=
this
;
Object
(
n
.
_68
)({
goods_id
:
e
[
0
],
limit
:
100
}).
then
(
function
(
i
){
i
.
list
.
forEach
(
function
(
e
){
e
.
name
=
e
.
title
}),
t
.
goodsList
.
find
(
function
(
t
){
return
t
.
id
===
e
[
0
]}).
children
=
i
.
list
})}}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"sms"
},[
i
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"100px"
,
inline
:
""
,
size
:
"small"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
i
(
"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
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"期数"
}},[
i
(
"el-cascader"
,{
attrs
:{
options
:
e
.
goodsList
,
props
:{
value
:
"id"
,
label
:
"name"
}},
on
:{
"active-item-change"
:
e
.
handleItemChange
,
change
:
e
.
changePeriods
},
model
:{
value
:
e
.
selectedGoods
,
callback
:
function
(
t
){
e
.
selectedGoods
=
t
},
expression
:
"selectedGoods"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"主题"
}},[
i
(
"el-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
theme_id
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"theme_id"
,
t
)},
expression
:
"searchFrom.theme_id"
}},
e
.
_l
(
e
.
themeList
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
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
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
},
on
:{
click
:
e
.
reset
}},[
e
.
_v
(
"重置"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
downLoad
()}}},[
e
.
_v
(
"excel模板下载"
)]),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
exportTable
}},[
e
.
_v
(
"导出当前待发货"
)]):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
$store
.
state
.
export
?
i
(
"el-form-item"
,[
i
(
"el-upload"
,{
attrs
:{
"show-file-list"
:
!
1
,
onSuccess
:
e
.
fileSuccess
,
headers
:
e
.
uploadHeader
,
data
:{
param_token
:
e
.
param_token
},
action
:
"/api/admin/order/deliver/list/import"
}},[
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
plain
:
""
}},[
e
.
_v
(
"导入发货信息"
)])],
1
)],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
i
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
searchFrom
.
type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type"
,
t
)},
expression
:
"searchFrom.type"
}},[
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"当前待发货"
,
name
:
"0"
}}),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"所有待发货"
,
name
:
"1"
}}),
e
.
_v
(
" "
),
i
(
"el-tab-pane"
,{
attrs
:{
label
:
"所有已发货"
,
name
:
"2"
}})],
1
),
e
.
_v
(
" "
),
i
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
deliverList
,
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
.
user_avatar
}}),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
user_nickname
)),
i
(
"br"
),
e
.
_v
(
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")"
),
i
(
"br"
),
e
.
_v
(
"手机:"
+
e
.
_s
(
t
.
row
.
user_mobile
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"收货地址"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receive_name
)),
i
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
receive_mobile
)),
i
(
"br"
),
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
province_name
)
+
e
.
_s
(
t
.
row
.
city_name
)
+
e
.
_s
(
t
.
row
.
area_name
)
+
e
.
_s
(
t
.
row
.
address
)
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"periods_title"
,
label
:
"期数名称"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"theme_name"
,
label
:
"主题"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"deliver_start_at"
,
label
:
"预计发货开始时间"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"deliver_end_at"
,
label
:
"预计发货结束时间"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"deliver_at"
,
label
:
"发货时间"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
"status"
,
label
:
"物流状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"LogisticsStatusFil"
)(
t
.
row
.
status
))),
i
(
"br"
),
e
.
_v
(
" "
),
2
==
e
.
searchFrom
.
type
?
i
(
"span"
,[
e
.
_v
(
"快递信息:"
+
e
.
_s
(
e
.
express_name
)
+
e
.
_s
(
e
.
express_no
))]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
e
.
$store
.
state
.
readonly
?
e
.
_e
():
i
(
"el-table-column"
,{
attrs
:{
width
:
"150"
,
label
:
"操作"
,
fixed
:
"right"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-button"
,{
attrs
:{
plain
:
""
,
type
:
"info"
,
size
:
"mini"
},
on
:{
click
:
function
(
i
){
e
.
editAddress
(
t
.
row
)}}},[
e
.
_v
(
"
\n
编辑收货地址
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
i
(
"page"
,{
attrs
:{
nowPage
:
e
.
nowPage
,
total
:
e
.
total
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
i
(
"address-dialog"
,{
attrs
:{
dialogObj
:
e
.
dialogObj
},
on
:{
reflash
:
e
.
onUpdateAddress
}})],
1
)},
staticRenderFns
:[]};
var
p
=
i
(
"VU/8"
)(
_
,
m
,
!
1
,
function
(
e
){
i
(
"OLpm"
),
i
(
"MIWA"
)},
"data-v-243fbe6a"
,
null
);
t
.
default
=
p
.
exports
},
kQXt
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.97ac56f2b70658163d9d.js
0 → 100644
View file @
d0ac1371
webpackJsonp
([
59
],{
IcnI
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"NYxO"
),
o
=
n
(
"lRwf"
),
r
=
n
.
n
(
o
),
i
=
n
(
"zSLJ"
),
u
=
{
setToken
:
function
(
e
,
t
){
e
.
token
=
t
,
i
.
a
.
set
(
"cc_token"
,
t
)},
setUserName
:
function
(
e
,
t
){
e
.
userName
=
t
,
i
.
a
.
set
(
"cc_user_name"
,
t
)},
setPermission
:
function
(
e
,
t
){
e
.
progressList
=
t
,
localStorage
.
setItem
(
"permission"
,
JSON
.
stringify
(
t
))},
setMenu
:
function
(
e
,
t
){
e
.
menuList
=
t
},
readonly
:
function
(
e
,
t
){
e
.
readonly
=
t
},
deletePermission
:
function
(
e
,
t
){
e
.
deletePermission
=
t
},
distribution
:
function
(
e
,
t
){
e
.
distribution
=
t
},
classManage
:
function
(
e
,
t
){
e
.
classManage
=
t
},
classManageUnlimited
:
function
(
e
,
t
){
e
.
classManageUnlimited
=
t
},
classTakeUnlimited
:
function
(
e
,
t
){
e
.
classTakeUnlimited
=
t
},
promoter
:
function
(
e
,
t
){
e
.
promoter
=
t
},
mainCanShow
:
function
(
e
){
e
.
mainLoad
=!
1
},
mainUnShow
:
function
(
e
){
e
.
mainLoad
=!
0
},
changeParentRouter
:
function
(
e
,
t
){
e
.
menuList
.
find
(
function
(
e
){
return
e
.
name
===
t
.
name
}).
routerName
=
t
.
to
.
name
},
progress
:
function
(
e
,
t
){
switch
(
t
.
type
){
case
"new"
:
e
.
progressList
.
push
({
num
:
0
,
id
:
t
.
id
});
break
;
case
"change"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
}).
num
=
t
.
num
;
break
;
case
"delete"
:
e
.
progressList
.
find
(
function
(
e
){
return
e
.
id
===
t
.
id
})}}};
r
.
a
.
use
(
a
.
a
);
t
.
a
=
new
a
.
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
,
t
){(
0
,
e
.
commit
)(
"setToken"
,
t
)},
setUserName
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setUserName"
,
t
)},
setProgress
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"progress"
,
t
)},
setPermission
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setPermission"
,
t
)},
setMenu
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"setMenu"
,
t
)},
readonly
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"readonly"
,
t
)},
deletePermission
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"deletePermission"
,
t
)},
distribution
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"distribution"
,
t
)},
classManage
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classManage"
,
t
)},
classManageUnlimited
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classManageUnlimited"
,
t
)},
classTakeUnlimited
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"classTakeUnlimited"
,
t
)},
promoter
:
function
(
e
,
t
){(
0
,
e
.
commit
)(
"promoter"
,
t
)}}})},
NAsj
:
function
(
e
,
t
){},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
[{
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
([
n
.
e
(
0
),
n
.
e
(
1
)]).
then
(
function
(){
var
t
=
[
n
(
"z5EG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
9
)]).
then
(
function
(){
var
t
=
[
n
(
"AbSL"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"商品列表"
,
routerName
:
"shop"
,
path
:
"/shop"
,
cover
:
"4-1"
,
router
:{
path
:
"/shop"
,
name
:
"shop"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
13
)]).
then
(
function
(){
var
t
=
[
n
(
"1djJ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
26
)]).
then
(
function
(){
var
t
=
[
n
(
"ayGs"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"班级列表"
,
routerName
:
"class"
,
path
:
"/class"
,
cover
:
"2-3"
,
router
:{
path
:
"/class"
,
name
:
"class"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
15
)]).
then
(
function
(){
var
t
=
[
n
(
"OX9A"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"市场招生统计"
,
routerName
:
"marketStatistics"
,
path
:
"/marketStatistics"
,
cover
:
"2-5"
,
router
:{
path
:
"/marketStatistics"
,
name
:
"marketStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
55
)]).
then
(
function
(){
var
t
=
[
n
(
"SKyX"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"不上课日期"
,
routerName
:
"noLesson"
,
path
:
"/noLesson"
,
cover
:
"2-4"
,
router
:{
path
:
"/noLesson"
,
name
:
"noLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
34
)]).
then
(
function
(){
var
t
=
[
n
(
"sg/1"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"自化课列表"
,
routerName
:
"autoClass"
,
path
:
"/autoClass"
,
cover
:
"2-6"
,
router
:{
path
:
"/autoClass"
,
name
:
"autoClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
29
)]).
then
(
function
(){
var
t
=
[
n
(
"f9Sx"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
2
)]).
then
(
function
(){
var
t
=
[
n
(
"Y0Vi"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"月课订单列表"
,
routerName
:
"monthOrder"
,
path
:
"/monthOrder"
,
cover
:
"5-10"
,
router
:{
path
:
"/monthOrder"
,
name
:
"monthOrder"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
5
)]).
then
(
function
(){
var
t
=
[
n
(
"xdzM"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"月课订单统计"
,
routerName
:
"monthOrderCount"
,
path
:
"/monthOrderCount"
,
cover
:
"5-12"
,
router
:{
path
:
"/monthOrderCount"
,
name
:
"monthOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
46
)]).
then
(
function
(){
var
t
=
[
n
(
"v/LD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"退款列表"
,
routerName
:
"refund"
,
path
:
"/refund"
,
cover
:
"5-2"
,
router
:{
path
:
"/refund"
,
name
:
"refund"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
40
)]).
then
(
function
(){
var
t
=
[
n
(
"89rD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"业绩排行"
,
routerName
:
"achievement"
,
path
:
"/achievement"
,
cover
:
"5-7"
,
router
:{
path
:
"/achievement"
,
name
:
"achievement"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
24
)]).
then
(
function
(){
var
t
=
[
n
(
"Fmgy"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"话术列表"
,
routerName
:
"talkingSkill"
,
path
:
"/talkingSkill"
,
cover
:
"11-6"
,
router
:{
path
:
"/talkingSkill"
,
name
:
"talkingSkill"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
23
)]).
then
(
function
(){
var
t
=
[
n
(
"CUAv"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
4
)]).
then
(
function
(){
var
t
=
[
n
(
"jFLA"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"老系统用户列表"
,
routerName
:
"oldUser"
,
path
:
"/oldUser"
,
cover
:
"3-3"
,
router
:{
path
:
"/oldUser"
,
name
:
"oldUser"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
39
)]).
then
(
function
(){
var
t
=
[
n
(
"K2yr"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"用户积分列表"
,
routerName
:
"integral"
,
path
:
"/integral"
,
cover
:
"3-4"
,
router
:{
path
:
"/integral"
,
name
:
"integral"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
12
)]).
then
(
function
(){
var
t
=
[
n
(
"NDyu"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"绑定子账号列表"
,
routerName
:
"subList"
,
path
:
"/subList"
,
cover
:
"3-5"
,
router
:{
path
:
"/subList"
,
name
:
"subList"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
35
)]).
then
(
function
(){
var
t
=
[
n
(
"L5jB"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
8
)]).
then
(
function
(){
var
t
=
[
n
(
"2qmY"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"提现列表"
,
routerName
:
"putForward"
,
path
:
"/putForward"
,
cover
:
"5-3"
,
router
:{
path
:
"/putForward"
,
name
:
"putForward"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
41
)]).
then
(
function
(){
var
t
=
[
n
(
"F5pf"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"发货管理"
,
routerName
:
"consignment"
,
path
:
"/consignment"
,
cover
:
"5-4"
,
router
:{
path
:
"/consignment"
,
name
:
"consignment"
,
component
:
function
(
e
){
return
n
.
e
(
51
).
then
(
function
(){
var
t
=
[
n
(
"usUK"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"订单统计"
,
routerName
:
"orderCount"
,
path
:
"/orderCount"
,
cover
:
"5-5"
,
router
:{
path
:
"/orderCount"
,
name
:
"orderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
49
)]).
then
(
function
(){
var
t
=
[
n
(
"s7i+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"日课订单统计"
,
routerName
:
"dayOrderCount"
,
path
:
"/dayOrderCount"
,
cover
:
"5-11"
,
router
:{
path
:
"/dayOrderCount"
,
name
:
"dayOrderCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
45
)]).
then
(
function
(){
var
t
=
[
n
(
"mjLz"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"优惠券列表"
,
routerName
:
"coupon"
,
path
:
"/coupon"
,
cover
:
"5-6"
,
router
:{
path
:
"/coupon"
,
name
:
"coupon"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
37
)]).
then
(
function
(){
var
t
=
[
n
(
"WvRy"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"扫码入课列表"
,
routerName
:
"notBuyClass"
,
path
:
"/notBuyClass"
,
cover
:
"5-8"
,
router
:{
path
:
"/notBuyClass"
,
name
:
"notBuyClass"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
22
)]).
then
(
function
(){
var
t
=
[
n
(
"E6Zo"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"外部订单列表"
,
routerName
:
"yunji"
,
path
:
"/yunji"
,
cover
:
"5-9"
,
router
:{
path
:
"/yunji"
,
name
:
"yunji"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
14
)]).
then
(
function
(){
var
t
=
[
n
(
"69L+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"兑换码管理"
,
routerName
:
"exchange"
,
path
:
"/exchange"
,
cover
:
"5-13"
,
router
:{
path
:
"/exchange"
,
name
:
"exchange"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
11
)]).
then
(
function
(){
var
t
=
[
n
(
"CvLZ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
21
)]).
then
(
function
(){
var
t
=
[
n
(
"B31M"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"盒子列表"
,
routerName
:
"box"
,
path
:
"/box"
,
cover
:
"6-2"
,
router
:{
path
:
"/box"
,
name
:
"box"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
18
)]).
then
(
function
(){
var
t
=
[
n
(
"+vCD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"待发货列表"
,
routerName
:
"logistics"
,
path
:
"/logistics"
,
cover
:
"6-3"
,
router
:{
path
:
"/logistics"
,
name
:
"logistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
25
)]).
then
(
function
(){
var
t
=
[
n
(
"eYh/"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
19
)]).
then
(
function
(){
var
t
=
[
n
(
"CK6D"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"关键词回复"
,
routerName
:
"autoReply"
,
path
:
"/autoReply"
,
cover
:
"7-2"
,
router
:{
path
:
"/autoReply"
,
name
:
"autoReply"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
20
)]).
then
(
function
(){
var
t
=
[
n
(
"65NY"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"公众号菜单"
,
routerName
:
"weChat"
,
path
:
"/weChat"
,
cover
:
"7-3"
,
router
:{
path
:
"/weChat"
,
name
:
"weChat"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
27
)]).
then
(
function
(){
var
t
=
[
n
(
"q5av"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"素材管理"
,
routerName
:
"weChatResource"
,
path
:
"/weChatResource"
,
cover
:
"7-4"
,
router
:{
path
:
"/weChatResource"
,
name
:
"weChatResource"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
28
)]).
then
(
function
(){
var
t
=
[
n
(
"Xhqp"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"二维码管理"
,
routerName
:
"qrcode"
,
path
:
"/qrcode"
,
cover
:
"7-6"
,
router
:{
path
:
"/qrcode"
,
name
:
"qrcode"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
17
)]).
then
(
function
(){
var
t
=
[
n
(
"lNiQ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"群发助手"
,
routerName
:
"groupSend"
,
path
:
"/groupSend"
,
cover
:
"7-7"
,
router
:{
path
:
"/groupSend"
,
name
:
"groupSend"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
10
)]).
then
(
function
(){
var
t
=
[
n
(
"oerw"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"关注取关统计"
,
routerName
:
"watchCount"
,
path
:
"/watchCount"
,
cover
:
"7-8"
,
router
:{
path
:
"/watchCount"
,
name
:
"watchCount"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
53
)]).
then
(
function
(){
var
t
=
[
n
(
"Dq6T"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"微信统计"
,
routerName
:
"weChatStatistics"
,
path
:
"/weChatStatistics"
,
cover
:
"7-10"
,
router
:{
path
:
"/weChatStatistics"
,
name
:
"weChatStatistics"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
56
)]).
then
(
function
(){
var
t
=
[
n
(
"5t3x"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"测试"
,
routerName
:
"test"
,
path
:
"/test"
,
cover
:
"7-11"
,
router
:{
path
:
"/test"
,
name
:
"test"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
32
)]).
then
(
function
(){
var
t
=
[
n
(
"9ZSL"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]},{
name
:
""
,
value
:
"系统管理"
,
icon
:
"icon-xitongquanxian"
,
list
:[{
value
:
"首页管理"
,
routerName
:
"banner"
,
path
:
"/banner"
,
cover
:
"7-5"
,
router
:{
path
:
"/banner"
,
name
:
"banner"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
36
)]).
then
(
function
(){
var
t
=
[
n
(
"CGL6"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"外部投放管理"
,
routerName
:
"externalLaunch"
,
path
:
"/externalLaunch"
,
cover
:
"7-9"
,
router
:{
path
:
"/externalLaunch"
,
name
:
"externalLaunch"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
47
)]).
then
(
function
(){
var
t
=
[
n
(
"NrkQ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"来源码管理"
,
routerName
:
"sourceManage"
,
path
:
"/sourceManage"
,
cover
:
"10-1"
,
router
:{
path
:
"/sourceManage"
,
name
:
"sourceManage"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
38
)]).
then
(
function
(){
var
t
=
[
n
(
"/ubI"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"短信发送记录"
,
routerName
:
"smsRecord"
,
path
:
"/smsRecord"
,
cover
:
"10-2"
,
router
:{
path
:
"/smsRecord"
,
name
:
"smsRecord"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
30
)]).
then
(
function
(){
var
t
=
[
n
(
"qjS+"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"config"
,
path
:
"/config"
,
cover
:
"10-3"
,
router
:{
path
:
"/config"
,
name
:
"config"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
50
)]).
then
(
function
(){
var
t
=
[
n
(
"TPCG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
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
([
n
.
e
(
0
),
n
.
e
(
43
)]).
then
(
function
(){
var
t
=
[
n
(
"+jTk"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"角色管理"
,
routerName
:
"role"
,
path
:
"/role"
,
cover
:
"8-2"
,
router
:{
path
:
"/role"
,
name
:
"role"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
44
)]).
then
(
function
(){
var
t
=
[
n
(
"Vt1u"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"菜单管理"
,
routerName
:
"menu"
,
path
:
"/menu"
,
cover
:
"8-3"
,
router
:{
path
:
"/menu"
,
name
:
"menu"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
57
)]).
then
(
function
(){
var
t
=
[
n
(
"aTXs"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"系统配置"
,
routerName
:
"sysConfig"
,
path
:
"/sysConfig"
,
cover
:
"8-4"
,
router
:{
path
:
"/sysConfig"
,
name
:
"sysConfig"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
33
)]).
then
(
function
(){
var
t
=
[
n
(
"gaNG"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}},{
value
:
"操作日志"
,
routerName
:
"adminLog"
,
path
:
"/adminLog"
,
cover
:
"8-5"
,
router
:{
path
:
"/adminLog"
,
name
:
"adminLog"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
42
)]).
then
(
function
(){
var
t
=
[
n
(
"WZgi"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}}]}],
o
=
{
name
:
"App"
,
data
:
function
(){
return
{}},
mounted
:
function
(){
var
e
=
this
;
if
(
window
.
location
.
href
.
indexOf
(
"login"
)
<
0
){
var
t
=
this
.
$store
.
state
.
progressList
;
console
.
log
(
this
.
$store
.
state
);
var
o
=
[];
this
.
$router
.
options
.
routes
[
0
].
children
=
[];
var
r
=
{
path
:
"/userDetail/:id"
,
name
:
"userDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
16
)]).
then
(
function
(){
var
t
=
[
n
(
"9PRC"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}},
i
=
{
path
:
"/teacher/:id"
,
name
:
"teacherDetail"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
6
)]).
then
(
function
(){
var
t
=
[
n
(
"hFUZ"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}};
a
.
forEach
(
function
(
n
){
var
a
=!
1
,
u
=
[];
n
.
list
.
forEach
(
function
(
n
){
var
o
=
t
.
find
(
function
(
e
){
return
e
.
cover
===
n
.
cover
});
o
&&
(
n
.
router
.
meta
=
{},
n
.
router
.
meta
.
readonly
=!!
o
.
readonly
,
n
.
router
.
meta
.
delete
=!!
o
.
delete
,
n
.
router
.
meta
.
export
=!!
o
.
export
,
n
.
router
.
meta
.
refund
=!!
o
.
refund
,
n
.
router
.
meta
.
distribution
=!!
o
.
distribution
,
n
.
router
.
meta
.
classManage
=!!
o
.
classManage
,
n
.
router
.
meta
.
classManageUnlimited
=!!
o
.
classManageUnlimited
,
n
.
router
.
meta
.
classTakeUnlimited
=!!
o
.
classTakeUnlimited
,
n
.
router
.
meta
.
promoter
=!!
o
.
promoter
,
u
.
push
(
n
),
"3-1"
===
o
.
cover
&&
(
i
.
meta
=
{},
i
.
meta
.
readonly
=
o
.
readonly
,
i
.
meta
.
delete
=!!
o
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
i
)),
"3-2"
===
o
.
cover
&&
(
r
.
meta
=
{},
r
.
meta
.
readonly
=
o
.
readonly
,
r
.
meta
.
delete
=!!
o
.
delete
,
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
r
)),
e
.
$router
.
options
.
routes
[
0
].
children
.
push
(
n
.
router
),
a
=!
0
)}),
a
&&
(
n
.
list
=
u
,
o
.
push
(
n
))}),
this
.
$router
.
addRoutes
([
this
.
$router
.
options
.
routes
[
0
]]),
this
.
$store
.
dispatch
(
"setMenu"
,
o
)}}},
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"router-view"
)],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
e
){
n
(
"NAsj"
)},
null
,
null
).
exports
,
u
=
n
(
"lRwf"
),
c
=
n
.
n
(
u
),
l
=
n
(
"YaEn"
),
s
=
n
(
"IcnI"
),
m
=
n
(
"zL8q"
),
p
=
n
.
n
(
m
);
c
.
a
.
use
(
p
.
a
),
c
.
a
.
config
.
productionTip
=!
1
,
new
c
.
a
({
el
:
"#app"
,
store
:
s
.
a
,
router
:
l
.
a
,
components
:{
App
:
i
},
template
:
"<App/>"
})},
OMN4
:
function
(
e
,
t
){
e
.
exports
=
axios
},
YaEn
:
function
(
e
,
t
,
n
){
"use strict"
;
var
a
=
n
(
"IcnI"
),
o
=
n
(
"/ocq"
),
r
=
n
(
"zSLJ"
),
i
=
new
o
.
a
({
routes
:[{
path
:
"/"
,
name
:
"index"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
7
)]).
then
(
function
(){
var
t
=
[
n
(
"jHcp"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
redirect
:{
name
:
"first"
},
children
:[{
path
:
""
,
name
:
"first"
,
component
:
function
(
e
){
return
n
.
e
(
31
).
then
(
function
(){
var
t
=
[
n
(
"sJm1"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)}}]},{
path
:
"/login"
,
name
:
"login"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
54
)]).
then
(
function
(){
var
t
=
[
n
(
"0HId"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/outManager"
,
name
:
"outManager"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
52
)]).
then
(
function
(){
var
t
=
[
n
(
"hLMI"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/upload"
,
name
:
"upload"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
48
)]).
then
(
function
(){
var
t
=
[
n
(
"iPJD"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}},{
path
:
"/newLesson"
,
name
:
"newLesson"
,
component
:
function
(
e
){
return
Promise
.
all
([
n
.
e
(
0
),
n
.
e
(
3
)]).
then
(
function
(){
var
t
=
[
n
(
"4t0V"
)];
e
.
apply
(
null
,
t
)}.
bind
(
this
)).
catch
(
n
.
oe
)},
meta
:{
skip_auth
:
!
0
}}]});
i
.
beforeEach
(
function
(
e
,
t
,
n
){
if
(
a
.
a
.
commit
(
"mainCanShow"
),
r
.
a
.
get
(
"cc_token"
)
&&
(
a
.
a
.
dispatch
(
"setToken"
,
r
.
a
.
get
(
"cc_token"
)),
a
.
a
.
dispatch
(
"setPermission"
,
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
))),
null
!==
r
.
a
.
get
(
"cc_user_name"
)
&&
a
.
a
.
dispatch
(
"setUserName"
,
r
.
a
.
get
(
"cc_user_name"
))),
a
.
a
.
state
.
nowTab
=
e
.
name
,
e
.
matched
.
length
>
1
&&
"first"
!==
e
.
name
){
for
(
var
o
=
void
0
,
i
=
0
;
i
<
a
.
a
.
state
.
menuList
.
length
;
i
++
)
for
(
var
u
=
a
.
a
.
state
.
menuList
[
i
],
c
=
0
;
c
<
u
.
list
.
length
;
c
++
){
var
l
=
u
.
list
[
c
];
l
.
path
===
e
.
path
&&
(
o
=
l
)}
a
.
a
.
state
.
openedTab
.
indexOf
(
o
)
<
0
&&
a
.
a
.
state
.
openedTab
.
push
(
o
)}
if
(
e
.
meta
.
readonly
?
a
.
a
.
dispatch
(
"readonly"
,
!
0
):
a
.
a
.
dispatch
(
"readonly"
,
!
1
),
a
.
a
.
state
.
orderRefund
=
e
.
meta
.
refund
,
a
.
a
.
state
.
export
=
e
.
meta
.
export
,
a
.
a
.
state
.
distribution
=
e
.
meta
.
distribution
,
a
.
a
.
state
.
classManage
=
e
.
meta
.
classManage
,
a
.
a
.
dispatch
(
"promoter"
,
e
.
meta
.
promoter
),
a
.
a
.
dispatch
(
"classManageUnlimited"
,
e
.
meta
.
classManageUnlimited
),
a
.
a
.
dispatch
(
"classTakeUnlimited"
,
e
.
meta
.
classTakeUnlimited
),
console
.
log
(
e
.
meta
),
"userDetail"
===
e
.
name
){
var
s
=
JSON
.
parse
(
localStorage
.
getItem
(
"permission"
)).
find
(
function
(
e
){
return
"3-2"
===
e
.
cover
}).
readonly
;
a
.
a
.
dispatch
(
"readonly"
,
s
)}
e
.
meta
.
delete
?
a
.
a
.
dispatch
(
"deletePermission"
,
!
0
):
a
.
a
.
dispatch
(
"deletePermission"
,
!
1
),
e
.
matched
.
some
(
function
(
e
){
return
!
0
!==
e
.
meta
.
skip_auth
})
&&!
a
.
a
.
state
.
token
?
n
({
path
:
"/login"
}):
n
()}),
i
.
onError
(
function
(
e
){
var
t
=
e
.
message
.
match
(
/Loading chunk
(\d)
+ failed/g
),
n
=
i
.
history
.
pending
.
fullPath
;
t
&&
i
.
replace
(
n
)}),
t
.
a
=
i
},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
zSLJ
:
function
(
e
,
t
,
n
){
"use strict"
;
t
.
a
=
{
set
:
function
(
e
,
t
,
n
){
var
a
=
new
Date
;
a
.
setTime
(
a
.
getTime
()
+
864
e5
*
n
),
window
.
document
.
cookie
=
e
+
"="
+
t
+
";path=/;expires="
+
a
.
toGMTString
()},
get
:
function
(
e
){
var
t
=
window
.
document
.
cookie
.
match
(
"(^|;) ?"
+
e
+
"=([^;]*)(;|$)"
);
return
t
?
t
[
2
]:
null
},
delete
:
function
(
e
){
this
.
set
(
e
,
""
,
-
1
)}}}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.d4c04687d128a76b2c27.js
0 → 100644
View file @
d0ac1371
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
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
=
{},
a
=
{
60
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
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
:
"262ecb73acbedc7533b0"
,
1
:
"b8e5331031e01864d65f"
,
2
:
"05a670317b7dff2583b9"
,
3
:
"df0826e3351375c85529"
,
4
:
"6df418af1d713afa95cf"
,
5
:
"85cc40c02bb31eb5544a"
,
6
:
"8d24e9971ffa8724a323"
,
7
:
"ed3c1942cef2802bae1d"
,
8
:
"bd2e2c080b809c224393"
,
9
:
"1c2efcf3a6cfc5f3ad97"
,
10
:
"2eeaebf748561362878b"
,
11
:
"98ed69caf10bd0c3cfcd"
,
12
:
"e634e5e26b59fabd9f5f"
,
13
:
"78cd5be61872baa2b73c"
,
14
:
"7a8310c3d15a714e46d8"
,
15
:
"0032a095537271d95981"
,
16
:
"632f925ae0ce22dbf5e9"
,
17
:
"5cd63f0082a466bafe3a"
,
18
:
"a4b305e6f833d592a923"
,
19
:
"0687599418430c0ab3f7"
,
20
:
"0558f307061e46d1ebe3"
,
21
:
"e2ce688fd277c30364fd"
,
22
:
"dce5d2940eddec53c055"
,
23
:
"248972529830343ba26f"
,
24
:
"ccf83fbbfee9f7eb8cc9"
,
25
:
"98e14ecc9b26f31aaa54"
,
26
:
"0d0f09a02c9ae5a16393"
,
27
:
"ee8fdecc7f80b8a9ed08"
,
28
:
"f98a85f738bf86c63049"
,
29
:
"defcc01082a674fce525"
,
30
:
"476d545d95a065b69174"
,
31
:
"1c3f1b652018be655519"
,
32
:
"5a933bab26c4a7538997"
,
33
:
"a29a70d43b565c75dc46"
,
34
:
"65c89b3e611fc30e7a54"
,
35
:
"99217e2972f76c871a5d"
,
36
:
"1c55a2a930bea5787af3"
,
37
:
"7cb7929bf51683204a33"
,
38
:
"4ac6372a4b07e4eff5f6"
,
39
:
"600e8b82cb50d2421250"
,
40
:
"607e9a0285a932b1c3bb"
,
41
:
"b91c192dbdff22b114bc"
,
42
:
"12e184780a6a857f6424"
,
43
:
"8888ceefaf81e3f7453c"
,
44
:
"b2db54f0f973823502e4"
,
45
:
"0271bdfd23b6a2711c0f"
,
46
:
"4439885c0113c5251249"
,
47
:
"6efc242b9241db2d3d7a"
,
48
:
"fd47c1d5992d31ddb426"
,
49
:
"777dad24bac29f01cc9e"
,
50
:
"57f1b6a3137b764dbac8"
,
51
:
"e36985c8d3748e66e45c"
,
52
:
"255ee5ec778af3e735ff"
,
53
:
"6f03f454ccebcd97c1f7"
,
54
:
"52f4e30246b4e7f3007f"
,
55
:
"669cc2f27e13da22a06f"
,
56
:
"47e6fa3599cd14b51190"
,
57
:
"581c17a00778e234e53f"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
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/logistics/index.vue
View file @
d0ac1371
...
@@ -42,7 +42,6 @@
...
@@ -42,7 +42,6 @@
<el-button
type=
"success"
plain
@
click=
"reset"
>
重置
</el-button>
<el-button
type=
"success"
plain
@
click=
"reset"
>
重置
</el-button>
<el-button
v-if=
"!$store.state.readonly"
type=
"primary"
plain
@
click=
"downLoad()"
>
excel模板下载
</el-button>
<el-button
v-if=
"!$store.state.readonly"
type=
"primary"
plain
@
click=
"downLoad()"
>
excel模板下载
</el-button>
<el-button
type=
"primary"
plain
@
click=
"exportTable"
v-if=
"$store.state.export"
>
导出当前待发货
</el-button>
<el-button
type=
"primary"
plain
@
click=
"exportTable"
v-if=
"$store.state.export"
>
导出当前待发货
</el-button>
<!--
<el-button
type=
"success"
plain
@
click=
"exportTable"
v-if=
"$store.state.export"
>
导入
</el-button>
-->
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"$store.state.export"
>
<el-form-item
v-if=
"$store.state.export"
>
<el-upload
<el-upload
...
...
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