Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
4f106f67
Commit
4f106f67
authored
Apr 30, 2019
by
Junling Bu
Browse files
管理后台地址参数调整
parent
faaf94b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-admin/src/views/user/address.vue
View file @
4f106f67
...
...
@@ -17,14 +17,16 @@
<el-table-column
align=
"center"
min-width=
"100px"
label=
"收货人名称"
prop=
"name"
/>
<el-table-column
align=
"center"
min-width=
"100px"
label=
"手机号码"
prop=
"
mobile
"
/>
<el-table-column
align=
"center"
min-width=
"100px"
label=
"手机号码"
prop=
"
tel
"
/>
<el-table-column
align=
"center"
min-width=
"300px"
label=
"地址
"
prop=
"address
"
>
<el-table-column
align=
"center"
min-width=
"300px"
label=
"
区域
地址"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
province
+
scope
.
row
.
city
+
scope
.
row
.
area
+
scope
.
row
.
address
}}
{{
scope
.
row
.
province
+
scope
.
row
.
city
+
scope
.
row
.
county
}}
</
template
>
</el-table-column>
<el-table-column
align=
"center"
min-width=
"300px"
label=
"详细地址"
prop=
"addressDetail"
/>
<el-table-column
align=
"center"
min-width=
"80px"
label=
"默认"
prop=
"isDefault"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
isDefault
?
'
是
'
:
'
否
'
}}
...
...
@@ -85,7 +87,7 @@ export default {
this
.
downloadLoading
=
true
import
(
'
@/vendor/Export2Excel
'
).
then
(
excel
=>
{
const
tHeader
=
[
'
地址ID
'
,
'
用户ID
'
,
'
收获人
'
,
'
手机号
'
,
'
省
'
,
'
市
'
,
'
区
'
,
'
地址
'
,
'
是否默认
'
]
const
filterVal
=
[
'
id
'
,
'
userId
'
,
'
name
'
,
'
mobile
'
,
'
province
'
,
'
city
'
,
'
area
'
,
'
address
'
,
'
isDefault
'
]
const
filterVal
=
[
'
id
'
,
'
userId
'
,
'
name
'
,
'
tel
'
,
'
province
'
,
'
city
'
,
'
county
'
,
'
address
Detail
'
,
'
isDefault
'
]
excel
.
export_json_to_excel2
(
tHeader
,
this
.
list
,
filterVal
,
'
用户地址信息
'
)
this
.
downloadLoading
=
false
})
...
...
Write
Preview
Supports
Markdown
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