import request from "@/utils/request"; // 分页查询资料文件 export function getDocumentFilePage(params) { return request({ url: "/business/documentFile/page", method: "get", params }); } // 列表查询资料存放地址(物理) export function getDocumentSaveAddressList(params) { return request({ url: "/business/documentSaveAddress/list", method: "get", params }); } // 新增资料文件 export function documentFileAdd(data) { return request({ url: "/business/documentFile/add", method: "post", data }); } // 修改资料文件 export function documentFileEdit(data) { return request({ url: "/business/documentFile/edit", method: "put", data }); } // 资料文件详情 export function documentFileDetail(id) { return request({ url: `/business/documentFile/${id}`, method: "get" }); } // 删除资料文件 export function documentFileDel(id) { return request({ url: `/business/documentFile/${id}`, method: "delete" }); }