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
6366ea75
Commit
6366ea75
authored
Jun 27, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
627
parent
54b28aa9
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
60 additions
and
27 deletions
+60
-27
index.html
dev/index.html
+1
-1
0.47ed74c06ff3928972e9.js
dev/static/js/0.47ed74c06ff3928972e9.js
+20
-0
25.8a1d26d812fac2d9bec5.js
dev/static/js/25.8a1d26d812fac2d9bec5.js
+1
-0
manifest.9b237266f12ec2c4fc35.js
dev/static/js/manifest.9b237266f12ec2c4fc35.js
+1
-0
Address.vue
src/components/framework/address-picker/Address.vue
+18
-0
index.vue
src/components/logistics/index.vue
+19
-26
No files found.
dev/index.html
View file @
6366ea75
<!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.
165d1820b5fa0d0d70f8
.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.
9b237266f12ec2c4fc35
.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
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
...
...
dev/static/js/0.47ed74c06ff3928972e9.js
0 → 100644
View file @
6366ea75
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dev/static/js/25.8a1d26d812fac2d9bec5.js
0 → 100644
View file @
6366ea75
webpackJsonp
([
25
],{
"+rlv"
:
function
(
e
,
t
,
i
){
var
o
=
i
(
"r12b"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"10a3ec8d"
,
o
,
!
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
o
=
i
(
"xPF6"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"10efc4f2"
,
o
,
!
1
,{})},
"eYh/"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
i
(
"kmJW"
),
n
=
i
(
"NC6I"
),
s
=
i
.
n
(
n
),
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
}),
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
(
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
:
o
.
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
:{
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-select"
,{
attrs
:{
filterable
:
""
,
placeholder
:
"请选择"
,
clearable
:
""
},
model
:{
value
:
e
.
searchFrom
.
type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type"
,
t
)},
expression
:
"searchFrom.type"
}},
e
.
_l
(
e
.
logisticsType
,
function
(
e
,
t
){
return
i
(
"el-option"
,{
key
:
t
,
attrs
:{
label
:
e
.
name
,
value
:
e
.
value
}})}))],
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
.
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-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
))
+
"
\n
"
)]}}])}),
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
o
=
i
(
"Chh9"
);
"string"
==
typeof
o
&&
(
o
=
[[
e
.
i
,
o
,
""
]]),
o
.
locals
&&
(
e
.
exports
=
o
.
locals
);
i
(
"rjj0"
)(
"10fdec89"
,
o
,
!
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.9b237266f12ec2c4fc35.js
0 → 100644
View file @
6366ea75
!
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
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
a
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
60
:
0
};
function
b
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
b
){
c
=
f
[
e
]
=
[
a
,
b
]});
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
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"47ed74c06ff3928972e9"
,
1
:
"2c9ebf7b732aa3fdf3c2"
,
2
:
"0761b60c669971a9a44a"
,
3
:
"9a5b97380970b0933ae8"
,
4
:
"48823e704707c0d69214"
,
5
:
"1cdcbc229c82e6de28c8"
,
6
:
"a7c511688213d49b5afd"
,
7
:
"34f9c1a6c911a69ec382"
,
8
:
"14de3ae9cd758d45251b"
,
9
:
"f0289cec1e521b7d3cef"
,
10
:
"de9f467d9b4a34f88d8b"
,
11
:
"ea6cf614c2fd66d92483"
,
12
:
"05e16e3a1024dc75793f"
,
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
:
"8a1d26d812fac2d9bec5"
,
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
:
"0f6370ae48e7c5c030f1"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
a
},
b
.
m
=
e
,
b
.
c
=
a
,
b
.
d
=
function
(
e
,
c
,
a
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"/"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/framework/address-picker/Address.vue
View file @
6366ea75
...
...
@@ -85,6 +85,7 @@
mounted
()
{
let
vm
=
this
vm
.
show
=
vm
.
showAddressPicker
console
.
log
(
88
)
},
computed
:
{
cities
:
function
()
{
...
...
@@ -127,6 +128,23 @@
form
:
{
handler
:
function
(
val
)
{
this
.
$emit
(
'change'
,
val
);
console
.
log
(
this
.
form
)
},
deep
:
true
},
name
:
{
handler
:
function
(
val
)
{
this
.
$emit
(
'change'
,
val
);
// console.log(this.form)
// console.log(this.name)
this
.
form
=
{
province
:
this
.
province
,
city
:
this
.
city
,
district
:
this
.
district
,
detail
:
this
.
detail
,
name
:
this
.
name
,
mobile
:
this
.
mobile
}
},
deep
:
true
}
...
...
src/components/logistics/index.vue
View file @
6366ea75
...
...
@@ -66,9 +66,9 @@
</el-table-column>
<el-table-column
prop=
"address"
label=
"收货地址"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
receive_name
}}
</p
>
<p>
{{
scope
.
row
.
receive_mobile
}}
</p
>
<p>
{{
scope
.
row
.
province_name
}}{{
scope
.
row
.
city_name
}}{{
scope
.
row
.
area_name
}}{{
scope
.
row
.
address
}}
</p>
{{
scope
.
row
.
receive_name
}}
<br
>
{{
scope
.
row
.
receive_mobile
}}
<br
>
{{
scope
.
row
.
province_name
}}{{
scope
.
row
.
city_name
}}{{
scope
.
row
.
area_name
}}{{
scope
.
row
.
address
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"periods_title"
label=
"期数名称"
>
...
...
@@ -162,30 +162,23 @@ export default {
},
methods
:
{
editAddress
(
row
)
{
// this.dialogObj={show:true}
console
.
log
(
row
)
if
(
!
row
||
!
row
.
province_name
)
{
this
.
dialogObj
.
province
=
""
;
this
.
dialogObj
.
city
=
""
;
this
.
dialogObj
.
district
=
""
;
}
else
{
this
.
dialogObj
.
province
=
""
;
this
.
dialogObj
.
district
=
""
;
this
.
dialogObj
.
city
=
""
;
}
this
.
dialogObj
.
detail
=
row
?
row
.
address
:
""
;
this
.
dialogObj
.
receive_mobile
=
row
?
row
.
receive_mobile
:
""
;
this
.
dialogObj
.
receive_name
=
row
?
row
.
receive_name
:
""
;
this
.
dialogObj
.
province_name
=
row
?
row
.
province_name
:
""
;
this
.
dialogObj
.
city_name
=
row
?
row
.
city
:
""
;
this
.
dialogObj
.
district_name
=
row
?
row
.
area
:
""
;
// if (!row || !row.province_name) {
// this.dialogObj.province = "";
// this.dialogObj.city = "";
// this.dialogObj.district = "";
// } else {
// this.dialogObj.province = "";
// this.dialogObj.district = "";
// this.dialogObj.city = "";
// }
this
.
dialogObj
.
detail
=
row
.
address
;
this
.
dialogObj
.
receive_mobile
=
row
.
receive_mobile
;
this
.
dialogObj
.
receive_name
=
row
.
receive_name
;
this
.
dialogObj
.
province_name
=
''
;
this
.
dialogObj
.
city_name
=
""
;
this
.
dialogObj
.
district_name
=
''
;
this
.
dialogObj
.
id
=
row
.
id
;
this
.
dialogObj
.
show
=
true
;
},
...
...
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