This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<v-layout row>
|
||||
<v-flex>
|
||||
<v-card>
|
||||
<v-toolbar>
|
||||
<!-- <v-toolbar>
|
||||
<v-avatar size="64px" tile>
|
||||
<img :src="require('../assets/bw-logo.svg')" alt="AyaNova">
|
||||
</v-avatar>
|
||||
@@ -11,7 +11,7 @@
|
||||
<v-btn large icon to="/log">
|
||||
<v-icon>fa-glasses</v-icon>
|
||||
</v-btn>
|
||||
</v-toolbar>
|
||||
</v-toolbar>-->
|
||||
<v-list two-line subheader>
|
||||
<v-subheader>{{ this.$gzlocale.get("ClientApp")}}</v-subheader>
|
||||
<v-list-tile avatar>
|
||||
@@ -106,6 +106,13 @@
|
||||
<script>
|
||||
/* Xeslint-disable */
|
||||
import aboutInfo from "../api/aboutinfo";
|
||||
|
||||
function clickHandler(item) {
|
||||
if (!item.disabled && !item.key.startsWith("app||")) {
|
||||
alert("about.vue::context click: " + item.key);
|
||||
}
|
||||
}
|
||||
|
||||
export default {
|
||||
beforeCreate() {
|
||||
this.$gzlocale.fetch([
|
||||
@@ -128,10 +135,19 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.$gzevent.$emit("menu-change", {
|
||||
isMain: true,
|
||||
isMain: false,
|
||||
icon: "fa-info-circle",
|
||||
title: this.$gzlocale.get("HelpAboutAyaNova")
|
||||
title: this.$gzlocale.get("HelpAboutAyaNova"),
|
||||
menuItems: [
|
||||
{
|
||||
title: this.$gzlocale.get("log"),
|
||||
icon: "glasses",
|
||||
surface: true,
|
||||
key: "app||nav||log"
|
||||
}
|
||||
]
|
||||
});
|
||||
this.$gzevent.$on("menu-click", clickHandler);
|
||||
|
||||
this.clientInfo.version = aboutInfo.version;
|
||||
this.$gzapi
|
||||
@@ -143,6 +159,9 @@ export default {
|
||||
throw error;
|
||||
});
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.$gzevent.$off("menu-click", clickHandler);
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
serverInfo: { license: { license: {} } },
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
<script>
|
||||
/* xeslint-disable */
|
||||
function clickHandler(item) {
|
||||
if (!item.disabled && !item.key.startsWith("app:")) {
|
||||
if (!item.disabled && !item.key.startsWith("app||")) {
|
||||
alert("inventory-widget-edit.vue::context click: " + item.key);
|
||||
}
|
||||
}
|
||||
@@ -185,19 +185,19 @@ export default {
|
||||
title: this.$gzlocale.get("Save"),
|
||||
icon: "save",
|
||||
surface: true,
|
||||
key: "save"
|
||||
key: "inventory-widget-edit||save"
|
||||
},
|
||||
{
|
||||
title: this.$gzlocale.get("Delete"),
|
||||
icon: "trash-alt",
|
||||
surface: true,
|
||||
key: "delete"
|
||||
key: "inventory-widget-edit||delete"
|
||||
},
|
||||
{ divider: true, inset: false },
|
||||
{
|
||||
title: this.$gzlocale.get("Duplicate"),
|
||||
icon: "clone",
|
||||
key: "duplicate"
|
||||
key: "inventory-widget-edit||duplicate"
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user