This commit is contained in:
@@ -134,6 +134,15 @@ todo: Customer UI pages ability to add analytics tracking codes:
|
||||
todo: ADM-USER awaiting customer, headoffice id, etc for those usertypes
|
||||
need to show if that usertype for selection
|
||||
|
||||
todo: open-object-handler.js deal with some utility types:
|
||||
//TODO: FORMCUSTOMIZATION
|
||||
//TODO: LIST VIEW
|
||||
//TODO: Items that are able to be opened from the adm-history form
|
||||
//need to decide to support them and if not then need to modify the message below
|
||||
//to be localized and simply say "Can't open this object type" or something along those lines
|
||||
//TODO: also an alternative might be to have a CanOpenObject method in open-object-handler that is consulted by data-table control before it builds links
|
||||
|
||||
|
||||
todo: NOW THAT FORM IS THERE MOSTLY, CLEAN UP CODE FOR RE-USE in many other forms
|
||||
- Look for things to componentize
|
||||
- Can I componentize the whole form itself so that I have all the basic requirements built in and can just customize certain things for each object type?
|
||||
|
||||
@@ -57,6 +57,11 @@ export default {
|
||||
//error here? or do nothing, doing nothing for now, should only apply if it's an orphan record and that is kind of obvious
|
||||
//or error "Can't open nothing"
|
||||
break;
|
||||
//TODO: Items that are able to be opened from the adm-history form
|
||||
//need to decide to support them and if not then need to modify the message below
|
||||
//to be localized and simply say "Can't open this object type" or something along those lines
|
||||
//TODO: FORMCUSTOMIZATION
|
||||
//TODO: LIST VIEW
|
||||
case ayatype.Translation:
|
||||
vm.$router.push({
|
||||
name: "adm-translation",
|
||||
|
||||
@@ -83,7 +83,6 @@
|
||||
<!-- TEXT (also maybe openable)-->
|
||||
<template v-if="c.i && c.i != 0">
|
||||
<!-- openable object with an ID -->
|
||||
{{ c }}
|
||||
<div
|
||||
class="subtitle-1"
|
||||
@click="gridCellButtonClick(c.key, c.i)"
|
||||
@@ -125,7 +124,6 @@
|
||||
<!-- ENUM (translated to text on getdata) ALSO MAYBE OPENABLE -->
|
||||
<template v-if="c.i && c.ot">
|
||||
<!-- openable object with an ID -->
|
||||
{{ c }}
|
||||
<div
|
||||
class="subtitle-1"
|
||||
@click="gridCellButtonClick(c.key, c.i, c.ot)"
|
||||
@@ -289,7 +287,6 @@
|
||||
<!-- ENUM (translated to text on getdata) ALSO MAYBE OPENABLE -->
|
||||
<template v-if="c.i && c.ot">
|
||||
<!-- openable object with an ID -->
|
||||
{{ c }}
|
||||
<div
|
||||
class="subtitle-1"
|
||||
@click="gridCellButtonClick(c.key, c.i, c.ot)"
|
||||
|
||||
Reference in New Issue
Block a user