mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2025-02-16 19:38:26 +00:00
parent
80da47df81
commit
92b5e6e2f2
5 changed files with 58 additions and 36 deletions
|
@ -12,6 +12,7 @@
|
|||
**Changes**:
|
||||
|
||||
* [#486 ET Modules Year on shows not working](https://github.com/WebTools-NG/WebTools-NG/issues/486)
|
||||
* [#488 ExportTools Settings cannot input any text at all](https://github.com/WebTools-NG/WebTools-NG/issues/488)
|
||||
|
||||
## V0.3.16 (20220511)
|
||||
|
||||
|
|
|
@ -166,6 +166,7 @@
|
|||
"Name": "ExportTools",
|
||||
"ErrorServer": "No server",
|
||||
"Settings": {
|
||||
"Name": "@:Modules.ET.Name @:Modules.ET.Settings.Settings",
|
||||
"Settings": "Settings",
|
||||
"Description": "Here you can define the settings for @:Modules.ET.Name",
|
||||
"ArraySep": "Delimiter for multiple info in same field",
|
||||
|
|
|
@ -158,4 +158,3 @@ const menuTemplate = [
|
|||
|
||||
export default menuTemplate;
|
||||
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
<template>
|
||||
<b-container fluid>
|
||||
<div class="col-lg-10 col-md-12 col-xs-12">
|
||||
<p id="demo"></p>
|
||||
<h1>{{ $t("Modules.ET.Settings.Name") }}</h1>
|
||||
<p>{{ $t("Modules.ET.Settings.Description") }}</p>
|
||||
<b-input-group id="ArraySepGrp" :prepend="$t('Modules.ET.Settings.ArraySep')" class="mt-3">
|
||||
|
@ -80,7 +81,8 @@
|
|||
{
|
||||
this.ColumnSep = wtconfig.get('ET.ColumnSep');
|
||||
}
|
||||
alert('For this version, export to XLSX is currently disabled');
|
||||
// alert('For this version, export to XLSX is currently disabled');
|
||||
this.showAlert();
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -108,6 +110,9 @@
|
|||
};
|
||||
},
|
||||
methods: {
|
||||
showAlert(){
|
||||
dialog.ShowMsg( i18n.t("Modules.ET.Name"), i18n.t("Common.Ok"), i18n.t("Common.AppName"), 'For this version, export to XLSX is currently disabled', 'info');
|
||||
},
|
||||
getDefaults(){
|
||||
const cbItems = ["ExpCSV","ExpXLSX", "OrgTitleNull", "SortTitleNull", "suggestedFileNoExtra", "suggestedUseOrigenTitle"];
|
||||
for(let i = 0; i < cbItems.length; i++){
|
||||
|
|
|
@ -3,8 +3,6 @@ This file contains different functions and methods
|
|||
that we use in our solution.
|
||||
*/
|
||||
|
||||
//import i18n from '../../../i18n';
|
||||
|
||||
//import storeStatus from '../../store';
|
||||
|
||||
//storeStatus
|
||||
|
@ -544,6 +542,24 @@ const dialog = new class Dialog {
|
|||
return aboutWindow
|
||||
}
|
||||
|
||||
ShowMsg(Title, OKLabel, MsgHeader, Msg, Type)
|
||||
{
|
||||
log.debug(`[wtutils.js] (ShowMsg) Open ShowMsg Dialog`);
|
||||
const {remote} = require('electron'),
|
||||
dialog = remote.dialog,
|
||||
WIN = remote.getCurrentWindow();
|
||||
let options = {
|
||||
buttons: [OKLabel],
|
||||
title: MsgHeader,
|
||||
message: Title,
|
||||
detail: Msg,
|
||||
type: Type,
|
||||
noLink: true
|
||||
}
|
||||
let showMsgWindow = dialog.showMessageBox(WIN, options)
|
||||
return showMsgWindow
|
||||
}
|
||||
|
||||
OpenDirectory(Title, OKLabel)
|
||||
{
|
||||
log.debug('Start OpenDirectory Dialog')
|
||||
|
|
Loading…
Add table
Reference in a new issue