import request from '../../utils/request'

export function getDicList() {
    return request({
        url: '/surgeryArrangement/getDicList',
        method: 'get',
    })
}

export function huoQuShouShuAnPaiXinXi(data) {
    return request({
        url: '/surgeryArrangement/huoQuShouShuAnPaiXinXi',
        method: 'post',
        data
    })
}

export function cancelSurgery(recordId) {
    return request({
        url: '/surgeryArrangement/cancelSurgery',
        method: 'get',
        params: { recordId }
    })
}

export function updateArrangement(recordId, key, value) {
    return request({
        url: '/surgeryArrangement/updateArrangement',
        method: 'get',
        params: { recordId, key, value }
    })
}
