Merge branch 'main' of https://gitea.grupoginseng.com.br/andrey.cunha/fluig
This commit is contained in:
commit
c0d8ad9ca4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/.metadata/
|
||||
Lançamento de documentos/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log
|
||||
|
||||
7930
.metadata/.log
7930
.metadata/.log
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
description.autobuilding=false
|
||||
eclipse.preferences.version=1
|
||||
encoding=UTF-8
|
||||
version=1
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
PROBLEMS_FILTERS_MIGRATE=true
|
||||
eclipse.preferences.version=1
|
||||
platformState=1741352421210
|
||||
platformState=1776269138561
|
||||
quickStart=false
|
||||
tipsAndTricks=true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
eclipse.preferences.version=1
|
||||
fontPropagated=true
|
||||
org.eclipse.jface.textfont=1|Courier New|10.0|0|WINDOWS|1|0|0|0|0|0|0|0|0|1|0|0|0|0|Courier New;
|
||||
org.eclipse.jface.textfont=1|Consolas|10.0|0|WINDOWS|1|0|0|0|0|0|0|0|0|1|0|0|0|0|Consolas;
|
||||
org.eclipse.wst.jsdt.internal.ui.navigator.layout=1
|
||||
org.eclipse.wst.jsdt.ui.editor.tab.width=
|
||||
org.eclipse.wst.jsdt.ui.formatterprofiles.version=11
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
jspIndexState=1
|
||||
jspIndexState=4
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@ -186,3 +186,5 @@
|
||||
2026-03-05 14:13:17,734 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
|
||||
2026-03-06 09:35:04,306 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-03-11 10:42:23,819 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
|
||||
2026-04-15 13:08:08,894 [Worker-4: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-04-15 13:16:26,886 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
#Cached timestamps
|
||||
#Tue Feb 24 10:53:12 BRT 2026
|
||||
#Wed Apr 15 14:30:03 BRT 2026
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
<item key="SmartImportRootWizardPage.STORE_NESTED_PROJECTS" value="true"/>
|
||||
<item key="SmartImportRootWizardPage.STORE_CONFIGURE_NATURES" value="true"/>
|
||||
<list key="org.eclipse.ui.internal.wizards.datatransfer.SmartImportRootWizardPage.knownSources">
|
||||
<item value="C:\Python\Python\Python\Fluig geral\fluig"/>
|
||||
<item value="C:\Users\andrey.cunha\ComprasDigital"/>
|
||||
</list>
|
||||
</section>
|
||||
@ -40,4 +41,14 @@
|
||||
<item key="DIALOG_FONT_NAME" value="1|Segoe UI|9.0|0|WINDOWS|1|-15|0|0|0|400|0|0|0|1|0|0|0|0|Segoe UI"/>
|
||||
</section>
|
||||
</section>
|
||||
<section name="org.eclipse.ui.internal.ide.dialogs.ProjectContentsLocationArea">
|
||||
</section>
|
||||
<section name="ChooseWorkspaceDialogSettings">
|
||||
<item key="DIALOG_X_ORIGIN" value="857"/>
|
||||
<item key="DIALOG_Y_ORIGIN" value="404"/>
|
||||
</section>
|
||||
<section name="WORKBENCH_SETTINGS">
|
||||
<list key="ENABLED_TRANSFERS">
|
||||
</list>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="org.eclipse.ui.texteditor.FindReplaceDialog">
|
||||
<item key="selection" value="DATASET_PRODUTOS"/>
|
||||
<item key="selection" value="impeditivo"/>
|
||||
<item key="wrap" value="true"/>
|
||||
<item key="casesensitive" value="false"/>
|
||||
<item key="wholeword" value="false"/>
|
||||
<item key="incremental" value="false"/>
|
||||
<item key="isRegEx" value="false"/>
|
||||
<list key="findhistory">
|
||||
<item value="impeditivo"/>
|
||||
<item value="DATASET_PRODUTOS"/>
|
||||
<item value="hasnext"/>
|
||||
<item value="23665"/>
|
||||
@ -22,7 +23,6 @@
|
||||
<item value="endpoint"/>
|
||||
<item value="Cotação 000001 não encontrada"/>
|
||||
<item value="processID"/>
|
||||
<item value="numeroSC"/>
|
||||
</list>
|
||||
<list key="replacehistory">
|
||||
<item value=""/>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +1,21 @@
|
||||
INDEX VERSION 1.4+C:\Users\andrey.cunha\eclipse-workspace.new\.metadata\.plugins\org.eclipse.wst.jsdt.core\indexes
|
||||
17091598.index
|
||||
4202715187.index
|
||||
2938933076.index
|
||||
INDEX VERSION 1.4+C:\Python\Python\Python\Fluig geral\fluig\.metadata\.plugins\org.eclipse.wst.jsdt.core\indexes
|
||||
3537614094.index
|
||||
1478047577.index
|
||||
3128569756.index
|
||||
1860298949.index
|
||||
2822718276.index
|
||||
2568227984.index
|
||||
4052977093.index
|
||||
1053469344.index
|
||||
3974601650.index
|
||||
1034765801.index
|
||||
1357543591.index
|
||||
1408135880.index
|
||||
1600244917.index
|
||||
2317861947.index
|
||||
2276237669.index
|
||||
3963123655.index
|
||||
7156200.index
|
||||
3528551409.index
|
||||
707046764.index
|
||||
3371662347.index
|
||||
2333158432.index
|
||||
457859505.index
|
||||
1268003346.index
|
||||
|
||||
@ -111,6 +111,8 @@ com.fluig.sdk.api.task.TaskKindEnum = function() {};
|
||||
com.fluig.sdk.api.task.TaskKindEnum.prototype = {};
|
||||
com.fluig.sdk.api.task.TaskStatusEnum = function() {};
|
||||
com.fluig.sdk.api.task.TaskStatusEnum.prototype = {};
|
||||
com.fluig.sdk.api.task.TaskTransferVO = function() {};
|
||||
com.fluig.sdk.api.task.TaskTransferVO.prototype = {};
|
||||
com.fluig.sdk.api.workflow.AssumeProcessTaskResultVO = function() {};
|
||||
com.fluig.sdk.api.workflow.AssumeProcessTaskResultVO.prototype = {};
|
||||
com.fluig.sdk.api.workflow.AssumeProcessTaskVO = function() {};
|
||||
@ -217,6 +219,8 @@ com.fluig.sdk.filter.FilterOrderVO = function() {};
|
||||
com.fluig.sdk.filter.FilterOrderVO.prototype = {};
|
||||
com.fluig.sdk.filter.FilterResultVO = function() {};
|
||||
com.fluig.sdk.filter.FilterResultVO.prototype = {};
|
||||
com.fluig.sdk.filter.FilterUpdateNameVO = function() {};
|
||||
com.fluig.sdk.filter.FilterUpdateNameVO.prototype = {};
|
||||
com.fluig.sdk.filter.FilterVO = function() {};
|
||||
com.fluig.sdk.filter.FilterVO.prototype = {};
|
||||
com.fluig.sdk.holiday.HolidayVO = function() {};
|
||||
@ -1524,6 +1528,13 @@ com.fluig.sdk.service.SecurityService.prototype = {
|
||||
*/
|
||||
"getCurrentTenant": function() {},
|
||||
/**
|
||||
* Get the current tenant
|
||||
* @memberOf fluigAPI
|
||||
* @param {long} tenantId
|
||||
* @returns {com.fluig.sdk.tenant.TenantVO}
|
||||
*/
|
||||
"getCurrentTenantById": function(tenantId) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {long} companyId
|
||||
@ -1623,6 +1634,13 @@ SecurityService.prototype = {
|
||||
*/
|
||||
"getCurrentTenant": function() {},
|
||||
/**
|
||||
* Get the current tenant
|
||||
* @memberOf fluigAPI
|
||||
* @param {long} tenantId
|
||||
* @returns {com.fluig.sdk.tenant.TenantVO}
|
||||
*/
|
||||
"getCurrentTenantById": function(tenantId) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {long} companyId
|
||||
@ -3888,6 +3906,7 @@ com.fluig.sdk.service.GroupService.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} groupCode
|
||||
* @param {List} logins
|
||||
* @returns {List<String>}
|
||||
*/
|
||||
"addUsers": function(groupCode, logins) {},
|
||||
/**
|
||||
@ -3955,6 +3974,7 @@ GroupService.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} groupCode
|
||||
* @param {List} logins
|
||||
* @returns {List<String>}
|
||||
*/
|
||||
"addUsers": function(groupCode, logins) {},
|
||||
/**
|
||||
@ -11785,7 +11805,19 @@ com.fluig.sdk.api.workflow.ProcessDefinitionVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} processDescription
|
||||
*/
|
||||
"setProcessDescription": function(processDescription) {}
|
||||
"setProcessDescription": function(processDescription) {},
|
||||
/**
|
||||
* Recupera valor do icon
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getIcon": function() {},
|
||||
/**
|
||||
* Atribui valor para icon
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} icon
|
||||
*/
|
||||
"setIcon": function(icon) {}
|
||||
};
|
||||
ProcessDefinitionVO.prototype = {
|
||||
/**
|
||||
@ -11811,7 +11843,19 @@ ProcessDefinitionVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} processDescription
|
||||
*/
|
||||
"setProcessDescription": function(processDescription) {}
|
||||
"setProcessDescription": function(processDescription) {},
|
||||
/**
|
||||
* Recupera valor do icon
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getIcon": function() {},
|
||||
/**
|
||||
* Atribui valor para icon
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} icon
|
||||
*/
|
||||
"setIcon": function(icon) {}
|
||||
};
|
||||
com.fluig.sdk.api.workflow.ResumeProcessTaskVO.prototype = {
|
||||
/**
|
||||
@ -18889,6 +18933,322 @@ ResumedTasksVO.prototype = {
|
||||
*/
|
||||
"setChildren": function(children) {}
|
||||
};
|
||||
com.fluig.sdk.api.task.TaskTransferVO.prototype = {
|
||||
/**
|
||||
* Recupera valor do userTo
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getUserTo": function() {},
|
||||
/**
|
||||
* Atribui valor para userTo
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} userTo
|
||||
*/
|
||||
"setUserTo": function(userTo) {},
|
||||
/**
|
||||
* Recupera valor do userFrom
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getUserFrom": function() {},
|
||||
/**
|
||||
* Atribui valor para userFrom
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} userFrom
|
||||
*/
|
||||
"setUserFrom": function(userFrom) {},
|
||||
/**
|
||||
* Recupera valor do transferActiveDocuments
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferActiveDocuments": function() {},
|
||||
/**
|
||||
* Atribui valor para transferActiveDocuments
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferActiveDocuments
|
||||
*/
|
||||
"setTransferActiveDocuments": function(transferActiveDocuments) {},
|
||||
/**
|
||||
* Recupera valor do transferMyDocumentsInApproval
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferMyDocumentsInApproval": function() {},
|
||||
/**
|
||||
* Atribui valor para transferMyDocumentsInApproval
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferMyDocumentsInApproval
|
||||
*/
|
||||
"setTransferMyDocumentsInApproval": function(transferMyDocumentsInApproval) {},
|
||||
/**
|
||||
* Recupera valor do transferPendingWorkflow
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferPendingWorkflow": function() {},
|
||||
/**
|
||||
* Atribui valor para transferPendingWorkflow
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferPendingWorkflow
|
||||
*/
|
||||
"setTransferPendingWorkflow": function(transferPendingWorkflow) {},
|
||||
/**
|
||||
* Recupera valor do transferOpenWorkflow
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferOpenWorkflow": function() {},
|
||||
/**
|
||||
* Atribui valor para transferOpenWorkflow
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferOpenWorkflow
|
||||
*/
|
||||
"setTransferOpenWorkflow": function(transferOpenWorkflow) {},
|
||||
/**
|
||||
* Recupera valor do transferApprovers
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferApprovers": function() {},
|
||||
/**
|
||||
* Atribui valor para transferApprovers
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferApprovers
|
||||
*/
|
||||
"setTransferApprovers": function(transferApprovers) {},
|
||||
/**
|
||||
* Recupera valor do transferApprovals
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferApprovals": function() {},
|
||||
/**
|
||||
* Atribui valor para transferApprovals
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferApprovals
|
||||
*/
|
||||
"setTransferApprovals": function(transferApprovals) {},
|
||||
/**
|
||||
* Recupera valor do transferDocumentSecurity
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferDocumentSecurity": function() {},
|
||||
/**
|
||||
* Atribui valor para transferDocumentSecurity
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferDocumentSecurity
|
||||
*/
|
||||
"setTransferDocumentSecurity": function(transferDocumentSecurity) {},
|
||||
/**
|
||||
* Recupera valor do instanceIdInitial
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getInstanceIdInitial": function() {},
|
||||
/**
|
||||
* Atribui valor para instanceIdInitial
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} instanceIdInitial
|
||||
*/
|
||||
"setInstanceIdInitial": function(instanceIdInitial) {},
|
||||
/**
|
||||
* Recupera valor do instanceIdFinal
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getInstanceIdFinal": function() {},
|
||||
/**
|
||||
* Atribui valor para instanceIdFinal
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} instanceIdFinal
|
||||
*/
|
||||
"setInstanceIdFinal": function(instanceIdFinal) {},
|
||||
/**
|
||||
* Recupera valor do documentIdInitial
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getDocumentIdInitial": function() {},
|
||||
/**
|
||||
* Atribui valor para documentIdInitial
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} documentIdInitial
|
||||
*/
|
||||
"setDocumentIdInitial": function(documentIdInitial) {},
|
||||
/**
|
||||
* Recupera valor do documentIdFinal
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getDocumentIdFinal": function() {},
|
||||
/**
|
||||
* Atribui valor para documentIdFinal
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} documentIdFinal
|
||||
*/
|
||||
"setDocumentIdFinal": function(documentIdFinal) {}
|
||||
};
|
||||
TaskTransferVO.prototype = {
|
||||
/**
|
||||
* Recupera valor do userTo
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getUserTo": function() {},
|
||||
/**
|
||||
* Atribui valor para userTo
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} userTo
|
||||
*/
|
||||
"setUserTo": function(userTo) {},
|
||||
/**
|
||||
* Recupera valor do userFrom
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getUserFrom": function() {},
|
||||
/**
|
||||
* Atribui valor para userFrom
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} userFrom
|
||||
*/
|
||||
"setUserFrom": function(userFrom) {},
|
||||
/**
|
||||
* Recupera valor do transferActiveDocuments
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferActiveDocuments": function() {},
|
||||
/**
|
||||
* Atribui valor para transferActiveDocuments
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferActiveDocuments
|
||||
*/
|
||||
"setTransferActiveDocuments": function(transferActiveDocuments) {},
|
||||
/**
|
||||
* Recupera valor do transferMyDocumentsInApproval
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferMyDocumentsInApproval": function() {},
|
||||
/**
|
||||
* Atribui valor para transferMyDocumentsInApproval
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferMyDocumentsInApproval
|
||||
*/
|
||||
"setTransferMyDocumentsInApproval": function(transferMyDocumentsInApproval) {},
|
||||
/**
|
||||
* Recupera valor do transferPendingWorkflow
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferPendingWorkflow": function() {},
|
||||
/**
|
||||
* Atribui valor para transferPendingWorkflow
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferPendingWorkflow
|
||||
*/
|
||||
"setTransferPendingWorkflow": function(transferPendingWorkflow) {},
|
||||
/**
|
||||
* Recupera valor do transferOpenWorkflow
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferOpenWorkflow": function() {},
|
||||
/**
|
||||
* Atribui valor para transferOpenWorkflow
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferOpenWorkflow
|
||||
*/
|
||||
"setTransferOpenWorkflow": function(transferOpenWorkflow) {},
|
||||
/**
|
||||
* Recupera valor do transferApprovers
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferApprovers": function() {},
|
||||
/**
|
||||
* Atribui valor para transferApprovers
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferApprovers
|
||||
*/
|
||||
"setTransferApprovers": function(transferApprovers) {},
|
||||
/**
|
||||
* Recupera valor do transferApprovals
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferApprovals": function() {},
|
||||
/**
|
||||
* Atribui valor para transferApprovals
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferApprovals
|
||||
*/
|
||||
"setTransferApprovals": function(transferApprovals) {},
|
||||
/**
|
||||
* Recupera valor do transferDocumentSecurity
|
||||
* @memberOf fluigAPI
|
||||
* @returns {boolean}
|
||||
*/
|
||||
"getTransferDocumentSecurity": function() {},
|
||||
/**
|
||||
* Atribui valor para transferDocumentSecurity
|
||||
* @memberOf fluigAPI
|
||||
* @param {boolean} transferDocumentSecurity
|
||||
*/
|
||||
"setTransferDocumentSecurity": function(transferDocumentSecurity) {},
|
||||
/**
|
||||
* Recupera valor do instanceIdInitial
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getInstanceIdInitial": function() {},
|
||||
/**
|
||||
* Atribui valor para instanceIdInitial
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} instanceIdInitial
|
||||
*/
|
||||
"setInstanceIdInitial": function(instanceIdInitial) {},
|
||||
/**
|
||||
* Recupera valor do instanceIdFinal
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getInstanceIdFinal": function() {},
|
||||
/**
|
||||
* Atribui valor para instanceIdFinal
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} instanceIdFinal
|
||||
*/
|
||||
"setInstanceIdFinal": function(instanceIdFinal) {},
|
||||
/**
|
||||
* Recupera valor do documentIdInitial
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getDocumentIdInitial": function() {},
|
||||
/**
|
||||
* Atribui valor para documentIdInitial
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} documentIdInitial
|
||||
*/
|
||||
"setDocumentIdInitial": function(documentIdInitial) {},
|
||||
/**
|
||||
* Recupera valor do documentIdFinal
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getDocumentIdFinal": function() {},
|
||||
/**
|
||||
* Atribui valor para documentIdFinal
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} documentIdFinal
|
||||
*/
|
||||
"setDocumentIdFinal": function(documentIdFinal) {}
|
||||
};
|
||||
com.fluig.sdk.service.TasksService.prototype = {
|
||||
/**
|
||||
* Busca os documentos para aprovação
|
||||
@ -19009,6 +19369,13 @@ com.fluig.sdk.service.TasksService.prototype = {
|
||||
*/
|
||||
"transferTasks": function(transferOptions) {},
|
||||
/**
|
||||
* Transfer tasks from one user to another
|
||||
* @memberOf fluigAPI
|
||||
* @param {com.fluig.sdk.api.task.TaskTransferVO} tasksTransfer
|
||||
* @returns {String}
|
||||
*/
|
||||
"transferTasks": function(tasksTransfer) {},
|
||||
/**
|
||||
* Return users pendent to approve a document
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} documentId
|
||||
@ -19136,6 +19503,13 @@ TasksService.prototype = {
|
||||
*/
|
||||
"transferTasks": function(transferOptions) {},
|
||||
/**
|
||||
* Transfer tasks from one user to another
|
||||
* @memberOf fluigAPI
|
||||
* @param {com.fluig.sdk.api.task.TaskTransferVO} tasksTransfer
|
||||
* @returns {String}
|
||||
*/
|
||||
"transferTasks": function(tasksTransfer) {},
|
||||
/**
|
||||
* Return users pendent to approve a document
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} documentId
|
||||
@ -23558,7 +23932,19 @@ com.fluig.sdk.filter.FilterResultVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param filterOrder
|
||||
*/
|
||||
"setFilterOrder": function(filterOrder) {}
|
||||
"setFilterOrder": function(filterOrder) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getPermission": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} permission
|
||||
*/
|
||||
"setPermission": function(permission) {}
|
||||
};
|
||||
FilterResultVO.prototype = {
|
||||
/**
|
||||
@ -23679,7 +24065,19 @@ FilterResultVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param filterOrder
|
||||
*/
|
||||
"setFilterOrder": function(filterOrder) {}
|
||||
"setFilterOrder": function(filterOrder) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getPermission": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} permission
|
||||
*/
|
||||
"setPermission": function(permission) {}
|
||||
};
|
||||
com.fluig.sdk.filter.FilterVO.prototype = {
|
||||
/**
|
||||
@ -23995,7 +24393,43 @@ com.fluig.sdk.filter.FilterGroupResultVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} roleDescription
|
||||
*/
|
||||
"setRoleDescription": function(roleDescription) {}
|
||||
"setRoleDescription": function(roleDescription) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {long}
|
||||
*/
|
||||
"getGroupParticipantsCount": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {long} groupParticipantsCount
|
||||
*/
|
||||
"setGroupParticipantsCount": function(groupParticipantsCount) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getUserEmail": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} userEmail
|
||||
*/
|
||||
"setUserEmail": function(userEmail) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getPermission": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} permission
|
||||
*/
|
||||
"setPermission": function(permission) {}
|
||||
};
|
||||
FilterGroupResultVO.prototype = {
|
||||
/**
|
||||
@ -24141,7 +24575,43 @@ FilterGroupResultVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} roleDescription
|
||||
*/
|
||||
"setRoleDescription": function(roleDescription) {}
|
||||
"setRoleDescription": function(roleDescription) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {long}
|
||||
*/
|
||||
"getGroupParticipantsCount": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {long} groupParticipantsCount
|
||||
*/
|
||||
"setGroupParticipantsCount": function(groupParticipantsCount) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getUserEmail": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} userEmail
|
||||
*/
|
||||
"setUserEmail": function(userEmail) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {int}
|
||||
*/
|
||||
"getPermission": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {int} permission
|
||||
*/
|
||||
"setPermission": function(permission) {}
|
||||
};
|
||||
com.fluig.sdk.filter.FilterGroupVO.prototype = {
|
||||
/**
|
||||
@ -24191,7 +24661,19 @@ com.fluig.sdk.filter.FilterGroupVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {List} rolesCode
|
||||
*/
|
||||
"setRolesCode": function(rolesCode) {}
|
||||
"setRolesCode": function(rolesCode) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {Map<String,>}
|
||||
*/
|
||||
"getEntityPermissions": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {Map} entityPermissions
|
||||
*/
|
||||
"setEntityPermissions": function(entityPermissions) {}
|
||||
};
|
||||
FilterGroupVO.prototype = {
|
||||
/**
|
||||
@ -24241,7 +24723,47 @@ FilterGroupVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {List} rolesCode
|
||||
*/
|
||||
"setRolesCode": function(rolesCode) {}
|
||||
"setRolesCode": function(rolesCode) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {Map<String,>}
|
||||
*/
|
||||
"getEntityPermissions": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {Map} entityPermissions
|
||||
*/
|
||||
"setEntityPermissions": function(entityPermissions) {}
|
||||
};
|
||||
com.fluig.sdk.filter.FilterUpdateNameVO.prototype = {
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getName": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} name
|
||||
*/
|
||||
"setName": function(name) {}
|
||||
};
|
||||
FilterUpdateNameVO.prototype = {
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getName": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} name
|
||||
*/
|
||||
"setName": function(name) {}
|
||||
};
|
||||
com.fluig.sdk.service.FilterAPIService.prototype = {
|
||||
/**
|
||||
@ -24252,9 +24774,10 @@ com.fluig.sdk.service.FilterAPIService.prototype = {
|
||||
* @param {String} pattern
|
||||
* @param {int} limit
|
||||
* @param {int} offset
|
||||
* @param {String} orderBy
|
||||
* @returns {List<com.fluig.sdk.filter.FilterResultVO>}
|
||||
*/
|
||||
"getProcessFilters": function(onlyMyFilters, findPublicFilters, pattern, limit, offset) {},
|
||||
"getProcessFilters": function(onlyMyFilters, findPublicFilters, pattern, limit, offset, orderBy) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
@ -24314,7 +24837,15 @@ com.fluig.sdk.service.FilterAPIService.prototype = {
|
||||
* @param {long} applicationInstanceId
|
||||
* @param {Map} filtersSequence
|
||||
*/
|
||||
"updateFilterSequence": function(applicationInstanceId, filtersSequence) {}
|
||||
"updateFilterSequence": function(applicationInstanceId, filtersSequence) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {long} filterId
|
||||
* @param {com.fluig.sdk.filter.FilterUpdateNameVO} filterUpdateNameVO
|
||||
* @returns {com.fluig.sdk.filter.FilterResultVO}
|
||||
*/
|
||||
"updateFilterName": function(filterId, filterUpdateNameVO) {}
|
||||
};
|
||||
FilterAPIService.prototype = {
|
||||
/**
|
||||
@ -24325,9 +24856,10 @@ FilterAPIService.prototype = {
|
||||
* @param {String} pattern
|
||||
* @param {int} limit
|
||||
* @param {int} offset
|
||||
* @param {String} orderBy
|
||||
* @returns {List<com.fluig.sdk.filter.FilterResultVO>}
|
||||
*/
|
||||
"getProcessFilters": function(onlyMyFilters, findPublicFilters, pattern, limit, offset) {},
|
||||
"getProcessFilters": function(onlyMyFilters, findPublicFilters, pattern, limit, offset, orderBy) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
@ -24387,7 +24919,15 @@ FilterAPIService.prototype = {
|
||||
* @param {long} applicationInstanceId
|
||||
* @param {Map} filtersSequence
|
||||
*/
|
||||
"updateFilterSequence": function(applicationInstanceId, filtersSequence) {}
|
||||
"updateFilterSequence": function(applicationInstanceId, filtersSequence) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {long} filterId
|
||||
* @param {com.fluig.sdk.filter.FilterUpdateNameVO} filterUpdateNameVO
|
||||
* @returns {com.fluig.sdk.filter.FilterResultVO}
|
||||
*/
|
||||
"updateFilterName": function(filterId, filterUpdateNameVO) {}
|
||||
};
|
||||
com.fluig.sdk.api.workflow.CardIndexAPIVO.prototype = {
|
||||
/**
|
||||
@ -25467,7 +26007,19 @@ com.fluig.sdk.api.cardindex.CardFieldVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} value
|
||||
*/
|
||||
"setValue": function(value) {}
|
||||
"setValue": function(value) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getTableId": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} tableId
|
||||
*/
|
||||
"setTableId": function(tableId) {}
|
||||
};
|
||||
CardFieldVO.prototype = {
|
||||
/**
|
||||
@ -25493,7 +26045,19 @@ CardFieldVO.prototype = {
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} value
|
||||
*/
|
||||
"setValue": function(value) {}
|
||||
"setValue": function(value) {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @returns {String}
|
||||
*/
|
||||
"getTableId": function() {},
|
||||
/**
|
||||
*
|
||||
* @memberOf fluigAPI
|
||||
* @param {String} tableId
|
||||
*/
|
||||
"setTableId": function(tableId) {}
|
||||
};
|
||||
com.fluig.sdk.api.cardindex.CardChildrenVO.prototype = {
|
||||
/**
|
||||
|
||||
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
#
|
||||
#Wed Mar 11 10:43:35 BRT 2026
|
||||
task-tag-projects-already-scanned=Desligamento,compras_digital,Ginseng_chamados,Transfer\u00EAncia Ginseng,Recrutamento e Sele\u00E7\u00E3o
|
||||
#Wed Apr 15 13:27:51 BRT 2026
|
||||
task-tag-projects-already-scanned=Desligamento,Auditoria_checklist,lan\u00E7amentos,compras_digital,Ginseng_chamados,Auditoria,diagrams,Recrutamento e Sele\u00E7\u00E3o,datasets,forms,Lan\u00E7amento de documentos
|
||||
|
||||
@ -202,5 +202,5 @@
|
||||
<system systemId="http://www.w3.org/2001/xml.xsd" uri="jar:file:/C:/Users/andrey.cunha/Downloads/eclipse-jee-2019-09-R-win32-x86_64/eclipse/plugins/org.eclipse.xsd_2.16.0.v20190625-1130.jar!/cache/www.w3.org/2001/xml.xsd"/>
|
||||
<uri name="http://www.w3.org/2001/XMLSchema" uri="jar:file:/C:/Users/andrey.cunha/Downloads/eclipse-jee-2019-09-R-win32-x86_64/eclipse/plugins/org.eclipse.xsd_2.16.0.v20190625-1130.jar!/cache/www.w3.org/2001/XMLSchema.xsd"/>
|
||||
<uri id="org.w3c.xinclude" name="http://www.w3.org/2001/XInclude" uri="jar:file:/C:/Users/andrey.cunha/Downloads/eclipse-jee-2019-09-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.core_1.2.100.v201907231732.jar!/xslt-schemas/xinclude.xsd"/>
|
||||
<uri name="http://www.omg.org/spec/BPMN/20100524/MODEL" uri="jar:file:/C:/Users/andrey.cunha/Downloads/eclipse-jee-2019-09-R-win32-x86_64/eclipse/plugins/com.totvs.tds.ecm.designer.eclipse_1.8.2.4.jar!/xsd/BPMN20.xsd"/>
|
||||
<uri name="http://www.omg.org/spec/BPMN/20100524/MODEL" uri="jar:file:/C:/Users/andrey.cunha/Downloads/eclipse-jee-2019-09-R-win32-x86_64/eclipse/plugins/com.totvs.tds.ecm.designer.eclipse_2.0.0.6.jar!/xsd/BPMN20.xsd"/>
|
||||
</catalog>
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
#Wed Mar 11 10:41:09 BRT 2026
|
||||
#Wed Apr 15 13:16:19 BRT 2026
|
||||
org.eclipse.core.runtime=2
|
||||
org.eclipse.platform=4.13.0.v20190916-1045
|
||||
|
||||
Binary file not shown.
@ -195,11 +195,20 @@
|
||||
|
||||
#canDisplayActionButton() {
|
||||
const element = this.#input.get(0);
|
||||
const hasEditPermission = parent.ECM.workflowView.userPermissions.indexOf("P") >= 0;
|
||||
const isManagerMode = location.href.includes('ManagerMode');
|
||||
const isTokenView = location.href.includes('token');
|
||||
const hasMobileCameraBridge = (
|
||||
(window.JSInterface && typeof window.JSInterface.showCamera === "function")
|
||||
|| (parent && parent.JSInterface && typeof parent.JSInterface.showCamera === "function")
|
||||
);
|
||||
const isMobileUA = /android|iphone|ipad|ipod|mobile/i.test(navigator.userAgent || "");
|
||||
const allowByContext = (isManagerMode && !isTokenView) || hasMobileCameraBridge || isMobileUA;
|
||||
const allowByPermission = hasEditPermission || hasMobileCameraBridge || isMobileUA;
|
||||
|
||||
return this.#settings.showActionButton
|
||||
&& parent.ECM.workflowView.userPermissions.indexOf("P") >= 0
|
||||
&& location.href.includes('ManagerMode')
|
||||
&& !location.href.includes('token')
|
||||
&& allowByPermission
|
||||
&& allowByContext
|
||||
&& element.nodeName.toLowerCase() === "input"
|
||||
&& !element.disabled
|
||||
;
|
||||
|
||||
@ -8,18 +8,18 @@
|
||||
<!-- RATING STARS -->
|
||||
<link rel="stylesheet" href="/style-guide/css/fluig-style-guide-ratingstars.min.css">
|
||||
|
||||
<!-- JQUERY (Fluig já usa, mas pode manter) -->
|
||||
<!-- JQUERY (Fluig j� usa, mas pode manter) -->
|
||||
<script src="/resources/js/jquery/jquery.js"></script>
|
||||
<script src="/resources/js/jquery/jquery-ui.min.js"></script>
|
||||
|
||||
<!-- MUSTACHE (WCM / Câmara) -->
|
||||
<!-- MUSTACHE (WCM / C�mara) -->
|
||||
<script src="/resources/js/mustache/mustache-min.js"></script>
|
||||
|
||||
<!-- FLUIG JS -->
|
||||
<script src="/style-guide/js/fluig-style-guide.min.js"></script>
|
||||
<script src="/style-guide/js/fluig-style-guide-ratingstars.min.js"></script>
|
||||
|
||||
<!-- Máscaras -->
|
||||
<!-- M�scaras -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.16/jquery.mask.min.js"></script>
|
||||
<script src="/webdesk/vcXMLRPC.js?plugin=jQueryMask"></script>
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
|
||||
<body>
|
||||
<div class="fluig-style-guide" style="background-color: white">
|
||||
<form>
|
||||
<form name="form" role="form">
|
||||
<div style="display: none">
|
||||
<input type="text" id="WKNumProces" name="WKNumProces" />
|
||||
<input type="text" id="activity" name="activity" />
|
||||
@ -77,11 +77,11 @@
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-account-box" aria-hidden="true"></i>
|
||||
Informações gerais
|
||||
Informa��es gerais
|
||||
</h2>
|
||||
<h6>
|
||||
Estes são os dados referentes aos responsáveis pela abertura e
|
||||
pela solicitação do atual processo.
|
||||
Estes s�o os dados referentes aos respons�veis pela abertura e
|
||||
pela solicita��o do atual processo.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
@ -90,9 +90,9 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="requesterName"> Gestor da Área </label>
|
||||
<label for="requesterName"> Gestor da �rea </label>
|
||||
<input type="text" name="requesterName" id="requesterName" class="form-control"
|
||||
readonly data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
readonly data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
@ -134,27 +134,27 @@
|
||||
]
|
||||
}" />
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
Preenchimento obrigat�rio.
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="colabCpf"> CPF: </label>
|
||||
<input type="text" name="colabCpf" id="colabCpf" class="form-control" readonly
|
||||
data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="colabadmissao"> Data de Admissão </label>
|
||||
<label for="colabadmissao"> Data de Admiss�o </label>
|
||||
<input type="text" name="colabadmissao" id="colabadmissao" class="form-control" readonly
|
||||
data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-3 col-xs-6">
|
||||
<label for="departamento"> Departamento </label>
|
||||
<input type="text" name="departamento" id="departamento" class="form-control" readonly
|
||||
data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
@ -167,14 +167,14 @@
|
||||
<div class="form-group col-md-3 col-xs-4">
|
||||
<label for="emailColaborador"> E-mail do colaborador: </label>
|
||||
<input type="text" name="emailColaborador" id="emailColaborador" class="form-control" readonly
|
||||
data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-3 col-xs-6">
|
||||
<label for="cargoColaborador"> Função do Colaborador </label>
|
||||
<label for="cargoColaborador"> Fun��o do Colaborador </label>
|
||||
<input type="text" name="cargoColaborador" id="cargoColaborador" class="form-control" readonly
|
||||
data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
@ -193,9 +193,9 @@
|
||||
</label>
|
||||
<select id="tipodesligamento" name="tipodesligamento" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="experiencia">Período de Experiência</option>
|
||||
<option value="experiencia">Per�odo de Experi�ncia</option>
|
||||
<option value="desempenho">Baixo Desempenho</option>
|
||||
<option value="substituicao">Substituição</option>
|
||||
<option value="substituicao">Substitui��o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@ -208,7 +208,7 @@
|
||||
<select id="feedbackColaborador" name="feedbackColaborador" class="form-control">
|
||||
<option value="">Selecione</option>
|
||||
<option value="sim">Sim</option>
|
||||
<option value="nao">Não</option>
|
||||
<option value="nao">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@ -229,12 +229,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-20">
|
||||
<div class="activity activity-51">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-settings icon-md" aria-hidden="true"></i>
|
||||
Aprovação de Desligamento
|
||||
Análise de Desligamento
|
||||
</h2>
|
||||
<br />
|
||||
</div>
|
||||
@ -242,9 +242,71 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="userAprov"> Responsável </label>
|
||||
<label for="userAprova"> Responsável </label>
|
||||
<input type="text" name="userAprova" id="userAprova" class="form-control" readonly
|
||||
data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataUserAprova"> Data </label>
|
||||
<input type="text" name="dataUserAprova" id="dataUserAprova" class="form-control"
|
||||
readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Análise de desligamento</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<select id="DesligamentoAprova" name="DesligamentoAprova" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Analisado</option>
|
||||
<option value="Nao">Não, processo de desligamento cancelado.</option>
|
||||
<option value="MaisInformacoes">Necessito de mais informações</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="Aprovadesligamento">Jusitificativa</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="Aprovadesligamento"
|
||||
id="Aprovadesligamento"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-20">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-settings icon-md" aria-hidden="true"></i>
|
||||
Aprova��o de Desligamento
|
||||
</h2>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="userAprov"> Responsável </label>
|
||||
<input type="text" name="userAprov" id="userAprov" class="form-control" readonly
|
||||
data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
@ -268,8 +330,8 @@
|
||||
<select id="DesligamentoAprov" name="DesligamentoAprov" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não, processo de desligamento cancelado.</option>
|
||||
<option value="MaisInformacoes">Necessito de mais informações</option>
|
||||
<option value="Nao">Não, processo de desligamento cancelado.</option>
|
||||
<option value="MaisInformacoes">Necessito de mais informações</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@ -298,7 +360,7 @@
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-message icon-md" aria-hidden="true"></i>
|
||||
Previsão de Desligamento
|
||||
Previs�o de Desligamento
|
||||
</h2>
|
||||
<h6>Insira abaixo detalhes adicionais.</h6>
|
||||
<br />
|
||||
@ -307,7 +369,7 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="analistaComunicado"> Responsável</label>
|
||||
<label for="analistaComunicado"> Respons�vel</label>
|
||||
<input type="text" name="analistaDesligamento" id="analistaDesligamento"
|
||||
class="form-control" readonly data-protection="Analista"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-name
|
||||
@ -330,7 +392,7 @@
|
||||
</label>
|
||||
<div class="d-flex" style="display: flex; align-items: center; gap: 6px;">
|
||||
<input type="date" name="dataInicio" id="dataInicio" class="form-control" style="width: 48%;" />
|
||||
<span>até</span>
|
||||
<span>at�</span>
|
||||
<input type="date" name="dataFim" id="dataFim" class="form-control" style="width: 48%;" />
|
||||
</div>
|
||||
</div>
|
||||
@ -346,59 +408,59 @@
|
||||
|
||||
<div class="row mt-2">
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="trintidiocct">Trintídio CCT</label>
|
||||
<label for="trintidiocct">Trint�dio CCT</label>
|
||||
<select id="trintidiocct" name="trintidiocct" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="trintidioposferias">Trintídio pós-férias</label>
|
||||
<label for="trintidioposferias">Trint�dio p�s-f�rias</label>
|
||||
<select id="trintidioposferias" name="trintidioposferias"
|
||||
class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="trintidioposafastamento">Trintídio pós-afastamento</label>
|
||||
<label for="trintidioposafastamento">Trint�dio p�s-afastamento</label>
|
||||
<select id="trintidioposafastamento" name="trintidioposafastamento"
|
||||
class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="preaposentadoria">Pré-aposentadoria</label>
|
||||
<label for="preaposentadoria">Pr�-aposentadoria</label>
|
||||
<select id="preaposentadoria" name="preaposentadoria" class="form-control"
|
||||
required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="acidentaria">Acidentária (CAT)</label>
|
||||
<label for="acidentaria">Acident�ria (CAT)</label>
|
||||
<select id="acidentaria" name="acidentaria" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="gestante">Gestante/Licença maternidade/Lactante</label>
|
||||
<label for="gestante">Gestante/Licen�a maternidade/Lactante</label>
|
||||
<select id="gestante" name="gestante" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@ -407,7 +469,7 @@
|
||||
<select id="sindical" name="sindical" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@ -416,7 +478,7 @@
|
||||
<select id="pcd" name="pcd" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6 mb-3">
|
||||
@ -424,7 +486,7 @@
|
||||
<select id="outros" name="outros" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@ -436,7 +498,7 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="infoadicionais">Informações adicionais</label>
|
||||
<label for="infoadicionais">Informa��es adicionais</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="infoadicionais"
|
||||
id="infoadicionais"></textarea>
|
||||
@ -450,7 +512,7 @@
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-toc icon-md" aria-hidden="true"></i>
|
||||
Análise de Conformidades
|
||||
An�lise de Conformidades
|
||||
</h2>
|
||||
<br />
|
||||
</div>
|
||||
@ -458,9 +520,9 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="userAprovConf"> Responsável </label>
|
||||
<label for="userAprovConf"> Respons�vel </label>
|
||||
<input type="text" name="userAprovConf" id="userAprovConf" class="form-control"
|
||||
readonly data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
readonly data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
@ -484,7 +546,7 @@
|
||||
<select id="impeditivosColab" name="impeditivosColab" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Não">Não</option>
|
||||
<option value="N�o">Não</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@ -496,7 +558,7 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="InforConf">Informações adicionais</label>
|
||||
<label for="InforConf">Informa��es adicionais</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="InforConf" id="InforConf"></textarea>
|
||||
</div>
|
||||
@ -510,16 +572,16 @@
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-user-search icon-md" aria-hidden="true"></i>
|
||||
Informações Gerencias do Colaborador
|
||||
Informa��es Gerencias do Colaborador
|
||||
</h2>
|
||||
<h6>Insira abaixo as informações.</h6>
|
||||
<h6>Insira abaixo as informa��es.</h6>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="analistaComunicado"> Responsável pelo colaborador </label>
|
||||
<label for="analistaComunicado"> Respons�vel pelo colaborador </label>
|
||||
<input type="text" name="analistaComunicado" id="analistaComunicado"
|
||||
class="form-control" readonly data-protection="Analista"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-name
|
||||
@ -545,9 +607,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="alert alert-warning" role="alert" style="margin-top: 15px;">
|
||||
<strong>Atenção:</strong> Antes de continuar, revise o ponto eletrônico do colaborador no sistema Pontotel.
|
||||
Certifique-se que faltas, atrasos, horas extras e demais registros estão corretos.
|
||||
Caso necessário, realize os ajustes antes de prosseguir.
|
||||
<strong>Aten��o:</strong> Antes de continuar, revise o ponto eletr�nico do colaborador no sistema Pontotel.
|
||||
Certifique-se que faltas, atrasos, horas extras e demais registros est�o corretos.
|
||||
Caso necess�rio, realize os ajustes antes de prosseguir.
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
@ -564,7 +626,7 @@
|
||||
<tr>
|
||||
<th style="width: 45%">Categoria</th>
|
||||
<th style="width: 40%">Valor / Quantidade</th>
|
||||
<th style="width: 15%">Ações</th>
|
||||
<th style="width: 15%">A��es</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -573,8 +635,8 @@
|
||||
<td>
|
||||
<select name="categoriaProv" class="form-control categoriaProv">
|
||||
<option value="">Selecione...</option>
|
||||
<option value="comissao">Comissão</option>
|
||||
<option value="premiacao">Premiação</option>
|
||||
<option value="comissao">Comiss�o</option>
|
||||
<option value="premiacao">Premia��o</option>
|
||||
<option value="horasextras">Horas Extras</option>
|
||||
<option value="outro">Outro</option>
|
||||
</select>
|
||||
@ -615,7 +677,7 @@
|
||||
<tr>
|
||||
<th style="width: 45%">Categoria</th>
|
||||
<th style="width: 40%">Valor / Quantidade</th>
|
||||
<th style="width: 15%">Ações</th>
|
||||
<th style="width: 15%">A��es</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -688,9 +750,9 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Como você avalia o estado dos equipamentos?</label>
|
||||
<label>Como voc� avalia o estado dos equipamentos?</label>
|
||||
<div class="ratingStars">
|
||||
<span>Péssimo</span>
|
||||
<span>P�ssimo</span>
|
||||
<div class="minha-avaliacao"></div>
|
||||
<span>Excelente</span>
|
||||
</div>
|
||||
@ -703,7 +765,7 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="detalheSolicitacao">Detalhamento da situação</label>
|
||||
<label for="detalheSolicitacao">Detalhamento da situa��o</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="detalheSolicitacao"
|
||||
id="detalheSolicitacao"></textarea>
|
||||
@ -728,7 +790,7 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="analistaTecnico"> Responsável pelo envio </label>
|
||||
<label for="analistaTecnico"> Respons�vel pelo envio </label>
|
||||
<input type="text" name="analistaTecnico" id="analistaTecnico"
|
||||
class="form-control" readonly data-protection="Analista"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-name
|
||||
@ -746,7 +808,7 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Todos os documentos foram entregues e a assinatura do documento foi concluída?</label>
|
||||
<label>Todos os documentos foram entregues e a assinatura do documento foi conclu�da?</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
|
||||
<div class="row">
|
||||
@ -754,7 +816,7 @@
|
||||
<select id="assinaturaDoc" name="assinaturaDoc" class="form-control">
|
||||
<option value="">Selecione</option>
|
||||
<option value="sim">Sim</option>
|
||||
<option value="nao">Não</option>
|
||||
<option value="nao">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@ -779,12 +841,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
também começa escondido -->
|
||||
tamb�m come�a escondido -->
|
||||
<!-- <div class="row consideracoesRow" style="display:none;">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="consideracoesTecnicas">Considerações</label>
|
||||
<label for="consideracoesTecnicas">Considera��es</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="consideracoesTecnicas"
|
||||
id="consideracoesTecnicas"
|
||||
@ -808,9 +870,9 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="userValidacao"> Responsável </label>
|
||||
<label for="userValidacao"> Respons�vel </label>
|
||||
<input type="text" name="userValidacao" id="userValidacao" class="form-control"
|
||||
readonly data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
readonly data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
@ -839,7 +901,7 @@
|
||||
<label>
|
||||
<input name="situacaoResolvida" id="situacaoResolvidaNao" value="nao"
|
||||
type="radio" />
|
||||
<span class="change-weight">Não</span>
|
||||
<span class="change-weight">N�o</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@ -894,10 +956,10 @@
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="consideracoes">Considerações</label>
|
||||
<label for="consideracoes">Considera��es</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="consideracoes" id="consideracoes"
|
||||
placeholder="Descreva a justificativa para a sua avaliação"></textarea>
|
||||
placeholder="Descreva a justificativa para a sua avaliação"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -33,30 +33,37 @@ function iniciarFormulario() {
|
||||
$("#dataAbertura").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 51) {
|
||||
$(".activity-4, .activity-51").show();
|
||||
showAndBlock([4]);
|
||||
$("#userAprova").val($("#currentUserName").val());
|
||||
$("#dataUserAprova").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 20) {
|
||||
$(".activity-4, .activity-20").show();
|
||||
showAndBlock([4]);
|
||||
showAndBlock([4, 51]);
|
||||
$("#userAprov").val($("#currentUserName").val());
|
||||
$("#dataUserAprov").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 22) {
|
||||
$(".activity-4, .activity-20, .activity-22").show();
|
||||
showAndBlock([4, 20]);
|
||||
showAndBlock([4, 20, 51]);
|
||||
$("#analistaDesligamento").val($("#currentUserName").val());
|
||||
$("#dataPrevista").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 24) {
|
||||
$(".activity-4, .activity-20, .activity-22, .activity-24").show();
|
||||
showAndBlock([4, 20, 22]);
|
||||
showAndBlock([4, 20, 22, 51]);
|
||||
$("#userAprovConf").val($("#currentUserName").val());
|
||||
$("#dataUserAprovConf").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 5) {
|
||||
$(".activity-4, .activity-20, .activity-22, .activity-24, .activity-5").show();
|
||||
showAndBlock([4, 20, 22, 24]);
|
||||
showAndBlock([4, 20, 22, 24, 51]);
|
||||
$("#analistaComunicado").val($("#currentUserName").val());
|
||||
$("#dataComunicado").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
inicializarEstrelas();
|
||||
|
||||
BIN
Desligamento/forms/desligamentov2/.metadata
Normal file
BIN
Desligamento/forms/desligamentov2/.metadata
Normal file
Binary file not shown.
17
Desligamento/forms/desligamentov2/desligamento.css
Normal file
17
Desligamento/forms/desligamentov2/desligamento.css
Normal file
@ -0,0 +1,17 @@
|
||||
/* Faixa lateral colorida */
|
||||
tr.provento {
|
||||
border-left: 4px solid #1ab394 !important; /* Verde */
|
||||
}
|
||||
|
||||
tr.desconto {
|
||||
border-left: 4px solid #d9534f !important; /* Vermelho */
|
||||
}
|
||||
|
||||
/* Fundo suave (opcional) */
|
||||
tr.provento td {
|
||||
background: #e9f7ef !important;
|
||||
}
|
||||
|
||||
tr.desconto td {
|
||||
background: #fcebea !important;
|
||||
}
|
||||
973
Desligamento/forms/desligamentov2/desligamentov2.html
Normal file
973
Desligamento/forms/desligamentov2/desligamentov2.html
Normal file
@ -0,0 +1,973 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<!-- FLUIG STYLE GUIDE -->
|
||||
<link rel="stylesheet" href="/style-guide/css/fluig-style-guide.min.css">
|
||||
|
||||
<!-- RATING STARS -->
|
||||
<link rel="stylesheet" href="/style-guide/css/fluig-style-guide-ratingstars.min.css">
|
||||
|
||||
<!-- JQUERY (Fluig j� usa, mas pode manter) -->
|
||||
<script src="/resources/js/jquery/jquery.js"></script>
|
||||
<script src="/resources/js/jquery/jquery-ui.min.js"></script>
|
||||
|
||||
<!-- MUSTACHE (WCM / C�mara) -->
|
||||
<script src="/resources/js/mustache/mustache-min.js"></script>
|
||||
|
||||
<!-- FLUIG JS -->
|
||||
<script src="/style-guide/js/fluig-style-guide.min.js"></script>
|
||||
<script src="/style-guide/js/fluig-style-guide-ratingstars.min.js"></script>
|
||||
|
||||
<!-- M�scaras -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.16/jquery.mask.min.js"></script>
|
||||
<script src="/webdesk/vcXMLRPC.js?plugin=jQueryMask"></script>
|
||||
|
||||
<!-- SEU CSS EXTERNO -->
|
||||
<link rel="stylesheet" href="desligamento.css">
|
||||
|
||||
<!-- SEU SCRIPT FINAL -->
|
||||
<script src="script.js"></script>
|
||||
|
||||
<style>
|
||||
h6 { color:#afb0b3 !important; font-weight:normal !important; }
|
||||
h2 { color:#04506b !important; display:flex !important; }
|
||||
h2:after { content:""; flex:1; border-bottom:2px solid #04506b; margin:auto; }
|
||||
.flaticon-account-box { color:#04506b !important; }
|
||||
#rcorners {
|
||||
height:110px; line-height:110px; color:white;
|
||||
border-radius:0 0 50px 50px;
|
||||
background:rgb(19,59,74);
|
||||
background:linear-gradient(90deg, rgb(19,59,74) 0%, rgb(19,59,74) 50%, rgb(19,59,74) 100%);
|
||||
text-align:center;
|
||||
}
|
||||
textarea { resize: vertical; }
|
||||
.ratingStars { display:flex; align-items:center; height:50px; }
|
||||
.ratingStars .minha-avaliacao { margin:0 20px; color:#f0ad4e; }
|
||||
.consegueResolverMotivo .textoAuxiliar {
|
||||
width:100%; color:#8c8d8f; font-size:12px;
|
||||
margin-left:1.5em; font-weight:400;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="fluig-style-guide" style="background-color: white">
|
||||
<form name="form" role="form">
|
||||
<div style="display: none">
|
||||
<input type="text" id="WKNumProces" name="WKNumProces" />
|
||||
<input type="text" id="activity" name="activity" />
|
||||
<input type="text" id="formMode" name="formMode" />
|
||||
|
||||
<!-- requester -->
|
||||
<input type="text" id="requesterMail" name="requesterMail" />
|
||||
<input type="text" id="requesterId" name="requesterId" />
|
||||
|
||||
<!-- current user -->
|
||||
<input type="text" id="currentUserName" name="currentUserName" />
|
||||
<input type="text" id="currentUsermail" name="currentUsermail" />
|
||||
<input type="text" id="currentUserId" name="currentUserId" />
|
||||
</div>
|
||||
|
||||
<h1 id="rcorners">Desligamento de colaborador</h1>
|
||||
|
||||
<div class="container activity-all">
|
||||
<div class="activity activity-4">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-account-box" aria-hidden="true"></i>
|
||||
Informa��es gerais
|
||||
</h2>
|
||||
<h6>
|
||||
Estes s�o os dados referentes aos respons�veis pela abertura e
|
||||
pela solicita��o do atual processo.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="requesterName"> Gestor da �rea </label>
|
||||
<input type="text" name="requesterName" id="requesterName" class="form-control"
|
||||
readonly data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataAbertura"> Data </label>
|
||||
<input type="text" name="dataAbertura" id="dataAbertura" class="form-control"
|
||||
readonly />
|
||||
</div>
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="emailGestorArea"> E-mail do gestor </label>
|
||||
<input type="text" name="emailGestorArea" id="emailGestorArea" class="form-control"
|
||||
readonly data-protection="E-mail do gestor" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-mail
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="colabDesliga">
|
||||
Nome do colaborador a ser desligado
|
||||
</label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="zoom" class="form-control requiredInput" name="colabDesliga"
|
||||
id="colabDesliga" data-zoom="{
|
||||
'displayKey':'full_name',
|
||||
'datasetId':'dsFeedzColaboradoresAtivos',
|
||||
'placeholder': 'Pesquisar nome do colaborador.',
|
||||
'fields':[
|
||||
{
|
||||
'field':'full_name',
|
||||
'label':'Nome',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigat�rio.
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="colabCpf"> CPF: </label>
|
||||
<input type="text" name="colabCpf" id="colabCpf" class="form-control" readonly
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="colabadmissao"> Data de Admiss�o </label>
|
||||
<input type="text" name="colabadmissao" id="colabadmissao" class="form-control" readonly
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-3 col-xs-6">
|
||||
<label for="departamento"> Departamento </label>
|
||||
<input type="text" name="departamento" id="departamento" class="form-control" readonly
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-3 col-xs-4">
|
||||
<label for="emailColaborador"> E-mail do colaborador: </label>
|
||||
<input type="text" name="emailColaborador" id="emailColaborador" class="form-control" readonly
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-3 col-xs-6">
|
||||
<label for="cargoColaborador"> Fun��o do Colaborador </label>
|
||||
<input type="text" name="cargoColaborador" id="cargoColaborador" class="form-control" readonly
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
|
||||
<!-- Campo: Tipo de Desligamento -->
|
||||
<div class="form-group col-md-3 col-xs-6">
|
||||
<label for="tipodesligamento">
|
||||
Selecione o tipo de desligamento?
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
</label>
|
||||
<select id="tipodesligamento" name="tipodesligamento" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="experiencia">Per�odo de Experi�ncia</option>
|
||||
<option value="desempenho">Baixo Desempenho</option>
|
||||
<option value="substituicao">Substitui��o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<!-- Campo: Feedback -->
|
||||
<div class="form-group col-md-3 col-xs-3 feedbackRow" style="display:none;">
|
||||
<label for="feedbackColaborador">
|
||||
Foi feito o feedback de 45 e 90 dias?
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
</label>
|
||||
<select id="feedbackColaborador" name="feedbackColaborador" class="form-control">
|
||||
<option value="">Selecione</option>
|
||||
<option value="sim">Sim</option>
|
||||
<option value="nao">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="motivoDesligamento">Jusitificativa do Desligamento</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="motivoDesligamento" id="motivoDesligamento"
|
||||
placeholder="Descreva a justificativa para o Desligamento"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-51">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-settings icon-md" aria-hidden="true"></i>
|
||||
Análise de Desligamento
|
||||
</h2>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="userAprova"> Responsável </label>
|
||||
<input type="text" name="userAprova" id="userAprova" class="form-control" readonly
|
||||
data-protection="Usuário de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataUserAprova"> Data </label>
|
||||
<input type="text" name="dataUserAprova" id="dataUserAprova" class="form-control"
|
||||
readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Análise de desligamento</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<select id="DesligamentoAprova" name="DesligamentoAprova" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Analisado</option>
|
||||
<option value="Nao">Não, processo de desligamento cancelado.</option>
|
||||
<option value="MaisInformacoes">Necessito de mais informações</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="Aprovadesligamento">Jusitificativa</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="Aprovadesligamento"
|
||||
id="Aprovadesligamento"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-20">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-settings icon-md" aria-hidden="true"></i>
|
||||
Aprova��o de Desligamento
|
||||
</h2>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="userAprov"> Responsável </label>
|
||||
<input type="text" name="userAprov" id="userAprov" class="form-control" readonly
|
||||
data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataUserAprov"> Data </label>
|
||||
<input type="text" name="dataUserAprov" id="dataUserAprov" class="form-control"
|
||||
readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Desligamento aprovado?</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<select id="DesligamentoAprov" name="DesligamentoAprov" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="Nao">Não, processo de desligamento cancelado.</option>
|
||||
<option value="MaisInformacoes">Necessito de mais informações</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="Aprovdesligamento">Jusitificativa</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="Aprovdesligamento"
|
||||
id="Aprovdesligamento"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="activity activity-22">
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-message icon-md" aria-hidden="true"></i>
|
||||
Previs�o de Desligamento
|
||||
</h2>
|
||||
<h6>Insira abaixo detalhes adicionais.</h6>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="analistaComunicado"> Respons�vel</label>
|
||||
<input type="text" name="analistaDesligamento" id="analistaDesligamento"
|
||||
class="form-control" readonly data-protection="Analista"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataPrevista"> Data </label>
|
||||
<input type="text" name="dataPrevista" id="dataPrevista" class="form-control"
|
||||
readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-12">
|
||||
<label for="dataInicio" style="display:block;">
|
||||
Prazo de desligamento
|
||||
</label>
|
||||
<div class="d-flex" style="display: flex; align-items: center; gap: 6px;">
|
||||
<input type="date" name="dataInicio" id="dataInicio" class="form-control" style="width: 48%;" />
|
||||
<span>at�</span>
|
||||
<input type="date" name="dataFim" id="dataFim" class="form-control" style="width: 48%;" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label style="font-weight:600;">Estabilidades Verificadas:</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
|
||||
<div class="row mt-2">
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="trintidiocct">Trint�dio CCT</label>
|
||||
<select id="trintidiocct" name="trintidiocct" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="trintidioposferias">Trint�dio p�s-f�rias</label>
|
||||
<select id="trintidioposferias" name="trintidioposferias"
|
||||
class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="trintidioposafastamento">Trint�dio p�s-afastamento</label>
|
||||
<select id="trintidioposafastamento" name="trintidioposafastamento"
|
||||
class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="preaposentadoria">Pr�-aposentadoria</label>
|
||||
<select id="preaposentadoria" name="preaposentadoria" class="form-control"
|
||||
required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="acidentaria">Acident�ria (CAT)</label>
|
||||
<select id="acidentaria" name="acidentaria" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="gestante">Gestante/Licen�a maternidade/Lactante</label>
|
||||
<select id="gestante" name="gestante" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="sindical">Sindical</label>
|
||||
<select id="sindical" name="sindical" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="pcd">PCD</label>
|
||||
<select id="pcd" name="pcd" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-6 mb-3">
|
||||
<label for="outros">Outras Estabilidades</label>
|
||||
<select id="outros" name="outros" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="infoadicionais">Informa��es adicionais</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="infoadicionais"
|
||||
id="infoadicionais"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="activity activity-24">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-toc icon-md" aria-hidden="true"></i>
|
||||
An�lise de Conformidades
|
||||
</h2>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="userAprovConf"> Respons�vel </label>
|
||||
<input type="text" name="userAprovConf" id="userAprovConf" class="form-control"
|
||||
readonly data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataUserAprovConf"> Data </label>
|
||||
<input type="text" name="dataUserAprovConf" id="dataUserAprovConf"
|
||||
class="form-control" readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>O colaborador tem impeditivos?</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<select id="impeditivosColab" name="impeditivosColab" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option value="Sim">Sim</option>
|
||||
<option value="N�o">Não</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="InforConf">Informa��es adicionais</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="InforConf" id="InforConf"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="activity activity-5">
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-user-search icon-md" aria-hidden="true"></i>
|
||||
Informa��es Gerencias do Colaborador
|
||||
</h2>
|
||||
<h6>Insira abaixo as informa��es.</h6>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="analistaComunicado"> Respons�vel pelo colaborador </label>
|
||||
<input type="text" name="analistaComunicado" id="analistaComunicado"
|
||||
class="form-control" readonly data-protection="Analista"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataComunicado"> Data </label>
|
||||
<input type="text" name="dataComunicado" id="dataComunicado"
|
||||
class="form-control" readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataExata"> Data do desligamento </label>
|
||||
<input type="date" name="dataExata" id="dataExata"
|
||||
class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="alert alert-warning" role="alert" style="margin-top: 15px;">
|
||||
<strong>Aten��o:</strong> Antes de continuar, revise o ponto eletr�nico do colaborador no sistema Pontotel.
|
||||
Certifique-se que faltas, atrasos, horas extras e demais registros est�o corretos.
|
||||
Caso necess�rio, realize os ajustes antes de prosseguir.
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
<!-- ================= PROVENTOS ================= -->
|
||||
<div class="col-md-6">
|
||||
<h4><b>Proventos</b></h4>
|
||||
<table id="tabelaProventos"
|
||||
tablename="tabelaProventos"
|
||||
class="table table-bordered"
|
||||
noaddbutton="true"
|
||||
nodeletebutton="true">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 45%">Categoria</th>
|
||||
<th style="width: 40%">Valor / Quantidade</th>
|
||||
<th style="width: 15%">A��es</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<select name="categoriaProv" class="form-control categoriaProv">
|
||||
<option value="">Selecione...</option>
|
||||
<option value="comissao">Comiss�o</option>
|
||||
<option value="premiacao">Premia��o</option>
|
||||
<option value="horasextras">Horas Extras</option>
|
||||
<option value="outro">Outro</option>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div class="valorContainerProv">
|
||||
<input type="text" name="valorProv"
|
||||
class="form-control"
|
||||
placeholder="Selecione a categoria">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td class="text-center">
|
||||
<button type="button" class="btn btn-danger btn-sm"
|
||||
onclick="fnWdkRemoveChild(this)">Remover</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<button type="button" class="btn btn-primary mt-2"
|
||||
onclick="addLinhaProvento()">
|
||||
+ Adicionar Provento
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- ================= DESCONTOS ================= -->
|
||||
<div class="col-md-6">
|
||||
<h4><b>Descontos</b></h4>
|
||||
<table id="tabelaDescontos"
|
||||
tablename="tabelaDescontos"
|
||||
class="table table-bordered"
|
||||
noaddbutton="true"
|
||||
nodeletebutton="true">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 45%">Categoria</th>
|
||||
<th style="width: 40%">Valor / Quantidade</th>
|
||||
<th style="width: 15%">A��es</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<select name="categoriaDesc" class="form-control categoriaDesc">
|
||||
<option value="">Selecione...</option>
|
||||
<option value="faltas">Faltas (dias)</option>
|
||||
<option value="atrasos">Atrasos (hh:mm)</option>
|
||||
<option value="avarias">Avarias</option>
|
||||
<option value="outro">Outro</option>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div class="valorContainerDesc">
|
||||
<input type="text" name="valorDesc"
|
||||
class="form-control"
|
||||
placeholder="Selecione a categoria">
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td class="text-center">
|
||||
<button type="button" class="btn btn-danger btn-sm"
|
||||
onclick="fnWdkRemoveChild(this)">Remover</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<button type="button" class="btn btn-primary mt-2"
|
||||
onclick="addLinhaDesconto()">
|
||||
+ Adicionar Desconto
|
||||
</button>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Equipamentos Recolhidos</label>
|
||||
<span class="text-danger"><strong>*</strong></span><br />
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Notebook" name="Notebook" value="Notebook" />
|
||||
<label for="Notebook">Notebook</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Telefone" name="Telefone" value="Telefone" />
|
||||
<label for="Telefone">Telefone</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Chipdecelular" name="Chipdecelular" value="chip" />
|
||||
<label for="Chipdecelular">Chip de celular</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Carregadordonotebook"
|
||||
name="Carregadordonotebook" value="carregadorNotebook"/>
|
||||
<label for="Carregadordonotebook">Carregador do notebook</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Carregadordotelefone"
|
||||
name="Carregadordotelefone" value="carregadorTelefone"/>
|
||||
<label for="Carregadordotelefone">Carregador do telefone</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row ratingAction">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Como voc� avalia o estado dos equipamentos?</label>
|
||||
<div class="ratingStars">
|
||||
<span>P�ssimo</span>
|
||||
<div class="minha-avaliacao"></div>
|
||||
<span>Excelente</span>
|
||||
</div>
|
||||
<input type="hidden" id="ratingValue" name="ratingValue" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="detalheSolicitacao">Detalhamento da situa��o</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="detalheSolicitacao"
|
||||
id="detalheSolicitacao"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div class="activity activity-13">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-assignment-returned icon-md" aria-hidden="true"></i>
|
||||
Documentos Demissionais
|
||||
</h2>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="analistaTecnico"> Respons�vel pelo envio </label>
|
||||
<input type="text" name="analistaTecnico" id="analistaTecnico"
|
||||
class="form-control" readonly data-protection="Analista"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataAnaliseTecnica"> Data </label>
|
||||
<input type="text" name="dataAnaliseTecnica" id="dataAnaliseTecnica"
|
||||
class="form-control" readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Todos os documentos foram entregues e a assinatura do documento foi conclu�da?</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<select id="assinaturaDoc" name="assinaturaDoc" class="form-control">
|
||||
<option value="">Selecione</option>
|
||||
<option value="sim">Sim</option>
|
||||
<option value="nao">N�o</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row consegueResolverMotivo" style="display:none;">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Qual o motivo?</label>
|
||||
<span class="text-danger"><strong>*</strong></span><br />
|
||||
<div class="">
|
||||
<label>
|
||||
<input name="possuiInconsistencia" id="possuiInconsistenciaNao"
|
||||
value="nao" type="radio" />
|
||||
<span class="change-weight">O colaborador desligado <b>deixou pendente</b> a assinatura de alguns documentos.</span></b></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
tamb�m come�a escondido -->
|
||||
<!-- <div class="row consideracoesRow" style="display:none;">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="consideracoesTecnicas">Considera��es</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="consideracoesTecnicas"
|
||||
id="consideracoesTecnicas"
|
||||
placeholder="Descreva a justificativa"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="activity activity-15">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-settings icon-md" aria-hidden="true"></i>
|
||||
<i class="flaticon flaticon-workstation icon-md" aria-hidden="true"></i>
|
||||
Desativar acessos
|
||||
</h2>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-4 col-xs-4">
|
||||
<label for="userValidacao"> Respons�vel </label>
|
||||
<input type="text" name="userValidacao" id="userValidacao" class="form-control"
|
||||
readonly data-protection="Usu�rio de abertura" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataUserValidacao"> Data </label>
|
||||
<input type="text" name="dataUserValidacao" id="dataUserValidacao"
|
||||
class="form-control" readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Acessos desabilitados?</label>
|
||||
<span class="text-danger"><strong>*</strong></span><br />
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input name="situacaoResolvida" id="situacaoResolvidaSim" value="sim"
|
||||
type="radio" />
|
||||
<span class="change-weight">Sim</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input name="situacaoResolvida" id="situacaoResolvidaNao" value="nao"
|
||||
type="radio" />
|
||||
<span class="change-weight">N�o</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Acessos Desabilitados</label>
|
||||
<span class="text-danger"><strong>*</strong></span><br />
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="ActiveDirectory" name="ActiveDirectory" />
|
||||
<label for="ActiveDirectory">Active Directory</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="ControladorasFaciais"
|
||||
name="ControladorasFaciais" />
|
||||
<label for="ControladorasFaciais">Controladoras Faciais</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Protheus" name="Protheus" />
|
||||
<label for="Protheus">Protheus</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Extranet" name="Extranet" />
|
||||
<label for="Extranet">Extranet</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="AcessoSSH" name="AcessoSSH" />
|
||||
<label for="AcessoSSH">Acesso SSH</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Email" name="Email" />
|
||||
<label for="Email">E-mail</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Fluig" name="Fluig" />
|
||||
<label for="Fluig">Fluig</label>
|
||||
</div>
|
||||
<div class="custom-checkbox custom-checkbox-inline custom-checkbox-success">
|
||||
<input type="checkbox" id="Feedz" name="Feedz" />
|
||||
<label for="Feedz">Feedz</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row explainAction">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="consideracoes">Considera��es</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="consideracoes" id="consideracoes"
|
||||
placeholder="Descreva a justificativa para a sua avaliação"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
39
Desligamento/forms/desligamentov2/events/displayFields.js
Normal file
39
Desligamento/forms/desligamentov2/events/displayFields.js
Normal file
@ -0,0 +1,39 @@
|
||||
function displayFields(form, customHTML) {
|
||||
var activity = getValue('WKNumState');
|
||||
var userId = getValue('WKUser');
|
||||
|
||||
form.setShowDisabledFields(true);
|
||||
form.setHidePrintLink(true);
|
||||
|
||||
form.setValue("WKNumProces", getValue('WKNumProces'));
|
||||
form.setValue("activity", activity);
|
||||
form.setValue("formMode", form.getFormMode());
|
||||
|
||||
var c1 = DatasetFactory.createConstraint("colleagueId", userId, userId, ConstraintType.MUST);
|
||||
var filter = new Array(c1);
|
||||
var fields = new Array("colleagueName", "mail");
|
||||
var retorno = DatasetFactory.getDataset("colleague", fields, filter, null);
|
||||
|
||||
//requester
|
||||
if (activity == 0 || activity == 4) {
|
||||
form.setValue("requesterName", retorno.getValue(0, "colleagueName"));
|
||||
form.setValue("currentUsermail", retorno.getValue(0, "mail"));
|
||||
form.setValue("currentUserId", userId);
|
||||
} else {
|
||||
form.setValue("currentUserName", retorno.getValue(0, "colleagueName"));
|
||||
form.setValue("currentUsermail", retorno.getValue(0, "mail"));
|
||||
form.setValue("currentUserId", userId);
|
||||
}
|
||||
|
||||
//requester
|
||||
if (activity == 5 || activity == 24) {
|
||||
form.setValue("requesterName", retorno.getValue(0, "colleagueName"));
|
||||
form.setValue("requesterMail", retorno.getValue(0, "mail"));
|
||||
form.setValue("requesterId", userId);
|
||||
} else {
|
||||
form.setValue("requesterName", retorno.getValue(0, "colleagueName"));
|
||||
form.setValue("requesterMail", retorno.getValue(0, "mail"));
|
||||
form.setValue("requesterId", userId);
|
||||
}
|
||||
|
||||
}
|
||||
385
Desligamento/forms/desligamentov2/script.js
Normal file
385
Desligamento/forms/desligamentov2/script.js
Normal file
@ -0,0 +1,385 @@
|
||||
/****************************************************************************************
|
||||
* FLUIG - DESLIGAMENTO DO COLABORADOR
|
||||
* SCRIPT PRINCIPAL ORGANIZADO
|
||||
****************************************************************************************/
|
||||
|
||||
$(window).on("load", function () {
|
||||
setTimeout(() => {
|
||||
iniciarFormulario();
|
||||
}, 400);
|
||||
});
|
||||
|
||||
/****************************************************************************************
|
||||
* INICIALIZAÇÃO DO FORMULÁRIO
|
||||
****************************************************************************************/
|
||||
function iniciarFormulario() {
|
||||
|
||||
const activity = parseInt($("#activity").val() || 0);
|
||||
const formMode = $("#formMode").val() || "ADD";
|
||||
const requestDate = getCurrentDate();
|
||||
|
||||
$(".activity").hide(); // Oculta todas por padrão
|
||||
|
||||
if (formMode === "VIEW") {
|
||||
$(".activity").show();
|
||||
showAndBlock(["all"]);
|
||||
return;
|
||||
}
|
||||
|
||||
if ([0, 4].includes(activity)) {
|
||||
$(".activity-4").show();
|
||||
$("#requesterName").val($("#requesterName").val() || $("#currentUserName").val());
|
||||
$("#emailGestorArea").val($("#requesterMail").val() || $("#currentUsermail").val());
|
||||
$("#dataAbertura").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 51) {
|
||||
$(".activity-4, .activity-51").show();
|
||||
showAndBlock([4]);
|
||||
$("#userAprova").val($("#currentUserName").val());
|
||||
$("#dataUserAprova").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 20) {
|
||||
$(".activity-4, .activity-20").show();
|
||||
showAndBlock([4, 51]);
|
||||
$("#userAprov").val($("#currentUserName").val());
|
||||
$("#dataUserAprov").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 22) {
|
||||
$(".activity-4, .activity-20, .activity-22").show();
|
||||
showAndBlock([4, 20, 51]);
|
||||
$("#analistaDesligamento").val($("#currentUserName").val());
|
||||
$("#dataPrevista").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 24) {
|
||||
$(".activity-4, .activity-20, .activity-22, .activity-24").show();
|
||||
showAndBlock([4, 20, 22, 51]);
|
||||
$("#userAprovConf").val($("#currentUserName").val());
|
||||
$("#dataUserAprovConf").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
if (activity === 5) {
|
||||
$(".activity-4, .activity-20, .activity-22, .activity-24, .activity-5").show();
|
||||
showAndBlock([4, 20, 22, 24, 51]);
|
||||
$("#analistaComunicado").val($("#currentUserName").val());
|
||||
$("#dataComunicado").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
inicializarEstrelas();
|
||||
}
|
||||
|
||||
|
||||
if (activity === 15) {
|
||||
$(".activity-4, .activity-15").show();
|
||||
showAndBlock([4]);
|
||||
$("#userValidacao").val($("#currentUserName").val());
|
||||
$("#dataUserValidacao").val(`${requestDate[0]} - ${requestDate[1]}`);
|
||||
}
|
||||
|
||||
$(`.activity-${activity} :input`)
|
||||
.prop("readonly", false)
|
||||
.prop("disabled", false)
|
||||
.css("background-color", "");
|
||||
}
|
||||
|
||||
/****************************************************************************************
|
||||
* BLOQUEIO DE ATIVIDADES ANTERIORES
|
||||
****************************************************************************************/
|
||||
function showAndBlock(list) {
|
||||
|
||||
const current = parseInt($("#activity").val());
|
||||
|
||||
if (list[0] === "all") {
|
||||
$(".activity :input")
|
||||
.prop("readonly", true)
|
||||
.css("pointer-events", "none")
|
||||
.css("background-color", "#eee");
|
||||
return;
|
||||
}
|
||||
|
||||
list.forEach(a => {
|
||||
|
||||
$(`.activity-${a}`).show();
|
||||
|
||||
$(`.activity-${a} :input`).each(function () {
|
||||
|
||||
if ($(this).closest(".activity").hasClass(`activity-${current}`)) return;
|
||||
|
||||
// trava campos normais
|
||||
$(this)
|
||||
.prop("readonly", true)
|
||||
.css("background-color", "#eee")
|
||||
.css("pointer-events", "none");
|
||||
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/****************************************************************************************
|
||||
* FUNÇÕES AUXILIARES
|
||||
****************************************************************************************/
|
||||
function getCurrentDate() {
|
||||
const now = new Date();
|
||||
const pad = n => (n < 10 ? "0" + n : n);
|
||||
|
||||
return [
|
||||
`${pad(now.getDate())}/${pad(now.getMonth() + 1)}/${now.getFullYear()}`,
|
||||
`${pad(now.getHours())}:${pad(now.getMinutes())}`
|
||||
];
|
||||
}
|
||||
|
||||
/****************************************************************************************
|
||||
* ESTRELAS DE AVALIAÇÃO
|
||||
****************************************************************************************/
|
||||
function inicializarEstrelas() {
|
||||
|
||||
const valorSalvo = parseInt($("#ratingValue").val()) || 0;
|
||||
|
||||
const stars = FLUIGC.stars(".minha-avaliacao", {
|
||||
stars: 5,
|
||||
value: valorSalvo,
|
||||
sizeClass: "icon-md"
|
||||
});
|
||||
|
||||
stars.on("click", function () {
|
||||
const valor = $(".fluigicon-star-active").length;
|
||||
$("#ratingValue").val(valor);
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
$(".minha-avaliacao .fluigicon-star").each(function (i) {
|
||||
$(this).css("color", i < valorSalvo ? "#f0ad4e" : "#ccc");
|
||||
});
|
||||
}, 200);
|
||||
}
|
||||
|
||||
/****************************************************************************************
|
||||
* VALIDAÇÃO DO ENVIO
|
||||
****************************************************************************************/
|
||||
var beforeSendValidate = function (state) {
|
||||
|
||||
if ([0, 1, 4].includes(state)) {
|
||||
if (!$("#motivoDesligamento").val()) throw "'Detalhes da situação' é obrigatório.";
|
||||
}
|
||||
|
||||
if (state == 5) {
|
||||
if (!$("#detalheSolicitacao").val()) throw "'Detalhamento da situação' é obrigatório.";
|
||||
}
|
||||
};
|
||||
|
||||
/****************************************************************************************
|
||||
* EVENTOS DINÂMICOS (EXIBIÇÃO DE CAMPOS)
|
||||
****************************************************************************************/
|
||||
$(document).ready(function () {
|
||||
|
||||
$("#assinaturaDoc").change(function () {
|
||||
$(".consegueResolverMotivo, .consideracoesRow").hide();
|
||||
if ($(this).val() === "nao") $(".consegueResolverMotivo, .consideracoesRow").slideDown();
|
||||
}).trigger("change");
|
||||
|
||||
$("input[name=feedback]").change(function () {
|
||||
$(".JustFeedback").toggle($(this).val() === "sim");
|
||||
}).trigger("change");
|
||||
|
||||
$("input[name=situacaoResolvida]").change(function () {
|
||||
$(".explainAction, .ratingAction").hide();
|
||||
if ($(this).val() === "nao") $(".explainAction").show();
|
||||
if ($(this).val() === "sim") $(".ratingAction").show();
|
||||
}).trigger("change");
|
||||
|
||||
$("#tipodesligamento").change(function () {
|
||||
$(".feedbackRow").toggle($(this).val() === "experiencia");
|
||||
}).trigger("change");
|
||||
});
|
||||
|
||||
/****************************************************************************************
|
||||
* LANÇAMENTOS (PROVENTOS / DESCONTOS)
|
||||
****************************************************************************************/
|
||||
/****************************************************************************************
|
||||
* PROVENTOS — Adicionar linha
|
||||
****************************************************************************************/
|
||||
function addLinhaProvento() {
|
||||
let idx = wdkAddChild("tabelaProventos");
|
||||
ajustarLinhaProvento(idx);
|
||||
}
|
||||
|
||||
/****************************************************************************************
|
||||
* DESCONTOS — Adicionar linha
|
||||
****************************************************************************************/
|
||||
function addLinhaDesconto() {
|
||||
let idx = wdkAddChild("tabelaDescontos");
|
||||
ajustarLinhaDesconto(idx);
|
||||
}
|
||||
|
||||
/****************************************************************************************
|
||||
* PROVENTOS — Ajustar linha conforme categoria
|
||||
****************************************************************************************/
|
||||
function ajustarLinhaProvento(idx) {
|
||||
|
||||
let categoria = $(`select[name="categoriaProvento___${idx}"]`);
|
||||
let container = $(`input[name="valorProvento___${idx}"]`).parent();
|
||||
|
||||
categoria.off("change").on("change", function () {
|
||||
|
||||
let valorSalvo = $(`input[name="valorProvento___${idx}"]`).val();
|
||||
container.empty();
|
||||
|
||||
let cat = categoria.val();
|
||||
|
||||
// === COMISSÃO / PREMIAÇÃO / AVARIAS → DINHEIRO ====
|
||||
if (["comissao", "premiacao"].includes(cat)) {
|
||||
container.append(`
|
||||
<input type="text" name="valorProvento___${idx}"
|
||||
class="form-control money" placeholder="R$ 0,00">
|
||||
`);
|
||||
}
|
||||
|
||||
// === HORAS EXTRAS → HH:MM ====
|
||||
else if (cat === "horasextras") {
|
||||
container.append(`
|
||||
<input type="text" name="valorProvento___${idx}"
|
||||
class="form-control timehhmm" placeholder="00:00">
|
||||
`);
|
||||
}
|
||||
|
||||
// === OUTRO → TEXTO LIVRE ====
|
||||
else {
|
||||
container.append(`
|
||||
<input type="text" name="valorProvento___${idx}"
|
||||
class="form-control" placeholder="Descreva...">
|
||||
`);
|
||||
}
|
||||
|
||||
// Restaurar valor
|
||||
$(`input[name="valorProvento___${idx}"]`).val(valorSalvo);
|
||||
|
||||
aplicarMascaraDinheiro();
|
||||
aplicarMascaraHora();
|
||||
});
|
||||
|
||||
categoria.trigger("change");
|
||||
}
|
||||
/****************************************************************************************
|
||||
* DESCONTOS — Ajustar linha conforme categoria
|
||||
****************************************************************************************/
|
||||
function ajustarLinhaDesconto(idx) {
|
||||
|
||||
let categoria = $(`select[name="categoriaDesconto___${idx}"]`);
|
||||
let container = $(`input[name="valorDesconto___${idx}"]`).parent();
|
||||
|
||||
categoria.off("change").on("change", function () {
|
||||
|
||||
let valorSalvo = $(`input[name="valorDesconto___${idx}"]`).val();
|
||||
container.empty();
|
||||
|
||||
let cat = categoria.val();
|
||||
|
||||
// === FALTAS → INTEIRO ====
|
||||
if (cat === "faltas") {
|
||||
container.append(`
|
||||
<input type="number" step="1" name="valorDesconto___${idx}"
|
||||
class="form-control" placeholder="Dias de falta">
|
||||
`);
|
||||
}
|
||||
|
||||
// === ATRASOS → HH:MM ====
|
||||
else if (cat === "atrasos") {
|
||||
container.append(`
|
||||
<input type="text" name="valorDesconto___${idx}"
|
||||
class="form-control timehhmm" placeholder="00:00">
|
||||
`);
|
||||
}
|
||||
|
||||
// === AVARIAS → DINHEIRO ====
|
||||
else if (cat === "avarias") {
|
||||
container.append(`
|
||||
<input type="text" name="valorDesconto___${idx}"
|
||||
class="form-control money" placeholder="R$ 0,00">
|
||||
`);
|
||||
}
|
||||
|
||||
// === OUTRO — texto livre ====
|
||||
else {
|
||||
container.append(`
|
||||
<input type="text" name="valorDesconto___${idx}"
|
||||
class="form-control" placeholder="Descreva...">
|
||||
`);
|
||||
}
|
||||
|
||||
// Restaurar valor salvo
|
||||
$(`input[name="valorDesconto___${idx}"]`).val(valorSalvo);
|
||||
|
||||
aplicarMascaraDinheiro();
|
||||
aplicarMascaraHora();
|
||||
});
|
||||
|
||||
categoria.trigger("change");
|
||||
}
|
||||
|
||||
/****************************************************************************************
|
||||
* Restauração automática ao recarregar o formulário
|
||||
****************************************************************************************/
|
||||
function restaurarTodasLinhas() {
|
||||
|
||||
// PROVENTOS
|
||||
$("select.categoriaProvento").each(function () {
|
||||
let idx = this.name.split("___")[1];
|
||||
ajustarLinhaProvento(idx);
|
||||
});
|
||||
|
||||
// DESCONTOS
|
||||
$("select.categoriaDesconto").each(function () {
|
||||
let idx = this.name.split("___")[1];
|
||||
ajustarLinhaDesconto(idx);
|
||||
});
|
||||
}
|
||||
|
||||
// Sempre que o Fluig recriar o pai-filho
|
||||
document.addEventListener("DOMNodeInserted", function (e) {
|
||||
|
||||
if ($(e.target).closest("#tabelaProventos").length > 0 ||
|
||||
$(e.target).closest("#tabelaDescontos").length > 0) {
|
||||
|
||||
setTimeout(restaurarTodasLinhas, 200);
|
||||
}
|
||||
});
|
||||
|
||||
/****************************************************************************************
|
||||
* Máscara de dinheiro
|
||||
****************************************************************************************/
|
||||
function aplicarMascaraDinheiro() {
|
||||
$(".money").mask("#.##0,00", { reverse: true });
|
||||
}
|
||||
|
||||
function aplicarMascaraHora() {
|
||||
$('.timehhmm').mask('00:00');
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Sempre que o Fluig alterar o pai-filho, restauramos
|
||||
document.addEventListener("DOMNodeInserted", function (e) {
|
||||
if ($(e.target).closest("table#tabelaLancamentos").length > 0) {
|
||||
setTimeout(restaurarLancamentos, 200);
|
||||
}
|
||||
});
|
||||
|
||||
/****************************************************************************************
|
||||
* ZOOM: COLABORADOR
|
||||
****************************************************************************************/
|
||||
function setSelectedZoomItem(item) {
|
||||
if (item.inputId === "colabDesliga") {
|
||||
$("#colabCpf").val(item.cpf || "");
|
||||
$("#colabadmissao").val(item.admission_at || "");
|
||||
$("#emailColaborador").val(item.email || "");
|
||||
$("#departamento").val(item.department || "");
|
||||
$("#cargoColaborador").val(item.description || "");
|
||||
}
|
||||
}
|
||||
|
||||
function removedZoomItem(item) {
|
||||
if (item.inputId === "colabDesliga") {
|
||||
$("#colabCpf, #colabadmissao, #emailColaborador, #departamento, #cargoColaborador").val("");
|
||||
}
|
||||
}
|
||||
@ -1,219 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_481" class="java.beans.XMLDecoder">
|
||||
<java version="1.8.0_202" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<void method="put">
|
||||
<string>volume</string>
|
||||
<null/>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 12959</string>
|
||||
<array class="java.lang.String" length="68">
|
||||
<void index="0">
|
||||
<string>AcessoSSH</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>acidentaria</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>ActiveDirectory</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="4">
|
||||
<string>analistaComunicado</string>
|
||||
</void>
|
||||
<void index="5">
|
||||
<string>analistaDesligamento</string>
|
||||
</void>
|
||||
<void index="6">
|
||||
<string>Aprovdesligamento</string>
|
||||
</void>
|
||||
<void index="7">
|
||||
<string>cargoColaborador</string>
|
||||
</void>
|
||||
<void index="8">
|
||||
<string>Carregadordonotebook</string>
|
||||
</void>
|
||||
<void index="9">
|
||||
<string>Carregadordotelefone</string>
|
||||
</void>
|
||||
<void index="10">
|
||||
<string>categoriaDesc</string>
|
||||
</void>
|
||||
<void index="11">
|
||||
<string>categoriaProv</string>
|
||||
</void>
|
||||
<void index="12">
|
||||
<string>Chipdecelular</string>
|
||||
</void>
|
||||
<void index="13">
|
||||
<string>colabadmissao</string>
|
||||
</void>
|
||||
<void index="14">
|
||||
<string>colabCpf</string>
|
||||
</void>
|
||||
<void index="15">
|
||||
<string>colabDesliga</string>
|
||||
</void>
|
||||
<void index="16">
|
||||
<string>consideracoes</string>
|
||||
</void>
|
||||
<void index="17">
|
||||
<string>ControladorasFaciais</string>
|
||||
</void>
|
||||
<void index="18">
|
||||
<string>currentUserId</string>
|
||||
</void>
|
||||
<void index="19">
|
||||
<string>currentUsermail</string>
|
||||
</void>
|
||||
<void index="20">
|
||||
<string>currentUserName</string>
|
||||
</void>
|
||||
<void index="21">
|
||||
<string>dataAbertura</string>
|
||||
</void>
|
||||
<void index="22">
|
||||
<string>dataComunicado</string>
|
||||
</void>
|
||||
<void index="23">
|
||||
<string>dataExata</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>dataFim</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>dataInicio</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>dataPrevista</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>dataUserAprov</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>dataUserAprovConf</string>
|
||||
</void>
|
||||
<void index="29">
|
||||
<string>dataUserValidacao</string>
|
||||
</void>
|
||||
<void index="30">
|
||||
<string>departamento</string>
|
||||
</void>
|
||||
<void index="31">
|
||||
<string>DesligamentoAprov</string>
|
||||
</void>
|
||||
<void index="32">
|
||||
<string>detalheSolicitacao</string>
|
||||
</void>
|
||||
<void index="33">
|
||||
<string>Email</string>
|
||||
</void>
|
||||
<void index="34">
|
||||
<string>emailColaborador</string>
|
||||
</void>
|
||||
<void index="35">
|
||||
<string>emailGestorArea</string>
|
||||
</void>
|
||||
<void index="36">
|
||||
<string>Extranet</string>
|
||||
</void>
|
||||
<void index="37">
|
||||
<string>feedbackColaborador</string>
|
||||
</void>
|
||||
<void index="38">
|
||||
<string>Feedz</string>
|
||||
</void>
|
||||
<void index="39">
|
||||
<string>Fluig</string>
|
||||
</void>
|
||||
<void index="40">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="41">
|
||||
<string>gestante</string>
|
||||
</void>
|
||||
<void index="42">
|
||||
<string>impeditivosColab</string>
|
||||
</void>
|
||||
<void index="43">
|
||||
<string>infoadicionais</string>
|
||||
</void>
|
||||
<void index="44">
|
||||
<string>InforConf</string>
|
||||
</void>
|
||||
<void index="45">
|
||||
<string>motivoDesligamento</string>
|
||||
</void>
|
||||
<void index="46">
|
||||
<string>Notebook</string>
|
||||
</void>
|
||||
<void index="47">
|
||||
<string>outros</string>
|
||||
</void>
|
||||
<void index="48">
|
||||
<string>pcd</string>
|
||||
</void>
|
||||
<void index="49">
|
||||
<string>preaposentadoria</string>
|
||||
</void>
|
||||
<void index="50">
|
||||
<string>Protheus</string>
|
||||
</void>
|
||||
<void index="51">
|
||||
<string>ratingValue</string>
|
||||
</void>
|
||||
<void index="52">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="53">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="54">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="55">
|
||||
<string>sindical</string>
|
||||
</void>
|
||||
<void index="56">
|
||||
<string>situacaoResolvida</string>
|
||||
</void>
|
||||
<void index="57">
|
||||
<string>Telefone</string>
|
||||
</void>
|
||||
<void index="58">
|
||||
<string>tipodesligamento</string>
|
||||
</void>
|
||||
<void index="59">
|
||||
<string>trintidiocct</string>
|
||||
</void>
|
||||
<void index="60">
|
||||
<string>trintidioposafastamento</string>
|
||||
</void>
|
||||
<void index="61">
|
||||
<string>trintidioposferias</string>
|
||||
</void>
|
||||
<void index="62">
|
||||
<string>userAprov</string>
|
||||
</void>
|
||||
<void index="63">
|
||||
<string>userAprovConf</string>
|
||||
</void>
|
||||
<void index="64">
|
||||
<string>userValidacao</string>
|
||||
</void>
|
||||
<void index="65">
|
||||
<string>valorDesc</string>
|
||||
</void>
|
||||
<void index="66">
|
||||
<string>valorProv</string>
|
||||
</void>
|
||||
<void index="67">
|
||||
<string>WKNumProces</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismoGrupo</string>
|
||||
<object class="java.util.ArrayList">
|
||||
@ -657,6 +444,56 @@
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Transferencia</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Transferencia</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Fiscal</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Fiscal</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>motoristaAL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>motoristaAL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>motoristaBA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>motoristaBA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>motoristaSE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>motoristaSE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
@ -676,167 +513,6 @@
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 590</string>
|
||||
<array class="java.lang.String" length="52">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>centroCusto</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>codigoItem</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>consideracoesCompras</string>
|
||||
</void>
|
||||
<void index="4">
|
||||
<string>consideracoesCotacao</string>
|
||||
</void>
|
||||
<void index="5">
|
||||
<string>currentUserId</string>
|
||||
</void>
|
||||
<void index="6">
|
||||
<string>currentUsermail</string>
|
||||
</void>
|
||||
<void index="7">
|
||||
<string>currentUserName</string>
|
||||
</void>
|
||||
<void index="8">
|
||||
<string>dataAbertura</string>
|
||||
</void>
|
||||
<void index="9">
|
||||
<string>dataAprovCompras</string>
|
||||
</void>
|
||||
<void index="10">
|
||||
<string>dataRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="11">
|
||||
<string>dataValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="12">
|
||||
<string>dataValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="13">
|
||||
<string>dataValidacaoItens</string>
|
||||
</void>
|
||||
<void index="14">
|
||||
<string>descricao</string>
|
||||
</void>
|
||||
<void index="15">
|
||||
<string>emailSolicitante</string>
|
||||
</void>
|
||||
<void index="16">
|
||||
<string>estabelecimento</string>
|
||||
</void>
|
||||
<void index="17">
|
||||
<string>excelUpload</string>
|
||||
</void>
|
||||
<void index="18">
|
||||
<string>fdAnexo_Coleta</string>
|
||||
</void>
|
||||
<void index="19">
|
||||
<string>fdAnexo_embalar</string>
|
||||
</void>
|
||||
<void index="20">
|
||||
<string>fdAnexo_Entrega</string>
|
||||
</void>
|
||||
<void index="21">
|
||||
<string>fdAnexo_Nfe</string>
|
||||
</void>
|
||||
<void index="22">
|
||||
<string>fdAnexo_recebimento</string>
|
||||
</void>
|
||||
<void index="23">
|
||||
<string>fnAnexo_Coleta</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>fnAnexo_embalar</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>fnAnexo_Entrega</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>fnAnexo_Nfe</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>fnAnexo_recebimento</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="29">
|
||||
<string>gestorEmail</string>
|
||||
</void>
|
||||
<void index="30">
|
||||
<string>gestorEmailE</string>
|
||||
</void>
|
||||
<void index="31">
|
||||
<string>gestorNome</string>
|
||||
</void>
|
||||
<void index="32">
|
||||
<string>gestorNomeE</string>
|
||||
</void>
|
||||
<void index="33">
|
||||
<string>gestor_cc</string>
|
||||
</void>
|
||||
<void index="34">
|
||||
<string>gestor_cce</string>
|
||||
</void>
|
||||
<void index="35">
|
||||
<string>justificativa</string>
|
||||
</void>
|
||||
<void index="36">
|
||||
<string>justificativaDecisaoCompras</string>
|
||||
</void>
|
||||
<void index="37">
|
||||
<string>justificativaDecisaoGestor</string>
|
||||
</void>
|
||||
<void index="38">
|
||||
<string>justificativaDecisaoItens</string>
|
||||
</void>
|
||||
<void index="39">
|
||||
<string>justificativaValidaProblema</string>
|
||||
</void>
|
||||
<void index="40">
|
||||
<string>quantidadeItem</string>
|
||||
</void>
|
||||
<void index="41">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="42">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="43">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="44">
|
||||
<string>userCotacaoGestor</string>
|
||||
</void>
|
||||
<void index="45">
|
||||
<string>userRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="46">
|
||||
<string>userSolicitante</string>
|
||||
</void>
|
||||
<void index="47">
|
||||
<string>userValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="48">
|
||||
<string>userValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="49">
|
||||
<string>userValidacaoItens</string>
|
||||
</void>
|
||||
<void index="50">
|
||||
<string>validacaoItens</string>
|
||||
</void>
|
||||
<void index="51">
|
||||
<string>WKNumProces</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismo</string>
|
||||
<array class="[Ljava.lang.Object;" length="12">
|
||||
@ -962,504 +638,5 @@
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>forms</string>
|
||||
<object class="java.util.LinkedList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>FLUIGADHOC</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>FLUIGADHOC</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>3</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>FLUIGADHOCPROCESS</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>FLUIGADHOCPROCESS</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>4</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_tipo_ocorrencia</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_tipo_ocorrencia</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>14</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_abertura_chamado</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_abertura_chamado</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>15</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>DSFormulariodeAberturadechamado</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Formulário de Abertura de chamado</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>20</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>Abertura_de_chamados</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Solicitação de abertura de chamados</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>21</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>DSvistoriadeServico</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>vistoriadeServico</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>24</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>DSFormulariodeReservadesala</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Formulário de Reserva de sala</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>34</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_centrocusto</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_centrocusto</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>103</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_cadastro_item</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_cadastro_item</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>104</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_estabelecimento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_estabelecimento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>105</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_solicitacao_compras</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_solicitacao_compras</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>165</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>aberturadechamado_manutencao</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>aberturadechamado_manutencao</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>400</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>Solicitacao_transferencia</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Solicitacao_transferencia</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>590</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>recrutamento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>recrutamento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>823</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>kit_aniversariantes</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Aniversariantes</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>7690</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>kit_cardapio</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Cardápio do Dia</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>7695</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>kit_convenios</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Convênios</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>7703</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>kit_news</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Notícias</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>7709</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>compras_digital</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>compras_digital</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9305</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_formulario_processo_admissao</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Formulario_Processo_Admissao_Protheus</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9626</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_cadastro_status</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Status</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9627</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_configuracoes</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Configuracoes</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9628</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_cadastro_jornada</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Jornada</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9629</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_tipo_documento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Tipo_Documento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9630</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_dataset</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Dataset</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9631</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_configuracao</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Configuracoes</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9632</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_beneficio</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Beneficios</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9633</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_compl_contrato</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Comp_Contrato</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9634</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_funcao_jornada</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Funcao_Jornada</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9635</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_dataset_estrutura</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Dataset_Estrutura</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9636</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_grupo_tipo_contrato</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Grupo_Tipo_Contrato</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9637</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_tipo_contrato</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Tipo_Contrato</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9638</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_traducao_campo_valor</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Traducao_Campo_Valor</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9639</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_restricoes_cpf</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Formulario_Restricao_CPF</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9640</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_compl_vt</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Compl_VT</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9641</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_traducao_campo</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Traducao_Campo</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9995</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>desligamento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>desligamento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>12959</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</java>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_461" class="java.beans.XMLDecoder">
|
||||
<java version="1.8.0_202" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<void method="put">
|
||||
<string>volume</string>
|
||||
@ -9,183 +9,6 @@
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 12959</string>
|
||||
<array class="java.lang.String" length="29">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>analistaTecnico</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>complemento</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>consegueResolver</string>
|
||||
</void>
|
||||
<void index="4">
|
||||
<string>consideracoes</string>
|
||||
</void>
|
||||
<void index="5">
|
||||
<string>consideracoesTecnicas</string>
|
||||
</void>
|
||||
<void index="6">
|
||||
<string>currentUserId</string>
|
||||
</void>
|
||||
<void index="7">
|
||||
<string>currentUsermail</string>
|
||||
</void>
|
||||
<void index="8">
|
||||
<string>currentUserName</string>
|
||||
</void>
|
||||
<void index="9">
|
||||
<string>dataAbertura</string>
|
||||
</void>
|
||||
<void index="10">
|
||||
<string>dataAnaliseTecnica</string>
|
||||
</void>
|
||||
<void index="11">
|
||||
<string>dataUserValidacao</string>
|
||||
</void>
|
||||
<void index="12">
|
||||
<string>detalheSolicitacao</string>
|
||||
</void>
|
||||
<void index="13">
|
||||
<string>emailGestorArea</string>
|
||||
</void>
|
||||
<void index="14">
|
||||
<string>emailSolicitante</string>
|
||||
</void>
|
||||
<void index="15">
|
||||
<string>estabelecimento</string>
|
||||
</void>
|
||||
<void index="16">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="17">
|
||||
<string>nomeGestorArea</string>
|
||||
</void>
|
||||
<void index="18">
|
||||
<string>possuiInconsistencia</string>
|
||||
</void>
|
||||
<void index="19">
|
||||
<string>ratingValue</string>
|
||||
</void>
|
||||
<void index="20">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="21">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="22">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="23">
|
||||
<string>situacaoResolvida</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>tipoOcorrencia</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>tituloOcorrencia</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>userSolicitante</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>userValidacao</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>WKNumProces</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismoGrupo</string>
|
||||
<object class="java.util.ArrayList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Tecnologia e Comunicação</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TIC</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Compras Indiretos</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ComprasIndiretos</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Obras e manutenção</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Manutencao</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Aprovadores Compras Nvl 3</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AprovadoresComprasNvl3</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Motoristas</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Motoristas</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Requisitantes de Vaga</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Requisitantesdevaga</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Recrutamento</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Recrutamento</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>TODOS-TODOS-DIADMISSAO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TODOS-TODOS-DIADMISSAO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>expediente</string>
|
||||
<array class="java.lang.String" length="4">
|
||||
@ -203,167 +26,6 @@
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>processosServidor</string>
|
||||
<object class="java.util.ArrayList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Abertura de Chamado</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Abertura de chamado Manutenção</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>desligamentoColaborador</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>desligamentoColaborador</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>TOTVS RH - Admissão Digital</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>dpf_digte_di_processo_admissao</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Abertura de Chamado</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>FlowEssentials_AberturaDeChamado</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Solicitação de compra - Totvs</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>FlowEssentials_SolicitacaoDeCompras</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Flowservico_terceirizado</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Flowservico_terceirizado</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Listar Tarefas</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>FLUIGADHOC</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Recrutamento e seleção</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Recrutamento e Seleção</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Solicitação de compra - Ginseng</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Solicitação de compras </string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Solicitação de compra - Ginseng</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Solicitação de compras - Integração teste</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Solicitação de compra - Ginseng</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Solicitação de compras v2</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Transferência Ginseng</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Transferência Ginseng</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismo</string>
|
||||
<array class="[Ljava.lang.Object;" length="12">
|
||||
@ -489,504 +151,5 @@
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>forms</string>
|
||||
<object class="java.util.LinkedList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>FLUIGADHOC</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>FLUIGADHOC</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>3</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>FLUIGADHOCPROCESS</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>FLUIGADHOCPROCESS</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>4</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_tipo_ocorrencia</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_tipo_ocorrencia</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>14</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_abertura_chamado</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_abertura_chamado</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>15</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>DSFormulariodeAberturadechamado</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Formulário de Abertura de chamado</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>20</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>Abertura_de_chamados</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Solicitação de abertura de chamados</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>21</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>DSvistoriadeServico</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>vistoriadeServico</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>24</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>DSFormulariodeReservadesala</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Formulário de Reserva de sala</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>34</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_centrocusto</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_centrocusto</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>103</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_cadastro_item</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_cadastro_item</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>104</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_estabelecimento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_estabelecimento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>105</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_solicitacao_compras</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_solicitacao_compras</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>165</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>aberturadechamado_manutencao</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>aberturadechamado_manutencao</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>400</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>Solicitacao_transferencia</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Solicitacao_transferencia</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>590</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>recrutamento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>recrutamento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>823</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>kit_aniversariantes</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Aniversariantes</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>7690</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>kit_cardapio</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Cardápio do Dia</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>7695</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>kit_convenios</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Convênios</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>7703</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>kit_news</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Notícias</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>7709</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>compras_digital</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>compras_digital</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9305</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_formulario_processo_admissao</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Formulario_Processo_Admissao_Protheus</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9626</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_cadastro_status</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Status</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9627</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_configuracoes</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Configuracoes</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9628</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_cadastro_jornada</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Jornada</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9629</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_tipo_documento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Tipo_Documento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9630</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_dataset</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Dataset</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9631</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_configuracao</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Configuracoes</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9632</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_beneficio</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Beneficios</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9633</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_compl_contrato</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Comp_Contrato</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9634</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_funcao_jornada</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Funcao_Jornada</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9635</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_dataset_estrutura</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Dataset_Estrutura</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9636</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_grupo_tipo_contrato</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Grupo_Tipo_Contrato</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9637</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_tipo_contrato</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Tipo_Contrato</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9638</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_traducao_campo_valor</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Traducao_Campo_Valor</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9639</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_restricoes_cpf</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Formulario_Restricao_CPF</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9640</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_compl_vt</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Compl_VT</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9641</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>dpf_di_traducao_campo</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Digte_Public_Form_Di_Traducao_Campo</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>9995</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>desligamento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>desligamento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>12959</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</java>
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<snapshotFrequency>0</snapshotFrequency>
|
||||
<baseDay>0</baseDay>
|
||||
<baseMonth>0</baseMonth>
|
||||
<periodId>Expediente BackOffice, Logística e Motorista</periodId>
|
||||
<periodId>Default</periodId>
|
||||
<uniqueCardVersion>false</uniqueCardVersion>
|
||||
<keyWord></keyWord>
|
||||
<complementsLevel>1</complementsLevel>
|
||||
@ -29,10 +29,10 @@
|
||||
<processDefinitionVersionPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
</processDefinitionVersionPK>
|
||||
<versionDescription></versionDescription>
|
||||
<formId>12959</formId>
|
||||
<formId>0</formId>
|
||||
<editionMode>true</editionMode>
|
||||
<updateAttachmentsVersion>false</updateAttachmentsVersion>
|
||||
<controlsAttachmentsSecurity>false</controlsAttachmentsSecurity>
|
||||
@ -76,8 +76,8 @@
|
||||
<notifyAuthorityFollowUp>false</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>true</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>150</positionX>
|
||||
<positionY>66</positionY>
|
||||
<positionX>70</positionX>
|
||||
<positionY>86</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
@ -214,8 +214,7 @@
|
||||
<deadlineFieldName></deadlineFieldName>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId>Pool Grupo</engineAllocationId>
|
||||
<engineAllocationConfiguration><AssignmentController><Group>ResponsavelDesligamento</Group></AssignmentController></engineAllocationConfiguration>
|
||||
<engineAllocationId></engineAllocationId>
|
||||
<selectColleague>1</selectColleague>
|
||||
<initialState>false</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
@ -230,8 +229,8 @@
|
||||
<notifyAuthorityFollowUp>true</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>370</positionX>
|
||||
<positionY>200</positionY>
|
||||
<positionX>450</positionX>
|
||||
<positionY>194</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
@ -355,6 +354,58 @@
|
||||
<digitalSignature>false</digitalSignature>
|
||||
<executionType>0</executionType>
|
||||
</ProcessState>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<sequence>51</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Analise de desligamento</stateName>
|
||||
<stateDescription>Analise de desligamento</stateDescription>
|
||||
<instruction></instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<deadlineFieldName></deadlineFieldName>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId>Usuário</engineAllocationId>
|
||||
<engineAllocationConfiguration><AssignmentController><User>000285</User></AssignmentController></engineAllocationConfiguration>
|
||||
<selectColleague>1</selectColleague>
|
||||
<initialState>false</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>3600</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>3600</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>true</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>120</positionX>
|
||||
<positionY>194</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId></periodId>
|
||||
<stateType>0</stateType>
|
||||
<bpmnType>80</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
||||
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
||||
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
<executionType>0</executionType>
|
||||
</ProcessState>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
@ -396,7 +447,32 @@
|
||||
<formFolder>0</formFolder>
|
||||
<automatic>true</automatic>
|
||||
<positionX>670</positionX>
|
||||
<positionY>190</positionY>
|
||||
<positionY>186</positionY>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<stateType>1</stateType>
|
||||
<bpmnType>120</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<openInstances>0</openInstances>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
</ProcessState>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<sequence>53</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Aprova?</stateName>
|
||||
<stateDescription>Aprova?</stateDescription>
|
||||
<joint>false</joint>
|
||||
<initialState>false</initialState>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<automatic>true</automatic>
|
||||
<positionX>310</positionX>
|
||||
<positionY>186</positionY>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<stateType>1</stateType>
|
||||
<bpmnType>120</bpmnType>
|
||||
@ -593,6 +669,53 @@
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
</ProcessState>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<sequence>57</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Fim</stateName>
|
||||
<stateDescription>Fim</stateDescription>
|
||||
<instruction>Atividade final do processo</instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId></engineAllocationId>
|
||||
<engineAllocationConfiguration></engineAllocationConfiguration>
|
||||
<selectColleague>0</selectColleague>
|
||||
<initialState>false</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>0</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>1</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>false</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>320</positionX>
|
||||
<positionY>356</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId></periodId>
|
||||
<stateType>6</stateType>
|
||||
<bpmnType>60</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
</ProcessState>
|
||||
</list>
|
||||
<list>
|
||||
<ConditionProcessState>
|
||||
@ -600,13 +723,13 @@
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>1</expressionOrder>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<sequence>33</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("impeditivosColab") == "Não"</condition>
|
||||
<destinationSequenceId>5</destinationSequenceId>
|
||||
<engineAllocationConfiguration><AssignmentController><FormField>requesterId</FormField></AssignmentController></engineAllocationConfiguration>
|
||||
<engineAllocationId>Campo Formulário</engineAllocationId>
|
||||
<engineAllocationConfiguration><AssignmentController><BaseActivity>4</BaseActivity><Returns>Last</Returns></AssignmentController></engineAllocationConfiguration>
|
||||
<engineAllocationId>Executor Atividade</engineAllocationId>
|
||||
<conditionType>0</conditionType>
|
||||
</ConditionProcessState>
|
||||
<ConditionProcessState>
|
||||
@ -614,7 +737,7 @@
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>2</expressionOrder>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<sequence>33</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("impeditivosColab") == "Sim"</condition>
|
||||
@ -628,7 +751,7 @@
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>1</expressionOrder>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<sequence>43</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("DesligamentoAprov") == "Não"</condition>
|
||||
@ -640,7 +763,7 @@
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>2</expressionOrder>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<sequence>43</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("DesligamentoAprov") == "Sim"</condition>
|
||||
@ -654,10 +777,64 @@
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>3</expressionOrder>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<sequence>43</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("DesligamentoAprov") == "MaisInformacoes"</condition>
|
||||
<destinationSequenceId>51</destinationSequenceId>
|
||||
<engineAllocationConfiguration><AssignmentController><BaseActivity>4</BaseActivity><Returns>Last</Returns></AssignmentController></engineAllocationConfiguration>
|
||||
<engineAllocationId>Executor Atividade</engineAllocationId>
|
||||
<conditionType>0</conditionType>
|
||||
</ConditionProcessState>
|
||||
<ConditionProcessState>
|
||||
<conditionProcessStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>4</expressionOrder>
|
||||
<version>27</version>
|
||||
<sequence>43</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("aprovacaosim") == "sim"</condition>
|
||||
<destinationSequenceId>22</destinationSequenceId>
|
||||
<engineAllocationConfiguration><AssignmentController><Group>DEPARTAMENTO_PESSOAL</Group></AssignmentController></engineAllocationConfiguration>
|
||||
<engineAllocationId>Pool Grupo</engineAllocationId>
|
||||
<conditionType>0</conditionType>
|
||||
</ConditionProcessState>
|
||||
<ConditionProcessState>
|
||||
<conditionProcessStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>1</expressionOrder>
|
||||
<version>27</version>
|
||||
<sequence>53</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("DesligamentoAprova") == "Nao"</condition>
|
||||
<destinationSequenceId>57</destinationSequenceId>
|
||||
<conditionType>0</conditionType>
|
||||
</ConditionProcessState>
|
||||
<ConditionProcessState>
|
||||
<conditionProcessStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>2</expressionOrder>
|
||||
<version>27</version>
|
||||
<sequence>53</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("DesligamentoAprova") == "Sim"</condition>
|
||||
<destinationSequenceId>20</destinationSequenceId>
|
||||
<engineAllocationConfiguration><AssignmentController><User>FrancinePeiter</User></AssignmentController></engineAllocationConfiguration>
|
||||
<engineAllocationId>Usuário</engineAllocationId>
|
||||
<conditionType>0</conditionType>
|
||||
</ConditionProcessState>
|
||||
<ConditionProcessState>
|
||||
<conditionProcessStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>3</expressionOrder>
|
||||
<version>27</version>
|
||||
<sequence>53</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("DesligamentoAprova") == "MaisInformacoes"</condition>
|
||||
<destinationSequenceId>4</destinationSequenceId>
|
||||
<engineAllocationConfiguration><AssignmentController><BaseActivity>4</BaseActivity><Returns>Last</Returns></AssignmentController></engineAllocationConfiguration>
|
||||
<engineAllocationId>Executor Atividade</engineAllocationId>
|
||||
@ -668,13 +845,13 @@
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<expressionOrder>4</expressionOrder>
|
||||
<version>26</version>
|
||||
<sequence>43</sequence>
|
||||
<version>27</version>
|
||||
<sequence>53</sequence>
|
||||
</conditionProcessStatePK>
|
||||
<condition>hAPI.getCardValue("aprovacaosim") == "sim"</condition>
|
||||
<destinationSequenceId>22</destinationSequenceId>
|
||||
<engineAllocationConfiguration><AssignmentController><Group>DEPARTAMENTO_PESSOAL</Group></AssignmentController></engineAllocationConfiguration>
|
||||
<engineAllocationId>Pool Grupo</engineAllocationId>
|
||||
<destinationSequenceId>20</destinationSequenceId>
|
||||
<engineAllocationConfiguration><AssignmentController><User>FrancinePeiter</User></AssignmentController></engineAllocationConfiguration>
|
||||
<engineAllocationId>Usuário</engineAllocationId>
|
||||
<conditionType>0</conditionType>
|
||||
</ConditionProcessState>
|
||||
</list>
|
||||
@ -696,23 +873,6 @@
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>21</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>4</initialStateSequence>
|
||||
<finalStateSequence>20</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name>Enviar para Aprovação</name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
@ -849,23 +1009,6 @@
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>46</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>43</initialStateSequence>
|
||||
<finalStateSequence>4</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name>Mais informações</name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
@ -900,6 +1043,108 @@
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>52</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>4</initialStateSequence>
|
||||
<finalStateSequence>51</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name></name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>54</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>51</initialStateSequence>
|
||||
<finalStateSequence>53</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name></name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>55</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>53</initialStateSequence>
|
||||
<finalStateSequence>20</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name></name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>56</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>43</initialStateSequence>
|
||||
<finalStateSequence>51</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name></name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>58</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>53</initialStateSequence>
|
||||
<finalStateSequence>57</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name></name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>59</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>53</initialStateSequence>
|
||||
<finalStateSequence>4</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name></name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
</list>
|
||||
<list/>
|
||||
<list>
|
||||
@ -1045,8 +1290,8 @@ process.instructions=
|
||||
<list>
|
||||
<ProcessComponGraf>
|
||||
<componType>1</componType>
|
||||
<positionX>210</positionX>
|
||||
<positionY>20</positionY>
|
||||
<positionX>130</positionX>
|
||||
<positionY>10</positionY>
|
||||
<processComponGrafPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
@ -1073,29 +1318,18 @@ process.instructions=
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<linkSequence>8</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
<positionX>167</positionX>
|
||||
<positionY>48</positionY>
|
||||
<positionX>87</positionX>
|
||||
<positionY>37</positionY>
|
||||
</ProcessLinkBend>
|
||||
<ProcessLinkBend>
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>26</version>
|
||||
<linkSequence>21</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
<positionX>167</positionX>
|
||||
<positionY>247</positionY>
|
||||
</ProcessLinkBend>
|
||||
<ProcessLinkBend>
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<linkSequence>35</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
@ -1106,7 +1340,7 @@ process.instructions=
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<linkSequence>36</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
@ -1117,7 +1351,7 @@ process.instructions=
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<linkSequence>36</linkSequence>
|
||||
<bendSequence>2</bendSequence>
|
||||
</processLinkBendPK>
|
||||
@ -1128,7 +1362,7 @@ process.instructions=
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<linkSequence>37</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
@ -1139,7 +1373,7 @@ process.instructions=
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>26</version>
|
||||
<version>27</version>
|
||||
<linkSequence>40</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
@ -1150,63 +1384,50 @@ process.instructions=
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>26</version>
|
||||
<linkSequence>46</linkSequence>
|
||||
<version>27</version>
|
||||
<linkSequence>52</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
<positionX>87</positionX>
|
||||
<positionY>239</positionY>
|
||||
</ProcessLinkBend>
|
||||
<ProcessLinkBend>
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>27</version>
|
||||
<linkSequence>56</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
<positionX>699</positionX>
|
||||
<positionY>83</positionY>
|
||||
<positionY>96</positionY>
|
||||
</ProcessLinkBend>
|
||||
<ProcessLinkBend>
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>27</version>
|
||||
<linkSequence>56</linkSequence>
|
||||
<bendSequence>2</bendSequence>
|
||||
</processLinkBendPK>
|
||||
<positionX>173</positionX>
|
||||
<positionY>96</positionY>
|
||||
</ProcessLinkBend>
|
||||
<ProcessLinkBend>
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<version>27</version>
|
||||
<linkSequence>59</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
<positionX>340</positionX>
|
||||
<positionY>103</positionY>
|
||||
</ProcessLinkBend>
|
||||
</list>
|
||||
<list/>
|
||||
<list/>
|
||||
<list>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<fieldId>cargoColaborador</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>cargoColaborador</fieldDescription>
|
||||
<slotId>1</slotId>
|
||||
</ProcessFormField>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<fieldId>colabDesliga</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>colabDesliga</fieldDescription>
|
||||
<slotId>2</slotId>
|
||||
</ProcessFormField>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<fieldId>departamento</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>departamento</fieldDescription>
|
||||
<slotId>3</slotId>
|
||||
</ProcessFormField>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<fieldId>motivoDesligamento</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>motivoDesligamento</fieldDescription>
|
||||
<slotId>4</slotId>
|
||||
</ProcessFormField>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<fieldId>tipodesligamento</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>tipodesligamento</fieldDescription>
|
||||
<slotId>5</slotId>
|
||||
</ProcessFormField>
|
||||
</list>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list>
|
||||
@ -1214,7 +1435,7 @@ process.instructions=
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<processVersion>26</processVersion>
|
||||
<processVersion>27</processVersion>
|
||||
<stateSequence>20</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>title</appField>
|
||||
@ -1224,7 +1445,7 @@ process.instructions=
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<processVersion>26</processVersion>
|
||||
<processVersion>27</processVersion>
|
||||
<stateSequence>20</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>description</appField>
|
||||
@ -1234,7 +1455,7 @@ process.instructions=
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<processVersion>26</processVersion>
|
||||
<processVersion>27</processVersion>
|
||||
<stateSequence>20</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>highlight</appField>
|
||||
@ -1244,7 +1465,7 @@ process.instructions=
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<processVersion>26</processVersion>
|
||||
<processVersion>27</processVersion>
|
||||
<stateSequence>20</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>approve</appField>
|
||||
@ -1254,7 +1475,7 @@ process.instructions=
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>desligamentoColaborador</processId>
|
||||
<processVersion>26</processVersion>
|
||||
<processVersion>27</processVersion>
|
||||
<stateSequence>20</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>reject</appField>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 47 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 19 KiB |
650
Desligamento/workflow/.resources/producao.ws.cache
Normal file
650
Desligamento/workflow/.resources/producao.ws.cache
Normal file
@ -0,0 +1,650 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_202" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<void method="put">
|
||||
<string>volume</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismoGrupo</string>
|
||||
<object class="java.util.ArrayList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Tecnologia e Comunicação</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TIC</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Compras Indiretos</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ComprasIndiretos</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Obras e manutenção</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Manutencao</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Aprovadores Compras Nvl 3</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AprovadoresComprasNvl3</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Motoristas</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Motoristas</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Requisitantes de Vaga</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Requisitantesdevaga</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Recrutamento</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Recrutamento</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>TODOS-TODOS-DIADMISSAO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TODOS-TODOS-DIADMISSAO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ResponsavelDesligamento</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ResponsavelDesligamento</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>GENTE & CULTURA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>GENTE_CULTURA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>LOJA AL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>LOJA_AL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>CD</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>CD</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESPAÇO DO REVENDEDOR AL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESPACO_DO_REVENDEDOR_AL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>FINANCEIRO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>FINANCEIRO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>OPERAÇÕES</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>OPERACOES</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>AMG AL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AMG_AL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>REGIONAL ALAGOAS</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>REGIONAL_ALAGOAS</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>PREVENÇÃO DE PERDA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>PREVENCAO_DE_PERDA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>MARKETING, TREINAMENTO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>MARKETING_TREINAMENTO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>SECRETARIA EXECUTIVA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>SECRETARIA_EXECUTIVA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>DIRETORIA EXECUTIVA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>DIRETORIA_EXECUTIVA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>INFRAESTRUTURA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>INFRAESTRUTURA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESPAÇO DO REVENDEDOR BA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESPACO_DO_REVENDEDOR_BA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>BUSINESS INTELLIGENCE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>BUSINESS_INTELLIGENCE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>DEPARTAMENTO PESSOAL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>DEPARTAMENTO_PESSOAL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>LOJA BA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>LOJA_BA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>TREINAMENTO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TREINAMENTO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>AMG BA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AMG_BA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>MARKETING</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>MARKETING</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>COMPRAS</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>COMPRAS</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>AMG SE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AMG_SE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>LOJA SE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>LOJA_SE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESPAÇO DO REVENDEDOR SE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESPACO_DO_REVENDEDOR_SE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>VENDAS IN COMPANY</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>VENDAS_IN_COMPANY</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>REGIONAL BAHIA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>REGIONAL_BAHIA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>CANAL LOJA 01</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>CANAL_LOJA_01</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>AUDITORIA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AUDITORIA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>CANAL LOJA 02</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>CANAL_LOJA_02</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>PLANEJAMENTO DE DEMANDAS</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>PLANEJAMENTO_DE_DEMANDAS</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>PROJETOS</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>PROJETOS</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>COMPLIANCE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>COMPLIANCE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESCRITÓRIO - MATRIZ</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESCRITORIO_MATRIZ</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESCRITÓRIO - CONQUISTA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESCRITORIO_CONQUISTA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>REGIONAL SERGIPE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>REGIONAL_SERGIPE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Transferencia</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Transferencia</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Fiscal</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Fiscal</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>motoristaAL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>motoristaAL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>motoristaBA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>motoristaBA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>motoristaSE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>motoristaSE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>expediente</string>
|
||||
<array class="java.lang.String" length="4">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Expediente BackOffice, Logística e Motorista</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>Expediente Escritório Matriz</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>Expediente Lojas</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismo</string>
|
||||
<array class="[Ljava.lang.Object;" length="12">
|
||||
<void index="0">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Associação</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Associado</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="1">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Campo de Formulário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Campo Formulário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="2">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>dpf_di_emp_filial_filtro</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>dpf_di_emp_filial_filtro</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="3">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>dpf_di_inicio_diadmissao</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>dpf_di_inicio_diadmissao</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="4">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Executor de Atividade</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Executor Atividade</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="5">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="6">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupos do Colaborador</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupos Colaborador</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="7">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>mecCustomAprov</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>mecCustomAprov</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="8">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="9">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="10">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="11">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Usuário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Usuário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</object>
|
||||
</java>
|
||||
650
Desligamento/workflow/.resources/producao.ws.cache.bkp
Normal file
650
Desligamento/workflow/.resources/producao.ws.cache.bkp
Normal file
@ -0,0 +1,650 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_202" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<void method="put">
|
||||
<string>volume</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismoGrupo</string>
|
||||
<object class="java.util.ArrayList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Tecnologia e Comunicação</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TIC</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Compras Indiretos</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ComprasIndiretos</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Obras e manutenção</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Manutencao</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Aprovadores Compras Nvl 3</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AprovadoresComprasNvl3</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Motoristas</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Motoristas</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Requisitantes de Vaga</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Requisitantesdevaga</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Recrutamento</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Recrutamento</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>TODOS-TODOS-DIADMISSAO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TODOS-TODOS-DIADMISSAO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ResponsavelDesligamento</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ResponsavelDesligamento</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>GENTE & CULTURA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>GENTE_CULTURA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>LOJA AL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>LOJA_AL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>CD</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>CD</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESPAÇO DO REVENDEDOR AL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESPACO_DO_REVENDEDOR_AL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>FINANCEIRO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>FINANCEIRO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>OPERAÇÕES</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>OPERACOES</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>AMG AL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AMG_AL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>REGIONAL ALAGOAS</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>REGIONAL_ALAGOAS</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>PREVENÇÃO DE PERDA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>PREVENCAO_DE_PERDA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>MARKETING, TREINAMENTO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>MARKETING_TREINAMENTO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>SECRETARIA EXECUTIVA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>SECRETARIA_EXECUTIVA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>DIRETORIA EXECUTIVA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>DIRETORIA_EXECUTIVA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>INFRAESTRUTURA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>INFRAESTRUTURA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESPAÇO DO REVENDEDOR BA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESPACO_DO_REVENDEDOR_BA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>BUSINESS INTELLIGENCE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>BUSINESS_INTELLIGENCE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>DEPARTAMENTO PESSOAL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>DEPARTAMENTO_PESSOAL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>LOJA BA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>LOJA_BA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>TREINAMENTO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TREINAMENTO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>AMG BA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AMG_BA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>MARKETING</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>MARKETING</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>COMPRAS</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>COMPRAS</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>AMG SE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AMG_SE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>LOJA SE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>LOJA_SE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESPAÇO DO REVENDEDOR SE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESPACO_DO_REVENDEDOR_SE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>VENDAS IN COMPANY</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>VENDAS_IN_COMPANY</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>REGIONAL BAHIA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>REGIONAL_BAHIA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>CANAL LOJA 01</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>CANAL_LOJA_01</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>AUDITORIA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AUDITORIA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>CANAL LOJA 02</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>CANAL_LOJA_02</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>PLANEJAMENTO DE DEMANDAS</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>PLANEJAMENTO_DE_DEMANDAS</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>PROJETOS</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>PROJETOS</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>COMPLIANCE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>COMPLIANCE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESCRITÓRIO - MATRIZ</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESCRITORIO_MATRIZ</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>ESCRITÓRIO - CONQUISTA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ESCRITORIO_CONQUISTA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>REGIONAL SERGIPE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>REGIONAL_SERGIPE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Transferencia</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Transferencia</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Fiscal</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Fiscal</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>motoristaAL</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>motoristaAL</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>motoristaBA</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>motoristaBA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>motoristaSE</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>motoristaSE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>expediente</string>
|
||||
<array class="java.lang.String" length="4">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Expediente BackOffice, Logística e Motorista</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>Expediente Escritório Matriz</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>Expediente Lojas</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismo</string>
|
||||
<array class="[Ljava.lang.Object;" length="12">
|
||||
<void index="0">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Associação</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Associado</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="1">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Campo de Formulário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Campo Formulário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="2">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>dpf_di_emp_filial_filtro</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>dpf_di_emp_filial_filtro</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="3">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>dpf_di_inicio_diadmissao</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>dpf_di_inicio_diadmissao</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="4">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Executor de Atividade</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Executor Atividade</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="5">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="6">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupos do Colaborador</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupos Colaborador</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="7">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>mecCustomAprov</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>mecCustomAprov</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="8">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="9">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="10">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="11">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Usuário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Usuário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</object>
|
||||
</java>
|
||||
File diff suppressed because it is too large
Load Diff
18
Ginseng_chamados/.vscode/servers.json
vendored
Normal file
18
Ginseng_chamados/.vscode/servers.json
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"configurations": [
|
||||
{
|
||||
"id": "s220blnhijmp1hrc14fyurof1h5bo",
|
||||
"name": "Ginseng Produção",
|
||||
"host": "comerciode188006.fluig.cloudtotvs.com.br",
|
||||
"ssl": true,
|
||||
"port": 443,
|
||||
"username": "andrey.cunha",
|
||||
"password": "eyJpdiI6IjYwM2Y4MjdmODAyMWNiMTE3ZmFiNmNlZTc4Yzk3NTkyIiwic2FsdCI6ImQ0Nzg1N2I1OGYxNWUxZTQxYTg3MGMzYzRlMTdiM2JiIiwidGV4dCI6IjdiOTZkMTVlYmIzYjBmOTk0YjE2YmQ3YWFiZmY1MjFlIn0=",
|
||||
"userCode": "andrey.cunha",
|
||||
"confirmExporting": false,
|
||||
"hasBrowser": false,
|
||||
"companyId": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
17
Ginseng_chamados/datasets/.project
Normal file
17
Ginseng_chamados/datasets/.project
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>datasets</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
7
Ginseng_chamados/datasets/.settings/.jsdtscope
Normal file
7
Ginseng_chamados/datasets/.settings/.jsdtscope
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
|
||||
<classpathentry kind="src" path=""/>
|
||||
<classpathentry kind="output" path=""/>
|
||||
</classpath>
|
||||
@ -0,0 +1 @@
|
||||
org.eclipse.wst.jsdt.launching.JRE_CONTAINER
|
||||
@ -0,0 +1 @@
|
||||
Global
|
||||
@ -1,118 +1,212 @@
|
||||
function defineStructure() {
|
||||
|
||||
}
|
||||
function onSync(lastSyncDate) {
|
||||
|
||||
}
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
|
||||
var ds = DatasetBuilder.newDataset();
|
||||
|
||||
ds.addColumn("codigo");
|
||||
ds.addColumn("filial");
|
||||
ds.addColumn("estabelecimento");
|
||||
ds.addColumn("cep");
|
||||
ds.addColumn("logradouro");
|
||||
ds.addColumn("numero");
|
||||
ds.addColumn("bairro");
|
||||
ds.addColumn("cidade");
|
||||
ds.addColumn("estado");
|
||||
ds.addColumn("cnpj");
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
|
||||
dataset.addColumn("PDV");
|
||||
dataset.addColumn("LOJA");
|
||||
dataset.addColumn("RESPONSAVEL_LOJA");
|
||||
dataset.addColumn("REGIONAL");
|
||||
dataset.addColumn("UF");
|
||||
dataset.addColumn("CIDADE");
|
||||
dataset.addColumn("STATUS");
|
||||
dataset.addColumn("CANAL");
|
||||
dataset.addColumn("ID");
|
||||
dataset.addColumn("PROTHEUS");
|
||||
dataset.addColumn("LOGIN_LOJA");
|
||||
dataset.addColumn("COLLEAGUE_ID");
|
||||
dataset.addColumn("USER_CREATE");
|
||||
|
||||
|
||||
ds.addRow(new Array("010101","4494", "ESCRITÓRIO MATRIZ","57035-030","RUA DESPORTISTA HUMBERTO GUIMARAES","343","PONTA VERDE","MACEIÓ","AL","08.489.643/0001-52"));
|
||||
ds.addRow(new Array("010102","3546", "LJ BIG BOMPREÇO GRUTA","57052-000","AVENIDA FERNANDES LIMA","3700","GRUTA DE LOURDES","MACEIÓ","AL","08.489.643/0003-14"));
|
||||
ds.addRow(new Array("010103","4560", "LJ MACEIÓ SHOPPING TERREO","57031-532","AVENIDA GUSTAVO PAIVA","2900","MANGABEIRAS","MACEIÓ","AL","08.489.643/0004-03"));
|
||||
ds.addRow(new Array("010104","5699", "LJ MOREIRA LIMA","57020-000","RUA MOREIRA LIMA","93","CENTRO","MACEIÓ","AL","08.489.643/0005-86"));
|
||||
ds.addRow(new Array("010106","12522", "LJ MACEIÓ SHOPPING EXPANSÃO","57031-530","AVENIDA GUSTAVO PAIVA","2990","MANGABEIRAS","MACEIÓ","AL","08.489.643/0016-39"));
|
||||
ds.addRow(new Array("010107","12828", "LJ GBARBOSA S.MARIS","57036-550","AV ENG. PAULO BRANDÃO NOGUEIRA","S/N","JATIÚCA","MACEIÓ","AL","08.489.643/0017-10"));
|
||||
ds.addRow(new Array("010108","12838", "LJ RIO LARGO","57100-000","AV PRES GETULIO VARGAS","148","CENTRO","RIO LARGO","AL","08.489.643/0018-09"));
|
||||
ds.addRow(new Array("010109","21647", "QUIOSQUE CARAJÁS MANGABEIRAS","57037-901","AV COMENDADOR GUSTAVO PAIVA","S/N","MANGABEIRAS","MACEIÓ","AL","08.489.643/0019-81"));
|
||||
ds.addRow(new Array("010110","12817", "LJ SHOPPING PÁTIO","57073-470","AV MENINO MARCELO","3800","CIDADE UNIVERSITÁRIA","MACEIÓ","AL","08.489.643/0020-15"));
|
||||
ds.addRow(new Array("010111","12824", "QUIOSQUE GBARBOSA TABULEIRO","57061-110","AVENIDA MACEIÓ","S/N","TABULEIRO","MACEIÓ","AL","08.489.643/0021-04"));
|
||||
ds.addRow(new Array("010112","12823", "LJ PONTA VERDE","57035-330","RUA DEPUTADO JOSÉ LAGES","431","PONTA VERDE","MACEIÓ","AL","08.489.643/0022-87"));
|
||||
ds.addRow(new Array("010113","20858", "QUIOSQUE SUPER GIRO","57010-003","AVENIDA SIQUEIRA CAMPOS","1368","PRADO","MACEIÓ","AL","08.489.643/0023-68"));
|
||||
ds.addRow(new Array("010114","12820", "LJ ATACADÃO TABULEIRO","57082-160","AV DOUTOR DURVAL DE GOIS MONTEIRO","12650","TABULEIRO","MACEIÓ","AL","08.489.643/0024-49"));
|
||||
ds.addRow(new Array("010115","12830", "LJ LIVRAMENTO","57020-030","RUA DO LIVRAMENTO","24","CENTRO","MACEIÓ","AL","08.489.643/0025-20"));
|
||||
ds.addRow(new Array("010117","19103", "LJ UNICOMPRA PONTA VERDE","57035-060","RUA DURVAL GUIMARÃES","S/N","PONTA VERDE","MACEIÓ","AL","08.489.643/0027-91"));
|
||||
ds.addRow(new Array("010118","12826", "LJ ASSAÍ MANGABEIRAS","57037-532","AV COMENDADOR GUSTAVO PAIVA","3261","MANGABEIRAS","MACEIÓ","AL","08.489.643/0028-72"));
|
||||
ds.addRow(new Array("010119","12829", "LJ JACINTINHO","57041-000","RUA CLETO CAMPELO","2394","JACINTINHO","MACEIÓ","AL","08.489.643/0029-53"));
|
||||
ds.addRow(new Array("010120","12818", "LJ GBARBOSA SERRARIA","57046-000","AVENIDA MENINO MARCELO","9730","SERRARIA","MACEIÓ","AL","08.489.643/0030-97"));
|
||||
ds.addRow(new Array("010121","13427", "LJ SHOPPING CIDADE","57055-000","AVENIDA FERNANDES LIMA","679","FAROL","MACEIÓ","AL","08.489.643/0031-78"));
|
||||
ds.addRow(new Array("010124","14617", "LJ PARQUE SHOPPING","57038-000","AVENIDA GUSTAVO PAIVA","5945","CRUZ DAS ALMAS",",MACEIÓ","AL","08.489.643/0034-10"));
|
||||
ds.addRow(new Array("010126","14668", "LJ MIX MATHEUS ANTARES","57038-410","AVENIDA MENINO MARCELO","5300","ANTARES","MACEIÓ","AL","08.489.643/0036-82"));
|
||||
ds.addRow(new Array("010128","20006", "LJ SÃO SEBASTIÃO","43850-000","PRAÇA DOZE DE OUTUBRO","65","CENTRO","SÃO SEBASTIÃO DO PASSÉ","BA","08.489.643/0038-44"));
|
||||
ds.addRow(new Array("010130","20009", "LJ CANDEIAS BAIXO","43815-050","AVENIDA ANTONIO PATTERSON","196","TRIÂNGULO","CANDEIAS","BA","08.489.643/0040-69"));
|
||||
ds.addRow(new Array("010131","20005", "LJ CANDEIAS CIMA","43805-000","RUA 13 DE MAIO","147","CENTRO","CANDEIAS","BA","08.489.643/0041-40"));
|
||||
ds.addRow(new Array("010132","20056", "LJ SIMÕES FILHO","43700-000","AV LUÍS EDUARDO MAGALHÃES","109","CENTRO","SIMÕES FILHO","BA","08.489.643/0042-20"));
|
||||
ds.addRow(new Array("010133","20057", "LJ CONCEIÇÃO COITÉ","48730-000","RUA DR AMÂNCIO MOTA","30","CENTRO","CONCEIÃO DO COITÉ","BA","08.489.643/0043-01"));
|
||||
ds.addRow(new Array("010134","20441", "LJ LAGARTO","49400-000","AVENIDA LEANDRO MACIEL","36","CENTRO","LAGARTO","SE","08.489.643/0044-92"));
|
||||
ds.addRow(new Array("010135","20968", "HIB ITABAIANINHA","49290-000","PRAÇA OLÍMPIO CAMPOS","154","CENTRO","ITABAIANINHA","SE","08.489.643/0059-79"));
|
||||
ds.addRow(new Array("010136","20969", "HIB MARECHAL DEODORO","57160-000","RUA DR TAVARES BASTOS","03","CENTRO","MARECHAL DEODORO","AL","08.489.643/0054-64"));
|
||||
ds.addRow(new Array("010137","20970", "VD SÃO SEBASTIÃO","43850-000","PRAÇA DOZE DE OUTUBRO","116","CENTRO","SÃO SEBASTIÃO DO PASSÉ","BA","08.489.643/0050-30"));
|
||||
ds.addRow(new Array("010138","20986", "HIB OLINDINA","48470-000","AVENIDA ANTONIO MANGABEIRA","84","CENTRO","OLINDINA","BA","08.489.643/0055-45"));
|
||||
ds.addRow(new Array("010139","20988", "HIB QUEIMADAS","48860-000","PRAÇA CORONEL FRANCISCO LANTYER","21","CENTRO","QUEIMADAS","BA","08.489.643/0051-11"));
|
||||
ds.addRow(new Array("010140","20989", "HIB ENTRE RIOS","48180-000","AVENIDA JURACY MAGALHÃES","320","CENTRO","ENTRE RIOS","BA","08.489.643/0056-26"));
|
||||
ds.addRow(new Array("010141","20991", "HIB CAMPO ALEGRE","57250-000","RUA DO COMÉRCIO","49","CENTRO","CAMPO ALEGRE","AL","08.489.643/0061-93"));
|
||||
ds.addRow(new Array("010142","20992", "ER CONCEIÇÃO COITÉ","48730-000","RUA DR AMANCIO MOTA","35","CENTRO","CONCEIÇÃO DO COITÉ","BA","08.489.643/0045-73"));
|
||||
ds.addRow(new Array("010143","20993", "ER CANDEIAS","43815-010","AV ANTONIO PATTERSON","213","TRIANGULO","CANDEIAS","BA","08.489.643/0046-54"));
|
||||
ds.addRow(new Array("010144","20994", "ER SIMÕES FILHO","43700-000","AV LUÍS EDUARDO MAGALHÃES","109","CENTRO","SIMÕES FILHO","BA","08.489.643/0047-35"));
|
||||
ds.addRow(new Array("010145","20995", "ER LAGARTO","49400-000","AVENIDA LEANDRO MACIEL","36","CENTRO","LAGARTO","SE","08.489.643/0060-02"));
|
||||
ds.addRow(new Array("010146","20996", "ER ANTARES","57083-048","AV ANTONIO LISBOA DE AMORIM","220","ANTARES","MACEIÓ","AL","08.489.643/0057-07"));
|
||||
ds.addRow(new Array("010147","20997", "ER PITANGUINHA","57052-050","AVENIDA FERNANDES LIMA","840","PITANGUINHA","MACEIÓ","AL","08.489.643/0058-98"));
|
||||
ds.addRow(new Array("010148","20998", "CD TABULEIRO","57073-482","ESTRADA DA CODEAL","770","TABULEIRO","MACEIÓ","AL","08.489.643/0062-74"));
|
||||
ds.addRow(new Array("010149","20999", "HIB ESPLANADA","48370-000","PRAÇA LADISLAU CAVALCANTE","31","CENTRO","ESPLANADA","BA","08.489.643/0053-83"));
|
||||
ds.addRow(new Array("010150","21000", "HIB SANTALUZ","48880-000","RUA RIO BRANCO","96","CENTRO","SANTALUZ","BA","08.489.643/0052-00"));
|
||||
ds.addRow(new Array("010151","21001", "HIB RIO REAL","48330-000","PC SEN ANTONIO CARLOS MAGALHÃES","146","CENTRO","RIO REAL","BA","08.489.643/0049-05"));
|
||||
ds.addRow(new Array("010152","21007", "TÔ QUE TÔ MACEIÓ CENTRO","57020-220","AVENIDA MOREIRA LIMA","293","CENTRO","MACEIÓ","AL","08.489.643/0048-16"));
|
||||
ds.addRow(new Array("010153","21068", "LJ ATAKAREJO SIMÕES FILHO","43700-000","AV ENG ELMO SEREJO DE FARIAS","2073","CONJ HAB VIDA NOVA","SIMÕES FILHO","BA","08.489.643/0063-55"));
|
||||
ds.addRow(new Array("010154","21277", "LJ GBARBOSA SOCORRO","49160-000","AVENIDA 1","13","CONJ JOAO ALVES FILHO","NOSSA SENHORA DO SOCORRO","SE","08.489.643/0065-17"));
|
||||
ds.addRow(new Array("010155","21278", "ER SOCORRO","49140-000","AVENIDA COLETORA A","597","CONJ MARCOS FREIRE I","NOSSA SENHORA DO SOCORRO","SE","08.489.643/0066-06"));
|
||||
ds.addRow(new Array("010156","21495", "HIB BARRA DOS COQUEIROS","49140-000","AVENIDA OCEANICA","506","ANTONIO PEDRO","BARRA DOS COQUEIROS","SE","08.489.643/0067-89"));
|
||||
ds.addRow(new Array("010157","21296", "LJ SHOPPING PRÊMIO SOCORRO","49160-000","AVENIDA COLETORA A","S/N","CONJ MARCOS FREIRE I","NOSSA SENHORA DO SOCRRO","SE","08.489.643/0064-36"));
|
||||
ds.addRow(new Array("010159","21381", "LJ CAPIM GROSSO","44695-000","AV ACM","121","CENTRO","CAPIM-GROSSO","BA","08.489.643/0069-40"));
|
||||
ds.addRow(new Array("010160","21383", "ER CAPIM GROSSO","44695-000","AV ACM","121","CENTRO","CAPIM-GROSSO","BA","08.489.643/0070-84"));
|
||||
ds.addRow(new Array("010161","21375", "HIB IPIRÁ","44600-000","AVENIDA CESÁR CABRAL","15","CENTRO","IPIRÁ","BA","08.489.643/0071-65"));
|
||||
ds.addRow(new Array("010162","21624", "MIX MATEUS TRAPICHE","57010-000","AVENIDA SIQUEIRA CAMPOS","1295","PRADO","MACEIÓ","AL","08.489.643/0072-46"));
|
||||
ds.addRow(new Array("010163","22448", "ER CAMPO ALEGRE","57250-000","RUA DO COMÉRCIO","49","CENTRO","CAMPO ALEGRE","AL","08.489.643/0073-27"));
|
||||
ds.addRow(new Array("010164","23475", "MIX MATEUS TABULEIRO","57082-160","AV DOUTOR DURVAL DE GOIS MONTEIRO","9207","TABULEIRO","MACEIÓ","AL","08.489.643/0074-08"));
|
||||
ds.addRow(new Array("010165","22541", "ER RIO LARGO","57100-000","RUA JUDITH PAIVA","445","CENTRO","RIO LARGO","AL","08.489.643/0075-99"));
|
||||
ds.addRow(new Array("010166","AMG", "AMG SERRARIA","57046-000","AVENIDA MENINO MARCELO","S/N","SERRARIA","MACEIÓ","AL","08.489.643/0076-70"));
|
||||
ds.addRow(new Array("010167","23156", "SHOPPING CENTRO SUL","49400-000","AV CONTORNO BR","3795","SÃO JOSE","LAGARTO","SE","08.489.643/0077-50"));
|
||||
ds.addRow(new Array("030101","910173", "QDB PARQUE SHOPPING","57038-000","AVENIDA COMENDADOR GUSTAVO PAIVA","5945","CRUZ DAS ALMAS","MACEIÓ","AL","20.318.877/0001-32"));
|
||||
ds.addRow(new Array("030102","910291", "QDB MACEIO SHOPPING","57037-532","AVENIDA COMENDADOR GUSTAVO PAIVA","2900","MANGABEIRAS","MACEIÓ","AL","20.318.877/0002-13"));
|
||||
ds.addRow(new Array("070101","23713", "MATRIZ - ZEFERINO CORREIA","45000-520","RUA ZEFERINO CORREIA","17","CENTRO","VITORIA DA CONQUISTA","BA","14.378.160/0001-83"));
|
||||
ds.addRow(new Array("070102","23711", "HIB LIMA GUERRA","45000-390","AL. LIMA GUERRA","04","CENTRO","VITORIA DA CONQUISTA","BA","14.378.160/0005-07"));
|
||||
ds.addRow(new Array("070103","23712", "HIB CANDIDO SALES","24157-000","AL. RIO BRANCO","373","CENTRO","CÂNDIDO SALES","BA","14.378.160/0006-98"));
|
||||
ds.addRow(new Array("070104","23705", "LOJA SHOPPING CONQUISTA SUL","45055-900","AVENIDA JURACY MAGALHAES","3340","FELICIA","VITORIA DA CONQUISTA","BA","14.378.160/0013-17"));
|
||||
ds.addRow(new Array("070105","23703", " VD BARRA CHOCA","45120-000","AV GETULIO VARGAS","98","CENTRO","CHOCA","BA","14.378.160/0016-60"));
|
||||
ds.addRow(new Array("070106","23707", "LOJA BRASIL","45051-070","AV ITABUNA","2724","BRASIL","VITORIA DA CONQUISTA","BA","14.378.160/0011-55"));
|
||||
ds.addRow(new Array("070107","23706", "LOJA ASSAI FELICIA","45055-686","AV ANEL DE CONTORNO","S/N","FELICIA","VITORIA DA CONQUISTA","BA","14.378.160/0012-36"));
|
||||
ds.addRow(new Array("070108","23709", "LOJA SHOPPING CONQUISTA","45055-900","AV JURACY MAGALHAES","3340","FELICIA","VITORIA DA CONQUISTA","BA","14.378.160/0009-30"));
|
||||
ds.addRow(new Array("070109","23704", "VD CONDEUBA","46200-000","PC NOSSA SENHORA APARECIDA","08","CENTRO","CONDEÚBA","BA","14.378.160/0015-89"));
|
||||
ds.addRow(new Array("070110","23703", "LOJA BARRA CHOCA","45120-000","AV GETULIO VARGAS","98","CENTRO","CHOCA","BA","14.378.160/0016-60"));
|
||||
ds.addRow(new Array("070111","23702", "LOJA PANVICON CENTER","45000-230","AVENIDA LAURO DE FREITAS","142","CENTRO","VITORIA DA CONQUISTA","BA","14.378.160/0017-40"));
|
||||
ds.addRow(new Array("070112","23701", "LOJA NOVE DE NOVEMBRO","45000-370","PC NOVE DE NOVEMBRO","10","CENTRO","VITORIA DA CONQUISTA","BA","14.378.160/0018-21"));
|
||||
ds.addRow(new Array("070113","23665", "LOJA BOULEVARD SHOPPING","45031-000","AV OLIVIA FLORES","2500","UNIVERSIDADE","VITORIA DA CONQUISTA","BA","14.378.160/0021-27"));
|
||||
ds.addRow(new Array("010172","24253", "LOJA IRECÊ CENTRO","44860-051","RUA AUGUSTO NUNES PEREIRA","162","CENTRO","IRECÊ","BA","08.489.643/0095-32"));
|
||||
ds.addRow(new Array("010171","24254", "LOJA JOÃO DOURADO","44920-000","AVENIDA JOAQUIM AUGUSTO","212D","CENTRO","JOÃO DOURADO","BA","08.489.643/0089-94"));
|
||||
ds.addRow(new Array("010173","24254", "ER IRECE","44860-169","AVENIDA EDVALDO SANTOS LOPES","438","CENTRO","IRECE","BA","08.489.643/0094-51"));
|
||||
ds.addRow(new Array("010169","24257", "HIB MIGUEL CALMON","44720-000","PRAÇA LAURO DE FREITAS","180","CENTRO","MIGUEL CALMON","BA","08.489.643/0088-03"));
|
||||
ds.addRow(new Array("010170","24258", "LOJA ATACADAO IRECE","44868-520","AVENIDA ATACADAO NOVO IRECE","01","NOVO IRECÊ","IRECÊ","BA","08.489.643/0093-70"));
|
||||
ds.addRow(new Array("010175","24268", "LOJA JACOBINA","44702-342","RUA CORONEL TEIXEIRA","44","CENTRO","JACOBINA","BA","08.489.643/0097-02"));
|
||||
ds.addRow(new Array("010176","24269", "ER JACOBINA","44702-358","AVENIDA MANOEL NOVAES","178","CENTRO","JACOBINA","BA","08.489.643/0096-13"));
|
||||
ds.addRow(new Array("010174","24293", "HIB MORRO DO CHAPEU","44850-970","RUA PROJETADA 01","203","CENTRO","MORRO DO CHAPEU","BA","08.489.643/0099-66"));
|
||||
ds.addRow(new Array("010168","23813", "HIB VALENTE","48890-000","RUA CASTRO ALVES","174","CENTRO","VALENTE","BA","08.489.643/0078-31"));
|
||||
ds.addRow(new Array("010177","23711", "ER CONQUISTA","45000-390","ALAMEDA LIMA GUERRA","174","CENTRO","VITORIA DA CONQUISTA","BA","08.489.643/0100-34"));
|
||||
try {
|
||||
var clientService = fluigAPI.getAuthorizeClientService();
|
||||
var data = {
|
||||
companyId: String(getValue("WKCompany") || "1"),
|
||||
serviceCode: "GINSENG API", // ajuste para o codigo do servico cadastrado no Fluig
|
||||
endpoint: "/base_pdvs",
|
||||
method: "get",
|
||||
timeoutService: "60000",
|
||||
params: {}
|
||||
};
|
||||
|
||||
var vo = clientService.invoke(JSON.stringify(data));
|
||||
var statusHttp = vo ? String(vo.getHttpStatusResult() || "") : "";
|
||||
var retorno = vo ? String(vo.getResult() || "") : "";
|
||||
|
||||
if (!retorno) {
|
||||
dataset.addRow(["", "Sem resposta da API (HTTP " + statusHttp + ")", "", "", "", "", "", "", "", "", "", "", ""]);
|
||||
return dataset;
|
||||
}
|
||||
|
||||
var objData = JSON.parse(retorno);
|
||||
var success = !!objData.success;
|
||||
var itens = objData.data || [];
|
||||
|
||||
|
||||
return ds;
|
||||
if (!success || !itens.length) {
|
||||
var msg = trim(objData.message) || trim(objData.error) || "Sem lojas retornadas";
|
||||
dataset.addRow(["", msg + " (HTTP " + statusHttp + ")", "", "", "", "", "", "", "", "", "", "", ""]);
|
||||
return dataset;
|
||||
}
|
||||
|
||||
var filtros = parseConstraints(constraints);
|
||||
var colleagueCache = {};
|
||||
|
||||
for (var i = 0; i < itens.length; i++) {
|
||||
var item = itens[i] || {};
|
||||
|
||||
var pdv = trim(item["PDV"]);
|
||||
var loja = trim(item["PDV DESC"]);
|
||||
var responsavel = trim(item["GESTAO"]) || trim(item["GESTAO"]);
|
||||
var regional = trim(item["SUPERVISOR"]) || trim(item["SUPERVISOR"]);
|
||||
var uf = trim(item["UF"]);
|
||||
var cidade = trim(item["CIDADE"]);
|
||||
var status = trim(item["STATUS"]);
|
||||
var canal = trim(item["CANAL"]);
|
||||
var id = trim(item["id"]);
|
||||
var protheus = trim(item["PROTHEUS"] || item["protheus"] || item["Protheus"]);
|
||||
var loginLoja = pdv ? (pdv + ".ginseng") : "";
|
||||
var colleagueId = resolveColleagueIdByLogin(loginLoja);
|
||||
var userCreate = getUserCreateStatus(loginLoja, colleagueCache);
|
||||
|
||||
if (filtros.onlyAtivo && status.toUpperCase() !== "ATIVO") {
|
||||
continue;
|
||||
}
|
||||
if (filtros.pdv && pdv !== filtros.pdv) {
|
||||
continue;
|
||||
}
|
||||
if (filtros.loja && normalize(loja).indexOf(normalize(filtros.loja)) === -1) {
|
||||
continue;
|
||||
}
|
||||
if (filtros.termoLivre) {
|
||||
var blob = normalize([
|
||||
pdv,
|
||||
loja,
|
||||
responsavel,
|
||||
regional,
|
||||
uf,
|
||||
cidade
|
||||
].join(" "));
|
||||
if (blob.indexOf(normalize(filtros.termoLivre)) === -1) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
dataset.addRow([
|
||||
pdv,
|
||||
loja,
|
||||
responsavel,
|
||||
regional,
|
||||
uf,
|
||||
cidade,
|
||||
status,
|
||||
canal,
|
||||
id,
|
||||
protheus,
|
||||
loginLoja,
|
||||
colleagueId,
|
||||
userCreate
|
||||
]);
|
||||
}
|
||||
|
||||
if (dataset.rowsCount === 0) {
|
||||
dataset.addRow(["", "Sem lojas apos filtros (HTTP " + statusHttp + ")", "", "", "", "", "", "", "", "", "", "", ""]);
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
dataset = DatasetBuilder.newDataset();
|
||||
dataset.addColumn("ERRO");
|
||||
dataset.addRow([String(e)]);
|
||||
}
|
||||
|
||||
return dataset;
|
||||
}
|
||||
function onMobileSync(user) {
|
||||
|
||||
}
|
||||
function parseConstraints(constraints) {
|
||||
var out = {
|
||||
pdv: "",
|
||||
loja: "",
|
||||
onlyAtivo: false,
|
||||
termoLivre: ""
|
||||
};
|
||||
|
||||
if (!constraints) return out;
|
||||
|
||||
for (var i = 0; i < constraints.length; i++) {
|
||||
var c = constraints[i];
|
||||
if (!c || !c.fieldName) continue;
|
||||
|
||||
var name = String(c.fieldName);
|
||||
var value = trim(c.initialValue);
|
||||
|
||||
if (name === "PDV" && value) out.pdv = value;
|
||||
if (name === "LOJA" && value) out.loja = value;
|
||||
if (name === "onlyAtivo" && value.toLowerCase() === "false") out.onlyAtivo = false;
|
||||
|
||||
// Zoom costuma enviar constraints variadas de busca; capturamos termo livre.
|
||||
if (
|
||||
value &&
|
||||
name !== "onlyAtivo" &&
|
||||
name !== "metadata#id" &&
|
||||
name !== "metadata#active" &&
|
||||
name !== "sqlLimit"
|
||||
) {
|
||||
var cleaned = cleanSearchValue(value);
|
||||
if (cleaned && (!out.termoLivre || cleaned.length > out.termoLivre.length)) {
|
||||
out.termoLivre = cleaned;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
function trim(v) {
|
||||
return String(v == null ? "" : v).trim();
|
||||
}
|
||||
|
||||
function normalize(v) {
|
||||
return trim(v).toLowerCase();
|
||||
}
|
||||
|
||||
function cleanSearchValue(v) {
|
||||
var s = trim(v);
|
||||
// remove curingas comuns de busca do Zoom/like
|
||||
s = s.replace(/[%*_]/g, "");
|
||||
return trim(s);
|
||||
}
|
||||
|
||||
function getUserCreateStatus(loginLoja, cache) {
|
||||
var login = trim(loginLoja);
|
||||
if (!login) return "NAO";
|
||||
if (cache.hasOwnProperty(login)) return cache[login];
|
||||
try {
|
||||
var cLogin = DatasetFactory.createConstraint("login", login, login, ConstraintType.MUST);
|
||||
var cActive = DatasetFactory.createConstraint("active", "true", "true", ConstraintType.MUST);
|
||||
var ds = DatasetFactory.getDataset("colleague", null, [cLogin, cActive], null);
|
||||
var exists = !!(ds && ds.rowsCount > 0);
|
||||
|
||||
// fallback para ambientes onde o identificador esta em colleagueId
|
||||
if (!exists) {
|
||||
var cId = DatasetFactory.createConstraint("colleaguePK.colleagueId", login, login, ConstraintType.MUST);
|
||||
ds = DatasetFactory.getDataset("colleague", null, [cId, cActive], null);
|
||||
exists = !!(ds && ds.rowsCount > 0);
|
||||
}
|
||||
|
||||
cache[login] = exists ? "OK" : "NAO";
|
||||
return cache[login];
|
||||
} catch (e) {
|
||||
cache[login] = "NAO";
|
||||
return "NAO";
|
||||
}
|
||||
}
|
||||
|
||||
function resolveColleagueIdByLogin(loginLoja) {
|
||||
var login = trim(loginLoja);
|
||||
if (!login) return "";
|
||||
try {
|
||||
var cLogin = DatasetFactory.createConstraint("login", login, login, ConstraintType.MUST);
|
||||
var cActive = DatasetFactory.createConstraint("active", "true", "true", ConstraintType.MUST);
|
||||
var ds = DatasetFactory.getDataset("colleague", null, [cLogin, cActive], null);
|
||||
if (ds && ds.rowsCount > 0) {
|
||||
return trim(ds.getValue(0, "colleaguePK.colleagueId"));
|
||||
}
|
||||
} catch (e) {}
|
||||
return "";
|
||||
}
|
||||
|
||||
17
Ginseng_chamados/forms/.project
Normal file
17
Ginseng_chamados/forms/.project
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>forms</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
7
Ginseng_chamados/forms/.settings/.jsdtscope
Normal file
7
Ginseng_chamados/forms/.settings/.jsdtscope
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
|
||||
<classpathentry kind="src" path=""/>
|
||||
<classpathentry kind="output" path=""/>
|
||||
</classpath>
|
||||
@ -0,0 +1 @@
|
||||
org.eclipse.wst.jsdt.launching.JRE_CONTAINER
|
||||
@ -0,0 +1 @@
|
||||
Global
|
||||
18
Ginseng_chamados/forms/.vscode/servers.json
vendored
Normal file
18
Ginseng_chamados/forms/.vscode/servers.json
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"configurations": [
|
||||
{
|
||||
"id": "achirhwa847morhkc4qxjten2zltol",
|
||||
"name": "Ginseng Produção",
|
||||
"host": "comerciode188006.fluig.cloudtotvs.com.br",
|
||||
"ssl": true,
|
||||
"port": 443,
|
||||
"username": "andrey.cunha",
|
||||
"password": "eyJpdiI6IjRjYjRiMmM5MWJhZmVkNzU0OWQzOTljZWI3ZmQxMzViIiwic2FsdCI6IjRjYTAyMWMxY2YxNzdmZWRiYmYzNjk2MTczYWRiMzI2IiwidGV4dCI6ImNlN2JhYjU5NWNmZjk1NWVjZDJiN2EzNzQwMTA0NmFiIn0=",
|
||||
"userCode": "andrey.cunha",
|
||||
"confirmExporting": false,
|
||||
"hasBrowser": false,
|
||||
"companyId": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -364,20 +364,20 @@
|
||||
Estabelecimento/Filial
|
||||
</label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="zoom" class="form-control requiredInput" name="estabelecimentoFilial" id="estabelecimentoFilial"
|
||||
data-zoom="{
|
||||
'displayKey':'estabelecimento',
|
||||
'datasetId':'dsFiliais',
|
||||
'placeholder': 'Pesquisar nome do estabelecimento ou filial.',
|
||||
'fields':[
|
||||
{
|
||||
'field':'estabelecimento',
|
||||
'label':'Filial',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
<input type="zoom" class="form-control" name="estabelecimento" id="estabelecimento" data-zoom="{
|
||||
'displayKey':'LOJA',
|
||||
'placeholder': 'Buscar nome do estabelecimento ou filial',
|
||||
'datasetId':'dsFiliais',
|
||||
'fields':[
|
||||
{'field':'LOJA','label':'Filial','standard':'true','search':'true'},
|
||||
{'field':'REGIONAL','label':'REGIONAL','standard':'true'},
|
||||
{'field':'UF','label':'UF','standard':'true'},
|
||||
{'field':'RESPONSAVEL_LOJA','label':'RESPONSAVEL_LOJA','visible':'false'},
|
||||
{'field':'PDV','label':'PDV','visible':'false'},
|
||||
{'field':'COLLEAGUE_ID','label':'COLLEAGUE_ID','visible':'false'},
|
||||
{'field':'LOGIN_LOJA','label':'LOGIN_LOJA','visible':'false'}
|
||||
]
|
||||
}">
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
|
||||
@ -193,8 +193,8 @@ function getCurrentDate() {
|
||||
var beforeSendValidate = function (numState, nextState) {
|
||||
$(".errorValidate").removeClass("errorValidate");
|
||||
if (numState == 0 || numState == 1) {
|
||||
if ($("#estabelecimento ").val() == "") {
|
||||
$("#estabelecimento ").parent("div").addClass("errorValidate");
|
||||
if ($("#estabelecimento").val() == "") {
|
||||
$("#estabelecimento").parent("div").addClass("errorValidate");
|
||||
throw "'Estabelecimento/filial ' é obrigatório.";
|
||||
} else if ($("#enderecoSolicitante").val() == "") {
|
||||
$("#enderecoSolicitante").parent("div").addClass("errorValidate");
|
||||
@ -277,35 +277,18 @@ function setSelectedZoomItem(selectedItem) {
|
||||
indice = valores[1];
|
||||
}
|
||||
|
||||
// Carrega o dataset de centro de custo (apenas uma vez)
|
||||
var dtsCentroCusto = DatasetFactory.getDataset(
|
||||
"ds_centroCusto",
|
||||
null,
|
||||
null,
|
||||
null
|
||||
).values;
|
||||
|
||||
// --- Define variáveis de gestores apenas uma vez ---
|
||||
var nomeGestorComercial = dtsCentroCusto[0].gestorCentroCusto;
|
||||
var emailGestorComercial = dtsCentroCusto[0].emailGestor;
|
||||
var idGestorComercial = dtsCentroCusto[0].idGestor;
|
||||
|
||||
var nomeGestorOperacoes = dtsCentroCusto[2].gestorCentroCusto;
|
||||
var emailGestorOperacoes = dtsCentroCusto[2].emailGestor;
|
||||
var idGestorOperacoes = dtsCentroCusto[2].idGestor;
|
||||
|
||||
// --- Quando seleciona o ESTABELECIMENTO ---
|
||||
if (name_item == "estabelecimento") {
|
||||
let estabelecimento = selectedItem["estabelecimento"];
|
||||
let cnpj = selectedItem["cnpj"];
|
||||
let protheus = selectedItem["codigo"];
|
||||
var cnpj = selectedItem["CNPJ"] || selectedItem["cnpj"] || selectedItem["PDV"] || "";
|
||||
var protheus = selectedItem["PROTHEUS"] || selectedItem["codigo"] || "";
|
||||
|
||||
$("#cnpj").val(cnpj);
|
||||
$("#protheus").val(protheus);
|
||||
|
||||
// ❌ Não define centro de custo automaticamente
|
||||
// Apenas limpa os campos relacionados para evitar dados antigos
|
||||
window["centroCusto"].clear();
|
||||
// Nao define centro de custo automaticamente.
|
||||
if (window["centroCusto"] && typeof window["centroCusto"].clear == "function") {
|
||||
window["centroCusto"].clear();
|
||||
}
|
||||
$("#gestorNome").val("");
|
||||
$("#gestorEmail").val("");
|
||||
$("#gestor_cc").val("");
|
||||
@ -346,6 +329,9 @@ function removedZoomItem(removedItem) {
|
||||
$("#gestorNome").val("");
|
||||
$("#gestorEmail").val("");
|
||||
$("#gestor_cc").val("");
|
||||
} else if (name_item == "estabelecimento") {
|
||||
$("#cnpj").val("");
|
||||
$("#protheus").val("");
|
||||
} else if (~name_item.indexOf("___")) {
|
||||
var linha = name_item.split("___");
|
||||
|
||||
|
||||
@ -169,28 +169,20 @@
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="zoom" class="form-control requiredInput" name="estabelecimento" id="estabelecimento"
|
||||
data-zoom="{
|
||||
'displayKey':'estabelecimento',
|
||||
'displayKey':'LOJA',
|
||||
'datasetId':'dsFiliais',
|
||||
'placeholder': 'Pesquisar por nome do estabelecimento.',
|
||||
'fields':[
|
||||
{
|
||||
'field':'codigo',
|
||||
'label':'Filial',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field':'estabelecimento',
|
||||
'label':'estabelecimento',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field':'filial',
|
||||
'label':'bpcs',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
{'field':'LOJA','label':'Filial','standard':'true','search':'true'},
|
||||
{'field':'REGIONAL','label':'REGIONAL','standard':'true'},
|
||||
{'field':'UF','label':'UF','standard':'true'},
|
||||
{'field':'RESPONSAVEL_LOJA','label':'RESPONSAVEL_LOJA','visible':'false'},
|
||||
{'field':'PDV','label':'PDV','visible':'false'},
|
||||
{'field':'PROTHEUS','label':'PROTHEUS','visible':'false'},
|
||||
{'field':'COLLEAGUE_ID','label':'COLLEAGUE_ID','visible':'false'},
|
||||
{'field':'LOGIN_LOJA','label':'LOGIN_LOJA','visible':'false'}
|
||||
]
|
||||
}"/>
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
@ -894,4 +886,4 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
1
Lançamento de documentos/.gitignore
vendored
Normal file
1
Lançamento de documentos/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/.metadata/
|
||||
0
Lançamento de documentos/.metadata/.lock
Normal file
0
Lançamento de documentos/.metadata/.lock
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1,14 @@
|
||||
2026-03-12 10:11:35,412 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
|
||||
2026-03-16 18:19:59,450 [Worker-2: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
|
||||
2026-03-20 19:38:52,890 [Worker-4: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-03-21 11:10:18,833 [Worker-64: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-03-21 11:37:49,557 [Worker-1: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-03-21 13:24:29,481 [Worker-0: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-04-15 19:52:35,333 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
|
||||
2026-04-15 21:38:09,917 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-04-15 22:15:11,855 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-05-06 20:14:30,145 [Worker-0: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
|
||||
2026-05-06 20:20:13,505 [Worker-4: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-05-06 20:21:56,730 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
2026-05-11 14:40:40,614 [Worker-6: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
|
||||
2026-05-11 21:22:28,359 [Worker-2: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
11
Lançamento de documentos/.project
Normal file
11
Lançamento de documentos/.project
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Lançamento de documentos</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
18
Lançamento de documentos/.vscode/launch.json
vendored
Normal file
18
Lançamento de documentos/.vscode/launch.json
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "totvs_language_debug",
|
||||
"request": "launch",
|
||||
"name": "TOTVS Language Debug",
|
||||
"program": "${command:AskForProgramName}",
|
||||
"cwb": "${workspaceFolder}",
|
||||
"smartclientBin": "../totvs/bin/smartclient/smartclient.exe",
|
||||
"isMultiSession": true,
|
||||
"enableTableSync": true,
|
||||
"extendFeatures": {
|
||||
"charDetails": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
18
Lançamento de documentos/.vscode/servers.json
vendored
Normal file
18
Lançamento de documentos/.vscode/servers.json
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"configurations": [
|
||||
{
|
||||
"id": "kcd262syqgmnhlewwba1vu2pgu6b",
|
||||
"name": "Fluig producao",
|
||||
"host": "comerciode188006.fluig.cloudtotvs.com.br",
|
||||
"ssl": true,
|
||||
"port": 443,
|
||||
"username": "andrey.cunha",
|
||||
"password": "eyJpdiI6IjM5OWJjNjRiOGQ3Yjg5ZWEwYzk0Yzk4NWU5YjI5ODk4Iiwic2FsdCI6ImZjMzVmM2FmMDRhNjljNjA1YThiYzJjYTI5ZjU3NTgyIiwidGV4dCI6ImYwNDA2ZWYxOTM1N2FmMzYyYWZiODc4ZThjMmMzM2ZiIn0=",
|
||||
"userCode": "andrey.cunha",
|
||||
"confirmExporting": false,
|
||||
"hasBrowser": false,
|
||||
"companyId": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Lançamento de documentos/com.totvs.tds.ecm.dataservers
Normal file
BIN
Lançamento de documentos/com.totvs.tds.ecm.dataservers
Normal file
Binary file not shown.
18
Lançamento de documentos/lançamentos/.project
Normal file
18
Lançamento de documentos/lançamentos/.project
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>lançamentos</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
<nature>com.totvs.tds.ecm.designer.nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@ -0,0 +1,13 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding//wcm/widget/portalfornecedor/src/main/resources/application.info=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/resources/edit.ftl=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/resources/portalfornecedor.properties=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/resources/portalfornecedor_en_US.properties=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/resources/portalfornecedor_es.properties=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/resources/portalfornecedor_pt_BR.properties=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/resources/view.ftl=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/webapp/WEB-INF/jboss-web.xml=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/webapp/WEB-INF/web.xml=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/webapp/resources/css/portalfornecedor.css=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/webapp/resources/images/icon.png=utf8
|
||||
encoding//wcm/widget/portalfornecedor/src/main/webapp/resources/js/portalfornecedor.js=utf8
|
||||
Binary file not shown.
@ -0,0 +1,181 @@
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
dataset.addColumn("STATUS");
|
||||
dataset.addColumn("MESSAGE");
|
||||
dataset.addColumn("PROCESS_INSTANCE_ID");
|
||||
dataset.addColumn("RAW_RESPONSE");
|
||||
|
||||
try {
|
||||
var params = constraintsToMap(constraints);
|
||||
var autorizadorResponsavel = valueOrEmpty(params.autorizador_responsavel || params.autorizadorResponsavel);
|
||||
validateRequired(params);
|
||||
|
||||
var payload = {
|
||||
targetState: parseInt(params.targetState || "5", 10),
|
||||
comment: params.comment || "Envio via portal fornecedor",
|
||||
formFields: {
|
||||
data_abertura: valueOrEmpty(params.data_abertura),
|
||||
emitido_por: valueOrEmpty(params.emitido_por),
|
||||
entidade_responsavel: valueOrEmpty(params.entidade_responsavel),
|
||||
tipo_cadastro: valueOrEmpty(params.tipo_cadastro),
|
||||
emailSolicitante: valueOrEmpty(params.emailSolicitante),
|
||||
cpf: valueOrEmpty(params.cpf),
|
||||
tipo_documento: valueOrEmpty(params.tipo_documento),
|
||||
numero_documento: valueOrEmpty(params.numero_documento),
|
||||
valor: valueOrEmpty(params.valor),
|
||||
autorizador_responsavel: autorizadorResponsavel,
|
||||
justificativa: valueOrEmpty(params.justificativa)
|
||||
}
|
||||
};
|
||||
|
||||
var clientService = fluigAPI.getAuthorizeClientService();
|
||||
var requestData = {
|
||||
companyId: getCompanyId(),
|
||||
serviceCode: "fluig_rest",
|
||||
endpoint: "/process-management/api/v2/processes/FlowEssentials_LancamentodeDocumento/start",
|
||||
method: "post",
|
||||
timeoutService: "100",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/json"
|
||||
},
|
||||
options: {
|
||||
encoding: "UTF-8",
|
||||
mediaType: "application/json",
|
||||
useSSL: true
|
||||
},
|
||||
params: payload
|
||||
};
|
||||
|
||||
var vo = clientService.invoke(JSON.stringify(requestData));
|
||||
var raw = vo ? String(vo.getResult() || "") : "";
|
||||
if (!raw) {
|
||||
throw "fluig_rest retornou vazio.";
|
||||
}
|
||||
|
||||
var response = parseJsonSafe(raw);
|
||||
var processInstanceId = extractProcessInstanceId(response);
|
||||
var responseMessage = extractResponseMessage(response);
|
||||
|
||||
if (isErrorResponse(response, raw)) {
|
||||
dataset.addRow(["ERROR", responseMessage || "Falha ao iniciar processo.", processInstanceId, raw]);
|
||||
return dataset;
|
||||
}
|
||||
|
||||
dataset.addRow(["OK", responseMessage || "Solicitação enviada com sucesso.", processInstanceId, raw]);
|
||||
return dataset;
|
||||
} catch (e) {
|
||||
dataset.addRow(["ERROR", errorMessage(e), "", ""]);
|
||||
return dataset;
|
||||
}
|
||||
}
|
||||
|
||||
function constraintsToMap(constraints) {
|
||||
var map = {};
|
||||
if (!constraints) {
|
||||
return map;
|
||||
}
|
||||
|
||||
for (var i = 0; i < constraints.length; i++) {
|
||||
var c = constraints[i];
|
||||
var fieldName = getFieldNameSafe(c);
|
||||
if (!fieldName) {
|
||||
continue;
|
||||
}
|
||||
map[fieldName] = getInitialValueSafe(c);
|
||||
}
|
||||
|
||||
return map;
|
||||
}
|
||||
|
||||
function validateRequired(params) {
|
||||
var requiredFields = [
|
||||
"data_abertura",
|
||||
"emitido_por",
|
||||
"entidade_responsavel",
|
||||
"tipo_cadastro",
|
||||
"cpf",
|
||||
"numero_documento",
|
||||
"justificativa"
|
||||
];
|
||||
|
||||
for (var i = 0; i < requiredFields.length; i++) {
|
||||
var fieldName = requiredFields[i];
|
||||
if (!valueOrEmpty(params[fieldName])) {
|
||||
throw "Campo obrigatório não informado: " + fieldName;
|
||||
}
|
||||
}
|
||||
|
||||
var autorizador = valueOrEmpty(params.autorizador_responsavel || params.autorizadorResponsavel);
|
||||
if (!autorizador) {
|
||||
throw "Campo obrigatório não informado: autorizador_responsavel";
|
||||
}
|
||||
}
|
||||
|
||||
function extractProcessInstanceId(response) {
|
||||
if (!response) return "";
|
||||
if (response.processInstanceId) return String(response.processInstanceId);
|
||||
if (response.content && response.content.processInstanceId) return String(response.content.processInstanceId);
|
||||
if (response.content && response.content.processInstanceid) return String(response.content.processInstanceid);
|
||||
if (response.content && response.content.requestNumber) return String(response.content.requestNumber);
|
||||
return "";
|
||||
}
|
||||
|
||||
function extractResponseMessage(response) {
|
||||
if (!response) return "";
|
||||
if (response.message) return String(response.message);
|
||||
if (response.detailedMessage) return String(response.detailedMessage);
|
||||
if (response.content && response.content.message) return String(response.content.message);
|
||||
return "";
|
||||
}
|
||||
|
||||
function isErrorResponse(response, raw) {
|
||||
if (!response) return false;
|
||||
if (response.code && !extractProcessInstanceId(response)) return true;
|
||||
if (response.message && String(response.message).toLowerCase().indexOf("erro") >= 0 && !extractProcessInstanceId(response)) return true;
|
||||
if (raw && raw.indexOf("\"code\"") >= 0 && !extractProcessInstanceId(response)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
function parseJsonSafe(value) {
|
||||
try {
|
||||
return JSON.parse(value);
|
||||
} catch (e) {
|
||||
return { raw: value };
|
||||
}
|
||||
}
|
||||
|
||||
function getCompanyId() {
|
||||
try {
|
||||
if (typeof getValue === "function") {
|
||||
return String(getValue("WKCompany") || "1");
|
||||
}
|
||||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
return "1";
|
||||
}
|
||||
|
||||
function valueOrEmpty(value) {
|
||||
return value == null ? "" : String(value);
|
||||
}
|
||||
|
||||
function errorMessage(e) {
|
||||
if (e && e.message) return String(e.message);
|
||||
return String(e);
|
||||
}
|
||||
|
||||
function getFieldNameSafe(c) {
|
||||
if (!c) return "";
|
||||
if (typeof c.getFieldName === "function") return String(c.getFieldName() || "");
|
||||
if (c.fieldName !== undefined && c.fieldName !== null) return String(c.fieldName || "");
|
||||
return "";
|
||||
}
|
||||
|
||||
function getInitialValueSafe(c) {
|
||||
if (!c) return "";
|
||||
if (typeof c.getInitialValue === "function") return String(c.getInitialValue() || "");
|
||||
if (c.initialValue !== undefined && c.initialValue !== null) return String(c.initialValue || "");
|
||||
return "";
|
||||
}
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,118 @@
|
||||
# Portal Fornecedor - contrato do endpoint intermediario
|
||||
|
||||
## Objetivo
|
||||
|
||||
A widget publica nao deve chamar diretamente:
|
||||
|
||||
- `/process-management/api/v2/processes/FlowEssentials_LancamentodeDocumento/start`
|
||||
- `/api/public/ecm/dataset/datasets`
|
||||
|
||||
Ela deve chamar um endpoint intermediario no servidor, por exemplo:
|
||||
|
||||
- `POST /api/public/portalfornecedor/enviar`
|
||||
|
||||
Esse endpoint e quem usa `fluig_rest` no backend.
|
||||
|
||||
## Request esperado da widget
|
||||
|
||||
```json
|
||||
{
|
||||
"targetState": 5,
|
||||
"comment": "Envio via portal fornecedor",
|
||||
"formFields": {
|
||||
"data_abertura": "2026-03-13",
|
||||
"emitido_por": "fornecedor",
|
||||
"entidade_responsavel": "Empresa X",
|
||||
"tipo_cadastro": "cpf",
|
||||
"emailSolicitante": "email@empresa.com.br",
|
||||
"cpf": "12345678900",
|
||||
"tipo_documento": "danfe",
|
||||
"numero_documento": "123456",
|
||||
"valor": "10,00",
|
||||
"autorizador_responsavel": "Nome do autorizador",
|
||||
"justificativa": "Descricao do servico"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Response de sucesso
|
||||
|
||||
```json
|
||||
{
|
||||
"success": true,
|
||||
"message": "Solicitacao enviada com sucesso.",
|
||||
"processInstanceId": "12345",
|
||||
"content": {
|
||||
"processInstanceId": "12345"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Response de erro
|
||||
|
||||
```json
|
||||
{
|
||||
"success": false,
|
||||
"message": "Descricao do erro"
|
||||
}
|
||||
```
|
||||
|
||||
## Logica esperada no backend
|
||||
|
||||
1. Receber o JSON da widget.
|
||||
2. Validar os campos obrigatorios.
|
||||
3. Usar `fluigAPI.getAuthorizeClientService()`.
|
||||
4. Invocar o servico `fluig_rest`.
|
||||
5. Chamar o endpoint final:
|
||||
`/process-management/api/v2/processes/FlowEssentials_LancamentodeDocumento/start`
|
||||
6. Retornar para a widget somente o resultado final.
|
||||
|
||||
## Exemplo de chamada server-side
|
||||
|
||||
```javascript
|
||||
var clientService = fluigAPI.getAuthorizeClientService();
|
||||
|
||||
var requestData = {
|
||||
companyId: String(getValue("WKCompany") || "1"),
|
||||
serviceCode: "fluig_rest",
|
||||
endpoint: "/process-management/api/v2/processes/FlowEssentials_LancamentodeDocumento/start",
|
||||
method: "post",
|
||||
timeoutService: "100",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/json"
|
||||
},
|
||||
options: {
|
||||
encoding: "UTF-8",
|
||||
mediaType: "application/json",
|
||||
useSSL: true
|
||||
},
|
||||
params: payloadRecebidoDaWidget
|
||||
};
|
||||
|
||||
var vo = clientService.invoke(JSON.stringify(requestData));
|
||||
var raw = String(vo.getResult() || "");
|
||||
var response = JSON.parse(raw);
|
||||
```
|
||||
|
||||
## Configuracao da widget
|
||||
|
||||
Por padrao a widget usa:
|
||||
|
||||
- `https://api.grupoginseng.com.br/v2/portalfornecedor/enviar_api_public_portalfornecedor_enviar_post`
|
||||
|
||||
Se necessario, sobrescreva antes de carregar a widget:
|
||||
|
||||
```html
|
||||
<script>
|
||||
window.portalfornecedorConfig = {
|
||||
publicEndpointUrl: "https://api.grupoginseng.com.br/v2/portalfornecedor/enviar_api_public_portalfornecedor_enviar_post"
|
||||
};
|
||||
</script>
|
||||
```
|
||||
|
||||
## Observacao importante
|
||||
|
||||
`apiKey` no front nao substitui OAuth 1.0 do Fluig. Se existir um header como `apiKey`,
|
||||
ele deve ser validado apenas no endpoint intermediario. O endpoint intermediario continua
|
||||
sendo o responsavel por usar `fluig_rest` no servidor.
|
||||
@ -0,0 +1,9 @@
|
||||
PORTAL_FORNECEDOR_BASE_URL=https://comerciode188006.fluig.cloudtotvs.com.br
|
||||
PORTAL_FORNECEDOR_PROCESS_ID=FlowEssentials_LancamentodeDocumento
|
||||
PORTAL_FORNECEDOR_CLIENT_KEY=your_consumer_key
|
||||
PORTAL_FORNECEDOR_CLIENT_SECRET=your_consumer_secret
|
||||
PORTAL_FORNECEDOR_RESOURCE_OWNER_KEY=your_access_token
|
||||
PORTAL_FORNECEDOR_RESOURCE_OWNER_SECRET=your_token_secret
|
||||
PORTAL_FORNECEDOR_COMPANY_ID=1
|
||||
PORTAL_FORNECEDOR_PARENT_FOLDER_ID=10
|
||||
PORTAL_FORNECEDOR_CORS_ORIGINS=https://comerciode188006.fluig.cloudtotvs.com.br
|
||||
@ -0,0 +1,221 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
from typing import Any
|
||||
|
||||
import requests
|
||||
from fastapi import FastAPI, File, Form, HTTPException, UploadFile
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from pydantic import BaseModel
|
||||
from requests_oauthlib import OAuth1
|
||||
|
||||
|
||||
class PortalFornecedorSuccessResponse(BaseModel):
|
||||
success: bool = True
|
||||
message: str
|
||||
processInstanceId: str = ""
|
||||
content: dict[str, Any]
|
||||
|
||||
|
||||
class PortalFornecedorErrorDetail(BaseModel):
|
||||
message: str | None = None
|
||||
|
||||
|
||||
def env(name: str, default: str = "") -> str:
|
||||
value = os.getenv(name, default).strip()
|
||||
if not value:
|
||||
raise RuntimeError(f"Missing environment variable: {name}")
|
||||
return value
|
||||
|
||||
|
||||
app = FastAPI(title="Portal Fornecedor Proxy")
|
||||
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=os.getenv("PORTAL_FORNECEDOR_CORS_ORIGINS", "*").split(","),
|
||||
allow_credentials=False,
|
||||
allow_methods=["POST", "OPTIONS", "GET"],
|
||||
allow_headers=["*"],
|
||||
)
|
||||
|
||||
|
||||
@app.get("/health")
|
||||
def health() -> dict[str, str]:
|
||||
return {"status": "ok"}
|
||||
|
||||
|
||||
@app.post(
|
||||
"/api/public/portalfornecedor/enviar",
|
||||
response_model=PortalFornecedorSuccessResponse,
|
||||
responses={
|
||||
400: {"model": PortalFornecedorErrorDetail},
|
||||
401: {"model": PortalFornecedorErrorDetail},
|
||||
500: {"model": PortalFornecedorErrorDetail},
|
||||
},
|
||||
)
|
||||
async def enviar(
|
||||
arquivo: UploadFile = File(...),
|
||||
targetState: int = Form(5),
|
||||
comment: str = Form("Envio via portal fornecedor"),
|
||||
data_abertura: str = Form(...),
|
||||
emitido_por: str = Form(...),
|
||||
entidade_responsavel: str = Form(...),
|
||||
tipo_cadastro: str = Form(...),
|
||||
emailSolicitante: str = Form(""),
|
||||
cpf: str = Form(...),
|
||||
tipo_documento: str = Form(""),
|
||||
numero_documento: str = Form(...),
|
||||
valor: str = Form(""),
|
||||
autorizador_responsavel: str = Form(""),
|
||||
autorizadorResponsavel: str = Form(""),
|
||||
justificativa: str = Form(...),
|
||||
) -> PortalFornecedorSuccessResponse:
|
||||
file_name = arquivo.filename or "anexo"
|
||||
file_mime = arquivo.content_type or "application/octet-stream"
|
||||
file_bytes = await arquivo.read()
|
||||
|
||||
if not file_bytes:
|
||||
raise HTTPException(status_code=400, detail={"message": "Arquivo obrigatorio."})
|
||||
|
||||
autorizador = (autorizador_responsavel or autorizadorResponsavel or "").strip()
|
||||
if not autorizador:
|
||||
raise HTTPException(status_code=400, detail={"message": "Campo obrigatorio nao informado: autorizador_responsavel."})
|
||||
|
||||
auth = build_auth()
|
||||
upload_binary(file_name, file_bytes, auth)
|
||||
document_id = create_document(file_name, file_mime, auth)
|
||||
|
||||
process_payload = {
|
||||
"targetState": targetState,
|
||||
"comment": comment,
|
||||
"formFields": {
|
||||
"data_abertura": data_abertura,
|
||||
"emitido_por": emitido_por,
|
||||
"entidade_responsavel": entidade_responsavel,
|
||||
"tipo_cadastro": tipo_cadastro,
|
||||
"emailSolicitante": emailSolicitante,
|
||||
"cpf": cpf,
|
||||
"tipo_documento": tipo_documento,
|
||||
"numero_documento": numero_documento,
|
||||
"valor": valor,
|
||||
"autorizador_responsavel": autorizador,
|
||||
"justificativa": justificativa,
|
||||
"anexo_documento_id": str(document_id),
|
||||
"anexo_documento_nome": file_name,
|
||||
"anexo_documento_mime": file_mime,
|
||||
},
|
||||
}
|
||||
|
||||
response = requests.post(
|
||||
process_start_endpoint(),
|
||||
json=process_payload,
|
||||
auth=auth,
|
||||
headers={"Accept": "application/json"},
|
||||
timeout=30,
|
||||
)
|
||||
|
||||
if not response.ok:
|
||||
raise HTTPException(status_code=response.status_code, detail=safe_json(response))
|
||||
|
||||
data = safe_json(response)
|
||||
|
||||
return PortalFornecedorSuccessResponse(
|
||||
success=True,
|
||||
message="Solicitacao enviada com sucesso.",
|
||||
processInstanceId=extract_process_instance_id(data),
|
||||
content=data,
|
||||
)
|
||||
|
||||
|
||||
def build_auth() -> OAuth1:
|
||||
return OAuth1(
|
||||
client_key=env("PORTAL_FORNECEDOR_CLIENT_KEY"),
|
||||
client_secret=env("PORTAL_FORNECEDOR_CLIENT_SECRET"),
|
||||
resource_owner_key=env("PORTAL_FORNECEDOR_RESOURCE_OWNER_KEY"),
|
||||
resource_owner_secret=env("PORTAL_FORNECEDOR_RESOURCE_OWNER_SECRET"),
|
||||
signature_method="HMAC-SHA1",
|
||||
)
|
||||
|
||||
|
||||
def base_url() -> str:
|
||||
return env("PORTAL_FORNECEDOR_BASE_URL").rstrip("/")
|
||||
|
||||
|
||||
def process_start_endpoint() -> str:
|
||||
process_id = env("PORTAL_FORNECEDOR_PROCESS_ID", "FlowEssentials_LancamentodeDocumento")
|
||||
return f"{base_url()}/process-management/api/v2/processes/{process_id}/start"
|
||||
|
||||
|
||||
def upload_binary(file_name: str, file_bytes: bytes, auth: OAuth1) -> None:
|
||||
response = requests.post(
|
||||
f"{base_url()}/api/public/2.0/contentfiles/upload/",
|
||||
params={"fileName": file_name},
|
||||
data=file_bytes,
|
||||
auth=auth,
|
||||
headers={
|
||||
"Content-Type": "application/octet-stream",
|
||||
"Accept": "application/json",
|
||||
},
|
||||
timeout=30,
|
||||
)
|
||||
|
||||
if not response.ok:
|
||||
raise HTTPException(status_code=response.status_code, detail=safe_json(response))
|
||||
|
||||
|
||||
def create_document(file_name: str, mime_type: str, auth: OAuth1) -> str:
|
||||
payload = {
|
||||
"companyId": env("PORTAL_FORNECEDOR_COMPANY_ID", "1"),
|
||||
"description": file_name,
|
||||
"parentId": int(env("PORTAL_FORNECEDOR_PARENT_FOLDER_ID", "10")),
|
||||
"immutable": True,
|
||||
"isPrivate": False,
|
||||
"downloadEnabled": True,
|
||||
"attachments": [{"fileName": file_name}],
|
||||
"additionalComments": mime_type,
|
||||
}
|
||||
|
||||
response = requests.post(
|
||||
f"{base_url()}/api/public/ecm/document/createDocument",
|
||||
json=payload,
|
||||
auth=auth,
|
||||
headers={"Accept": "application/json"},
|
||||
timeout=30,
|
||||
)
|
||||
|
||||
if not response.ok:
|
||||
raise HTTPException(status_code=response.status_code, detail=safe_json(response))
|
||||
|
||||
data = safe_json(response)
|
||||
content = data.get("content", {}) if isinstance(data, dict) else {}
|
||||
document_id = content.get("id") or content.get("documentId")
|
||||
|
||||
if not document_id:
|
||||
raise HTTPException(status_code=500, detail={"message": "Fluig nao retornou documentId do anexo."})
|
||||
|
||||
return str(document_id)
|
||||
|
||||
|
||||
def safe_json(response: requests.Response) -> Any:
|
||||
try:
|
||||
return response.json()
|
||||
except Exception:
|
||||
return {"message": response.text}
|
||||
|
||||
|
||||
def extract_process_instance_id(data: Any) -> str:
|
||||
if not isinstance(data, dict):
|
||||
return ""
|
||||
if data.get("processInstanceId"):
|
||||
return str(data["processInstanceId"])
|
||||
|
||||
content = data.get("content")
|
||||
if isinstance(content, dict):
|
||||
if content.get("processInstanceId"):
|
||||
return str(content["processInstanceId"])
|
||||
if content.get("processInstanceid"):
|
||||
return str(content["processInstanceid"])
|
||||
if content.get("requestNumber"):
|
||||
return str(content["requestNumber"])
|
||||
|
||||
return ""
|
||||
@ -0,0 +1,5 @@
|
||||
fastapi==0.115.12
|
||||
uvicorn==0.34.0
|
||||
requests==2.32.3
|
||||
requests-oauthlib==2.0.0
|
||||
python-multipart==0.0.20
|
||||
@ -0,0 +1,19 @@
|
||||
application.type=widget
|
||||
application.code=portalfornecedor
|
||||
application.title=portalfornecedor
|
||||
application.description=portalfornecedor
|
||||
application.fluig.version=null
|
||||
application.category=SYSTEM
|
||||
application.renderer=freemarker
|
||||
developer.code=DESKTOP-0E2LAA6
|
||||
developer.name=Home
|
||||
developer.url=http://www.fluig.com
|
||||
application.uiwidget=true
|
||||
application.mobileapp=false
|
||||
application.version=${build.version}-${build.revision}
|
||||
view.file=view.ftl
|
||||
edit.file=edit.ftl
|
||||
locale.file.base.name=portalfornecedor
|
||||
application.resource.js.1=/resources/js/portalfornecedor.js
|
||||
application.resource.css.2=/resources/css/portalfornecedor.css
|
||||
hash=4a16315e9e66fa7d797b3f6b1fb365b69f9a4ce2
|
||||
@ -0,0 +1,5 @@
|
||||
<div id="MyWidget_${instanceId}" class="super-widget wcm-widget-class fluig-style-guide" data-params="window.MyWidget && MyWidget.instance ? MyWidget.instance() : {}">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@ -0,0 +1,188 @@
|
||||
<div id="MyWidget_${instanceId}" class="super-widget wcm-widget-class fluig-style-guide"
|
||||
data-params="MyWidget.instance()">
|
||||
|
||||
<link rel="stylesheet" href="/style-guide/css/fluig-style-guide.min.css">
|
||||
|
||||
<div class="page-wrapper portal-shell">
|
||||
|
||||
<div class="page-header">
|
||||
<div class="page-eyebrow">Portal Fornecedor</div>
|
||||
<h2 class="page-title">
|
||||
<i class="flaticon flaticon-account-box"></i>
|
||||
Portal de Envio de Documentos
|
||||
</h2>
|
||||
<p class="page-subtitle">Informe os dados da nota fiscal para comprovação no sistema.</p>
|
||||
</div>
|
||||
|
||||
<div class="form-card">
|
||||
<h4 class="titulo-secao">Dados do documento</h4>
|
||||
<p class="sub-secao">Preencha os campos obrigatórios para iniciar a solicitação.</p>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group col-md-3">
|
||||
<label>Data</label>
|
||||
<input type="text" name="data_abertura" id="data_abertura" class="form-control" readonly>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3 divEmitidoPor alertaCampo">
|
||||
<label>Origem<strong class="text-danger">*</strong></label>
|
||||
|
||||
<select name="emitido_por" id="emitido_por" class="form-control">
|
||||
<option value="">Selecionar emissor</option>
|
||||
<option value="fornecedor">Fornecedor</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3 divEntidadeResponsavel alertaCampo">
|
||||
<label>Empresa emitente <strong class="text-danger">*</strong></label>
|
||||
|
||||
<input type="text" class="form-control"
|
||||
name="entidade_responsavel"
|
||||
id="entidade_responsavel"
|
||||
placeholder="Nome da companhia">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group col-md-3 divTipoCadastro alertaCampo">
|
||||
<label>Tipo de cadastro <strong class="text-danger">*</strong></label>
|
||||
|
||||
<select name="tipo_cadastro" id="tipo_cadastro" class="form-control">
|
||||
<option value="">Selecionar</option>
|
||||
<option value="cpf">CPF</option>
|
||||
<option value="cnpj">CNPJ</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3 divCnpj alertaCampo">
|
||||
<label>CNPJ <strong class="text-danger">*</strong></label>
|
||||
|
||||
<input type="text"
|
||||
name="cnpj"
|
||||
id="cnpj"
|
||||
class="form-control"
|
||||
placeholder="00.000.000/0000-00"
|
||||
mask="00.000.000/0000-00">
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3 divCpf alertaCampo" style="display:none;">
|
||||
<label>CPF <strong class="text-danger">*</strong></label>
|
||||
|
||||
<input type="text"
|
||||
name="cpf"
|
||||
id="cpf"
|
||||
class="form-control"
|
||||
placeholder="000.000.000-00"
|
||||
mask="000.000.000-00">
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3">
|
||||
<label>Tipo de documento</label>
|
||||
|
||||
<select name="tipo_documento" id="tipo_documento" class="form-control">
|
||||
<option value="">Selecionar</option>
|
||||
<option value="energia">Nota de Energia Elétrica</option>
|
||||
<option value="agua">Nota de Consumo de Água</option>
|
||||
<option value="internet">Nota de Uso de Internet</option>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group col-md-12 alertaCampo">
|
||||
|
||||
<label>Anexar documento <strong class="text-danger">*</strong></label>
|
||||
|
||||
<p class="text-muted">
|
||||
Selecione o arquivo ou use a camera do celular para capturar o documento.
|
||||
</p>
|
||||
|
||||
<button type="button" class="btn btn-primary btn-anexo" id="anexaDocumento">
|
||||
<i class="flaticon flaticon-paperclip"></i>
|
||||
Anexar documento
|
||||
</button>
|
||||
|
||||
<input type="file"
|
||||
id="arquivoLocal"
|
||||
style="display:none"
|
||||
accept="image/*,.pdf">
|
||||
|
||||
<div id="arquivoLocalNome" class="arquivo-nome"></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="form-group col-md-3 alertaCampo">
|
||||
<label>Número do documento <strong class="text-danger">*</strong></label>
|
||||
|
||||
<input type="text"
|
||||
name="numero_documento"
|
||||
id="numero_documento"
|
||||
class="form-control"
|
||||
placeholder="Numero da nota">
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-3">
|
||||
<label>Valor do documento</label>
|
||||
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon">R$</span>
|
||||
|
||||
<input type="text"
|
||||
name="valor"
|
||||
id="valor"
|
||||
class="form-control"
|
||||
mask="#000.000.000,00"
|
||||
placeholder="0,00">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-3 divautorizadorResponsavel alertaCampo">
|
||||
<label>Nome do Autorizador <strong class="text-danger">*</strong></label>
|
||||
|
||||
<input type="text" class="form-control"
|
||||
name="autorizador_responsavel"
|
||||
id="autorizador_responsavel"
|
||||
placeholder="Digite seu nome">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-card">
|
||||
|
||||
<h4 class="titulo-secao">Descrição dos serviços</h4>
|
||||
<p class="sub-secao">Inclua detalhes para facilitar a análise.</p>
|
||||
|
||||
<textarea class="form-control"
|
||||
rows="4"
|
||||
id="justificativa"
|
||||
name="justificativa"
|
||||
placeholder="Descreva os serviços prestados"></textarea>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="envioStatus" class="envio-status hidden"></div>
|
||||
|
||||
<div class="text-center">
|
||||
|
||||
<button type="button" id="btnEnviarNota" class="btn btn-enviar btn-lg">
|
||||
Enviar documento
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jboss-web>
|
||||
<context-root>/portalfornecedor</context-root>
|
||||
<disable-cross-context>false</disable-cross-context>
|
||||
</jboss-web>
|
||||
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
|
||||
version="3.0">
|
||||
</web-app>
|
||||
@ -0,0 +1,346 @@
|
||||
.wcm-widget-class {
|
||||
background:
|
||||
radial-gradient(circle at 2px 2px, rgba(13, 109, 141, 0.06) 1px, transparent 0) 0 0 / 18px 18px,
|
||||
linear-gradient(180deg, #f8fbfd 0%, #eef3f7 100%);
|
||||
}
|
||||
|
||||
.portal-shell {
|
||||
--pf-bg: #f2f5f8;
|
||||
--pf-card: #ffffff;
|
||||
--pf-border: #d9e2ec;
|
||||
--pf-ink: #133045;
|
||||
--pf-muted: #5f7282;
|
||||
--pf-primary: #0a6d8d;
|
||||
--pf-primary-strong: #085a74;
|
||||
--pf-success: #0f766e;
|
||||
--pf-success-bg: #ecfdf5;
|
||||
--pf-danger: #b42318;
|
||||
|
||||
max-width: 980px;
|
||||
margin: 28px auto;
|
||||
padding: 0 12px 32px;
|
||||
color: var(--pf-ink);
|
||||
}
|
||||
|
||||
.page-header {
|
||||
position: relative;
|
||||
margin: 0 0 20px;
|
||||
padding: 18px 16px 14px;
|
||||
border: 1px solid #0b4a5f;
|
||||
border-radius: 12px;
|
||||
background: #0b556b;
|
||||
box-shadow: 0 8px 20px rgba(11, 85, 107, 0.24);
|
||||
}
|
||||
|
||||
.page-header::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 180px;
|
||||
height: 4px;
|
||||
border-radius: 99px;
|
||||
background: rgba(255, 255, 255, 0.75);
|
||||
}
|
||||
|
||||
.page-brand {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 6px;
|
||||
width: 188px;
|
||||
height: 64px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.page-brand img {
|
||||
max-width: 94%;
|
||||
max-height: 82%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.brand-fallback-text {
|
||||
display: none;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.page-brand.brand-fallback .brand-fallback-text {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.page-eyebrow {
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: #d7f0f7;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
margin: 0;
|
||||
font-size: 34px;
|
||||
line-height: 1.15;
|
||||
font-weight: 800;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.page-title i {
|
||||
margin-right: 8px;
|
||||
color: #d7f0f7;
|
||||
}
|
||||
|
||||
.page-subtitle {
|
||||
margin: 8px 0 0;
|
||||
color: #d5e8ef;
|
||||
font-size: 15px;
|
||||
max-width: 70%;
|
||||
}
|
||||
|
||||
.form-card {
|
||||
background: var(--pf-card);
|
||||
border: 1px solid var(--pf-border);
|
||||
border-radius: 14px;
|
||||
padding: 22px 20px 16px;
|
||||
margin-bottom: 16px;
|
||||
box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.portal-shell .page-header .page-title,
|
||||
.portal-shell .page-header .page-title i {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.portal-shell .page-header .page-subtitle {
|
||||
color: #e6f2f6 !important;
|
||||
}
|
||||
|
||||
.portal-shell .page-header .page-eyebrow {
|
||||
color: #dff6ff !important;
|
||||
}
|
||||
|
||||
.portal-shell .form-card {
|
||||
background: #ffffff !important;
|
||||
border-color: #cfdce8 !important;
|
||||
}
|
||||
|
||||
.portal-shell .arquivo-nome:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.form-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
|
||||
}
|
||||
|
||||
.titulo-secao {
|
||||
margin: 0;
|
||||
font-size: 22px;
|
||||
line-height: 1.2;
|
||||
font-weight: 800;
|
||||
color: #0b3f55;
|
||||
}
|
||||
|
||||
.sub-secao {
|
||||
margin: 6px 0 18px;
|
||||
color: var(--pf-muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.form-group > label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
color: #324b5d;
|
||||
}
|
||||
|
||||
.portal-shell .form-control,
|
||||
.portal-shell .input-group-addon,
|
||||
.portal-shell select.form-control {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.portal-shell .form-control {
|
||||
height: 40px;
|
||||
border: 1px solid #c9d5e2;
|
||||
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
||||
}
|
||||
|
||||
.portal-shell textarea.form-control {
|
||||
min-height: 120px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.portal-shell .form-control:hover {
|
||||
border-color: #8fb5c3;
|
||||
}
|
||||
|
||||
.portal-shell .form-control:focus {
|
||||
border-color: #0a6d8d;
|
||||
box-shadow: 0 0 0 3px rgba(10, 109, 141, 0.12);
|
||||
}
|
||||
|
||||
.portal-shell .has-error .form-control,
|
||||
.portal-shell .alertaCampo.has-error .form-control {
|
||||
border-color: var(--pf-danger);
|
||||
}
|
||||
|
||||
.btn-anexo {
|
||||
background: #eef4f7;
|
||||
border: 1px dashed #9db7c5;
|
||||
color: #133045;
|
||||
border-radius: 8px;
|
||||
padding: 10px 14px;
|
||||
font-weight: 700;
|
||||
transition: background 0.15s ease;
|
||||
}
|
||||
|
||||
.btn-anexo:hover {
|
||||
background: #e4eef3;
|
||||
}
|
||||
|
||||
.arquivo-nome {
|
||||
margin-top: 10px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
background: #f4f8fb;
|
||||
border: 1px solid #d7e5ef;
|
||||
color: #365266;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.btn-enviar {
|
||||
margin-top: 10px;
|
||||
min-width: 220px;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(135deg, #0a6d8d 0%, #0f8f98 100%);
|
||||
border: none;
|
||||
padding: 12px 28px;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: white;
|
||||
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
||||
}
|
||||
|
||||
.btn-enviar:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 10px 22px rgba(10, 109, 141, 0.25);
|
||||
}
|
||||
|
||||
.envio-status {
|
||||
margin: 0 0 14px;
|
||||
padding: 12px 14px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid transparent;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.envio-status.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.envio-status.success {
|
||||
color: #065f46;
|
||||
background: var(--pf-success-bg);
|
||||
border-color: #a7f3d0;
|
||||
}
|
||||
|
||||
.envio-status.error {
|
||||
color: #7a271a;
|
||||
background: #fef3f2;
|
||||
border-color: #fecdca;
|
||||
}
|
||||
|
||||
.portal-success-state {
|
||||
max-width: 760px;
|
||||
margin: 32px auto;
|
||||
padding: 26px 24px;
|
||||
border: 1px solid #b7ebd8;
|
||||
border-radius: 12px;
|
||||
background: linear-gradient(180deg, #f4fffb 0%, #ecfdf5 100%);
|
||||
animation: fadeIn 0.4s ease;
|
||||
}
|
||||
|
||||
.portal-success-title {
|
||||
margin: 0 0 8px;
|
||||
color: #0f5132;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.portal-success-desc {
|
||||
margin: 0;
|
||||
color: #1f5f46;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.portal-shell {
|
||||
padding: 0 10px 24px;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.page-subtitle {
|
||||
max-width: 100%;
|
||||
padding-right: 184px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.page-title {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
padding-top: 76px;
|
||||
}
|
||||
|
||||
.page-brand {
|
||||
left: 0;
|
||||
right: auto;
|
||||
top: 8px;
|
||||
width: 164px;
|
||||
height: 58px;
|
||||
}
|
||||
|
||||
.page-subtitle {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.form-card {
|
||||
padding: 16px 14px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.btn-enviar {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,494 @@
|
||||
if (typeof window !== "undefined") {
|
||||
window.WCMAPI = window.WCMAPI || {};
|
||||
if (typeof window.WCMAPI.isMobileAppMode !== "function") {
|
||||
window.WCMAPI.isMobileAppMode = function () { return false; };
|
||||
}
|
||||
}
|
||||
|
||||
function showCamera(param) {
|
||||
if (typeof JSInterface !== "undefined" && JSInterface && typeof JSInterface.showCamera === "function") {
|
||||
JSInterface.showCamera(param);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
var MyWidget = SuperWidget.extend({
|
||||
init: function () {
|
||||
this.root = $("#MyWidget_" + this.instanceId);
|
||||
this.anexoInfo = null;
|
||||
this.isSending = false;
|
||||
this.bindEvents();
|
||||
this.setupInitialValues();
|
||||
},
|
||||
|
||||
bindEvents: function () {
|
||||
var self = this;
|
||||
|
||||
this.root.find("#btnEnviarNota_" + this.instanceId + ", #btnEnviarNota").off("click").on("click", function () {
|
||||
self.enviarDocumento();
|
||||
});
|
||||
|
||||
this.root.find("#anexaDocumento_" + this.instanceId + ", #anexaDocumento").off("click").on("click", function () {
|
||||
self.handleAnexo();
|
||||
});
|
||||
|
||||
this.root.find("#arquivoLocal_" + this.instanceId + ", #arquivoLocal").off("change").on("change", function () {
|
||||
self.onArquivoSelecionado(this);
|
||||
});
|
||||
|
||||
this.root.find("#tipo_cadastro").off("change").on("change", function () {
|
||||
self.toggleTipoCadastro(this.value);
|
||||
self.clearFieldError("#cpf");
|
||||
self.clearFieldError("#cnpj");
|
||||
});
|
||||
|
||||
this.root.find("#cpf").off("input").on("input", function () {
|
||||
this.value = self.mascaraCPF(this.value);
|
||||
});
|
||||
|
||||
this.root.find("#cnpj").off("input").on("input", function () {
|
||||
this.value = self.mascaraCNPJ(this.value);
|
||||
});
|
||||
|
||||
this.root.find("#valor").off("input").on("input", function () {
|
||||
this.value = self.mascaraValorDocumento(this.value);
|
||||
});
|
||||
|
||||
this.root.find("#valor").off("blur").on("blur", function () {
|
||||
var currentValue = (this.value || "").toString().trim();
|
||||
if (!currentValue) {
|
||||
return;
|
||||
}
|
||||
this.value = self.formatMoneyDisplay(currentValue);
|
||||
});
|
||||
},
|
||||
|
||||
setupInitialValues: function () {
|
||||
this.root.find("#data_abertura").val(this.getCurrentDate());
|
||||
this.root.find("#tipo_cadastro").val("cpf").trigger("change");
|
||||
this.root.find("#emitido_por").val("fornecedor");
|
||||
this.root.find("#tipo_documento").val("danfe");
|
||||
this.root.find("#arquivoLocalNome").text("");
|
||||
this.clearStatus();
|
||||
},
|
||||
|
||||
onArquivoSelecionado: function (inputEl) {
|
||||
var file = inputEl && inputEl.files && inputEl.files[0] ? inputEl.files[0] : null;
|
||||
|
||||
if (!file) {
|
||||
this.anexoInfo = null;
|
||||
this.root.find("#arquivoLocalNome").text("");
|
||||
return;
|
||||
}
|
||||
|
||||
this.anexoInfo = {
|
||||
fileName: file.name,
|
||||
mimeType: file.type || "application/octet-stream",
|
||||
fileSize: file.size || 0,
|
||||
file: file
|
||||
};
|
||||
|
||||
this.root.find("#arquivoLocalNome").text("Arquivo selecionado: " + file.name + " (" + this.formatFileSize(file.size || 0) + ")");
|
||||
this.clearStatus();
|
||||
},
|
||||
|
||||
handleAnexo: function () {
|
||||
this.root.find("#arquivoLocal_" + this.instanceId + ", #arquivoLocal").trigger("click");
|
||||
},
|
||||
|
||||
toggleTipoCadastro: function (tipo) {
|
||||
tipo = this.normalizeTipoCadastro(tipo);
|
||||
var divCpf = this.root.find(".divCpf");
|
||||
var divCnpj = this.root.find(".divCnpj");
|
||||
var cpf = this.root.find("#cpf");
|
||||
var cnpj = this.root.find("#cnpj");
|
||||
|
||||
if (tipo === "cpf") {
|
||||
divCpf.show();
|
||||
divCnpj.hide();
|
||||
cpf.prop("readonly", false);
|
||||
cnpj.prop("readonly", true).val("");
|
||||
return;
|
||||
}
|
||||
|
||||
if (tipo === "cnpj") {
|
||||
divCpf.hide();
|
||||
divCnpj.show();
|
||||
cnpj.prop("readonly", false);
|
||||
cpf.prop("readonly", true).val("");
|
||||
return;
|
||||
}
|
||||
|
||||
divCpf.hide();
|
||||
divCnpj.show();
|
||||
cpf.prop("readonly", true).val("");
|
||||
cnpj.prop("readonly", true).val("");
|
||||
},
|
||||
|
||||
enviarDocumento: function () {
|
||||
var self = this;
|
||||
|
||||
if (this.isSending) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.validateRequiredFields()) {
|
||||
this.setStatus("error", "Revise os campos obrigatorios destacados para continuar.");
|
||||
FLUIGC.toast({
|
||||
title: "Aviso",
|
||||
message: "Preencha os campos obrigatorios antes de enviar.",
|
||||
type: "warning"
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.anexoInfo || !this.anexoInfo.file) {
|
||||
this.setStatus("error", "Selecione um anexo antes de enviar o documento.");
|
||||
FLUIGC.toast({
|
||||
title: "Aviso",
|
||||
message: "Selecione um anexo antes de enviar o documento.",
|
||||
type: "warning"
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
var tipoCadastro = this.normalizeTipoCadastro(this.value("#tipo_cadastro"));
|
||||
var cpf = this.onlyDigits(this.value("#cpf"));
|
||||
var cnpj = this.onlyDigits(this.value("#cnpj"));
|
||||
var numeroDocumento = this.value("#numero_documento");
|
||||
var valor = this.normalizeMoney(this.value("#valor"));
|
||||
var autorizadorResponsavel = self.value("#autorizador_responsavel");
|
||||
var documentoPessoa = tipoCadastro === "cpf" ? cpf : cnpj;
|
||||
var cpfField = tipoCadastro === "cpf" ? cpf : "";
|
||||
|
||||
this.setLoading(true, "Enviando documento, aguarde...");
|
||||
|
||||
var payloadProcesso = {
|
||||
targetState: 5,
|
||||
comment: "Envio via portal fornecedor",
|
||||
formFields: {
|
||||
data_abertura: self.value("#data_abertura"),
|
||||
emitido_por: self.value("#emitido_por"),
|
||||
entidade_responsavel: self.value("#entidade_responsavel"),
|
||||
tipo_cadastro: tipoCadastro,
|
||||
emailSolicitante: self.value("#emailSolicitante"),
|
||||
cpf: cpfField || documentoPessoa,
|
||||
tipo_documento: self.value("#tipo_documento"),
|
||||
numero_documento: numeroDocumento,
|
||||
valor: valor,
|
||||
autorizador_responsavel: autorizadorResponsavel,
|
||||
autorizadorResponsavel: autorizadorResponsavel,
|
||||
justificativa: self.value("#justificativa")
|
||||
}
|
||||
};
|
||||
|
||||
window.__portalfornecedor_lastProcessPayload = payloadProcesso;
|
||||
console.log("[portalfornecedor] payload endpoint:", payloadProcesso);
|
||||
|
||||
this.enviarViaEndpoint(payloadProcesso, this.anexoInfo.file)
|
||||
.done(function (response) {
|
||||
console.log("[portalfornecedor] response endpoint:", response);
|
||||
self.setLoading(false);
|
||||
self.renderSuccessState(response);
|
||||
})
|
||||
.fail(function (xhr) {
|
||||
self.setLoading(false);
|
||||
console.warn("[portalfornecedor] falha no envio via endpoint:", xhr);
|
||||
console.error("[portalfornecedor] detalhe erro endpoint:", {
|
||||
status: xhr.status,
|
||||
statusText: xhr.statusText,
|
||||
responseText: xhr.responseText
|
||||
});
|
||||
self.setStatus("error", self.extractEndpointErrorMessage(xhr));
|
||||
FLUIGC.toast({
|
||||
title: "Erro",
|
||||
message: "Falha ao enviar pelo endpoint do portal.",
|
||||
type: "danger"
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
renderSuccessState: function (response) {
|
||||
var processInstanceId = this.extractProcessInstanceId(response);
|
||||
var idText = processInstanceId ? ("Solicitação " + processInstanceId) : "Solicitação";
|
||||
var html = ""
|
||||
+ "<div class='portal-success-state'>"
|
||||
+ " <h3 class='portal-success-title'>" + idText + " enviada com sucesso.</h3>"
|
||||
+ " <p class='portal-success-desc'>Sua Solicitação foi encaminhada para o Grupo Ginseng para análise.</p>"
|
||||
+ "</div>";
|
||||
|
||||
this.root.html(html);
|
||||
console.log("[portalfornecedor] success state renderizado.");
|
||||
},
|
||||
|
||||
extractProcessInstanceId: function (response) {
|
||||
if (!response) return "";
|
||||
if (response.processInstanceId) return response.processInstanceId;
|
||||
if (response.content && response.content.processInstanceId) return response.content.processInstanceId;
|
||||
if (response.content && response.content.processInstanceid) return response.content.processInstanceid;
|
||||
if (response.content && response.content.requestNumber) return response.content.requestNumber;
|
||||
return "";
|
||||
},
|
||||
|
||||
enviarViaEndpoint: function (payloadProcesso, file) {
|
||||
return $.ajax({
|
||||
url: this.getPublicEndpointUrl(),
|
||||
type: "POST",
|
||||
data: this.buildMultipartData(payloadProcesso, file),
|
||||
processData: false,
|
||||
contentType: false
|
||||
});
|
||||
},
|
||||
|
||||
getPublicEndpointUrl: function () {
|
||||
if (window.portalfornecedorConfig && window.portalfornecedorConfig.publicEndpointUrl) {
|
||||
return window.portalfornecedorConfig.publicEndpointUrl;
|
||||
}
|
||||
|
||||
return "https://api.grupoginseng.com.br/v2/api/public/portalfornecedor/enviar";
|
||||
},
|
||||
|
||||
buildMultipartData: function (payloadProcesso, file) {
|
||||
var formData = new FormData();
|
||||
var formFields = payloadProcesso && payloadProcesso.formFields ? payloadProcesso.formFields : {};
|
||||
var keys = Object.keys(formFields);
|
||||
|
||||
formData.append("targetState", String(payloadProcesso.targetState || 5));
|
||||
formData.append("comment", payloadProcesso.comment || "");
|
||||
|
||||
for (var i = 0; i < keys.length; i++) {
|
||||
var key = keys[i];
|
||||
formData.append(key, formFields[key] == null ? "" : String(formFields[key]));
|
||||
}
|
||||
|
||||
if (file) {
|
||||
formData.append("arquivo", file, file.name || "anexo");
|
||||
}
|
||||
|
||||
return formData;
|
||||
},
|
||||
|
||||
extractEndpointErrorMessage: function (xhr) {
|
||||
if (!xhr || !xhr.responseText) {
|
||||
return "Falha ao enviar pelo endpoint do portal. Veja o console para detalhes.";
|
||||
}
|
||||
|
||||
try {
|
||||
var payload = JSON.parse(xhr.responseText);
|
||||
if (payload && payload.message) {
|
||||
return String(payload.message);
|
||||
}
|
||||
if (payload && payload.detail && typeof payload.detail === "string") {
|
||||
return String(payload.detail);
|
||||
}
|
||||
if (payload && payload.detail && payload.detail.message) {
|
||||
return String(payload.detail.message);
|
||||
}
|
||||
if (payload && payload.detailedMessage) {
|
||||
return String(payload.detailedMessage);
|
||||
}
|
||||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
return xhr.responseText;
|
||||
},
|
||||
|
||||
setLoading: function (isLoading, message) {
|
||||
this.isSending = !!isLoading;
|
||||
var btn = this.root.find("#btnEnviarNota");
|
||||
|
||||
if (isLoading) {
|
||||
btn.prop("disabled", true).text("Enviando...");
|
||||
this.setStatus("success", message || "Processando...");
|
||||
return;
|
||||
}
|
||||
|
||||
btn.prop("disabled", false).text("Enviar documento");
|
||||
},
|
||||
|
||||
setStatus: function (type, message) {
|
||||
var box = this.root.find("#envioStatus");
|
||||
if (!box.length) return;
|
||||
|
||||
box.removeClass("hidden success error");
|
||||
box.addClass(type === "error" ? "error" : "success");
|
||||
box.text(message || "");
|
||||
},
|
||||
|
||||
clearStatus: function () {
|
||||
var box = this.root.find("#envioStatus");
|
||||
if (!box.length) return;
|
||||
box.removeClass("success error").addClass("hidden").text("");
|
||||
},
|
||||
|
||||
validateRequiredFields: function () {
|
||||
var ok = true;
|
||||
var tipoCadastro = this.normalizeTipoCadastro(this.value("#tipo_cadastro"));
|
||||
|
||||
if (!this.value("#emitido_por")) ok = this.markRequired("#emitido_por") && ok;
|
||||
if (!this.value("#entidade_responsavel")) ok = this.markRequired("#entidade_responsavel") && ok;
|
||||
if (!this.value("#tipo_cadastro")) ok = this.markRequired("#tipo_cadastro") && ok;
|
||||
if (!this.value("#numero_documento")) ok = this.markRequired("#numero_documento") && ok;
|
||||
if (!this.value("#autorizador_responsavel")) ok = this.markRequired("#autorizador_responsavel") && ok;
|
||||
if (!this.value("#justificativa")) ok = this.markRequired("#justificativa") && ok;
|
||||
|
||||
if (tipoCadastro === "cpf") {
|
||||
if (!this.onlyDigits(this.value("#cpf"))) ok = this.markRequired("#cpf") && ok;
|
||||
this.clearFieldError("#cnpj");
|
||||
} else if (tipoCadastro === "cnpj") {
|
||||
if (!this.onlyDigits(this.value("#cnpj"))) ok = this.markRequired("#cnpj") && ok;
|
||||
this.clearFieldError("#cpf");
|
||||
}
|
||||
|
||||
if (!this.anexoInfo || !this.anexoInfo.file) ok = this.markRequired("#arquivoLocal") && ok;
|
||||
|
||||
return ok;
|
||||
},
|
||||
|
||||
markRequired: function (selector) {
|
||||
var input = this.root.find(selector);
|
||||
if (!input.length) return false;
|
||||
|
||||
var container = input.closest(".alertaCampo, .form-group");
|
||||
if (container.length) container.addClass("has-error");
|
||||
|
||||
input.one("input change", function () {
|
||||
if ($.trim($(this).val())) {
|
||||
$(this).closest(".alertaCampo, .form-group").removeClass("has-error");
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
clearFieldError: function (selector) {
|
||||
var input = this.root.find(selector);
|
||||
if (!input.length) return;
|
||||
input.closest(".alertaCampo, .form-group").removeClass("has-error");
|
||||
},
|
||||
|
||||
value: function (selector) {
|
||||
return (this.root.find(selector).val() || "").toString().trim();
|
||||
},
|
||||
|
||||
getCurrentDate: function () {
|
||||
var now = new Date();
|
||||
var yyyy = now.getFullYear();
|
||||
var mm = ("0" + (now.getMonth() + 1)).slice(-2);
|
||||
var dd = ("0" + now.getDate()).slice(-2);
|
||||
return yyyy + "-" + mm + "-" + dd;
|
||||
},
|
||||
|
||||
mascaraCPF: function (value) {
|
||||
var v = (value || "").replace(/\D/g, "").slice(0, 11);
|
||||
v = v.replace(/(\d{3})(\d)/, "$1.$2");
|
||||
v = v.replace(/(\d{3})(\d)/, "$1.$2");
|
||||
v = v.replace(/(\d{3})(\d{1,2})$/, "$1-$2");
|
||||
return v;
|
||||
},
|
||||
|
||||
mascaraCNPJ: function (value) {
|
||||
var v = (value || "").replace(/\D/g, "").slice(0, 14);
|
||||
v = v.replace(/^(\d{2})(\d)/, "$1.$2");
|
||||
v = v.replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3");
|
||||
v = v.replace(/\.(\d{3})(\d)/, ".$1/$2");
|
||||
v = v.replace(/(\d{4})(\d)/, "$1-$2");
|
||||
return v;
|
||||
},
|
||||
|
||||
mascaraValorDocumento: function (value) {
|
||||
var raw = (value || "").toString().replace(/[^\d,]/g, "");
|
||||
if (!raw) return "";
|
||||
|
||||
var commaIndex = raw.indexOf(",");
|
||||
var inteiro = "";
|
||||
var decimal = "";
|
||||
|
||||
if (commaIndex >= 0) {
|
||||
inteiro = raw.substring(0, commaIndex).replace(/\D/g, "");
|
||||
decimal = raw.substring(commaIndex + 1).replace(/\D/g, "").slice(0, 2);
|
||||
} else {
|
||||
inteiro = raw.replace(/\D/g, "");
|
||||
}
|
||||
|
||||
inteiro = inteiro.replace(/^0+(?=\d)/, "");
|
||||
if (!inteiro) inteiro = "0";
|
||||
inteiro = inteiro.replace(/\B(?=(\d{3})+(?!\d))/g, ".");
|
||||
|
||||
if (commaIndex >= 0) {
|
||||
return inteiro + "," + decimal;
|
||||
}
|
||||
|
||||
return inteiro;
|
||||
},
|
||||
|
||||
formatMoneyDisplay: function (value) {
|
||||
var normalized = this.normalizeMoney(value);
|
||||
var parts = normalized.split(",");
|
||||
var inteiro = (parts[0] || "").replace(/\D/g, "");
|
||||
var decimal = (parts[1] || "").replace(/\D/g, "").slice(0, 2);
|
||||
|
||||
inteiro = inteiro.replace(/^0+(?=\d)/, "");
|
||||
if (!inteiro) inteiro = "0";
|
||||
if (!decimal) decimal = "00";
|
||||
if (decimal.length === 1) decimal = decimal + "0";
|
||||
|
||||
inteiro = inteiro.replace(/\B(?=(\d{3})+(?!\d))/g, ".");
|
||||
return inteiro + "," + decimal;
|
||||
},
|
||||
|
||||
onlyDigits: function (value) {
|
||||
return (value || "").replace(/\D/g, "");
|
||||
},
|
||||
|
||||
normalizeMoney: function (value) {
|
||||
var raw = (value || "").toString().trim();
|
||||
if (!raw) return "0,00";
|
||||
|
||||
var cleaned = raw.replace(/\s/g, "").replace(/[^\d,\.]/g, "");
|
||||
var inteiro = "";
|
||||
var decimal = "";
|
||||
|
||||
if (cleaned.indexOf(",") >= 0) {
|
||||
var commaParts = cleaned.split(",");
|
||||
inteiro = (commaParts.shift() || "").replace(/\D/g, "");
|
||||
decimal = commaParts.join("").replace(/\D/g, "").slice(0, 2);
|
||||
} else if (cleaned.indexOf(".") >= 0) {
|
||||
var dotParts = cleaned.split(".");
|
||||
var isDecimalDot = dotParts.length === 2 && dotParts[1].length > 0 && dotParts[1].length <= 2;
|
||||
|
||||
if (isDecimalDot) {
|
||||
inteiro = (dotParts[0] || "").replace(/\D/g, "");
|
||||
decimal = (dotParts[1] || "").replace(/\D/g, "").slice(0, 2);
|
||||
} else {
|
||||
inteiro = cleaned.replace(/\D/g, "");
|
||||
decimal = "";
|
||||
}
|
||||
} else {
|
||||
inteiro = cleaned.replace(/\D/g, "");
|
||||
decimal = "";
|
||||
}
|
||||
|
||||
inteiro = inteiro.replace(/^0+(?=\d)/, "");
|
||||
if (!inteiro) inteiro = "0";
|
||||
|
||||
if (!decimal) decimal = "00";
|
||||
if (decimal.length === 1) decimal = decimal + "0";
|
||||
|
||||
return inteiro + "," + decimal;
|
||||
},
|
||||
|
||||
normalizeTipoCadastro: function (value) {
|
||||
return (value || "").toString().trim().toLowerCase();
|
||||
},
|
||||
|
||||
formatFileSize: function (bytes) {
|
||||
var b = Number(bytes || 0);
|
||||
if (b <= 0) return "0 KB";
|
||||
if (b < 1024) return b + " B";
|
||||
if (b < 1048576) return (b / 1024).toFixed(1) + " KB";
|
||||
return (b / 1048576).toFixed(2) + " MB";
|
||||
}
|
||||
});
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user