管理后台地址参数调整

This commit is contained in:
Junling Bu
2019-04-30 19:31:57 +08:00
parent faaf94b77a
commit 4f106f6797

View File

@@ -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', 'addressDetail', 'isDefault']
excel.export_json_to_excel2(tHeader, this.list, filterVal, '用户地址信息')
this.downloadLoading = false
})