feature: task notice
This commit is contained in:
parent
fbdc9c8aba
commit
a31f337a65
|
|
@ -60,7 +60,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||||
},
|
},
|
||||||
visible: function (row) {
|
visible: function (row) {
|
||||||
//返回true时按钮显示,返回false隐藏
|
//返回true时按钮显示,返回false隐藏
|
||||||
if (row.status != 1) {
|
if (row.status != 1 && row.status != 5) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -74,7 +74,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||||
icon: 'fa fa-list',
|
icon: 'fa fa-list',
|
||||||
url: 'oa/task/review',
|
url: 'oa/task/review',
|
||||||
visible:function(row){
|
visible:function(row){
|
||||||
if (row.status != 3 && row.status != 5) {
|
if (row.status != 3) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user