1
0
mirror of https://github.com/Untru/gitmanager.git synced 2025-08-09 21:37:16 +02:00

Форма констант и удаление не нужного элемента

This commit is contained in:
Pavel Chegodaev
2025-07-31 23:59:58 +03:00
parent 66f246fd32
commit 7db21cce0d
8 changed files with 330 additions and 7 deletions

View File

@@ -0,0 +1,311 @@
<?xml version="1.0" encoding="UTF-8"?>
<form:Form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:form="http://g5.1c.ru/v8/dt/form">
<items xsi:type="form:FormField">
<name>ОтладкаЛогов</name>
<id>121</id>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<dataPath xsi:type="form:DataPath">
<segments>НаборКонстант.ОтладкаЛогов</segments>
</dataPath>
<extendedTooltip>
<name>ОтладкаЛоговРасширеннаяПодсказка</name>
<id>123</id>
<type>Label</type>
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<extInfo xsi:type="form:LabelDecorationExtInfo">
<horizontalAlign>Left</horizontalAlign>
</extInfo>
</extendedTooltip>
<contextMenu>
<name>ОтладкаЛоговКонтекстноеМеню</name>
<id>122</id>
<autoFill>true</autoFill>
</contextMenu>
<type>CheckBoxField</type>
<editMode>EnterOnInput</editMode>
<showInHeader>true</showInHeader>
<headerHorizontalAlign>Left</headerHorizontalAlign>
<showInFooter>true</showInFooter>
<extInfo xsi:type="form:CheckBoxFieldExtInfo"/>
</items>
<items xsi:type="form:FormField">
<name>СтратегияЗапускаСкрипта</name>
<id>193</id>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<dataPath xsi:type="form:DataPath">
<segments>НаборКонстант.СтратегияЗапускаСкрипта</segments>
</dataPath>
<extendedTooltip>
<name>СтратегияЗапускаСкриптаРасширеннаяПодсказка</name>
<id>195</id>
<type>Label</type>
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<extInfo xsi:type="form:LabelDecorationExtInfo">
<horizontalAlign>Left</horizontalAlign>
</extInfo>
</extendedTooltip>
<contextMenu>
<name>СтратегияЗапускаСкриптаКонтекстноеМеню</name>
<id>194</id>
<autoFill>true</autoFill>
</contextMenu>
<type>InputField</type>
<editMode>EnterOnInput</editMode>
<showInHeader>true</showInHeader>
<headerHorizontalAlign>Left</headerHorizontalAlign>
<showInFooter>true</showInFooter>
<extInfo xsi:type="form:InputFieldExtInfo">
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<wrap>true</wrap>
<extendedEditMultipleValues>true</extendedEditMultipleValues>
<chooseType>true</chooseType>
<typeDomainEnabled>true</typeDomainEnabled>
<textEdit>true</textEdit>
</extInfo>
</items>
<items xsi:type="form:FormGroup">
<name>ГруппаАрхив</name>
<id>211</id>
<items xsi:type="form:FormField">
<name>ТаскТрекер</name>
<id>196</id>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<dataPath xsi:type="form:DataPath">
<segments>НаборКонстант.УдалитьТаскТрекер</segments>
</dataPath>
<extendedTooltip>
<name>ТаскТрекерРасширеннаяПодсказка</name>
<id>198</id>
<type>Label</type>
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<extInfo xsi:type="form:LabelDecorationExtInfo">
<horizontalAlign>Left</horizontalAlign>
</extInfo>
</extendedTooltip>
<contextMenu>
<name>ТаскТрекерКонтекстноеМеню</name>
<id>197</id>
<autoFill>true</autoFill>
</contextMenu>
<type>InputField</type>
<editMode>EnterOnInput</editMode>
<showInHeader>true</showInHeader>
<headerHorizontalAlign>Left</headerHorizontalAlign>
<showInFooter>true</showInFooter>
<extInfo xsi:type="form:InputFieldExtInfo">
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<wrap>true</wrap>
<extendedEditMultipleValues>true</extendedEditMultipleValues>
<chooseType>true</chooseType>
<typeDomainEnabled>true</typeDomainEnabled>
<textEdit>true</textEdit>
</extInfo>
</items>
<items xsi:type="form:FormField">
<name>ТокенBitrix</name>
<id>199</id>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<dataPath xsi:type="form:DataPath">
<segments>НаборКонстант.ТокенBitrix</segments>
</dataPath>
<extendedTooltip>
<name>ТокенBitrixРасширеннаяПодсказка</name>
<id>201</id>
<type>Label</type>
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<extInfo xsi:type="form:LabelDecorationExtInfo">
<horizontalAlign>Left</horizontalAlign>
</extInfo>
</extendedTooltip>
<contextMenu>
<name>ТокенBitrixКонтекстноеМеню</name>
<id>200</id>
<autoFill>true</autoFill>
</contextMenu>
<type>InputField</type>
<editMode>EnterOnInput</editMode>
<showInHeader>true</showInHeader>
<headerHorizontalAlign>Left</headerHorizontalAlign>
<showInFooter>true</showInFooter>
<extInfo xsi:type="form:InputFieldExtInfo">
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<wrap>true</wrap>
<extendedEditMultipleValues>true</extendedEditMultipleValues>
<chooseType>true</chooseType>
<typeDomainEnabled>true</typeDomainEnabled>
<textEdit>true</textEdit>
</extInfo>
</items>
<items xsi:type="form:FormField">
<name>ПутьКПапкеДевопсСервера</name>
<id>151</id>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<dataPath xsi:type="form:DataPath">
<segments>НаборКонстант.ПутьКПапкеДевопсСервера</segments>
</dataPath>
<extendedTooltip>
<name>ПутьКПапкеДевопсСервераРасширеннаяПодсказка</name>
<id>153</id>
<type>Label</type>
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<extInfo xsi:type="form:LabelDecorationExtInfo">
<horizontalAlign>Left</horizontalAlign>
</extInfo>
</extendedTooltip>
<contextMenu>
<name>ПутьКПапкеДевопсСервераКонтекстноеМеню</name>
<id>152</id>
<autoFill>true</autoFill>
</contextMenu>
<type>InputField</type>
<editMode>EnterOnInput</editMode>
<showInHeader>true</showInHeader>
<headerHorizontalAlign>Left</headerHorizontalAlign>
<showInFooter>true</showInFooter>
<extInfo xsi:type="form:InputFieldExtInfo">
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<wrap>true</wrap>
<extendedEditMultipleValues>true</extendedEditMultipleValues>
<chooseType>true</chooseType>
<typeDomainEnabled>true</typeDomainEnabled>
<textEdit>true</textEdit>
</extInfo>
</items>
<items xsi:type="form:FormField">
<name>ПутьКРепозиториюDevCLI</name>
<id>154</id>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<dataPath xsi:type="form:DataPath">
<segments>НаборКонстант.ПутьКРепозиториюDevCLI</segments>
</dataPath>
<extendedTooltip>
<name>ПутьКРепозиториюDevCLIРасширеннаяПодсказка</name>
<id>156</id>
<type>Label</type>
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<extInfo xsi:type="form:LabelDecorationExtInfo">
<horizontalAlign>Left</horizontalAlign>
</extInfo>
</extendedTooltip>
<contextMenu>
<name>ПутьКРепозиториюDevCLIКонтекстноеМеню</name>
<id>155</id>
<autoFill>true</autoFill>
</contextMenu>
<type>InputField</type>
<editMode>EnterOnInput</editMode>
<showInHeader>true</showInHeader>
<headerHorizontalAlign>Left</headerHorizontalAlign>
<showInFooter>true</showInFooter>
<extInfo xsi:type="form:InputFieldExtInfo">
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<wrap>true</wrap>
<extendedEditMultipleValues>true</extendedEditMultipleValues>
<chooseType>true</chooseType>
<typeDomainEnabled>true</typeDomainEnabled>
<textEdit>true</textEdit>
</extInfo>
</items>
<visible>true</visible>
<enabled>true</enabled>
<userVisible>
<common>true</common>
</userVisible>
<title>
<key>ru</key>
<value>Устарело</value>
</title>
<extendedTooltip>
<name>ГруппаАрхивРасширеннаяПодсказка</name>
<id>212</id>
<type>Label</type>
<autoMaxWidth>true</autoMaxWidth>
<autoMaxHeight>true</autoMaxHeight>
<extInfo xsi:type="form:LabelDecorationExtInfo">
<horizontalAlign>Left</horizontalAlign>
</extInfo>
</extendedTooltip>
<type>UsualGroup</type>
<extInfo xsi:type="form:UsualGroupExtInfo">
<group>HorizontalIfPossible</group>
<behavior>Auto</behavior>
<representation>WeakSeparation</representation>
<showLeftMargin>true</showLeftMargin>
<united>true</united>
<showTitle>true</showTitle>
<throughAlign>Auto</throughAlign>
<currentRowUse>Auto</currentRowUse>
</extInfo>
</items>
<autoCommandBar>
<name>ФормаКоманднаяПанель</name>
<id>-1</id>
<horizontalAlign>Left</horizontalAlign>
<autoFill>true</autoFill>
</autoCommandBar>
<windowOpeningMode>LockOwnerWindow</windowOpeningMode>
<saveWindowSettings>true</saveWindowSettings>
<autoTitle>true</autoTitle>
<autoUrl>true</autoUrl>
<group>Vertical</group>
<autoFillCheck>true</autoFillCheck>
<allowFormCustomize>true</allowFormCustomize>
<enabled>true</enabled>
<showTitle>true</showTitle>
<showCloseButton>true</showCloseButton>
<attributes>
<name>НаборКонстант</name>
<id>1</id>
<valueType>
<types>ConstantsSet</types>
</valueType>
<view>
<common>true</common>
</view>
<edit>
<common>true</common>
</edit>
<main>true</main>
<savedData>true</savedData>
</attributes>
<commandInterface>
<navigationPanel/>
<commandBar/>
</commandInterface>
<extInfo xsi:type="form:ConstantsFormExtInfo"/>
</form:Form>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<mdclass:CommonForm xmlns:mdclass="http://g5.1c.ru/v8/dt/metadata/mdclass" uuid="1cac5e33-927d-4ce8-8496-a7ab9dc2c299">
<name>ФормаНастроекКонфигурации</name>
<synonym>
<key>ru</key>
<value>Форма настроек конфигурации</value>
</synonym>
<usePurposes>PersonalComputer</usePurposes>
<usePurposes>MobileDevice</usePurposes>
</mdclass:CommonForm>

