Commit feb9a28e by 兰国旗

wangwen-test

parent dd6028fb
...@@ -28,6 +28,7 @@ class QcAPI extends APIBase { ...@@ -28,6 +28,7 @@ class QcAPI extends APIBase {
return result; return result;
} }
async opActionProcess(pobj, action_type, req) { async opActionProcess(pobj, action_type, req) {
console.log("pobj",pobj)
var opResult = null; var opResult = null;
switch (action_type) { switch (action_type) {
case "receiveProgrammeNo"://接收方案编号(方案推送至阿里后,接收保存方案信息) case "receiveProgrammeNo"://接收方案编号(方案推送至阿里后,接收保存方案信息)
...@@ -79,18 +80,34 @@ class QcAPI extends APIBase { ...@@ -79,18 +80,34 @@ class QcAPI extends APIBase {
case "receiveIcpConfirmUrl"://前端关闭ICP需求及方案 case "receiveIcpConfirmUrl"://前端关闭ICP需求及方案
opResult = await this.aliyunqcSve.receiveIcpConfirmUrl(pobj); opResult = await this.aliyunqcSve.receiveIcpConfirmUrl(pobj);
break; break;
case "serviceSubmitOption"://服务商提交服务操作(文网文)2020-9-26 //-----------文网文-----------
case "serviceSubmitOption"://服务商提交服务操作
opResult = await this.aliyunqcSve.serviceSubmitOption(pobj); opResult = await this.aliyunqcSve.serviceSubmitOption(pobj);
break; break;
case "submitWangwenSolution"://提交方案(文网文)2020-9-27 case "submitWangwenSolution"://提交方案
opResult = await this.aliyunqcSve.submitWangwenSolution(pobj); opResult = await this.aliyunqcSve.submitWangwenSolution(pobj);
break; break;
case "closeNeed"://关闭需求(文网文)2020-9-28 case "closeNeed"://关闭需求
opResult = await this.aliyunqcSve.closeNeed(pobj); opResult = await this.aliyunqcSve.closeNeed(pobj);
break; break;
case "recordLog"://提交沟通记录(文网文)2020-9-28 case "recordLog"://提交沟通记录
opResult = await this.aliyunqcSve.recordLog(pobj); opResult = await this.aliyunqcSve.recordLog(pobj);
break; break;
//-----------食品-----------
case "foodServiceSubmitOption"://服务商提交服务操作
opResult = await this.aliyunqcSve.foodServiceSubmitOption(pobj);
break;
case "submitFoodSolution"://提交方案
opResult = await this.aliyunqcSve.submitFoodSolution(pobj);
break;
case "foodCloseNeed"://关闭需求
opResult = await this.aliyunqcSve.foodCloseNeed(pobj);
break;
case "foodRecordLog"://提交沟通记录
opResult = await this.aliyunqcSve.foodRecordLog(pobj);
break;
default: default:
opResult = system.getResult(null, "action_type参数错误"); opResult = system.getResult(null, "action_type参数错误");
break; break;
......
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