This commit is contained in:
2020-02-17 22:56:09 +00:00
parent e4a782773f
commit 4b3bc936ce
4 changed files with 15 additions and 22 deletions

View File

@@ -24,15 +24,7 @@ export default {
icon: "vial",
title: window.$gz.locale.get("WidgetList"),
helpUrl: "form-ay-data-list-view",
menuItems: [
{
title: window.$gz.locale.get("DataListView"),
icon: "filter",
surface: true,
key: FORM_KEY + ":listview",
vm: this
}
]
menuItems: []
});
},
created() {
@@ -66,16 +58,6 @@ function clickHandler(menuItem) {
var m = window.$gz.menu.parseMenuItem(menuItem);
if (m.owner == FORM_KEY && !m.disabled) {
switch (m.key) {
case "listview":
m.vm.$router.push({
name: "ay-data-list-view",
params: {
recordid: m.vm.currentListViewId,
dataListKey: m.vm.dataListKey
}
});
break;
default:
window.$gz.eventBus.$emit(
"notify-warning",