no message
This commit is contained in:
parent
44e0306322
commit
24f1e2cc49
4 changed files with 4 additions and 4 deletions
|
|
@ -233,7 +233,7 @@ export class KpiUserDevelopmentController extends Controller {
|
|||
*/
|
||||
@Get("{id}")
|
||||
async GetKpiUserDevelopmentDetail(@Request() request: RequestWithUser, @Path() id: string) {
|
||||
await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
// await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
const getKpiUserDevelopment = await this.kpiUserDevelopmentRepository.findOne({
|
||||
relations: ["kpiUserEvaluation", "developmentProjects"],
|
||||
where: { id: id },
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ export class KpiUserPlannedController extends Controller {
|
|||
*/
|
||||
@Get("{id}")
|
||||
async GetKpiUserPlannedDetail(@Request() request: RequestWithUser, @Path() id: string) {
|
||||
await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
// await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
const getKpiUserPlanned = await this.kpiUserPlannedRepository.findOne({
|
||||
relations: ["kpiPlan", "kpiUserEvaluation"],
|
||||
where: { id: id },
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ export class KpiUserRoleController extends Controller {
|
|||
*/
|
||||
@Get("{id}")
|
||||
async GetKpiUserRoleDetail(@Request() request: RequestWithUser, @Path() id: string) {
|
||||
await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
// await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
const getKpiUserRole = await this.kpiUserRoleRepository.findOne({
|
||||
relations: ["kpiRole", "kpiUserEvaluation"],
|
||||
where: { id: id },
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ export class KpiUserSpecialController extends Controller {
|
|||
*/
|
||||
@Get("{id}")
|
||||
async GetKpiUserSpecialDetail(@Request() request: RequestWithUser, @Path() id: string) {
|
||||
await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
// await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
const getKpiUserSpecial = await this.kpiUserSpecialRepository.findOne({
|
||||
relations: ["kpiUserEvaluation"],
|
||||
where: { id: id },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue