Commit f434dc49 by linboxuan

opneedInfo update

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