View File

@@ -283,7 +283,7 @@
Попытка
Константы.ТаскТрекер.Установить(Перечисления.ТаскТрекеры.Предприятие1С);
Константы.УдалитьТаскТрекер.Установить(Перечисления.ТаскТрекеры.Предприятие1С);
Константы.СтратегияЗапускаСкрипта.Установить(Перечисления.СтратегияЗапускаСкрипта.CMD);
УправлениеСвойствамиСлужебный.СоздатьПредопределенныеНаборыСвойств();

View File

@@ -44,7 +44,7 @@
ДанныеЗаполнения = Новый Структура();
Если Константы.ТаскТрекер.Получить() <> Перечисления.ТаскТрекеры.Bitrix Тогда
Если Константы.УдалитьТаскТрекер.Получить() <> Перечисления.ТаскТрекеры.Bitrix Тогда
Возврат ДанныеЗаполнения;
КонецЕсли;
ИнформацияОЗадаче = ДанныеЗадачиБитрикс(НомерЗадачи);

View File

@@ -1299,9 +1299,9 @@
<constants>Constant.СпособХраненияФайлов</constants>
<constants>Constant.СтандартныеПодсистемыВАвтономномРежиме</constants>
<constants>Constant.СтратегияЗапускаСкрипта</constants>
<constants>Constant.ТаскТрекер</constants>
<constants>Constant.ТокенBitrix</constants>
<constants>Constant.УдалитьНастройкиВходаПользователей</constants>
<constants>Constant.УдалитьТаскТрекер</constants>
<constants>Constant.УчетнаяЗаписьДляВосстановленияПароля</constants>
<constants>Constant.ФайлЗапускаOscript</constants>
<constants>Constant.ХранитьИсториюРассылкиОтчетов</constants>
@@ -1372,6 +1372,7 @@
<commonForms>CommonForm.ФормаВариантаОтчета</commonForms>
<commonForms>CommonForm.ФормаВыбораЦвета</commonForms>
<commonForms>CommonForm.ФормаВыбораШрифта</commonForms>
<commonForms>CommonForm.ФормаНастроекКонфигурации</commonForms>
<commonForms>CommonForm.ФормаНастроекОтчета</commonForms>
<commonForms>CommonForm.ФормаОтчета</commonForms>
<commonForms>CommonForm.ФормаПоиска</commonForms>

