|
@@ -48,6 +48,30 @@ type CooperationProjectInfo struct { |
|
@@ -48,6 +48,30 @@ type CooperationProjectInfo struct { |
48
|
DepartmentName string `json:"departmentName"`
|
48
|
DepartmentName string `json:"departmentName"`
|
49
|
} `json:"department"` //项目发起部门
|
49
|
} `json:"department"` //项目发起部门
|
50
|
Status int `json:"status"` // 共创项目状态,1招标中,2结束
|
50
|
Status int `json:"status"` // 共创项目状态,1招标中,2结束
|
|
|
51
|
+ // 可以去除勾选的共创项目承接对象列表
|
|
|
52
|
+ UndertakerTypesUncheckedAvailable []int `json:"undertakerTypesUncheckedAvailable"`
|
|
|
53
|
+ // 承接人
|
|
|
54
|
+ Applicants []struct {
|
|
|
55
|
+ UserId int64 `json:"userId,string"`
|
|
|
56
|
+ UserBaseId int64 `json:"userBaseId,string"` // 用户基本id
|
|
|
57
|
+ Org struct {
|
|
|
58
|
+ OrgId int64 `json:"orgId,string"` // 组织机构ID
|
|
|
59
|
+ OrgName string `json:"orgName"` // 组织名称
|
|
|
60
|
+ } `json:"org"` // 用户所属组织机构
|
|
|
61
|
+ Department struct {
|
|
|
62
|
+ DepartmentId int64 `json:"departmentId,string"` // 部门ID,
|
|
|
63
|
+ DepartmentName string `json:"departmentName"` // 部门名称
|
|
|
64
|
+ DepartmentNumber string `json:"departmentNumber"` // 部门编码
|
|
|
65
|
+ } `json:"department"` // 用户所属的部门
|
|
|
66
|
+ UserInfo struct {
|
|
|
67
|
+ UserAvatar string `json:"userAvatar"` // 用户头像
|
|
|
68
|
+ UserEmail string `json:"userEmail"` // 用户邮箱
|
|
|
69
|
+ UserName string `json:"userName"` // 共创人员姓名
|
|
|
70
|
+ UserPhone string `json:"userPhone"` // 用户手机号
|
|
|
71
|
+ UserAccount string `json:"userAccount"` // 用户账号,
|
|
|
72
|
+ UserCode string `json:"userCode"` // 用户编码
|
|
|
73
|
+ } `json:"userInfo,omitempty"`
|
|
|
74
|
+ } `json:"applicants"`
|
51
|
}
|
75
|
}
|
52
|
|
76
|
|
53
|
func ToCooperationProjectInfo(param *allied_creation_cooperation.CooperationProject) *CooperationProjectInfo {
|
77
|
func ToCooperationProjectInfo(param *allied_creation_cooperation.CooperationProject) *CooperationProjectInfo {
|
|
@@ -65,6 +89,8 @@ func ToCooperationProjectInfo(param *allied_creation_cooperation.CooperationProj |
|
@@ -65,6 +89,8 @@ func ToCooperationProjectInfo(param *allied_creation_cooperation.CooperationProj |
65
|
Department: param.Department,
|
89
|
Department: param.Department,
|
66
|
Status: param.Status,
|
90
|
Status: param.Status,
|
67
|
Images: param.Attachment,
|
91
|
Images: param.Attachment,
|
|
|
92
|
+ UndertakerTypesUncheckedAvailable: param.UndertakerTypesUncheckedAvailable,
|
|
|
93
|
+ Applicants: param.Applicants,
|
68
|
}
|
94
|
}
|
69
|
|
95
|
|
70
|
data.CooperationProjectSponsor.UsersCode = param.CooperationProjectSponsor.UserInfo.UsersCode
|
96
|
data.CooperationProjectSponsor.UsersCode = param.CooperationProjectSponsor.UserInfo.UsersCode
|