优化文件模板
This commit is contained in:
parent
ffec132bd0
commit
b789f4eff6
@ -7,7 +7,8 @@ export const columns = [
|
||||
},
|
||||
{
|
||||
label: 'ID',
|
||||
prop: 'id'
|
||||
prop: 'id',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
label: '模板名称',
|
||||
@ -17,6 +18,20 @@ export const columns = [
|
||||
label: '模板编码',
|
||||
prop: 'code',
|
||||
},
|
||||
{
|
||||
label: '文件名称',
|
||||
prop: 'fileName',
|
||||
},
|
||||
{
|
||||
label: '文件路径',
|
||||
prop: 'filePath',
|
||||
render(record) {
|
||||
return h('a', {
|
||||
href: record.row.filePath,
|
||||
target:"_blank"
|
||||
}, "点击查看文件");
|
||||
},
|
||||
},
|
||||
{
|
||||
label: '创建人',
|
||||
prop: 'createUser',
|
||||
@ -24,5 +39,6 @@ export const columns = [
|
||||
{
|
||||
label: '创建时间',
|
||||
prop: 'createTime',
|
||||
width: 180,
|
||||
},
|
||||
];
|
||||
|
@ -67,7 +67,7 @@ const editVisible=ref(false)
|
||||
name:'',
|
||||
});
|
||||
const actionColumn = reactive({
|
||||
width: 250,
|
||||
width: 200,
|
||||
label: '操作',
|
||||
prop: 'action',
|
||||
fixed: 'right',
|
||||
|
Loading…
Reference in New Issue
Block a user