diff --git a/docs/es/guide/components/activity.md b/docs/es/guide/components/activity.md index 3cd9415d..3ed073e8 100644 --- a/docs/es/guide/components/activity.md +++ b/docs/es/guide/components/activity.md @@ -35,3 +35,29 @@ En la versión de escritorio se hace clic sobre el icono "**i**", ubicado en la En la versión móvil se debe posicionar en la parte inferior de la ventana para visualizar las pestañas "**Notas**" y "**Actividad**", luego se selecciona la pestaña "**Actividad**", para acceder a todos los cambios efectuados en el registro de la ventana. + +## Opciones para el Desarrollador + +El panel de **Actividad** se encuentra en el icono a la derecha en la barra de navegacion. + +```bash + └─ src # Código fuente principal + └── components # Componentes globales + └─ADempiere # Componentes específicos de ADempiere + └── containerInfo # Contenedor de informacion del registro + └── recordLogs # Registro de Actividades +``` + +Aquí puede ver un [Demo](https://demo-ui.erpya.com/#/7aa4242a-93c0-42d8-92be-8250002d3e3c/d97027fd-4cd5-445e-8fd8-ef5d3f7959b4/window/53418?tabParent=0&action=fa50908e-40f1-11e9-91a1-0242ac140002) + +El llamado al consumo de servicio de **Actividad** se encuentra en la siguiente ruta: + +```bash +└─ src # Código fuente principal + └─ api # Servicios globales + └─ ADempiere # Directorio principal de los servicios de roles + └─ windows # Directorio principal de los servicios de roles +``` + +Los servicios llamados del componente son
+[POST /adempiere-api/logs/list-entity-logs](https://adempiere.github.io/proxy-adempiere-api/guide/default-modules/adempiere-api/user-log.html#post-adempiere-api-logs-list-entity-logs)
diff --git a/docs/guide/components/activity.md b/docs/guide/components/activity.md index 69a026f4..fe83c05b 100644 --- a/docs/guide/components/activity.md +++ b/docs/guide/components/activity.md @@ -35,3 +35,26 @@ In the desktop version, click on the icon "**i**", located in the central right In the mobile version, it must be positioned at the bottom of the window to view the "**Notes**" and "**Activity**" tabs, then select the "**Activity**" tab, to access all changes made to the window registry. + +## Developer Options + +The **Activity** panel is located in the icon on the right side of the navigation bar. + +```bash + └─ src # Main source code + └── components # Global components + └─ADempiere # ADempiere specific components + └── containerInfo # Record Information Container + └── recordLogs # Record Logs +``` + +The **Activity** service consumption call can be found in the following path: + +```bash +└─ src # Main source code. + └─ api # Global services. + └─ ADempiere # Main directory of role services. + └─ windows # Main directory of role services. +``` +The services called from the component are
+[POST /adempiere-api/logs/list-entity-logs](https://adempiere.github.io/proxy-adempiere-api/guide/default-modules/adempiere-api/user-log.html#post-adempiere-api-logs-list-entity-logs) \ No newline at end of file diff --git a/docs/zh/guide/components/activity.md b/docs/zh/guide/components/activity.md index 4f7d37f7..02043720 100644 --- a/docs/zh/guide/components/activity.md +++ b/docs/zh/guide/components/activity.md @@ -35,3 +35,28 @@ 在移動版本中,必須將其放置在窗口的底部,以查看 “**筆記**” 和 “**活動**” 選項卡,然後選擇 “**活動**” 選項卡以訪問所有對窗口註冊表所做的更改。 + +## 开发者选项 + +**活动**面板位于导航栏右侧的图标中。 + +```bash + └─ src # 主要源代码 + └── components # 全局组件 + └──ADempiere # ADempiere特定组件 + └── containerInfo # 记录信息容器 + └── recordLogs # 记录日志 +``` + +在以下路径中可以找到**活动**服务消费调用。 + +```bash +└─ src # 主要源代码。 + └─ api # 全局服务。 + └─ ADempiere # 角色服务的主目录。 + └──windows # 角色服务的主目录。 +``` + +从该组件中调用的服务有:
+ +[POST /adempiere-api/logs/list-entity-logs](https://adempiere.github.io/proxy-adempiere-api/guide/default-modules/adempiere-api/user-log.html#post-adempiere-api-logs-list-entity-logs) \ No newline at end of file diff --git a/src/utils/ADempiere/resource.js b/src/utils/ADempiere/resource.js index 3088fa04..a703a0b7 100644 --- a/src/utils/ADempiere/resource.js +++ b/src/utils/ADempiere/resource.js @@ -76,7 +76,7 @@ export function getImagePath({ operation = 'fit' }) { const url = config.adempiere.images.url - const urn = `/img?action=${operation}&width=${width}&height=${height}&url=${file}` + const urn = `img?action=${operation}&width=${width}&height=${height}&url=${file}` const uri = `${url}${urn}` return {