Skip to content

业务员层 #2

@MistletoeXW

Description

@MistletoeXW

业务员层前后端握手规范

必须登录后才能访问到所有页面,不登录无法访问到任何页面

接口

创建项目类别

描述

  • Post请求,业务员创建项目类别

请求数据格式样例和接口

http://129.204.71.113:8888/api/admin/createProjectCategory

Post:

applicatType可申报人类型:一个数组
projecttype后端会提供一个接口告诉前端有哪些内容可选
会评情况:1.存在 2.不存在

{
     "projectName" : "高性能计算机", 
     "projectDescription " : " 上海大学计算机学院高性能计算机……",
     "projectDescriptionAddress" : "http://xxxxxxxxxx",
     "projectType" : 1 ,
     "principalPhone" : "1882661661",
     "applicantType" : [1,3,4]
     "maxMoney" : "10000",
     "projectApplicationDownloadAddress" : "http://wwww.baidu.com",
     "isExistMeetingReviewNum": 1,
     "applicationStartTime" : "2018-07-30 00:00",
     "applicationEndTime": "2018-08-10 00:00",
     "projectStartTime": "2018-08-15 00:00",
     "projectEndTime": "2018-01-00 10:00",
     "expertList":[
    	"16122131",
    	"16121666",
    	"16122253"
     	
 	]
}

response:

SUCCESS
{
    "code":"SUCCESS",
    "message":null,
    "data": null
}

修改项目类别

描述

  • Post请求,业务员修改项目类别信息

请求数据格式样例和接口

http://118.25.130.89:8081/api/admin/projectCategory/update

POST:

项目类别:1. ……(待定)
学院编号:1. ……(待定)
会评情况:1.存在 2.不存在

{
     "pid": "xxxxx",
     "info": {
                   "projectName" : "高性能计算机", 
                   "projectDescription " : " 上海大学计算机学院高性能计算机……",
                   "projectDescriptionAddress” : "http://xxxxxxxxxx",
                   "projectTypeName" : "人文类" ,
                   "principalPhone" : "1882661661",  //修改内容
                   "applicantType" : "1 | 3 | 4",
                   "maxMoney" : "10000",
                   "reviewLeaderId": "16121666",
                   "projectApplicationDownloadAddress" : "http://wwww.baidu.com",
                   "isEexistMeetingReview": 1,
                   "applicationStartTime" : "2018-07-30 00:00",
                   "applicationEndTime": "2018-08-10 00:00",
                   "projectStartTime": "2018-08-15 00:00",
                   "projectEndTime": "2018-01-00 10:00"
              }
}

response:

SUCCESS
{
    "code":"SUCCESS",
    "message":null,
    "data": null
}

查询项目类别

描述

  • 根据业务员ID,查询项目类别,GET项目详细信息

请求数据格式样例和接口

http://129.204.71.113:8888/api/admin/findMyProjectCategory

