bdcqz.js 2.26 KB
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-04-20 09:40:17
 */
import request from '@/utils/request';
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

// 获取不动产权证列表
export function getBdcqzList (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getBdcqzList',
        method: 'get',
        params: params
    })
}
// 获取印刷序列号
export function readYsxlh (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/readYsxlh',
        method: 'get',
        params: params
    })
}
// 缮证
export function certificate (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/certificate',
        method: 'post',
        data
    })
}
// 作废缮证信息
export function invalidCertificate (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/invalidCertificate',
        method: 'post',
        data
    })
}
//根据受理申请标识码获取所有缮证列表
export function getCertificateList (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getCertificateList',
        method: 'post',
        data
    })
}

//获取不动产权证对应缮证列表
export function getSzRecordList (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSzRecordList',
        method: 'get',
        params
    })
}

//获取未领取的证书信息
export function getUnclaimedBdcqz (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getUnclaimedBdcqz',
        method: 'post',
        params: data
    })
}

// 发证
export function issueCertificate (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/issueCertificate',
        method: 'post',
        data
    })
}
// 获取受理申请下全部不动产权证
export function getSlsqBdcqzList (params) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getSlsqBdcqzList',
        method: 'get',
        params
    })
}

// 证书预览
export function bdcqzPreview (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/bdcqzPreview',
        method: 'post',
        data,
        responseType: 'blob'
    })
}