This commit is contained in:
2020-12-09 18:08:56 +00:00
parent b081f30b4a
commit 3f8bfc0365
9 changed files with 36 additions and 16 deletions

View File

@@ -14,6 +14,7 @@
:dataListFilter="dataListFilter"
:dataListSort="dataListSort"
:showSelect="rights.change"
:reload="reload"
v-on:selection-change="handleSelected"
data-cy="headofficesTable"
>
@@ -40,7 +41,8 @@ export default {
dataListSort: "",
rights: window.$gz.role.defaultRightsObject(),
ayType: window.$gz.type.HeadOffice,
selectedItems: []
selectedItems: [],
reload: false
};
},
methods: {
@@ -72,6 +74,9 @@ async function clickHandler(menuItem) {
window.$gz.type.HeadOffice
)
);
if (res && res.refresh == true) {
m.vm.reload = !m.vm.reload;
}
break;
case "report":
if (m.id != null) {