forum.bitel.ru http://forum.bitel.ru/ |
|
Не отображаются действия с процессами http://forum.bitel.ru/viewtopic.php?f=49&t=11970 |
Страница 1 из 1 |
Автор: | dale [ 01 окт 2016, 01:42 ] |
Заголовок сообщения: | Не отображаются действия с процессами |
В документации в очереди процессов описывается как сделать так что бы отображал ссылки на действия с процессом. Скопировал конфиг из документации, но почему ты ссылки не отображаются. Подскажите пожалуйста чем может быть дело? https://docs.bitel.ru/pages/viewpage.ac ... Id=6193517 Код: #filter.1.type=status
#filter.1.defaultValues=1,2,3 #filter.1.availableValues=1,2,3,4 #filter.2.type=groups #filter.2.defaultValues=1 #filter.2.show=0 #filter.3.type=executors #filter.4.type=code #filter.5.type=create_date #filter.6.type=close_date #filter.7.type=type #filter.7.width=200 #filter.7.availableValues=3,4,5,6,7 #filter.8.type=linkedCustomer:title #filter.9.type=description # sort.combo.count=2 sort.combo.1.default=2 sort.combo.2.default=1 sort.mode.1.columnId=1 sort.mode.1.title=Создан обр. sort.mode.1.desc=true sort.mode.2.columnId=2 sort.mode.2.title=Приоритет обр. sort.mode.2.desc=true # column.1.title=ID column.1.value=id column.2.title=Причины column.2.value=param:8 column.3.title=Работы column.3.value=param:9 column.4.title=Создан column.4.value=create_dt column.5.title=Приор. column.5.value=priority column.6.title=Статус column.6.value=status_title column.7.title=Группа column.7.value=groups column.8.title=Адрес column.8.value=param:4 column.30.title=Описание column.30.value=description column.31.title=Исполнители column.31.value=executors column.32.title=Время column.32.value=param:10 column.33.title=Время (значение) column.33.value=param:10:value column.34.title=Действия column.34.value=actions column.34.align=center configHead="<tr><td width='20' class='printHide'>".concat( checkAllLink ).concat("</td>") configHead+=.concat( "<td>ID</td>" ) configHead+=.concat( "<td>Статус [создан]</td>" ) configHead+=.concat( "<td>Адрес</td>" ) configHead+=.concat( "<td>Описание</td>" ) configHead+=.concat( "<td>Группа [исполнители]</td>" ) configHead+=.concat( "<td>Время</td>" ) configHead+=.concat( "<td class='printHide'>Действия</td></tr>" ) configRow="<tr bgcolor='".concat( urgColor ).concat( "' processId='" ).concat( process.getId().toString() ).concat( "'>" ) configRow+=.concat( "<td class='printHide'><input type='checkbox' name='processId' value='" ).concat( process.getId().toString() ).concat( "'/></td>" ) configRow+=.concat( "<td>" ).concat( col1 ).concat( "</td>" ) configRow+=.concat( "<td><b>" ).concat( col6 ).concat( "</b> [" ).concat( col4 ).concat( "]" ).concat( "</td>" ) configRow+=.concat( "<td>" ).concat( col8 ).concat( "</td>" ) configRow+=.concat( "<td><b>" ).concat( process.getTypeTitle() ).concat( "</b><br/>" ) configRow+=.concat( process.getTypeId() != 9432 ? "Причины: ".concat( col2 ).concat( "Работы: ").concat( col3).concat( "<br/>" ) : "" ) #configRow+=.concat( process.getTypeId() == 9432 ? "И: ".concat( col40 ).concat( "; КТВ: ").concat( col45 ).concat( "; ТЛФ: ").concat( col50 ).concat( "; VOIP: ").concat( col55 ).concat( "<br/>" ) : "" ) configRow+=.concat( col30 ).concat( "</td>" ) configRow+=.concat( "<td>" ).concat( col7 ).concat( " [" ).concat( col31 ).concat( "]</td>" ) configRow+=.concat( "<td>" ).concat( col32 ).concat( "</td>" ) configRow+=.concat( "<td class='printHide'>" ).concat( col34 ).concat( "</td>" ) configRow+=.concat( "</tr>" ) rowConfig.1.media=html rowConfig.1.stringExpressionHead={@configHead} rowConfig.1.stringExpressionRow={@configRow} allowCreateProcess=0 #actionShowMode=buttons action.1.title=Принять action.1.shortcut=П action.1.statusIds=10,13 action.1.style=padding: 0.2em 0.6em; action.1.commands=setStatus:9;setCurrentExecutor;refreshCurrentQueue action.2.title=Принять и открыть action.2.shortcut=ПО action.2.statusIds=10,13 action.2.style=padding: 0.2em 0.6em; action.2.commands=setStatus:9;setCurrentExecutor;open action.3.title=Отложить action.3.shortcut=ОТЛ action.3.statusIds=9,10,15 action.3.style=padding: 0.2em 0.6em; action.3.commands=setStatus:13;clearExecutors;refreshCurrentQueue |
Автор: | Администратор [ 05 окт 2016, 02:58 ] |
Заголовок сообщения: | Re: Не отображаются действия с процессами |
Чтобы появились действия вам необходимо их объявить: Код: #actionShowMode=buttons action.1.title=Принять action.1.shortcut=П action.1.statusIds=10,13 action.1.style=padding: 0.2em 0.6em; action.1.commands=setStatus:9;setCurrentExecutor;refreshCurrentQueue ... И один из столбцов в очереди должен иметь value=actions. Вся эта конфигурация с кастомизированным отображением строк для этого не нужна. |
Автор: | dale [ 08 окт 2016, 03:00 ] |
Заголовок сообщения: | Re: Не отображаются действия с процессами |
1. Проблема в том, что у меня объявлено все. Эта строка раскомментирована. Код: #actionShowMode=buttons 2. Посмотрите 34 колонка. Там ведь value=actions Код: column.34.title=Действия
column.34.value=actions column.34.align=center |
Автор: | Dog [ 09 окт 2016, 22:38 ] |
Заголовок сообщения: | Re: Не отображаются действия с процессами |
процессы, у которых хотите увидеть кнопки находятся в указанных статусах? Код: action.1.statusIds=10,13
|
Автор: | dale [ 10 окт 2016, 04:12 ] |
Заголовок сообщения: | Re: Не отображаются действия с процессами |
Спасибо, увидел свою ошибку. |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |