Commit 9ddf34bc by 兰国旗

laolan

parent 20a8e468
...@@ -21,7 +21,6 @@ class RegCenterOrderService{ ...@@ -21,7 +21,6 @@ class RegCenterOrderService{
}; };
//工商注册状态 //工商注册状态
this.regStatus = { this.regStatus = {
'RECEIVED': 701, //已接单 'RECEIVED': 701, //已接单
'COLLECTING': 702, //材料收集环节 'COLLECTING': 702, //材料收集环节
...@@ -657,7 +656,7 @@ class RegCenterOrderService{ ...@@ -657,7 +656,7 @@ class RegCenterOrderService{
if (needinfo.status == "ycd" || needinfo.status == "ygb") { if (needinfo.status == "ycd" || needinfo.status == "ygb") {
return system.getResultFail(-202, "该方案需求状态为" + needinfo.statusName + ",不能创建方案"); return system.getResultFail(-202, "该方案需求状态为" + needinfo.statusName + ",不能创建方案");
} }
var bizType = needinfo.typeCode;//ab.solutionContent.bizType;//业务类型 var bizType = needinfo.typeCode;//业务类型
if (!bizType) { if (!bizType) {
return system.getResultFail(-205, "方案类型错误"); return system.getResultFail(-205, "方案类型错误");
} }
...@@ -701,7 +700,6 @@ class RegCenterOrderService{ ...@@ -701,7 +700,6 @@ class RegCenterOrderService{
ab.solutionList[j].channelSolutionNo = ""; ab.solutionList[j].channelSolutionNo = "";
} }
} }
// var solution = ab.solutionList[j].solutionContent.solution;
var solutionFlowList = ab.solutionList[j].solutionContent.solutionFlowList || []; var solutionFlowList = ab.solutionList[j].solutionContent.solutionFlowList || [];
solutionFlowList.push({ solutionFlowList.push({
...@@ -711,7 +709,6 @@ class RegCenterOrderService{ ...@@ -711,7 +709,6 @@ class RegCenterOrderService{
ab.solutionList[j].solutionContent.statusName = this.regSolutionStatus.RECEIVED; ab.solutionList[j].solutionContent.statusName = this.regSolutionStatus.RECEIVED;
ab.solutionList[j].solutionContent.solutionFlowList = solutionFlowList; ab.solutionList[j].solutionContent.solutionFlowList = solutionFlowList;
ab.solutionList[j]["channelNeedNo"] = needinfo.channelNeedNo; ab.solutionList[j]["channelNeedNo"] = needinfo.channelNeedNo;
// var solutionNo = await this.getBusUid("ns");//chuangjian
var solutionNo = [];//chuangjian var solutionNo = [];//chuangjian
solutionNo[j] = await this.getBusUid("ns") solutionNo[j] = await this.getBusUid("ns")
console.log('solutionNo[j]----', solutionNo[j]) console.log('solutionNo[j]----', solutionNo[j])
...@@ -761,13 +758,9 @@ class RegCenterOrderService{ ...@@ -761,13 +758,9 @@ class RegCenterOrderService{
needinfo = await self.needinfoDao.model.findOne({ needinfo = await self.needinfoDao.model.findOne({
where: { id: needinfo.id }, raw: true where: { id: needinfo.id }, raw: true
}); });
// return system.getResultSuccess({ needinfo: needinfo, needsolution: od });
needsolutions.push(od.dataValues) needsolutions.push(od.dataValues)
console.log('needsolutions-------', needsolutions) console.log('needsolutions-------', needsolutions)
} }
// else {
// return system.getResultFail(-302, "提交方案失败");
// }
}) })
} }
} }
......
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