common.js 401 B

12345678910111213141516171819202122
  1. import { Base } from '../../static/util/base.js'
  2. class Common extends Base {
  3. constructor() {
  4. super();
  5. }
  6. getDictionary(type, callBack){
  7. var params = {
  8. url: '/ah/ahDictionary/listType?type='+type,
  9. sCallBack: function (res) {
  10. callBack && callBack(res)
  11. }
  12. }
  13. this.serviceRequest(params);
  14. }
  15. }
  16. const _common = new Common();
  17. export { _common }