taskdo
This commit is contained in:
parent
81783317e7
commit
e54c109907
|
@ -26,10 +26,14 @@
|
||||||
{ field: 'taskadd', title: '任务开始时间', width: 80 },
|
{ field: 'taskadd', title: '任务开始时间', width: 80 },
|
||||||
{ field: 'taskexpire', title: '任务过期时间', width: 80 },
|
{ field: 'taskexpire', title: '任务过期时间', width: 80 },
|
||||||
{ field: 'usable', title: '任务状态', width: 80, formatter: function (value, row, index) {
|
{ field: 'usable', title: '任务状态', width: 80, formatter: function (value, row, index) {
|
||||||
switch (value) {
|
if(value==1){
|
||||||
case 0: return '过期'; break;
|
return '可用'
|
||||||
case 1: return '可用'; break;
|
}else if (value==0&&row.taskdo==null){
|
||||||
case 2: return '作废'; break;
|
return '过期'
|
||||||
|
}else if(value==0&&row.taskdo!=null){
|
||||||
|
return ''
|
||||||
|
}else if(value==2){
|
||||||
|
return '作废'
|
||||||
}
|
}
|
||||||
}, styler: function (value, row, index) {
|
}, styler: function (value, row, index) {
|
||||||
switch (value) {
|
switch (value) {
|
||||||
|
|
Loading…
Reference in New Issue