hl-core 0.0.9-beta.24 → 0.0.9-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/base.api.ts +70 -1
- package/api/interceptors.ts +3 -3
- package/components/Dialog/Dialog.vue +60 -15
- package/components/Form/FormData.vue +48 -0
- package/components/Layout/SettingsPanel.vue +4 -3
- package/components/Pages/Documents.vue +3 -3
- package/components/Pages/MemberForm.vue +10 -2
- package/components/Pages/ProductConditions.vue +51 -3
- package/components/Panel/PanelHandler.vue +29 -7
- package/composables/classes.ts +225 -113
- package/composables/styles.ts +2 -0
- package/locales/ru.json +102 -18
- package/package.json +1 -1
- package/store/data.store.ts +279 -10
- package/store/form.store.ts +3 -1
- package/types/index.ts +38 -2
package/composables/classes.ts
CHANGED
|
@@ -995,6 +995,7 @@ export class DataStoreClass {
|
|
|
995
995
|
ManagerPolicy: Value[];
|
|
996
996
|
AgentData: AgentData[];
|
|
997
997
|
riskGroup: Value[];
|
|
998
|
+
DicCoverTypePeriod: Value[];
|
|
998
999
|
currencies: {
|
|
999
1000
|
eur: number | null;
|
|
1000
1001
|
usd: number | null;
|
|
@@ -1071,6 +1072,7 @@ export class DataStoreClass {
|
|
|
1071
1072
|
this.RegionPolicy = [];
|
|
1072
1073
|
this.ManagerPolicy = [];
|
|
1073
1074
|
this.AgentData = [];
|
|
1075
|
+
this.DicCoverTypePeriod = [];
|
|
1074
1076
|
this.product = import.meta.env.VITE_PRODUCT ? (import.meta.env.VITE_PRODUCT as Projects) : null;
|
|
1075
1077
|
this.showNav = true;
|
|
1076
1078
|
this.menuItems = [];
|
|
@@ -1203,14 +1205,17 @@ export class FormStoreClass {
|
|
|
1203
1205
|
isUploadedSignedContract: boolean;
|
|
1204
1206
|
signedContractFormData: any;
|
|
1205
1207
|
lfb: {
|
|
1206
|
-
|
|
1208
|
+
clients: ClientV2[];
|
|
1207
1209
|
fixInsAmount: Value[];
|
|
1208
|
-
policyholder:
|
|
1209
|
-
|
|
1210
|
+
policyholder: MemberV2;
|
|
1211
|
+
hasAccidentIncidents: boolean;
|
|
1212
|
+
accidentIncidents: AccidentIncidents[];
|
|
1210
1213
|
policyholderActivities: PolicyholderActivity[];
|
|
1211
1214
|
beneficialOwners: BeneficialOwner[];
|
|
1212
1215
|
beneficialOwnersIndex: number;
|
|
1213
1216
|
isPolicyholderBeneficialOwner: boolean;
|
|
1217
|
+
clientId: string | null;
|
|
1218
|
+
policyholderFile: any;
|
|
1214
1219
|
};
|
|
1215
1220
|
additionalInsuranceTerms: AddCover[];
|
|
1216
1221
|
additionalInsuranceTermsWithout: AddCover[];
|
|
@@ -1258,6 +1263,8 @@ export class FormStoreClass {
|
|
|
1258
1263
|
surveyByHealthBasePolicyholder: boolean;
|
|
1259
1264
|
surveyByCriticalBasePolicyholder: boolean;
|
|
1260
1265
|
insuranceDocument: boolean;
|
|
1266
|
+
policyholderActivitiesForm: boolean;
|
|
1267
|
+
accidentStatisticsForm: boolean;
|
|
1261
1268
|
};
|
|
1262
1269
|
isPolicyholderInsured: boolean = false;
|
|
1263
1270
|
isPolicyholderBeneficiary: boolean = false;
|
|
@@ -1305,14 +1312,17 @@ export class FormStoreClass {
|
|
|
1305
1312
|
this.needToScanSignedContract = false;
|
|
1306
1313
|
this.signedContractFormData = null;
|
|
1307
1314
|
this.lfb = {
|
|
1308
|
-
|
|
1315
|
+
clients: [],
|
|
1309
1316
|
fixInsAmount: [],
|
|
1310
|
-
policyholder: new
|
|
1311
|
-
|
|
1317
|
+
policyholder: new MemberV2(),
|
|
1318
|
+
hasAccidentIncidents: true,
|
|
1312
1319
|
policyholderActivities: [new PolicyholderActivity()],
|
|
1313
1320
|
beneficialOwners: [new BeneficialOwner()],
|
|
1314
1321
|
beneficialOwnersIndex: 0,
|
|
1315
1322
|
isPolicyholderBeneficialOwner: false,
|
|
1323
|
+
accidentIncidents: [],
|
|
1324
|
+
clientId: null,
|
|
1325
|
+
policyholderFile: null,
|
|
1316
1326
|
};
|
|
1317
1327
|
this.additionalInsuranceTerms = [];
|
|
1318
1328
|
this.additionalInsuranceTermsWithout = [];
|
|
@@ -1368,6 +1378,8 @@ export class FormStoreClass {
|
|
|
1368
1378
|
surveyByHealthBasePolicyholder: true,
|
|
1369
1379
|
surveyByCriticalBasePolicyholder: true,
|
|
1370
1380
|
insuranceDocument: true,
|
|
1381
|
+
policyholderActivitiesForm: true,
|
|
1382
|
+
accidentStatisticsForm: true,
|
|
1371
1383
|
};
|
|
1372
1384
|
this.isPolicyholderInsured = false;
|
|
1373
1385
|
this.isPolicyholderBeneficiary = false;
|
|
@@ -1396,138 +1408,238 @@ export class FormStoreClass {
|
|
|
1396
1408
|
}
|
|
1397
1409
|
}
|
|
1398
1410
|
|
|
1399
|
-
export class
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1411
|
+
export class MemberV2 {
|
|
1412
|
+
personalData: {
|
|
1413
|
+
iin: string | null;
|
|
1414
|
+
phone: string | null;
|
|
1415
|
+
email: string | null;
|
|
1416
|
+
firstName: string | null;
|
|
1417
|
+
middleName: string | null;
|
|
1418
|
+
lastName: string | null;
|
|
1419
|
+
birthDate: string | null;
|
|
1420
|
+
citizenship: Value;
|
|
1421
|
+
birthPlace: string | null;
|
|
1422
|
+
resident: Value;
|
|
1423
|
+
taxResidentCountry: Value;
|
|
1424
|
+
showTaxResidentCountry: string | null;
|
|
1425
|
+
};
|
|
1426
|
+
identityCard: {
|
|
1427
|
+
documentType: Value;
|
|
1428
|
+
documentNumber: string | null;
|
|
1429
|
+
series: string | null;
|
|
1430
|
+
documentIssuer: Value;
|
|
1431
|
+
validity: string | null;
|
|
1432
|
+
};
|
|
1433
|
+
bankDetails: {
|
|
1434
|
+
bin: string | null;
|
|
1435
|
+
bankName: Value;
|
|
1436
|
+
iik: string | null;
|
|
1437
|
+
bik: string | null;
|
|
1438
|
+
kbe: string | null;
|
|
1439
|
+
};
|
|
1424
1440
|
actualAddress: Address;
|
|
1425
|
-
|
|
1426
|
-
|
|
1441
|
+
juridicalAddressCompany: Address;
|
|
1442
|
+
clientPower: {
|
|
1443
|
+
documentBasisOn: string | null;
|
|
1444
|
+
documentBasisOnKz: string | null;
|
|
1445
|
+
docNumber: string | null;
|
|
1446
|
+
date: string | null;
|
|
1447
|
+
};
|
|
1448
|
+
position: string | null;
|
|
1449
|
+
organizationData: {
|
|
1450
|
+
organizationName: string | null;
|
|
1451
|
+
economySectorCode: Value;
|
|
1452
|
+
typeOfEconomicActivity: string | null;
|
|
1453
|
+
};
|
|
1454
|
+
jurAddressIsActualAddress: boolean;
|
|
1455
|
+
quests: {
|
|
1456
|
+
order: number;
|
|
1457
|
+
text: string | null;
|
|
1458
|
+
answer: boolean | null;
|
|
1459
|
+
}[];
|
|
1460
|
+
isLeader: boolean;
|
|
1461
|
+
// insuredPolicyData: {
|
|
1462
|
+
// insSum: 0;
|
|
1463
|
+
// insSumWithLoad: 0;
|
|
1464
|
+
// premium: 0;
|
|
1465
|
+
// premiumWithLoad: 0;
|
|
1466
|
+
// insuredRisk: {
|
|
1467
|
+
// lifeMultiply: 0;
|
|
1468
|
+
// lifeAdditive: 0;
|
|
1469
|
+
// disabilityMultiply: 0;
|
|
1470
|
+
// disabilityAdditive: 0;
|
|
1471
|
+
// traumaTableMultiple: 0;
|
|
1472
|
+
// accidentalLifeMultiply: 0;
|
|
1473
|
+
// accidentalLifeAdditive: 0;
|
|
1474
|
+
// criticalMultiply: 0;
|
|
1475
|
+
// criticalAdditive: 0;
|
|
1476
|
+
// };
|
|
1477
|
+
// insuredCoverData: {
|
|
1478
|
+
// coverTypeEnum: 1;
|
|
1479
|
+
// premium: 0;
|
|
1480
|
+
// }[];
|
|
1481
|
+
// };
|
|
1427
1482
|
constructor() {
|
|
1428
|
-
this.
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
this.
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
this.
|
|
1450
|
-
|
|
1451
|
-
|
|
1483
|
+
this.personalData = {
|
|
1484
|
+
iin: null,
|
|
1485
|
+
phone: null,
|
|
1486
|
+
email: null,
|
|
1487
|
+
firstName: null,
|
|
1488
|
+
middleName: null,
|
|
1489
|
+
lastName: null,
|
|
1490
|
+
birthDate: null,
|
|
1491
|
+
citizenship: new Value(),
|
|
1492
|
+
birthPlace: null,
|
|
1493
|
+
resident: new Value(),
|
|
1494
|
+
taxResidentCountry: new Value(),
|
|
1495
|
+
showTaxResidentCountry: null,
|
|
1496
|
+
};
|
|
1497
|
+
this.identityCard = {
|
|
1498
|
+
documentType: new Value(),
|
|
1499
|
+
documentNumber: null,
|
|
1500
|
+
series: null,
|
|
1501
|
+
documentIssuer: new Value(),
|
|
1502
|
+
validity: null,
|
|
1503
|
+
};
|
|
1504
|
+
this.bankDetails = {
|
|
1505
|
+
bin: null,
|
|
1506
|
+
bankName: new Value(),
|
|
1507
|
+
iik: null,
|
|
1508
|
+
bik: null,
|
|
1509
|
+
kbe: null,
|
|
1510
|
+
};
|
|
1452
1511
|
this.actualAddress = new Address();
|
|
1453
|
-
this.
|
|
1512
|
+
this.juridicalAddressCompany = new Address();
|
|
1513
|
+
this.clientPower = {
|
|
1514
|
+
documentBasisOn: null,
|
|
1515
|
+
documentBasisOnKz: null,
|
|
1516
|
+
docNumber: null,
|
|
1517
|
+
date: null,
|
|
1518
|
+
};
|
|
1519
|
+
this.position = null;
|
|
1520
|
+
this.organizationData = {
|
|
1521
|
+
organizationName: null,
|
|
1522
|
+
economySectorCode: new Value(),
|
|
1523
|
+
typeOfEconomicActivity: null,
|
|
1524
|
+
};
|
|
1525
|
+
this.jurAddressIsActualAddress = true;
|
|
1526
|
+
this.quests = [
|
|
1527
|
+
{
|
|
1528
|
+
order: 0,
|
|
1529
|
+
text: 'Отметка о наличии/отсутствии физического лица (лиц), которому прямо или косвенно принадлежат более 25 % долей участия в уставном капитале либо размещенных (за вычетом привилегированных и выкупленных обществом) акций юридического лица',
|
|
1530
|
+
answer: null,
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
order: 1,
|
|
1534
|
+
text: 'Отметка о наличии/отсутствии физического лица (лиц), осуществляющего контроль над юридическим лицом по иным основаниям',
|
|
1535
|
+
answer: null,
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
order: 2,
|
|
1539
|
+
text: 'Отметка о наличии/отсутствии физического лица (лиц) в интересах которого юридическим лицом устанавливаются деловые отношения (совершаются операции)',
|
|
1540
|
+
answer: null,
|
|
1541
|
+
},
|
|
1542
|
+
];
|
|
1543
|
+
this.isLeader = true;
|
|
1544
|
+
// this.insuredPolicyData = {
|
|
1545
|
+
// insSum: 0,
|
|
1546
|
+
// insSumWithLoad: 0,
|
|
1547
|
+
// premium: 0,
|
|
1548
|
+
// premiumWithLoad: 0,
|
|
1549
|
+
// insuredRisk: {
|
|
1550
|
+
// lifeMultiply: 0,
|
|
1551
|
+
// lifeAdditive: 0,
|
|
1552
|
+
// disabilityMultiply: 0,
|
|
1553
|
+
// disabilityAdditive: 0,
|
|
1554
|
+
// traumaTableMultiple: 0,
|
|
1555
|
+
// accidentalLifeMultiply: 0,
|
|
1556
|
+
// accidentalLifeAdditive: 0,
|
|
1557
|
+
// criticalMultiply: 0,
|
|
1558
|
+
// criticalAdditive: 0,
|
|
1559
|
+
// },
|
|
1560
|
+
// insuredCoverData: [
|
|
1561
|
+
// {
|
|
1562
|
+
// coverTypeEnum: 1,
|
|
1563
|
+
// premium: 0,
|
|
1564
|
+
// },
|
|
1565
|
+
// ],
|
|
1566
|
+
// };
|
|
1454
1567
|
}
|
|
1455
1568
|
}
|
|
1456
1569
|
|
|
1457
1570
|
export class Address {
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1571
|
+
country: Value;
|
|
1572
|
+
region: Value;
|
|
1573
|
+
regionType: Value;
|
|
1574
|
+
city: Value;
|
|
1575
|
+
square: string | null;
|
|
1576
|
+
microdistrict: string | null;
|
|
1577
|
+
street: string | null;
|
|
1578
|
+
houseNumber: string | null;
|
|
1579
|
+
kato: string | null;
|
|
1466
1580
|
constructor() {
|
|
1467
|
-
this.
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1470
|
-
this.
|
|
1471
|
-
this.
|
|
1472
|
-
this.
|
|
1473
|
-
this.
|
|
1474
|
-
this.
|
|
1581
|
+
this.country = new Value();
|
|
1582
|
+
this.region = new Value();
|
|
1583
|
+
this.regionType = new Value();
|
|
1584
|
+
this.city = new Value();
|
|
1585
|
+
this.square = null;
|
|
1586
|
+
this.microdistrict = null;
|
|
1587
|
+
this.street = null;
|
|
1588
|
+
this.houseNumber = null;
|
|
1589
|
+
this.kato = null;
|
|
1475
1590
|
}
|
|
1476
1591
|
}
|
|
1477
1592
|
|
|
1478
1593
|
export class PolicyholderActivity {
|
|
1479
|
-
|
|
1480
|
-
|
|
1594
|
+
activityTypeName: string | null;
|
|
1595
|
+
empoloyeeCount: string | null;
|
|
1481
1596
|
constructor() {
|
|
1482
|
-
this.
|
|
1483
|
-
this.
|
|
1597
|
+
this.activityTypeName = null;
|
|
1598
|
+
this.empoloyeeCount = null;
|
|
1484
1599
|
}
|
|
1485
1600
|
}
|
|
1486
1601
|
|
|
1487
1602
|
export class BeneficialOwner {
|
|
1488
|
-
|
|
1489
|
-
|
|
1603
|
+
id: string | null;
|
|
1604
|
+
processInstanceId: string | number;
|
|
1605
|
+
insisId: number;
|
|
1490
1606
|
iin: string | null;
|
|
1607
|
+
longName: string | null;
|
|
1608
|
+
isIpdl: boolean;
|
|
1609
|
+
isTerror: boolean;
|
|
1610
|
+
isIpdlCompliance: boolean;
|
|
1611
|
+
isTerrorCompliance: boolean;
|
|
1612
|
+
personType: number;
|
|
1491
1613
|
lastName: string | null;
|
|
1492
1614
|
firstName: string | null;
|
|
1493
1615
|
middleName: string | null;
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1616
|
+
countryId: string | null;
|
|
1617
|
+
countryName: string | null;
|
|
1618
|
+
residentId: string | null;
|
|
1619
|
+
residentName: string | null;
|
|
1620
|
+
taxResidentId: string | null;
|
|
1621
|
+
taxResidentName: string | null;
|
|
1622
|
+
beneficialOwnerData: MemberV2;
|
|
1502
1623
|
constructor() {
|
|
1503
|
-
this.
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
name: 'Отметка о наличии/отсутствии физического лица (лиц), которому прямо или косвенно принадлежат более 25 % долей участия в уставном капитале либо размещенных (за вычетом привилегированных и выкупленных обществом) акций юридического лица',
|
|
1507
|
-
value: '',
|
|
1508
|
-
},
|
|
1509
|
-
{
|
|
1510
|
-
id: 2,
|
|
1511
|
-
name: 'Отметка о наличии/отсутствии физического лица (лиц), осуществляющего контроль над юридическим лицом по иным основаниям',
|
|
1512
|
-
value: '',
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
id: 3,
|
|
1516
|
-
name: 'Отметка о наличии/отсутствии физического лица (лиц) в интересах которого юридическим лицом устанавливаются деловые отношения (совершаются операции)',
|
|
1517
|
-
value: '',
|
|
1518
|
-
},
|
|
1519
|
-
];
|
|
1520
|
-
this.isFirstManager = false;
|
|
1624
|
+
this.id = null;
|
|
1625
|
+
this.processInstanceId = 0;
|
|
1626
|
+
this.insisId = 0;
|
|
1521
1627
|
this.iin = null;
|
|
1628
|
+
this.longName = null;
|
|
1629
|
+
this.isIpdl = true;
|
|
1630
|
+
this.isTerror = true;
|
|
1631
|
+
this.isIpdlCompliance = true;
|
|
1632
|
+
this.isTerrorCompliance = true;
|
|
1633
|
+
this.personType = 0;
|
|
1522
1634
|
this.lastName = null;
|
|
1523
1635
|
this.firstName = null;
|
|
1524
1636
|
this.middleName = null;
|
|
1525
|
-
this.
|
|
1526
|
-
this.
|
|
1527
|
-
this.
|
|
1528
|
-
this.
|
|
1529
|
-
this.
|
|
1530
|
-
this.
|
|
1531
|
-
this.
|
|
1637
|
+
this.countryId = null;
|
|
1638
|
+
this.countryName = null;
|
|
1639
|
+
this.residentId = null;
|
|
1640
|
+
this.residentName = null;
|
|
1641
|
+
this.taxResidentId = null;
|
|
1642
|
+
this.taxResidentName = null;
|
|
1643
|
+
this.beneficialOwnerData = new MemberV2();
|
|
1532
1644
|
}
|
|
1533
1645
|
}
|
package/composables/styles.ts
CHANGED
|
@@ -70,6 +70,7 @@ export class Styles {
|
|
|
70
70
|
redBtn: string;
|
|
71
71
|
yellowBtn: string;
|
|
72
72
|
whiteBtn: string;
|
|
73
|
+
whiteBorderBtn: string;
|
|
73
74
|
whiteBtnBlueBr: string;
|
|
74
75
|
blueLightBtn: string;
|
|
75
76
|
greenLightBtn: string;
|
|
@@ -92,6 +93,7 @@ export class Styles {
|
|
|
92
93
|
this.blueBtn = `${this.blueBg} ${this.whiteText} ${this.textTitle} ${this.rounded} w-full ${this.blueBgHover}`;
|
|
93
94
|
this.whiteBtnBlueBr = `${this.whiteBg} ${this.blueText} ${this.textTitle} ${this.rounded} w-full ${this.blueBgLightHover} ${this.blueBorder}`;
|
|
94
95
|
this.whiteBtn = ` ${this.blackText} ${this.textTitle} ${this.rounded} w-full ${this.blueLightBgHover}`;
|
|
96
|
+
this.whiteBorderBtn = ` ${this.blackText} ${this.textTitle} ${this.rounded} w-full ${this.blueLightBgHover} border-[#A0B3D8] border-[1px]`;
|
|
95
97
|
this.blueLightBtn = `${this.blueBgLight} ${this.greyTextLight} ${this.textTitle} ${this.rounded} w-full ${this.blueBgLightHover}`;
|
|
96
98
|
this.greenLightBtn = `${this.greenBgLight} ${this.greenText} ${this.textTitle} ${this.rounded} w-full ${this.greenBgLightHover}`;
|
|
97
99
|
|