#238 GUI done for now

This commit is contained in:
UKDTOM 2021-02-02 00:46:46 +01:00
parent fec4e6df7e
commit b29b5fffba
3 changed files with 9 additions and 5 deletions

View file

@ -218,7 +218,8 @@
"SortTitleNull": "Default \"Sort Title\" to \"Title\", if empty",
"AutoXLSCol": "Autosize column (xlsx only)",
"AutoXLSRow": "Autosize row (xlsx only)",
"NotAvailIndicator": "What to use if a field can't be found"
"NotAvailIndicator": "What to use if a field can't be found",
"Delimiter": "Delimiter to use with a text based field"
},
"LevelInfo": "Export level determines which data are going to be exported.",
"ExportLevel": "Export Level",

View file

@ -123,10 +123,6 @@
},
selectedServerAddressUpdateInProgress: async function(){
this.selLibraryWait = false;
},
statusMsg: async function(){
console.log('Ged Watch for statusMsg: ' + this.statusMsg())
this.statusMsg();
}
},
created() {

View file

@ -14,6 +14,9 @@
<b-input-group id="ArraySepGrp" :prepend="$t('Modules.ET.Settings.ArraySep')" class="mt-3">
<b-form-input id="ArraySep" name="ArraySep" type="text" class="form-control" v-model="ArraySep" :disabled=false :maxlength=1 @change="setArraySep()"></b-form-input>
</b-input-group>
<b-input-group id="TextSepGrp" :prepend="$t('Modules.ET.Settings.Delimiter')" class="mt-3">
<b-form-input id="TextSep" name="TextSep" type="text" class="form-control" v-model="TextSep" :disabled=false :maxlength=1 @change="setTextSep()"></b-form-input>
</b-input-group>
<b-input-group id="NotAvailIndicatorGrp" :prepend="$t('Modules.ET.Settings.NotAvailIndicator')" class="mt-3">
<b-form-input id="NotAvailIndicator" name="NotAvailIndicator" type="text" class="form-control" v-model="NotAvailIndicator" :disabled=false @change="setNotAvailIndicator()"></b-form-input>
</b-input-group>
@ -57,6 +60,7 @@
return {
outDirVal: wtconfig.get('ET.OutPath', i18n.t('Modules.ET.Settings.SelectOutDir')),
ArraySep: wtconfig.get('ET.ArraySep'),
TextSep: wtconfig.get('ET.TextSep', '"'),
NotAvailIndicator: wtconfig.get('ET.NotAvail', 'N/A'),
ColumnSep: '',
TimeOut: wtconfig.get('PMS.TimeOut'),
@ -123,6 +127,9 @@
setArraySep: function(){
wtconfig.set('ET.ArraySep', this.ArraySep)
},
setTextSep: function(){
wtconfig.set('ET.TextSep', this.TextSep)
},
setNotAvailIndicator: function(){
wtconfig.set('ET.NotAvail', this.NotAvailIndicator)
},