feature: schedule

This commit is contained in:
zhuyu 2025-05-21 17:07:19 +08:00
parent db33a9b225
commit 2bc5b6c88a
2 changed files with 8 additions and 1 deletions

View File

@ -114,6 +114,7 @@ class Task extends Backend
}
$this->assignconfig("review", $this->auth->check("oa/task/review"));
$this->assignconfig("detail", $this->auth->check("oa/task/detail"));
return $this->view->fetch();
}

View File

@ -40,7 +40,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
title: __('查看详情'),
classname: 'btn btn-xs btn-primary btn-dialog',
icon: 'fa fa-list',
url: 'oa/doc/detail'
url: 'oa/doc/detail',
visible:function(row){
if (!Config.detail) {
return false;
}
return true;
}
}
]
}