Commit 8bc5268c by 任晓松

展板 需求列表,订单列表

parent e204a3bb
......@@ -69,6 +69,9 @@ class OpNeed extends APIBase {
case "getNeedComparison":
opResult = await this.utilsOpNeedSve.getNeedComparison(pobj);
break;
case "getNeedComparisonList":
opResult = await this.utilsOpNeedSve.getNeedComparisonList(pobj);
break;
default:
opResult = system.getResult(null, "action_type参数错误");
break;
......
......@@ -44,6 +44,9 @@ class ProductAPI extends WEBBase {
case "getOrdersComparison":
opResult = await this.utilsOrderSve.getOrdersComparison(pobj);
break;
case "getOrdersComparisonList":
opResult = await this.utilsOrderSve.getOrdersComparisonList(pobj);
break;
case "getOrderDetails"://获取订单详情信息
opResult = await this.utilsOrderSve.getOrderDetails(pobj, pobj.actionBody);
break;
......
......@@ -461,6 +461,17 @@ class UtilsOpNeedService extends AppServiceBase {
return system.getResultSuccess(reArr);
}
/**
* 启服通 展板 需求列表
* @param pobj
* @returns {Promise<void>}
*/
async getNeedComparisonList(pobj){
let url = this.centerOrderUrl + "action/opNeed/springBoard";
let result = await this.restPostUrl(pobj, url);
return result;
}
urlSplit(url) {
var arr = url.split("?")[1]; //根据?跟个url
......
......@@ -271,6 +271,20 @@ class UtilsOrderService extends AppServiceBase {
return result;
}
/**
* 启服通展板 订单列表
* @param pobj
* @returns {Promise<void>}
*/
async getOrdersComparisonList(pobj){
let url = this.centerOrderUrl + "action/order/springBoard";
let result = await this.restPostUrl(pobj, url);
if(result.status != 0){
return system.getResultFail(-1);
}
return result;
}
async getOrderDetails(pobj, actionBody) {
var reqUrl = this.centerOrderUrl + "action/order/springBoard";
var result = await this.restPostUrl(pobj, reqUrl);
......
......@@ -17,7 +17,7 @@ module.exports = {
"ncSubmitMaterial", "ncNotification", "ncSubmitSolution", "ncCloseNeed", "ncClosePlan",
"rtSubmitMaterial", "rtNotification", "rtSubmitSolution", "rtCloseNeed", "rtClosePlan",
"getParamsFor360", "addOrderWeb", "getPayRecords", "getLoginInfo", "putUserMobileByVcode",
"putUserPwdByMobile", "icpNotifyNew","getOrderStatisticsByUappId","getOrderStatisticsByProduct","getOrdersComparison",
"putUserPwdByMobile", "icpNotifyNew","getOrderStatisticsByUappId","getOrderStatisticsByProduct","getOrdersComparison","getOrdersComparisonList",
//百度工商注册
"regGetInfoByChannelNeedNo","submitRegNeed","regFeedbackSubmit","regOrderStatus","regOrderClose",
"getSolutionByChannelOrderNo","regSubmitSolution","regNeedClose",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment