diff --git a/src/lang/ADempiere/en.js b/src/lang/ADempiere/en.js
index 47360819..0d2f71aa 100644
--- a/src/lang/ADempiere/en.js
+++ b/src/lang/ADempiere/en.js
@@ -269,12 +269,14 @@ export default {
advancedQuery: 'Advanced Query'
},
settings: {
- title: 'Page style setting',
+ title: 'setting',
theme: 'Theme Color',
tagsView: 'Open Tags-View',
fixedHeader: 'Fixed Header',
sidebarLogo: 'Sidebar Logo',
- showContextMenu: 'Show Context Information'
+ showContextMenu: 'Show Context Information',
+ isShowTitle: 'Show Títle',
+ isShowMenu: 'Show Menu'
},
profile: {
aboutMe: 'About Me',
@@ -312,6 +314,17 @@ export default {
error: 'Error In Callout'
}
},
+ field: {
+ field: 'Field',
+ info: 'Information',
+ calculator: 'Calculator',
+ preference: 'Preference',
+ codeTranslation: 'Traduccion de Codigo',
+ container: {
+ help: 'Help',
+ description: 'Description'
+ }
+ },
data: {
createRecordSuccessful: 'New record created successfully',
createNewRecord: 'Mode New record',
diff --git a/src/lang/ADempiere/es.js b/src/lang/ADempiere/es.js
index 2884a029..97e00aca 100644
--- a/src/lang/ADempiere/es.js
+++ b/src/lang/ADempiere/es.js
@@ -244,12 +244,14 @@ export default {
advancedQuery: 'Consulta Avanzada'
},
settings: {
- title: 'Configuración de estilo de página',
+ title: 'Configuración',
theme: 'Color del tema',
tagsView: 'Habilitar Tags-View',
fixedHeader: 'Encabezado fijo',
sidebarLogo: 'Logotipo de la barra lateral',
- showContextMenu: 'Mostrar Menu de Contexto'
+ showContextMenu: 'Mostrar Menu de Contexto',
+ isShowTitle: 'Mostrar Título',
+ isShowMenu: 'Mostrar Menu'
},
profile: {
aboutMe: 'Sobre Mi',
@@ -287,6 +289,17 @@ export default {
error: 'Error En Callout'
}
},
+ field: {
+ field: 'Campo',
+ info: 'Informacion',
+ calculator: 'Calculadora',
+ preference: 'Preferencia',
+ codeTranslation: 'Traduccion de Codigo',
+ container: {
+ help: 'Ayuda',
+ description: 'Descripción'
+ }
+ },
data: {
createRecordSuccessful: 'Nuevo registro creado con exito',
createNewRecord: 'Modo nuevo registro',
diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index a0858c66..e5118a65 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -1,60 +1,48 @@
-
{{ $t('settings.title') }}
-
-
- {{ $t('settings.theme') }}
-
-
-
-
- {{ $t('settings.tagsView') }}
-
-
-
-
- {{ $t('settings.showContextMenu') }}
-
-
-
-
- show Title
-
-
-
-
- {{ $t('settings.fixedHeader') }}
-
-
-
-
- Show Header
-
-
-
-
- Show Menu
-
-
-
-
- {{ $t('settings.sidebarLogo') }}
-
-
-
-
-
-
-
- 菜单支持拼音搜索
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -65,7 +53,9 @@ import ThemePicker from '@/components/ThemePicker'
export default {
components: { ThemePicker },
data() {
- return {}
+ return {
+ activeName: '1'
+ }
},
computed: {
isShowTitleForm: {
diff --git a/src/store/modules/ADempiere/contextMenu.js b/src/store/modules/ADempiere/contextMenu.js
index 4503d165..c8b13226 100644
--- a/src/store/modules/ADempiere/contextMenu.js
+++ b/src/store/modules/ADempiere/contextMenu.js
@@ -14,6 +14,8 @@ import { requestListDocumentActions, requestListDocumentStatuses } from '@/api/A
// ]
const initStateContextMenu = {
isShowRightPanel: false,
+ isShowPopoverField: false,
+ optionField: {},
contextMenu: [],
listDocumentStatus: {
defaultDocumentAction: undefined,
@@ -47,8 +49,14 @@ const contextMenu = {
changeShowRigthPanel(state) {
state.isShowRightPanel = !state.isShowRightPanel
},
+ changeShowPopoverField(state) {
+ state.isShowPopoverField = !state.isShowPopoverField
+ },
resetContextMenu(state) {
state = initStateContextMenu
+ },
+ fieldContextMenu(state, payload) {
+ state.optionField = payload
}
},
actions: {
@@ -143,6 +151,9 @@ const contextMenu = {
console.warn(`Error getting document statuses list. Code ${error.code}: ${error.message}.`)
})
})
+ },
+ setOptionField({ commit }, params) {
+ commit('fieldContextMenu', params)
}
},
getters: {
@@ -175,6 +186,9 @@ const contextMenu = {
},
getListDocumentActionByUuid: (state) => (recordUuid) => {
return state.listDocumentAction.find(itemDocumentAction => itemDocumentAction.recordUuid === recordUuid)
+ },
+ getFieldContextMenu: (state) => {
+ return state.optionField
}
}
}
diff --git a/src/views/ADempiere/Window/index.vue b/src/views/ADempiere/Window/index.vue
index 9cd5526c..dbf63898 100644
--- a/src/views/ADempiere/Window/index.vue
+++ b/src/views/ADempiere/Window/index.vue
@@ -295,6 +295,17 @@
+
+
+
import('@/components/ADempiere/Field/contextMenuField/contextInfo')
+ break
+ case this.$t('language'):
+ component = () => import('@/components/ADempiere/Field/contextMenuField/translated/index')
+ break
+ case this.$t('field.calculator'):
+ component = () => import('@/components/ADempiere/Field/contextMenuField/calculator')
+ break
+ case this.$t('field.preference'):
+ component = () => import('@/components/ADempiere/Field/contextMenuField/preference/index')
+ break
+ }
+ return component
+ },
isNewRecord() {
return this.isEmptyValue(this.$route.query) ||
this.isEmptyValue(this.$route.query.action) ||
diff --git a/src/views/profile/index.vue b/src/views/profile/index.vue
index 8f75d628..c6336b5c 100644
--- a/src/views/profile/index.vue
+++ b/src/views/profile/index.vue
@@ -13,6 +13,9 @@
+
+
+
@@ -23,15 +26,17 @@