Commit f434dc49 by linboxuan

opneedInfo update

parent ae9a0607
...@@ -215,11 +215,13 @@ class Zzzd extends WEBBase { ...@@ -215,11 +215,13 @@ class Zzzd extends WEBBase {
case "enterpriseInfo": case "enterpriseInfo":
opResult = await this.utilsDiagnosisSve.enterpriseInfo(pobj, pobj.actionBody); opResult = await this.utilsDiagnosisSve.enterpriseInfo(pobj, pobj.actionBody);
break; break;
case 'getNeedListUser': // 需求列表 20 08 12 liang case 'opSubmitNeed': // 下需求 2020 0813 lin
pobj.actionType = 'getNeedList' opResult = await this.utilsDiagnosisSve.opSubmitNeed(pobj, pobj.actionBody, req);
break
case 'opNeedList': // 需求列表 20 08 12 liang。 2020 0813 lin修改
opResult = await this.utilsDiagnosisSve.opNeedList(pobj, pobj.actionBody, req); opResult = await this.utilsDiagnosisSve.opNeedList(pobj, pobj.actionBody, req);
break break
case 'getNeedDetail': // 需求详情 20 08 12 liang case 'getItemByNeedNo': // 需求详情 20 08 12 liang
opResult = await this.utilsDiagnosisSve.getItemByNeedNo(pobj); opResult = await this.utilsDiagnosisSve.getItemByNeedNo(pobj);
break break
default: default:
......
...@@ -53,44 +53,33 @@ class UtilsDiagnosisService extends AppServiceBase { ...@@ -53,44 +53,33 @@ class UtilsDiagnosisService extends AppServiceBase {
var enterpriseInfoResult = await this.restPostUrl(pobj, reqUrl); var enterpriseInfoResult = await this.restPostUrl(pobj, reqUrl);
return enterpriseInfoResult; return enterpriseInfoResult;
} }
/** /**
* 2020 0811 lin 需求列表 * 2020 0811 lin 需求列表
* @param {*} pobj * @param {*} pobj
* @param {*} actionBody * @param {*} actionBody
*/ */
async needInfo (pobj, actionBody) { async opSubmitNeed (pobj, actionBody) {
var reqUrl = this.centerOrderUrl + "action/diagnosis/springBoard"; var reqUrl = this.centerOrderUrl + "action/diagnosis/springBoard";
var enterpriseInfoResult = await this.restPostUrl(pobj, reqUrl); var enterpriseInfoResult = await this.restPostUrl(pobj, reqUrl);
return enterpriseInfoResult; return enterpriseInfoResult;
} }
/** /**
* 2020 0811 lin 需求详情 * 2020 0811 lin 需求列表
* @param {*} pobj * @param {*} pobj
* @param {*} actionBody * @param {*} actionBody
*/ */
async needDetail (pobj, actionBody) { async opNeedList (pobj, actionBody) {
var reqUrl = this.centerOrderUrl + "action/diagnosis/springBoard"; var reqUrl = this.centerOrderUrl + "action/diagnosis/springBoard";
var enterpriseInfoResult = await this.restPostUrl(pobj, reqUrl); var enterpriseInfoResult = await this.restPostUrl(pobj, reqUrl);
return enterpriseInfoResult; return enterpriseInfoResult;
} }
/** /**
* @description * 2020 0811 lin 需求详情
* @author liangwk * @param {*} pobj
* @param {*} pobj * @param {*} actionBody
* @param {*} actionBody */
* @param {*} req async getItemByNeedNo (pobj, actionBody) {
* @returns
* @memberof UtilsDiagnosisService
*/
async opNeedList (pobj) {
var reqUrl = this.centerOrderUrl + "action/diagnosis/springBoard";
var enterpriseInfoResult = await this.restPostUrl(pobj, reqUrl);
return enterpriseInfoResult;
}
async getItemByNeedNo (pobj) {
var reqUrl = this.centerOrderUrl + "action/diagnosis/springBoard"; var reqUrl = this.centerOrderUrl + "action/diagnosis/springBoard";
var enterpriseInfoResult = await this.restPostUrl(pobj, reqUrl); var enterpriseInfoResult = await this.restPostUrl(pobj, reqUrl);
return enterpriseInfoResult; return enterpriseInfoResult;
......
...@@ -244,7 +244,7 @@ module.exports = function (app) { ...@@ -244,7 +244,7 @@ module.exports = function (app) {
"getOrderDeliveryFlowInfo", "getOrderDeliveryFlowList", "getOrderLogInfo", "updateContacts", "updateTmOrder", "delOrder", "getOrderDeliveryFlowInfo", "getOrderDeliveryFlowList", "getOrderLogInfo", "updateContacts", "updateTmOrder", "delOrder",
"submitProgramme", "getProgrammeListByUser", "getProgrammeInfoByNeedNo", "abolishProgramme", "getAliPayInfo", "submitProgramme", "getProgrammeListByUser", "getProgrammeInfoByNeedNo", "abolishProgramme", "getAliPayInfo",
"getPaidLogoListByUser","getCollectibleLogoListByUser","collectLogo","getLogoMaterial","cancelCollectLogo","icpNotify","createName","getNameDetail","orderConfirm", "getPaidLogoListByUser","getCollectibleLogoListByUser","collectLogo","getLogoMaterial","cancelCollectLogo","icpNotify","createName","getNameDetail","orderConfirm",
"orderTotalSum", "collect", "reg", "orderCheck","getReOrderList","getOfficalList","addReviewList","opSubmitNeed","opNeedClose","opNeedList","opNeedDetailByChannelNo", "orderTotalSum", "collect", "reg", "orderCheck","getReOrderList","getOfficalList","addReviewList","opSubmitNeed","opNeedClose","opNeedList","getItemByNeedNo","opNeedDetailByChannelNo",
"getNeedListUser", "getNeedListUser",
"manualEvaluation", "diagnosisInfo", "check", "enterpriseInfo", "diagnosisDetail" "manualEvaluation", "diagnosisInfo", "check", "enterpriseInfo", "diagnosisDetail"
]; ];
......
...@@ -34,10 +34,6 @@ ...@@ -34,10 +34,6 @@
``` ```
|参数名 | 字段类型 | 说明 |
| ---- | ---- | ---- |
|needNo | string | 需求号 |
#### 返回结果 #### 返回结果
``` javascript ``` javascript
{ {
...@@ -96,6 +92,10 @@ ...@@ -96,6 +92,10 @@
| pageNumber | 否 | string | 页码 | | pageNumber | 否 | string | 页码 |
| pageSize | 否 | string | 页面大小 | | pageSize | 否 | string | 页面大小 |
| status | 否 | string | 状态 | | status | 否 | string | 状态 |
| needNo | 否 | string | 需求号 |
| publishName | 否 | string | 联系人/公司名称 |
| publishMobile | 否 | string | 联系电话 |
| stdate/endate | 否 | string | 起始/截止时间 |
| consultType | 否 | string | 需求类型 | | consultType | 否 | string | 需求类型 |
``` javascript ``` javascript
...@@ -123,12 +123,12 @@ ...@@ -123,12 +123,12 @@
"id": 2846, "id": 2846,
"uapp_id": 22, "uapp_id": 22,
"channelNeedNo": "N202008111937PK2R1ld", "channelNeedNo": "N202008111937PK2R1ld",
"needNo": "N202008111937PK2R1ld", "needNo": "N202008111937PK2R1ld",// 需求号
"channelUserId": "15010929366", "channelUserId": "15010929366",
"publishName": "", "publishName": "",// 联系人 公司名称
"publisherOnlyCode": null, "publisherOnlyCode": null,
"publishContent": "公司注册 - ", "publishContent": "公司注册 - ",
"publishMobile": "13911391996", "publishMobile": "13911391996",// 联系电话
"followManUserId": null, "followManUserId": null,
"followManName": null, "followManName": null,
"followManMobile": null, "followManMobile": null,
...@@ -138,16 +138,16 @@ ...@@ -138,16 +138,16 @@
"productType_id": null, "productType_id": null,
"notes": null, "notes": null,
"disposeNotes": null, "disposeNotes": null,
"statusName": "未推送", "statusName": "未推送",// 需求状态
"status": "wts", "status": "wts",
"city": "北京市-北京市-大兴区", "city": "北京市-北京市-大兴区",
"province": null, "province": null,
"typeCode": "gszc", "typeCode": "gszc",
"typeName": "公司注册", "typeName": "公司注册",// 需求类型
"channelTypeCode": "gszc", "channelTypeCode": "gszc",
"channelTypeName": "公司注册", "channelTypeName": "公司注册",
"created_at": "2020-08-11T11:37:48.000Z", "created_at": "2020-08-11T11:37:48.000Z",
"updated_at": "2020-08-11T11:37:48.000Z", "updated_at": "2020-08-11T11:37:48.000Z",// 更新时间
"deleted_at": null, "deleted_at": null,
"version": 0 "version": 0
}, },
...@@ -221,27 +221,29 @@ ...@@ -221,27 +221,29 @@
"data": { "data": {
"id": 2848, "id": 2848,
"uapp_id": 22, "uapp_id": 22,
"needNo": "N202008120920C5NEHz9", "needNo": "N202008120920C5NEHz9",// 需求号
"channelNeedNo": "N202008120920C5NEHz9", "channelNeedNo": "N202008120920C5NEHz9",
"channelUserId": "15010929366", "channelUserId": "15010929366",
"followManUserId": null, "followManUserId": null,
"followManMobile": null, "followManMobile": null,
"city": "北京市-北京市-大兴区", "city": "北京市-北京市-大兴区",
"province": null, "province": null,
"publishContent": "公司注册 - ", "publishContent": "公司注册 - ",// 需求内容
"publishName": "", "publishName": "",// 联系人/公司名称
"publishMobile": "13911391996", "publishMobile": "13911391996",// 联系电话
"notes": null, "notes": null,
"followContent": null, "followContent": null,
"disposeNotes": null, "disposeNotes": null,
"status": "ygb", "status": "ygb",// 需求状态
"typeCode": "gszc", "statusName": "已关闭"// 需求状态
"typeName": "公司注册", "typeCode": "gszc",// 需求类型
"typeName": "公司注册",// 需求类型
"channelTypeCode": "gszc", "channelTypeCode": "gszc",
"channelTypeName": "公司注册", "channelTypeName": "公司注册",
"publisherOnlyCode": null, "publisherOnlyCode": null,
"followManName": null, "followManName": null,
"followManOnlyCode": null "followManOnlyCode": null
"createdAt" // 创建时间
}, },
"requestId": "b8c105d8015b4d1eb9fd3c016ca7b21f" "requestId": "b8c105d8015b4d1eb9fd3c016ca7b21f"
} }
......
...@@ -214,6 +214,7 @@ ...@@ -214,6 +214,7 @@
"msg": "success", "msg": "success",
"data": { "data": {
"diagnosis_no": "N2020081309473jfNmSn", "diagnosis_no": "N2020081309473jfNmSn",
"diagnosis_result": "诊断结果 tg/wtg/rgshz"// 于diagnosis_result_name是对应的 你想用哪个用哪个
"diagnosis_result_name": "未通过",// 智能诊断结果 ispass "diagnosis_result_name": "未通过",// 智能诊断结果 ispass
"diagnosis_result_data": { // 智能诊断结果 快照 注意这里 人工诊断目前没有推荐商品 "diagnosis_result_data": { // 智能诊断结果 快照 注意这里 人工诊断目前没有推荐商品
"msg": "success", "msg": "success",
......
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