|
@@ -104,18 +104,6 @@ export default function userCustomerFeeSetTable() {
|
|
return hanleExpandRow(scope)
|
|
return hanleExpandRow(scope)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- tooltipConfig: {
|
|
|
|
- showAll: true,
|
|
|
|
- enterable: true,
|
|
|
|
- contentMethod: ({ column, row }) => {
|
|
|
|
- const { field } = column
|
|
|
|
- if (field === 'groupName' && row && row.groupName) {
|
|
|
|
- return row[field] ?
|
|
|
|
- `分组名称:${row.groupName}${row.customerGroupVersion ? '_'+row.customerGroupVersion : ''}\n所属客户:${row.customerNameList.join('、')}` : ''
|
|
|
|
- }
|
|
|
|
- return null
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
columns: [
|
|
columns: [
|
|
{ type: "expand", title: '#', slots: { content: 'expands' }, width: 40 },
|
|
{ type: "expand", title: '#', slots: { content: 'expands' }, width: 40 },
|
|
{ type: "checkbox", width: 45, visible: true },
|
|
{ type: "checkbox", width: 45, visible: true },
|
|
@@ -127,10 +115,8 @@ export default function userCustomerFeeSetTable() {
|
|
title: '分组',
|
|
title: '分组',
|
|
resizable: true,
|
|
resizable: true,
|
|
minWidth: 110,
|
|
minWidth: 110,
|
|
- formatter: ({ row }) =>{
|
|
|
|
- if (!row.groupName) return ''
|
|
|
|
- return `${row.groupName}${row.customerGroupVersion ? '_'+row.customerGroupVersion : ''}`
|
|
|
|
- },
|
|
|
|
|
|
+ showOverflow: "ellipsis",
|
|
|
|
+ slots: { default: "customerNameLevel1" },
|
|
visible: true
|
|
visible: true
|
|
},
|
|
},
|
|
{ field: 'orgName', title: '机构名称', width: 100, visible: true },
|
|
{ field: 'orgName', title: '机构名称', width: 100, visible: true },
|
|
@@ -180,18 +166,6 @@ export default function userCustomerFeeSetTable() {
|
|
columnConfig: {
|
|
columnConfig: {
|
|
resizable: false,
|
|
resizable: false,
|
|
},
|
|
},
|
|
- tooltipConfig: {
|
|
|
|
- showAll: true,
|
|
|
|
- enterable: true,
|
|
|
|
- contentMethod: ({ column, row }) => {
|
|
|
|
- const { field } = column
|
|
|
|
- if (field === 'groupName' && row && row.groupName) {
|
|
|
|
- return row[field] ?
|
|
|
|
- `分组名称:${row.groupName}${row.customerGroupVersion ? '_'+row.customerGroupVersion : ''}\n所属客户:${row.customerNameList.join('、')}` : ''
|
|
|
|
- }
|
|
|
|
- return null
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
columns: [
|
|
columns: [
|
|
{ width: 85 },
|
|
{ width: 85 },
|
|
{ type: "checkbox", width: 55, visible: true },
|
|
{ type: "checkbox", width: 55, visible: true },
|
|
@@ -203,10 +177,8 @@ export default function userCustomerFeeSetTable() {
|
|
resizable: true,
|
|
resizable: true,
|
|
minWidth: 110,
|
|
minWidth: 110,
|
|
visible: true,
|
|
visible: true,
|
|
- formatter: ({ row }) =>{
|
|
|
|
- if (!row.groupName) return ''
|
|
|
|
- return `${row.groupName}${row.customerGroupVersion ? '_'+row.customerGroupVersion : ''}`
|
|
|
|
- },
|
|
|
|
|
|
+ showOverflow: "ellipsis",
|
|
|
|
+ slots: { default: "customerNameLevel2" },
|
|
},
|
|
},
|
|
{ field: 'orgName', title: '机构名称', width: 100, visible: true },
|
|
{ field: 'orgName', title: '机构名称', width: 100, visible: true },
|
|
{ field: 'customerName', title: '客户', resizable: true, minWidth: 100, visible: true },
|
|
{ field: 'customerName', title: '客户', resizable: true, minWidth: 100, visible: true },
|