hl-core 0.0.10-beta.53 → 0.0.10-beta.55
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.
|
@@ -518,7 +518,7 @@ export default defineComponent({
|
|
|
518
518
|
// loading.value = false;
|
|
519
519
|
// return;
|
|
520
520
|
// }
|
|
521
|
-
if (dataStore.isAML || dataStore.isCheckContract || dataStore.isCheckContragent || dataStore.isDas || dataStore.isPrePension || dataStore.isCritical || dataStore.isUU) {
|
|
521
|
+
if (dataStore.isAML || dataStore.isCheckContract || dataStore.isCheckContragent || dataStore.isDas || dataStore.isPrePension || dataStore.isCritical || dataStore.isUU || dataStore.isReInsurance) {
|
|
522
522
|
emit('task', [dataStore.panelAction, route.params.taskId as string, actionCause.value]);
|
|
523
523
|
} else {
|
|
524
524
|
await dataStore.handleTask(dataStore.panelAction, route.params.taskId as string, actionCause.value);
|
|
@@ -620,7 +620,7 @@ export default defineComponent({
|
|
|
620
620
|
const price = computed(() => dataStore.getNumberWithSpaces(formStore.productConditionsForm.calculatorForm.price));
|
|
621
621
|
const insuredAmount = computed(() => formStore.productConditionsForm.calculatorForm.amount!.nameRu! + dataStore.currency);
|
|
622
622
|
const hasConditionsInfo = computed(() => {
|
|
623
|
-
if (dataStore.isLifetrip || dataStore.isDas || dataStore.isUU || dataStore.isPrePension || dataStore.isCritical || dataStore.isPension) {
|
|
623
|
+
if (dataStore.isLifetrip || dataStore.isDas || dataStore.isUU || dataStore.isReInsurance || dataStore.isPrePension || dataStore.isCritical || dataStore.isPension) {
|
|
624
624
|
return false;
|
|
625
625
|
}
|
|
626
626
|
if (dataStore.isFinCenter()) {
|
package/package.json
CHANGED
package/store/data.store.ts
CHANGED
|
@@ -69,6 +69,7 @@ export const useDataStore = defineStore('data', {
|
|
|
69
69
|
isBorrower: state => state.product === 'borrower',
|
|
70
70
|
isDSO: state => state.product === 'dso',
|
|
71
71
|
isUU: state => state.product === 'uu',
|
|
72
|
+
isReInsurance: state => state.product === 'reinsurance',
|
|
72
73
|
hasClientAnketa: state => Array.isArray(state.formStore.additionalInsuranceTerms) && state.formStore.additionalInsuranceTerms.find(i => i.coverTypeCode === 10),
|
|
73
74
|
isClientAnketaCondition: state =>
|
|
74
75
|
Array.isArray(state.formStore.additionalInsuranceTerms) &&
|
|
@@ -4002,7 +4003,8 @@ export const useDataStore = defineStore('data', {
|
|
|
4002
4003
|
await this.api.saveInsuredList(this.formStore.applicationData.processInstanceId, newInsureds, insuredList);
|
|
4003
4004
|
return true;
|
|
4004
4005
|
} catch (err) {
|
|
4005
|
-
|
|
4006
|
+
ErrorHandler(err);
|
|
4007
|
+
return false;
|
|
4006
4008
|
}
|
|
4007
4009
|
},
|
|
4008
4010
|
async saveInsured(insured: any) {
|