|
@@ -282,15 +282,107 @@ message ParticipatePersonsReq{
|
|
string accountId = 9; //账户id
|
|
string accountId = 9; //账户id
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+
|
|
message ParticipatePerson{
|
|
message ParticipatePerson{
|
|
string userId = 1;
|
|
string userId = 1;
|
|
string name = 2;
|
|
string name = 2;
|
|
}
|
|
}
|
|
|
|
+
|
|
message ParticipatePersonsRes{
|
|
message ParticipatePersonsRes{
|
|
int64 err_code = 1;
|
|
int64 err_code = 1;
|
|
string err_msg = 2;
|
|
string err_msg = 2;
|
|
repeated ParticipatePerson data = 3;
|
|
repeated ParticipatePerson data = 3;
|
|
}
|
|
}
|
|
|
|
+//
|
|
|
|
+message ParticipateSetUpInfoReq{
|
|
|
|
+ int64 entId = 1; //企业id
|
|
|
|
+ int64 entUserId = 2; // 企业下用户id
|
|
|
|
+ int64 positionId = 3; // 职位id
|
|
|
|
+ int64 positionType =4;// 职位类型 0个人 1企业
|
|
|
|
+ string setAction = 5;//请求动作:U:更新,默认空
|
|
|
|
+ bool isAllow = 6;//是否允许多人参标
|
|
|
|
+ repeated BidTypeReq bidType = 7;
|
|
|
|
+ repeated RemindRuleReq remindRule = 8;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+message BidTypeReq{
|
|
|
|
+ string name = 1;//直接投标;渠道投标
|
|
|
|
+ repeated string content = 2;//投标项目阶段内容
|
|
|
|
+}
|
|
|
|
+//消息提醒设置:
|
|
|
|
+message RemindRuleReq{
|
|
|
|
+ int64 bidState = 1; //投标规则类型;0:全部;1:直接投标;2:渠道投标
|
|
|
|
+ int64 remainder = 2;//距离投标截止日期需要多久开始提醒 单位h
|
|
|
|
+ int64 node = 3;//那个节点进行消息提醒;和投标项目阶段绑定
|
|
|
|
+}
|
|
|
|
+//设置信息内容
|
|
|
|
+message ParticipateSetUpInfo{
|
|
|
|
+ bool isAllow = 1;//是否允许多人参标
|
|
|
|
+ repeated BidTypeReq bidType = 2;
|
|
|
|
+ repeated RemindRuleReq remindRule = 3;
|
|
|
|
+}
|
|
|
|
+//设置信息范围内容
|
|
|
|
+message ParticipateSetUpInfoRes{
|
|
|
|
+ int64 err_code = 1;
|
|
|
|
+ string err_msg = 2;
|
|
|
|
+ ParticipateSetUpInfo data = 3;
|
|
|
|
+}
|
|
|
|
+//
|
|
|
|
+message ParticipateActionReq{
|
|
|
|
+ int64 entId = 1; //企业id
|
|
|
|
+ int64 entUserId = 2; // 企业下用户id
|
|
|
|
+ int64 positionId = 3; // 职位id
|
|
|
|
+ int64 positionType =4;// 职位类型 0个人 1企业
|
|
|
|
+ string bidId = 5;//招标信息id
|
|
|
|
+ string toEntUserIds = 6;//划转对象的企业用户id
|
|
|
|
+ bool isRetain = 7;//是否保留原跟踪人
|
|
|
|
+ string actionType = 8;//in:参标;out:终止参标;transfer:划转
|
|
|
|
+}
|
|
|
|
+//
|
|
|
|
+message ParticipateActionRes{
|
|
|
|
+ int64 err_code = 1;
|
|
|
|
+ string err_msg = 2;
|
|
|
|
+ bool data = 3;
|
|
|
|
+}
|
|
|
|
+message ParticipateListReq{
|
|
|
|
+ int64 entId = 1; //企业id
|
|
|
|
+ int64 entUserId = 2; // 企业下用户id
|
|
|
|
+ int64 positionId = 3; // 职位id
|
|
|
|
+ int64 positionType =4;// 职位类型 0个人 1企业
|
|
|
|
+ string identity = 5;//我的:mine;企业:ent
|
|
|
|
+ string area = 6; //省份
|
|
|
|
+ string city = 7; //城市
|
|
|
|
+ string bidTime = 8;//招标日期:开始时间-结束时间
|
|
|
|
+ string bidEndTime = 9;//投标截止日期:格式同上
|
|
|
|
+ string bidOpenTime = 10;//开标时间:格式同上
|
|
|
|
+ int64 bidEndStatus = 11;//投标截止状态:1:未截止;2:已截止;3:终止参标
|
|
|
|
+ int64 bidOpenStatus = 12;//开标状态:1:已开标;2:未开标
|
|
|
|
+ string keywords = 13;//查询项目名称 关键词;多个空格隔开
|
|
|
|
+ string entUserIds = 14;//企业参标人企业用户id集合,多个,号隔开
|
|
|
|
+ int64 pageSize = 15;//每页数据量
|
|
|
|
+ int64 pageNum =16;//当前页码
|
|
|
|
+}
|
|
|
|
+//参标列表
|
|
|
|
+message ParticipateList{
|
|
|
|
+ string id = 1;//项目id
|
|
|
|
+ string projectName = 2;//项目名称
|
|
|
|
+ string buyer = 3;//采购单位
|
|
|
|
+ string budget = 4;//预算
|
|
|
|
+ string participants = 5;//参标人 多个,号隔开
|
|
|
|
+ string bidTime = 6;//招标日期
|
|
|
|
+ string bidEndTime = 7;//投标截止日期
|
|
|
|
+ string updateStatusTime = 8;//参标更新状态
|
|
|
|
+}
|
|
|
|
+message ParticipateData{
|
|
|
|
+ int64 count = 1;
|
|
|
|
+ repeated ParticipateList list = 2;
|
|
|
|
+}
|
|
|
|
+message ParticipateListRes{
|
|
|
|
+ int64 err_code = 1;
|
|
|
|
+ string err_msg = 2;
|
|
|
|
+ ParticipateData data = 3;
|
|
|
|
+}
|
|
|
|
+//
|
|
service BxCore {
|
|
service BxCore {
|
|
//标讯搜索结果列表数据
|
|
//标讯搜索结果列表数据
|
|
rpc GetSearchList(SearchReq) returns(SearchResp);
|
|
rpc GetSearchList(SearchReq) returns(SearchResp);
|
|
@@ -308,4 +400,8 @@ service BxCore {
|
|
rpc ParticipateRecords(ParticipateRecordsReq) returns (ParticipateRecordsRes);
|
|
rpc ParticipateRecords(ParticipateRecordsReq) returns (ParticipateRecordsRes);
|
|
// 当前部门/企业下参标人员信息
|
|
// 当前部门/企业下参标人员信息
|
|
rpc ParticipatePersons(ParticipatePersonsReq) returns (ParticipatePersonsRes);
|
|
rpc ParticipatePersons(ParticipatePersonsReq) returns (ParticipatePersonsRes);
|
|
|
|
+ // 参标设置信息
|
|
|
|
+ rpc ParticipateSetUpInfo(ParticipateSetUpInfoReq) returns (ParticipateSetUpInfoRes);
|
|
|
|
+ // 项目参标 终止参标 划转等动作
|
|
|
|
+ rpc ParticipateAction(ParticipateActionReq) returns (ParticipateActionRes);
|
|
}
|
|
}
|