teachorNoteach.api.ts 540 B

1234567891011121314151617181920212223242526
  1. import { defHttp } from '/@/utils/http/axios';
  2. import { useMessage } from '/@/hooks/web/useMessage';
  3. const { createConfirm } = useMessage();
  4. enum Api {
  5. queryByTenantId = '/app/appTeachingTime/queryByOrgCode',
  6. edit = '/app/appTeachingTime/edit',
  7. }
  8. /**
  9. *
  10. * @param params
  11. */
  12. export const getQueryByTenantId = (params) => {
  13. return defHttp.get({ url: Api.queryByTenantId, params });
  14. };
  15. /**
  16. * 修改教学日
  17. * @param params
  18. * @returns
  19. */
  20. export const editDay = (params) => {
  21. return defHttp.post({ url: Api.edit, params });
  22. };