Form/Insurance: remove dgo & ns
This commit is contained in:
parent
632e35a89b
commit
bccac3a620
@ -7,7 +7,7 @@ export const columns: ColumnsType<Risk> = [
|
||||
{
|
||||
key: 'riskName',
|
||||
dataIndex: 'riskName',
|
||||
title: 'Риск',
|
||||
title: 'Риск Safe Finance',
|
||||
width: '55%',
|
||||
},
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import type { BaseOption, Status } from 'Elements/types';
|
||||
|
||||
export type Keys = 'osago' | 'kasko' | 'dgo' | 'ns' | 'finGAP';
|
||||
export type Keys = 'osago' | 'kasko' | 'finGAP';
|
||||
|
||||
export type RowValues = {
|
||||
key: Keys;
|
||||
|
||||
@ -48,52 +48,6 @@ export const defaultOptions: Insurance.RowOptions[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'dgo',
|
||||
insured: [
|
||||
{
|
||||
label: 'ЛП',
|
||||
value: 100_000_000,
|
||||
},
|
||||
{
|
||||
label: 'ЛД',
|
||||
value: 100_000_001,
|
||||
},
|
||||
],
|
||||
insTerm: [
|
||||
{
|
||||
label: '12 месяцев',
|
||||
value: 100_000_000,
|
||||
},
|
||||
{
|
||||
label: 'Срок ДЛ',
|
||||
value: 100_000_001,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'ns',
|
||||
insured: [
|
||||
{
|
||||
label: 'ЛП',
|
||||
value: 100_000_000,
|
||||
},
|
||||
{
|
||||
label: 'ЛД',
|
||||
value: 100_000_001,
|
||||
},
|
||||
],
|
||||
insTerm: [
|
||||
{
|
||||
label: '12 месяцев',
|
||||
value: 100_000_000,
|
||||
},
|
||||
{
|
||||
label: 'Срок ДЛ',
|
||||
value: 100_000_001,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'finGAP',
|
||||
insured: [
|
||||
@ -136,22 +90,6 @@ export const defaultValues: Insurance.RowValues[] = [
|
||||
insCost: 0,
|
||||
insTerm: null,
|
||||
},
|
||||
{
|
||||
key: 'dgo',
|
||||
policyType: 'ДГО',
|
||||
insuranceCompany: null,
|
||||
insured: null,
|
||||
insCost: 0,
|
||||
insTerm: null,
|
||||
},
|
||||
{
|
||||
key: 'ns',
|
||||
policyType: 'НС',
|
||||
insuranceCompany: null,
|
||||
insured: null,
|
||||
insCost: 0,
|
||||
insTerm: null,
|
||||
},
|
||||
{
|
||||
key: 'finGAP',
|
||||
policyType: 'Safe Finance',
|
||||
@ -179,22 +117,6 @@ export const defaultStatuses: Insurance.RowStatuses[] = [
|
||||
insured: 'Default',
|
||||
policyType: 'Default',
|
||||
},
|
||||
{
|
||||
key: 'dgo',
|
||||
insuranceCompany: 'Disabled',
|
||||
insured: 'Disabled',
|
||||
insTerm: 'Disabled',
|
||||
insCost: 'Default',
|
||||
policyType: 'Default',
|
||||
},
|
||||
{
|
||||
key: 'ns',
|
||||
insuranceCompany: 'Disabled',
|
||||
insured: 'Disabled',
|
||||
insTerm: 'Disabled',
|
||||
insCost: 'Default',
|
||||
policyType: 'Default',
|
||||
},
|
||||
{
|
||||
key: 'finGAP',
|
||||
insCost: 'Disabled',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user