Commit cff87eb2 by 李伟康

修复BUG、提交代码

1 parent fe04384b
...@@ -708,6 +708,20 @@ export default { ...@@ -708,6 +708,20 @@ export default {
width: 300 width: 300
}, },
{ {
label: '推荐人',
prop: 'shareStaffName',
width: 300,
addHtml: 'shareStaffName'
},
{
label: '推荐人手机号',
prop: 'shareStaffPhone',
width: 130,
formatter: cellValue => {
return cellValue.shareStaffPhone || '-'
}
},
{
label: '订单时间', label: '订单时间',
prop: 'createdDate', prop: 'createdDate',
width: '180', width: '180',
...@@ -752,20 +766,6 @@ export default { ...@@ -752,20 +766,6 @@ export default {
} }
}, },
{ {
label: '推荐人',
prop: 'shareStaffName',
width: 300,
addHtml: 'shareStaffName'
},
{
label: '推荐人手机号',
prop: 'shareStaffPhone',
width: 130,
formatter: cellValue => {
return cellValue.shareStaffPhone || '-'
}
},
{
label: '支付总价/元', label: '支付总价/元',
prop: 'payPrice', prop: 'payPrice',
width: '120', width: '120',
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
class="flex-align" class="flex-align"
slot-scope="scope" slot-scope="scope"
> >
<template v-if="scope.scope.customerAvatar">
<el-popover <el-popover
placement="top" placement="top"
width="160" width="160"
...@@ -60,6 +61,7 @@ ...@@ -60,6 +61,7 @@
:src="scope.scope.customerAvatar" :src="scope.scope.customerAvatar"
/> />
</el-popover> </el-popover>
</template>
<span class="m-l-10">{{ scope.scope.customerName }}</span> <span class="m-l-10">{{ scope.scope.customerName }}</span>
</div> </div>
<div <div
...@@ -67,6 +69,7 @@ ...@@ -67,6 +69,7 @@
class="flex-align" class="flex-align"
slot-scope="scope" slot-scope="scope"
> >
<template v-if="scope.scope.shareAvatar">
<el-popover <el-popover
placement="top" placement="top"
width="160" width="160"
...@@ -83,6 +86,7 @@ ...@@ -83,6 +86,7 @@
:src="scope.scope.shareAvatar" :src="scope.scope.shareAvatar"
/> />
</el-popover> </el-popover>
</template>
<span class="m-l-10">{{ scope.scope.shareName }}</span> <span class="m-l-10">{{ scope.scope.shareName }}</span>
</div> </div>
<div <div
...@@ -131,7 +135,7 @@ export default { ...@@ -131,7 +135,7 @@ export default {
customerName: '', customerName: '',
mobile: '' mobile: ''
}, },
pageConf: {pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total'}, pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
// 搜索 // 搜索
searchFormData: [ searchFormData: [
{ {
...@@ -156,7 +160,7 @@ export default { ...@@ -156,7 +160,7 @@ export default {
// 表格 // 表格
getListApi: null, getListApi: null,
tableParams: { tableParams: {
listName:'list', listName: 'list',
tableColumns: [ tableColumns: [
{ {
label: '微信昵称', label: '微信昵称',
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
class="flex-align" class="flex-align"
slot-scope="scope" slot-scope="scope"
> >
<template v-if="scope.scope.shareAvatar">
<el-popover <el-popover
placement="top" placement="top"
width="160" width="160"
...@@ -98,7 +99,9 @@ ...@@ -98,7 +99,9 @@
slot="reference" slot="reference"
:src="scope.scope.shareAvatar" :src="scope.scope.shareAvatar"
/> />
</el-popover> </el-popover>
</template>
<span class="m-l-10">{{ scope.scope.shareName }}</span> <span class="m-l-10">{{ scope.scope.shareName }}</span>
</div> </div>
</GLTable> </GLTable>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!