index.ts 674 B

12345678910111213141516171819
  1. import { request, handle } from '@kasite/uni-app-base';
  2. import { REQUEST_CONFIG } from '@/config';
  3. /**
  4. * 排队候诊列表
  5. */
  6. export const getQueueInfo = async (queryData: any) => {
  7. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/queue/QueueWs/GetQueueInfo/callApiJSON.do`, queryData));
  8. return handle.catchPromiseNew(resp, () => resp);
  9. };
  10. /**
  11. * 设置智能提醒
  12. */
  13. export const setReMindNo = async (queryData: any) => {
  14. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/queue/QueueWs/SetReMindNo/callApiJSON.do`, queryData));
  15. return handle.catchPromiseNew(resp, () => resp);
  16. };