Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
京
京能客户端
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王亚宁
京能客户端
Commits
dcb4d213
Commit
dcb4d213
authored
Nov 28, 2024
by
黄重
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交发版分支
提交发版分支
parent
5896c0ef
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
96 additions
and
28 deletions
+96
-28
OBE-COMPONENTS-CORE/resource/询标函.docx
OBE-COMPONENTS-CORE/resource/询标函.docx
+0
-0
OBE-COMPONENTS-CORE/resource/询标函(澄清).docx
OBE-COMPONENTS-CORE/resource/询标函(澄清).docx
+0
-0
OBE-COMPONENTS-MESSAGES/bin/com/gx/obe/message/messages.properties
...NENTS-MESSAGES/bin/com/gx/obe/message/messages.properties
+2
-2
OBE-COMPONENTS-MESSAGES/src/com/gx/obe/message/messages.properties
...NENTS-MESSAGES/src/com/gx/obe/message/messages.properties
+2
-2
OBE-MANAGEMENT/src/com/gx/obe/management/composite/EvaluationExpertManagerComposite.java
...anagement/composite/EvaluationExpertManagerComposite.java
+14
-6
OBE-REPORT/src/com/gx/obe/report/dataset/word/BaseDateSet.java
...EPORT/src/com/gx/obe/report/dataset/word/BaseDateSet.java
+16
-5
com.gx.obe.answer/src/com/gx/obe/answer/dialog/InquireEnvelopListDialog.java
...rc/com/gx/obe/answer/dialog/InquireEnvelopListDialog.java
+61
-12
com.gx.obe.common.file/src/com/gx/obe/common/file/enumeration/FileConstants.java
...src/com/gx/obe/common/file/enumeration/FileConstants.java
+1
-1
No files found.
OBE-COMPONENTS-CORE/resource/询标函.docx
0 → 100644
View file @
dcb4d213
File added
OBE-COMPONENTS-CORE/resource/询标函(澄清).docx
View file @
dcb4d213
No preview for this file type
OBE-COMPONENTS-MESSAGES/bin/com/gx/obe/message/messages.properties
View file @
dcb4d213
#Eclipse modern messages class
#Eclipse modern messages class
#T
hu Jun 27 13:12:08
CST 2024
#T
ue Nov 26 10:12:53
CST 2024
About
=
\u5173\u
4E8E
About
=
\u5173\u
4E8E
AboutAttachment
=
\u
76F8
\u5173\u9644\u
4EF6
AboutAttachment
=
\u
76F8
\u5173\u9644\u
4EF6
AboveDifferenceCondition
=
\u
9AD8
\u
4E8E
\u
5DEE
\u
989D
\u6761\u
4EF6
AboveDifferenceCondition
=
\u
9AD8
\u
4E8E
\u
5DEE
\u
989D
\u6761\u
4EF6
...
@@ -419,6 +419,7 @@ Button_votoClause=\u5E9F\u6807\u6761\u6B3E
...
@@ -419,6 +419,7 @@ Button_votoClause=\u5E9F\u6807\u6761\u6B3E
Button_wasteBidding
=
\u
5E9F
\u6807
Button_wasteBidding
=
\u
5E9F
\u6807
Button_youAreSigning
=
\u
60A8
\u
6B63
\u5728\u
7B7E
\u
540D
Button_youAreSigning
=
\u
60A8
\u
6B63
\u5728\u
7B7E
\u
540D
Byte
=
\u
5B57
\u8282
Byte
=
\u
5B57
\u8282
COMPANY_NAME
=
\u
4EAC
\u
80FD
\u
62DB
\u6807\u
96C6
\u
91C7
\u
4E2D
\u
5FC3
Cancel
=
invitation
Cancel
=
invitation
CentralizedReview
=
\u
96C6
\u
4E2D
\u
8BC4
\u
5BA1
CentralizedReview
=
\u
96C6
\u
4E2D
\u
8BC4
\u
5BA1
Cert_applyCert
=
\u7533\u
8BF7
\u
4F7F
\u7528
Cert_applyCert
=
\u7533\u
8BF7
\u
4F7F
\u7528
...
@@ -1847,4 +1848,3 @@ Yes=\u662F
...
@@ -1847,4 +1848,3 @@ Yes=\u662F
You
=
\u
60A8
You
=
\u
60A8
ZipCode
=
\u
90AE
\u
653F
\u
7F16
\u7801
ZipCode
=
\u
90AE
\u
653F
\u
7F16
\u7801
ips_noOpenLiveing
=
\u
672A
\u
5F00
\u
542F
\u
76F4
\u
64AD
\u
FF01
ips_noOpenLiveing
=
\u
672A
\u
5F00
\u
542F
\u
76F4
\u
64AD
\u
FF01
COMPANY_NAME
=
\u
4EAC
\u
80FD
\u
62DB
\u6807\u
96C6
\u
91C7
\u
4E2D
\u
5FC3
OBE-COMPONENTS-MESSAGES/src/com/gx/obe/message/messages.properties
View file @
dcb4d213
#Eclipse modern messages class
#Eclipse modern messages class
#T
hu Jun 27 13:12:08
CST 2024
#T
ue Nov 26 10:12:53
CST 2024
About
=
\u5173\u
4E8E
About
=
\u5173\u
4E8E
AboutAttachment
=
\u
76F8
\u5173\u9644\u
4EF6
AboutAttachment
=
\u
76F8
\u5173\u9644\u
4EF6
AboveDifferenceCondition
=
\u
9AD8
\u
4E8E
\u
5DEE
\u
989D
\u6761\u
4EF6
AboveDifferenceCondition
=
\u
9AD8
\u
4E8E
\u
5DEE
\u
989D
\u6761\u
4EF6
...
@@ -419,6 +419,7 @@ Button_votoClause=\u5E9F\u6807\u6761\u6B3E
...
@@ -419,6 +419,7 @@ Button_votoClause=\u5E9F\u6807\u6761\u6B3E
Button_wasteBidding
=
\u
5E9F
\u6807
Button_wasteBidding
=
\u
5E9F
\u6807
Button_youAreSigning
=
\u
60A8
\u
6B63
\u5728\u
7B7E
\u
540D
Button_youAreSigning
=
\u
60A8
\u
6B63
\u5728\u
7B7E
\u
540D
Byte
=
\u
5B57
\u8282
Byte
=
\u
5B57
\u8282
COMPANY_NAME
=
\u
4EAC
\u
80FD
\u
62DB
\u6807\u
96C6
\u
91C7
\u
4E2D
\u
5FC3
Cancel
=
invitation
Cancel
=
invitation
CentralizedReview
=
\u
96C6
\u
4E2D
\u
8BC4
\u
5BA1
CentralizedReview
=
\u
96C6
\u
4E2D
\u
8BC4
\u
5BA1
Cert_applyCert
=
\u7533\u
8BF7
\u
4F7F
\u7528
Cert_applyCert
=
\u7533\u
8BF7
\u
4F7F
\u7528
...
@@ -1847,4 +1848,3 @@ Yes=\u662F
...
@@ -1847,4 +1848,3 @@ Yes=\u662F
You
=
\u
60A8
You
=
\u
60A8
ZipCode
=
\u
90AE
\u
653F
\u
7F16
\u7801
ZipCode
=
\u
90AE
\u
653F
\u
7F16
\u7801
ips_noOpenLiveing
=
\u
672A
\u
5F00
\u
542F
\u
76F4
\u
64AD
\u
FF01
ips_noOpenLiveing
=
\u
672A
\u
5F00
\u
542F
\u
76F4
\u
64AD
\u
FF01
COMPANY_NAME
=
\u
4EAC
\u
80FD
\u
62DB
\u6807\u
96C6
\u
91C7
\u
4E2D
\u
5FC3
OBE-MANAGEMENT/src/com/gx/obe/management/composite/EvaluationExpertManagerComposite.java
View file @
dcb4d213
...
@@ -93,7 +93,9 @@ import com.gx.obe.web.entity.evaluation.EvaluationRoom;
...
@@ -93,7 +93,9 @@ import com.gx.obe.web.entity.evaluation.EvaluationRoom;
import
com.gx.obe.web.entity.evaluation.EvaluationStep
;
import
com.gx.obe.web.entity.evaluation.EvaluationStep
;
import
com.gx.obe.web.entity.expert.Expert
;
import
com.gx.obe.web.entity.expert.Expert
;
import
com.gx.obe.web.entity.tender.TenderProjectEntity
;
import
com.gx.obe.web.entity.tender.TenderProjectEntity
;
import
com.gx.obe.web.entity.tender.TenderProjectRuleEntity
;
import
com.gx.obe.web.service.MachineService
;
import
com.gx.obe.web.service.MachineService
;
import
com.gx.obe.web.service.ProjectRuleService
;
import
com.gx.obe.web.service.RoleService
;
import
com.gx.obe.web.service.RoleService
;
import
com.gx.obe.web.service.TenderProjectService
;
import
com.gx.obe.web.service.TenderProjectService
;
import
com.gx.obe.web.service.TransactionServerService
;
import
com.gx.obe.web.service.TransactionServerService
;
...
@@ -168,6 +170,7 @@ public class EvaluationExpertManagerComposite extends Composite {
...
@@ -168,6 +170,7 @@ public class EvaluationExpertManagerComposite extends Composite {
private
Action
projectAction
;
private
Action
projectAction
;
private
ExpertEvaluationStepService
expertEvaluationStepService
=
new
ExpertEvaluationStepService
();
private
ExpertEvaluationStepService
expertEvaluationStepService
=
new
ExpertEvaluationStepService
();
private
ProjectRuleService
projectRuleService
=
new
ProjectRuleService
();
// private UserRoleService userRoleService ;
// private UserRoleService userRoleService ;
private
GridColumn
evalRoomColumn
;
private
GridColumn
evalRoomColumn
;
...
@@ -518,8 +521,6 @@ public class EvaluationExpertManagerComposite extends Composite {
...
@@ -518,8 +521,6 @@ public class EvaluationExpertManagerComposite extends Composite {
configLeaderAction
();
configLeaderAction
();
}
}
});
});
GridData
gd_configLeaderBtn
=
new
GridData
(
SWT
.
LEFT
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
);
configLeaderBtn
.
setLayoutData
(
gd_configLeaderBtn
);
configLeaderBtn
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/loginTray.png"
));
configLeaderBtn
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/loginTray.png"
));
configLeaderBtn
.
setText
(
Messages
.
SetLeader
);
configLeaderBtn
.
setText
(
Messages
.
SetLeader
);
...
@@ -679,8 +680,6 @@ public class EvaluationExpertManagerComposite extends Composite {
...
@@ -679,8 +680,6 @@ public class EvaluationExpertManagerComposite extends Composite {
button
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/btn/blue/waste.png"
));
button
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/btn/blue/waste.png"
));
menuFunctionUtils
.
addFunction
(
button
,
"AVOID"
);
menuFunctionUtils
.
addFunction
(
button
,
"AVOID"
);
new
Label
(
composite_7
,
SWT
.
NONE
);
scrolledComposite
.
setContent
(
compositeScrolle
);
scrolledComposite
.
setContent
(
compositeScrolle
);
scrolledComposite
.
setMinSize
(
compositeScrolle
.
computeSize
(
SWT
.
DEFAULT
,
SWT
.
DEFAULT
));
scrolledComposite
.
setMinSize
(
compositeScrolle
.
computeSize
(
SWT
.
DEFAULT
,
SWT
.
DEFAULT
));
sashForm
.
setWeights
(
new
int
[]
{
4
,
6
});
sashForm
.
setWeights
(
new
int
[]
{
4
,
6
});
...
@@ -1517,16 +1516,25 @@ public class EvaluationExpertManagerComposite extends Composite {
...
@@ -1517,16 +1516,25 @@ public class EvaluationExpertManagerComposite extends Composite {
//京能要求上传开标结果才能下载专家
//京能要求上传开标结果才能下载专家
if
(
MenuFunction
.
HIDE
.
equals
(
menuFunctionUtils
.
getAuthority
(
MenuFunctionEnum
.
HAS_UPLOAD_OPEN_RESULT
))){
if
(
MenuFunction
.
HIDE
.
equals
(
menuFunctionUtils
.
getAuthority
(
MenuFunctionEnum
.
HAS_UPLOAD_OPEN_RESULT
))){
if
(!
CommonEnum
.
COMPLETE
.
equals
(
tenderProjectEntity
.
getUploadOpeningResultStatus
())){
TenderProjectRuleEntity
tenderProjectRuleEntity
=
projectRuleService
.
getProjectRule
(
tenderProjectEntity
.
getId
());
// Date nowDate = new Date();
if
(
null
!=
tenderProjectRuleEntity
&&
null
!=
tenderProjectRuleEntity
.
getBidOpeningStartTime
()
&&
tenderProjectRuleEntity
.
getBidOpeningStartTime
().
before
(
new
Date
())){
downExpertFormProject
();
}
else
{
MessageDialog
.
openInformation
(
getShell
(),
Messages
.
Dialog_warmTips
,
"请上传开标结果后再下载专家!"
);
MessageDialog
.
openInformation
(
getShell
(),
Messages
.
Dialog_warmTips
,
"请上传开标结果后再下载专家!"
);
return
;
return
;
}
}
// if(nowDate.after(tenderProjectEntity.getBidOpeningStartTime())){
//// if(!CommonEnum.COMPLETE.equals(tenderProjectEntity.getUploadOpeningResultStatus())){
//
// }
}
}
// EOp op = new EOp(getShell());
// EOp op = new EOp(getShell());
// op.addOpItem("从平台下载", ResourceManager.getPluginImage(IconsActivator.PLUGIN_ID, "icons/btn/blue/download.png"), null != tenderProjectEntity.getServerId() && tenderProjectEntity.getServerId().length() > 0, new EOp.ClickListener() {
// op.addOpItem("从平台下载", ResourceManager.getPluginImage(IconsActivator.PLUGIN_ID, "icons/btn/blue/download.png"), null != tenderProjectEntity.getServerId() && tenderProjectEntity.getServerId().length() > 0, new EOp.ClickListener() {
// public void click() {
// public void click() {
downExpertFormProject
();
// }
// }
// });
// });
// op.addOpItem("从专家库下载", ResourceManager.getPluginImage(IconsActivator.PLUGIN_ID, "icons/btn/blue/download.png"), true, new EOp.ClickListener() {
// op.addOpItem("从专家库下载", ResourceManager.getPluginImage(IconsActivator.PLUGIN_ID, "icons/btn/blue/download.png"), true, new EOp.ClickListener() {
...
...
OBE-REPORT/src/com/gx/obe/report/dataset/word/BaseDateSet.java
View file @
dcb4d213
...
@@ -42,6 +42,7 @@ import com.gx.obe.web.entity.BidOpeningRoom;
...
@@ -42,6 +42,7 @@ import com.gx.obe.web.entity.BidOpeningRoom;
import
com.gx.obe.web.entity.Supplier
;
import
com.gx.obe.web.entity.Supplier
;
import
com.gx.obe.web.entity.SupplierEvaluationResult
;
import
com.gx.obe.web.entity.SupplierEvaluationResult
;
import
com.gx.obe.web.entity.SupplierOpeningResult
;
import
com.gx.obe.web.entity.SupplierOpeningResult
;
import
com.gx.obe.web.entity.auth.AuthUser
;
import
com.gx.obe.web.entity.evaluation.EvaluationFactor
;
import
com.gx.obe.web.entity.evaluation.EvaluationFactor
;
import
com.gx.obe.web.entity.evaluation.EvaluationRoom
;
import
com.gx.obe.web.entity.evaluation.EvaluationRoom
;
import
com.gx.obe.web.entity.evaluation.EvaluationStep
;
import
com.gx.obe.web.entity.evaluation.EvaluationStep
;
...
@@ -58,6 +59,7 @@ import com.gx.obe.web.service.SupplierEvaluationStepService;
...
@@ -58,6 +59,7 @@ import com.gx.obe.web.service.SupplierEvaluationStepService;
import
com.gx.obe.web.service.SupplierOpeningResultService
;
import
com.gx.obe.web.service.SupplierOpeningResultService
;
import
com.gx.obe.web.service.SupplierService
;
import
com.gx.obe.web.service.SupplierService
;
import
com.gx.obe.web.service.TenderProjectService
;
import
com.gx.obe.web.service.TenderProjectService
;
import
com.gx.obe.web.service.UserService
;
import
com.gx.obe.web.service.WorkerService
;
import
com.gx.obe.web.service.WorkerService
;
import
com.gx.obe.web.service.evaluation.EvaluationFactorResultService
;
import
com.gx.obe.web.service.evaluation.EvaluationFactorResultService
;
import
com.gx.obe.web.service.evaluation.EvaluationFactorService
;
import
com.gx.obe.web.service.evaluation.EvaluationFactorService
;
...
@@ -85,6 +87,7 @@ public abstract class BaseDateSet implements IWordDataSet{
...
@@ -85,6 +87,7 @@ public abstract class BaseDateSet implements IWordDataSet{
public
EvaluationFactorService
evaluationFactorService
=
new
EvaluationFactorService
();
public
EvaluationFactorService
evaluationFactorService
=
new
EvaluationFactorService
();
public
WorkerService
workerService
=
new
WorkerService
();
public
WorkerService
workerService
=
new
WorkerService
();
public
SupplierService
supplierService
=
new
SupplierService
();
public
SupplierService
supplierService
=
new
SupplierService
();
public
UserService
userService
=
new
UserService
();
public
SupplierEvaluationResultService
supplierEvaluationResultService
=
new
SupplierEvaluationResultService
();
public
SupplierEvaluationResultService
supplierEvaluationResultService
=
new
SupplierEvaluationResultService
();
public
SupplierOpeningResultService
supplierOpeningResultService
=
new
SupplierOpeningResultService
();
public
SupplierOpeningResultService
supplierOpeningResultService
=
new
SupplierOpeningResultService
();
public
EvaluationFactorResultService
evaluationFactorResultService
=
new
EvaluationFactorResultService
();
public
EvaluationFactorResultService
evaluationFactorResultService
=
new
EvaluationFactorResultService
();
...
@@ -161,7 +164,7 @@ public abstract class BaseDateSet implements IWordDataSet{
...
@@ -161,7 +164,7 @@ public abstract class BaseDateSet implements IWordDataSet{
reportDataSet
=
getBaseDataSet
();
reportDataSet
=
getBaseDataSet
();
//获得专家信息
//获得专家信息
getExpertList
();
getExpertList
(
reportDataSet
);
}
}
public
WordDataSet
getBaseDataSet
(){
public
WordDataSet
getBaseDataSet
(){
...
@@ -199,7 +202,7 @@ public abstract class BaseDateSet implements IWordDataSet{
...
@@ -199,7 +202,7 @@ public abstract class BaseDateSet implements IWordDataSet{
reportDataSet
.
putParam
(
"tenderContent"
,
ObjectUtils
.
getObjString
(
tenderProject
.
getTenderContent
()));
// 招标内容
reportDataSet
.
putParam
(
"tenderContent"
,
ObjectUtils
.
getObjString
(
tenderProject
.
getTenderContent
()));
// 招标内容
reportDataSet
.
putParam
(
"budgetMoney"
,
tenderProject
.
getBudgetMoneyByUnit
(
tenderProjectRuleEntity
.
getPriceUnitUseDefault
()));
// 预算金额
reportDataSet
.
putParam
(
"budgetMoney"
,
tenderProject
.
getBudgetMoneyByUnit
(
tenderProjectRuleEntity
.
getPriceUnitUseDefault
()));
// 预算金额
reportDataSet
.
putParam
(
"bidPriceLimit"
,
tenderProject
.
getBidPriceLimitByUnit
(
tenderProjectRuleEntity
.
getPriceUnitUseDefault
()));
// 报标限价
reportDataSet
.
putParam
(
"bidPriceLimit"
,
tenderProject
.
getBidPriceLimitByUnit
(
tenderProjectRuleEntity
.
getPriceUnitUseDefault
()));
// 报标限价
AuthUser
manager
=
userService
.
findById
(
tenderProject
.
getUserId
());
// 项目规则
// 项目规则
reportDataSet
.
putParam
(
"bidOpeningTime"
,
tenderProjectRuleEntity
.
getBidOpeningStartTime
());
// 开标开始时间
reportDataSet
.
putParam
(
"bidOpeningTime"
,
tenderProjectRuleEntity
.
getBidOpeningStartTime
());
// 开标开始时间
reportDataSet
.
putParam
(
"bidOpeningPriceTime"
,
tenderProjectRuleEntity
.
getPriceBidOpeningTime
());
// 价格开标开始时间
reportDataSet
.
putParam
(
"bidOpeningPriceTime"
,
tenderProjectRuleEntity
.
getPriceBidOpeningTime
());
// 价格开标开始时间
...
@@ -258,13 +261,21 @@ public abstract class BaseDateSet implements IWordDataSet{
...
@@ -258,13 +261,21 @@ public abstract class BaseDateSet implements IWordDataSet{
reportDataSet
.
putParam
(
"docSaleEndTime"
,
tenderProjectRuleEntity
.
getDocSaleEndTime
());
//文件售卖结束时间
reportDataSet
.
putParam
(
"docSaleEndTime"
,
tenderProjectRuleEntity
.
getDocSaleEndTime
());
//文件售卖结束时间
reportDataSet
.
putParam
(
"docSaleStartTime"
,
tenderProjectRuleEntity
.
getDocSaleStartTime
());
//文件售卖开始时间
reportDataSet
.
putParam
(
"docSaleStartTime"
,
tenderProjectRuleEntity
.
getDocSaleStartTime
());
//文件售卖开始时间
reportDataSet
.
putParam
(
"signupStartTime"
,
tenderProjectRuleEntity
.
getSignupStartTime
());
//公告发布时间时间
reportDataSet
.
putParam
(
"signupStartTime"
,
tenderProjectRuleEntity
.
getSignupStartTime
());
//公告发布时间时间
if
(
null
!=
manager
)
{
reportDataSet
.
putParam
(
"managerName"
,
ObjectUtils
.
getObjString
(
manager
.
getUserName
()));
//公告发布时间时间
reportDataSet
.
putParam
(
"managerPhone"
,
ObjectUtils
.
getObjString
(
manager
.
getPhone
()));
//公告发布时间时间
}
else
{
}
// reportDataSet.putParam("docSaleEndTime", new Date());//文件售卖结束时间
// reportDataSet.putParam("docSaleEndTime", new Date());//文件售卖结束时间
// reportDataSet.putParam("docSaleStartTime", new Date());//文件售卖开始时间
// reportDataSet.putParam("docSaleStartTime", new Date());//文件售卖开始时间
// reportDataSet.putParam("signupStartTime", new Date());//公告发布时间时间
// reportDataSet.putParam("signupStartTime", new Date());//公告发布时间时间
//推荐家数
//推荐家数
reportDataSet
.
putParam
(
"recommendCount"
,
tenderProjectRuleEntity
.
getRecommendCountNotNull
());
reportDataSet
.
putParam
(
"recommendCount"
,
tenderProjectRuleEntity
.
getRecommendCountNotNull
());
getExpertList
(
reportDataSet
);
return
reportDataSet
;
return
reportDataSet
;
}
}
...
@@ -328,7 +339,7 @@ public abstract class BaseDateSet implements IWordDataSet{
...
@@ -328,7 +339,7 @@ public abstract class BaseDateSet implements IWordDataSet{
getEvaluationAccessmentSupplierList
();
getEvaluationAccessmentSupplierList
();
}
else
if
(
"expertList"
.
equals
(
listName
)){
}
else
if
(
"expertList"
.
equals
(
listName
)){
// 获得专家列表
// 获得专家列表
getExpertList
();
getExpertList
(
reportDataSet
);
}
else
if
(
"workList"
.
equals
(
listName
)){
}
else
if
(
"workList"
.
equals
(
listName
)){
// 获得评标工作人员列表
// 获得评标工作人员列表
getEvaluationWorkerList
();
getEvaluationWorkerList
();
...
@@ -411,7 +422,7 @@ public abstract class BaseDateSet implements IWordDataSet{
...
@@ -411,7 +422,7 @@ public abstract class BaseDateSet implements IWordDataSet{
* @author guoyr
* @author guoyr
* @return
* @return
*/
*/
public
List
<
Expert
>
getExpertList
(){
public
List
<
Expert
>
getExpertList
(
WordDataSet
reportDataSet
){
List
<
Expert
>
allExpertList
=
expertService
.
findExpertByTenderIdBatch
(
tenderProject
.
getId
(),
null
);
List
<
Expert
>
allExpertList
=
expertService
.
findExpertByTenderIdBatch
(
tenderProject
.
getId
(),
null
);
StringBuilder
expertNames
=
new
StringBuilder
();
StringBuilder
expertNames
=
new
StringBuilder
();
StringBuilder
biddingExpertNames
=
new
StringBuilder
();
StringBuilder
biddingExpertNames
=
new
StringBuilder
();
...
...
com.gx.obe.answer/src/com/gx/obe/answer/dialog/InquireEnvelopListDialog.java
View file @
dcb4d213
...
@@ -31,6 +31,7 @@ import org.eclipse.swt.layout.GridLayout;
...
@@ -31,6 +31,7 @@ import org.eclipse.swt.layout.GridLayout;
import
org.eclipse.swt.widgets.Combo
;
import
org.eclipse.swt.widgets.Combo
;
import
org.eclipse.swt.widgets.Composite
;
import
org.eclipse.swt.widgets.Composite
;
import
org.eclipse.swt.widgets.Control
;
import
org.eclipse.swt.widgets.Control
;
import
org.eclipse.swt.widgets.Display
;
import
org.eclipse.swt.widgets.Label
;
import
org.eclipse.swt.widgets.Label
;
import
org.eclipse.swt.widgets.Shell
;
import
org.eclipse.swt.widgets.Shell
;
import
org.eclipse.swt.widgets.Text
;
import
org.eclipse.swt.widgets.Text
;
...
@@ -40,12 +41,16 @@ import com.gx.obe.answer.composite.InquireEnvelopContentComposite;
...
@@ -40,12 +41,16 @@ import com.gx.obe.answer.composite.InquireEnvelopContentComposite;
import
com.gx.obe.answer.dataset.ClarifyDataSet
;
import
com.gx.obe.answer.dataset.ClarifyDataSet
;
import
com.gx.obe.business.entity.InquireEnvelop
;
import
com.gx.obe.business.entity.InquireEnvelop
;
import
com.gx.obe.common.file.enumeration.FileConstants
;
import
com.gx.obe.common.file.enumeration.FileConstants
;
import
com.gx.obe.common.file.upload.UploadFileUtil
;
import
com.gx.obe.common.file.upload.infer.UploadFileAdapter
;
import
com.gx.obe.common.icons.IconsActivator
;
import
com.gx.obe.common.icons.IconsActivator
;
import
com.gx.obe.components.core.Constants
;
import
com.gx.obe.components.core.Constants
;
import
com.gx.obe.components.core.I18NEnum
;
import
com.gx.obe.components.core.I18NEnum
;
import
com.gx.obe.message.Messages
;
import
com.gx.obe.message.Messages
;
import
com.gx.obe.report.dataset.word.IWordDataSet
;
import
com.gx.obe.report.dataset.word.IWordDataSet
;
import
com.gx.obe.util.utils.FileUtils
;
import
com.gx.obe.util.utils.LogUtils
;
import
com.gx.obe.util.utils.LogUtils
;
import
com.gx.obe.util.utils.StringUtil
;
import
com.gx.obe.web.entity.Supplier
;
import
com.gx.obe.web.entity.Supplier
;
import
com.gx.obe.web.entity.tender.TenderProjectEntity
;
import
com.gx.obe.web.entity.tender.TenderProjectEntity
;
import
com.gx.obe.web.service.InquireEnvelopService
;
import
com.gx.obe.web.service.InquireEnvelopService
;
...
@@ -89,6 +94,8 @@ public class InquireEnvelopListDialog extends EDialog{
...
@@ -89,6 +94,8 @@ public class InquireEnvelopListDialog extends EDialog{
private
Label
label_4
;
private
Label
label_4
;
private
Text
titleText
;
private
Text
titleText
;
private
Map
<
String
,
Object
>
reportDataSet
;
private
Map
<
String
,
Object
>
reportDataSet
;
private
Label
lblNewLabel
;
private
Text
text
;
{
{
LogUtils
.
logClass
(
InquireEnvelopListDialog
.
class
);
LogUtils
.
logClass
(
InquireEnvelopListDialog
.
class
);
}
}
...
@@ -151,6 +158,7 @@ public class InquireEnvelopListDialog extends EDialog{
...
@@ -151,6 +158,7 @@ public class InquireEnvelopListDialog extends EDialog{
}
}
});
});
addButton
.
setText
(
MessageFormat
.
format
(
Messages
.
Button_add
,
Messages
.
Clarification
));
addButton
.
setText
(
MessageFormat
.
format
(
Messages
.
Button_add
,
Messages
.
Clarification
));
new
Label
(
composite_1
,
SWT
.
NONE
);
scrolledComposite
=
new
ScrolledComposite
(
top
,
SWT
.
H_SCROLL
|
SWT
.
V_SCROLL
);
scrolledComposite
=
new
ScrolledComposite
(
top
,
SWT
.
H_SCROLL
|
SWT
.
V_SCROLL
);
...
@@ -180,15 +188,22 @@ public class InquireEnvelopListDialog extends EDialog{
...
@@ -180,15 +188,22 @@ public class InquireEnvelopListDialog extends EDialog{
label_4
=
new
Label
(
createbtn_composite
,
SWT
.
NONE
);
label_4
=
new
Label
(
createbtn_composite
,
SWT
.
NONE
);
label_4
.
setLayoutData
(
new
GridData
(
SWT
.
RIGHT
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
));
label_4
.
setLayoutData
(
new
GridData
(
SWT
.
RIGHT
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
));
label_4
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
10
,
SWT
.
NORMAL
));
label_4
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
10
,
SWT
.
NORMAL
));
label_4
.
setText
(
Messages
.
ClarifyTitle
+
"
:
"
);
label_4
.
setText
(
Messages
.
ClarifyTitle
+
"
:
"
);
titleText
=
new
Text
(
createbtn_composite
,
SWT
.
BORDER
);
titleText
=
new
Text
(
createbtn_composite
,
SWT
.
BORDER
);
titleText
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
CENTER
,
true
,
false
,
2
,
1
));
titleText
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
CENTER
,
true
,
false
,
2
,
1
));
lblNewLabel
=
new
Label
(
createbtn_composite
,
SWT
.
NONE
);
lblNewLabel
.
setLayoutData
(
new
GridData
(
SWT
.
RIGHT
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
));
lblNewLabel
.
setText
(
"联系电话:"
);
text
=
new
Text
(
createbtn_composite
,
SWT
.
BORDER
);
text
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
CENTER
,
true
,
false
,
2
,
1
));
lastAnswerTimeLabel
=
new
Label
(
createbtn_composite
,
SWT
.
NONE
|
EButton
.
CSS_BLUE
);
lastAnswerTimeLabel
=
new
Label
(
createbtn_composite
,
SWT
.
NONE
|
EButton
.
CSS_BLUE
);
lastAnswerTimeLabel
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
10
,
SWT
.
NORMAL
));
lastAnswerTimeLabel
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
10
,
SWT
.
NORMAL
));
lastAnswerTimeLabel
.
setLayoutData
(
new
GridData
(
SWT
.
RIGHT
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
));
lastAnswerTimeLabel
.
setLayoutData
(
new
GridData
(
SWT
.
RIGHT
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
));
lastAnswerTimeLabel
.
setText
(
Messages
.
LatestClarifyTime
+
"
:
"
);
lastAnswerTimeLabel
.
setText
(
Messages
.
LatestClarifyTime
+
"
:
"
);
lastAnswerTimeText
=
new
Text
(
createbtn_composite
,
SWT
.
BORDER
|
SWT
.
READ_ONLY
);
lastAnswerTimeText
=
new
Text
(
createbtn_composite
,
SWT
.
BORDER
|
SWT
.
READ_ONLY
);
GridData
gd_lastAnswerTimeText
=
new
GridData
(
SWT
.
LEFT
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
);
GridData
gd_lastAnswerTimeText
=
new
GridData
(
SWT
.
LEFT
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
);
...
@@ -354,6 +369,11 @@ public class InquireEnvelopListDialog extends EDialog{
...
@@ -354,6 +369,11 @@ public class InquireEnvelopListDialog extends EDialog{
MessageDialog
.
openInformation
(
getShell
(),
Messages
.
Tips_SelcetMinOneClarification
);
MessageDialog
.
openInformation
(
getShell
(),
Messages
.
Tips_SelcetMinOneClarification
);
return
;
return
;
}
}
String
phone
=
text
.
getText
();
if
(
StringUtil
.
empty
(
phone
))
{
MessageDialog
.
openInformation
(
getShell
(),
"请输入联系电话!"
);
return
;
}
Date
lastAnswerDate
=
null
!=
(
Date
)
lastAnswerTimeText
.
getData
(
"date"
)?(
Date
)
lastAnswerTimeText
.
getData
(
"date"
):
null
;
Date
lastAnswerDate
=
null
!=
(
Date
)
lastAnswerTimeText
.
getData
(
"date"
)?(
Date
)
lastAnswerTimeText
.
getData
(
"date"
):
null
;
if
(
null
==
lastAnswerDate
){
if
(
null
==
lastAnswerDate
){
MessageDialog
.
openShortMessage
(
MessageFormat
.
format
(
Messages
.
Tips_pleaseSelect
,
Messages
.
LatestClarifyTime
));
MessageDialog
.
openShortMessage
(
MessageFormat
.
format
(
Messages
.
Tips_pleaseSelect
,
Messages
.
LatestClarifyTime
));
...
@@ -374,6 +394,7 @@ public class InquireEnvelopListDialog extends EDialog{
...
@@ -374,6 +394,7 @@ public class InquireEnvelopListDialog extends EDialog{
questionContent
.
append
(
inquireEnvelop
.
getContent
());
questionContent
.
append
(
inquireEnvelop
.
getContent
());
questionContent
.
append
(
"\r\n"
);
questionContent
.
append
(
"\r\n"
);
}
}
clarifyDataSet
.
put
(
"managerPhone"
,
text
.
getText
());
clarifyDataSet
.
putParam
(
"supplierName"
,
selectSupplier
.
getSupplierName
());
clarifyDataSet
.
putParam
(
"supplierName"
,
selectSupplier
.
getSupplierName
());
clarifyDataSet
.
putParam
(
"questionContent"
,
questionContent
);
clarifyDataSet
.
putParam
(
"questionContent"
,
questionContent
);
clarifyDataSet
.
putParam
(
"questionList"
,
selectInquireEnvelopList
);
clarifyDataSet
.
putParam
(
"questionList"
,
selectInquireEnvelopList
);
...
@@ -387,29 +408,57 @@ public class InquireEnvelopListDialog extends EDialog{
...
@@ -387,29 +408,57 @@ public class InquireEnvelopListDialog extends EDialog{
final
String
title
=
titleText
.
getText
().
trim
();
final
String
title
=
titleText
.
getText
().
trim
();
clarifyDataSet
.
putParam
(
"title"
,
title
);
clarifyDataSet
.
putParam
(
"title"
,
title
);
File
templateFile
=
FileConstants
.
getResourceFile
(
FileConstants
.
ANSWER_FILE
);
File
templateFile
=
FileConstants
.
getResourceFile
(
FileConstants
.
ANSWER_FILE
);
File
templateFile_sign
=
FileConstants
.
getResourceFile
(
FileConstants
.
ANSWER_FILE_SIGN
);
String
reportPath
=
FileConstants
.
TEMP_FOLDER
+
templateFile
.
getName
();
String
reportPath
=
FileConstants
.
TEMP_FOLDER
+
templateFile
.
getName
();
String
reportsignPath
=
FileConstants
.
REPORT_FILE_FOLDER
+
File
.
separator
+
selectSupplier
.
getSupplierName
()
+
"_"
+
titleText
.
getText
()+
".docx"
;
File
hasFile
=
new
File
(
reportPath
);
File
hasFile
=
new
File
(
reportPath
);
File
signFile
=
new
File
(
reportsignPath
);
if
(
hasFile
.
exists
())
{
if
(
hasFile
.
exists
())
{
hasFile
.
delete
();
hasFile
.
delete
();
}
}
WordTemplateReportUtil
.
generate
(
templateFile
.
getAbsolutePath
(),
reportPath
,
new
WordGenerateAdapter
()
{
if
(
signFile
.
exists
())
{
signFile
.
delete
();
}
WordTemplateReportUtil
.
generate
(
templateFile_sign
.
getAbsolutePath
(),
reportsignPath
,
new
WordGenerateAdapter
()
{
public
WordDataSet
initDataSet
(
WordTemplate
wordTemplate
)
{
public
WordDataSet
initDataSet
(
WordTemplate
wordTemplate
)
{
return
clarifyDataSet
;
return
clarifyDataSet
;
}
}
public
void
onGenerate
(
String
reportPath
)
{}
public
void
onGenerate
(
String
reportPath
)
{
}
public
void
afterGenerate
(
boolean
generate
,
final
String
reportPath
)
{
public
void
afterGenerate
(
boolean
generate
,
final
String
reportPath
)
{
if
(
null
!=
clarifyDataSet
)
{
if
(
signFile
.
exists
())
{
getShell
().
close
();
UploadFileUtil
uploadFileUtil
=
new
UploadFileUtil
(
signFile
.
getAbsolutePath
(),
tenderProject
.
getId
(),
null
,
FileConstants
.
REPORT_FILE_FOLDER
,
new
UploadFileAdapter
()
{
openWordFileAction
(
reportPath
,
dateString
,
title
);
public
void
Completed
(
boolean
isCompleted
)
{
if
(
isCompleted
)
{
FileUtils
.
copy
(
signFile
.
getAbsolutePath
(),
signFile
.
getAbsolutePath
());
Display
.
getDefault
().
syncExec
(
new
Runnable
()
{
public
void
run
()
{
WordTemplateReportUtil
.
generate
(
templateFile
.
getAbsolutePath
(),
reportPath
,
new
WordGenerateAdapter
()
{
public
WordDataSet
initDataSet
(
WordTemplate
wordTemplate
)
{
return
clarifyDataSet
;
}
public
void
onGenerate
(
String
reportPath
)
{}
public
void
afterGenerate
(
boolean
generate
,
final
String
reportPath
)
{
if
(
null
!=
clarifyDataSet
)
{
getShell
().
close
();
openWordFileAction
(
reportPath
,
dateString
,
title
);
}
}
});
isCreateReport
=
true
;
}
});
}
}
});
uploadFileUtil
.
startUploadFileFile
();
}
else
{
MessageDialog
.
openError
(
getShell
(),
"生成失败!"
);
}
}
}
}
});
});
isCreateReport
=
true
;
}
}
public
void
addCallBack
(
CallBack
importBidQueryAnswerFileCallBack
){
public
void
addCallBack
(
CallBack
importBidQueryAnswerFileCallBack
){
...
...
com.gx.obe.common.file/src/com/gx/obe/common/file/enumeration/FileConstants.java
View file @
dcb4d213
...
@@ -339,7 +339,7 @@ public class FileConstants {
...
@@ -339,7 +339,7 @@ public class FileConstants {
public
static
String
BILLZB_XML
=
"billzb.xml"
;
// 清单文件
public
static
String
BILLZB_XML
=
"billzb.xml"
;
// 清单文件
public
static
String
ANSWER_FILE
=
"询标函(澄清).docx"
;
public
static
String
ANSWER_FILE
=
"询标函(澄清).docx"
;
public
static
String
ANSWER_FILE_
PDF
=
"询标函(澄清).pdf
"
;
public
static
String
ANSWER_FILE_
SIGN
=
"询标函.docx
"
;
public
static
String
[]
SUPPLIER_BID_FILES
=
{
BID_PRICE_XML
,
PSZB_XML
,
BID_FILE_INDEX_XML
};
// 评审点文件不是必须的
public
static
String
[]
SUPPLIER_BID_FILES
=
{
BID_PRICE_XML
,
PSZB_XML
,
BID_FILE_INDEX_XML
};
// 评审点文件不是必须的
public
static
String
getBidFileName
(
String
bidName
){
public
static
String
getBidFileName
(
String
bidName
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment