|
|
|
@ -742,7 +742,7 @@ export class FormJdbc extends BI.Widget {
|
|
|
|
|
driver: this.form.driver.getValue(), |
|
|
|
|
url: this.form.url.getValue(), |
|
|
|
|
user: this.form.user.getValue(), |
|
|
|
|
password: this.oldPassword === this.form.password.getValue() ? this.oldPassword : BI.encode(this.form.password.getValue()), |
|
|
|
|
password: this.oldPassword === this.form.password.getValue() ? this.oldPassword : BI.Providers.getProvider('dec.provider.cipher').getCipher(this.form.password.getValue()), |
|
|
|
|
queryType: '', |
|
|
|
|
newCharsetName: originalCharsetName ? 'gbk' : '', // 后台要求,originalCharsetName不为空时,newCharsetName为gbk
|
|
|
|
|
originalCharsetName, |
|
|
|
|