import request from '@/utils/request';
export const xqgl_list = (data = {}) =>
    request({
        url: '/jcxx/team/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword,
            team_id: data.team_id,



        }
    })
export const xqgl_add = (data = {}) =>
    request({
        url: '/jcxx/team/add',
        data: {
            issubmit: '1',
            jcxx_team: {
                team_name: data.team_name,
                team_start_date: data.team_start_date,
                team_end_date: data.team_end_date,
                team_id: data.team_id,

            }
        }
    })
export const xqgl_edit = (data = {}) =>
    request({
        url: '/jcxx/team/edit',
        data: {
            issubmit: '1',
            id: data.id,
            jcxx_team: {
                team_name: data.team_name,
                team_start_date: data.team_start_date,
                team_end_date: data.team_end_date,
                team_id: data.team_id,


            }
        }
    })
export const xqgl_del = (data = {}) =>
    request({
        url: '/jcxx/team/delete ',
        data: {
            issubmit: '1',
            id: data.id
        }
    })
