|
|
@@ -5,7 +5,7 @@ import Cookies from "js-cookie"; |
|
|
|
// 查询部门下拉树结构 |
|
|
|
export function treeselect() { |
|
|
|
return request({ |
|
|
|
url: '/depositm/dept/treeselect', |
|
|
|
url: '/open/depositm/dept/treeselect', |
|
|
|
method: 'get' |
|
|
|
}) |
|
|
|
} |
|
|
@@ -13,7 +13,7 @@ export function treeselect() { |
|
|
|
// 保险公司登录 |
|
|
|
export function serviceLogin(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialService/login', |
|
|
|
url: '/open/depositm/financialService/login', |
|
|
|
method: 'post', |
|
|
|
data: data |
|
|
|
}) |
|
|
@@ -22,7 +22,7 @@ export function serviceLogin(data) { |
|
|
|
// 保险公司注册 |
|
|
|
export function serviceRegister(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialService/register', |
|
|
|
url: '/open/depositm/financialService/register', |
|
|
|
method: 'post', |
|
|
|
data: data |
|
|
|
}) |
|
|
@@ -31,7 +31,7 @@ export function serviceRegister(data) { |
|
|
|
// 服务组织登录 |
|
|
|
export function entityLogin(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/entity/login', |
|
|
|
url: '/open/depositm/entity/login', |
|
|
|
method: 'post', |
|
|
|
data: data |
|
|
|
}) |
|
|
@@ -40,7 +40,7 @@ export function entityLogin(data) { |
|
|
|
//保险公司列表 |
|
|
|
export function serviceList(query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialService/list', |
|
|
|
url: '/open/depositm/financialService/list', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -52,7 +52,7 @@ export function serviceList(query) { |
|
|
|
//保险公司详情 |
|
|
|
export function serviceGet(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialService/get/'+id, |
|
|
|
url: '/open/depositm/financialService/get/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -63,7 +63,7 @@ export function serviceGet(id) { |
|
|
|
//保险公司修改 |
|
|
|
export function serviceEdit(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialService/edit', |
|
|
|
url: '/open/depositm/financialService/edit', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -75,7 +75,7 @@ export function serviceEdit(data) { |
|
|
|
//保险产品列表 |
|
|
|
export function productList(query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialProduct/list', |
|
|
|
url: '/open/depositm/financialProduct/list', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -87,7 +87,7 @@ export function productList(query) { |
|
|
|
//保险产品详情 |
|
|
|
export function productGet(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialProduct/get/'+id, |
|
|
|
url: '/open/depositm/financialProduct/get/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -98,7 +98,7 @@ export function productGet(id) { |
|
|
|
//上传全局方法附件 |
|
|
|
export function commonUpload(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/common/upload', |
|
|
|
url: '/open/depositm/common/upload', |
|
|
|
method: 'post', |
|
|
|
headers: { |
|
|
|
"Content-Type": 'application/x-www-form-urlencoded', |
|
|
@@ -111,7 +111,7 @@ export function commonUpload(data) { |
|
|
|
// 修改保险产品 |
|
|
|
export function financialProductEdit(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialProduct/edit', |
|
|
|
url: '/open/depositm/financialProduct/edit', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -123,7 +123,7 @@ export function financialProductEdit(data) { |
|
|
|
// 新增保险产品 |
|
|
|
export function financialProductAdd(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialProduct/add', |
|
|
|
url: '/open/depositm/financialProduct/add', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -135,7 +135,7 @@ export function financialProductAdd(data) { |
|
|
|
// 保险产品上架 |
|
|
|
export function productIn(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialProduct/productIn/'+id, |
|
|
|
url: '/open/depositm/financialProduct/productIn/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -146,7 +146,7 @@ export function productIn(id) { |
|
|
|
// 保险产品下架 |
|
|
|
export function productOut(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialProduct/productOut/'+id, |
|
|
|
url: '/open/depositm/financialProduct/productOut/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -157,7 +157,7 @@ export function productOut(id) { |
|
|
|
//服务组织列表 |
|
|
|
export function detailList(query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/entity/list', |
|
|
|
url: '/open/depositm/entity/list', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -169,7 +169,7 @@ export function detailList(query) { |
|
|
|
//服务组织注册 |
|
|
|
export function entityRegister(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/entity/register', |
|
|
|
url: '/open/depositm/entity/register', |
|
|
|
method: 'post', |
|
|
|
data: data |
|
|
|
}) |
|
|
@@ -178,7 +178,7 @@ export function entityRegister(data) { |
|
|
|
//服务项目列表 |
|
|
|
export function supplyDemandList(query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyDemand/list', |
|
|
|
url: '/open/depositm/supplyDemand/list', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -190,7 +190,7 @@ export function supplyDemandList(query) { |
|
|
|
//服务项目列表 |
|
|
|
export function productTypes(query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyDemand/productTypes', |
|
|
|
url: '/open/depositm/supplyDemand/productTypes', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -202,7 +202,7 @@ export function productTypes(query) { |
|
|
|
//服务项目详情 |
|
|
|
export function supplyDemandGet(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyDemand/get/'+id, |
|
|
|
url: '/open/depositm/supplyDemand/get/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -213,7 +213,7 @@ export function supplyDemandGet(id) { |
|
|
|
// 编辑服务项目 |
|
|
|
export function supplyDemandEdit(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyDemand/edit', |
|
|
|
url: '/open/depositm/supplyDemand/edit', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -237,7 +237,7 @@ export function supplyComment(data) { |
|
|
|
// 服务项目下架 |
|
|
|
export function supplyDemandProductOut(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyDemand/productOut/'+id, |
|
|
|
url: '/open/depositm/supplyDemand/productOut/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -248,7 +248,7 @@ export function supplyDemandProductOut(id) { |
|
|
|
// 服务项目上架 |
|
|
|
export function supplyDemandProductIn(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyDemand/productIn/'+id, |
|
|
|
url: '/open/depositm/supplyDemand/productIn/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -259,7 +259,7 @@ export function supplyDemandProductIn(id) { |
|
|
|
// 服务项目新增 |
|
|
|
export function supplyDemandAdd(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyDemand/add', |
|
|
|
url: '/open/depositm/supplyDemand/add', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -272,7 +272,7 @@ export function supplyDemandAdd(data) { |
|
|
|
// 拒单 |
|
|
|
export function supplyorderReject(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyorder/reject/'+id, |
|
|
|
url: '/open/depositm/supplyorder/reject/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -283,7 +283,7 @@ export function supplyorderReject(id) { |
|
|
|
// 接单 |
|
|
|
export function supplyorderFinish(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyorder/finish/'+id, |
|
|
|
url: '/open/depositm/supplyorder/finish/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -294,7 +294,7 @@ export function supplyorderFinish(id) { |
|
|
|
//订单列表 |
|
|
|
export function supplyorderList(query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyorder/list', |
|
|
|
url: '/open/depositm/supplyorder/list', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -306,7 +306,7 @@ export function supplyorderList(query) { |
|
|
|
//服务组织订单统计 |
|
|
|
export function orderStatistics(query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyorder/orderStatistics', |
|
|
|
url: '/open/depositm/supplyorder/orderStatistics', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -318,7 +318,7 @@ export function orderStatistics(query) { |
|
|
|
//订单详情 |
|
|
|
export function supplyorderGet(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/supplyorder/get/'+id, |
|
|
|
url: '/open/depositm/supplyorder/get/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -329,7 +329,7 @@ export function supplyorderGet(id) { |
|
|
|
//服务组织详情 |
|
|
|
export function entityGet(id) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/entity/get/'+id, |
|
|
|
url: '/open/depositm/entity/get/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -364,7 +364,7 @@ export function placeOrder(data) { |
|
|
|
//下单 |
|
|
|
export function entityEdit(data) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/entity/edit', |
|
|
|
url: '/open/depositm/entity/edit', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -376,7 +376,7 @@ export function entityEdit(data) { |
|
|
|
//贷款需求列表 |
|
|
|
export function loanDemandList(query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialService/loanDemandList', |
|
|
|
url: '/open/depositm/financialService/loanDemandList', |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -388,7 +388,7 @@ export function loanDemandList(query) { |
|
|
|
//贷款需求列表 |
|
|
|
export function thirdDetail(id,query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialService/thirdDetail/'+id, |
|
|
|
url: '/open/depositm/financialService/thirdDetail/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
@@ -400,7 +400,7 @@ export function thirdDetail(id,query) { |
|
|
|
//贷款需求列表 |
|
|
|
export function subjectDetail(id,query) { |
|
|
|
return request({ |
|
|
|
url: '/depositm/financialService/subjectDetail/'+id, |
|
|
|
url: '/open/depositm/financialService/subjectDetail/'+id, |
|
|
|
headers: { |
|
|
|
"ACCESS-SESSION-ID": Cookies.get('ACCESS-SESSION-ID') |
|
|
|
}, |
|
|
|