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