feature: schedule
This commit is contained in:
parent
db33a9b225
commit
2bc5b6c88a
|
|
@ -114,6 +114,7 @@ class Task extends Backend
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assignconfig("review", $this->auth->check("oa/task/review"));
|
$this->assignconfig("review", $this->auth->check("oa/task/review"));
|
||||||
|
$this->assignconfig("detail", $this->auth->check("oa/task/detail"));
|
||||||
return $this->view->fetch();
|
return $this->view->fetch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||||
title: __('查看详情'),
|
title: __('查看详情'),
|
||||||
classname: 'btn btn-xs btn-primary btn-dialog',
|
classname: 'btn btn-xs btn-primary btn-dialog',
|
||||||
icon: 'fa fa-list',
|
icon: 'fa fa-list',
|
||||||
url: 'oa/doc/detail'
|
url: 'oa/doc/detail',
|
||||||
|
visible:function(row){
|
||||||
|
if (!Config.detail) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user