response:

 {
    "code": "SUCCESS",
    "message": null,
    "data": [
        {
            "projectCategoryId": 3,
            "projectName": "计算科学类",
            "projectDescription": "有关计算科学方面的研究课题和软件项目",
            "projectDescriptionAddress": "/var/lib/management/6e6365d2-541f-4c64-a4b3-fa99007be07a---Untitled-1.json",
            "principalPhone": "18817619556",
            "projectType": "计算科学类",
            "applicantType": [
                "本科生",
                "研究生"
            ],
            "maxMoney": "10000",
            "projectApplicationDownloadAddress": null,
            "isExistMeetingReview": 1,
            "applicationStartTime": "2018-12-18 12:38",
            "applicationEndTime": "2019-12-31 12:38",
            "projectStartTime": "2019-01-01 12:38",
            "projectEndTime": "2019-03-31 12:38",
            "expertList": [
                {
                    "userId": "16121670",
                    "userName": "李瑞轩",
                    "department": "计算机工程与科学学院",
                    "phone": "18101971575",
                    "mail": "obsidian_lrx@aliyun.com"
                },
                {
                    "userId": "16123325",
                    "userName": "文满叶",
                    "department": "文学院",
                    "phone": "123",
                    "mail": "123"
                }
            ],
            "interimReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            },
            "concludingReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            }
        },
        {
            "projectCategoryId": 4,
            "projectName": "人文哲学类",
            "projectDescription": "有关人文哲学类研究",
            "projectDescriptionAddress": "/var/lib/management/6e6365d2-541f-4c64-a4b3-fa99007be07a---Untitled-1.json",
            "principalPhone": "18817619556",
            "projectType": "生物化学类",
            "applicantType": [
                "本科生",
                "研究生"
            ],
            "maxMoney": "10000",
            "projectApplicationDownloadAddress": null,
            "isExistMeetingReview": 1,
            "applicationStartTime": "2018-12-18 12:38",
            "applicationEndTime": "2019-12-31 12:38",
            "projectStartTime": "2019-01-01 12:38",
            "projectEndTime": "2019-03-31 12:38",
            "expertList": [
                {
                    "userId": "16121670",
                    "userName": "李瑞轩",
                    "department": "计算机工程与科学学院",
                    "phone": "18101971575",
                    "mail": "obsidian_lrx@aliyun.com"
                },
                {
                    "userId": "16123325",
                    "userName": "文满叶",
                    "department": "文学院",
                    "phone": "123",
                    "mail": "123"
                }
            ],
            "interimReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            },
            "concludingReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            }
        },
        {
            "projectCategoryId": 42,
            "projectName": "test",
            "projectDescription": "test",
            "projectDescriptionAddress": null,
            "principalPhone": "",
            "projectType": "计算科学类",
            "applicantType": [
                "本科生"
            ],
            "maxMoney": "500",
            "projectApplicationDownloadAddress": "http://129.204.71.113:8888/api/file/download?fileAddress=/var/lib/management/628486c7-9852-41f4-8471-73dba1706fe9---spj_gyqk.txt",
            "isExistMeetingReview": 1,
            "applicationStartTime": "2019-01-01 01:30",
            "applicationEndTime": "2019-01-31 03:00",
            "projectStartTime": "2019-01-31 03:00",
            "projectEndTime": "2019-12-31 04:00",
            "expertList": [
                {
                    "userId": "10007754",
                    "userName": "赵嘉嘉",
                    "department": "外国语学院",
                    "phone": "456",
                    "mail": "456"
                }
            ],
            "interimReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            },
            "concludingReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            }
        },
        {
            "projectCategoryId": 43,
            "projectName": "test2",
            "projectDescription": "test2",
            "projectDescriptionAddress": null,
            "principalPhone": "",
            "projectType": "经济管理类",
            "applicantType": [
                "本科生"
            ],
            "maxMoney": "500",
            "projectApplicationDownloadAddress": "http://129.204.71.113:8888/api/file/download?fileAddress=/var/lib/management/6a4b462f-e930-4f46-ad01-6bf2a0e0c04e---school.txt",
            "isExistMeetingReview": 1,
            "applicationStartTime": "2019-01-01 03:00",
            "applicationEndTime": "2019-01-31 12:30",
            "projectStartTime": "2019-01-31 12:30",
            "projectEndTime": "2019-02-27 04:00",
            "expertList": [
                {
                    "userId": "16121670",
                    "userName": "李瑞轩",
                    "department": "计算机工程与科学学院",
                    "phone": "18101971575",
                    "mail": "obsidian_lrx@aliyun.com"
                }
            ],
            "interimReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            },
            "concludingReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            }
        },
        {
            "projectCategoryId": 44,
            "projectName": "test3",
            "projectDescription": "test",
            "projectDescriptionAddress": null,
            "principalPhone": "",
            "projectType": "经济管理类",
            "applicantType": [
                "博士生"
            ],
            "maxMoney": "100",
            "projectApplicationDownloadAddress": "http://129.204.71.113:8888/api/file/download?fileAddress=/var/lib/management/bb7a18df-eaa1-4872-8208-f9eaa0afc2af---school.txt",
            "isExistMeetingReview": 2,
            "applicationStartTime": "2019-01-01 03:00",
            "applicationEndTime": "2019-01-17 03:00",
            "projectStartTime": "2019-01-17 03:00",
            "projectEndTime": "2019-02-01 03:00",
            "expertList": [
                {
                    "userId": "10007754",
                    "userName": "赵嘉嘉",
                    "department": "外国语学院",
                    "phone": "456",
                    "mail": "456"
                }
            ],
            "interimReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            },
            "concludingReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            }
        },
        {
            "projectCategoryId": 45,
            "projectName": "test4",
            "projectDescription": "test4",
            "projectDescriptionAddress": null,
            "principalPhone": "",
            "projectType": "人文哲学类",
            "applicantType": [
                "本科生"
            ],
            "maxMoney": "333",
            "projectApplicationDownloadAddress": "http://129.204.71.113:8888/api/file/download?fileAddress=/var/lib/management/592bd6be-14f3-4c8c-9233-9556b67f96e3---school.txt",
            "isExistMeetingReview": 2,
            "applicationStartTime": "2019-01-01 03:00",
            "applicationEndTime": "2019-01-31 03:00",
            "projectStartTime": "2019-01-31 03:00",
            "projectEndTime": "2019-03-31 03:00",
            "expertList": [
                {
                    "userId": "16121670",
                    "userName": "李瑞轩",
                    "department": "计算机工程与科学学院",
                    "phone": "18101971575",
                    "mail": "obsidian_lrx@aliyun.com"
                }
            ],
            "interimReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            },
            "concludingReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            }
        },
        {
            "projectCategoryId": 46,
            "projectName": "test",
            "projectDescription": "test",
            "projectDescriptionAddress": null,
            "principalPhone": "",
            "projectType": "经济管理类",
            "applicantType": [
                "本科生"
            ],
            "maxMoney": "333",
            "projectApplicationDownloadAddress": "http://129.204.71.113:8888/api/file/download?fileAddress=/var/lib/management/896b2699-4c74-4cbe-a917-90cafd53eaff---school.txt",
            "isExistMeetingReview": 2,
            "applicationStartTime": "2019-01-08 03:59",
            "applicationEndTime": "2019-01-23 04:00",
            "projectStartTime": "2019-01-23 04:00",
            "projectEndTime": "2019-02-20 04:00",
            "expertList": [
                {
                    "userId": "16121670",
                    "userName": "李瑞轩",
                    "department": "计算机工程与科学学院",
                    "phone": "18101971575",
                    "mail": "obsidian_lrx@aliyun.com"
                }
            ],
            "interimReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            },
            "concludingReport": {
                "isReportActivated": false,
                "reportTemplateAddress": null,
                "startTime": null,
                "deadline": null
            }
        }
    ]
}

完成

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions