SUPPORT-9447: поменял логику в старте процессов
This commit is contained in:
parent
5d1409aa8d
commit
14e9cc36ad
3 changed files with 340 additions and 204 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
import {
|
import {
|
||||||
AnalyticalScope,
|
AnalyticalScope,
|
||||||
Behavior,
|
Behavior,
|
||||||
|
Form,
|
||||||
NotNull,
|
NotNull,
|
||||||
ObjectRef,
|
ObjectRef,
|
||||||
SaveButton,
|
|
||||||
TextField,
|
TextField,
|
||||||
Visible
|
Visible
|
||||||
} from "@webbpm/base-package";
|
} from "@webbpm/base-package";
|
||||||
|
|
@ -32,7 +32,7 @@ import {ErvuPermission} from "../../../modules/app/enum/ErvuPermission";
|
||||||
import {BlockingData} from "./dto/blocking/BlockingData";
|
import {BlockingData} from "./dto/blocking/BlockingData";
|
||||||
import {UnblockingData} from "./dto/blocking/UnblockingData";
|
import {UnblockingData} from "./dto/blocking/UnblockingData";
|
||||||
|
|
||||||
@AnalyticalScope(SaveButton)
|
@AnalyticalScope(Form)
|
||||||
export class UserManagementService extends Behavior {
|
export class UserManagementService extends Behavior {
|
||||||
|
|
||||||
private static PROCESS_START_PATH = '/service/wf/service/start';
|
private static PROCESS_START_PATH = '/service/wf/service/start';
|
||||||
|
|
@ -41,9 +41,8 @@ export class UserManagementService extends Behavior {
|
||||||
@ObjectRef()
|
@ObjectRef()
|
||||||
public applicationKind: TextField;
|
public applicationKind: TextField;
|
||||||
|
|
||||||
private button: SaveButton;
|
private form: Form;
|
||||||
private httpClient: HttpClient;
|
private httpClient: HttpClient;
|
||||||
private onClickFunction: Function;
|
|
||||||
private sendToErvu: boolean = false;
|
private sendToErvu: boolean = false;
|
||||||
private rpc: UserApplicationListRpcService;
|
private rpc: UserApplicationListRpcService;
|
||||||
private authService: AuthorizationService;
|
private authService: AuthorizationService;
|
||||||
|
|
@ -51,124 +50,126 @@ export class UserManagementService extends Behavior {
|
||||||
|
|
||||||
initialize() {
|
initialize() {
|
||||||
super.initialize();
|
super.initialize();
|
||||||
this.button = this.getScript(SaveButton);
|
this.form = this.getScript(Form);
|
||||||
this.httpClient = this.injector.get(HttpClient);
|
this.httpClient = this.injector.get(HttpClient);
|
||||||
this.rpc = this.getScript(UserApplicationListRpcService);
|
this.rpc = this.getScript(UserApplicationListRpcService);
|
||||||
this.authService = this.injector.get(AuthorizationService);
|
this.authService = this.injector.get(AuthorizationService);
|
||||||
this.statusUpdateService = this.injector.get(StatusUpdateService);
|
this.statusUpdateService = this.injector.get(StatusUpdateService);
|
||||||
this.onClickFunction = () => {
|
}
|
||||||
if (!this.authService.hasPermission(ErvuPermission.APPROVER) || !this.sendToErvu) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const kind = this.applicationKind.getValue();
|
|
||||||
const formJson = this.collectData();
|
|
||||||
const appNumber = formJson['appNumber'];
|
|
||||||
const accountId = formJson['accountId'];
|
|
||||||
const personId = formJson['idPerson'];
|
|
||||||
let request;
|
|
||||||
|
|
||||||
switch (kind) {
|
@Visible()
|
||||||
case ApplicationKind.CREATE_USER:
|
public processDeclaration(): void {
|
||||||
let createData = new CreateAccountData();
|
if (!this.authService.hasPermission(ErvuPermission.APPROVER) || !this.sendToErvu) {
|
||||||
createData.account = this.populateDto(new Account(), formJson);
|
return;
|
||||||
createData.person = this.populateDto(new Person(), formJson);
|
}
|
||||||
let roles = new Roles();
|
const kind = this.applicationKind.getValue();
|
||||||
roles.add = formJson['rolesList'].map(id => {
|
const formJson = this.collectData();
|
||||||
let role = new Role();
|
const appNumber = formJson['appNumber'];
|
||||||
role.id = id;
|
const accountId = formJson['accountId'];
|
||||||
return role;
|
const personId = formJson['idPerson'];
|
||||||
});
|
let request;
|
||||||
createData.roles = roles;
|
|
||||||
request = new ProcessRequest<CreateAccountData>();
|
|
||||||
request.data = createData;
|
|
||||||
request.processKey = ProcessKey.CREATE;
|
|
||||||
this.doRequest(request, appNumber);
|
|
||||||
break;
|
|
||||||
case ApplicationKind.EDIT_USER_MAIN:
|
|
||||||
let editPersonData = new EditPersonData();
|
|
||||||
editPersonData.accountId = accountId;
|
|
||||||
editPersonData.personId = personId;
|
|
||||||
editPersonData.organizationId = formJson['idDomain'];
|
|
||||||
editPersonData.personData = this.populateDto(new Person(), formJson);
|
|
||||||
request = new ProcessRequest<EditPersonData>();
|
|
||||||
request.data = editPersonData;
|
|
||||||
request.processKey = ProcessKey.EDIT_PERSON;
|
|
||||||
this.doRequest(request, appNumber);
|
|
||||||
break;
|
|
||||||
case ApplicationKind.EDIT_USER_ACCOUNT:
|
|
||||||
let editAccountData = new EditAccountData();
|
|
||||||
let account = this.populateDto(new Account(), formJson);
|
|
||||||
editAccountData.account = account;
|
|
||||||
editAccountData.accountId = accountId;
|
|
||||||
request = new ProcessRequest<EditAccountData>();
|
|
||||||
request.data = editAccountData;
|
|
||||||
request.processKey = ProcessKey.EDIT_ACCOUNT;
|
|
||||||
this.doRequest(request, appNumber);
|
|
||||||
break;
|
|
||||||
case ApplicationKind.EDIT_USER_ROLES:
|
|
||||||
let editRolesAccount = new EditRolesAccount();
|
|
||||||
let rolesList = formJson['rolesList'];
|
|
||||||
editRolesAccount.accountId = accountId;
|
|
||||||
let roles2 = new Roles();
|
|
||||||
roles2.add = rolesList.map(id => {
|
|
||||||
let role = new Role();
|
|
||||||
role.id = id;
|
|
||||||
return role;
|
|
||||||
});
|
|
||||||
this.rpc.getRemovedRoleIds(accountId, rolesList)
|
|
||||||
.then(list => {
|
|
||||||
roles2.remove = list;
|
|
||||||
editRolesAccount.roles = roles2;
|
|
||||||
let editRolesData = new EditRolesData();
|
|
||||||
editRolesData.data = editRolesAccount;
|
|
||||||
request = new ProcessRequest<EditRolesData>();
|
|
||||||
request.data = editRolesData;
|
|
||||||
request.processKey = ProcessKey.EDIT_ROLES;
|
|
||||||
this.doRequest(request, appNumber);
|
|
||||||
});
|
|
||||||
break;
|
|
||||||
case ApplicationKind.BLOCK_USER:
|
|
||||||
let blockingData = new BlockingData();
|
|
||||||
blockingData.accountIdList = [accountId];
|
|
||||||
request = new ProcessRequest<BlockingData>();
|
|
||||||
request.data = blockingData;
|
|
||||||
request.processKey = ProcessKey.BLOCK;
|
|
||||||
this.doRequest(request, appNumber);
|
|
||||||
break;
|
|
||||||
case ApplicationKind.UNBLOCK_USER:
|
|
||||||
let unblockingData = new UnblockingData();
|
|
||||||
let blockedRegion = formJson['blockedRegion'];
|
|
||||||
|
|
||||||
switch (blockedRegion) {
|
switch (kind) {
|
||||||
case BlockedRegion.ACCOUNT:
|
case ApplicationKind.CREATE_USER:
|
||||||
unblockingData.accountIdList = [accountId];
|
let createData = new CreateAccountData();
|
||||||
break;
|
createData.account = this.populateDto(new Account(), formJson);
|
||||||
case BlockedRegion.PERSON:
|
createData.person = this.populateDto(new Person(), formJson);
|
||||||
unblockingData.personIdList = [personId];
|
let roles = new Roles();
|
||||||
break;
|
roles.add = formJson['rolesList'].map(id => {
|
||||||
case BlockedRegion.BOTH:
|
let role = new Role();
|
||||||
unblockingData.accountIdList = [accountId];
|
role.id = id;
|
||||||
unblockingData.personIdList = [personId];
|
return role;
|
||||||
break;
|
});
|
||||||
}
|
createData.roles = roles;
|
||||||
request = new ProcessRequest<UnblockingData>();
|
request = new ProcessRequest<CreateAccountData>();
|
||||||
request.data = unblockingData;
|
request.data = createData;
|
||||||
request.processKey = ProcessKey.UNBLOCK;
|
request.processKey = ProcessKey.CREATE;
|
||||||
this.doRequest(request, appNumber);
|
this.doRequest(request, appNumber);
|
||||||
break;
|
break;
|
||||||
case ApplicationKind.RESET_PASSWORD:
|
case ApplicationKind.EDIT_USER_MAIN:
|
||||||
let resetPasswordAccount = new ResetPasswordAccount();
|
let editPersonData = new EditPersonData();
|
||||||
resetPasswordAccount.id = accountId;
|
editPersonData.accountId = accountId;
|
||||||
let resetPasswordData = new ResetPasswordData();
|
editPersonData.personId = personId;
|
||||||
resetPasswordData.account = resetPasswordAccount;
|
editPersonData.organizationId = formJson['idDomain'];
|
||||||
request = new ProcessRequest<ResetPasswordData>();
|
editPersonData.personData = this.populateDto(new Person(), formJson);
|
||||||
request.data = resetPasswordData;
|
request = new ProcessRequest<EditPersonData>();
|
||||||
request.processKey = ProcessKey.RESET_PASSWORD;
|
request.data = editPersonData;
|
||||||
this.doRequest(request, appNumber);
|
request.processKey = ProcessKey.EDIT_PERSON;
|
||||||
break;
|
this.doRequest(request, appNumber);
|
||||||
default: break;
|
break;
|
||||||
}
|
case ApplicationKind.EDIT_USER_ACCOUNT:
|
||||||
};
|
let editAccountData = new EditAccountData();
|
||||||
|
let account = this.populateDto(new Account(), formJson);
|
||||||
|
editAccountData.account = account;
|
||||||
|
editAccountData.accountId = accountId;
|
||||||
|
request = new ProcessRequest<EditAccountData>();
|
||||||
|
request.data = editAccountData;
|
||||||
|
request.processKey = ProcessKey.EDIT_ACCOUNT;
|
||||||
|
this.doRequest(request, appNumber);
|
||||||
|
break;
|
||||||
|
case ApplicationKind.EDIT_USER_ROLES:
|
||||||
|
let editRolesAccount = new EditRolesAccount();
|
||||||
|
let rolesList = formJson['rolesList'];
|
||||||
|
editRolesAccount.accountId = accountId;
|
||||||
|
let roles2 = new Roles();
|
||||||
|
roles2.add = rolesList.map(id => {
|
||||||
|
let role = new Role();
|
||||||
|
role.id = id;
|
||||||
|
return role;
|
||||||
|
});
|
||||||
|
this.rpc.getRemovedRoleIds(accountId, rolesList)
|
||||||
|
.then(list => {
|
||||||
|
roles2.remove = list;
|
||||||
|
editRolesAccount.roles = roles2;
|
||||||
|
let editRolesData = new EditRolesData();
|
||||||
|
editRolesData.data = editRolesAccount;
|
||||||
|
request = new ProcessRequest<EditRolesData>();
|
||||||
|
request.data = editRolesData;
|
||||||
|
request.processKey = ProcessKey.EDIT_ROLES;
|
||||||
|
this.doRequest(request, appNumber);
|
||||||
|
});
|
||||||
|
break;
|
||||||
|
case ApplicationKind.BLOCK_USER:
|
||||||
|
let blockingData = new BlockingData();
|
||||||
|
blockingData.accountIdList = [accountId];
|
||||||
|
request = new ProcessRequest<BlockingData>();
|
||||||
|
request.data = blockingData;
|
||||||
|
request.processKey = ProcessKey.BLOCK;
|
||||||
|
this.doRequest(request, appNumber);
|
||||||
|
break;
|
||||||
|
case ApplicationKind.UNBLOCK_USER:
|
||||||
|
let unblockingData = new UnblockingData();
|
||||||
|
let blockedRegion = formJson['blockedRegion'];
|
||||||
|
|
||||||
|
switch (blockedRegion) {
|
||||||
|
case BlockedRegion.ACCOUNT:
|
||||||
|
unblockingData.accountIdList = [accountId];
|
||||||
|
break;
|
||||||
|
case BlockedRegion.PERSON:
|
||||||
|
unblockingData.personIdList = [personId];
|
||||||
|
break;
|
||||||
|
case BlockedRegion.BOTH:
|
||||||
|
unblockingData.accountIdList = [accountId];
|
||||||
|
unblockingData.personIdList = [personId];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
request = new ProcessRequest<UnblockingData>();
|
||||||
|
request.data = unblockingData;
|
||||||
|
request.processKey = ProcessKey.UNBLOCK;
|
||||||
|
this.doRequest(request, appNumber);
|
||||||
|
break;
|
||||||
|
case ApplicationKind.RESET_PASSWORD:
|
||||||
|
let resetPasswordAccount = new ResetPasswordAccount();
|
||||||
|
resetPasswordAccount.id = accountId;
|
||||||
|
let resetPasswordData = new ResetPasswordData();
|
||||||
|
resetPasswordData.account = resetPasswordAccount;
|
||||||
|
request = new ProcessRequest<ResetPasswordData>();
|
||||||
|
request.data = resetPasswordData;
|
||||||
|
request.processKey = ProcessKey.RESET_PASSWORD;
|
||||||
|
this.doRequest(request, appNumber);
|
||||||
|
break;
|
||||||
|
default: break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Visible()
|
@Visible()
|
||||||
|
|
@ -178,7 +179,7 @@ export class UserManagementService extends Behavior {
|
||||||
|
|
||||||
private collectData(): any {
|
private collectData(): any {
|
||||||
let jsonObj = {};
|
let jsonObj = {};
|
||||||
let fields: FormField[] = this.button.form.getScriptsInChildren(FormField);
|
let fields: FormField[] = this.form.getScriptsInChildren(FormField);
|
||||||
|
|
||||||
for (let field of fields) {
|
for (let field of fields) {
|
||||||
jsonObj[`${field.name}`] = field.getValue();
|
jsonObj[`${field.name}`] = field.getValue();
|
||||||
|
|
@ -220,14 +221,4 @@ export class UserManagementService extends Behavior {
|
||||||
.then(() => this.statusUpdateService.publishStatus(appNumber, false))
|
.then(() => this.statusUpdateService.publishStatus(appNumber, false))
|
||||||
.catch(err => console.log('failed to update application status', err));
|
.catch(err => console.log('failed to update application status', err));
|
||||||
}
|
}
|
||||||
|
|
||||||
bindEvents() {
|
|
||||||
super.bindEvents();
|
|
||||||
this.button.addClickListener(this.onClickFunction);
|
|
||||||
}
|
|
||||||
|
|
||||||
unbindEvents() {
|
|
||||||
super.unbindEvents();
|
|
||||||
this.button.removeClickListener(this.onClickFunction);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1975,6 +1975,30 @@
|
||||||
<scripts id="ad6ccafe-914e-4e13-a351-88bf107a5007"/>
|
<scripts id="ad6ccafe-914e-4e13-a351-88bf107a5007"/>
|
||||||
<scripts id="9ad247a3-9c46-4f12-9949-b1c905bd73bc"/>
|
<scripts id="9ad247a3-9c46-4f12-9949-b1c905bd73bc"/>
|
||||||
<scripts id="79188cdc-d646-433e-9751-1482b9247ee6"/>
|
<scripts id="79188cdc-d646-433e-9751-1482b9247ee6"/>
|
||||||
|
<scripts id="34028716-0a01-4e91-82e5-b0675f6c1cd9">
|
||||||
|
<classRef type="TS">
|
||||||
|
<className>UserManagementService</className>
|
||||||
|
<packageName>account_applications.component.button</packageName>
|
||||||
|
</classRef>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<expanded>true</expanded>
|
||||||
|
<properties>
|
||||||
|
<entry>
|
||||||
|
<key>applicationKind</key>
|
||||||
|
<value>
|
||||||
|
<simple>{"objectId":"9e772048-b43f-42f1-a370-2519dd4f6ad7","packageName":"component.field","className":"TextField","type":"TS"}</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</properties>
|
||||||
|
</scripts>
|
||||||
|
<scripts id="bad44553-ada3-43fd-b7ef-805d5fdf6bcf">
|
||||||
|
<classRef type="JAVA">
|
||||||
|
<className>UserApplicationListRpcService</className>
|
||||||
|
<packageName>ru.micord.ervu.account_applications.component.rpc</packageName>
|
||||||
|
</classRef>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<expanded>true</expanded>
|
||||||
|
</scripts>
|
||||||
<children id="81bc8720-c32a-481c-bc05-35bbb81b0a14">
|
<children id="81bc8720-c32a-481c-bc05-35bbb81b0a14">
|
||||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||||
<componentRootId>81bc8720-c32a-481c-bc05-35bbb81b0a14</componentRootId>
|
<componentRootId>81bc8720-c32a-481c-bc05-35bbb81b0a14</componentRootId>
|
||||||
|
|
@ -4481,7 +4505,6 @@
|
||||||
<componentRootId>2ee6f91b-c4a2-461d-8428-c3a6a13c9244</componentRootId>
|
<componentRootId>2ee6f91b-c4a2-461d-8428-c3a6a13c9244</componentRootId>
|
||||||
<name>hidden</name>
|
<name>hidden</name>
|
||||||
<container>true</container>
|
<container>true</container>
|
||||||
<expanded>false</expanded>
|
|
||||||
<childrenReordered>false</childrenReordered>
|
<childrenReordered>false</childrenReordered>
|
||||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||||
<properties>
|
<properties>
|
||||||
|
|
@ -4835,6 +4858,88 @@
|
||||||
</properties>
|
</properties>
|
||||||
</scripts>
|
</scripts>
|
||||||
</children>
|
</children>
|
||||||
|
<children id="a39cddde-ab9e-4e2b-8587-32ec4f6df5bc">
|
||||||
|
<prototypeId>98594cec-0a9b-4cef-af09-e1b71cb2ad9e</prototypeId>
|
||||||
|
<componentRootId>a39cddde-ab9e-4e2b-8587-32ec4f6df5bc</componentRootId>
|
||||||
|
<name>Обработка успешного сохранения</name>
|
||||||
|
<container>false</container>
|
||||||
|
<childrenReordered>false</childrenReordered>
|
||||||
|
<scripts id="37dff5c8-1599-4984-b107-c44a87b6da2e">
|
||||||
|
<properties>
|
||||||
|
<entry>
|
||||||
|
<key>eventRefs</key>
|
||||||
|
<value>
|
||||||
|
<item id="45f58b93-d287-466f-b416-44a02e81aee9" removed="false">
|
||||||
|
<value>
|
||||||
|
<complex>
|
||||||
|
<entry>
|
||||||
|
<key>behavior</key>
|
||||||
|
<value>
|
||||||
|
<simple>{"objectId":"80f94647-9cb4-4aaf-8c6b-a842e486e98c","packageName":"component.container","className":"Form","type":"TS"}</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>propertyName</key>
|
||||||
|
<value>
|
||||||
|
<simple>"saveSucceededEvent"</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</complex>
|
||||||
|
</value>
|
||||||
|
</item>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>ifCondition</key>
|
||||||
|
<value>
|
||||||
|
<complex>
|
||||||
|
<entry>
|
||||||
|
<key>conditions</key>
|
||||||
|
<value>
|
||||||
|
<item id="e4aa65ed-e659-49de-bbed-1c86e6aa2561" removed="true"/>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>logicalOperation</key>
|
||||||
|
<value>
|
||||||
|
<simple>null</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</complex>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>thenActions</key>
|
||||||
|
<value>
|
||||||
|
<item id="c62ed7e4-5479-406f-9f4b-1b0e93a790ba" removed="false">
|
||||||
|
<value>
|
||||||
|
<complex>
|
||||||
|
<entry>
|
||||||
|
<key>behavior</key>
|
||||||
|
<value>
|
||||||
|
<simple>{"objectId":"80f94647-9cb4-4aaf-8c6b-a842e486e98c","packageName":"account_applications.component.button","className":"UserManagementService","type":"TS"}</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>method</key>
|
||||||
|
<value>
|
||||||
|
<simple>"processDeclaration"</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>value</key>
|
||||||
|
<value>
|
||||||
|
<simple>null</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</complex>
|
||||||
|
</value>
|
||||||
|
</item>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</properties>
|
||||||
|
</scripts>
|
||||||
|
</children>
|
||||||
</children>
|
</children>
|
||||||
<children id="8feb55f1-bbef-4cf9-83b5-5cbcffe5b9e6">
|
<children id="8feb55f1-bbef-4cf9-83b5-5cbcffe5b9e6">
|
||||||
<prototypeId>3057d447-6d17-48a8-b096-b14ea88d17e8</prototypeId>
|
<prototypeId>3057d447-6d17-48a8-b096-b14ea88d17e8</prototypeId>
|
||||||
|
|
@ -7868,6 +7973,13 @@
|
||||||
</scripts>
|
</scripts>
|
||||||
</children>
|
</children>
|
||||||
</children>
|
</children>
|
||||||
|
<children id="a39cddde-ab9e-4e2b-8587-32ec4f6df5bc">
|
||||||
|
<prototypeId>98594cec-0a9b-4cef-af09-e1b71cb2ad9e</prototypeId>
|
||||||
|
<componentRootId>a39cddde-ab9e-4e2b-8587-32ec4f6df5bc</componentRootId>
|
||||||
|
<name>Обработка событий</name>
|
||||||
|
<container>false</container>
|
||||||
|
<removed>true</removed>
|
||||||
|
</children>
|
||||||
<children id="b838c4d9-b8f2-4142-96fe-240540a4802e">
|
<children id="b838c4d9-b8f2-4142-96fe-240540a4802e">
|
||||||
<prototypeId>312c9663-86b4-4672-97bd-67d313585c00</prototypeId>
|
<prototypeId>312c9663-86b4-4672-97bd-67d313585c00</prototypeId>
|
||||||
<componentRootId>b838c4d9-b8f2-4142-96fe-240540a4802e</componentRootId>
|
<componentRootId>b838c4d9-b8f2-4142-96fe-240540a4802e</componentRootId>
|
||||||
|
|
@ -8101,30 +8213,6 @@
|
||||||
</entry>
|
</entry>
|
||||||
</properties>
|
</properties>
|
||||||
</scripts>
|
</scripts>
|
||||||
<scripts id="0c2a0e80-ab66-469c-a97e-0dd1b0f808dc">
|
|
||||||
<classRef type="TS">
|
|
||||||
<className>UserManagementService</className>
|
|
||||||
<packageName>account_applications.component.button</packageName>
|
|
||||||
</classRef>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
<expanded>true</expanded>
|
|
||||||
<properties>
|
|
||||||
<entry>
|
|
||||||
<key>applicationKind</key>
|
|
||||||
<value>
|
|
||||||
<simple>{"objectId":"9e772048-b43f-42f1-a370-2519dd4f6ad7","packageName":"component.field","className":"TextField","type":"TS"}</simple>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
</properties>
|
|
||||||
</scripts>
|
|
||||||
<scripts id="ae7e90d1-0db9-4cc1-9202-e2dc273ae66d">
|
|
||||||
<classRef type="JAVA">
|
|
||||||
<className>UserApplicationListRpcService</className>
|
|
||||||
<packageName>ru.micord.ervu.account_applications.component.rpc</packageName>
|
|
||||||
</classRef>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
<expanded>true</expanded>
|
|
||||||
</scripts>
|
|
||||||
</children>
|
</children>
|
||||||
<children id="7ed531bc-a941-43a9-8cf7-31d32dd6e0cd">
|
<children id="7ed531bc-a941-43a9-8cf7-31d32dd6e0cd">
|
||||||
<prototypeId>c8dfe691-a84a-48da-b79e-6298d90db71d</prototypeId>
|
<prototypeId>c8dfe691-a84a-48da-b79e-6298d90db71d</prototypeId>
|
||||||
|
|
@ -8363,13 +8451,13 @@
|
||||||
</complex>
|
</complex>
|
||||||
</value>
|
</value>
|
||||||
</item>
|
</item>
|
||||||
<item id="dea3a357-5874-4978-9def-254041b94a12" removed="false">
|
<item id="208e3d10-04f5-406d-948c-3a63e4c1417d" removed="false">
|
||||||
<value>
|
<value>
|
||||||
<complex>
|
<complex>
|
||||||
<entry>
|
<entry>
|
||||||
<key>behavior</key>
|
<key>behavior</key>
|
||||||
<value>
|
<value>
|
||||||
<simple>{"objectId":"dd6db966-9599-4483-9eae-12718b7f081b","packageName":"account_applications.component.button","className":"UserManagementService","type":"TS"}</simple>
|
<simple>{"objectId":"80f94647-9cb4-4aaf-8c6b-a842e486e98c","packageName":"account_applications.component.button","className":"UserManagementService","type":"TS"}</simple>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
|
|
@ -8381,23 +8469,13 @@
|
||||||
<entry>
|
<entry>
|
||||||
<key>value</key>
|
<key>value</key>
|
||||||
<value>
|
<value>
|
||||||
<complex>
|
<simple>null</simple>
|
||||||
<entry>
|
|
||||||
<key>staticValue</key>
|
|
||||||
<value>
|
|
||||||
<implRef type="TS">
|
|
||||||
<className>boolean</className>
|
|
||||||
<packageName></packageName>
|
|
||||||
</implRef>
|
|
||||||
<simple>true</simple>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
</complex>
|
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
</complex>
|
</complex>
|
||||||
</value>
|
</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item id="dea3a357-5874-4978-9def-254041b94a12" removed="true"/>
|
||||||
<item id="361a327e-26a5-4319-a658-2630ebf31ea6" removed="false">
|
<item id="361a327e-26a5-4319-a658-2630ebf31ea6" removed="false">
|
||||||
<value>
|
<value>
|
||||||
<complex>
|
<complex>
|
||||||
|
|
|
||||||
|
|
@ -912,6 +912,30 @@
|
||||||
<scripts id="ad6ccafe-914e-4e13-a351-88bf107a5007"/>
|
<scripts id="ad6ccafe-914e-4e13-a351-88bf107a5007"/>
|
||||||
<scripts id="9ad247a3-9c46-4f12-9949-b1c905bd73bc"/>
|
<scripts id="9ad247a3-9c46-4f12-9949-b1c905bd73bc"/>
|
||||||
<scripts id="79188cdc-d646-433e-9751-1482b9247ee6"/>
|
<scripts id="79188cdc-d646-433e-9751-1482b9247ee6"/>
|
||||||
|
<scripts id="4949cab5-cb5d-46e8-9373-e012f6c62b60">
|
||||||
|
<classRef type="TS">
|
||||||
|
<className>UserManagementService</className>
|
||||||
|
<packageName>account_applications.component.button</packageName>
|
||||||
|
</classRef>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<expanded>true</expanded>
|
||||||
|
<properties>
|
||||||
|
<entry>
|
||||||
|
<key>applicationKind</key>
|
||||||
|
<value>
|
||||||
|
<simple>{"objectId":"9e772048-b43f-42f1-a370-2519dd4f6ad7","packageName":"component.field","className":"TextField","type":"TS"}</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</properties>
|
||||||
|
</scripts>
|
||||||
|
<scripts id="3583b929-1a54-4f89-b1e3-23b3a546d974">
|
||||||
|
<classRef type="JAVA">
|
||||||
|
<className>UserApplicationListRpcService</className>
|
||||||
|
<packageName>ru.micord.ervu.account_applications.component.rpc</packageName>
|
||||||
|
</classRef>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<expanded>true</expanded>
|
||||||
|
</scripts>
|
||||||
<children id="d4485ba1-6ebe-4745-b661-8685332cfc22">
|
<children id="d4485ba1-6ebe-4745-b661-8685332cfc22">
|
||||||
<prototypeId>56d5ae60-a4b3-4f98-947b-6654cb4d400b</prototypeId>
|
<prototypeId>56d5ae60-a4b3-4f98-947b-6654cb4d400b</prototypeId>
|
||||||
<componentRootId>d4485ba1-6ebe-4745-b661-8685332cfc22</componentRootId>
|
<componentRootId>d4485ba1-6ebe-4745-b661-8685332cfc22</componentRootId>
|
||||||
|
|
@ -7769,6 +7793,83 @@
|
||||||
<removed>true</removed>
|
<removed>true</removed>
|
||||||
</children>
|
</children>
|
||||||
</children>
|
</children>
|
||||||
|
<children id="7cfa9569-0aa7-4705-a1a3-743cd28095a9">
|
||||||
|
<prototypeId>98594cec-0a9b-4cef-af09-e1b71cb2ad9e</prototypeId>
|
||||||
|
<componentRootId>7cfa9569-0aa7-4705-a1a3-743cd28095a9</componentRootId>
|
||||||
|
<name>Обработка успешного сохранения</name>
|
||||||
|
<container>false</container>
|
||||||
|
<childrenReordered>false</childrenReordered>
|
||||||
|
<scripts id="37dff5c8-1599-4984-b107-c44a87b6da2e">
|
||||||
|
<properties>
|
||||||
|
<entry>
|
||||||
|
<key>eventRefs</key>
|
||||||
|
<value>
|
||||||
|
<item id="01cec1be-76e2-4316-b586-6aae49cf04e8" removed="false">
|
||||||
|
<value>
|
||||||
|
<complex>
|
||||||
|
<entry>
|
||||||
|
<key>behavior</key>
|
||||||
|
<value>
|
||||||
|
<simple>{"objectId":"80f94647-9cb4-4aaf-8c6b-a842e486e98c","packageName":"component.container","className":"Form","type":"TS"}</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>propertyName</key>
|
||||||
|
<value>
|
||||||
|
<simple>"saveSucceededEvent"</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</complex>
|
||||||
|
</value>
|
||||||
|
</item>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>ifCondition</key>
|
||||||
|
<value>
|
||||||
|
<complex>
|
||||||
|
<entry>
|
||||||
|
<key>logicalOperation</key>
|
||||||
|
<value>
|
||||||
|
<simple>null</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</complex>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>thenActions</key>
|
||||||
|
<value>
|
||||||
|
<item id="f2f4a22e-90c2-4f76-a5cd-cb0540a8c08d" removed="false">
|
||||||
|
<value>
|
||||||
|
<complex>
|
||||||
|
<entry>
|
||||||
|
<key>behavior</key>
|
||||||
|
<value>
|
||||||
|
<simple>{"objectId":"80f94647-9cb4-4aaf-8c6b-a842e486e98c","packageName":"account_applications.component.button","className":"UserManagementService","type":"TS"}</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>method</key>
|
||||||
|
<value>
|
||||||
|
<simple>"processDeclaration"</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<key>value</key>
|
||||||
|
<value>
|
||||||
|
<simple>null</simple>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</complex>
|
||||||
|
</value>
|
||||||
|
</item>
|
||||||
|
<item id="94b39d32-75f2-4409-8fda-3de8b858b252" removed="true"/>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</properties>
|
||||||
|
</scripts>
|
||||||
|
</children>
|
||||||
<children id="69863dbf-ee75-4dcd-8878-7f8b5f299995">
|
<children id="69863dbf-ee75-4dcd-8878-7f8b5f299995">
|
||||||
<prototypeId>c4b63ae3-f093-4b74-891b-d16e2a35644e</prototypeId>
|
<prototypeId>c4b63ae3-f093-4b74-891b-d16e2a35644e</prototypeId>
|
||||||
<componentRootId>69863dbf-ee75-4dcd-8878-7f8b5f299995</componentRootId>
|
<componentRootId>69863dbf-ee75-4dcd-8878-7f8b5f299995</componentRootId>
|
||||||
|
|
@ -8023,30 +8124,6 @@
|
||||||
</entry>
|
</entry>
|
||||||
</properties>
|
</properties>
|
||||||
</scripts>
|
</scripts>
|
||||||
<scripts id="0c2a0e80-ab66-469c-a97e-0dd1b0f808dc">
|
|
||||||
<classRef type="TS">
|
|
||||||
<className>UserManagementService</className>
|
|
||||||
<packageName>account_applications.component.button</packageName>
|
|
||||||
</classRef>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
<expanded>true</expanded>
|
|
||||||
<properties>
|
|
||||||
<entry>
|
|
||||||
<key>applicationKind</key>
|
|
||||||
<value>
|
|
||||||
<simple>{"objectId":"9e772048-b43f-42f1-a370-2519dd4f6ad7","packageName":"component.field","className":"TextField","type":"TS"}</simple>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
</properties>
|
|
||||||
</scripts>
|
|
||||||
<scripts id="55ae453e-60e1-4988-83b0-36b73289e533">
|
|
||||||
<classRef type="JAVA">
|
|
||||||
<className>UserApplicationListRpcService</className>
|
|
||||||
<packageName>ru.micord.ervu.account_applications.component.rpc</packageName>
|
|
||||||
</classRef>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
<expanded>true</expanded>
|
|
||||||
</scripts>
|
|
||||||
</children>
|
</children>
|
||||||
<children id="7ed531bc-a941-43a9-8cf7-31d32dd6e0cd">
|
<children id="7ed531bc-a941-43a9-8cf7-31d32dd6e0cd">
|
||||||
<prototypeId>c8dfe691-a84a-48da-b79e-6298d90db71d</prototypeId>
|
<prototypeId>c8dfe691-a84a-48da-b79e-6298d90db71d</prototypeId>
|
||||||
|
|
@ -8298,13 +8375,13 @@
|
||||||
</complex>
|
</complex>
|
||||||
</value>
|
</value>
|
||||||
</item>
|
</item>
|
||||||
<item id="0879733b-dd43-420d-9aac-28a5672f7698" removed="false">
|
<item id="d2190405-5e18-4c05-bd53-3ffbaad0e4ea" removed="false">
|
||||||
<value>
|
<value>
|
||||||
<complex>
|
<complex>
|
||||||
<entry>
|
<entry>
|
||||||
<key>behavior</key>
|
<key>behavior</key>
|
||||||
<value>
|
<value>
|
||||||
<simple>{"objectId":"dd6db966-9599-4483-9eae-12718b7f081b","packageName":"account_applications.component.button","className":"UserManagementService","type":"TS"}</simple>
|
<simple>{"objectId":"80f94647-9cb4-4aaf-8c6b-a842e486e98c","packageName":"account_applications.component.button","className":"UserManagementService","type":"TS"}</simple>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
|
|
@ -8316,23 +8393,13 @@
|
||||||
<entry>
|
<entry>
|
||||||
<key>value</key>
|
<key>value</key>
|
||||||
<value>
|
<value>
|
||||||
<complex>
|
<simple>null</simple>
|
||||||
<entry>
|
|
||||||
<key>staticValue</key>
|
|
||||||
<value>
|
|
||||||
<implRef type="TS">
|
|
||||||
<className>boolean</className>
|
|
||||||
<packageName></packageName>
|
|
||||||
</implRef>
|
|
||||||
<simple>true</simple>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
</complex>
|
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
</complex>
|
</complex>
|
||||||
</value>
|
</value>
|
||||||
</item>
|
</item>
|
||||||
|
<item id="0879733b-dd43-420d-9aac-28a5672f7698" removed="true"/>
|
||||||
<item id="361a327e-26a5-4319-a658-2630ebf31ea6" removed="false">
|
<item id="361a327e-26a5-4319-a658-2630ebf31ea6" removed="false">
|
||||||
<value>
|
<value>
|
||||||
<complex>
|
<complex>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue