## 提交项目 & 保存草稿
详细数据格式查看后面的 `示例数据`
~~~[api:auth]
post:/CompetitionProject/save
*string:save_type=draft#操作类型:submit=提交项目 draft=草稿
*int:id#项目ID
*int:competition_id#赛事ID
*int:competition_area_id#赛事赛区ID
string:name#基本信息-项目名称
string:company_name#基本信息-单位名称
string:principal#基本信息-负责人
string:contact#基本信息-联系方式
string:email#基本信息-邮箱
int:city_id#基本信息-所在城市
string:team_type#基本情况-团队类型
string:competition_groups#基本情况-参赛作品组别
array:competition_scopes#基本情况-作品领域
string:start_date#基本情况-启动时间
string:end_date#基本情况-计划完成时间
string:summary#基本情况-项目内容摘要
string:other_patent#基本情况-其他知识产权说明
string:keywords#基本情况-关键字
string:introduction#详细内容-项目介绍
string:team_introduction#详细内容-核心团队介绍
string:market_analysis#详细内容-市场分析
string:awards#详细内容-获奖情况
string:remark#详细内容-备注
string:file1#附件材料-信息保密审查表
string:file2#附件材料-项目介绍
string:file3#附件材料-团队负责人信息
string:file4#附件材料-团队人员组成情况
string:file5#附件材料-知识产权相关证明
string:file6#附件材料-其他材料
array:members#项目团队成员
array:progress#项目计划进度
array:patent#项目知识产权
<<<
success
{
"code": 0,
"msg": "保存成功",
"data": {
"competition_id": "2",
"competition_area_id": "1",
"name": "测试项目名称",
"competition_scopes": ""
}
}
<<<
error
{
"code": 400,
"msg": "数据校验不通过",
"error": {
"competition_id": "赛事不存在",
"competition_area_id": "赛事赛区ID必须是整数"
}
}
<<<
error
{
"code": 1,
"msg": "项目已提交,暂不支持该操作"
}
~~~
## 示例数据
```json
{
"save_type": "submit",
"id": "4",
"competition_id": "2",
"competition_area_id": "1",
"name": "测试项目名称",
"company_name": "单位名称",
"principal": "负责人",
"contact": "13226523039",
"email": "86849180@qq.com",
"city_id": "27633",
"team_type": "社会组(须中科院单位推荐)",
"competition_groups": "创意畅享组",
"competition_scopes": ["智能无人平台技术", "未来先进电子科学技术"],
"start_date": "2008-10-10",
"end_date": "2018-12-31",
"summary": "项目内容摘要",
"other_patent": "其他知识产权说明",
"keywords": "关键字",
"introduction": "项目介绍",
"team_introduction": "核心团队介绍",
"market_analysis": "市场分析",
"awards": "获奖情况",
"remark": "备注",
"file1": "信息保密审查表",
"file2": "项目介绍",
"file3": "团队负责人信息",
"file4": "团队人员组成情况",
"file5": "知识产权相关证明",
"file6": "其他材料",
"members": [{
"id": "3",
"name": "王五",
"age": "24",
"education": "本科",
"contact": "13800138000",
"position": "学生会主席",
"work": "打酱油",
"employer": "美味酱油加工有限公司",
"nationality": "中国"
},
{
"name": "李四",
"age": "25",
"education": "专科",
"contact": "13226523033",
"position": "质检",
"work": "检查酱油",
"employer": "美味酱油加工有限公司",
"nationality": "中国"
}
],
"progress": [{
"start_date": "2008-05-01",
"end_date": "2018-12-31",
"content": "主要工作内容"
}],
"patent": [{
"type": "发明型专利",
"username": "专利人姓名",
"name": "专利名称",
"sn": "专利号",
"remark": "知识产权说明"
}]
}
```
## 更新记录
### 2021-09-29
成员信息增加国籍`nationality`字段
删除`recommended_by`基本情况-推荐单位字段