This commit is contained in:
@@ -161,17 +161,17 @@
|
|||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model="obj.ayaNovaServerUrl"
|
v-model="obj.ayaNovaServerURL"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:disabled="formState.readOnly"
|
:disabled="formState.readOnly"
|
||||||
:clearable="!formState.readOnly"
|
:clearable="!formState.readOnly"
|
||||||
@click:clear="fieldValueChanged('ayaNovaServerUrl')"
|
@click:clear="fieldValueChanged('ayaNovaServerURL')"
|
||||||
:label="$ay.t('AyaNovaServerUrl')"
|
:label="$ay.t('AyaNovaServerURL')"
|
||||||
:rules="[form().required(this, 'ayaNovaServerUrl')]"
|
:rules="[form().required(this, 'ayaNovaServerURL')]"
|
||||||
:error-messages="form().serverErrors(this, 'ayaNovaServerUrl')"
|
:error-messages="form().serverErrors(this, 'ayaNovaServerURL')"
|
||||||
ref="ayaNovaServerUrl"
|
ref="ayaNovaServerURL"
|
||||||
:data-cy="!!$ay.dev ? 'ayaNovaServerUrl' : false"
|
:data-cy="!!$ay.dev ? 'ayaNovaServerURL' : false"
|
||||||
@input="fieldValueChanged('ayaNovaServerUrl')"
|
@input="fieldValueChanged('ayaNovaServerURL')"
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@@ -220,39 +220,6 @@ export default {
|
|||||||
},
|
},
|
||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
/*
|
|
||||||
using System;
|
|
||||||
using AyaNova.Biz;
|
|
||||||
namespace AyaNova.Models
|
|
||||||
{
|
|
||||||
|
|
||||||
public class GlobalOpsNotificationSettings
|
|
||||||
{
|
|
||||||
public long Id { get; set; }//this is always 1 as there is only ever one single global Ops object
|
|
||||||
public uint Concurrency { get; set; }
|
|
||||||
public bool SmtpDeliveryActive { get; set; }
|
|
||||||
public string SmtpServerAddress { get; set; }
|
|
||||||
public string SmtpAccount { get; set; }
|
|
||||||
public string SmtpPassword { get; set; }
|
|
||||||
public NotifyMailSecurity ConnectionSecurity { get; set; }
|
|
||||||
public int SmtpServerPort { get; set; }
|
|
||||||
public string NotifyFromAddress { get; set; }
|
|
||||||
|
|
||||||
public GlobalOpsNotificationSettings()
|
|
||||||
{
|
|
||||||
SmtpDeliveryActive = true;
|
|
||||||
Id = 1;
|
|
||||||
SmtpServerAddress="mail.example.com";
|
|
||||||
SmtpAccount="notifydeliverfromaccount@example.com";
|
|
||||||
SmtpPassword="examplepassword";
|
|
||||||
ConnectionSecurity= NotifyMailSecurity.SSLTLS;
|
|
||||||
SmtpServerPort=587;
|
|
||||||
NotifyFromAddress="noreply@example.com";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
*/
|
|
||||||
return {
|
return {
|
||||||
testAddress: null,
|
testAddress: null,
|
||||||
testDialog: false,
|
testDialog: false,
|
||||||
@@ -269,7 +236,7 @@ namespace AyaNova.Models
|
|||||||
connectionSecurity: null,
|
connectionSecurity: null,
|
||||||
smtpServerPort: null,
|
smtpServerPort: null,
|
||||||
notifyFromAddress: null,
|
notifyFromAddress: null,
|
||||||
ayaNovaServerUrl: null
|
ayaNovaServerURL: null
|
||||||
},
|
},
|
||||||
formState: {
|
formState: {
|
||||||
ready: false,
|
ready: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user