Commit 4f106f67 authored by Junling Bu's avatar Junling Bu
Browse files

管理后台地址参数调整

parent faaf94b7
...@@ -17,14 +17,16 @@ ...@@ -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="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"> <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> </template>
</el-table-column> </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"> <el-table-column align="center" min-width="80px" label="默认" prop="isDefault">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.isDefault ? '' : '' }} {{ scope.row.isDefault ? '' : '' }}
...@@ -85,7 +87,7 @@ export default { ...@@ -85,7 +87,7 @@ export default {
this.downloadLoading = true this.downloadLoading = true
import('@/vendor/Export2Excel').then(excel => { import('@/vendor/Export2Excel').then(excel => {
const tHeader = ['地址ID', '用户ID', '收获人', '手机号', '', '', '', '地址', '是否默认'] 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, '用户地址信息') excel.export_json_to_excel2(tHeader, this.list, filterVal, '用户地址信息')
this.downloadLoading = false this.downloadLoading = false
}) })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment