This repository has been archived on 2025-05-09. You can view files and clone it, but cannot push or open issues or pull requests.

412 lines
9.6 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { ISection } from 'core/types/Calculation/components';
const sections: ISection[] = [
// {
// title: 'Интерес/ЛС',
// groups: [
// {
// title: 'Создание нового интереса в CRM',
// blocks: [
// {
// elements: [
// 'selectChannel',
// 'tbxNewClient',
// 'selectAccount',
// 'tbxINN',
// 'tbxKPP',
// ],
// },
// {
// elements: [
// 'selectContactClient',
// 'tbxContact',
// 'radioContactGender',
// 'tbxPhoneNumber',
// 'tbxEmailAddress',
// ],
// },
// {
// elements: [
// 'selectSupplier',
// 'selectFinDepartment',
// 'selectBroker',
// 'selectAgent',
// 'selectDoubleAgent',
// ],
// },
// {
// elements: ['tbxCommentLead'],
// layout: {
// newLine: true,
// },
// },
// {
// elements: ['btnCreateLead'],
// layout: {
// newLine: true,
// },
// },
// ],
// },
// ],
// },
{
title: 'Лизинг',
groups: [
{
blocks: [
{
elements: ['selectProduct'],
},
// {
// elements: ['selectClientRisk'],
// },
// {
// elements: ['selectClientType' ],
// },
],
},
{
blocks: [
{
// title: 'Стоимость предмета лизинга',
elements: [
'selectSupplierCurrency',
'tbxLeaseObjectPrice',
'tbxSupplierDiscountRub',
'tbxSupplierDiscountPerc',
'radioBalanceHolder',
'tbxSaleBonus',
],
},
{
// title: 'Параметры договора лизинга',
elements: [
'tbxFirstPaymentPerc',
'tbxFirstPaymentRub',
'radioLastPaymentRule',
'tbxLastPaymentPerc',
'tbxLastPaymentRub',
'tbxLeasingPeriod',
],
},
{
title: 'Параметры графика платежей',
elements: [
'radioGraphType',
'selectSeasonType',
'tbxParmentsDecreasePercent',
// 'selectHighSeasonStart',
],
layout: {
newLine: true,
},
},
{
// title: 'Параметры расчета',
elements: [
// 'tbxComissionPerc',
// 'tbxComissionRub',
],
},
{
elements: ['tablePayments'],
layout: {
newLine: true,
width: '100%',
},
},
],
},
],
},
{
title: 'ПЛ',
groups: [
{
blocks: [
{
elements: [
'selectLeaseObjectType',
'selectBrand',
'selectModel',
'selectConfiguration',
],
},
{
title: ' ',
elements: [
'labelLeaseObjectRisk',
'labelDepreciationGroup',
'cbxLeaseObjectUsed',
'radioDeliveryTime',
],
},
],
},
{
blocks: [
{
elements: [
'tbxLeaseObjectCount',
'selectLeaseObjectUseFor',
'tbxLeaseObjectYear',
'selectLeaseObjectCategory',
],
},
{
elements: [
'selectEngineType',
'tbxLeaseObjectMotorPower',
'tbxEngineVolume',
'tbxMaxMass',
],
},
{
elements: [
'tbxCountSeats',
'tbxMaxSpeed',
'tbxMileage',
'cbxWithTrailer',
],
},
],
},
],
},
{
title: 'Поставщик/агент',
groups: [
{
title: 'Поставщик предмета лизинга',
blocks: [
{
elements: ['selectDealer'],
},
{
elements: [
'selectDealerPerson',
'selectDealerRewardCondition',
'tbxDealerRewardSumm',
],
layout: {
newLine: true,
},
},
{
elements: [
'selectDealerBroker',
'selectDealerBrokerRewardCondition',
'tbxDealerBrokerRewardSumm',
],
},
],
},
{
title: 'Агент, передавший контакт',
blocks: [
{
elements: [
'selectIndAgent',
'selectIndAgentRewardCondition',
'tbxIndAgentRewardSumm',
],
},
{
elements: [
'selectCalcDoubleAgent',
'selectCalcDoubleAgentRewardCondition',
'tbxCalcDoubleAgentRewardSumm',
],
},
{
elements: [
'selectCalcBroker',
'selectCalcBrokerRewardCondition',
'tbxCalcBrokerRewardSum',
],
layout: {
newLine: true,
},
},
{
elements: [
'selectCalcFinDepartment',
'selectFinDepartmentRewardCondtion',
'tbxFinDepartmentRewardSumm',
],
},
],
},
],
},
{
title: 'Страхование',
groups: [
{
blocks: [
{
elements: ['selectBrand', 'selectModel', 'selectConfiguration'],
},
{
elements: [
'tbxLeaseObjectYear',
'selectEngineType',
'selectLeaseObjectCategory',
],
},
{
elements: [
'tbxLeaseObjectMotorPower',
'tbxEngineVolume',
'selectLeaseObjectUseFor',
],
},
],
},
{
blocks: [
{
elements: [
'cbxInsDecentral',
'radioInsKaskoType',
'tbxInsFranchise',
'tbxMileage',
// 'btnInsCalculation',
// 'selectInsPeriod',
// 'btnFranschise',
],
},
{
elements: [
'cbxInsUnlimitDrivers',
'tbxInsAgeDrivers',
'tbxInsExpDrivers',
// 'tbxINNForCalc',
// 'btnDriversApplication',
],
},
{
elements: [
'selectGPSBrand',
'selectGPSModel',
'selectRegionRegistration',
'selectTownRegistration',
// 'selectInfuranceOPF',
'tbxInsKaskoPriceLeasePeriod',
],
},
{
elements: ['tableInsurance'],
layout: {
width: '100%',
},
},
],
},
],
},
{
title: 'Доп. продукты',
groups: [
{
blocks: [
{
elements: [
'selectRegistration',
'selectTechnicalCard',
'selectInsNSIB',
'radioRequirementTelematic',
'selectTracker',
'selectTelematic',
],
},
],
},
],
},
{
title: 'Создание КП',
groups: [
{
blocks: [
{
elements: [
'cbxLastPaymentRedemption',
'cbxPriceWithDiscount',
'cbxFullPriceWithDiscount',
'cbxCostIncrease',
],
},
{
elements: ['cbxInsurance', 'cbxRegistrationQuote'],
},
{
elements: [
'cbxTechnicalCardQuote',
'cbxNSIB',
'cbxQuoteRedemptionGraph',
],
},
{
elements: ['tbxQuoteName'],
layout: {
newLine: true,
},
},
{
elements: ['radioQuoteContactGender'],
},
],
},
{
blocks: [
{
elements: ['btnCreateKP'],
},
{
elements: ['linkDownloadKp'],
},
],
},
],
},
// {
// title: 'Без ограничений',
// groups: [
// // {
// // blocks: [
// // {
// // elements: [
// // 'selectUserSession'
// // ],
// // },
// // ],
// // },
// {
// blocks: [
// {
// elements: [
// // 'cbxDisableChecks',
// 'selectTarif',
// 'tbxCreditRate',
// 'selectRate',
// 'radioRequirementTelematic',
// ],
// },
// {
// elements: [
// // 'cbxInsDecentral',
// 'tbxMaxPriceChange',
// 'tbxImporterRewardPerc',
// 'tbxImporterRewardRub',
// ],
// },
// ],
// },
// ],
// },
];
export default sections;