This commit is contained in:
唐明明
2023-05-22 11:13:29 +08:00
parent c77b741c61
commit 0fe6fd4aaf
47 changed files with 6090 additions and 39 deletions

View File

@@ -87,6 +87,33 @@ const dgFree = (orderNo, type) => {
})
}
// 银联综法支付
const umsSynthesize = data => {
return request({
url : 'pay/cashier_desk/ums',
data,
method: 'POST'
})
}
// 抖拱综法支付
const dgSynthesize = data => {
return request({
url : 'pay/cashier_desk/dg',
data,
method: 'POST'
})
}
// 火力值综法支付
const coinSynthesize = data => {
return request({
url : 'pay/cashier_desk/score',
data,
method: 'POST'
})
}
export {
coinPay,
diffCoinPay,
@@ -97,5 +124,8 @@ export {
umsFreeInfo,
dgPay,
diffDgPay,
dgFree
dgFree,
umsSynthesize,
dgSynthesize,
coinSynthesize
}

View File

@@ -0,0 +1,276 @@
/**
* 手太欠
* 愿这世界都如故事里一样 美好而动人~
*/
import { request } from '../index'
// 获取综法订单数据数量
const synthesisCount = (data) =>{
return request({
url: "synthesis/data/orders_count",
data: data
})
}
// 综法咨询-一次免费列表
const synthList = () =>{
return request({
url: "synthesis/index"
})
}
// 综法咨询-一次免费详情
const synthDet = (synthesis_id) =>{
return request({
url: "synthesis/index/" + synthesis_id
})
}
// 综法咨询-一次免费创建单
const synthPost = (synthesis_id, data) =>{
return request({
url: "synthesis/index/" + synthesis_id + "/order",
method: 'POST',
data: data
})
}
// 综法咨询-年费服务包列表
const yearSynthList = data =>{
return request({
url: "synthesis/services",
data: data
})
}
// 综法咨询-年费服务包详情
const yearSynthInfo = (service_id) =>{
return request({
url: "synthesis/services/" + service_id
})
}
// 综法咨询-年费服务包创建单
const yearSynthPost = (service_id, data) =>{
return request({
url : "synthesis/services/" + service_id + "/buy",
method : 'POST',
data : data
})
}
// 综法咨询-案件委托列表
const entrustList = () =>{
return request({
url: "synthesis/entrusts"
})
}
// 综法咨询-案件委托子分类
const entrustSon = data =>{
return request({
url: "synthesis/entrust/all",
data: data
})
}
// 综法咨询-案件委托详情
const entrustInfo = (entrust_id) =>{
return request({
url: "synthesis/entrust/" + entrust_id
})
}
// 综法咨询-案件委托创建单
const entrustPost = (entrust_id, data) =>{
return request({
url: "synthesis/entrust/" + entrust_id + "/order",
method: 'POST',
data: data
})
}
// 综法咨询-拓展服务列表
const expandsList = () =>{
return request({
url: "synthesis/expands",
})
}
// 综法咨询-拓展服务详情
const expandsInfo = (expand_id) =>{
return request({
url: "synthesis/expand/" + expand_id
})
}
// 综法咨询-拓展服务创建单
const expandsPost = (expand_id, data) =>{
return request({
url: "synthesis/expand/" + expand_id + "/order",
method: 'POST',
data: data
})
}
// 综法咨询-年费服务包微信支付
const yearSynthPay = (service_order_id, data) =>{
return request({
url: "pay/service_order/" + service_order_id + "/wechat",
data: data
})
}
// 年费订单-列表
const yearOrder = data =>{
return request({
url: "synthesis/services/orders",
data: data
})
}
// 年费订单-详情
const yearOrderSee = (order_id) =>{
return request({
url: "synthesis/services/order/" + order_id
})
}
// 咨询单-列表
const seekOrder = data =>{
return request({
url: "synthesis/orders",
data: data
})
}
// 咨询订单-详情
const seekOrderSee = (synthesis_order_id) =>{
return request({
url: "synthesis/order/" + synthesis_order_id
})
}
// 委托单-列表
const entrustOrder = data =>{
return request({
url: "synthesis/entrust/orders",
data: data
})
}
// 拓展单-列表
const expandOrder = data =>{
return request({
url: "synthesis/expand/orders",
data: data
})
}
// 年费费--线下打款
const offlineOpen = (data) =>{
return request({
url: "pay/offline/pay",
method: 'POST',
data: data
})
}
// 查看打款凭证-查看提交信息
const bankSee = (pay_id, data) =>{
return request({
url: "pay/offline/" + pay_id + "/show",
data: data
})
}
// 编辑打款凭证
const bankEdit = (pay_id, data) =>{
return request({
url: "pay/offline/" + pay_id + "/edit",
method: 'POST',
data: data
})
}
// 获取线下打款银行
const bankInfo = (data) =>{
return request({
url: "pay/offline/bank"
})
}
// 咨询单-补差价列表
const diffPrices = data =>{
return request({
url: "synthesis/diff_prices",
data: data
})
}
// 咨询单-创建补差价
const entrustPay = data =>{
return request({
url: "synthesis/diff_prices/create",
method: 'POST',
data: data
})
}
// 咨询单-取消补差价
const cancelPrices = (diff_price_id) =>{
return request({
url: "synthesis/diff_prices/" + diff_price_id,
method: 'DELETE'
})
}
// 获取签约地址
const esignUrl = (data) =>{
return request({
url: "synthesis/esign/sign_url",
data: data
})
}
export {
synthesisCount,
synthList,
synthDet,
synthPost,
yearSynthList,
yearSynthInfo,
yearSynthPost,
entrustList,
entrustSon,
entrustInfo,
entrustPost,
expandsList,
expandsInfo,
expandsPost,
yearSynthPay,
yearOrder,
yearOrderSee,
seekOrder,
seekOrderSee,
entrustOrder,
expandOrder,
offlineOpen,
bankSee,
bankEdit,
bankInfo,
diffPrices,
entrustPay,
cancelPrices,
esignUrl
}

View File

@@ -0,0 +1,93 @@
/**
* Web唐明明
* 匆匆数载恍如梦,岁月迢迢华发增。
* 碌碌无为枉半生,一朝惊醒万事空。
* moduleName: 综法订单
*/
import { request } from '../index'
// 年费订单
const servicesOrder = (data) =>{
return request({
url : "app/synthesis/services/orders",
data
})
}
// 咨询订单
const synthesisOrder = (data) =>{
return request({
url : "app/synthesis/orders",
data
})
}
// 委托订单
const entrustOrder = (data) =>{
return request({
url : "app/synthesis/entrusts/orders",
data
})
}
// 拓展订单
const expandOrder = (data) =>{
return request({
url : "app/synthesis/expands/orders",
data
})
}
// 年费订单 - 详情
const servicesInfo = service_id => {
return request({
url : 'app/synthesis/service/order/' + service_id
})
}
// 咨询订单 - 详情
const synthesisInfo = service_id => {
return request({
url : 'app/synthesis/order/' + service_id
})
}
// 委托订单 - 详情
const entrustInfo = service_id => {
return request({
url : 'app/synthesis/entrust/order/' + service_id
})
}
// 拓展订单 - 详情
const expandInfo = service_id => {
return request({
url : 'app/synthesis/expand/order/' + service_id
})
}
// 订单详情
const oderinfo = (order_id, order_type) => {
return request({
url : 'pay/cashier_desk/info',
data : {
order_id,
order_type
},
method : 'POST'
})
}
export {
servicesOrder,
synthesisOrder,
entrustOrder,
expandOrder,
servicesInfo,
synthesisInfo,
entrustInfo,
expandInfo,
oderinfo
}

View File

@@ -172,6 +172,14 @@ const getFlows = id => {
})
}
// 获取所有省市数据
const createCity = (data) =>{
return request({
url: "region/pro_city",
data: data
})
}
export {
relations,
code,
@@ -192,5 +200,6 @@ export {
getTeam,
getTeamLogs,
getSignLogs,
getFlows
getFlows,
createCity
}