优化文件模板

This commit is contained in:
zjl 2024-12-12 15:52:00 +08:00
parent 66643f8038
commit d682edc661
4 changed files with 29 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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