feature: task notice

This commit is contained in:
zhuyu 2025-06-02 12:15:32 +08:00
parent fbdc9c8aba
commit a31f337a65

View File

@ -60,7 +60,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
},
visible: function (row) {
//返回true时按钮显示,返回false隐藏
if (row.status != 1) {
if (row.status != 1 && row.status != 5) {
return false;
}
return true;
@ -74,7 +74,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
icon: 'fa fa-list',
url: 'oa/task/review',
visible:function(row){
if (row.status != 3 && row.status != 5) {
if (row.status != 3) {
return false;
}
return true;