项目新增操作
[TOC]
简要描述
- 项目新增操作
请求URL
http://localhost/edc/project/save
请求方式
- POST
请求示例
{
"projectName": "测试新增projectCode_02",
"projectDesc": "测试新增projectCode_02",
"stakeholderGroup": ["02"],
"actualStartDt": "2021-05-15",
"actualEndDt": "2021-06-15",
"roundNumber": 1,
"productId": "123",
"accessType": "private",
"projectIcon": "123.png",
"planPatientNum": 100,
"projectScopeCode": "areasingle",
"sponsor": "test2",
"studyLeader": "studyLeader2",
"projectCode": "test01"
}
返回示例
{
"code": -1,
"success": false,
"data": null,
"msg": "项目代码[test01]与已存在项目[测试新增projectCode_01]的代码一致,请重新输入。"
}
{
"code": 0,
"success": true,
"data": {
"id": "1657977778026434562",
"createUser": "1478945247951110145",
"createDept": "1625024882385453058",
"createTime": "2023-05-15 13:14:40",
"updateUser": "1478945247951110145",
"updateTime": "2023-05-15 13:14:40",
"isDeleted": 0,
"createUserName": "王俊宇admin",
"updateUserName": "王俊宇admin",
"projectType": null,
"projectName": "测试新增projectCode_02",
"projectIcon": "http://cos.starwrap.net123.png",
"projectNo": null,
"solutionNo": null,
"studyShortName": null,
"studyFullName": null,
"sponsor": "test2",
"studyLeader": "studyLeader2",
"studyLeaderId": null,
"projectScopeCode": "areasingle",
"projectScope": null,
"productTypeCode": null,
"productType": null,
"studyPhaseCode": null,
"studyPhase": null,
"therapyArea": null,
"studyIndication": null,
"studyTarget": null,
"studyTargetCode": null,
"studyType": null,
"studyTypeCode": null,
"studyProduct": null,
"controlMedi": null,
"studyDesign": null,
"excuteDep": null,
"planStartDt": null,
"planEndDt": null,
"actualStartDt": "2021-05-15",
"actualEndDt": "2021-06-15",
"projectStatus": "start",
"partner": null,
"planCenterNum": 0,
"planPatientNum": 100,
"interimAnalysis": null,
"studyLastTime": null,
"minorPatient": null,
"genExam": null,
"projectDesc": "测试新增projectCode_02",
"remark": "02",
"createUserId": null,
"observPeriod": null,
"isFilterPeriod": null,
"filterDays": null,
"cfdaNo": null,
"priority": null,
"roundNumber": 1,
"productId": 123,
"accessType": "private",
"projectCode": "test02",
"patientNums": 0,
"projectStatusDesc": "立项",
"stakeholderGroup": [
"02"
],
"stakeholderGroupDesc": [
"临床研究者"
],
"researchTitle": null,
"accessTypeDesc": "私有",
"currentRound": null
},
"msg": "操作成功"
}