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

@@ -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