View File

@@ -5,15 +5,16 @@
<valueManagerType typeId="63db6607-e70c-485a-bb6a-bb656fe05a34" valueTypeId="d6e87819-7d10-4f5e-b9b0-96c56ad18da2"/>
<valueKeyType typeId="179daaab-5bfe-4ff5-af87-f5b75e4cd968" valueTypeId="abec02e3-d081-43f1-a730-7cafd45f57ef"/>
</producedTypes>
<name>ТаскТрекер</name>
<name>УдалитьТаскТрекер</name>
<synonym>
<key>ru</key>
<value>Таск трекер</value>
<value>Удалить таск трекер</value>
</synonym>
<type>
<types>EnumRef.ТаскТрекеры</types>
</type>
<useStandardCommands>true</useStandardCommands>
<defaultForm>CommonForm.ФормаНастроекКонфигурации</defaultForm>
<minValue xsi:type="core:UndefinedValue"/>
<maxValue xsi:type="core:UndefinedValue"/>
<dataLockControlMode>Managed</dataLockControlMode>

View File

@@ -2342,7 +2342,7 @@
</right>
</object>
<object>
<name>Constant.ТаскТрекер</name>
<name>Constant.УдалитьТаскТрекер</name>
<right>
<name>Read</name>
<value>true</value>

View File

@@ -801,7 +801,7 @@
</right>
</object>
<object>
<name>Constant.ТаскТрекер</name>
<name>Constant.УдалитьТаскТрекер</name>
<right>
<name>Read</name>
<value>true</value>