This commit is contained in:
2020-09-08 22:53:19 +00:00
parent de34e3783f
commit 8df2b7f614
3 changed files with 16 additions and 5 deletions

View File

@@ -136,6 +136,9 @@ import * as monaco from "monaco-editor";
/*TODO:
Executive decision, no longer attach reports to emails...ever. User must log in
this is to avoid a lot of fragile code but also for:
Security, email hassle avoidance (attachments increasingly failing), etc etc
determine course of action to handle locale keys list for report based on fields in data source
@@ -155,6 +158,9 @@ Make up sample reports for widget that show off the basics including logo etc
make them auto generate (import from files?) with sample data in seeder
"tab" button color doesn't follow pre-defined colors, use highlight instead
also make the data tab button grayer looking so it's clearer that it's different than the rest
Make a working template with api methods being called
api helper js injected to work with api methods, automatically uses the bearer token in client meta data
export as example and also document

View File

@@ -112,7 +112,7 @@
></v-text-field>
</v-col>
<v-col v-if="showAttachReportId" cols="12" sm="6" lg="4" xl="3">
<v-col v-if="showLinkReportId" cols="12" sm="6" lg="4" xl="3">
ATTACH REPORT todo: dynamic list of reports to select from for
type chosen
</v-col>
@@ -227,7 +227,7 @@ export default {
[Required]
public NotifyDeliveryMethod DeliveryMethod { get; set; }
public string DeliveryAddress { get; set; }
public long? AttachReportId { get; set; }
public long? LinkReportId { get; set; }
public List<string> tags { get; set; }*/
obj: {
id: 0,
@@ -240,7 +240,7 @@ export default {
decValue: 0,
deliveryMethod: 0,
deliveryAddress: null,
attachReportId: 0,
linkReportId: 0,
tags: []
},
@@ -349,7 +349,7 @@ export default {
return false;
}
},
showAttachReportId() {
showLinkReportId() {
//TODO: Many others as well, but for now until those objects exist
switch (this.obj.eventType) {
case 27: //General notification