Commit 9481d46d by 庄冰

ic2

parent 38ee957b
......@@ -25,10 +25,10 @@ class CenterorderService{
var needinfo = res.data.needinfo;//需求信息
var needsolution = res.data.needsolution;//方案信息
//推送数据至阿
var bizType = pobj.actionBody.solutionContent.bizType || "";//业务类型里
var pushObj = {
intentionBizId:needinfo.channelNeedNo,bizType:bizType,solution:ab.solutionContent.solution
};
// var bizType = pobj.actionBody.solutionContent.bizType || "";//业务类型里
// var pushObj = {
// intentionBizId:needinfo.channelNeedNo,bizType:bizType,solution:ab.solutionContent.solution
// };
// var pushRes = await this.aliclient.reqbyget({action:"",reqbody:pushObj});
// if(pushRes && pushRes.SolutionBizId){
// var reqObj2 = {
......@@ -40,9 +40,10 @@ class CenterorderService{
// };
// await this.reqCenterOrderApi(reqObj2);//保存渠道方案id
// }
}
return system.getResultSuccess();
}
return res;
}
//服务商方案作废
async abolishProgramme(pobj){
var res = await this.reqCenterOrderApi(pobj);
......
......@@ -93,7 +93,8 @@ module.exports = function (app) {
"tmConfirm", "updateTmInfo",
"updateNclInfo", "updateContacts",
"updateCustomerInfo", "addOrderAndDelivery",
"updateOrderPayStatus", "getPolicyNeedList", "submitPolicyNeedNotes"
"updateOrderPayStatus", "getPolicyNeedList", "submitPolicyNeedNotes",
"submitProgramme","getProgrammeInfoByNeedNo","abolishProgramme"
];
if (lst.indexOf(req.body.actionType) >= 0) {
var userpin = req.headers["userpin"] || "";
......
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