优化文件模板
This commit is contained in:
parent
66643f8038
commit
d682edc661
@ -8,19 +8,23 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
label: 'ID',
|
label: 'ID',
|
||||||
prop: 'id',
|
prop: 'id',
|
||||||
width: 100,
|
fixed: 'left',
|
||||||
|
width: 50,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板名称',
|
label: '模板名称',
|
||||||
prop: 'title',
|
prop: 'title',
|
||||||
|
width: 200,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板编码',
|
label: '模板编码',
|
||||||
prop: 'code',
|
prop: 'code',
|
||||||
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板类型',
|
label: '模板类型',
|
||||||
prop: 'type',
|
prop: 'type',
|
||||||
|
width: 100,
|
||||||
render(record) {
|
render(record) {
|
||||||
let typeText = '';
|
let typeText = '';
|
||||||
switch (record.row.type) {
|
switch (record.row.type) {
|
||||||
@ -42,10 +46,12 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
label: '文件名称',
|
label: '文件名称',
|
||||||
prop: 'fileName',
|
prop: 'fileName',
|
||||||
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '文件路径',
|
label: '文件路径',
|
||||||
prop: 'filePath',
|
prop: 'filePath',
|
||||||
|
width: 150,
|
||||||
render(record) {
|
render(record) {
|
||||||
return h(
|
return h(
|
||||||
'a',
|
'a',
|
||||||
@ -60,6 +66,7 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
label: '创建人',
|
label: '创建人',
|
||||||
prop: 'createUser',
|
prop: 'createUser',
|
||||||
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '创建时间',
|
label: '创建时间',
|
||||||
|
@ -8,23 +8,28 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
label: 'ID',
|
label: 'ID',
|
||||||
prop: 'id',
|
prop: 'id',
|
||||||
width: 100,
|
fixed: 'left',
|
||||||
|
width: 50,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板名称',
|
label: '模板名称',
|
||||||
prop: 'name',
|
prop: 'name',
|
||||||
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板编码',
|
label: '模板编码',
|
||||||
prop: 'code',
|
prop: 'code',
|
||||||
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '文件名称',
|
label: '文件名称',
|
||||||
prop: 'fileName',
|
prop: 'fileName',
|
||||||
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '文件路径',
|
label: '文件路径',
|
||||||
prop: 'filePath',
|
prop: 'filePath',
|
||||||
|
width: 150,
|
||||||
render(record) {
|
render(record) {
|
||||||
return h(
|
return h(
|
||||||
'a',
|
'a',
|
||||||
@ -39,6 +44,7 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
label: '创建人',
|
label: '创建人',
|
||||||
prop: 'createUser',
|
prop: 'createUser',
|
||||||
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '创建时间',
|
label: '创建时间',
|
||||||
|
@ -8,23 +8,28 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
label: 'ID',
|
label: 'ID',
|
||||||
prop: 'id',
|
prop: 'id',
|
||||||
width: 100,
|
fixed: 'left',
|
||||||
|
width: 50,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板编号',
|
label: '模板编号',
|
||||||
prop: 'number',
|
prop: 'number',
|
||||||
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板名称',
|
label: '模板名称',
|
||||||
prop: 'title',
|
prop: 'title',
|
||||||
|
width: 200,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板编码',
|
label: '模板编码',
|
||||||
prop: 'code',
|
prop: 'code',
|
||||||
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '消息类型',
|
label: '消息类型',
|
||||||
prop: 'type',
|
prop: 'type',
|
||||||
|
width: 100,
|
||||||
render(record) {
|
render(record) {
|
||||||
let typeText = '';
|
let typeText = '';
|
||||||
switch (record.row.type) {
|
switch (record.row.type) {
|
||||||
@ -51,6 +56,7 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
label: '创建人',
|
label: '创建人',
|
||||||
prop: 'createUser',
|
prop: 'createUser',
|
||||||
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '创建时间',
|
label: '创建时间',
|
||||||
|
@ -8,23 +8,28 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
label: 'ID',
|
label: 'ID',
|
||||||
prop: 'id',
|
prop: 'id',
|
||||||
width: 100,
|
fixed: 'left',
|
||||||
|
width: 50,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板编号',
|
label: '模板编号',
|
||||||
prop: 'number',
|
prop: 'number',
|
||||||
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板名称',
|
label: '模板名称',
|
||||||
prop: 'title',
|
prop: 'title',
|
||||||
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板编码',
|
label: '模板编码',
|
||||||
prop: 'code',
|
prop: 'code',
|
||||||
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '模板类型',
|
label: '模板类型',
|
||||||
prop: 'type',
|
prop: 'type',
|
||||||
|
width: 100,
|
||||||
render(record) {
|
render(record) {
|
||||||
let typeText = '';
|
let typeText = '';
|
||||||
switch (record.row.type) {
|
switch (record.row.type) {
|
||||||
@ -51,6 +56,7 @@ export const columns = [
|
|||||||
{
|
{
|
||||||
label: '创建人',
|
label: '创建人',
|
||||||
prop: 'createUser',
|
prop: 'createUser',
|
||||||
|
width: 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '创建时间',
|
label: '创建时间',
|
||||||
|
Loading…
Reference in New Issue
Block a user