import request from "@/api/request.js";

// 提出背景
/**
 * @param {cRelated, currentPage, id, pageSize} 
 */
export function getDecreeBackground(params) {
    return request({
        method: 'GET',
        url: `/api/administrativeOrderInfo/background/${id}`,
        params
    })
}

// 相关事件
/**
 * @param { id } 
 */
export function getDecreeRelatedEvent(params) {
    return request({
        method: 'GET',
        url: `/api/administrativeOrderInfo/relateEvent/${id}`,
        params
    })
}

// 法律依据
/**
 * @param { id } 
 */
export function getDecreeDepend(params) {
    return request({
        method: 'GET',
        url: `/api/administrativeOrderInfo/depend/${id}`,
        params
    })
}