Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {Component, OnInit} from '@angular/core';
- import {Router} from '@angular/router';
- import {PaginationArgs} from 'AppSharedModels';
- import {ToastService, UtilsService} from 'AppSharedServices';
- import {AbstractGenericSinglePageContainer} from 'AppSharedUtils';
- import {SmartJobPosition} from '../../models/position-job.model';
- import {PositionJobService} from '../../services/position-job.service';
- @Component({
- selector: 'acc-position-job-container',
- templateUrl: './position-job-container.component.html',
- styleUrls: ['./position-job-container.component.scss']
- })
- export class PositionJobContainerComponent
- extends AbstractGenericSinglePageContainer<SmartJobPosition, PositionJobService>
- implements OnInit {
- private msgs: any[];
- private dataRadar: any[] = [];
- private test : any[];
- private cards: any[] = [{
- "position": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- },
- "employees": [{
- "id": "5a6b355b11799e0008e52b23",
- "firstName": "Amine",
- "lastName": "Mohamed",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2014-01-01"
- },
- "registrationNumber": "01",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-01-04",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2017-02-04"
- },
- "contract": {
- "contractType": "CRT_CDI"
- },
- "profilePicture": "5b5d2067-aed1-4473-8b39-ab52be70c159",
- "userAccount": "BL_TRUE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2017-02-04",
- "effectiveStatus": "STA_ACT"
- },
- "email": "kawther.guesmi@advyteam.com",
- "seniorityCompanyPeriod": "P1Y2M15D",
- "lastHiringDate": "2017-02-04"
- }, {
- "id": "5a6b359f11799e0008e52b24",
- "firstName": "Asma",
- "lastName": "Jlassi",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2017-01-01"
- },
- "registrationNumber": "02",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2017-01-01",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2000-12-12"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": "",
- "userAccount": "BL_FALSE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2000-12-12",
- "effectiveStatus": "STA_ACT"
- },
- "email": "",
- "seniorityCompanyPeriod": "P16Y3M10D",
- "lastHiringDate": "2000-12-12"
- }, {
- "id": "5a6b36ee11799e0008e52b26",
- "firstName": "Yassine",
- "lastName": "MSAKNI",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2016-06-01"
- },
- "registrationNumber": "09",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-02-10",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2030-03-02"
- },
- "contract": {
- "contractType": "CRT_CDI"
- },
- "profilePicture": "336d7080-ba06-4c02-b0fb-beee76449af2",
- "userAccount": "BL_TRUE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2030-03-02",
- "effectiveStatus": "STA_NACT"
- },
- "email": "kawthar.guesmi@advyteam.com",
- "seniorityCompanyPeriod": "P-11Y-10M-13D",
- "lastHiringDate": "2030-03-02"
- }, {
- "id": "5a6f22b72fbaa80007ed076b",
- "firstName": "segni",
- "lastName": "hajer",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2018-01-01"
- },
- "registrationNumber": "tes4",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-01-01",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2018-01-01"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": "96560d2e-9097-4ee0-80fa-53fc45cd7d5b",
- "userAccount": "BL_TRUE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2018-01-01",
- "effectiveStatus": "STA_ACT"
- },
- "email": "ilyes.ghomri@advyteam.com",
- "seniorityCompanyPeriod": "P3M18D",
- "lastHiringDate": "2018-01-01"
- }, {
- "id": "5a7096c911799e000934e181",
- "firstName": "ameni",
- "lastName": "jmaiel",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2018-01-02"
- },
- "registrationNumber": "0147",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-01-02",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2018-02-13"
- },
- "contract": {
- "contractType": "CRT_SIVP"
- },
- "profilePicture": "f22e2d4c-6dc5-4591-bee9-8bac30a459fa",
- "userAccount": "BL_TRUE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2018-02-13",
- "effectiveStatus": "STA_ACT"
- },
- "email": "ameni.jmaiel@advyteam.com",
- "seniorityCompanyPeriod": "P2M6D",
- "lastHiringDate": "2018-02-13"
- }, {
- "id": "5a71c8a6e5cf3e0008ebd6ab",
- "firstName": "dateTest",
- "lastName": "dateTest",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_EX",
- "typeEffectiveDate": "2018-01-02"
- },
- "registrationNumber": "aaaaaaaa",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-01-02",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2018-01-02"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": null,
- "userAccount": "BL_FALSE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2018-01-02",
- "effectiveStatus": "STA_ACT"
- },
- "email": null,
- "seniorityCompanyPeriod": "P3M17D",
- "lastHiringDate": "2018-01-02"
- }, {
- "id": "5a734580f2a99e000894436b",
- "firstName": "2",
- "lastName": "2",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2018-02-01"
- },
- "registrationNumber": "26",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-02-01",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2018-02-01"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": null,
- "userAccount": "BL_FALSE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2018-02-01",
- "effectiveStatus": "STA_ACT"
- },
- "email": null,
- "seniorityCompanyPeriod": "P2M18D",
- "lastHiringDate": "2018-02-01"
- }, {
- "id": "5a74299af2a99e0008944396",
- "firstName": "vvv",
- "lastName": "vvvvvvv",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_EX",
- "typeEffectiveDate": "2018-02-01"
- },
- "registrationNumber": "cc",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-02-01",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2018-02-01"
- },
- "contract": {
- "contractType": "CRT_CDI"
- },
- "profilePicture": null,
- "userAccount": "BL_FALSE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2018-02-01",
- "effectiveStatus": "STA_ACT"
- },
- "email": null,
- "seniorityCompanyPeriod": "P2M18D",
- "lastHiringDate": "2018-02-01"
- }, {
- "id": "5a742bacf2a99e0008944398",
- "firstName": "testMail",
- "lastName": "testMail",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_EX",
- "typeEffectiveDate": "2018-02-01"
- },
- "registrationNumber": "11",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-02-01",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2018-02-01"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": "",
- "userAccount": "BL_TRUE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2018-02-01",
- "effectiveStatus": "STA_ACT"
- },
- "email": "wajdi.dhaouadi@advyteam.com",
- "seniorityCompanyPeriod": "P2M18D",
- "lastHiringDate": "2018-02-01"
- }, {
- "id": "5a7b02d80f235f0008f37713",
- "firstName": "p",
- "lastName": "p",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2018-02-02"
- },
- "registrationNumber": "4",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-02-02",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b329f11799e0008e52b18",
- "code": "EO05",
- "label": "R&D"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b330711799e0008e52b1c",
- "code": "01",
- "label": "Ingénieur R&D"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2018-02-02"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": null,
- "userAccount": "BL_FALSE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2018-02-02",
- "effectiveStatus": "STA_ACT"
- },
- "email": null,
- "seniorityCompanyPeriod": "P2M17D",
- "lastHiringDate": "2018-02-02"
- }],
- "radarDTOS": [{
- "codeClassification": "CLAS_JAV",
- "labelClassification": "Java",
- "labelsOfSkills": ["ajax", "java8", "javascript"],
- "labelsOfLevels": ["Beginner", "Intermidiate", "Advanced"],
- "data": [1, 2, 2]
- }, {
- "codeClassification": "CLAS_ANG",
- "labelClassification": "AngularJs",
- "labelsOfSkills": ["angular 2"],
- "labelsOfLevels": ["label3"],
- "data": [3]
- }]
- }, {
- "position": {
- "id": "5a6b34d311799e0008e52b22",
- "code": "04",
- "label": "Ingénieur Test & Validation"
- },
- "employees": [{
- "id": "5a6b366511799e0008e52b25",
- "firstName": "Wajdi2",
- "lastName": "DHAOUADI",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2014-03-03"
- },
- "registrationNumber": "03",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-02-16",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b339d11799e0008e52b1d",
- "code": "EO10",
- "label": "Qualité"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b34d311799e0008e52b22",
- "code": "04",
- "label": "Ingénieur Test & Validation"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2017-01-01"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": "c52c4ecf-484d-4616-9bbe-78a71882aace",
- "userAccount": "BL_TRUE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2017-01-01",
- "effectiveStatus": "STA_ACT"
- },
- "email": "asma.jlassi@advyteam.com",
- "seniorityCompanyPeriod": "P1Y3M18D",
- "lastHiringDate": "2017-01-01"
- }, {
- "id": "5a702b7e11799e0008cbc71c",
- "firstName": "aa",
- "lastName": "aa",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2015-01-01"
- },
- "registrationNumber": "1212",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2015-01-01",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b339d11799e0008e52b1d",
- "code": "EO10",
- "label": "Qualité"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b34d311799e0008e52b22",
- "code": "04",
- "label": "Ingénieur Test & Validation"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2015-01-01"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": "97b88253-c455-4c4b-9cba-a253fc0d21c1",
- "userAccount": "BL_FALSE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2018-01-29",
- "effectiveStatus": "STA_NACT"
- },
- "email": "",
- "seniorityCompanyPeriod": "P3Y28D",
- "lastHiringDate": "2015-01-01"
- }, {
- "id": "5a707dcb11799e000934e180",
- "firstName": "segni",
- "lastName": "Hajer",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2013-02-02"
- },
- "registrationNumber": "r5",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2013-02-02",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b339d11799e0008e52b1d",
- "code": "EO10",
- "label": "Qualité"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b34d311799e0008e52b22",
- "code": "04",
- "label": "Ingénieur Test & Validation"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2013-02-02"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": "25309438-d972-4ff7-b48a-a10ee79ed93e",
- "userAccount": "BL_FALSE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2013-02-02",
- "effectiveStatus": "STA_ACT"
- },
- "email": "",
- "seniorityCompanyPeriod": "P5Y2M17D",
- "lastHiringDate": "2013-02-02"
- }, {
- "id": "5a7429f3f2a99e0008944397",
- "firstName": "VVCC",
- "lastName": "NNN",
- "employeeType": {
- "id": null,
- "employeeType": "EMPT_IN",
- "typeEffectiveDate": "2018-02-01"
- },
- "registrationNumber": "XX",
- "affectation": {
- "id": null,
- "affectationEffectiveDate": "2018-02-01",
- "affectationEndDate": null,
- "affectedOrganizationalEntity": {
- "id": "5a6b339d11799e0008e52b1d",
- "code": "EO10",
- "label": "Qualité"
- },
- "affectedJob": {
- "id": "5a6b327011799e0008e52b16",
- "code": "01",
- "label": "Ingénieur"
- },
- "affectedPosition": {
- "id": "5a6b34d311799e0008e52b22",
- "code": "04",
- "label": "Ingénieur Test & Validation"
- }
- },
- "hiringExit": {
- "hiringEffectiveDate": "2018-02-01"
- },
- "contract": {
- "contractType": "CRT_CDD"
- },
- "profilePicture": null,
- "userAccount": "BL_FALSE",
- "status": {
- "id": null,
- "statusEffectiveDate": "2018-02-01",
- "effectiveStatus": "STA_ACT"
- },
- "email": null,
- "seniorityCompanyPeriod": "P2M18D",
- "lastHiringDate": "2018-02-01"
- }],
- "radarDTOS": [{
- "codeClassification": "CLAS_CON",
- "labelClassification": "Conception",
- "labelsOfSkills": ["conception"],
- "labelsOfLevels": ["Débutant"],
- "data": [1]
- }, {
- "codeClassification": "CLAS_ANG",
- "labelClassification": "AngularJs",
- "labelsOfSkills": ["angular 2"],
- "labelsOfLevels": ["label2"],
- "data": [2]
- }]
- }];
- private option: string = 'position';
- private paginationArgs: PaginationArgs = {
- pageNumber: 0,
- pageSize: 4,
- sorts: null
- };
- // private model: any[];
- private analyseGraph: boolean = false;
- private employees: any[] = [];
- private analyses: boolean = false;
- private fiches: boolean = true;
- private hraction: boolean = false;
- private t: string = 'e';
- public postes: string[] = ['Agent Commercial', 'Ingénieur développement ',
- 'Avant vente', 'Tech Leader', 'Consultant', 'Ingénieur R&D ', 'Ingénieur testing', 'Manager Qualité']
- // team
- private collaborators: any[] = [
- {
- 'id': 1,
- 'firstname': 'Marvell',
- 'lastname': 'Nkouka',
- 'poste': 'Développeur Web',
- 'img': '02.jpg',
- 'competence': [1, 3, 4]
- },
- {
- 'id': 2,
- 'firstname': 'Alban',
- 'lastname': 'Bita',
- 'poste': 'Consultant',
- 'img': '03.jpg',
- 'competence': [1, 3, 2]
- },
- {
- 'id': 3,
- 'firstname': 'Bertrand',
- 'lastname': 'Menier',
- 'poste': 'Commercial',
- 'img': '04.jpg',
- 'competence': [3, 1, 4]
- },
- {
- 'id': 4,
- 'firstname': 'Riley',
- 'lastname': 'Bray',
- 'poste': 'Développeur Mobile',
- 'img': '10.jpg',
- 'competence': [5, 2, 4]
- },
- {
- 'id': 5,
- 'firstname': 'Omar',
- 'lastname': 'Ouelhezi',
- 'poste': 'Désigner',
- 'img': '13.jpg',
- 'competence': [1, 1, 2]
- },
- {
- 'id': 6,
- 'firstname': 'Andrew',
- 'lastname': 'Mike',
- 'poste': 'Commercial',
- 'img': '11.jpg',
- 'competence': [4, 5, 4]
- },
- {
- 'id': 7,
- 'firstname': 'Danièle',
- 'lastname': ' Mabondzot',
- 'poste': 'Ingénieur avant vente',
- 'img': '09.jpg',
- 'competence': [1, 2, 1]
- },
- {
- 'id': 8,
- 'firstname': 'Frederic',
- 'lastname': 'Note',
- 'poste': 'Consultant RH',
- 'img': '04.jpg',
- 'competence': [5, 3, 4]
- }
- ];
- private competences: any[] = [
- {
- 'name': 'Java',
- 'val': 2
- },
- {
- 'name': 'AngularJS',
- 'val': 4
- },
- {
- 'name': 'HTML/CSS',
- 'val': 5
- }
- ];
- private easyPiePercent1: number = 65;
- private pieOptions1: any = {
- animate: {
- duration: 2000,
- enabled: true
- },
- barColor: '#23b7e5',
- trackColor: '#F5F5F5',
- scaleColor: false,
- lineWidth: 5,
- lineCap: 'round',
- size: 170
- };
- // BAR
- // -----------------------------------
- private barData: any = [
- {
- label: 'Compétences',
- color: '#23b7e5',
- data: [
- [10, 16],
- [20, 40],
- [30, 55],
- [40, 38],
- [50, 77],
- [60, 30],
- [70, 33],
- [80, 54],
- [90, 37],
- [100, 11]
- ]
- }];
- private barOptions: any = {
- series: {
- bars: {
- align: 'center',
- lineWidth: 0,
- show: true,
- barWidth: 2.7,
- fill: 0.9
- }
- },
- grid: {
- borderColor: '#eee',
- borderWidth: 1,
- hoverable: true,
- backgroundColor: '#fcfcfc'
- },
- tooltip: true,
- tooltipOpts: {
- content: function (label, x, y) {
- return x + ' : ' + y;
- }
- },
- xaxis: {
- tickColor: '#fcfcfc',
- tickFormatter: function (v) {
- return v + '%';
- }
- },
- yaxis: {
- tickColor: '#eee',
- tickFormatter: function (v) {
- return v + '%';
- }
- },
- shadowSize: 0
- };
- constructor(
- router: Router,
- private tt: ToastService,
- toastService: ToastService,
- private utilsService: UtilsService,
- private positionJobService: PositionJobService
- ) {
- super(router, positionJobService, toastService);
- }
- public ngOnInit(): void {
- console.log('container');
- this.positionJobService
- .getCardsSkillsOfPosition(["01", "04"], ["code01", "code02", "code03", "code05", "code06"])
- .subscribe(value => {
- this.test = value['content'];
- this.cards = value['content'];
- console.log(this.test);
- })
- }
- protected initializeData() {
- console.log('initializeData');
- }
- private optionSelected(event: any): void {
- this.option = event;
- }
- public loadMore() {
- this.paginationArgs.pageNumber++;
- this.cards = this.cards.slice(0);
- console.log('loadMore' + this.cards);
- // this.scrollPlanningEvent.emit();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement