sample-sheet-add-model.js 421 B

1234567891011121314151617181920212223242526
  1. import {
  2. Base
  3. } from '../../static/util/base.js'
  4. class SampleSheetAdd extends Base {
  5. constructor() {
  6. super();
  7. }
  8. createAhSampleSheet(data, callBack){
  9. var params = {
  10. url: '/ah/ahSampleSheet/create',
  11. type: 'POST',
  12. data:data,
  13. sCallBack: function(res) {
  14. callBack && callBack(res)
  15. }
  16. }
  17. this.serviceRequest(params);
  18. }
  19. }
  20. const _sampleSheetAdd = new SampleSheetAdd();
  21. export {
  22. _sampleSheetAdd
  23. }