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