serve.ts 651 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-09-27 09:05:36
  4. * @LastEditTime: 2021-09-28 08:53:53
  5. * @LastEditors: Please set LastEditors
  6. * @Description: In User Settings Edit
  7. * @FilePath: /MedicalWisdomCheckSys/src/pages/KeepImprove/ qualityRating/serve.js
  8. */
  9. import { request } from 'umi';
  10. // 获取统计表单数据
  11. export const getTableData = async ()=>{
  12. return request('/api/pfm/sysgeneralconfig/getFormStatistical', {
  13. method: 'GET',
  14. });
  15. }
  16. // 获取柱形图数据
  17. export const getColumnData = async ()=>{
  18. return request('/api/pfm/sysgeneralconfig/getStatistics', {
  19. method: 'GET',
  20. });
  21. }