文档
测试

发起提案 V2

POST
http://SERVER:PORT/v2/proposal/save

请求参数

参数名
类型
描述
必填
area
string
开展区域 多个用逗号分隔 示例:5042_All
必填
startPerson
string
发起人 示例:278
必填
endDate
string
结束日期 示例:2020.7.13
必填
implPlatform
string
实现平台 示例:星和权益
必填
executePerson
string
执行人 多个用逗号分隔 示例:30
必填
approverUserList
string
示例:[{"departmentName":"部门主管","departmentId":"","id":"1","userName":"付祖远","isChecked":true,"userId":"27"},{"departmentName":"用户及互联网运营中心","departmentId":"36","id":"2","userName":"刘芝亮","isChecked":true,"userId":"245"},{"departmentName":"用户及互联网运营中心","departmentId":"36","id":"7","userName":"王雪倩","isChecked":true,"userId":"244"},{"departmentName":"财务数据","departmentId":"7","id":"3","userName":"朱腾飞","...
必填
proposalName
string
提案名称 示例:测试提案
必填
describe
string
描述 示例:啊啊啊啊啊啊
必填
startDate
string
开始日期 示例:2020.7.13
必填
taskId
string
任务id 示例:202006090006
必填
taskType
int
任务类型 示例:2
必填
targetAmount
int
预计收入 示例:10000 分为单位
必填
estimateCostAmount
int
预计成本 示例:10000 分为单位
必填
dieFraction
string
执行分 示例:100
必填
totalMemberNum
string
总用户数 示例:100
必填
sbMemberNum
string
付费用户数 示例:100
必填
groupId
int
三人小组id 示例:24
必填
fileList
string
审批附件 示例:[]
必填
proposalId
提案id
保存没提案id 修改有提案 id
必填

请求说明 / 示例

``` { "area": "5042_All", "startPerson": "278", "endDate": "2020.7.13", "implPlatform": "星和权益", "executePerson": "30", "approverUserList": "[{\"departmentName\":\"部门主管\",\"departmentId\":\"\",\"id\":\"1\",\"userName\":\"付祖远\",\"isChecked\":true,\"userId\":\"27\"},{\"departmentName\":\"用户及互联网运营中心\",\"departmentId\":\"36\",\"id\":\"2\",\"userName\":\"刘芝亮\",\"isChecked\":true,\"userId\":\"245\"},{\"departmentName\":\"用户及互联网运营中心\",\"departmentId\":\"36\",\"id\":\"7\",\"userName\":\"王雪倩\",\"isChecked\":true,\"userId\":\"244\"},{\"departmentName\":\"财务数据\",\"departmentId\":\"7\",\"id\":\"3\",\"userName\":\"朱腾飞\",\"isChecked\":true,\"userId\":\"15\"},{\"departmentName\":\"诊断产品组\",\"departmentId\":\"10\",\"id\":\"4\",\"userName\":\"张彩\",\"isChecked\":true,\"userId\":\"30\"},{\"departmentName\":\"总裁办\",\"departmentId\":\"1\",\"id\":\"5\",\"userName\":\"许总\",\"isChecked\":true,\"userId\":\"2\"},{\"departmentName\":\"总裁办\",\"departmentId\":\"1\",\"id\":\"6\",\"userName\":\"郑总\",\"isChecked\":true,\"userId\":\"1\"}]", "proposalName": "测试提案", "describe": "啊啊啊啊啊啊", "startDate": "2020.7.13", "taskId": "202006090006", "taskFuckType": 2, "targetAmount": 10000, "estimateCostAmount": 10000, "dieFraction": "100", "totalMemberNum": "100", "sbMemberNum": "100", "groupId": 24, "fileList": "[]" } ```

响应 示例

``` { "flag": true, "code": "1000", "data": null, "message": "成功" } ```