zd.js 1.01 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
        }
    })
}