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,22 +44,24 @@ ...@@ -44,22 +44,24 @@
class="flex-align" class="flex-align"
slot-scope="scope" slot-scope="scope"
> >
<el-popover <template v-if="scope.scope.customerAvatar">
placement="top" <el-popover
width="160" placement="top"
trigger="hover" width="160"
popper-class="table-popover-block" trigger="hover"
> popper-class="table-popover-block"
<img >
class="table-popover-img" <img
:src="scope.scope.customerAvatar" class="table-popover-img"
/> :src="scope.scope.customerAvatar"
<img />
class="img-36 pointer" <img
slot="reference" class="img-36 pointer"
:src="scope.scope.customerAvatar" slot="reference"
/> :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,22 +69,24 @@ ...@@ -67,22 +69,24 @@
class="flex-align" class="flex-align"
slot-scope="scope" slot-scope="scope"
> >
<el-popover <template v-if="scope.scope.shareAvatar">
placement="top" <el-popover
width="160" placement="top"
trigger="hover" width="160"
popper-class="table-popover-block" trigger="hover"
> popper-class="table-popover-block"
<img >
class="table-popover-img" <img
:src="scope.scope.shareAvatar" class="table-popover-img"
/> :src="scope.scope.shareAvatar"
<img />
class="img-36 pointer" <img
slot="reference" class="img-36 pointer"
:src="scope.scope.shareAvatar" slot="reference"
/> :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,22 +83,25 @@ ...@@ -83,22 +83,25 @@
class="flex-align" class="flex-align"
slot-scope="scope" slot-scope="scope"
> >
<el-popover <template v-if="scope.scope.shareAvatar">
placement="top" <el-popover
width="160" placement="top"
trigger="hover" width="160"
popper-class="table-popover-block" trigger="hover"
> popper-class="table-popover-block"
<img >
class="table-popover-img" <img
:src="scope.scope.shareAvatar" class="table-popover-img"
/> :src="scope.scope.shareAvatar"
<img />
class="img-36 pointer" <img
slot="reference" class="img-36 pointer"
:src="scope.scope.shareAvatar" slot="reference"
/> :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!