department.js 621 B

12345678910111213141516171819202122232425262728
  1. import request from '@/utils/request'
  2. // 获取部门列表
  3. export const getDepartmentList = (data) => {
  4. return request({
  5. url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/user/dept/tree`,
  6. method: 'post',
  7. data
  8. })
  9. }
  10. // 标准部门科室管理
  11. export const deptTree = (data) => {
  12. return request({
  13. url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/standard/dept/tree`,
  14. method: 'POST',
  15. data
  16. })
  17. }
  18. // 修改配置
  19. export function ruleConfigUpdateConfig(data) {
  20. return request({
  21. url: `${window.GLOBAL_CONFIG.API_DOCTOR}/sys/dataLabel/ruleConfig/updateConfig`,
  22. method: 'POST',
  23. data
  24. })
  25. }