212 lines
5.2 KiB
JavaScript
212 lines
5.2 KiB
JavaScript
import { get, post } from '@/libs/request'
|
|
|
|
// 询价-列表
|
|
export async function reqQuotList (params) {
|
|
const res = await post('admin/Bussiness/index', params)
|
|
return res
|
|
}
|
|
|
|
// 询价-正常调价
|
|
export async function reqNormalAdjustApprisePrice (params) {
|
|
const res = await post('admin/Bussiness/reqNormalAdjustApprisePrice', params)
|
|
return res
|
|
}
|
|
|
|
// 询价-上传房产证信息
|
|
export async function reqPropertCertInfo (params) {
|
|
const res = await post('admin/Bussiness/reqPropertCertInfo', params)
|
|
return res
|
|
}
|
|
|
|
// 询价-撤单
|
|
export async function cancel (params) {
|
|
const res = await post('admin/Bussiness/cancel', params)
|
|
return res
|
|
}
|
|
|
|
// 询价-发起查勘
|
|
// export async function askSurvey (params) {
|
|
// const res = await post('admin/inquiry-detail/ask-survey', params)
|
|
// return res
|
|
// }
|
|
|
|
// 询价-发起查勘
|
|
export async function askSurvey (params) {
|
|
const res = await post('admin/Property_cert_info/reqApplySurvey', params)
|
|
return res
|
|
}
|
|
|
|
// 询价-详情
|
|
export async function property_cert_info (params) {
|
|
const res = await post('admin/Bussiness/property_cert_info', params)
|
|
return res
|
|
}
|
|
|
|
// 询价-房产信息-详情
|
|
export async function reqPropertyInfo (params) {
|
|
const res = await post('admin/Bussiness/reqPropertyInfo', params)
|
|
return res
|
|
}
|
|
|
|
// 我的查勘-列表
|
|
export async function surveyList (params) {
|
|
const res = await get('admin/survey/index', params)
|
|
return res
|
|
}
|
|
|
|
// 我的查勘-详情
|
|
export async function reqSurveyInfo (params) {
|
|
const res = await post('admin/Survey/reqSurveyInfo', params)
|
|
return res
|
|
}
|
|
|
|
// 我的查勘-生成报告
|
|
export async function addReport (params) {
|
|
const res = await post('admin/survey/addReport', params)
|
|
return res
|
|
}
|
|
|
|
// 我的查勘-获取报告信息
|
|
export async function reqReportPropertyInfo (params) {
|
|
const res = await post('admin/survey/reqReportPropertyInfo', params)
|
|
return res
|
|
}
|
|
|
|
// 我的查勘-获取楼盘
|
|
export async function getBuildingInfo (params) {
|
|
const res = await post('admin/survey/getBuildingInfo', params)
|
|
return res
|
|
}
|
|
|
|
// 我的报告-列表
|
|
export async function reqReportList (params) {
|
|
const res = await get('admin/report/index', params)
|
|
return res
|
|
}
|
|
|
|
// 我的报告-详情
|
|
export async function reportDetail (params) {
|
|
const res = await post('admin/report/reportDetail', params)
|
|
return res
|
|
}
|
|
|
|
// 正常调价-列表
|
|
export async function reqNormalAdjustApprisePriceList (params) {
|
|
const res = await post('admin/Bussiness/reqNormalAdjustApprisePriceList', params)
|
|
return res
|
|
}
|
|
|
|
// 正常调价-详情
|
|
export async function normalModifyDetail (params) {
|
|
const res = await post('admin/Bussiness/normalModifyDetail', params)
|
|
return res
|
|
}
|
|
|
|
|
|
// 价格查询-列表
|
|
export async function priceQueryList (params) {
|
|
const res = await get('admin/priceQuery/index', params)
|
|
return res
|
|
}
|
|
|
|
// 小片区
|
|
export async function getSmallArea (params) {
|
|
const res = await post('admin/Regions/getSmallArea', params)
|
|
return res
|
|
}
|
|
|
|
// 申请生成报告
|
|
export async function createReport (params) {
|
|
const res = await post('admin/Bussiness/createReport', params)
|
|
return res
|
|
}
|
|
|
|
// 询价-线上取号
|
|
export async function getReportQRCode (params) {
|
|
const res = await post('admin/Bussiness/getReportQRCode', params)
|
|
return res
|
|
}
|
|
|
|
// 查档历史
|
|
export async function checkRecord (params) {
|
|
const res = await post('admin/CheckFile/checkRecord', params)
|
|
return res
|
|
}
|
|
|
|
// 再次查档
|
|
export async function checkAgain (params) {
|
|
const res = await post('admin/CheckFile/checkAgain', params)
|
|
return res
|
|
}
|
|
|
|
// 报告预览
|
|
export async function reqPreviewReport (params) {
|
|
const res = await post('admin/ReportManage/reqPreviewReport', params)
|
|
return res
|
|
}
|
|
|
|
// 简易询价列表
|
|
export async function simpleInquiryIndex (params) {
|
|
const res = await post('admin/simpleInquiry/index', params)
|
|
return res
|
|
}
|
|
|
|
// 提交简易询价
|
|
export async function simpleInquirySave (params) {
|
|
const res = await post('admin/simpleInquiry/save', params)
|
|
return res
|
|
}
|
|
|
|
// 简易询价-订单状态
|
|
export async function getOrderStatus (params) {
|
|
const res = await post('admin/SimpleInquiry/getOrderStatus', params)
|
|
return res
|
|
}
|
|
|
|
// 询价列表-生成报告-详情
|
|
export async function getReportDetail (params) {
|
|
const res = await post('admin/Bussiness/getReportDetail', params)
|
|
return res
|
|
}
|
|
|
|
// 申请合同号
|
|
export async function generateContractNo (params) {
|
|
const res = await post('admin/Report/generateContractNo', params)
|
|
return res
|
|
}
|
|
|
|
// 在inquiry.js中添加以下方法
|
|
|
|
/**
|
|
* 根据名称搜索物业
|
|
* @param {String} keyword - 搜索关键词
|
|
*/
|
|
export async function searchPropertyByName(params) {
|
|
const res = await post('admin/PropertyCertInfo/searchNames', params )
|
|
return res
|
|
}
|
|
|
|
/**
|
|
* 根据ID获取物业详情
|
|
* @param {Number} id - 物业ID
|
|
*/
|
|
export async function getPropertyById(params) {
|
|
const res = await post('admin/PropertyCertInfo/propertyDetail', params )
|
|
return res
|
|
}
|
|
|
|
/**
|
|
* 询价的导出
|
|
*/
|
|
export async function exportInquiryExcel(params) {
|
|
const res = await post('admin/Pending/exportInquiryExcel', params )
|
|
return res
|
|
}
|
|
|
|
/**
|
|
* 历史询价-列表
|
|
*/
|
|
export async function getOldList(params) {
|
|
const res = await post('admin/Bussiness/old_index', params )
|
|
return res
|
|
} |