优化邮件模板

This commit is contained in:
zjl 2024-08-30 13:34:13 +08:00
parent b789f4eff6
commit 343cc34b7f
2 changed files with 18 additions and 2 deletions

View File

@ -7,7 +7,8 @@ export const columns = [
},
{
label: 'ID',
prop: 'id'
prop: 'id',
width: 100,
},
{
label: '模板名称',
@ -38,6 +39,20 @@ export const columns = [
return h('span', typeText || '-');
},
},
{
label: '文件名称',
prop: 'fileName',
},
{
label: '文件路径',
prop: 'filePath',
render(record) {
return h('a', {
href: record.row.filePath,
target:"_blank"
}, "点击查看文件");
},
},
{
label: '创建人',
prop: 'createUser',
@ -45,5 +60,6 @@ export const columns = [
{
label: '创建时间',
prop: 'createTime',
width: 180,
},
];

View File

@ -68,7 +68,7 @@ const editVisible=ref(false)
type:''
});
const actionColumn = reactive({
width: 250,
width: 200,
label: '操作',
prop: 'action',
fixed: 'right',