import { defHttp } from '/@/utils/http/axios';

enum Api {
    list = '/dklc/zyjhList', // 初步调查-分页列表查询(填报中、待受理、待评审、评审通过、评审不通过、评审中不待完善)
    updateZyjh = '/dklc/updateZyjh',  //保存或者提交
    findSzdzg = '/dklc/findSzdzg',//查询所在地部门主管
    findJsdzg = '/dklc/findJsdzg',//查询接收地主管
    queryZyjh = '/dklc/queryZyjh', //查询
    updateQrjl = '/dklc/updateQrjl',
    updateCzwc = '/dklc/updateCzwc',
    zyjhCzwcList = '/dklc/zyjhCzwcList',
    updateZyjhCzwc = '/dklc/updateZyjhCzwc',
    queryCzwc = '/dklc/queryCzwc'


}

export const list = (params) => defHttp.get({ url: Api.list, params });

export const saveOredit = (params) => defHttp.post({ url: Api.updateZyjh, params });

export const findSzdzg = (params) => defHttp.get({ url: Api.findSzdzg, params });

export const findJsdzg = (params) => defHttp.get({ url: Api.findJsdzg, params });

export const queryZyjh = (params) => defHttp.get({ url: Api.queryZyjh, params });

export const updateQrjl = (params) => defHttp.post({ url: Api.updateQrjl, params });

export const updateCzwc = (params) => defHttp.post({ url: Api.updateCzwc, params });

export const zyjhCzwcList = (params) => defHttp.get({ url: Api.zyjhCzwcList, params });

export const updateZyjhCzwc = (params) => defHttp.post({ url: Api.updateZyjhCzwc, params });

export const queryCzwc = (params) => defHttp.get({ url: Api.queryCzwc, params });
