Commit e9713ce3 by wangzhihui

```

feat(withdraw): 添加平台方字段并优化表头显示

- 在withdraw列表中添加realityMerchantName字段用于显示平台方信息
- 实现表头带tooltip提示功能,鼠标悬停可查看字段说明
- 使用el-tooltip组件替换原来的el-popover,提供更好的用户体验
- 统一代码格式,修复空格问题
```
1 parent 5dbe4df0
...@@ -266,7 +266,7 @@ export default { ...@@ -266,7 +266,7 @@ export default {
transferType: '', transferType: '',
mode: '', mode: '',
withdrawalSource: '', withdrawalSource: '',
realityMerchantName:'' realityMerchantName: ''
}, },
hasFooter: false, hasFooter: false,
tableSearchForm: {}, tableSearchForm: {},
...@@ -380,7 +380,7 @@ export default { ...@@ -380,7 +380,7 @@ export default {
name: 'realityMerchantName', name: 'realityMerchantName',
type: 'input', type: 'input',
isClear: true isClear: true
}, }
], ],
tableButtonList: [ tableButtonList: [
{ {
...@@ -495,11 +495,83 @@ export default { ...@@ -495,11 +495,83 @@ export default {
line: 1, line: 1,
width: 150 width: 150
}, },
// {
// label: '平台方',
// prop: 'realityMerchantName',
// line: 1,
// width: 150,
// renderHeader: (h, { column, $index }) => {
// return h(
// 'el-popover',
// {
// props: {
// placement: 'top-start',
// width: 200,
// trigger: 'hover',
// content: '积分会小程序发起提现时,获取提现时关联的最新平台方'
// }
// },
// [
// h(
// 'span',
// {
// slot: 'reference'
// ,
// style: {
// color: '#333',
// cursor: 'pointer'
// }
// },
// '平台方'
// )
// ]
// )
// }
// },
{ {
label: '平台方', label: '平台方',
prop: 'realityMerchantName', prop: 'realityMerchantName',
line: 1, line: 1,
width: 150 width: 150,
renderHeader: (h, { column, $index }) => {
return h(
'div',
{
style: {
display: 'flex',
alignItems: 'center',
width: '100%'
}
},
[
h('span', '平台方'),
h(
'el-tooltip',
{
props: {
content: '积分会小程序发起提现时,获取提现时关联的最新平台方',
placement: 'top'
},
style: {
marginLeft: '4px',
cursor: 'help'
}
},
[
h('i', {
class: 'el-icon-question',
style: {
fontSize: '14px',
color: '#909399',
verticalAlign: 'middle'
}
})
]
)
]
)
}
}, },
{ {
label: '提现积分', label: '提现积分',
...@@ -1090,7 +1162,7 @@ export default { ...@@ -1090,7 +1162,7 @@ export default {
levyCode: '', levyCode: '',
channel: '', channel: '',
transferType: '', transferType: '',
realityMerchantName:'' realityMerchantName: ''
} }
this.handleSearch() this.handleSearch()
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!