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: '创建时间',