This commit is contained in:
2020-07-28 18:44:39 +00:00
parent 49f1a78c4c
commit 2c850d68ab
3 changed files with 23 additions and 6 deletions

View File

@@ -12,11 +12,11 @@ ____________
## CURRENT STAGE:
todo: direct notification edit form accept array of user id's to preselect
This way other forms can prepopulate userlist based on their requirements and status
todo: from User form be able to send a direct notification to that user
todo: Extensions from single edit forms??
todo: direct notification extension
todo: from User form be able to send a direct notification to that user
todo: from users list form extension for direct notification
@@ -28,7 +28,7 @@ todo: notification system docs
##########################
todo: generated user names have numbers in them and are not the same as the id. Do they need numbers? Can it just keep an internal list of used names and bump
or query the db to see if it's already used because there are not that many generated users generally.
todo: User edit form role control is not working
todo: server state form is not getting dirtied when setting radio button, only on text (try going to closed then open and not change text on open)
todo: ops backup file list not in order by date, seems to be random or something, I want newest at top oldest at bottom

View File

@@ -3,7 +3,7 @@
<v-col>
<v-form ref="form">
<v-row>
{{ toUsers }}
<!-- {{ toUsers }} -->
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
<v-row cols="12">
<v-col cols="9">

View File

@@ -1,5 +1,11 @@
<template>
<v-container fluid>
<gz-extensions
:ayaType="ayType"
:selectedItems="selectedItems"
ref="extensions"
>
</gz-extensions>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<!-- {{ formState }} -->
<v-row v-if="formState.ready">
@@ -357,7 +363,8 @@ export default {
serverError: {}
},
rights: window.$gz.role.defaultRightsObject(),
ayaType: window.$gz.type.Widget
ayaType: window.$gz.type.Widget,
selectedItems: [$route.params.recordid]
};
},
//WATCHERS
@@ -628,6 +635,9 @@ async function clickHandler(menuItem) {
case "duplicate":
m.vm.duplicate();
break;
case "extensions":
let res = await m.vm.$refs.extensions.open();
break;
case "report":
if (m.id != null) {
//last report selected
@@ -738,6 +748,13 @@ function generateMenu(vm) {
});
}
menuOptions.menuItems.push({
title: "Extensions",
icon: "fa-puzzle-piece",
key: FORM_KEY + ":extensions",
vm: vm
});
window.$gz.eventBus.$emit("menu-change", menuOptions);
}