This commit is contained in:
@@ -48,8 +48,8 @@ All platforms and browsers
|
|||||||
- DONE Not authenticated at all 401
|
- DONE Not authenticated at all 401
|
||||||
- DONE Redirect to login
|
- DONE Redirect to login
|
||||||
- DONE Not authorized for this object 403 (could be due to not own or whatever, we don't care, server handles that shit, client just knows not to show it)
|
- DONE Not authorized for this object 403 (could be due to not own or whatever, we don't care, server handles that shit, client just knows not to show it)
|
||||||
- Object...BUT with READONLY flag of some kind present (in outer wrapper??), so client knows to show read only and not allow editing
|
- DONE Object...BUT with READONLY flag of some kind present (in outer wrapper??), so client knows to show read only and not allow editing
|
||||||
- And client doesn't need to work out self owned etc
|
- DONE And client doesn't need to work out self owned etc
|
||||||
- DONE Object without readonly flag present so fully editable!!! WOOT!
|
- DONE Object without readonly flag present so fully editable!!! WOOT!
|
||||||
- Form (AND THE LIST OBJECT) should check rights and adapt accordingly
|
- Form (AND THE LIST OBJECT) should check rights and adapt accordingly
|
||||||
- ReadFULL record but no change should show record read only
|
- ReadFULL record but no change should show record read only
|
||||||
@@ -126,7 +126,7 @@ TODO: Grid / LIST VIEW = I know customers will want to control what shows in the
|
|||||||
- Customers probably want the option of picking what fields show and what don't
|
- Customers probably want the option of picking what fields show and what don't
|
||||||
- Need to think this over, do I have defined columns or is the list just for display to select the record in which case can it just be one column with user selected values showing??
|
- Need to think this over, do I have defined columns or is the list just for display to select the record in which case can it just be one column with user selected values showing??
|
||||||
|
|
||||||
|
TODO: Outstanding case with vuetify bug in clear button when readonly, check if fixed and if it isn't might need a workaround
|
||||||
|
|
||||||
DON'T code the user options with the currency symbol etc until after it's all been worked out client side. Use static values instad in locale.
|
DON'T code the user options with the currency symbol etc until after it's all been worked out client side. Use static values instad in locale.
|
||||||
Locale should fetch those settings the first time it sees they are not present so that they are refreshed upon use and are not stored in localstorage
|
Locale should fetch those settings the first time it sees they are not present so that they are refreshed upon use and are not stored in localstorage
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ export default {
|
|||||||
vm.appBar.menuItems.push({
|
vm.appBar.menuItems.push({
|
||||||
title: vm.$gzlocale.get("Logout"),
|
title: vm.$gzlocale.get("Logout"),
|
||||||
icon: "sign-out-alt",
|
icon: "sign-out-alt",
|
||||||
color: "pink",
|
|
||||||
key: "app:logout"
|
key: "app:logout"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -151,17 +151,6 @@
|
|||||||
<br>
|
<br>
|
||||||
</v-flex>
|
</v-flex>
|
||||||
</v-layout>
|
</v-layout>
|
||||||
<!-- <v-layout align-left justify-center row wrap mt-5>
|
|
||||||
<v-flex xs6 sm4>
|
|
||||||
<v-btn small @click="remove">{{ this.$gzlocale.get("Delete")}}</v-btn>
|
|
||||||
</v-flex>
|
|
||||||
<v-flex xs6 sm4>
|
|
||||||
<v-btn small @click="stubTestClick">TEST BUTTON</v-btn>
|
|
||||||
</v-flex>
|
|
||||||
<v-flex xs6 sm4>
|
|
||||||
<v-btn small @click="submit">{{ this.$gzlocale.get("Save")}}</v-btn>
|
|
||||||
</v-flex>
|
|
||||||
</v-layout>-->
|
|
||||||
</v-form>
|
</v-form>
|
||||||
</v-flex>
|
</v-flex>
|
||||||
</v-layout>
|
</v-layout>
|
||||||
@@ -207,9 +196,6 @@ function generateMenu(vm, readOnly) {
|
|||||||
menuItems: []
|
menuItems: []
|
||||||
};
|
};
|
||||||
|
|
||||||
//eslint-disable-next-line
|
|
||||||
console.log(readOnly);
|
|
||||||
|
|
||||||
if (readOnly != true) {
|
if (readOnly != true) {
|
||||||
menuOptions.menuItems = [
|
menuOptions.menuItems = [
|
||||||
{
|
{
|
||||||
@@ -235,8 +221,7 @@ function generateMenu(vm, readOnly) {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
//eslint-disable-next-line
|
|
||||||
console.log(menuOptions);
|
|
||||||
vm.$gzevent.$emit("menu-change", menuOptions);
|
vm.$gzevent.$emit("menu-change", menuOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -308,8 +293,8 @@ export default {
|
|||||||
//WATCHERS
|
//WATCHERS
|
||||||
watch: {
|
watch: {
|
||||||
formState: {
|
formState: {
|
||||||
// eslint-disable-next-line
|
handler: function(val) {
|
||||||
handler: function(val, oldVal) {
|
//,oldval is available here too if necessary
|
||||||
if (this.formState.loading) {
|
if (this.formState.loading) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user