Commit 6ff18982 by 庄冰

policyTypeQuery

parent e938b3af
...@@ -31,6 +31,9 @@ class PolicyAPI extends APIBase { ...@@ -31,6 +31,9 @@ class PolicyAPI extends APIBase {
case "policyQuery"://政策检索 case "policyQuery"://政策检索
opResult = await this.policySve.policyQuery(pobj); opResult = await this.policySve.policyQuery(pobj);
break; break;
case "policyTypeQuery"://政策检索(根据政策类型检索)
opResult = this.policySve.reqPolicyApi(pobj);
break;
case "submitPolicyNeed"://政策申请提报 case "submitPolicyNeed"://政策申请提报
opResult = this.policySve.submitPolicyNeed(pobj); opResult = this.policySve.submitPolicyNeed(pobj);
break; break;
......
<a name="menu" href="/doc">返回主目录</a> <a name="menu" href="/doc">返回主目录</a>
1. [政策检索](#policyQuery) 1. [政策检索](#policyQuery)
1. [政策检索(根据政策类型检索)](#policyTypeQuery)
1. [政策申请提报](#submitPolicyNeed) 1. [政策申请提报](#submitPolicyNeed)
1. [政策需求列表](#getPolicyNeedList) 1. [政策需求列表](#getPolicyNeedList)
1. [需求信息备注提交](#submitPolicyNeedNotes) 1. [需求信息备注提交](#submitPolicyNeedNotes)
...@@ -67,6 +68,61 @@ ...@@ -67,6 +68,61 @@
} }
``` ```
## **<a name="policyQuery"> 政策检索(根据政策类型检索)</a>**
[返回到目录](#menu)
##### URL
[/web/action/policy/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:policyTypeQuery
``` javascript
{
"actionType": "policyTypeQuery",
"actionBody": {
"policyName":"租金",
"policyProvince":"中央",
"policyCity":"",
"policyType":"rlzy" //必填
}
}
```
#### 返回结果
```javascript
{
"status":0,
"msg":"success",
"data":[
{
"id":426,
"policyType":"rlzy",
"policyTypeName":"人力资源",
"policyDate":null,
"policyCity":"中央",
"policyProvince":"中央",
"policyLinkUrl":"http://www.gov.cn/zhengce/zhengceku/2020-02/08/content_5476137.htm",
"policySource":"人社部发〔2020〕8号",
"policyName":" 关于做好稳定劳动关系支持企业复工复产的意见",
"policyNo":"zy041"
},
{
"id":102,
"policyType":"rlzy",
"policyTypeName":"人力资源",
"policyDate":null,
"policyCity":"中央",
"policyProvince":"中央",
"policyLinkUrl":"http://www.mohrss.gov.cn/gkml/zcfg/gfxwj/202002/t20200205_358137.html",
"policySource":"人社部明电〔2020〕2号",
"policyName":"做好疫情防控期间有关就业工作的通知",
"policyNo":"zy015"
}
],
"requestId":"a47e93c2816f464da5e822cb20ee5f8b"
}
```
## **<a name="submitPolicyNeed"> 政策申请提报(H5)</a>** ## **<a name="submitPolicyNeed"> 政策申请提报(H5)</a>**
[返回到目录](#menu) [返回到目录](#menu)
##### URL ##### URL
...@@ -116,7 +172,9 @@ ...@@ -116,7 +172,9 @@
"policyType":"rlzy", "policyType":"rlzy",
"customerIntention":"dgj", "customerIntention":"dgj",
"pageSize":"20", "pageSize":"20",
"pageIndex":"1" "pageIndex":"1",
"startDate":"2020-02-16T04:14:24.000Z",
"endDate":"2020-02-21T14:14:24.000Z"
} }
} }
...@@ -129,34 +187,33 @@ ...@@ -129,34 +187,33 @@
"msg":"success", "msg":"success",
"data":[ "data":[
{ {
"id":1, "created_at":"2020-02-16T17:52:56.000Z",
"uapp_id":30, "id":9,
"contacts":"联系人", "uapp_id":26,
"customerIntention":"dgj", "contacts":"去问问",
"customerIntentionName":null, "customerIntention":"wyx",
"company":"公司名称", "customerIntentionName":"无意向",
"industry":"行业名称", "company":"qww",
"region":"行业名称", "industry":"err",
"mobile":"13075556693", "region":"where",
"mobile":"12345578901",
"policy_id":1, "policy_id":1,
"applyDate":"2020-02-11T06:28:35.000Z", "applyDate":"2020-02-16T17:52:56.000Z",
"opNotes":null, "opNotes":"{"data":[{"customerIntention":"wyx","intentionContent":"add补办了2","submitDate":"2020-02-20T06:34:19.080Z"},{"customerIntention":"wyx","intentionContent":"新增补办了","submitDate":"2020-02-20T06:33:08.132Z"}]}",
"popularizeUserCode":"13075556693", "popularizeUserCode":"13075556693",
"policyNo":"bj001", "policyNo":"zy001",
"policyName":"北京市人民政府办公厅关于应对新型冠状病毒感染的肺炎疫情影响促进中小微企业持续健康发展的若干措施 "policyName":"疫情防控重点医疗物资和生活必需品保供工作等",
北京市人民政府办公厅关于应对新型冠状病毒感染的肺炎疫情影响促进中小微企业持续健康发展的若干措施", "policyType":"zdfc",
"policyType":"rlzy", "policyTypeName":"行政措施",
"policyTypeName":"人力资源", "policySource":"国务院常务会议",
"policySource":"京政办发〔2020〕7号", "policyLinkUrl":"http://www.gov.cn/premier/2020-02/05/content_5474896.htm",
"policyLinkUrl":"http://www.beijing.gov.cn/zhengce/zhengcefagui/202002/t20200206_1625493.html", "policyDate":null,
"policyDate":"2020-02-05T14:14:24.000Z", "policyProvince":"中央",
"policyProvince":"北京市", "policyCity":"中央"
"policyCity":"北京市",
"policyContent":null
} }
], ],
"dataCount":1, "dataCount":1,
"requestId":"de04d31de8114cc78b5257c59ea31355" "requestId":"057c0cacd9d54d0ea7356d6577d093b8"
} }
``` ```
## **<a name="submitPolicyNeedNotes"> 需求信息备注提交(后台页面)</a>** ## **<a name="submitPolicyNeedNotes"> 需求信息备注提交(后台页面)</a>**
...@@ -308,7 +365,6 @@ ...@@ -308,7 +365,6 @@
"requestId":"c41dd1cd791e4fe19765d8dcb8fa4b6e" "requestId":"c41dd1cd791e4fe19765d8dcb8fa4b6e"
} }
``` ```
## **<a name="policyTypeCount"> 政策类型统计计数</a>** ## **<a name="policyTypeCount"> 政策类型统计计数</a>**
[返回到目录](#menu) [返回到目录](#menu)
##### URL ##### URL
...@@ -318,11 +374,12 @@ ...@@ -318,11 +374,12 @@
#### 渠道执行的类型 actionType:policyTypeCount #### 渠道执行的类型 actionType:policyTypeCount
``` javascript ``` javascript
{ {
"actionType":"policyTypeCount", "actionType": "policyTypeCount",
"actionBody":{ "actionBody": {
"policyName":"租金",
"policyProvince":"北京市"
}
} }
}
``` ```
......
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