Browse Source

Merge pull request #6901 in DEC/decision-webui-dcm from bugfix/11.0 to feature/x

* commit 'dc16cad6520ff6cefcd89c710146298ae7dfa363':
  Revert "REPORT-86413 feat: 数据连接适配平台加解密改造"
feature/x
superman 2 years ago
parent
commit
70a563d215
  1. 6
      src/modules/crud/decision.api.ts
  2. 1
      types/globals.d.ts

6
src/modules/crud/decision.api.ts

@ -107,11 +107,13 @@ export class DecisionApi implements Api {
}
getCipher(password: string) {
return Dec.Utils['getTransCipherText'](password);
return BI.Providers.getProvider('dec.provider.cipher')
.getCipher(password);
}
getPlain(cipher: string) {
return Dec.Utils['getPlainText'](cipher);
return BI.Providers.getProvider('dec.provider.cipher')
.getPlain(cipher);
}
getHyperlink(name: string) {

1
types/globals.d.ts vendored

@ -13,7 +13,6 @@ declare const Dec: {
connected: boolean;
};
system: {};
Utils: {},
personal: {
username: string;
};

Loading…
Cancel
Save