import request from '@/utils/request'
export const bbtjxq_list = (data = {}) =>
    request({
        url: '/jdbg/cfbtsb_bbtj_xq/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword,
            lclx: data.lclx,
            shr: data.shr

        },
    })

import request from '@/utils/request'
export const bbtjxq_add = (data = {}) =>
    request({
        url: '/jdbg/cfbtsb_bbtj_xq/add',
        data: {
            issubmit: '1',
            jdbg_cfbtsb_bbtj_xq: {
                cjr: data.cjr,
                lclx: data.lclx,
                shr: data.shr,


            }

        },
    })

export const bbtjxq_edit = (data = {}) =>
    request({
        url: '/jdbg/cfbtsb_bbtj_xq/edit',
        data: {
            issubmit: '1',
            id: data.id,
            jdbg_cfbtsb_bbtj_xq: {
                cjr: data.cjr,
                lclx: data.lclx,
                shr: data.shr,
            }

        },
    })

export const bbtjxq_del = (data = {}) =>
    request({
        url: '/jdbg/cfbtsb_bbtj_xq/delete',
        data: {
            id: data.id
        },
    })
export const bbtjxq_detail = (data = {}) =>
    request({
        url: '/jdbg/cfbtsb_bbtj_xq/detail',
        data: {
            id: data.id
        },
    })





