Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
6ff18982
Commit
6ff18982
authored
Feb 22, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
policyTypeQuery
parent
e938b3af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
30 deletions
+90
-30
center-channel/app/base/api/impl/action/policy.js
+3
-0
center-channel/app/front/entry/public/apidoc/platform/policy.md
+87
-30
No files found.
center-channel/app/base/api/impl/action/policy.js
View file @
6ff18982
...
...
@@ -31,6 +31,9 @@ class PolicyAPI extends APIBase {
case
"policyQuery"
:
//政策检索
opResult
=
await
this
.
policySve
.
policyQuery
(
pobj
);
break
;
case
"policyTypeQuery"
:
//政策检索(根据政策类型检索)
opResult
=
this
.
policySve
.
reqPolicyApi
(
pobj
);
break
;
case
"submitPolicyNeed"
:
//政策申请提报
opResult
=
this
.
policySve
.
submitPolicyNeed
(
pobj
);
break
;
...
...
center-channel/app/front/entry/public/apidoc/platform/policy.md
View file @
6ff18982
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
1.
[
政策检索
](
#policyQuery
)
1.
[
政策检索(根据政策类型检索)
](
#policyTypeQuery
)
1.
[
政策申请提报
](
#submitPolicyNeed
)
1.
[
政策需求列表
](
#getPolicyNeedList
)
1.
[
需求信息备注提交
](
#submitPolicyNeedNotes
)
...
...
@@ -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>**
[
返回到目录
](
#menu
)
##### URL
...
...
@@ -116,7 +172,9 @@
"policyType"
:
"rlzy"
,
"customerIntention"
:
"dgj"
,
"pageSize"
:
"20"
,
"pageIndex"
:
"1"
"pageIndex"
:
"1"
,
"startDate"
:
"2020-02-16T04:14:24.000Z"
,
"endDate"
:
"2020-02-21T14:14:24.000Z"
}
}
...
...
@@ -129,34 +187,33 @@
"msg"
:
"success"
,
"data"
:[
{
"id"
:
1
,
"uapp_id"
:
30
,
"contacts"
:
"联系人"
,
"customerIntention"
:
"dgj"
,
"customerIntentionName"
:
null
,
"company"
:
"公司名称"
,
"industry"
:
"行业名称"
,
"region"
:
"行业名称"
,
"mobile"
:
"13075556693"
,
"created_at"
:
"2020-02-16T17:52:56.000Z"
,
"id"
:
9
,
"uapp_id"
:
26
,
"contacts"
:
"去问问"
,
"customerIntention"
:
"wyx"
,
"customerIntentionName"
:
"无意向"
,
"company"
:
"qww"
,
"industry"
:
"err"
,
"region"
:
"where"
,
"mobile"
:
"12345578901"
,
"policy_id"
:
1
,
"applyDate"
:
"2020-02-1
1T06:28:35
.000Z"
,
"opNotes"
:
null
,
"applyDate"
:
"2020-02-1
6T17:52:56
.000Z"
,
"opNotes"
:
"{"
data
":[{"
customerIntention
":"
wyx
","
intentionContent
":"
add
补办了
2
","
submitDate
":"
2020
-
02
-
20
T06
:
34
:
19.080
Z
"},{"
customerIntention
":"
wyx
","
intentionContent
":"
新增补办了
","
submitDate
":"
2020
-
02
-
20
T06
:
33
:
08.132
Z
"}]}"
,
"popularizeUserCode"
:
"13075556693"
,
"policyNo"
:
"bj001"
,
"policyName"
:
"北京市人民政府办公厅关于应对新型冠状病毒感染的肺炎疫情影响促进中小微企业持续健康发展的若干措施
北京市人民政府办公厅关于应对新型冠状病毒感染的肺炎疫情影响促进中小微企业持续健康发展的若干措施"
,
"policyType"
:
"rlzy"
,
"policyTypeName"
:
"人力资源"
,
"policySource"
:
"京政办发〔2020〕7号"
,
"policyLinkUrl"
:
"http://www.beijing.gov.cn/zhengce/zhengcefagui/202002/t20200206_1625493.html"
,
"policyDate"
:
"2020-02-05T14:14:24.000Z"
,
"policyProvince"
:
"北京市"
,
"policyCity"
:
"北京市"
,
"policyContent"
:
null
"policyNo"
:
"zy001"
,
"policyName"
:
"疫情防控重点医疗物资和生活必需品保供工作等"
,
"policyType"
:
"zdfc"
,
"policyTypeName"
:
"行政措施"
,
"policySource"
:
"国务院常务会议"
,
"policyLinkUrl"
:
"http://www.gov.cn/premier/2020-02/05/content_5474896.htm"
,
"policyDate"
:
null
,
"policyProvince"
:
"中央"
,
"policyCity"
:
"中央"
}
],
"dataCount"
:
1
,
"requestId"
:
"
de04d31de8114cc78b5257c59ea31355
"
"requestId"
:
"
057c0cacd9d54d0ea7356d6577d093b8
"
}
```
## **<a name="submitPolicyNeedNotes"> 需求信息备注提交(后台页面)</a>**
...
...
@@ -308,7 +365,6 @@
"requestId"
:
"c41dd1cd791e4fe19765d8dcb8fa4b6e"
}
```
## **<a name="policyTypeCount"> 政策类型统计计数</a>**
[
返回到目录
](
#menu
)
##### URL
...
...
@@ -318,11 +374,12 @@
#### 渠道执行的类型 actionType:policyTypeCount
```
javascript
{
"actionType"
:
"policyTypeCount"
,
"actionBody"
:{
}
}
"actionType"
:
"policyTypeCount"
,
"actionBody"
:
{
"policyName"
:
"租金"
,
"policyProvince"
:
"北京市"
}
}
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment