first commit
This commit is contained in:
78
pgweb/src/api/bankInterface/boc.js
Normal file
78
pgweb/src/api/bankInterface/boc.js
Normal file
@@ -0,0 +1,78 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
// 测试接口
|
||||
export async function testBOCAPI (params) {
|
||||
const res = await post('admin/boc/testBOC', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预评估申请接口
|
||||
export async function preApply (params) {
|
||||
const res = await post('admin/boc/preApply', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预评估申请列表
|
||||
export async function preApplyList (params) {
|
||||
const res = await post('admin/boc/preApplyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预评估结果接口
|
||||
export async function preResult (params) {
|
||||
const res = await post('admin/boc/preResult', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预评估结果列表
|
||||
export async function preResultList (params) {
|
||||
const res = await post('admin/boc/preResultList', params)
|
||||
return res
|
||||
}
|
||||
//写入预评估结果
|
||||
export async function insertPreResult (params) {
|
||||
const res = await post('admin/boc/insertPreResult', params)
|
||||
return res
|
||||
}
|
||||
|
||||
/*********************************正式评估*******************************/
|
||||
|
||||
|
||||
// 正式评估申请接口
|
||||
export async function applyOfficial (params) {
|
||||
const res = await post('admin/boc/applyOfficial', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 正式评估申请列表
|
||||
export async function applyOfficialList (params) {
|
||||
const res = await post('admin/boc/applyOfficialList', params)
|
||||
return res
|
||||
}
|
||||
//检查是否可以上传报告
|
||||
export async function checkReportIsReady (params) {
|
||||
const res = await post('admin/boc/checkReportIsReady', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 处理正式评估
|
||||
export async function doOfficialResult (params) {
|
||||
const res = await post('admin/boc/officialResult', params)
|
||||
return res
|
||||
}
|
||||
// 正式评估结果接口
|
||||
export async function officialResult (params) {
|
||||
const res = await post('admin/boc/officialResult', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 正式评估结果列表
|
||||
export async function officialResultList (params) {
|
||||
const res = await post('admin/boc/officialResultList', params)
|
||||
return res
|
||||
}
|
||||
//写入正式评估结果
|
||||
export async function insertOfficialResult (params) {
|
||||
const res = await post('admin/boc/insertOfficialResult', params)
|
||||
return res
|
||||
}
|
||||
15
pgweb/src/api/bankInterface/boccf.js
Normal file
15
pgweb/src/api/bankInterface/boccf.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
|
||||
|
||||
// 列表接口
|
||||
export async function getInquiryApplyList (params) {
|
||||
const res = await post('admin/boccf/inquiryApplyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 是否关联接口
|
||||
export async function isRelatedInquiry (params) {
|
||||
const res = await post('admin/boccf/isRelatedInquiry', params)
|
||||
return res
|
||||
}
|
||||
20
pgweb/src/api/bankInterface/boccommon.js
Normal file
20
pgweb/src/api/bankInterface/boccommon.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
|
||||
|
||||
// 列表接口
|
||||
export async function getPreApplyList (params) {
|
||||
const res = await post('admin/bocCommon/getPreApplyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
export async function getApplyOfficialList (params) {
|
||||
const res = await post('admin/bocCommon/getApplyOfficialList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 是否关联接口
|
||||
export async function isRelatedInquiry (params) {
|
||||
const res = await post('admin/bocCommon/isRelatedInquiry', params)
|
||||
return res
|
||||
}
|
||||
149
pgweb/src/api/bankInterface/ceb.js
Normal file
149
pgweb/src/api/bankInterface/ceb.js
Normal file
@@ -0,0 +1,149 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
|
||||
|
||||
// 图片接口
|
||||
export async function getBase64Img (params) {
|
||||
const res = await post('admin/ceb/getBase64Img', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 测试接口
|
||||
export async function testCEBAPI (params) {
|
||||
const res = await post('admin/ceb/testCEB', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 询价申请列表
|
||||
export async function requestInquiryList (params) {
|
||||
const res = await post('admin/ceb/getInquiryApplyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取业务编号关联的询价申请
|
||||
export async function requestInquiry (params) {
|
||||
const res = await post('admin/ceb/getInquiryApply', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 返回询价结果
|
||||
export async function replyInquiry (params) {
|
||||
const res = await post('admin/ceb/esz004', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 返回询价结果列表
|
||||
export async function replyInquiryList (params) {
|
||||
const res = await post('admin/ceb/getReplyInquriyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
/************ 报告 *********************************************/
|
||||
|
||||
// 请求报告结果返回
|
||||
export async function replyReport (params) {
|
||||
const res = await post('admin/ceb/esz006', params)
|
||||
return res
|
||||
}
|
||||
// 评估报告申请退回
|
||||
export async function rejectReportApply (params) {
|
||||
const res = await post('admin/ceb/rejectReportApply', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 请求业务编号关联的报告申请列表
|
||||
export async function requestReportApply (params) {
|
||||
const res = await post('admin/ceb/getReportApply', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 请求报告申请列表
|
||||
export async function requestReportApplylist2C (params) {
|
||||
const res = await post('admin/ceb/getReportApplylist2C', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 请求报告结果列表
|
||||
export async function replyReportResultList (params) {
|
||||
const res = await post('admin/ceb/getReportResultList', params)
|
||||
return res
|
||||
}
|
||||
/************ 核价 *********************************************/
|
||||
|
||||
// 核价申请列表
|
||||
export async function checkApplyList (params) {
|
||||
const res = await post('admin/ceb/getCheckApplyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
// 核价回复
|
||||
export async function replyCheckApply (params) {
|
||||
const res = await post('admin/ceb/esz009', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 核价回复列表
|
||||
export async function replyCheckApplyList (params) {
|
||||
const res = await post('admin/ceb/getCheckResultList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 催办列表
|
||||
export async function getUrgeList (params) {
|
||||
const res = await post('admin/ceb/getUrgeList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 贷后重估申请列表
|
||||
export async function getReevaluateApplyList (params) {
|
||||
const res = await post('admin/ceb/getReevaluateApplyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 贷后重估结果列表
|
||||
export async function getReevaluateResultList (params) {
|
||||
const res = await post('admin/ceb/getReevaluateResultList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 贷后重估回复
|
||||
export async function replyReevaluate (params) {
|
||||
const res = await post('admin/ceb/esz011', params)
|
||||
return res
|
||||
}
|
||||
//贷后重估失败
|
||||
export async function rejectReevation (params) {
|
||||
const res = await post('admin/ceb/rejectReevation', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 判断业务编号是否已关联询价单
|
||||
export async function isBusinessNoLinkInquiry (params) {
|
||||
const res = await post('admin/ceb/isBusinessNoLinkInquiry', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
// 请求重传报告申请列表
|
||||
export async function esz012ApplyList (params) {
|
||||
const res = await post('admin/ceb/getEsz012ApplyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取指定业务编号的重传申请
|
||||
export async function esz012Apply (params) {
|
||||
const res = await post('admin/ceb/getEsz012Apply', params)
|
||||
return res
|
||||
}
|
||||
// 请求报告结果列表
|
||||
export async function esz012ReplyList (params) {
|
||||
const res = await post('admin/ceb/getEsz012ResultList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 设置请求报告为已完成
|
||||
export async function setReportApplyDone (params) {
|
||||
const res = await post('admin/ceb/setReportApplyDone', params)
|
||||
return res
|
||||
}
|
||||
375
pgweb/src/api/basicData.js
Normal file
375
pgweb/src/api/basicData.js
Normal file
@@ -0,0 +1,375 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
// 客户数据管理列表接口
|
||||
export async function getStatistics (params) {
|
||||
const res = await get('web/customer/statistics', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 客户数据明细接口
|
||||
export async function getCustomerDetail (params) {
|
||||
const res = await get('web/customer/detail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 估价师管理列表
|
||||
export async function valuerList (params) {
|
||||
const res = await post('admin/ValuerSetUp/valuerList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 新增估价师
|
||||
export async function addValuer (params) {
|
||||
const res = await post('admin/ValuerSetUp/save', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 编辑估价师
|
||||
export async function editValuer (params) {
|
||||
const res = await post('admin/valuer/editValuer', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 估价师详情
|
||||
export async function getValuerInfo (params) {
|
||||
const res = await post('admin/ValuerSetUp/ValuerDetails', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 客户经理列表
|
||||
export async function managerList (params) {
|
||||
const res = await post('admin/manage/managerList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 银行设置列表
|
||||
export async function bankList (params) {
|
||||
const res = await post('admin/banksInfoManage/bankList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预估单-列表
|
||||
export async function EstimateList (params) {
|
||||
const res = await post('admin/EstimateSetUp/EstimateList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取所有银行
|
||||
export async function reqBankList (params) {
|
||||
const res = await post('admin/Bank/reqBankList', params)
|
||||
return res
|
||||
}
|
||||
// 获取所有分行
|
||||
export async function getBranch (params) {
|
||||
const res = await post('admin/Bank/getBranch', params)
|
||||
return res
|
||||
}
|
||||
// 获取城市
|
||||
export async function getBuildingCity (params) {
|
||||
const res = await post('admin/Regions/getBuildingCity', params)
|
||||
return res
|
||||
}
|
||||
// 新增银行
|
||||
export async function addBank (params) {
|
||||
const res = await post('admin/banksInfoManage/addBank', params)
|
||||
return res
|
||||
}
|
||||
// 新增分行
|
||||
export async function reqAddBranchBank (params) {
|
||||
const res = await post('admin/banksInfoManage/reqAddBranchBank', params)
|
||||
return res
|
||||
}
|
||||
// 新增支行
|
||||
export async function reqAddSubBank (params) {
|
||||
const res = await post('admin/banksInfoManage/reqAddSubBank', params)
|
||||
return res
|
||||
}
|
||||
// 编辑支行
|
||||
export async function reqUpdateSubBankInfo (params) {
|
||||
const res = await post('admin/banksInfoManage/reqUpdateSubBankInfo', params)
|
||||
return res
|
||||
}
|
||||
// 获取银行信息
|
||||
export async function reqBankInfo (params) {
|
||||
const res = await post('admin/banksInfoManage/reqBankInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 选择支行信息
|
||||
export async function getAllBranchBank (params) {
|
||||
const res = await post('admin/manage/getAllBranchBank', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 新增客户经理
|
||||
export async function addManager (params) {
|
||||
const res = await post('admin/manage/addManager', params)
|
||||
return res
|
||||
}
|
||||
// 新增客户经理
|
||||
export async function editManager (params) {
|
||||
const res = await post('admin/manage/editManager', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 分行列表
|
||||
export async function branchList (params) {
|
||||
const res = await post('admin/banksInfoManage/branchList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取分行信息
|
||||
export async function getBranchInfo (params) {
|
||||
const res = await post('admin/banksInfoManage/getBranchInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取支行列表
|
||||
export async function subBranchList (params) {
|
||||
const res = await post('admin/banksInfoManage/subBranchList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取支行信息
|
||||
export async function getSubBranchInfo (params) {
|
||||
const res = await post('admin/banksInfoManage/getSubBranchInfo', params)
|
||||
return res
|
||||
}
|
||||
// 银行账户列表
|
||||
export async function getAccountManager (params) {
|
||||
const res = await get('admin/AccountManager/index', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 设置银行账户状态
|
||||
export async function setStatus (params) {
|
||||
const res = await post('admin/AccountManager/setStatus', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 新增银行账户
|
||||
export async function addBankAccount (params) {
|
||||
const res = await post('admin/AccountManager/addBankAccount', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取银行账户信息
|
||||
export async function getBankAccountInfo (params) {
|
||||
const res = await post('admin/AccountManager/getBankAccountInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 区域配置列表
|
||||
export async function getRegionsList (params) {
|
||||
const res = await post('admin/Regions/index', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取城区/片区/区域
|
||||
export async function reqDistrict (params) {
|
||||
const res = await post('admin/Regions/reqDistrict', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 新增区域配置
|
||||
export async function addRegionConfig (params) {
|
||||
const res = await post('admin/Regions/addRegionConfig', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 区域配置信息
|
||||
export async function getRegionsInfo (params) {
|
||||
const res = await post('admin/Regions/getInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预估单列表
|
||||
export async function getPredictList (params) {
|
||||
const res = await post('admin/banksInfoManage/reqEstimatedList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 上传预估单
|
||||
export async function uploadPredict (params) {
|
||||
const res = await get('admin/banksInfoManage/uploadPredict', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 设置模板状态
|
||||
export async function setTemplateStatus (params) {
|
||||
const res = await post('admin/banksInfoManage/setTemplateStatus', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 产品设置列表
|
||||
export async function productList (params) {
|
||||
const res = await post('admin/ProductSetUp/ProductList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 产品状态修改
|
||||
export async function productModify (params) {
|
||||
const res = await post('admin/ProductSetUp/ProductModify', params)
|
||||
return res
|
||||
}
|
||||
// 报告模板列表
|
||||
export async function reportTemplate (params) {
|
||||
const res = await post('admin/ProductSetUp/ReportTemplateList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 提交产品
|
||||
export async function submitProduct (params) {
|
||||
const res = await post('admin/ProductSetUp/save', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取产品详情
|
||||
export async function getProductDetails (params) {
|
||||
const res = await post('admin/ProductSetUp/ProductDetails', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告模板列表
|
||||
export async function reportTemplateList (params) {
|
||||
const res = await post('admin/report/reportTemplateList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 新增报告模板
|
||||
export async function addReportTemplate (params) {
|
||||
const res = await post('admin/report/addReportTemplate', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取报告模板信息
|
||||
export async function getReportTemplateInfo (params) {
|
||||
const res = await post('admin/report/getReportTemplateInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预估单-提交
|
||||
export async function EstimateSetUpSave (params) {
|
||||
const res = await post('admin/EstimateSetUp/save', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预估单-详情
|
||||
export async function EstimateDetails (params) {
|
||||
const res = await post('admin/EstimateSetUp/EstimateDetails', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取报告模板信息(预览)
|
||||
export async function templatePreview (params) {
|
||||
const res = await post('admin/Report/templatePreview', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取区域
|
||||
export async function getSmallArea (params) {
|
||||
const res = await post('admin/Regions/getSmallArea', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 对公收费配置-详情
|
||||
export async function expenseDetails (params) {
|
||||
const res = await post('admin/PublicExpenseSetUp/ExpenseDetails', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 对公收费配置-保存
|
||||
export async function publicExpenseSetUpCheck (params) {
|
||||
const res = await post('admin/PublicExpenseSetUp/check', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 模块列表
|
||||
export async function moduleList (params) {
|
||||
const res = await post('admin/Report/moduleList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 模块排序
|
||||
export async function updateModuleSort (params) {
|
||||
const res = await post('admin/Report/updateModuleSort', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取模块信息
|
||||
export async function getModuleInfo (params) {
|
||||
const res = await post('admin/Report/getModuleInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 新增模块
|
||||
export async function addModule (params) {
|
||||
const res = await post('admin/Report/addModule', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 设置模板状态
|
||||
export async function toSetTemplateStatus (params) {
|
||||
const res = await post('admin/Report/setTemplateStatus', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取模块列表
|
||||
export async function getModuleList (params) {
|
||||
const res = await post('admin/Report/getModuleList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 新增报告模板
|
||||
export async function subModule (params) {
|
||||
const res = await post('admin/report/subModule', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取支行
|
||||
export async function getBranchBybank (params) {
|
||||
const res = await post('admin/Bank/getBranchBybank', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取简易报告模板信息
|
||||
export async function getSimpleReportTemplateInfo (params) {
|
||||
const res = await post('admin/report/getSimpleReportTemplateInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 新增报告模板
|
||||
export async function updateSimpleReportTemplate (params) {
|
||||
const res = await post('admin/report/updateSimpleReportTemplate', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易报告预览
|
||||
export async function templatePreviewSimple (params) {
|
||||
const res = await post('admin/report/templatePreviewSimple', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 分公司管理 - 获取列表
|
||||
export async function getBranchCompanyList (params) {
|
||||
const res = await get('admin/branchComConfig/list', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 分公司管理 - 新增
|
||||
export async function addBranchCompany (params) {
|
||||
const res = await post('admin/branchComConfig/add', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 分公司管理 - 更新
|
||||
export async function updateBranchCompany (params) {
|
||||
const res = await post('admin/branchComConfig/update', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 分公司管理 - 删除
|
||||
export async function deleteBranchCompany (params) {
|
||||
const res = await post('admin/branchComConfig/delete', params)
|
||||
return res
|
||||
}
|
||||
13
pgweb/src/api/basicData/systemConfiguration/index.js
Normal file
13
pgweb/src/api/basicData/systemConfiguration/index.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
// 系统参数-列表
|
||||
export async function systemConfigList (params) {
|
||||
const res = await post('admin/systemConfig/systemConfigList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 系统参数值-修改
|
||||
export async function systemConfigEdit (params) {
|
||||
const res = await post('admin/systemConfig/systemConfigEdit', params)
|
||||
return res
|
||||
}
|
||||
43
pgweb/src/api/basicData/taxSettings/index.js
Normal file
43
pgweb/src/api/basicData/taxSettings/index.js
Normal file
@@ -0,0 +1,43 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
// 新增/编辑税费设置提交接口
|
||||
export async function TaxationSetUpAave (params) {
|
||||
const res = await post('admin/TaxationSetUp/save', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 点击修改调用接口
|
||||
export async function TaxationDetails (params) {
|
||||
const res = await post('admin/TaxationSetUp/TaxationDetails', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 点击新增时调用接口
|
||||
export async function TaxationAdd (params) {
|
||||
const res = await post('admin/TaxationSetUp/TaxationAdd', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 状态修改接口
|
||||
export async function TaxationModify (params) {
|
||||
const res = await post('admin/TaxationSetUp/TaxationModify', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 税费设置列表
|
||||
export async function TaxationList (params) {
|
||||
const res = await post('admin/TaxationSetUp/TaxationList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 城市下拉接口
|
||||
export async function getCity (params) {
|
||||
const res = await post('admin/Bank/getCity', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 根据银行获取产品下拉列表接口
|
||||
export async function productList (params) {
|
||||
const res = await post('admin/TaxationSetUp/productLiat', params)
|
||||
return res
|
||||
}
|
||||
25
pgweb/src/api/branch.js
Normal file
25
pgweb/src/api/branch.js
Normal file
@@ -0,0 +1,25 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
// 报告列表
|
||||
export async function getReportList (params) {
|
||||
const res = await post('admin/branchReport/list', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 添加报告
|
||||
export async function addReport (params) {
|
||||
const res = await post('admin/branchReport/add', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 审核报告
|
||||
export async function reviewReport (params) {
|
||||
const res = await post('admin/branchReport/review', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 删除报告
|
||||
export async function deleteReport (params) {
|
||||
const res = await post('admin/branchReport/delete', params)
|
||||
return res
|
||||
}
|
||||
212
pgweb/src/api/businessManage/businessInfo.js
Normal file
212
pgweb/src/api/businessManage/businessInfo.js
Normal file
@@ -0,0 +1,212 @@
|
||||
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
|
||||
}
|
||||
142
pgweb/src/api/businessManage/inquiry.js
Normal file
142
pgweb/src/api/businessManage/inquiry.js
Normal file
@@ -0,0 +1,142 @@
|
||||
import { post } from '@/libs/request'
|
||||
// 专属录入询价页面的银行获取下拉框,只有登录用户有建行业务员角色才包含建行选项
|
||||
export async function getBankForInquiry (params) {
|
||||
const res = await post('admin/Bank/getBankForInquiry', params)
|
||||
return res
|
||||
}
|
||||
// 银行获取
|
||||
export async function reqBankList (params) {
|
||||
const res = await post('admin/Bank/reqBankList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 分行、支行获取
|
||||
export async function getBranch (params) {
|
||||
const res = await post('admin/Bank/getBranch', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 客户经理下拉列表
|
||||
export async function getAccountManager (params) {
|
||||
const res = await post('admin/AccountManager/getAccountManager', params)
|
||||
return res
|
||||
}
|
||||
/**
|
||||
* 根据名称搜索物业
|
||||
* @param {String} keyword - 搜索关键词
|
||||
*/
|
||||
|
||||
|
||||
// 获取城区
|
||||
export async function reqDistrict (params) {
|
||||
const res = await post('admin/Regions/reqDistrict', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取城市下拉列表
|
||||
export async function getBuildingCity (params) {
|
||||
const res = await post('admin/Regions/getBuildingCity', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
// 提交询价
|
||||
export async function save (params) {
|
||||
const res = await post('admin/Bussiness/save', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 批量提交询价
|
||||
export async function batchSave (params) {
|
||||
const res = await post('admin/Bussiness/batchSave', params)
|
||||
return res
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取服务器枚举的客户类型方法
|
||||
* @param {*} params params['enumName'] 枚举管理调用方法
|
||||
* @returns
|
||||
*/
|
||||
export async function getEnumCustomTypeList (param) {
|
||||
const res = await post('admin/EnumManager/getCustomTypeList', param)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 获取评估目的
|
||||
export async function getProduct (params) {
|
||||
const res = await post('admin/Bussiness/getProduct', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查档
|
||||
export async function consultFiles (params) {
|
||||
const res = await post('admin/CheckFile/consultFiles', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘信息
|
||||
export async function reqReportSurveyDetail (params) {
|
||||
const res = await post('admin/ReportManage/reqReportSurveyDetail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 验证近三个月是否出过报告
|
||||
export async function checkExistReport (params) {
|
||||
const res = await post('admin/Bussiness/checkExistReport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 判断物业是否在指定时间内重复询价
|
||||
export async function reqIsQuotDuplicated (params) {
|
||||
const res = await post('admin/Bussiness/reqIsQuotDuplicated', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 重复询价单提交
|
||||
export async function reqQuotSubmitAgain (params) {
|
||||
const res = await post('admin/Bussiness/reqQuotSubmitAgain', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
export async function getEstateListByName (params) {
|
||||
const res = await post('lpDict/LpDictBase/getEstateListByName', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
export async function getBuildingListByLpid (params) {
|
||||
const res = await post('lpDict/LpDictBase/getBuildingListByLpid', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
// 模糊搜索栋号名
|
||||
export async function getBuildingListByBName (params) {
|
||||
const res = await post('lpDict/LpDictBase/getBuildingListByBName', params)
|
||||
return res
|
||||
}
|
||||
|
||||
export async function getPropertyListByBid (params) {
|
||||
const res = await post('lpDict/LpDictBase/getPropertyListByBid', params)
|
||||
return res
|
||||
}
|
||||
|
||||
export async function getEstateListByFirestLetter (params) {
|
||||
const res = await post('lpDict/LpDictBase/getEstateListByFirestLetter', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取3个月内同一个物业的询价记录接口
|
||||
export async function getThreeMonthSameEstateInquiryRecord (params) {
|
||||
const res = await post('admin/Pending/getThreeMonthSameEstateInquiryRecord', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 检测业务编号是否有效
|
||||
export async function checkBusinessNoIsValid (params) {
|
||||
const res = await post('admin/Bussiness/checkBusinessNoIsValid', params)
|
||||
return res
|
||||
}
|
||||
29
pgweb/src/api/chargeManage.js
Normal file
29
pgweb/src/api/chargeManage.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
// 收费管理列表接口
|
||||
export async function getFeeList (params) {
|
||||
const res = await post('admin/fee/feeList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费管理详情基本信息
|
||||
export async function getFeeBaseInfo (params) {
|
||||
const res = await post('admin/fee/feeBaseList', params)
|
||||
return res
|
||||
}
|
||||
// 收费管理详情
|
||||
export async function getFeeDetail (params) {
|
||||
const res = await post('admin/fee/fee_detail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费提交
|
||||
export async function feeEdit (params) {
|
||||
const res = await post('admin/fee/feeEdit', params)
|
||||
return res
|
||||
}
|
||||
// 批量收费提交
|
||||
export async function mutilFee (params) {
|
||||
const res = await post('admin/fee/mutilFee', params)
|
||||
return res
|
||||
}
|
||||
43
pgweb/src/api/classify.js
Normal file
43
pgweb/src/api/classify.js
Normal file
@@ -0,0 +1,43 @@
|
||||
import { get, post, _delete } from '@/libs/request'
|
||||
|
||||
// 查询项分类列表
|
||||
export async function getClassifys (params) {
|
||||
const res = await get('web/classify/list', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查询项分类删除
|
||||
export async function deleteClassify (params) {
|
||||
const res = await _delete('web/classify', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查询项分类保存
|
||||
export async function addClassify (params) {
|
||||
const res = await post('web/classify', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查询项列表
|
||||
export async function getInterfaces (params) {
|
||||
const res = await get('web/interface', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 关联查询项保存
|
||||
export async function addItem (params) {
|
||||
const res = await post('web/item', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 关联查询项删除
|
||||
export async function deleteItem (params) {
|
||||
const res = await _delete('web/item', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 关联查询项列表
|
||||
export async function getItemList (params) {
|
||||
const res = await get('web/item/list', params)
|
||||
return res
|
||||
}
|
||||
378
pgweb/src/api/costManage.js
Normal file
378
pgweb/src/api/costManage.js
Normal file
@@ -0,0 +1,378 @@
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 查询待确认列表
|
||||
export async function getTobeConfirm (params) {
|
||||
const res = await post('admin/Charge/getTobeConfirmedList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 待确认列表-收费详情
|
||||
export async function getWaitDetail (params) {
|
||||
const res = await post('admin/Charge/getWaitDetail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 待确认列表-查看凭证
|
||||
export async function getTransferVoucher (params) {
|
||||
const res = await post('admin/Charge/getTransferVoucherByChargeId', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 待确认列表-确认收款
|
||||
export async function updConfirmAmount (params) {
|
||||
const res = await post('admin/Charge/updConfirmAmount', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费详情页面-查看转账凭证
|
||||
export async function getTransferVoucherById (params) {
|
||||
const res = await get('admin/Charge/getTransferVoucherById', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 实结单列表-退回预结单
|
||||
export async function returnPreStatementStatus (params) {
|
||||
const res = await post('admin/StatementManage/returnPreStatementStatus', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 实结单列表
|
||||
export async function realStatementList (params) {
|
||||
const res = await post('admin/StatementManage/realStatementList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 待结单列表
|
||||
export async function waitStatementList (params) {
|
||||
const res = await post('admin/StatementManage/waitStatementList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 待结单列表-发起预结单
|
||||
export async function doPreStatementStatus (params) {
|
||||
const res = await post('admin/StatementManage/doPreStatementStatus', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 结单列表共用收费详情接口
|
||||
export async function getStatementDetail (params) {
|
||||
const res = await post('admin/StatementManage/getStatementDetail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预结单列表-确认实结单
|
||||
export async function doRealStatementStatus (params) {
|
||||
const res = await post('admin/StatementManage/doRealStatementStatus', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预结单列表-退回待结单
|
||||
export async function returnWaitStatementStatus (params) {
|
||||
const res = await post('admin/StatementManage/returnWaitStatementStatus', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预结单列表
|
||||
export async function preStatementList (params) {
|
||||
const res = await post('admin/StatementManage/preStatementList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 批量收费
|
||||
export async function mutilFee (params) {
|
||||
const res = await post('admin/fee/mutilFee', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费列表
|
||||
export async function feeList (params) {
|
||||
const res = await post('admin/fee/feeList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费提交接口
|
||||
export async function feeEdit (params) {
|
||||
const res = await post('admin/fee/feeEdit', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费管理-详情页
|
||||
export async function feeBaseList (params) {
|
||||
const res = await post('admin/fee/feeBaseList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费详情
|
||||
export async function fee_detail (params) {
|
||||
const res = await post('admin/fee/fee_detail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 票据列表
|
||||
export async function billList (params) {
|
||||
const res = await post('admin/Bill/billList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 票据详情
|
||||
export async function billDetail (params) {
|
||||
const res = await post('admin/Bill/billDetail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 通过
|
||||
export async function agree (params) {
|
||||
const res = await post('admin/Bill/agree', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 驳回
|
||||
export async function back (params) {
|
||||
const res = await post('admin/Bill/back', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取报告编号
|
||||
export async function getReporeNo (params) {
|
||||
const res = await post('admin/Bill/getReporeNo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 开具发票
|
||||
export async function invoicing (params) {
|
||||
const res = await post('admin/Bill/invoicing', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 订单列表
|
||||
export async function orderList (params) {
|
||||
const res = await post('admin/Bill/orderList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费更新列表
|
||||
export async function getList (params) {
|
||||
const res = await post('admin/ChargeManage/getList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费更新列表
|
||||
export async function ChargeManageImport (params) {
|
||||
const res = await post('admin/ChargeManage/import', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 业务员收费列表
|
||||
export async function getSalesmanList (params) {
|
||||
const res = await post('admin/ChargeManage/getSalesmanList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 上传文件
|
||||
export async function mangeImport (params) {
|
||||
const res = await post('admin/ChargeManage/import', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费汇总列表
|
||||
export async function getSummaryList (params) {
|
||||
const res = await post('admin/Charge/getSummaryList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 申请详情
|
||||
export async function getRefundDetail (params) {
|
||||
const res = await post('admin/Charge/getRefundDetail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查看详细
|
||||
export async function getSummaryDetail (params) {
|
||||
const res = await post('admin/Charge/getSummaryDetail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 退费列表
|
||||
export async function getRefundList (params) {
|
||||
const res = await post('admin/Charge/getRefundList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 退费审批
|
||||
export async function refundApproval (params) {
|
||||
const res = await post('admin/Charge/refundApproval', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 申请退费-获取信息
|
||||
export async function getRefund (params) {
|
||||
const res = await post('admin/Charge/getRefund', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 确认应收款获取银行下拉数据
|
||||
export async function getBankAccount (params) {
|
||||
const res = await post('admin/ChargeManage/getBankAccount', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 业务员收费列表-确认应收款
|
||||
export async function salesmanConfirm (params) {
|
||||
const res = await post('admin/ChargeManage/salesmanConfirm', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 校验报告编号
|
||||
export async function checkReportNo (params) {
|
||||
const res = await post('admin/Charge/checkReportNo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 申请退报告费,校验报告编号
|
||||
export async function billcheckReportNo (params) {
|
||||
const res = await post('admin/Bill/checkReportNo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 申请退费
|
||||
export async function applyRefund (params) {
|
||||
const res = await post('admin/Charge/applyRefund', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取支行
|
||||
export async function getBranchBybank (params) {
|
||||
const res = await post('admin/Bank/getBranchBybank', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 申请票据 - 获取详情
|
||||
export async function getBill (params) {
|
||||
const res = await post('admin/Bill/getBill', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 申请票据 - 获取详情
|
||||
export async function addBill (params) {
|
||||
const res = await post('admin/Bill/addBill', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 领取票据
|
||||
export async function billDraw (params) {
|
||||
const res = await post('admin/Bill/draw', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取城区
|
||||
/*export async function reqDistrict (params) {
|
||||
const res = await post('admin/Regions/reqDistrict', params)
|
||||
return res
|
||||
}*/
|
||||
|
||||
// 获取城市
|
||||
export async function getBuildingCity (params) {
|
||||
const res = await post('admin/Regions/getBuildingCity', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 费用申请管理
|
||||
export async function getBusinessRefundList (params) {
|
||||
const res = await post('admin/charge/getBusinessRefundList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
export async function businessBillList (params) {
|
||||
const res = await post('admin/Bill/businessBillList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 财务管理-退费列表
|
||||
export async function getFinanceRefundList (params) {
|
||||
const res = await post('admin/Charge/getFinanceRefundList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费更新列表-录入应收
|
||||
export async function updReceivable (params) {
|
||||
const res = await post('admin/ChargeManage/updReceivable', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 业务员收费-未收费
|
||||
export async function getSalesmanListNotCollected (params) {
|
||||
const res = await post('admin/ChargeManage/getSalesmanListNotCollected', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 业务员收费-未收费-导出
|
||||
export async function salesExportNotCollected (params) {
|
||||
const res = await post('admin/ChargeManage/salesExportNotCollected', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 业务员收费-已收费
|
||||
export async function getSalesmanListCollected (params) {
|
||||
const res = await post('admin/ChargeManage/getSalesmanListCollected', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 业务员收费-已收费-导出
|
||||
export async function salesExportCollected (params) {
|
||||
const res = await post('admin/ChargeManage/salesExportCollected', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 月结收费-未收费
|
||||
export async function getMonthListNotCollected (params) {
|
||||
const res = await post('admin/ChargeManage/getMonthListNotCollected', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 月结收费-已收费
|
||||
export async function getMonthListCollected (params) {
|
||||
const res = await post('admin/ChargeManage/getMonthListCollected', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 收费汇总列表-搜索条件-获取部门
|
||||
export async function getBusinessDeparts (params) {
|
||||
const res = await post('admin/charge/getBusinessDeparts', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 月结收费-未收费-导入
|
||||
export async function monthUpdImport (params) {
|
||||
const res = await post('admin/ChargeManage/monthUpdImport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易收费-已收费
|
||||
export async function getSimpleReportCollected (params) {
|
||||
const res = await post('admin/ChargeManage/getSimpleReportCollected', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易收费-未收费
|
||||
export async function getSimpleReportUncollected (params) {
|
||||
const res = await post('admin/chargeManage/getSimpleReportUncollected', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易收费-已收费-修改
|
||||
export async function getSimpleReportCollectedEdit (params) {
|
||||
const res = await post('admin/chargeManage/getSimpleReportCollectedEdit', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易收费-已收费-金额确认
|
||||
export async function getSimpleReportCollectedConfirm (params) {
|
||||
const res = await post('admin/chargeManage/getSimpleReportCollectedConfirm', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 常规数据-订单列表-转结款方式
|
||||
export async function editPayType (params) {
|
||||
const res = await post('admin/Bill/editPayType', params)
|
||||
return res
|
||||
}
|
||||
19
pgweb/src/api/credit.js
Normal file
19
pgweb/src/api/credit.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 根据征信类型获取个人征信或者企业征信列表
|
||||
export async function getCredits (params) {
|
||||
const res = await get('credit/queryCreditReportList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取征信报告详情
|
||||
export async function getcreditDetail (reportNo) {
|
||||
const res = await get(`credit/creditDetail/${reportNo}`)
|
||||
return res
|
||||
}
|
||||
|
||||
// 导出征信报告详情
|
||||
export async function exportCreditList (params) {
|
||||
const res = await post('credit/queryCreditReportList', params)
|
||||
return res
|
||||
}
|
||||
7
pgweb/src/api/dictionary.js
Normal file
7
pgweb/src/api/dictionary.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 获取指定数据字典
|
||||
export async function getDictionary (params) {
|
||||
const res = await post('web/dictionary', params)
|
||||
return res
|
||||
}
|
||||
5
pgweb/src/api/index.js
Normal file
5
pgweb/src/api/index.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import * as basicData from './basicData'
|
||||
|
||||
export default {
|
||||
basicData
|
||||
}
|
||||
25
pgweb/src/api/message.js
Normal file
25
pgweb/src/api/message.js
Normal file
@@ -0,0 +1,25 @@
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 消息通知列表
|
||||
export async function getMessageList (params) {
|
||||
const res = await post('admin/MessageRemind/MessageRemindList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 公告/传阅
|
||||
export async function getNotice (params) {
|
||||
const res = await post('admin/MessageRemind/Notice', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 消息列表 最新10条 推送模块
|
||||
export async function messageList (params) {
|
||||
const res = await post('admin/MessageRemind/MessageRemindAll', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 消息已阅调用接口-共用
|
||||
export async function messageRead (params) {
|
||||
const res = await post('admin/MessageRemind/MessageRead', params)
|
||||
return res
|
||||
}
|
||||
37
pgweb/src/api/mineWork.js
Normal file
37
pgweb/src/api/mineWork.js
Normal file
@@ -0,0 +1,37 @@
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 获取用户列表
|
||||
export async function getUsersList (params) {
|
||||
const res = await post('admin/notice/getUsersList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取个人办公相关列表
|
||||
export async function noticeGetList (params) {
|
||||
const res = await post('admin/notice/getList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 发布 / 撤回
|
||||
export async function getChangeStatus (params) {
|
||||
const res = await post('admin/notice/change_status', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 新增/编辑
|
||||
export async function noticeEdit (params) {
|
||||
const res = await post('admin/notice/notice_edit', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 详情
|
||||
export async function noticeDetail (params) {
|
||||
const res = await post('admin/notice/detail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回复
|
||||
export async function noticeReply (params) {
|
||||
const res = await post('admin/notice/reply', params)
|
||||
return res
|
||||
}
|
||||
244
pgweb/src/api/priceReturn/unreturnedPrice.js
Normal file
244
pgweb/src/api/priceReturn/unreturnedPrice.js
Normal file
@@ -0,0 +1,244 @@
|
||||
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 住宅/商业项目列表接口
|
||||
export async function reqAppraisingPriceList (params) {
|
||||
const res = await post('admin/Pending/reqAppraisingPriceList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价提交
|
||||
export async function save (params) {
|
||||
const res = await post('admin/Pending/save', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价详情--未完成
|
||||
export async function reqAppraisingInfo (params) {
|
||||
const res = await post('admin/Pending/reqAppraisingInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 询价历史
|
||||
export async function reqQuotHistoryList (params) {
|
||||
const res = await post('admin/Pending/reqQuotHistoryList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 项目列表
|
||||
export async function reqAppraisedCompletedPriceList (params) {
|
||||
const res = await post('admin/Pending/reqAppraisedCompletedPriceList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价详情--已完成
|
||||
export async function reqAppraisedPriceInfo (params) {
|
||||
const res = await post('admin/Pending/reqAppraisedPriceInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 调价-列表
|
||||
export async function ModifyPriceList (params) {
|
||||
const res = await post('admin/Pending/ModifyPriceList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 计算税费
|
||||
export async function AutomaticCalculation (params) {
|
||||
const res = await post('admin/Pending/AutomaticCalculation', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 签章管理-详情
|
||||
export async function SignatureManagement (params) {
|
||||
const res = await post('admin/Pending/SignatureManagement', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 签章管理-提交接口
|
||||
export async function SignatureSave (params) {
|
||||
const res = await post('admin/Pending/SignatureSave', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 取消签章
|
||||
export async function CancelSignature (params) {
|
||||
const res = await post('admin/Pending/CancelSignature', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预估审核接口
|
||||
export async function RequestEstimateAudit (params) {
|
||||
const res = await post('admin/Pending/RequestEstimateAudit', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
// 取消预估审核接口
|
||||
export async function CancelEstimateAudit (params) {
|
||||
const res = await post('admin/Pending/CancelEstimateAudit', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
// 计算贷款
|
||||
export async function CalculateLoan (params) {
|
||||
const res = await post('admin/Pending/CalculateLoan', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价详情-调价
|
||||
export async function ModifyPriceDetails (params) {
|
||||
const res = await post('admin/Pending/ModifyPriceDetails', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预估单
|
||||
export async function EstimateSheetTemplate (params) {
|
||||
const res = await get('admin/Pending/EstimateSheetTemplate', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易项目列表
|
||||
export async function SimplePendingIndex (params) {
|
||||
const res = await post('admin/SimplePending/index', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价
|
||||
export async function SimplePendingSave (params) {
|
||||
const res = await post('admin/SimplePending/save', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易项目列表
|
||||
export async function simpleSummary (params) {
|
||||
const res = await post('admin/SimplePending/simpleSummary', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易项目详情
|
||||
export async function getSimpleDetail (params) {
|
||||
const res = await post('admin/SimplePending/getSimpleDetail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 提交简易报告
|
||||
export async function subReport (params) {
|
||||
const res = await post('admin/SimplePending/subReport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易报告-订单状态
|
||||
export async function getOrderStatus (params) {
|
||||
const res = await post('admin/SimplePending/getOrderStatus', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 简易报告-预览
|
||||
export async function reqPreviewReport (params) {
|
||||
const res = await post('admin/SimplePending/reqPreviewReport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 自动估价项目-列表
|
||||
export async function automaticList (params) {
|
||||
const res = await post('admin/pending/AutomaticList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价记录
|
||||
export async function getReturnPriceRecord (params) {
|
||||
const res = await post('admin/Pending/getReturnPriceRecord', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 住宅/商业-预估单列表接口
|
||||
export async function estimateList (params) {
|
||||
const res = await post('admin/Pending/estimateList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 线上报告制作取号
|
||||
export async function GetOnlineReport(params) {
|
||||
const res = await post('admin/Pending/GetOnlineReport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 申请预估制作
|
||||
export async function ApplyEstimateMake(params) {
|
||||
const res = await post('admin/Pending/applyEstimateMake', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价到中行消金
|
||||
export async function ReturnPriceToBoccf(params) {
|
||||
const res = await post('admin/Boccf/returnPriceToBoccf', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 上传预估单报告到系统中
|
||||
export async function UpdateInquiryEstimateUrl(params) {
|
||||
const res = await post('admin/Pending/updateInquiryEstimateUrl', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 发送预估单报告到中行消金
|
||||
// export async function SendEstimateReport(params) {
|
||||
// const res = await post('admin/Boccf/sendEstimateReport', params)
|
||||
// return res
|
||||
// }
|
||||
|
||||
// 发送预估单报告到中行消金和普惠
|
||||
export async function SendPreResult(params) {
|
||||
const res = await post('admin/BocCommon/sendPreResult', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预估的导出
|
||||
export async function exportEstimateExcel(params) {
|
||||
const res = await post('admin/Estimate/exportEstimateExcel', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 作废防伪码
|
||||
export async function cancelAntiCounterfeitingCode(params) {
|
||||
const res = await post('admin/Pending/cancelAntiCounterfeitingCode', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 预估待制作、二审待制作、三审待制作列表接口
|
||||
export async function estimateMakeList (params) {
|
||||
const res = await post('admin/Estimate/estimateList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
//预约取号接口
|
||||
export async function getEstimateNo (params) {
|
||||
const res = await post('admin/Estimate/getEstimateNo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
//提交预估接口
|
||||
export async function submitVerify (params) {
|
||||
const res = await post('admin/Estimate/submitVerify', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 退回接口
|
||||
export async function returnEstimate (params) {
|
||||
const res = await post('admin/Estimate/returnEstimate', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 取消签章接口
|
||||
export async function cancelSign (params) {
|
||||
const res = await post('admin/Pending/CancelSignature', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 提交预估接口
|
||||
export async function submitEstimate (params) {
|
||||
const res = await post('admin/Estimate/submit', params)
|
||||
return res
|
||||
}
|
||||
38
pgweb/src/api/public.js
Normal file
38
pgweb/src/api/public.js
Normal file
@@ -0,0 +1,38 @@
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 数据字典获取
|
||||
export async function reqDataDict (params) {
|
||||
const res = await post('admin/Dictionary/reqDataDict', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 详情是否锁定
|
||||
export async function isAllowOpen (params) {
|
||||
const res = await post('admin/Pending/isAllowOpen', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 延迟关闭
|
||||
export async function delayOpenDetail (params) {
|
||||
const res = await post('admin/Pending/delayOpenDetail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
// 详情关闭
|
||||
export async function close (params) {
|
||||
const res = await post('admin/Pending/close', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// ocr识别房屋证书
|
||||
export async function ocrRecogniseHouseCert (params) {
|
||||
const res = await post('admin/bussiness/ocrRecogniseHouseCert', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 复制物业信息
|
||||
export async function copyPropertyCertInfo (params) {
|
||||
const res = await post('admin/bussiness/copyPropertyCertInfo', params)
|
||||
return res
|
||||
}
|
||||
237
pgweb/src/api/publicTools.js
Normal file
237
pgweb/src/api/publicTools.js
Normal file
@@ -0,0 +1,237 @@
|
||||
import request from '@/libs/request'
|
||||
|
||||
// 支票列表——状态码可读转换
|
||||
export function checkStatus (value) {
|
||||
switch (value) {
|
||||
case -1:
|
||||
return '删除'
|
||||
break
|
||||
case 1:
|
||||
return '库存中'
|
||||
break
|
||||
case 2:
|
||||
return '领取待使用'
|
||||
break
|
||||
case 3:
|
||||
return '转让待确认'
|
||||
break
|
||||
case 4:
|
||||
return '使用待核销'
|
||||
break
|
||||
case 5:
|
||||
return '作废待核销'
|
||||
break
|
||||
case 6:
|
||||
return '使用已核销'
|
||||
break
|
||||
case 7:
|
||||
return '作废已核销'
|
||||
break
|
||||
|
||||
default:''
|
||||
}
|
||||
}
|
||||
// 金额转换
|
||||
// export function number_format(number, decimals, dec_point, thousands_sep) {
|
||||
export function number_format (number, decimals, dec_point, thousands_sep, roundtag) {
|
||||
/*
|
||||
* 参数说明:
|
||||
* number:要格式化的数字
|
||||
* decimals:保留几位小数
|
||||
* dec_point:小数点符号
|
||||
* thousands_sep:千分位符号
|
||||
* */
|
||||
// debugger
|
||||
if (number === null || number === undefined || number === '') {
|
||||
return ''
|
||||
}
|
||||
if (/^\D*$/.test(number)) {
|
||||
return number
|
||||
}
|
||||
number = (number + '').replace(/[^0-9+-Ee.]/g, '')
|
||||
roundtag = roundtag || 'ceil' // "ceil","floor","round"
|
||||
var n = !isFinite(+number) ? 0 : +number,
|
||||
prec = !isFinite(+decimals) ? 0 : Math.abs(decimals),
|
||||
sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep,
|
||||
dec = (typeof dec_point === 'undefined') ? '.' : dec_point,
|
||||
s = '',
|
||||
toFixedFix = function (n, prec) {
|
||||
var k = Math.pow(10, prec)
|
||||
return '' + parseFloat(Math[roundtag](parseFloat((n * k).toFixed(prec * 2))).toFixed(prec * 2)) / k
|
||||
}
|
||||
s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)).split('.')
|
||||
|
||||
var re = /(-?\d+)(\d{3})/
|
||||
while (re.test(s[0])) {
|
||||
s[0] = s[0].replace(re, '$1' + sep + '$2')
|
||||
}
|
||||
if ((s[1] || '').length < prec && decimals !== 0) {
|
||||
s[1] = s[1] || ''
|
||||
s[1] += new Array(prec - s[1].length + 1).join('0')
|
||||
}
|
||||
return s.join(dec)
|
||||
}
|
||||
|
||||
export function mul_number_format (number, decimals, dec_point, thousands_sep, roundtag) {
|
||||
let arr = number.split('/')
|
||||
let str = ''
|
||||
arr.forEach((item, index) => {
|
||||
if (index === 0) {
|
||||
str = number_format(item, decimals, dec_point, thousands_sep, roundtag)
|
||||
} else {
|
||||
str += '/' + number_format(item, decimals, dec_point, thousands_sep, roundtag)
|
||||
}
|
||||
})
|
||||
return str
|
||||
}
|
||||
// 调用 var num=number_format(1234567.089, 2, ".", ",");//1,234,567.09
|
||||
|
||||
/** ************************************时间格式化处理************************************/
|
||||
export function getLocalTime (nS) {
|
||||
return new Date(parseInt(nS) * 1000).toLocaleString().substr(0, 17)
|
||||
}
|
||||
/**
|
||||
* 格式化金额
|
||||
* @param {type} number 要格式化的数字
|
||||
* @param {type} decimals 保留几位小数
|
||||
* @param {type} dec_point 小数点符号
|
||||
* @param {type} thousands_sep 千分位符号
|
||||
* @param {type} roundtag :舍入参数,默认 "ceil" 向上取,"floor"向下取,"round" 四舍五入
|
||||
* @returns {unresolved}
|
||||
*
|
||||
*/
|
||||
// 求数组交集
|
||||
export function arrayIntersection (a, b) {
|
||||
var ai = 0, bi = 0
|
||||
var result = new Array()
|
||||
while (ai < a.length && bi < b.length) {
|
||||
if (a[ai] < b[bi]) { ai++ } else if (a[ai] > b[bi]) { bi++ } else /* they're equal */ {
|
||||
result.push(a[ai])
|
||||
ai++
|
||||
bi++
|
||||
}
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
// 解码服务器结果
|
||||
export function decode_SrvRes (res) {
|
||||
if (res.isSerialized && res.isSerialized == true) {
|
||||
// 解码Base64数据
|
||||
const decodedData = safeAtob(res.data);
|
||||
|
||||
// 解析解码后的数据为JSON对象
|
||||
const decryptedJsonData = JSON.parse(decodedData);
|
||||
|
||||
// 现在 decryptedJsonData 包含了解码并解析后的JSON数据
|
||||
return decryptedJsonData
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
export function safeAtob(base64Str) {
|
||||
// 检查输入字符串是否是有效的Base64编码
|
||||
const base64Regex = /^[A-Za-z0-9+/]+={0,2}$/;
|
||||
if (!base64Regex.test(base64Str)) {
|
||||
throw new Error('The string to be decoded is not correctly encoded.');
|
||||
}
|
||||
|
||||
// 如果输入字符串长度不是4的倍数,添加等号'='
|
||||
while (base64Str.length % 4 !== 0) {
|
||||
base64Str += '=';
|
||||
}
|
||||
|
||||
return atob(base64Str);
|
||||
}
|
||||
|
||||
|
||||
export function timeDifc (date1, date2) {
|
||||
var date1Str = date1.split('-')// 将日期字符串分隔为数组,数组元素分别为年.月.日
|
||||
// 根据年 . 月 . 日的值创建Date对象
|
||||
var date1Obj = new Date(date1Str[0], (date1Str[1] - 1), date1Str[2])
|
||||
var date2Str = date2.split('-')
|
||||
var date2Obj = new Date(date2Str[0], (date2Str[1] - 1), date2Str[2])
|
||||
var t1 = date1Obj.getTime()
|
||||
var t2 = date2Obj.getTime()
|
||||
var dateTime = 1000 * 60 * 60 * 24 // 每一天的毫秒数
|
||||
var minusDays = Math.floor(((t2 - t1) / dateTime))// 计算出两个日期的天数差
|
||||
// var days = Math.abs(minusDays);//取绝对值
|
||||
var days = minusDays// 取绝对值
|
||||
return days
|
||||
}
|
||||
/*
|
||||
* orderSn:订单号
|
||||
* orderType:订单类型
|
||||
* show:edite编辑 view查看详情
|
||||
* stage:控制相关按钮的状态
|
||||
* isCheckAllOrder:是否是综合查询
|
||||
*/
|
||||
export function toOrderDetials (orderSn, orderType, stage, isCheckAllOrder, show) {
|
||||
let argArr = Array.prototype.slice.call(arguments)
|
||||
let orderCode = ''
|
||||
if (arguments.length > 1) {
|
||||
orderCode = orderSn
|
||||
} else {
|
||||
orderCode = this.$route.query.order_sn
|
||||
}
|
||||
let type = ''
|
||||
if (arguments.length > 1) {
|
||||
type = orderType
|
||||
} else {
|
||||
type = this.$route.query.type
|
||||
}
|
||||
let name = ''
|
||||
let businessType = ''
|
||||
switch (type) {
|
||||
case 'JYDB':
|
||||
name = 'quota_orderDetails'
|
||||
businessType = '交易担保'
|
||||
break
|
||||
case 'JYXJ':
|
||||
name = 'cashDetails'
|
||||
businessType = '交易现金'
|
||||
break
|
||||
case 'TMXJ':
|
||||
name = 'noncashDetails'
|
||||
businessType = '房融易(TMXJ)'
|
||||
break
|
||||
case 'DQJK':
|
||||
name = 'shortLoansInfo'
|
||||
businessType = '短期借款'
|
||||
break
|
||||
case 'SQDZ':
|
||||
name = 'advanceDetail'
|
||||
break
|
||||
case 'PDXJ':
|
||||
name = 'mortgageLoansDetails'
|
||||
businessType = '凭抵押回执放款'
|
||||
break
|
||||
case 'GMDZ':
|
||||
name = 'renameRedeemDetails'
|
||||
businessType = '更名赎楼垫资'
|
||||
break
|
||||
case 'QTJD':
|
||||
name = 'otherDebitDetail'
|
||||
businessType = '其他借贷'
|
||||
break
|
||||
case 'PMDB':
|
||||
name = 'pmdbAuctionDetails'
|
||||
businessType = '拍卖担保'
|
||||
break
|
||||
case 'PMXJ':
|
||||
name = 'pmxjAuctionDetails'
|
||||
businessType = '拍卖现金'
|
||||
break
|
||||
}
|
||||
linkTo({
|
||||
name: name,
|
||||
query: {
|
||||
'order_sn': orderCode,
|
||||
'type': type,
|
||||
'businessType': businessType,
|
||||
stage: stage,
|
||||
show: show,
|
||||
isCheckAllOrder: isCheckAllOrder
|
||||
}
|
||||
})
|
||||
}
|
||||
352
pgweb/src/api/report.js
Normal file
352
pgweb/src/api/report.js
Normal file
@@ -0,0 +1,352 @@
|
||||
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 报告待制作-列表
|
||||
export async function getMakeReportList (params) {
|
||||
const res = await post('admin/ReportManage/reqProducingReportList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告-待审核列表
|
||||
export async function getCheckReportList (params) {
|
||||
const res = await post('admin/ReportManage/reqReportReviewingList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告-待审核列表(三审)
|
||||
export async function getCheckReportListThird (params) {
|
||||
const res = await post('admin/ReportManage/CheckReportListThird', params)
|
||||
return res
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取报告分类列表
|
||||
*
|
||||
* @param param 请求参数,可为空
|
||||
* @returns 返回请求结果
|
||||
*/
|
||||
export async function getReportClassList (param=null) {
|
||||
const res = await post('admin/EnumManager/getReportClassList', param)
|
||||
return res
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取报表对象类型列表
|
||||
*
|
||||
* @param param 请求参数(可选)默认为空
|
||||
* @returns 报表对象类型列表
|
||||
*/
|
||||
export async function getReportObjTypeList (param=null) {
|
||||
const res = await post('admin/EnumManager/getReportObjTypeList', param)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-列表
|
||||
export async function getReportList (params) {
|
||||
const res = await post('admin/ReportManage/reqReportList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-基本信息
|
||||
export async function reportInfo (params) {
|
||||
const res = await post('admin/reportManage/reportInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-提交
|
||||
export async function reqSubmitReportModify (params) {
|
||||
const res = await post('admin/reportManage/reqSubmitReportModify', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-详情-头部信息
|
||||
export async function baseInfo (params) {
|
||||
const res = await post('admin/reportManage/baseInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告详情-查勘信息
|
||||
export async function reqReportSurveyDetail (params) {
|
||||
const res = await post('admin/reportManage/reqReportSurveyDetail', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 打印装订列表
|
||||
export async function reqPrintDocList (params) {
|
||||
const res = await post('admin/ReportManage/reqPrintDocList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 完成打印装订
|
||||
export async function reqReportPrintSubmit (params) {
|
||||
const res = await post('admin/ReportManage/reqReportPrintSubmit', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 完成盖章
|
||||
export async function reqReportSealSubmit (params) {
|
||||
const res = await post('admin/ReportManage/reqReportSealSubmit', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 领取报告
|
||||
export async function reqPickupReport (params) {
|
||||
const res = await post('admin/ReportManage/reqPickupReport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 评估师
|
||||
export async function getAppraiser (params) {
|
||||
const res = await post('admin/ReportManage/getAppraiser', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告详情页-头部信息
|
||||
export async function topBaseInfo (params) {
|
||||
const res = await post('admin/ReportManage/topBaseInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告详情页-基本信息
|
||||
export async function getBaseInfo (params) {
|
||||
const res = await post('admin/ReportManage/baseInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取片区
|
||||
export async function getSmallArea (params) {
|
||||
const res = await post('admin/Regions/getSmallArea', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告摘要
|
||||
export async function reqReportAbstractInfo (params) {
|
||||
const res = await post('admin/ReportManage/reqReportAbstractInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 测试方法-比较法简单信息
|
||||
export async function methodSimpleInfo (params) {
|
||||
const res = await post('admin/ReportManage/methodSimpleInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 测试方法-收益法信息
|
||||
export async function methodProfitInfo (params) {
|
||||
const res = await post('admin/ReportManage/methodProfitInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 测试方法-收益法信息
|
||||
export async function methodGYProfitInfo (params) {
|
||||
const res = await post('admin/ReportManage/methodGYProfitInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 测试方法-比较法正式信息
|
||||
export async function methodFormalInfo (params) {
|
||||
const res = await post('admin/ReportManage/methodFormalInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 测试方法-GZ比较法正式信息
|
||||
export async function methodGzFormalInfo (params) {
|
||||
const res = await post('admin/ReportManage/methodGzFormalInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告制作-提交报告
|
||||
export async function subReport (params) {
|
||||
const res = await post('admin/ReportManage/subReport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
// 保存报告基础信息
|
||||
export async function saveReportBaseInfo (params) {
|
||||
const res = await post('admin/ReportManage/saveReportBaseInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告制作-保存报告
|
||||
export async function conserveReport (params) {
|
||||
const res = await post('admin/ReportManage/conserveReport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-报告预览
|
||||
export async function reqPreviewReport (params) {
|
||||
const res = await post('admin/ReportManage/reqPreviewReport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-所在大区
|
||||
export async function getBigArea (params) {
|
||||
const res = await post('admin/ReportManage/getBigArea', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-所在小片区
|
||||
export async function getSmallAreaList (params) {
|
||||
const res = await post('admin/ReportManage/getSmallArea', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告待审核-退回
|
||||
export async function subApprovalReturn (params) {
|
||||
const res = await post('admin/ReportManage/subApprovalReturn', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告待审核-退回
|
||||
export async function subFinishReturn (params) {
|
||||
const res = await post('admin/ReportManage/subFinishReturn', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告待审核-完成报告
|
||||
export async function subFinish (params) {
|
||||
const res = await post('admin/ReportManage/subFinish', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-迁移报告列表
|
||||
export async function moveReportList (params) {
|
||||
const res = await post('admin/ReportManage/moveReportList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-建行报告盖章列表
|
||||
export async function reportSealList (params) {
|
||||
const res = await post('admin/ReportManage/reportSealList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-建行报告完成盖章
|
||||
export async function subReportSeal (params) {
|
||||
const res = await post('admin/ReportManage/subReportSeal', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-简易打印装订列表
|
||||
export async function easyPrintList (params) {
|
||||
const res = await post('admin/ReportManage/easyPrintList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-提交简易报告操作
|
||||
export async function subEasyPrint (params) {
|
||||
const res = await post('admin/ReportManage/subEasyPrint', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告管理-评估目的
|
||||
export async function getEvaluatePurpose (params) {
|
||||
const res = await post('admin/ReportManage/getEvaluatePurpose', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告制作-获取报告模板
|
||||
export async function getReportTemplate (params) {
|
||||
const res = await post('admin/ReportManage/getReportTemplate', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告制作-获取区域情况分析
|
||||
export async function getAreaInfo (params) {
|
||||
const res = await post('admin/ReportManage/getAreaInfo', params)
|
||||
return res
|
||||
}
|
||||
// 报告制作-保存区域情况分析
|
||||
export async function conserveArea (params) {
|
||||
const res = await post('admin/ReportManage/conserveArea', params)
|
||||
return res
|
||||
}
|
||||
// 报告制作-个人制作列表
|
||||
export async function personalReportList (params) {
|
||||
const res = await post('admin/ReportManage/personalReportList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告制作-获取审核意见信息
|
||||
export async function getApprovalInfo (params) {
|
||||
const res = await post('admin/ReportManage/getApprovalInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告- 查勘员接口
|
||||
export async function getRole (params) {
|
||||
const res = await post('admin/User/getRole', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告- 复制报告
|
||||
export async function reportCopy (params) {
|
||||
const res = await post('admin/ReportManage/reportCopy', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 报告- 修改报告编号
|
||||
export async function changeReportNo (params) {
|
||||
const res = await post('admin/ReportManage/changeReportNo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 备注
|
||||
export async function addRemark (params) {
|
||||
const res = await post('admin/ReportManage/addRemark', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取案例成交价
|
||||
export async function guideInfo (params) {
|
||||
const res = await post('admin/ReportManage/guideInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 删除案例成交价
|
||||
export async function guideInfoDel (params) {
|
||||
const res = await post('admin/ReportManage/guideInfoDel', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 一键删除查勘图片
|
||||
export async function delAllSurveyImgs (params) {
|
||||
const res = await post('admin/ReportManage/delAllSurveyImgs', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 发送报告到中行消金
|
||||
export async function sendReportToBoccf (params) {
|
||||
const res = await post('admin/Boccf/sendReport', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 发送报告到中行消金和普惠
|
||||
export async function SendApplyOfficial (params) {
|
||||
const res = await post('admin/BocCommon/sendApplyOfficial', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 财务导出
|
||||
export async function exportFinanceExcel (params) {
|
||||
const res = await post('admin/Finance/exportFinanceExcel', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 作废防伪码
|
||||
export async function reportCancelAntiCounterfeitCode (params) {
|
||||
const res = await post('admin/ReportManage/cancelAntiCounterfeitCode', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查询客户经理信息
|
||||
export async function getBocAccountManager (params) {
|
||||
const res = await post('admin/Boccf/getAccountManagerInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
export async function UpdateInquiryReportUrl (params) {
|
||||
const res = await post('admin/ReportManage/updateInquiryReportUrl', params)
|
||||
return res
|
||||
}
|
||||
93
pgweb/src/api/surveyManage.js
Normal file
93
pgweb/src/api/surveyManage.js
Normal file
@@ -0,0 +1,93 @@
|
||||
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 查勘指派列表
|
||||
export async function reqAssignSurveyOrder (params) {
|
||||
const res = await post('admin/survey/reqAssignSurveyOrder', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘待跟进列表
|
||||
export async function reqFollowSurveyList (params) {
|
||||
const res = await post('admin/survey/reqFollowSurveyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘已完成列表
|
||||
export async function reqCompletedSurveyList (params) {
|
||||
const res = await post('admin/survey/reqCompletedSurveyList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘已退回列表
|
||||
export async function reqSurveyReturnList (params) {
|
||||
const res = await post('admin/survey/reqSurveyReturnList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘退回
|
||||
export async function reqSubmitSurveyReturn (params) {
|
||||
const res = await post('admin/survey/reqSubmitSurveyReturn', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘细项
|
||||
export async function surveyOptions (params) {
|
||||
const res = await post('admin/survey/surveyOptions', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘提交
|
||||
export async function reqSubmitSurvey (params) {
|
||||
const res = await post('admin/survey/reqSubmitSurvey', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘提交
|
||||
export async function reqAppointedToSurveyor (params) {
|
||||
const res = await post('admin/survey/reqAppointedToSurveyor', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘人员列表
|
||||
export async function surveyPersonnel (params) {
|
||||
const res = await post('admin/survey/surveyPersonnel', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 获取角色用户
|
||||
export async function getRole (params) {
|
||||
const res = await post('admin/User/getRole', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘编辑提交
|
||||
export async function reqEditSurvey (params) {
|
||||
const res = await post('admin/Survey/reqEditSurvey', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 改派查勘员
|
||||
export async function transferSurveyUser (params) {
|
||||
const res = await post('admin/Survey/transferSurveyUser', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 删除
|
||||
export async function reqDelSurveyReturnOrder (params) {
|
||||
const res = await post('admin/survey/reqDelSurveyReturnOrder', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 复制
|
||||
export async function copySurveyData (params) {
|
||||
const res = await post('admin/survey/copySurveyData', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 查勘已完成退回到待跟进
|
||||
export async function surveyReturn (params) {
|
||||
const res = await post('admin/survey/surveyReturn', params)
|
||||
return res
|
||||
}
|
||||
|
||||
42
pgweb/src/api/unreturnedPrice.js
Normal file
42
pgweb/src/api/unreturnedPrice.js
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 住宅/商业项目列表接口
|
||||
export async function reqAppraisingPriceList (params) {
|
||||
const res = await post('admin/Pending/reqAppraisingPriceList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价提交
|
||||
export async function save (params) {
|
||||
const res = await post('admin/Pending/save', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价详情
|
||||
export async function reqAppraisingInfo (params) {
|
||||
const res = await post('admin/Pending/reqAppraisingInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 询价历史
|
||||
export async function reqQuotHistoryList (params) {
|
||||
const res = await post('admin/Pending/reqQuotHistoryList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 项目列表
|
||||
export async function reqAppraisedCompletedPriceList (params) {
|
||||
const res = await post('admin/Pending/reqAppraisedCompletedPriceList', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 回价详情--已完成
|
||||
export async function reqAppraisedPriceInfo (params) {
|
||||
const res = await post('admin/Pending/reqAppraisedPriceInfo', params)
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
13
pgweb/src/api/upload.js
Normal file
13
pgweb/src/api/upload.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { get, post } from '@/libs/request'
|
||||
|
||||
// 获取指定数据字典
|
||||
export async function getCosConfig (params) {
|
||||
const res = await get('credit/getCosConfig', params)
|
||||
return res
|
||||
}
|
||||
|
||||
// 上传
|
||||
export async function fileUpload (params) {
|
||||
const res = await post('admin/Index/fileUpload', params)
|
||||
return res
|
||||
}
|
||||
80
pgweb/src/api/user.js
Normal file
80
pgweb/src/api/user.js
Normal file
@@ -0,0 +1,80 @@
|
||||
import request from '@/libs/request'
|
||||
|
||||
// 登录
|
||||
export function login (params) {
|
||||
return request({
|
||||
url: 'admin/User/SignIn',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
};
|
||||
|
||||
// 获取用户列表
|
||||
export function getUserList (params) {
|
||||
return request({
|
||||
url: 'admin/User/getUserList',
|
||||
method: 'get',
|
||||
data: params
|
||||
})
|
||||
};
|
||||
|
||||
// 退出登录
|
||||
export function logout (params) {
|
||||
return request({
|
||||
url: 'admin/User/Logout',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
};
|
||||
|
||||
// 刷新token
|
||||
export function checkLogin (params) {
|
||||
return request({
|
||||
url: 'admin/User/Refresh',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
};
|
||||
|
||||
// 获取扫码信息
|
||||
export function createRrcode (params) {
|
||||
return request({
|
||||
url: 'admin/User/qrcode',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
};
|
||||
|
||||
// 二维码登录
|
||||
export function qrCodeLogin (params) {
|
||||
return request({
|
||||
url: 'admin/User/qrCodeLogin',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
};
|
||||
// 销毁二维码
|
||||
export function qrCodeDestory (params) {
|
||||
return request({
|
||||
url: 'admin/User/destroyQrcode',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
};
|
||||
|
||||
// 根据用户名获取用户列表
|
||||
export function getUserListByRole (params) {
|
||||
return request({
|
||||
url: 'admin/User/getRole',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
};
|
||||
|
||||
export function updatePwd(params) {
|
||||
return request({
|
||||
url: 'admin/User/updatePwd',
|
||||
method: 'post',
|
||||
data: params
|
||||
})
|
||||
};
|
||||
Reference in New Issue
Block a user