优化用例管理、公共参数、任务调度、任务执行等页面的页面展示以及体验问题

This commit is contained in:
seagull 2020-12-31 15:42:51 +08:00
parent 4e86c4ee5d
commit 071e3071ee
4 changed files with 60 additions and 19 deletions

View File

@ -111,7 +111,11 @@
field : 'project.projectName',
title : '项目名称',
width : '9%',
class : 'myTDLengthHidden'
class : 'myTDLengthHidden',
formatter: function (value,
row, index) {
return $.table.tooltip(value);
}
},
{
field : 'taskName',
@ -126,16 +130,24 @@
{
field : 'createTime',
title : '开始时间',
width : '10%'
width : '10%',
class: 'myTDLengthHidden',
formatter: function (value,
row, index) {
return $.table.tooltip(value);
}
},
{
field : 'finishTime',
title : '结束时间',
width : '10%',
class: 'myTDLengthHidden',
formatter : function(value,
row, index) {
if(value==null){
value = '等待任务结束...';
}else{
value = $.table.tooltip(value);
}
return '<font id="finishtime' + row.taskId + '">'+value+'</font>';
}

View File

@ -124,13 +124,22 @@
{
field : 'project.projectName',
title : '项目名称',
width : '9%',
class : 'myTDLengthHidden'
width : '11%',
class : 'myTDLengthHidden',
formatter: function (value,
row, index) {
return $.table.tooltip(value);
}
},
{
field : 'projectPlan.planName',
title : '计划名称',
width : '16%'
width : '16%',
class : 'myTDLengthHidden',
formatter: function (value,
row, index) {
return $.table.tooltip(value);
}
},
{
field : 'job.misfirePolicy',
@ -161,12 +170,16 @@
field : 'client.clientIp',
title : '客户端IP',
width : '10%',
class : 'myTDLengthHidden'
class : 'myTDLengthHidden',
formatter: function (value,
row, index) {
return $.table.tooltip(value);
}
},
{
field : 'exThreadCount',
title : '线程',
width : '7%',
width : '5%',
class : 'myTDLengthHidden'
},
{

View File

@ -149,7 +149,7 @@
{
field: 'project.projectName',
title: '项目名称',
width: '10%',
width: '8%',
class: 'myTDLengthHidden',
formatter: function (value,
row, index) {
@ -159,7 +159,7 @@
{
field: 'projectCaseModule.moduleName',
title: '模块名称',
width: '12%',
width: '11%',
class: 'myTDLengthHidden',
formatter: function (value,
row, index) {
@ -170,7 +170,7 @@
field: 'caseSign',
title: '用例编号',
sortable: true,
width: '7%',
width: '10%',
class: 'myTDLengthHidden',
formatter: function (value, row, index) {
return '<a class="btn btn-info btn-edit" onclick="$.operate.customFull('+row.caseId+')">'+value+'</a>';
@ -254,7 +254,11 @@
title: '更新时间',
sortable: true,
width: '12%',
class: 'myTDLengthHidden'
class: 'myTDLengthHidden',
formatter: function (value,
row, index) {
return $.table.tooltip(value);
}
},
{
field: 'remark',

View File

@ -99,9 +99,9 @@
class : 'myTDLengthHidden',
formatter: function(value, row, index) {
if(null!=value){
return value;
return $.table.tooltip(value);
}else{
return "所有项目";
return $.table.tooltip("所有项目");
}
}
},
@ -109,7 +109,11 @@
field : 'paramsName',
title : '参数名称',
width : '10%',
class : 'myTDLengthHidden'
class : 'myTDLengthHidden',
formatter: function (value,
row, index) {
return $.table.tooltip(value);
}
},
{
field : 'paramsValue',
@ -141,20 +145,28 @@
{
field : 'updateBy',
title : '更新者',
width : '10%',
class : 'myTDLengthHidden'
width : '5%',
class : 'myTDLengthHidden',
formatter: function (value,
row, index) {
return $.table.tooltip(value);
}
},
{
field : 'updateTime',
title : '更新时间',
sortable: true,
width : '10%',
class : 'myTDLengthHidden'
width : '12%',
class : 'myTDLengthHidden',
formatter: function (value,
row, index) {
return $.table.tooltip(value);
}
},
{
field : 'remark',
title : '备注',
width : '10%',
width : '13%',
class : 'myTDLengthHidden',
editable : {
type : 'textarea',