1
wwl
2 天以前 2ee7a81c2eb0df1fc473da6dbbaa13df662967c5
src/api/system/tijian.js
@@ -1,4 +1,5 @@
import request from "@/utils/request";
// import request1 from "@/utils/request1";
// 查询体检套餐列表
export function deptTreeSelect(cusSex) {
@@ -10,6 +11,17 @@
    },
  });
}
// 查询团体体检套餐列表
export function tuantiSelect(param) {
  return request({
    url: "/hosp/dwgrouping/huoqutuantitaocanxiangmu",
    method: "get",
    params: {
      sex: param.sex,
      dwId: param.dwId,
    },
  });
}
// 每个项目
export function getIsRequired() {
  return request({
@@ -17,7 +29,13 @@
    method: "get",
  });
}
export function gaibianzhekou(data) {
  return request({
    url: "/hosp/order/updateTransitionnewPrice",
    method: "post",
    data: data,
  });
}
// 选择体检项目(所有服项目)选单项时调用的接口
export function projectGetList() {
  return request({
@@ -37,10 +55,13 @@
  });
}
export function getProParentIdDxList() {
export function getProParentIdDxList(xb) {
  return request({
    url: "/hosp/project/getProParentIdDxList",
    method: "get",
    params: {
      xb: xb,
    },
  });
}
@@ -50,13 +71,15 @@
    url: "/hosp/order",
    method: "post",
    data: data,
    // responseType: 'blob',
    // headers:{
    //   "type": 'application/pdf'
    // }
  });
}
export function getOrderzhiye(data) {
  return request({
    url: "/hosp/order",
    method: "post",
    data: data,
  });
}
// 根据身份证显示信息
export function getCusIdcard(cusIdcard) {
  return request({
@@ -87,7 +110,14 @@
    data: data,
  });
}
// 时间轴
export function shijianzhou(data) {
  return request({
    url: "/hosp/order/zongjanyemianshjianzhou",
    method: "post",
    data: data,
  });
}
// 添加过渡表数据
export function getaddtTransition(data) {
  return request({
@@ -96,7 +126,14 @@
    data: data,
  });
}
// 添加过渡表数据
export function tuantiqueren(data) {
  return request({
    url: "/hosp/order/ttaddtTransition",
    method: "post",
    data: data,
  });
}
// 查询过渡表数据
export function getTransitionList(cusId) {
  return request({
@@ -107,7 +144,16 @@
    },
  });
}
// 查询过渡表数据
export function getTransitionList1(cusId) {
  return request({
    url: "/hosp/order/newgetTransitionList",
    method: "get",
    params: {
      cusId: cusId,
    },
  });
}
// 登记成功后生成导诊单
export function getGuide(tjNumber) {
  return request({
@@ -170,3 +216,35 @@
    params: data,
  });
}
export function getZhList() {
  return request({
    url: "/system/zhxm/getZhList",
    method: "get",
  });
}
export function listByZhId(zhId) {
  return request({
    url: "/system/zhxm/listByZhId",
    method: "get",
    params:{zhId:zhId}
  });
}
// 补录
export function getaddtTransition1(data) {
  return request({
    url: "/hosp/order/addBlTransition",
    method: "post",
    data: data,
  });
}
// export function readCertCardInfos() {
//   return request1({
//     url: "/readCertCardInfos",
//     method: "get",
//   });
// }