|
@@ -22,13 +22,13 @@ export const columns: BasicColumn[] = [
|
|
|
{
|
|
|
title: '姓名(名称)',
|
|
|
dataIndex: 'name',
|
|
|
- width: 100,
|
|
|
+ width: 150,
|
|
|
sorter: true,
|
|
|
},
|
|
|
{
|
|
|
title: '会员身份',
|
|
|
dataIndex: 'type',
|
|
|
- width: 130,
|
|
|
+ width: 120,
|
|
|
customRender: ({ record }) => {
|
|
|
const type = record.type;
|
|
|
const enable = type === 2;
|
|
@@ -41,7 +41,7 @@ export const columns: BasicColumn[] = [
|
|
|
{
|
|
|
title: '职务',
|
|
|
dataIndex: 'duty',
|
|
|
- width: 130,
|
|
|
+ width: 120,
|
|
|
customRender({ record }) {
|
|
|
const options = ['会长', '副会长', '秘书长', '副秘书长', '理事', '会员'];
|
|
|
return options[record.duty];
|
|
@@ -60,7 +60,7 @@ export const columns: BasicColumn[] = [
|
|
|
{
|
|
|
title: '当年会费',
|
|
|
dataIndex: 'nowdues',
|
|
|
- width: 200,
|
|
|
+ width: 150,
|
|
|
customRender({ record }) {
|
|
|
if (record.nowdues === '未缴纳') {
|
|
|
return h('span', { style: { color: 'red' } }, record.nowdues);
|