wujingjing
2025-03-14 863b5f27a3c9c89551b67569fd4e74e3ea8fb8e2
src/api/attach/index.ts
@@ -3,14 +3,47 @@
export const getAttachTableList = () => {
   return request({
      url: '/attach/get_attach_table_list',
      method: 'get',
      method: 'POST',
   });
};
export const queryAttachTableRecords = (params: any) => {
   return request({
      url: '/attach/query_attach_table_records',
      method: 'get',
      params,
      method: 'POST',
      data: params,
   });
};
/**
 * @description 获取附件指标定义列表
 **/
export const getAttachMetricListByPost = () =>
   request({
      url: `/attach/get_attach_metric_list`,
      method: 'post',
      params: {},
      data: {},
   });
/**
 * @description 查询附件指标值
 * @param {FormData} params
 **/
export const queryAttachMetricValuesByPost = (params) =>
   request({
      url: `/attach/query_attach_metric_values`,
      method: 'post',
      params: {},
      data: params,
   });
/**
 * @description 查询附件指标名称
 * @param {FormData} params
 **/
export const queryAttachMetricNamesByPost = (params) =>
   request({
      url: `/attach/query_attach_metric_names`,
      method: 'post',
      params: {},
      data: params,
   });