yxh
sendo
2025-09-29 aefc8784d17df3ff1a103462605c83c4a391cc4d
src/api/system/user.js
@@ -86,6 +86,48 @@
    data: data,
  });
}
// 统计查询
export function getSfStatistics(data) {
  return request({
    url: "/smartor/serviceSubtask/getSfStatistics",
    method: "post",
    data: data,
  });
}
// 满意度明细查询
export function getSfStatisticsJoydetails(data) {
  return request({
    url: "/smartor/serviceSubtask/getSfStatisticsJoydetails",
    method: "post",
    data: data,
  });
}// 满意度统计
export function getSfStatisticsJoy(data) {
  return request({
    url: "/smartor/serviceSubtask/getSfStatisticsJoy",
    method: "post",
    data: data,
  });
}
// 未及时查询
export function selectTimelyRate(data) {
  return request({
    url: "/smartor/servicetask/selectTimelyRate",
    method: "post",
    data: data,
  });
}
// 任务随访率统计表的下钻明细
// sendstate = 2 待随访 5 待随访失败
// preachform = 任务形式(1,人工 2,纸质  3,电话  4,短信  5.微信公众号 6.微信小程序 7.支付宝小程序  8.智能机器人  9.钉钉)
export function querySubtaskList(data) {
  return request({
    url: "/smartor/serviceSubtask/querySubtaskList",
    method: "post",
    data: data,
  });
}
// 用户密码重置
export function updateUserPwd(oldPassword, newPassword) {
@@ -120,7 +162,7 @@
// 保存授权角色
export function updateAuthRole(data) {
  return request({
    url: "/system/user/authRole",
    url: "/system/user/authRole/insertAuthRole",
    method: "post",
    data: data,
  });
@@ -134,10 +176,15 @@
}
// 查询部门下拉树结构
export function deptTreeSelect() {
export function deptTreeSelect(type) {
  const data = {
    deptType:type,
    orgid:localStorage.getItem("orgid"),
  };
  return request({
    url: "/system/user/deptTree",
    method: "get",
    params: data,
  });
}
// 新增科室/病区