123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- import {
- request
- } from "./index.js";
- // 数据字典查询
- export const reqDictionary = (postData) =>
- request({
- url: "/common/common/getDictionary",
- data: postData,
- method: 'POST'
- });
- // 用户登录接口
- export const reqLogin = (postData) =>
- request({
- url: "/auth/login",
- data: postData,
- method: 'POST'
- });
- // 首页查看急标和普标数量
- export const reqSpecimenWorkOrderMsg = (postData) =>
- request({
- url: "/nurse/getSpecimenWorkOrderMsg",
- data: postData,
- method: 'POST'
- });
- // 首页快捷工单(其他临床服务任务类型)
- export const reqDeptTaskType = (postData) =>
- request({
- url: "/nurse/getDeptTaskType",
- data: postData,
- method: 'POST'
- });
- // 获取动态二维码
- export const reqDeptCodes = (postData) =>
- request({
- url: "/dept/deptCodes/0",
- data: postData,
- method: 'POST'
- });
- // fetchDataList查询(通用)
- export const reqFetchDataList = (type, target, postData) =>
- request({
- url: `/${type}/fetchDataList/${target}`,
- data: postData,
- method: 'POST'
- });
- // 获取一键建单所需的信息
- export const reqBuildTrip = (postData) =>
- request({
- url: '/nurse/workOrder/buildTrip',
- data: postData,
- method: 'POST'
- });
- // 获取一键建单所需的历史输入信息
- export const reqRecentRemarks = (postData) =>
- request({
- url: '/nurse/workOrder/recentRemarks',
- data: postData,
- method: 'POST'
- });
- // 建单
- export const reqBuildOrder = (postData) =>
- request({
- url: '/api/startOrder',
- data: postData,
- method: 'POST'
- });
- // 切换院区
- export const reqChangeHospital = (postData) =>
- request({
- url: '/auth/changeHospital',
- data: postData,
- method: 'POST'
- });
- // 更新操作
- export const reqUpdData = (type, target, postData) =>
- request({
- url: `/${type}/updData/${target}`,
- data: postData,
- method: 'POST'
- });
- // 获取当前用户登录信息
- export const reqGetCurrentUser = () =>
- request({
- url: '/user/data/getCurrentUser',
- });
- // 撤回
- export const reqDelWorkOrder = (orderId) =>
- request({
- url: `/workerOrder/delWorkOrder/${orderId}`,
- });
- // 加急
- export const reqUrge = (postData) =>
- request({
- url: `/workerOrder/urge`,
- data: postData,
- method: 'POST'
- });
- // 立即执行
- export const reqDirectStartOrder = (id) =>
- request({
- url: `/api/directStartOrder/${id}`,
- });
- // 评价
- export const reqEvaluate = (id, postData) =>
- request({
- url: `/nurse/workOrder/evaluate/${id}`,
- data: postData,
- method: 'POST'
- });
- // fetchData查询(通用)
- export const reqFetchData = (type, target, id) =>
- request({
- url: `/${type}/fetchData/${target}/${id}`,
- });
- // 获取流程信息
- export const reqFetchWorkOrderLog = (id) =>
- request({
- url: `/ser/fetchWorkOrderLog/${id}`,
- });
- // 患者详情,患者标本,患者检查
- export const reqGetPatientInspectInfo = (postData) =>
- request({
- url: `/nurse/workOrder/getPatientInspectInfoByTime`,
- data: postData,
- method: 'POST'
- });
- // 患者一键建单请求任务类型
- export const reqDeptTSPTaskType = (postData) =>
- request({
- url: `/configuration/deptTSPTaskType`,
- data: postData,
- method: 'POST'
- });
- // 患者建单接口
- export const reqBuild = (type, postData) =>
- request({
- url: `/api/${type}`,
- data: postData,
- method: 'POST'
- });
- // 首页查询急标或普标列表
- export const reqGetSpecimenWorkOrderDetails = (postData) =>
- request({
- url: `/nurse/getSpecimenWorkOrderDetails`,
- data: postData,
- method: 'POST'
- });
|