sample-info-model.js 384 B

12345678910111213141516171819202122
  1. import {
  2. Base
  3. } from '../../static/util/base.js'
  4. class SampleInfo extends Base {
  5. constructor() {
  6. super();
  7. }
  8. getAhSampleDetail(id,callBack) {
  9. var params = {
  10. url: '/ah/ahSampleDetail/list?sampleSheetId='+id,
  11. sCallBack: function(res) {
  12. callBack && callBack(res)
  13. }
  14. }
  15. this.serviceRequest(params);
  16. }
  17. }
  18. const _sampleInfo = new SampleInfo();
  19. export {
  20. _sampleInfo
  21. }