zhangwei
2025-08-22 85c54d88f139096614aea4b06f2166cae27729d7
src/api/item/index.ts
@@ -1,13 +1,12 @@
/**
 * (不建议写成 request.post(xxx),因为这样 post 时,无法 params 与 data 同时传参)
 *
 * 注册api接口集合
 * @method login 登录
 * 项目管理接口集合
 */
import { http } from "@/utils/http";
import { baseUrlApi } from "../util";
import type { Result } from "../types";
import type { Result, PageResult } from "../types";
// 获取行政区域列表
export const getRegionList = () => {
@@ -82,8 +81,10 @@
};
// 获取非政府订单处理详情
export const getTenderOrderDetail = () => {
  return http.request<Result>("get", baseUrlApi("/api/tenderOrder/detail"));
export const getTenderOrderDetail = params => {
  return http.request<Result>("get", baseUrlApi("/api/tenderOrder/detail"), {
    params
  });
};
// 下载非政府订单处理数据导入模板
@@ -104,7 +105,7 @@
// 招标代理分页查询非政府订单处理
export const zhaobiaoPageOrder = (data?: object) => {
  return http.request<Result>("post", baseUrlApi("/api/tenderOrder/page"), {
  return http.request<PageResult>("post", baseUrlApi("/api/tenderOrder/page"), {
    data
  });
};
@@ -169,3 +170,25 @@
    data
  });
};
// 采购代理人发布招标
export const fabuzhaobiao = (data?: object) => {
  return http.request<Result>(
    "post",
    baseUrlApi("/api/tenderOrder/fabuzhaobiao"),
    {
      data
    }
  );
};
// 采购代理人发布招标
export const changezhaobiao = (data?: object) => {
  return http.request<Result>(
    "post",
    baseUrlApi("/api/tenderOrder/changezhaobiao"),
    {
      data
    }
  );
};