style: lint
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
import { BaseSASResponse } from "./common/BaseSASResponse";
|
||||
import { BaseSASResponse } from './common/BaseSASResponse'
|
||||
|
||||
export interface PublicGetChangeinfo extends BaseSASResponse {
|
||||
jsparams: Jsparam[]
|
||||
jsparams: Jsparam[]
|
||||
}
|
||||
|
||||
export interface Jsparam {
|
||||
TABLE_ID: string;
|
||||
SUBMIT_STATUS_CD: string;
|
||||
BASE_LIB: string;
|
||||
BASE_DS: string;
|
||||
SUBMITTED_BY_NM: string;
|
||||
SUBMITTED_ON: number;
|
||||
SUBMITTED_REASON_TXT: string;
|
||||
INPUT_OBS: number;
|
||||
INPUT_VARS: number;
|
||||
NUM_OF_APPROVALS_REQUIRED: number;
|
||||
NUM_OF_APPROVALS_REMAINING: number;
|
||||
REVIEWED_BY_NM: string;
|
||||
REVIEWED_ON?: any;
|
||||
TABLE_NM: string;
|
||||
BASE_TABLE: string;
|
||||
REVIEWED_ON_DTTM: string;
|
||||
SUBMITTED_ON_DTTM: string;
|
||||
LIB_ENGINE: string;
|
||||
ALLOW_RESTORE: string;
|
||||
REASON: string;
|
||||
}
|
||||
TABLE_ID: string
|
||||
SUBMIT_STATUS_CD: string
|
||||
BASE_LIB: string
|
||||
BASE_DS: string
|
||||
SUBMITTED_BY_NM: string
|
||||
SUBMITTED_ON: number
|
||||
SUBMITTED_REASON_TXT: string
|
||||
INPUT_OBS: number
|
||||
INPUT_VARS: number
|
||||
NUM_OF_APPROVALS_REQUIRED: number
|
||||
NUM_OF_APPROVALS_REMAINING: number
|
||||
REVIEWED_BY_NM: string
|
||||
REVIEWED_ON?: any
|
||||
TABLE_NM: string
|
||||
BASE_TABLE: string
|
||||
REVIEWED_ON_DTTM: string
|
||||
SUBMITTED_ON_DTTM: string
|
||||
LIB_ENGINE: string
|
||||
ALLOW_RESTORE: string
|
||||
REASON: string
|
||||
}
|
||||
|
||||
@@ -167,7 +167,8 @@ export class ApproveDetailsComponent implements AfterViewInit, OnDestroy {
|
||||
.approveTable(approveParams, 'SASControlTable', 'auditors/postdata')
|
||||
.then((res: any) => {
|
||||
// If we are approving MPE_TABLES we will arm the trigger for the reload of startup data to se the updated tables
|
||||
if (this.refreshStartupserviceAfterApprove) this.sasService.reloadStartupData()
|
||||
if (this.refreshStartupserviceAfterApprove)
|
||||
this.sasService.reloadStartupData()
|
||||
this.route.navigateByUrl('/review/history')
|
||||
})
|
||||
.catch((err: any) => {
|
||||
@@ -198,7 +199,8 @@ export class ApproveDetailsComponent implements AfterViewInit, OnDestroy {
|
||||
|
||||
// If we are approving MPE_TABLES we will arm the trigger for the reload of startup data to se the updated tables
|
||||
// After user approved if armed, reload will be triggered
|
||||
if (res.jsparams[0].BASE_DS === 'MPE_TABLES') this.refreshStartupserviceAfterApprove = true
|
||||
if (res.jsparams[0].BASE_DS === 'MPE_TABLES')
|
||||
this.refreshStartupserviceAfterApprove = true
|
||||
})
|
||||
.catch((err: any) => {
|
||||
this.acceptLoading = false
|
||||
|
||||
Reference in New Issue
Block a user