|
|
@@ -6,7 +6,7 @@ import { commonSearch_go } from "@/services/go";
|
|
|
import {
|
|
|
QhjAccountOutInApply,
|
|
|
QhjContract,
|
|
|
- QhjCustomer,
|
|
|
+ QhjCustomer, QhjMgrSubArea,
|
|
|
QhjParentAreaList,
|
|
|
|
|
|
QhjPayOrder, QhjPickGoods,
|
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
QueryAccountInOutApplyReq,
|
|
|
|
|
|
QueryCustomerInfoReq, QueryPayOrderReq,
|
|
|
- QueryReckonPriceLogReq
|
|
|
+ QueryReckonPriceLogReq, QuerySubAreaReq
|
|
|
} from "@/services/go/ermcp/qhj/interface";
|
|
|
|
|
|
/**
|
|
|
@@ -34,12 +34,13 @@ export function queryTradeGoodsPickup(): Promise<QhjTradeGoodsPickup[]> {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ *
|
|
|
* -- 铂金宝 - 充值提现审核 - 充值审核/提现审核
|
|
|
- * 查询充值提现 /Qhj/QueryAccountInOutApply
|
|
|
+ * 查询充值提现 /QhjMgr/QueryAccountInOutApply
|
|
|
* @param req
|
|
|
*/
|
|
|
export function queryAccountInOutApply(req: QueryAccountInOutApplyReq): Promise<QhjAccountOutInApply[]> {
|
|
|
- return commonSearch_go('/Qhj/QueryAccountInOutApply', req).catch((err) => {
|
|
|
+ return commonSearch_go('/QhjMgr/QueryAccountInOutApply', req).catch((err) => {
|
|
|
throw new Error(`查询充值提现: ${err}`);
|
|
|
});
|
|
|
}
|
|
|
@@ -100,14 +101,11 @@ export function queryContract(scfcontractid?: number): Promise<QhjContract[]> {
|
|
|
|
|
|
/**
|
|
|
* -- 铂金宝 - 客户资料
|
|
|
- * 查询客户资料 /Qhj/QueryCustomerInfo
|
|
|
+ * 查询客户资料 /QhjMgr/QueryCustomerInfo
|
|
|
* @param req
|
|
|
*/
|
|
|
export function queryCustomerInfo(req: QueryCustomerInfoReq): Promise<QhjCustomer[]> {
|
|
|
- const userid = getUsrId();
|
|
|
- req.userid = userid;
|
|
|
-
|
|
|
- return commonSearch_go('/Qhj/QueryCustomerInfo', req).catch((err) => {
|
|
|
+ return commonSearch_go('/QhjMgr/QueryCustomerInfo', req).catch((err) => {
|
|
|
throw new Error(`查询客户资料: ${err}`);
|
|
|
});
|
|
|
}
|
|
|
@@ -150,4 +148,15 @@ export function queryPayOrder(req: QueryPayOrderReq): Promise<QhjPayOrder[]> {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * -- 铂金宝 - 查询子机构列表
|
|
|
+ * 查询子机构列表 /QhjMgr/QuerySubArea
|
|
|
+ * @param req
|
|
|
+ */
|
|
|
+export function querySubArea(req: QuerySubAreaReq): Promise<QhjMgrSubArea[]> {
|
|
|
+ return commonSearch_go('/QhjMgr/QuerySubArea', req).catch((err) => {
|
|
|
+ throw new Error(`查询子机构列表: ${err}`);
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
|