|
|
@ -165,8 +165,8 @@ export class AddUpdateContactComponent implements OnInit {
|
|
|
|
P_FUNCTION_NAME: this.functionName,
|
|
|
|
P_FUNCTION_NAME: this.functionName,
|
|
|
|
P_SELECTED_EMPLOYEE_NUMBER: this.selEmp,
|
|
|
|
P_SELECTED_EMPLOYEE_NUMBER: this.selEmp,
|
|
|
|
P_MENU_TYPE: this.menuType,
|
|
|
|
P_MENU_TYPE: this.menuType,
|
|
|
|
P_SELECTED_RESP_ID: this.respID,
|
|
|
|
P_SELECTED_RESP_ID: this.respID
|
|
|
|
'P_DESC_FLEX_CONTEXT_CODE': 'HMG_ADD_CONTACT_DETAILS'
|
|
|
|
// 'P_DESC_FLEX_CONTEXT_CODE': 'HMG_ADD_CONTACT_DETAILS'
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.profileService.getContactDFFStrutre(body).subscribe((result: any) => {
|
|
|
|
this.profileService.getContactDFFStrutre(body).subscribe((result: any) => {
|
|
|
|
this.handleDffStructureResult(result);
|
|
|
|
this.handleDffStructureResult(result);
|
|
|
@ -181,16 +181,17 @@ export class AddUpdateContactComponent implements OnInit {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
private getBasicffStructure() {
|
|
|
|
private getBasicffStructure() {
|
|
|
|
const body = {
|
|
|
|
this.getColumnStructure();
|
|
|
|
P_FUNCTION_NAME: this.functionName,
|
|
|
|
// const body = {
|
|
|
|
P_SELECTED_EMPLOYEE_NUMBER: this.selEmp,
|
|
|
|
// P_FUNCTION_NAME: this.functionName,
|
|
|
|
P_MENU_TYPE: this.menuType,
|
|
|
|
// P_SELECTED_EMPLOYEE_NUMBER: this.selEmp,
|
|
|
|
P_SELECTED_RESP_ID: this.respID,
|
|
|
|
// P_MENU_TYPE: this.menuType,
|
|
|
|
P_REQUEST_TYPE: this.getPassMnuEntryObj.REQUEST_TYPE
|
|
|
|
// P_SELECTED_RESP_ID: this.respID,
|
|
|
|
};
|
|
|
|
// P_REQUEST_TYPE: this.getPassMnuEntryObj.REQUEST_TYPE
|
|
|
|
this.profileService.getBasicDFFStrutre(body).subscribe((result: any) => {
|
|
|
|
// };
|
|
|
|
this.handleBasicDffStructureResult(result);
|
|
|
|
// this.profileService.getBasicDFFStrutre(body).subscribe((result: any) => {
|
|
|
|
});
|
|
|
|
// this.handleBasicDffStructureResult(result);
|
|
|
|
|
|
|
|
// });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public handleBasicColStructureResult(result) {
|
|
|
|
public handleBasicColStructureResult(result) {
|
|
|
@ -2122,7 +2123,7 @@ export class AddUpdateContactComponent implements OnInit {
|
|
|
|
DATE_VALUE: this.cs.formatDate(this.endDate)
|
|
|
|
DATE_VALUE: this.cs.formatDate(this.endDate)
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.arrValues = this.getElementsValues();
|
|
|
|
// this.arrValues = this.getElementsValues();
|
|
|
|
var dffvalues = this.getElementsValuesDff();
|
|
|
|
var dffvalues = this.getElementsValuesDff();
|
|
|
|
let staticValues = this.getElementsStaticValues();
|
|
|
|
let staticValues = this.getElementsStaticValues();
|
|
|
|
allStatisDynamicValues = dffvalues.concat(this.arrValues.concat(staticValues));
|
|
|
|
allStatisDynamicValues = dffvalues.concat(this.arrValues.concat(staticValues));
|
|
|
|