单应用项目,可以创建很多独立工具类页面 ,不用登录 初始化的页面
zhangchen
2025-09-15 d6a773d0b90e64622289eb0362803420efb193b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import request from "@/utils/axios";
import type { StartRecord } from "../patient_hemo_med_start/types/index.type";
 
/**
 * 获取开始透析数据api
 * @param params `recordCode=${recordCode}`
 * @returns 
 */
export function addDefaultRowApi(params: string) :Promise<{ data: StartRecord }> {
  return request({
    url: "/patient/hemo/med/start/addDefaultRow",
    method: "post",
    headers: {
      "Content-Type": "application/x-www-form-urlencoded",
    },
    data: params,
  });
}
 
/**
 * 修改开始透析数据api
 * @param params 
 * @returns 
 */
export function updateMedstartDataApi(params: StartRecord) {
    return request({
        url: '/patient/hemo/med/start/update',
        method: 'post',
        data: params,
    });
}