优化文件模板
This commit is contained in:
parent
66643f8038
commit
d682edc661
@ -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: '创建时间',
|
||||
|
@ -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: '创建时间',
|
||||
|
@ -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: '创建时间',
|
||||
|
@ -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: '创建时间',
|
||||
|
Loading…
Reference in New Issue
Block a user