From d682edc661971e3ba086ecaec18bf94955c50d98 Mon Sep 17 00:00:00 2001 From: zjl Date: Thu, 12 Dec 2024 15:52:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/file/emailTemplate/columns.ts | 9 ++++++++- src/views/file/fileTemplate/columns.ts | 8 +++++++- src/views/file/messageTemplate/columns.ts | 8 +++++++- src/views/file/smsTemplate/columns.ts | 8 +++++++- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/src/views/file/emailTemplate/columns.ts b/src/views/file/emailTemplate/columns.ts index 34681cd..63b5e5d 100644 --- a/src/views/file/emailTemplate/columns.ts +++ b/src/views/file/emailTemplate/columns.ts @@ -8,19 +8,23 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '模板名称', prop: 'title', + width: 200, }, { label: '模板编码', prop: 'code', + width: 150, }, { label: '模板类型', prop: 'type', + width: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -42,10 +46,12 @@ export const columns = [ { label: '文件名称', prop: 'fileName', + width: 100, }, { label: '文件路径', prop: 'filePath', + width: 150, render(record) { return h( 'a', @@ -60,6 +66,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', + width: 100, }, { label: '创建时间', diff --git a/src/views/file/fileTemplate/columns.ts b/src/views/file/fileTemplate/columns.ts index 8c321e3..02bb127 100644 --- a/src/views/file/fileTemplate/columns.ts +++ b/src/views/file/fileTemplate/columns.ts @@ -8,23 +8,28 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '模板名称', prop: 'name', + width: 150, }, { label: '模板编码', prop: 'code', + width: 150, }, { label: '文件名称', prop: 'fileName', + width: 150, }, { label: '文件路径', prop: 'filePath', + width: 150, render(record) { return h( 'a', @@ -39,6 +44,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', + width: 100, }, { label: '创建时间', diff --git a/src/views/file/messageTemplate/columns.ts b/src/views/file/messageTemplate/columns.ts index 74d1fd7..72042fd 100644 --- a/src/views/file/messageTemplate/columns.ts +++ b/src/views/file/messageTemplate/columns.ts @@ -8,23 +8,28 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '模板编号', prop: 'number', + width: 100, }, { label: '模板名称', prop: 'title', + width: 200, }, { label: '模板编码', prop: 'code', + width: 150, }, { label: '消息类型', prop: 'type', + width: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -51,6 +56,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', + width: 100, }, { label: '创建时间', diff --git a/src/views/file/smsTemplate/columns.ts b/src/views/file/smsTemplate/columns.ts index 346aabf..3910f16 100644 --- a/src/views/file/smsTemplate/columns.ts +++ b/src/views/file/smsTemplate/columns.ts @@ -8,23 +8,28 @@ export const columns = [ { label: 'ID', prop: 'id', - width: 100, + fixed: 'left', + width: 50, }, { label: '模板编号', prop: 'number', + width: 100, }, { label: '模板名称', prop: 'title', + width: 150, }, { label: '模板编码', prop: 'code', + width: 150, }, { label: '模板类型', prop: 'type', + width: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -51,6 +56,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', + width: 100, }, { label: '创建时间',