zd.js 2.05 KB
import request from "@/plugin/axios";

/**
 * 保存面积分摊表
 * @param data
 * @constructor
 */
export function savemjft(data) {
    return request({
        url: "/zd/qjGygyzdmjft/insertQjGygyzdmjft",
        method: "post",
        data: data,
    });
}

/**
 * 新增宗地基本信息
 */
export function insertQjZdjbxx(data) {
    return request({
        url: "zd/qjZdjbxx/insertQjZdjbxx",
        method: "post",
        data: data,
    });
}

/**
 * 生成宗地代码
 */
export function getBdcdyh(dpdm, dptype) {
    return request({
        url: '/system/generator/getBdcdyh',
        method: 'get',
        params: {
            dpdm: dpdm,
            dptype: dptype
        }
    })
}

/**
 * 查询界址点
 */
export function queryjzd(glBsm) {
    return request({
        url: "/zd/qjJzd/getQjJzdListByGlBsm",
        method: "get",
        params: {
            glBsm,
        },
    });
}

/**
 * 查询界址线
 */
export function queryjzx(glBsm) {
    return request({
        url: '/zd/qjJzx/getQjJzxListByGlBsm',
        method: 'get',
        params: {
            glBsm
        }
    })
}
/**
 * 根据zdbsm查询宗地基本信息
 */
export function getQjZdjbxxDetailById(id) {
    return request({
        url: '/zd/qjZdjbxx/getQjZdjbxxDetailById',
        method: 'get',
        params: {
            id
        }
    })
}

/**
 * 界址点单一修改
 */
export function jzdsingleModify(data) {
    return request({
        url: '/zd/qjJzd/singleModify',
        method: 'put',
        data: data
    })
}
/**
 * 界址点批量修改
 */
export function jzdbatchModify(data) {
    return request({
        url: '/zd/qjJzd/batchModify',
        method: 'put',
        data: data
    })
}

/**
 * 界址线单一修改
 */
export function jzxsingleModify(data) {
    return request({
        url: '/zd/qjJzx/singleModify',
        method: 'put',
        data: data
    })
}

/**
 * 界址线批量修改
 */
export function jzxsbatchModify(data) {
    return request({
        url: '/zd/qjJzx/batchModify',
        method: 'put',
        data: data
    })
}