Complete CarPass product flows
This commit is contained in:
175
web/index.html
175
web/index.html
@@ -255,6 +255,9 @@
|
||||
<button class="menu-row" data-menu-section="fineSection">Штрафы</button>
|
||||
<button class="menu-row" data-menu-section="publicServicesSection">СТО</button>
|
||||
<button class="menu-row" data-menu-section="reviewsSection">Отзывы</button>
|
||||
<button class="menu-row" data-menu-section="confirmationsSection">Подтверждения</button>
|
||||
<button class="menu-row" data-menu-section="connectedServicesSection">Подключённые СТО</button>
|
||||
<button class="menu-row admin-only hidden" data-menu-section="adminSection">Админ</button>
|
||||
<button class="menu-row" data-menu-section="settingsSection">Настройки</button>
|
||||
|
||||
<section class="drawer-section hidden" id="carsSection">
|
||||
@@ -327,6 +330,33 @@
|
||||
Конец периода
|
||||
<input name="period_end" type="date" />
|
||||
</label>
|
||||
<label>
|
||||
Месяцев покрытия
|
||||
<select name="period_months">
|
||||
<option value="">По датам</option>
|
||||
<option value="1">1 месяц</option>
|
||||
<option value="3">3 месяца</option>
|
||||
<option value="6">6 месяцев</option>
|
||||
<option value="12">12 месяцев</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
Номер полиса / документа
|
||||
<input name="policy_number" />
|
||||
</label>
|
||||
<label>
|
||||
Тип страховки
|
||||
<select name="insurance_type">
|
||||
<option value="">Не задано</option>
|
||||
<option value="mandatory">ОСАГО / обязательная</option>
|
||||
<option value="full">КАСКО / полная</option>
|
||||
<option value="other">Другое</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
Комментарий
|
||||
<input name="notes" />
|
||||
</label>
|
||||
<label class="check">
|
||||
<input name="is_recurring" type="checkbox" />
|
||||
Регулярный расход
|
||||
@@ -465,11 +495,29 @@
|
||||
Регистрационный номер
|
||||
<input name="business_registration_number" />
|
||||
</label>
|
||||
<label>
|
||||
Фото фасада, URL
|
||||
<input name="facade_photo_url" placeholder="https://..." />
|
||||
</label>
|
||||
<label>
|
||||
Фото документов, URL через запятую
|
||||
<input name="document_photo_urls" placeholder="https://..., https://..." />
|
||||
</label>
|
||||
<label>
|
||||
Дополнительные фото, URL через запятую
|
||||
<input name="additional_photo_urls" placeholder="https://..., https://..." />
|
||||
</label>
|
||||
<button type="submit">Отправить заявку</button>
|
||||
</form>
|
||||
<div id="serviceCentersList" class="stack-list"></div>
|
||||
</section>
|
||||
|
||||
<section class="drawer-section hidden" id="adminSection">
|
||||
<h2>Модерация СТО</h2>
|
||||
<div class="tip-card">Заявки видны только администраторам и модераторам.</div>
|
||||
<div id="adminPendingServices" class="stack-list"></div>
|
||||
</section>
|
||||
|
||||
<section class="drawer-section hidden" id="carFormSection">
|
||||
<h2>Новое авто</h2>
|
||||
<form id="carForm" class="grid-form drawer-form">
|
||||
@@ -497,6 +545,18 @@
|
||||
Год
|
||||
<input name="year" type="number" min="1900" max="2100" />
|
||||
</label>
|
||||
<label>
|
||||
Госномер
|
||||
<input name="plate_number" placeholder="12가3456" />
|
||||
</label>
|
||||
<label>
|
||||
VIN
|
||||
<input name="vin" maxlength="17" placeholder="17 символов без I/O/Q" />
|
||||
</label>
|
||||
<label>
|
||||
Текущий пробег
|
||||
<input name="current_odometer" type="number" min="0" />
|
||||
</label>
|
||||
<label>
|
||||
Тип топлива
|
||||
<select name="fuel_type" id="fuelTypeSelect">
|
||||
@@ -507,6 +567,24 @@
|
||||
<option value="electric">Электро</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
Стоимость покупки
|
||||
<input name="purchase_price" type="number" min="0" step="0.01" />
|
||||
</label>
|
||||
<label>
|
||||
Дата покупки
|
||||
<input name="purchase_date" type="date" />
|
||||
</label>
|
||||
<label>
|
||||
Тип покупки
|
||||
<select name="purchase_type">
|
||||
<option value="unknown">Не указано</option>
|
||||
<option value="cash">Наличные</option>
|
||||
<option value="credit">Кредит</option>
|
||||
<option value="lease">Лизинг</option>
|
||||
<option value="gift">Подарок</option>
|
||||
</select>
|
||||
</label>
|
||||
<button type="submit">Добавить авто</button>
|
||||
</form>
|
||||
</section>
|
||||
@@ -515,6 +593,45 @@
|
||||
<h2>Параметры авто</h2>
|
||||
<div class="tip-card" id="carProfileHint">Выбери автомобиль, чтобы настроить жидкости, расход и сервисные нормы.</div>
|
||||
<form id="carProfileForm" class="grid-form drawer-form">
|
||||
<label>
|
||||
Госномер
|
||||
<input name="plate_number" placeholder="12가3456" />
|
||||
</label>
|
||||
<label>
|
||||
VIN
|
||||
<input name="vin" maxlength="17" placeholder="17 символов без I/O/Q" />
|
||||
</label>
|
||||
<label>
|
||||
Поколение / кузов
|
||||
<input name="generation" placeholder="XV70 / CN7" />
|
||||
</label>
|
||||
<label>
|
||||
Тип кузова
|
||||
<input name="body_type" placeholder="седан / SUV" />
|
||||
</label>
|
||||
<label>
|
||||
Объем двигателя, л
|
||||
<input name="engine_volume_l" type="number" min="0" step="0.01" />
|
||||
</label>
|
||||
<label>
|
||||
Коробка передач
|
||||
<select name="transmission">
|
||||
<option value="">Не задано</option>
|
||||
<option value="manual">Механика</option>
|
||||
<option value="automatic">Автомат</option>
|
||||
<option value="cvt">CVT</option>
|
||||
<option value="dct">DCT</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
Привод
|
||||
<select name="drive_type">
|
||||
<option value="">Не задано</option>
|
||||
<option value="fwd">Передний</option>
|
||||
<option value="rwd">Задний</option>
|
||||
<option value="awd">Полный</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
Тип топлива
|
||||
<select name="fuel_type">
|
||||
@@ -565,6 +682,64 @@
|
||||
Давление зад, bar
|
||||
<input name="tire_pressure_rear_bar" type="number" min="0" step="0.01" placeholder="2.20" />
|
||||
</label>
|
||||
<label>
|
||||
Размер шин
|
||||
<input name="tire_size" placeholder="205/55 R16" />
|
||||
</label>
|
||||
<label>
|
||||
Интервал масла, км
|
||||
<input name="oil_change_interval_km" type="number" min="0" placeholder="10000" />
|
||||
</label>
|
||||
<label>
|
||||
Интервал масла, мес
|
||||
<input name="oil_change_interval_months" type="number" min="0" placeholder="12" />
|
||||
</label>
|
||||
<label>
|
||||
Стоимость покупки
|
||||
<input name="purchase_price" type="number" min="0" step="0.01" />
|
||||
</label>
|
||||
<label>
|
||||
Дата покупки
|
||||
<input name="purchase_date" type="date" />
|
||||
</label>
|
||||
<label>
|
||||
Тип покупки
|
||||
<select name="purchase_type">
|
||||
<option value="unknown">Не указано</option>
|
||||
<option value="cash">Наличные</option>
|
||||
<option value="credit">Кредит</option>
|
||||
<option value="lease">Лизинг</option>
|
||||
<option value="gift">Подарок</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
Сумма кредита
|
||||
<input name="loan_principal" type="number" min="0" step="0.01" />
|
||||
</label>
|
||||
<label>
|
||||
Первоначальный взнос
|
||||
<input name="loan_down_payment" type="number" min="0" step="0.01" />
|
||||
</label>
|
||||
<label>
|
||||
Срок кредита, мес
|
||||
<input name="loan_term_months" type="number" min="1" />
|
||||
</label>
|
||||
<label>
|
||||
Ставка годовая, %
|
||||
<input name="loan_annual_interest_rate" type="number" min="0" step="0.001" />
|
||||
</label>
|
||||
<label>
|
||||
Первый платеж
|
||||
<input name="loan_first_payment_date" type="date" />
|
||||
</label>
|
||||
<label class="check">
|
||||
<input name="include_depreciation" type="checkbox" />
|
||||
Учитывать амортизацию
|
||||
</label>
|
||||
<label>
|
||||
Заметки
|
||||
<input name="notes" placeholder="Особенности авто" />
|
||||
</label>
|
||||
<button type="submit">Сохранить параметры</button>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user