1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-07 18:25:45 +08:00

add Documente activity (#874)

* add Documente activity

* add traslate

* add traslation zh

Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
Elsio Sanchez 2021-05-26 17:25:51 -04:00 committed by GitHub
parent 02e4f34b21
commit 0ac0432e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 75 additions and 1 deletions

View File

@ -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.
<img :src="$withBase('/images/components/activity/how-to-use-it-in-the-mobile-version.gif')" />
## 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 <br>
[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)<br>

View File

@ -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.
<img :src="$withBase('/images/components/activity/how-to-use-it-in-the-mobile-version.gif')" />
## 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 <br>
[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)

View File

@ -35,3 +35,28 @@
在移動版本中,必須將其放置在窗口的底部,以查看 “**筆記**” 和 “**活動**” 選項卡,然後選擇 “**活動**” 選項卡以訪問所有對窗口註冊表所做的更改。
<img :src="$withBase('/images/components/activity/how-to-use-it-in-the-mobile-version.gif')" />
## 开发者选项
**活动**面板位于导航栏右侧的图标中。
```bash
└─ src # 主要源代码
└── components # 全局组件
└──ADempiere # ADempiere特定组件
└── containerInfo # 记录信息容器
└── recordLogs # 记录日志
```
在以下路径中可以找到**活动**服务消费调用。
```bash
└─ src # 主要源代码。
└─ api # 全局服务。
└─ ADempiere # 角色服务的主目录。
└──windows # 角色服务的主目录。
```
从该组件中调用的服务有:<br>
[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)

View File

@ -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 {