Исходный код вики Справочник “Топливные карты”
Версия 9.1 от Андрей Калиновский на 2023/05/26 10:52
Скрыть последних авторов
| author | version | line-number | content |
|---|---|---|---|
| |
9.1 | 1 | (% style="line-height:1.38" %) |
| 2 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Справочник представляет собой список, в котором отображаются автоматически добавленные топливные карты на основе запрашиваемых данных у операторов ТК. Для работы с справочников необходим набор определенных прав. | ||
| 3 | |||
| 4 | [[image:image-20230526104339-7.png]] | ||
| 5 | |||
| 6 | (% style="line-height:1.38" %) | ||
| 7 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Внутри окна расположена таблица со следующим содержанием: | ||
| 8 | |||
| 9 | (% style="line-height:1.38" %) | ||
| 10 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Статус карты** - состояние в котором сейчас находится топливная карта. Имеется два вида статуса: | ||
| 11 | |||
| 12 | [[image:https://redmine.glonasssoft.ru/attachments/download/14457/screenshot_1_1671610087.png]](% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) - Активна | ||
| 13 | |||
| 14 | [[image:https://redmine.glonasssoft.ru/attachments/download/14458/screenshot_2_1671610150.png]](% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) - Заблокирована | ||
| 15 | |||
| 16 | (% style="line-height:1.38" %) | ||
| 17 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Иконка оператора** - отображает иконку конкретного оператора ТК. | ||
| 18 | |||
| 19 | (% style="line-height:1.38" %) | ||
| 20 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Наименование** - название топливной карты. | ||
| 21 | |||
| 22 | (% style="line-height:1.38" %) | ||
| 23 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Номер** - номер топливной карты. | ||
| 24 | |||
| 25 | (% style="line-height:1.38" %) | ||
| 26 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Оператор ТК** - название оператора ТК. | ||
| 27 | |||
| 28 | (% style="line-height:1.38" %) | ||
| 29 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Дата создания** - дата создания топливной карты. | ||
| 30 | |||
| 31 | (% style="line-height:1.38" %) | ||
| 32 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Описание **- содержит текст из описания топливной карты. | ||
| 33 | |||
| 34 | (% style="line-height:1.38" %) | ||
| 35 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Назначена** - отображает кому сейчас назначена карта. Пока карта не будет назначена определенному водителю, поле будет оставаться пустым. | ||
| 36 | |||
| 37 | (% style="line-height:1.38" %) | ||
| 38 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Дата назначения** - дата, когда карту назначили водителю. | ||
| 39 | |||
| 40 | (% style="line-height:1.38" %) | ||
| 41 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Клиент** - наименование клиента, которому принадлежит карта. | ||
| 42 | |||
| 43 | (% style="line-height:1.38" %) | ||
| 44 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) | ||
| 45 | |||
| 46 | (% style="line-height:1.38" %) | ||
| 47 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)В панели инструментов справочника имеются следующие опции: | ||
| 48 | |||
| 49 | (% style="line-height:1.38" %) | ||
| 50 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Редактировать** - данная кнопка позволяет редактировать выбранную топливную карту в окне свойств. | ||
| 51 | |||
| 52 | (% style="line-height:1.38" %) | ||
| 53 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Фильтр по статусу** - отображаются две иконки, | ||
| 54 | |||
| 55 | (% style="line-height:1.38" %) | ||
| 56 | [[image:image-20230526104159-1.png]](% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) - активация позволяет отобразить только те топливные карты, у которых статус “Активна”. | ||
| 57 | |||
| 58 | (% style="line-height:1.38" %) | ||
| 59 | [[image:image-20230526104159-2.png]](% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) - активация позволяет отобразить только те топливные карты, у которых статус “Заблокирована”. | ||
| 60 | |||
| 61 | (% style="line-height:1.38" %) | ||
| 62 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Выбрав статус определенный статус, в таблице будут отображены только карты с соответствующим статусом. | ||
| 63 | |||
| 64 | (% style="line-height:1.38" %) | ||
| 65 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Поиск** - поиск работает по следующим полям: Название, Оператор ТК, Номер, Назначена, Статус карты, Клиент. | ||
| 66 | |||
| 67 | |||
| 68 | (% style="line-height:1.38" %) | ||
| 69 | |||
| 70 | (% style="font-size: 12.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Свойства топливной карты** | ||
| 71 | |||
| 72 | (% style="line-height:1.38" %) | ||
| 73 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)При нажатии на иконку “Редактировать” открывается окно свойств топливных карт: | ||
| 74 | |||
| 75 | (% style="line-height:1.38" %) | ||
| 76 | [[image:image-20230526104159-3.png]] | ||
| 77 | |||
| 78 | |||
| 79 | (% style="line-height:1.38" %) | ||
| 80 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Данное окно состоят из двух частей, в верхней части имеются следующие опции: | ||
| 81 | |||
| 82 | (% style="line-height:1.38" %) | ||
| 83 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Наименование** - название топливной карты. Заполняется при автоматическом создании в виде “Оператор ТК” -” Номер карты”. Пользователь может вписать любые данные до 30 символов. | ||
| 84 | |||
| 85 | (% style="line-height:1.38" %) | ||
| 86 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Оператор ТК **- оператор ТК, которому принадлежит топливная карта (не редактируется). | ||
| 87 | |||
| 88 | (% style="line-height:1.38" %) | ||
| 89 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Номер топливной карты** - данное поле заполняется автоматически (не редактируется). | ||
| 90 | |||
| 91 | (% style="line-height:1.38" %) | ||
| 92 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Дата создания** - дата и время создания топливной карты в системе (не редактируется). | ||
| 93 | |||
| 94 | (% style="line-height:1.38" %) | ||
| 95 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Статус **- состояние в котором сейчас находится топливная карта. Имеет два состояния: “Карта активна” и “Карта заблокирована”. | ||
| 96 | |||
| 97 | (% style="line-height:1.38" %) | ||
| 98 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Описание** - произвольное поле. | ||
| 99 | |||
| 100 | (% style="line-height:1.38" %) | ||
| 101 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)В нижней части окна расположен журнал назначений топливной карты. Таблица состоит из: | ||
| 102 | |||
| 103 | (% style="line-height:1.38" %) | ||
| 104 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Водитель **- имя водителя, которому была назначена карта. | ||
| 105 | |||
| 106 | (% style="line-height:1.38" %) | ||
| 107 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Начало** - дата и время назначения карты водителю. | ||
| 108 | |||
| 109 | (% style="line-height:1.38" %) | ||
| 110 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Конец **- дата и время принятия карты от водителя. | ||
| 111 | |||
| 112 | (% style="line-height:1.38" %) | ||
| 113 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Начало и Конец формируют период, во время которого водитель будет являться ответственным за произведенные транзакции по топливной карте. | ||
| 114 | |||
| 115 | (% style="line-height:1.38" %) | ||
| 116 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)В панели инструментов данного окна находятся следующие опции: | ||
| 117 | |||
| 118 | (% style="line-height:1.38" %) | ||
| 119 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)** Создать назначение** - при нажатии открывается окно "Редактирование": | ||
| 120 | |||
| 121 | (% style="line-height:1.38" %) | ||
| 122 | [[image:image-20230526104159-4.png]] | ||
| 123 | |||
| 124 | (% style="line-height:1.38" %) | ||
| 125 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)В данном окне необходимо обозначить водителя за которым закрепляется карта и период назначения. | ||
| 126 | |||
| 127 | (% class="box infomessage" %) | ||
| 128 | ((( | ||
| 129 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(7, 55, 99); font-weight: 700; font-style: normal; text-decoration: none" %)**При выборе периода дата и время не должны пересекаться с периодами других назначений данной топливной карты. | ||
| 130 | Если карта имеет начало и не имеет конца, то период от момента, когда карта была назначена и до настоящего времени является периодом существующего назначения, в этот период нельзя создать новое назначение данной карты, именно поэтому необходимо сначала закрыть существующее.** | ||
| 131 | ))) | ||
| 132 | |||
| 133 | (% style="line-height:1.38" %) | ||
| 134 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Редактировать** - открывается редактор выбранного назначения. | ||
| 135 | |||
| 136 | (% style="line-height:1.38" %) | ||
| 137 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Удалить **- удаляет выбранные назначения. | ||
| 138 | |||
| 139 | (% style="line-height:1.38" %) | ||
| 140 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Экспортировать таблицу** - позволяет экспортировать данные из таблицы в файл формата xlsx. | ||
| 141 | |||
| 142 | (% style="line-height:1.38" %) | ||
| 143 | (% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)**Поле для выгрузки данных по назначениям за определенный период**: | ||
| 144 | |||
| 145 | (% style="line-height:1.38" %) | ||
| 146 | [[image:image-20230526104159-5.png]] | ||
| 147 | |||
| 148 | |||
| 149 | (% style="line-height:1.38" %) | ||
| 150 | [[image:image-20230526104159-6.png]](% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- кнопка “Восстановить по умолчанию”. Нажав на нее у пользователя таблица возвращается в состояние по умолчанию. | ||
| 151 | |||
| 152 |