check workflow
This commit is contained in:
parent
358a17e40d
commit
168cfcee46
9 changed files with 1667 additions and 1836 deletions
|
|
@ -80,7 +80,8 @@ export class AppointController extends Controller {
|
|||
*/
|
||||
@Get("{id}")
|
||||
async GetById(@Request() request: RequestWithUser, @Path() id: string) {
|
||||
await new permission().PermissionGet(request, "SYS_PROBATION")
|
||||
let _workflow = await new permission().Workflow(request, id, "SYS_PROBATION")
|
||||
if (_workflow == false) await new permission().PermissionGet(request, "SYS_PROBATION")
|
||||
|
||||
const appoint = await this.appointRepository.findOne({
|
||||
select: ["id", "topic", "status", "profileId"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue