check workflow
This commit is contained in:
parent
e3e6a1df36
commit
a4647e102a
14 changed files with 84 additions and 73 deletions
|
|
@ -118,7 +118,8 @@ export class kpiGroupController extends Controller {
|
|||
nameGroupKPI: "string", //ชื่อกลุ่มงาน
|
||||
})
|
||||
async KpiGroupByIdEdit(@Request() request: RequestWithUser, @Path() id: string) {
|
||||
let _data = await new permission().PermissionGet(request, "SYS_EVA_COMPETENCY");
|
||||
let _workflow = await new permission().Workflow(request, id, "SYS_EVA_COMPETENCY");
|
||||
if (_workflow == false) await new permission().PermissionGet(request, "SYS_EVA_COMPETENCY");
|
||||
const kpiGroup = await this.kpiGroupRepository.findOne({
|
||||
where: { id: id },
|
||||
select: ["nameGroupKPI"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue