hl-core 0.0.10-beta.5 → 0.0.10-beta.51
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/README.md +0 -2
- package/api/base.api.ts +345 -137
- package/api/interceptors.ts +3 -5
- package/components/Dialog/Dialog.vue +5 -1
- package/components/Dialog/FamilyDialog.vue +15 -4
- package/components/Form/DigitalDocument.vue +52 -0
- package/components/Form/FormSource.vue +30 -0
- package/components/Form/ManagerAttachment.vue +60 -11
- package/components/Form/ProductConditionsBlock.vue +12 -6
- package/components/Input/Datepicker.vue +5 -0
- package/components/Input/FileInput.vue +1 -1
- package/components/Input/FormInput.vue +5 -0
- package/components/Input/OtpInput.vue +25 -0
- package/components/Input/RoundedInput.vue +2 -0
- package/components/Input/RoundedSelect.vue +2 -0
- package/components/Input/TextAreaField.vue +71 -0
- package/components/Menu/MenuNav.vue +1 -1
- package/components/Pages/Anketa.vue +207 -176
- package/components/Pages/ContragentForm.vue +1 -1
- package/components/Pages/Documents.vue +452 -64
- package/components/Pages/MemberForm.vue +416 -180
- package/components/Pages/ProductConditions.vue +1021 -243
- package/components/Panel/PanelHandler.vue +297 -124
- package/components/Utilities/Chip.vue +1 -1
- package/components/Utilities/JsonViewer.vue +1 -2
- package/composables/classes.ts +124 -20
- package/composables/constants.ts +46 -1
- package/composables/index.ts +336 -8
- package/composables/styles.ts +8 -24
- package/configs/pwa.ts +1 -7
- package/layouts/clear.vue +1 -1
- package/layouts/default.vue +1 -1
- package/layouts/full.vue +1 -1
- package/locales/ru.json +90 -19
- package/nuxt.config.ts +10 -12
- package/package.json +12 -12
- package/plugins/head.ts +7 -1
- package/store/data.store.ts +966 -575
- package/store/member.store.ts +17 -6
- package/store/rules.ts +23 -3
- package/types/enum.ts +42 -2
- package/types/index.ts +111 -56
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<label v-if="chip && chip.title" class="transition-all leading-6 px-3
|
|
2
|
+
<label v-if="chip && chip.title" class="transition-all leading-6 px-3 rounded-pill border-[1px] border-white mr-4 whitespace-nowrap" :class="[textSize, color]"
|
|
3
3
|
>{{ chip.title }}<v-tooltip v-if="chip.description" activator="parent" location="bottom" :max-width="maxWidth">{{ chip.description }}</v-tooltip></label
|
|
4
4
|
>
|
|
5
5
|
</template>
|
|
@@ -14,13 +14,12 @@
|
|
|
14
14
|
<script lang="ts">
|
|
15
15
|
import VueJsonPretty from 'vue-json-pretty';
|
|
16
16
|
import 'vue-json-pretty/lib/styles.css';
|
|
17
|
-
import { type JSONDataType } from 'vue-json-pretty/types/utils';
|
|
18
17
|
|
|
19
18
|
export default defineComponent({
|
|
20
19
|
components: { VueJsonPretty },
|
|
21
20
|
props: {
|
|
22
21
|
data: {
|
|
23
|
-
type: Object as PropType<
|
|
22
|
+
type: Object as PropType<any>,
|
|
24
23
|
required: false,
|
|
25
24
|
},
|
|
26
25
|
},
|
package/composables/classes.ts
CHANGED
|
@@ -88,6 +88,7 @@ export class IDocument {
|
|
|
88
88
|
iin?: string;
|
|
89
89
|
fileTypeId?: string;
|
|
90
90
|
fileTypeName?: string;
|
|
91
|
+
fileTypeNameRu?: string;
|
|
91
92
|
fileId?: string;
|
|
92
93
|
page?: number;
|
|
93
94
|
fileName?: string;
|
|
@@ -96,6 +97,7 @@ export class IDocument {
|
|
|
96
97
|
signed?: boolean | null;
|
|
97
98
|
signId?: string | null;
|
|
98
99
|
certificateDate?: string | null;
|
|
100
|
+
signedType?: number;
|
|
99
101
|
|
|
100
102
|
constructor(
|
|
101
103
|
id?: string,
|
|
@@ -103,6 +105,7 @@ export class IDocument {
|
|
|
103
105
|
iin?: string,
|
|
104
106
|
fileTypeId?: string,
|
|
105
107
|
fileTypeName?: string,
|
|
108
|
+
fileTypeNameRu?: string,
|
|
106
109
|
fileId?: string,
|
|
107
110
|
page?: number,
|
|
108
111
|
fileName?: string,
|
|
@@ -111,12 +114,14 @@ export class IDocument {
|
|
|
111
114
|
signed?: boolean | null,
|
|
112
115
|
signId?: string | null,
|
|
113
116
|
certificateDate?: string | null,
|
|
117
|
+
signedType?: number,
|
|
114
118
|
) {
|
|
115
119
|
this.id = id;
|
|
116
120
|
this.processInstanceId = processInstanceId;
|
|
117
121
|
this.iin = iin;
|
|
118
122
|
this.fileTypeId = fileTypeId;
|
|
119
123
|
this.fileTypeName = fileTypeName;
|
|
124
|
+
this.fileTypeNameRu = fileTypeNameRu;
|
|
120
125
|
this.fileId = fileId;
|
|
121
126
|
this.page = page;
|
|
122
127
|
this.fileName = fileName;
|
|
@@ -125,14 +130,31 @@ export class IDocument {
|
|
|
125
130
|
this.signed = signed;
|
|
126
131
|
this.signId = signId;
|
|
127
132
|
this.certificateDate = certificateDate;
|
|
133
|
+
this.signedType = signedType;
|
|
128
134
|
}
|
|
129
135
|
}
|
|
130
136
|
|
|
131
137
|
export class DocumentItem extends IDocument {
|
|
132
138
|
constructor(
|
|
133
|
-
{
|
|
139
|
+
{
|
|
140
|
+
id,
|
|
141
|
+
processInstanceId,
|
|
142
|
+
iin,
|
|
143
|
+
fileTypeId,
|
|
144
|
+
fileTypeName,
|
|
145
|
+
fileTypeNameRu,
|
|
146
|
+
fileId,
|
|
147
|
+
page,
|
|
148
|
+
fileName,
|
|
149
|
+
fileTypeCode,
|
|
150
|
+
sharedId,
|
|
151
|
+
signed,
|
|
152
|
+
signId,
|
|
153
|
+
certificateDate,
|
|
154
|
+
signedType,
|
|
155
|
+
}: IDocument = new IDocument(),
|
|
134
156
|
) {
|
|
135
|
-
super(id, processInstanceId, iin, fileTypeId, fileTypeName, fileId, page, fileName, fileTypeCode, sharedId, signed, signId, certificateDate);
|
|
157
|
+
super(id, processInstanceId, iin, fileTypeId, fileTypeName, fileTypeNameRu, fileId, page, fileName, fileTypeCode, sharedId, signed, signId, certificateDate, signedType);
|
|
136
158
|
}
|
|
137
159
|
}
|
|
138
160
|
|
|
@@ -180,13 +202,25 @@ export class User {
|
|
|
180
202
|
roles: string[];
|
|
181
203
|
id: string | null;
|
|
182
204
|
fullName: string | null;
|
|
205
|
+
code: string;
|
|
206
|
+
branchCode: string;
|
|
183
207
|
|
|
184
|
-
constructor(
|
|
208
|
+
constructor(
|
|
209
|
+
login: string | null = null,
|
|
210
|
+
password: string | null = null,
|
|
211
|
+
roles: string[] = [],
|
|
212
|
+
id: string | null = null,
|
|
213
|
+
fullName: string | null = null,
|
|
214
|
+
code: string = '',
|
|
215
|
+
branchCode: string = '',
|
|
216
|
+
) {
|
|
185
217
|
this.login = login;
|
|
186
218
|
this.password = password;
|
|
187
219
|
this.roles = roles;
|
|
188
220
|
this.id = id;
|
|
189
221
|
this.fullName = fullName;
|
|
222
|
+
this.code = code;
|
|
223
|
+
this.branchCode = branchCode;
|
|
190
224
|
}
|
|
191
225
|
|
|
192
226
|
resetUser() {
|
|
@@ -195,6 +229,8 @@ export class User {
|
|
|
195
229
|
this.roles = [];
|
|
196
230
|
this.id = null;
|
|
197
231
|
this.fullName = null;
|
|
232
|
+
this.code = '';
|
|
233
|
+
this.branchCode = '';
|
|
198
234
|
}
|
|
199
235
|
}
|
|
200
236
|
|
|
@@ -291,10 +327,9 @@ class Person {
|
|
|
291
327
|
getAgeByBirthDate() {
|
|
292
328
|
const date = this.formatDate(this.birthDate);
|
|
293
329
|
if (date) {
|
|
294
|
-
const
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}
|
|
330
|
+
const birthDate = new Date(date);
|
|
331
|
+
const today = new Date();
|
|
332
|
+
return String(today.getFullYear() - birthDate.getFullYear() - (today < new Date(today.getFullYear(), birthDate.getMonth(), birthDate.getDate()) ? 1 : 0));
|
|
298
333
|
} else {
|
|
299
334
|
return null;
|
|
300
335
|
}
|
|
@@ -428,7 +463,7 @@ export class Member extends Person {
|
|
|
428
463
|
birthRegion: Value;
|
|
429
464
|
documentType: Value;
|
|
430
465
|
documentNumber: string | null;
|
|
431
|
-
documentIssuers:
|
|
466
|
+
documentIssuers: Types.Base.Document.IssuerOther;
|
|
432
467
|
documentDate: string | null;
|
|
433
468
|
documentExpire: string | null;
|
|
434
469
|
signOfResidency: Value;
|
|
@@ -456,11 +491,13 @@ export class Member extends Person {
|
|
|
456
491
|
parsedDocument: any;
|
|
457
492
|
hasAgreement: boolean | null;
|
|
458
493
|
otpTokenId: string | null;
|
|
459
|
-
otpCode: string
|
|
494
|
+
otpCode: string;
|
|
460
495
|
documentsList: Types.ContragentDocuments[];
|
|
461
496
|
isInsuredUnderage?: boolean = false;
|
|
462
497
|
bankInfo: BankInfoClass;
|
|
463
498
|
transferContractCompany: Value;
|
|
499
|
+
digitalDocument: IDocument | null;
|
|
500
|
+
chooseChild: string | null;
|
|
464
501
|
identityDocument: {
|
|
465
502
|
documentType: Value;
|
|
466
503
|
documentNumber: string | null;
|
|
@@ -535,6 +572,7 @@ export class Member extends Person {
|
|
|
535
572
|
confirmDocTypeKz = null,
|
|
536
573
|
confirmDocTypeRod = null,
|
|
537
574
|
isNotary = false,
|
|
575
|
+
chooseChild = null,
|
|
538
576
|
) {
|
|
539
577
|
super(id, type, iin, longName, lastName, firstName, middleName, birthDate, gender, genderName, birthPlace, age);
|
|
540
578
|
this.documentsList = [];
|
|
@@ -587,7 +625,7 @@ export class Member extends Person {
|
|
|
587
625
|
this.homePhone = homePhone;
|
|
588
626
|
this.email = email;
|
|
589
627
|
this.otpTokenId = null;
|
|
590
|
-
this.otpCode =
|
|
628
|
+
this.otpCode = '';
|
|
591
629
|
this.address = address;
|
|
592
630
|
this.familyStatus = familyStatus;
|
|
593
631
|
this.isTerror = isTerror;
|
|
@@ -605,6 +643,8 @@ export class Member extends Person {
|
|
|
605
643
|
this.hasAgreement = null;
|
|
606
644
|
this.bankInfo = new BankInfoClass();
|
|
607
645
|
this.transferContractCompany = new Value();
|
|
646
|
+
this.digitalDocument = null;
|
|
647
|
+
this.chooseChild = chooseChild;
|
|
608
648
|
this.identityDocument = {
|
|
609
649
|
documentType: new Value(),
|
|
610
650
|
documentNumber: null,
|
|
@@ -772,7 +812,6 @@ export class ProductConditions {
|
|
|
772
812
|
adbAdditive: string | number | null;
|
|
773
813
|
disabilityMultiply: string | number | null;
|
|
774
814
|
disabilityAdditive: string | number | null;
|
|
775
|
-
processTariff: Value;
|
|
776
815
|
riskGroup: Value;
|
|
777
816
|
riskGroup2: Value;
|
|
778
817
|
additionalConditionAnnuityPayments: boolean;
|
|
@@ -789,8 +828,11 @@ export class ProductConditions {
|
|
|
789
828
|
calculatorForm: CalculatorForm;
|
|
790
829
|
agentCommission: number | null;
|
|
791
830
|
fixInsSum: number | string | null;
|
|
831
|
+
amountRefunded: number | string | null;
|
|
832
|
+
amountPaid: number | string | null;
|
|
792
833
|
calcDate: string | null;
|
|
793
834
|
contractEndDate: string | null;
|
|
835
|
+
currency: Value;
|
|
794
836
|
|
|
795
837
|
constructor(
|
|
796
838
|
insuranceCase = null,
|
|
@@ -820,7 +862,6 @@ export class ProductConditions {
|
|
|
820
862
|
adbAdditive = null,
|
|
821
863
|
disabilityMultiply = null,
|
|
822
864
|
disabilityAdditive = null,
|
|
823
|
-
processTariff = new Value(),
|
|
824
865
|
riskGroup = new Value(),
|
|
825
866
|
riskGroup2 = new Value(),
|
|
826
867
|
additionalConditionAnnuityPayments = false,
|
|
@@ -837,8 +878,11 @@ export class ProductConditions {
|
|
|
837
878
|
calculatorForm = new CalculatorForm(),
|
|
838
879
|
agentCommission = null,
|
|
839
880
|
fixInsSum = null,
|
|
881
|
+
amountRefunded = null,
|
|
882
|
+
amountPaid = null,
|
|
840
883
|
calcDate = null,
|
|
841
884
|
contractEndDate = null,
|
|
885
|
+
currency = new Value(),
|
|
842
886
|
) {
|
|
843
887
|
this.requestedSumInsuredInDollar = null;
|
|
844
888
|
this.insurancePremiumPerMonthInDollar = null;
|
|
@@ -872,7 +916,6 @@ export class ProductConditions {
|
|
|
872
916
|
this.adbAdditive = adbAdditive;
|
|
873
917
|
this.disabilityMultiply = disabilityMultiply;
|
|
874
918
|
this.disabilityAdditive = disabilityAdditive;
|
|
875
|
-
this.processTariff = processTariff;
|
|
876
919
|
this.riskGroup = riskGroup;
|
|
877
920
|
this.riskGroup2 = riskGroup2;
|
|
878
921
|
this.additionalConditionAnnuityPayments = additionalConditionAnnuityPayments;
|
|
@@ -889,8 +932,11 @@ export class ProductConditions {
|
|
|
889
932
|
this.calculatorForm = calculatorForm;
|
|
890
933
|
this.agentCommission = agentCommission;
|
|
891
934
|
this.fixInsSum = fixInsSum;
|
|
935
|
+
this.amountRefunded = amountRefunded;
|
|
936
|
+
this.amountPaid = amountPaid;
|
|
892
937
|
this.calcDate = calcDate;
|
|
893
938
|
this.contractEndDate = contractEndDate;
|
|
939
|
+
this.currency = currency;
|
|
894
940
|
}
|
|
895
941
|
|
|
896
942
|
getSingleTripDays() {
|
|
@@ -964,6 +1010,8 @@ export class DataStoreClass {
|
|
|
964
1010
|
hasChooseSign: boolean;
|
|
965
1011
|
// Выбор метода оплаты
|
|
966
1012
|
hasChoosePay: boolean;
|
|
1013
|
+
// Блок источник
|
|
1014
|
+
hasSource: boolean;
|
|
967
1015
|
};
|
|
968
1016
|
members: {
|
|
969
1017
|
clientApp: MemberSettings;
|
|
@@ -1034,7 +1082,6 @@ export class DataStoreClass {
|
|
|
1034
1082
|
relations: Value[];
|
|
1035
1083
|
banks: Value[];
|
|
1036
1084
|
transferContractCompanies: Value[];
|
|
1037
|
-
processTariff: Value[];
|
|
1038
1085
|
insurancePay: Value[];
|
|
1039
1086
|
questionRefs: Value[];
|
|
1040
1087
|
residents: Value[];
|
|
@@ -1046,7 +1093,6 @@ export class DataStoreClass {
|
|
|
1046
1093
|
fontSize: number;
|
|
1047
1094
|
isFontChangerOpen: boolean = false;
|
|
1048
1095
|
isLoading: boolean = false;
|
|
1049
|
-
user: User;
|
|
1050
1096
|
accessToken: string | null = null;
|
|
1051
1097
|
refreshToken: string | null = null;
|
|
1052
1098
|
processIndexRate: Value[];
|
|
@@ -1065,9 +1111,11 @@ export class DataStoreClass {
|
|
|
1065
1111
|
SaleChanellPolicy: Value[];
|
|
1066
1112
|
RegionPolicy: Value[];
|
|
1067
1113
|
ManagerPolicy: Value[];
|
|
1114
|
+
ExecutorGPH: Value[];
|
|
1068
1115
|
AgentData: Types.AgentData[];
|
|
1069
1116
|
riskGroup: Value[];
|
|
1070
1117
|
DicCoverTypePeriod: Value[];
|
|
1118
|
+
Source: Value[];
|
|
1071
1119
|
currencies: {
|
|
1072
1120
|
eur: number | null;
|
|
1073
1121
|
usd: number | null;
|
|
@@ -1087,7 +1135,7 @@ export class DataStoreClass {
|
|
|
1087
1135
|
workTypes: Value[];
|
|
1088
1136
|
sportsTypes: Value[];
|
|
1089
1137
|
purposes: Value[];
|
|
1090
|
-
|
|
1138
|
+
programType: Value[];
|
|
1091
1139
|
constructor() {
|
|
1092
1140
|
this.projectConfig = null;
|
|
1093
1141
|
this.filters = {
|
|
@@ -1135,20 +1183,24 @@ export class DataStoreClass {
|
|
|
1135
1183
|
hasAffiliation: true,
|
|
1136
1184
|
hasChooseSign: false,
|
|
1137
1185
|
hasChoosePay: false,
|
|
1186
|
+
hasSource: false,
|
|
1138
1187
|
};
|
|
1139
1188
|
this.iframeLoading = false;
|
|
1140
1189
|
this.hasLayoutMargins = true;
|
|
1141
1190
|
this.processIndexRate = [];
|
|
1142
1191
|
this.processGfot = [];
|
|
1143
1192
|
this.processPaymentPeriod = [];
|
|
1193
|
+
this.programType = [];
|
|
1144
1194
|
this.dicAnnuityTypeList = [];
|
|
1145
1195
|
this.processAnnuityPaymentPeriod = [];
|
|
1146
1196
|
this.questionRefs = [];
|
|
1147
1197
|
this.SaleChanellPolicy = [];
|
|
1148
1198
|
this.RegionPolicy = [];
|
|
1149
1199
|
this.ManagerPolicy = [];
|
|
1200
|
+
this.ExecutorGPH = [];
|
|
1150
1201
|
this.AgentData = [];
|
|
1151
1202
|
this.DicCoverTypePeriod = [];
|
|
1203
|
+
this.Source = [];
|
|
1152
1204
|
this.product = import.meta.env.VITE_PRODUCT ? (import.meta.env.VITE_PRODUCT as Types.Projects) : null;
|
|
1153
1205
|
this.parentProduct = import.meta.env.VITE_PARENT_PRODUCT ? import.meta.env.VITE_PARENT_PRODUCT : 'efo';
|
|
1154
1206
|
this.showNav = true;
|
|
@@ -1217,7 +1269,6 @@ export class DataStoreClass {
|
|
|
1217
1269
|
this.familyStatuses = [];
|
|
1218
1270
|
this.disabilityGroups = [];
|
|
1219
1271
|
this.relations = [];
|
|
1220
|
-
this.processTariff = [];
|
|
1221
1272
|
this.banks = [];
|
|
1222
1273
|
this.transferContractCompanies = [];
|
|
1223
1274
|
this.insurancePay = [];
|
|
@@ -1230,7 +1281,6 @@ export class DataStoreClass {
|
|
|
1230
1281
|
this.fontSize = 14;
|
|
1231
1282
|
this.isFontChangerOpen = false;
|
|
1232
1283
|
this.isLoading = false;
|
|
1233
|
-
this.user = new User();
|
|
1234
1284
|
this.accessToken = null;
|
|
1235
1285
|
this.refreshToken = null;
|
|
1236
1286
|
this.taskList = [];
|
|
@@ -1312,6 +1362,8 @@ export class FormStoreClass {
|
|
|
1312
1362
|
clientId: string | null;
|
|
1313
1363
|
insuredFile: any;
|
|
1314
1364
|
isPanelInside: boolean;
|
|
1365
|
+
typeChange: string;
|
|
1366
|
+
add: boolean;
|
|
1315
1367
|
};
|
|
1316
1368
|
additionalInsuranceTerms: Types.AddCover[];
|
|
1317
1369
|
additionalInsuranceTermsWithout: Types.AddCover[];
|
|
@@ -1330,6 +1382,7 @@ export class FormStoreClass {
|
|
|
1330
1382
|
date: string | null;
|
|
1331
1383
|
};
|
|
1332
1384
|
signedDocumentList: IDocument[];
|
|
1385
|
+
signatories: any[];
|
|
1333
1386
|
surveyByHealthBase: Types.AnketaFirst | null;
|
|
1334
1387
|
surveyByHealthBasePolicyholder: Types.AnketaFirst | null;
|
|
1335
1388
|
surveyByCriticalBase: Types.AnketaFirst | null;
|
|
@@ -1345,11 +1398,14 @@ export class FormStoreClass {
|
|
|
1345
1398
|
AgentData: Types.AgentData;
|
|
1346
1399
|
RegionPolicy: Value;
|
|
1347
1400
|
ManagerPolicy: Value;
|
|
1401
|
+
ExecutorGPH: Value;
|
|
1402
|
+
Source: Value;
|
|
1348
1403
|
isDisabled: {
|
|
1349
1404
|
policyholderForm: boolean;
|
|
1350
1405
|
beneficiaryForm: boolean;
|
|
1351
1406
|
beneficialOwnerForm: boolean;
|
|
1352
1407
|
insuredForm: boolean;
|
|
1408
|
+
slaveInsuredForm: boolean;
|
|
1353
1409
|
policyholdersRepresentativeForm: boolean;
|
|
1354
1410
|
productConditionsForm: boolean;
|
|
1355
1411
|
calculatorForm: boolean;
|
|
@@ -1382,8 +1438,11 @@ export class FormStoreClass {
|
|
|
1382
1438
|
isTask?: boolean | null;
|
|
1383
1439
|
createDate?: string | null;
|
|
1384
1440
|
policyAppDto?: Types.PolicyAppDto;
|
|
1441
|
+
parentPolicyDto?: Types.ParentPolicyDto | null;
|
|
1385
1442
|
insisWorkDataApp?: Types.InsisWorkDataApp;
|
|
1386
1443
|
addCoverDto?: Types.AddCover[];
|
|
1444
|
+
slave?: any;
|
|
1445
|
+
insuredCount?: number;
|
|
1387
1446
|
};
|
|
1388
1447
|
policyholderForm: Member;
|
|
1389
1448
|
policyholderFormKey: StoreMembers.policyholderForm;
|
|
@@ -1396,15 +1455,18 @@ export class FormStoreClass {
|
|
|
1396
1455
|
beneficialOwnerFormIndex: number;
|
|
1397
1456
|
beneficialOwnerFormKey: StoreMembers.beneficialOwnerForm;
|
|
1398
1457
|
insuredForm: Member[];
|
|
1458
|
+
slaveInsuredForm: Member;
|
|
1399
1459
|
insuredFormKey: StoreMembers.insuredForm;
|
|
1400
1460
|
insuredFormIndex: number;
|
|
1401
1461
|
productConditionsForm: ProductConditions;
|
|
1402
1462
|
productConditionsFormKey: string;
|
|
1463
|
+
pensionApp: any;
|
|
1403
1464
|
questionnaireByHealth: any;
|
|
1404
1465
|
questionnaireByCritical: any[];
|
|
1405
1466
|
canBeClaimed: boolean | null;
|
|
1406
1467
|
applicationTaskId: string | null;
|
|
1407
|
-
|
|
1468
|
+
requiredDocuments: RequiredDocument[];
|
|
1469
|
+
isNeedToRecalculate: boolean;
|
|
1408
1470
|
constructor() {
|
|
1409
1471
|
this.regNumber = null;
|
|
1410
1472
|
this.policyNumber = null;
|
|
@@ -1425,6 +1487,8 @@ export class FormStoreClass {
|
|
|
1425
1487
|
clientId: null,
|
|
1426
1488
|
insuredFile: null,
|
|
1427
1489
|
isPanelInside: false,
|
|
1490
|
+
typeChange: 'calculation',
|
|
1491
|
+
add: false,
|
|
1428
1492
|
};
|
|
1429
1493
|
this.additionalInsuranceTerms = [];
|
|
1430
1494
|
this.additionalInsuranceTermsWithout = [];
|
|
@@ -1443,6 +1507,7 @@ export class FormStoreClass {
|
|
|
1443
1507
|
date: null,
|
|
1444
1508
|
};
|
|
1445
1509
|
this.signedDocumentList = [];
|
|
1510
|
+
this.signatories = [];
|
|
1446
1511
|
this.surveyByHealthBase = null;
|
|
1447
1512
|
this.surveyByHealthBasePolicyholder = null;
|
|
1448
1513
|
this.surveyByCriticalBase = null;
|
|
@@ -1466,11 +1531,14 @@ export class FormStoreClass {
|
|
|
1466
1531
|
};
|
|
1467
1532
|
this.RegionPolicy = new Value();
|
|
1468
1533
|
this.ManagerPolicy = new Value();
|
|
1534
|
+
this.ExecutorGPH = new Value();
|
|
1535
|
+
this.Source = new Value();
|
|
1469
1536
|
this.isDisabled = {
|
|
1470
1537
|
policyholderForm: true,
|
|
1471
1538
|
beneficiaryForm: true,
|
|
1472
1539
|
beneficialOwnerForm: true,
|
|
1473
1540
|
insuredForm: true,
|
|
1541
|
+
slaveInsuredForm: true,
|
|
1474
1542
|
policyholdersRepresentativeForm: true,
|
|
1475
1543
|
productConditionsForm: true,
|
|
1476
1544
|
calculatorForm: true,
|
|
@@ -1499,6 +1567,7 @@ export class FormStoreClass {
|
|
|
1499
1567
|
this.beneficialOwnerFormIndex = 0;
|
|
1500
1568
|
this.beneficialOwnerFormKey = StoreMembers.beneficialOwnerForm;
|
|
1501
1569
|
this.insuredForm = [new Member()];
|
|
1570
|
+
this.slaveInsuredForm = new Member();
|
|
1502
1571
|
this.insuredFormKey = StoreMembers.insuredForm;
|
|
1503
1572
|
this.insuredFormIndex = 0;
|
|
1504
1573
|
this.productConditionsForm = new ProductConditions();
|
|
@@ -1507,12 +1576,15 @@ export class FormStoreClass {
|
|
|
1507
1576
|
this.questionnaireByCritical = [];
|
|
1508
1577
|
this.canBeClaimed = null;
|
|
1509
1578
|
this.applicationTaskId = null;
|
|
1579
|
+
this.requiredDocuments = [];
|
|
1580
|
+
this.isNeedToRecalculate = false;
|
|
1510
1581
|
}
|
|
1511
1582
|
}
|
|
1512
1583
|
|
|
1513
1584
|
export class Address {
|
|
1514
1585
|
country: Value;
|
|
1515
1586
|
region: Value;
|
|
1587
|
+
state: Value;
|
|
1516
1588
|
regionType: Value;
|
|
1517
1589
|
city: Value;
|
|
1518
1590
|
square: string | null;
|
|
@@ -1526,6 +1598,7 @@ export class Address {
|
|
|
1526
1598
|
constructor() {
|
|
1527
1599
|
this.country = new Value();
|
|
1528
1600
|
this.region = new Value();
|
|
1601
|
+
this.state = new Value();
|
|
1529
1602
|
this.regionType = new Value();
|
|
1530
1603
|
this.city = new Value();
|
|
1531
1604
|
this.square = null;
|
|
@@ -1645,7 +1718,7 @@ export class PhysGroupClass extends BaseGroupClass {
|
|
|
1645
1718
|
|
|
1646
1719
|
export class GroupMember extends PhysGroupClass {
|
|
1647
1720
|
isLeader: boolean;
|
|
1648
|
-
|
|
1721
|
+
organizationStartDate: string;
|
|
1649
1722
|
typeOfEconomicActivity: Value;
|
|
1650
1723
|
activityTypes: { activityTypeName: string; empoloyeeCount: number }[];
|
|
1651
1724
|
beneficalOwnerQuest: { order: number; text: string; answer: boolean | null }[];
|
|
@@ -1656,6 +1729,7 @@ export class GroupMember extends PhysGroupClass {
|
|
|
1656
1729
|
super();
|
|
1657
1730
|
// Client
|
|
1658
1731
|
this.isLeader = false;
|
|
1732
|
+
this.organizationStartDate = '';
|
|
1659
1733
|
this.typeOfEconomicActivity = new Value();
|
|
1660
1734
|
this.activityTypes = [];
|
|
1661
1735
|
this.beneficalOwnerQuest = [
|
|
@@ -1735,3 +1809,33 @@ export class BeneficialOwner {
|
|
|
1735
1809
|
this.id = '';
|
|
1736
1810
|
}
|
|
1737
1811
|
}
|
|
1812
|
+
|
|
1813
|
+
export class TransferContract {
|
|
1814
|
+
id: string | null;
|
|
1815
|
+
transferContractIsOppv: boolean;
|
|
1816
|
+
transferContractFirstPaymentDate: string;
|
|
1817
|
+
transferContractAmount: number | string;
|
|
1818
|
+
transferContractDate: string;
|
|
1819
|
+
transferContractNumber: string;
|
|
1820
|
+
transferContractRegNumber: string;
|
|
1821
|
+
transferContract: boolean;
|
|
1822
|
+
transferContractCompany: Value;
|
|
1823
|
+
transferContractMonthCount: number | null;
|
|
1824
|
+
|
|
1825
|
+
constructor() {
|
|
1826
|
+
this.id = null;
|
|
1827
|
+
this.transferContractIsOppv = false;
|
|
1828
|
+
this.transferContractFirstPaymentDate = '';
|
|
1829
|
+
this.transferContractAmount = 0;
|
|
1830
|
+
this.transferContractDate = '';
|
|
1831
|
+
this.transferContractNumber = '';
|
|
1832
|
+
this.transferContract = false;
|
|
1833
|
+
this.transferContractRegNumber = '';
|
|
1834
|
+
this.transferContractCompany = new Value();
|
|
1835
|
+
this.transferContractMonthCount = null;
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
export class RequiredDocument extends Value {
|
|
1840
|
+
iin: string = '';
|
|
1841
|
+
}
|
package/composables/constants.ts
CHANGED
|
@@ -18,12 +18,20 @@ export const constants = Object.freeze({
|
|
|
18
18
|
gns: 16,
|
|
19
19
|
prepensionannuity: 18,
|
|
20
20
|
pensionannuitynew: 19,
|
|
21
|
+
halykkazynaap: 20,
|
|
22
|
+
balam: 21,
|
|
23
|
+
halykkazynaapsms: 23,
|
|
24
|
+
pensionannuityrefundnew: 24,
|
|
25
|
+
pensionannuityjointnew: 25,
|
|
26
|
+
gonsadd: 26,
|
|
27
|
+
tumar: 27,
|
|
28
|
+
criticalillness: 29,
|
|
21
29
|
},
|
|
22
30
|
amlProducts: {
|
|
23
31
|
checkcontragent: 1,
|
|
24
32
|
checkcontract: 2,
|
|
25
33
|
},
|
|
26
|
-
extractedProducts: ['dso', 'uu'],
|
|
34
|
+
extractedProducts: ['dso', 'uu', 'lka'],
|
|
27
35
|
editableStatuses: [Statuses.StartForm, Statuses.EditBeneficiaryForm, Statuses.EditForm, Statuses.InputDataForm],
|
|
28
36
|
documentsLinkVisibleStatuses: [
|
|
29
37
|
Statuses.Completed,
|
|
@@ -36,6 +44,7 @@ export const constants = Object.freeze({
|
|
|
36
44
|
returnStatementStatuses: [
|
|
37
45
|
Statuses.ApproveForm,
|
|
38
46
|
Statuses.ActuaryForm,
|
|
47
|
+
Statuses.JuristForm,
|
|
39
48
|
Statuses.DsoUsnsForm,
|
|
40
49
|
Statuses.AccountantForm,
|
|
41
50
|
Statuses.UnderwriterForm,
|
|
@@ -57,6 +66,7 @@ export const constants = Object.freeze({
|
|
|
57
66
|
Statuses.WaitingInsurancePremiumForm,
|
|
58
67
|
],
|
|
59
68
|
rejectApplicationStatuses: [
|
|
69
|
+
Statuses.EditForm,
|
|
60
70
|
Statuses.StartForm,
|
|
61
71
|
Statuses.DsoUsnsForm,
|
|
62
72
|
Statuses.AccountantForm,
|
|
@@ -74,6 +84,20 @@ export const constants = Object.freeze({
|
|
|
74
84
|
kzt: '₸',
|
|
75
85
|
usd: '$',
|
|
76
86
|
},
|
|
87
|
+
pensionAge: {
|
|
88
|
+
man: 68,
|
|
89
|
+
woman: 68,
|
|
90
|
+
},
|
|
91
|
+
genderByIIN: {
|
|
92
|
+
'0': 'Ж',
|
|
93
|
+
'3': 'М',
|
|
94
|
+
'4': 'Ж',
|
|
95
|
+
'5': 'М',
|
|
96
|
+
'6': 'Ж',
|
|
97
|
+
'7': 'М',
|
|
98
|
+
'8': 'Ж',
|
|
99
|
+
'9': 'М',
|
|
100
|
+
},
|
|
77
101
|
documentTypes: {
|
|
78
102
|
statement: 5,
|
|
79
103
|
contract: 6,
|
|
@@ -87,6 +111,11 @@ export const constants = Object.freeze({
|
|
|
87
111
|
questionnaireInsured: 35,
|
|
88
112
|
invoicePayment: 36,
|
|
89
113
|
},
|
|
114
|
+
fileTypes: {
|
|
115
|
+
pdf: 'application/pdf',
|
|
116
|
+
docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
117
|
+
doc: 'application/msword',
|
|
118
|
+
},
|
|
90
119
|
regex: {
|
|
91
120
|
isoDate: /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)((-(\d{2}):(\d{2})|Z)?)$/,
|
|
92
121
|
},
|
|
@@ -162,4 +191,20 @@ export const constants = Object.freeze({
|
|
|
162
191
|
ids: '',
|
|
163
192
|
},
|
|
164
193
|
],
|
|
194
|
+
currencyList: [
|
|
195
|
+
{
|
|
196
|
+
code: 'KZT',
|
|
197
|
+
id: '1',
|
|
198
|
+
nameKz: 'Тенге',
|
|
199
|
+
nameRu: 'Тенге',
|
|
200
|
+
ids: '',
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
code: 'USD',
|
|
204
|
+
id: '2',
|
|
205
|
+
nameKz: 'С индексацией на курс USD',
|
|
206
|
+
nameRu: 'С индексацией на курс USD',
|
|
207
|
+
ids: '',
|
|
208
|
+
},
|
|
209
|
+
],
|
|
165
210
|
});
|