Browse Source

Pull request #6830: REPORT-86413 feat: 数据连接适配平台加解密改造

Merge in DEC/decision-webui-dcm from ~AUSTIN.DUAN/decision-webui-dcm:feature/x to feature/x

* commit '1cfe9d2ddba0908aee62c6fa43a659068e027347':
  REPORT-86413 feat: 数据连接适配平台加解密改造
feature/x
Austin.Duan-段嗣跃 2 years ago
parent
commit
75c7e52880
  1. 6
      src/modules/crud/decision.api.ts
  2. 1
      types/globals.d.ts

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

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

1
types/globals.d.ts vendored

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

Loading…
Cancel
Save