浏览代码

修改字段宽度

wangwei 3 年之前
父节点
当前提交
d04697713f

+ 4 - 4
src/views/activity/activity/customCom/member/data.ts

@@ -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);

+ 2 - 2
src/views/activity/meeting/customCom/member/data.ts

@@ -22,7 +22,7 @@ export const columns: BasicColumn[] = [
   {
     title: '姓名(名称)',
     dataIndex: 'name',
-    width: 100,
+    width: 150,
     sorter: true,
   },
   {
@@ -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);

+ 2 - 2
src/views/bill/bill/customCom/member/data.ts

@@ -22,7 +22,7 @@ export const columns: BasicColumn[] = [
   {
     title: '姓名(名称)',
     dataIndex: 'name',
-    width: 100,
+    width: 150,
     sorter: true,
   },
   {
@@ -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);

+ 2 - 2
src/views/department/department/customCom/member/data.ts

@@ -22,7 +22,7 @@ export const columns: BasicColumn[] = [
   {
     title: '姓名(名称)',
     dataIndex: 'name',
-    width: 100,
+    width: 150,
     sorter: true,
   },
   {
@@ -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);

+ 3 - 3
src/views/member/member/data.ts

@@ -22,7 +22,7 @@ export const columns: BasicColumn[] = [
   {
     title: '姓名(名称)',
     dataIndex: 'name',
-    width: 100,
+    width: 150,
     sorter: true,
   },
   {
@@ -84,7 +84,7 @@ export const columns: BasicColumn[] = [
   {
     title: '当年参会率',
     dataIndex: 'nowmeeting',
-    width: 100,
+    width: 130,
     customRender({ record }) {
       return h('span', {}, record.nowmeeting + '%');
     },
@@ -93,7 +93,7 @@ export const columns: BasicColumn[] = [
   {
     title: '去年参会率',
     dataIndex: 'lastmeeting',
-    width: 100,
+    width: 130,
     customRender({ record }) {
       return h('span', {}, record.lastmeeting + '%');
     },