/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-05-16 13:49:57
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
 * @description: 获取自然幢下其他户
 * @param {*} data
 * @author: renchao
 */
export function selectOtherH (data) {
    return request({
        url: 'ywbl/ywsq/selectOtherH',
        method: 'post',
        data
    })
}
/**
 * @description: 业务办理-选择抵押权信息-根据条件进行列表查询
 * @param {*} data
 * @author: renchao
 */
export function selectDiyaq (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectDiyaq',
        method: 'post',
        data
    })
}
/**
 * @description: 业务办理-选择查封信息-根据条件进行列表查询
 * @param {*} data
 * @author: renchao
 */
export function selectCfdj (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectCfdj',
        method: 'post',
        data
    })
}

/**
 * @description: 业务办理-业务申请-添加收藏业务
 * @param {*} bsmSqyw
 * @author: renchao
 */
export function deleteCollectBiz (bsmSqyw) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw,
        method: 'post'
    })
}
/**
 * @description: 国有建设用地使用权/房屋使用权 -选择不动产单元
 * @param {*} data
 * @author: renchao
 */
export function choiceBdcdy (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/business/workFlow/choiceBdcdy',
        method: 'post',
        data
    })
}

/**
 * @description: 选择补录权利信息
 * @param {*} data
 * @author: renchao
 */
export function selectRepairQlxx (data) {
    return request({
        url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectRepairQlxx',
        method: 'post',
        data
    })
}