修改邮件列表样式

This commit is contained in:
wans 2022-06-14 15:40:39 +08:00
parent 35d5ad6542
commit b5189c126f
4 changed files with 16 additions and 16 deletions

View File

@ -86,9 +86,9 @@
}, },
cols: [ cols: [
[ [
{type:'checkbox', width: 80, fixed: 'left'}, {type:'checkbox', width: 30, fixed: 'left'},
{field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'}, {field:'rowNum', width:60, title: '序号', fixed: 'left', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'},
{field: 'recipientNames', width: 260, title: '收件人', align:'center', {field: 'recipientNames', width: 330, title: '收件人', align:'center',
templet: function(row) { templet: function(row) {
var rowData = row[this.field]; var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
@ -103,7 +103,7 @@
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
return '-'; return '-';
} }
return '<span style="color: #1e88e5;text-decoration: underline;">' + rowData + '</span>'; return rowData;
} }
}, },
{field: 'delTime', title: '删除时间', width: 170, align:'center', {field: 'delTime', title: '删除时间', width: 170, align:'center',

View File

@ -83,9 +83,9 @@
}, },
cols: [ cols: [
[ [
{type:'checkbox', width: 80}, {type:'checkbox', width: 30, fixed: 'left'},
{field:'rowNum', width:80, title: '序号', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'}, {field:'rowNum', width:60, title: '序号', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'},
{field: 'recipientNames', width: 260, title: '收件人', align:'center', {field: 'recipientNames', width: 330, title: '收件人', align:'center',
templet: function(row) { templet: function(row) {
var rowData = row[this.field]; var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
@ -100,7 +100,7 @@
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
return '-'; return '-';
} }
return '<span style="color: #1e88e5;text-decoration: underline;">' + rowData + '</span>'; return rowData;
} }
}, },
{field: 'gmtCreate', title: '时间', width: 180, align:'center', {field: 'gmtCreate', title: '时间', width: 180, align:'center',

View File

@ -83,9 +83,9 @@
}, },
cols: [ cols: [
[ [
{type:'checkbox', width: '80'}, {type:'checkbox', width: 30, fixed: 'left'},
{field:'rowNum', width: '80', title: '序号', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'}, {field:'rowNum', width: '60', fixed: 'left', title: '序号', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'},
{field: 'recipientNames', width: '260', title: '收件人', align:'center', {field: 'recipientNames', width: '330', title: '收件人', align:'center',
templet: function(row) { templet: function(row) {
var rowData = row[this.field]; var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData === '') { if(typeof(rowData) === 'undefined' || rowData == null || rowData === '') {
@ -100,7 +100,7 @@
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
return '-'; return '-';
} }
return '<span style="color: #1e88e5;text-decoration: underline;">' + rowData + '</span>'; return rowData;
} }
}, },
{field: 'gmtCreate', title: '时间', width: 180, align:'center', {field: 'gmtCreate', title: '时间', width: 180, align:'center',

View File

@ -83,9 +83,9 @@
}, },
cols: [ cols: [
[ [
{type:'checkbox', width: '80'}, {type:'checkbox', width: '30', fixed: 'left'},
{field:'rowNum', width: '80', title: '序号', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'}, {field:'rowNum', width: '60', fixed: 'left', title: '序号', align:'center', templet: '<span>{{d.LAY_INDEX}}</span>'},
{field: 'recipientNames', width: '260', title: '收件人', align:'center', {field: 'recipientNames', width: '330', title: '收件人', align:'center',
templet: function(row) { templet: function(row) {
var rowData = row[this.field]; var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
@ -100,7 +100,7 @@
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
return '-'; return '-';
} }
return '<span style="color: #1e88e5;text-decoration: underline;">' + rowData + '</span>'; return rowData;
} }
}, },
{field: 'gmtCreate', width: '180', title: '时间', align:'center', {field: 'gmtCreate', width: '180', title: '时间', align:'center',