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
38cc81c4
Commit
38cc81c4
authored
Oct 17, 2024
by
黄重
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
822ba1d8
Changes
40
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
2089 additions
and
192 deletions
+2089
-192
BID-EVALUATION-STEP/src/com/gx/obe/evaluation/step/composite/FactorEvaluationComposite.java
.../evaluation/step/composite/FactorEvaluationComposite.java
+1
-1
BID-EVALUATION/src/com/gx/obe/evaluation/composite/MyEvaluationStepComposite.java
...x/obe/evaluation/composite/MyEvaluationStepComposite.java
+37
-3
BID-PRICE-TABLE/.settings/org.eclipse.core.resources.prefs
BID-PRICE-TABLE/.settings/org.eclipse.core.resources.prefs
+2
-0
OBE-ACTION/.settings/org.eclipse.core.resources.prefs
OBE-ACTION/.settings/org.eclipse.core.resources.prefs
+2
-0
OBE-COMMON-ICONS/.settings/org.eclipse.core.resources.prefs
OBE-COMMON-ICONS/.settings/org.eclipse.core.resources.prefs
+2
-0
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/BacthSignatureDialog.java
.../src/com/gx/tools/ole/signature/BacthSignatureDialog.java
+105
-0
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/ExpertBatchSignatureComposite.java
...gx/tools/ole/signature/ExpertBatchSignatureComposite.java
+1081
-0
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/ImageCheckBox.java
...N-TOOLS/src/com/gx/tools/ole/signature/ImageCheckBox.java
+87
-0
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/ManagerBacthSignatureDialog.java
...m/gx/tools/ole/signature/ManagerBacthSignatureDialog.java
+138
-0
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/SignInfoButton.java
...-TOOLS/src/com/gx/tools/ole/signature/SignInfoButton.java
+57
-0
OBE-COMPONENTS-CORE/YX05QL1Z.cer
OBE-COMPONENTS-CORE/YX05QL1Z.cer
+1
-0
OBE-COMPONENTS-CORE/resource/blank.pdf
OBE-COMPONENTS-CORE/resource/blank.pdf
+0
-0
OBE-COMPONENTS-CORE/resource/blank1.pdf
OBE-COMPONENTS-CORE/resource/blank1.pdf
+0
-0
OBE-COMPONENTS-CORE/src/com/gx/obe/business/entity/SignatureUser.java
...TS-CORE/src/com/gx/obe/business/entity/SignatureUser.java
+10
-0
OBE-COMPONENTS-CORE/src/com/gx/obe/web/entity/Result/Header.java
...PONENTS-CORE/src/com/gx/obe/web/entity/Result/Header.java
+56
-0
OBE-COMPONENTS-CORE/src/com/gx/obe/web/entity/Result/ResultEntity.java
...S-CORE/src/com/gx/obe/web/entity/Result/ResultEntity.java
+12
-0
OBE-COMPONENTS-MESSAGES/bin/com/gx/obe/message/Messages.class
...COMPONENTS-MESSAGES/bin/com/gx/obe/message/Messages.class
+0
-0
OBE-CONFIG/config.properties
OBE-CONFIG/config.properties
+25
-24
OBE-CONFIG/config2.properties
OBE-CONFIG/config2.properties
+3
-3
OBE-CONFIG/config_final.properties
OBE-CONFIG/config_final.properties
+2
-2
OBE-CONFIG/config_test.properties
OBE-CONFIG/config_test.properties
+2
-2
OBE-MANAGEMENT/src/com/gx/obe/management/composite/EvaluationRoomHomeComposite.java
...obe/management/composite/EvaluationRoomHomeComposite.java
+25
-1
OBE-MANAGEMENT/src/com/gx/obe/management/webservice/UploadEvaluationResultAndFile.java
.../management/webservice/UploadEvaluationResultAndFile.java
+8
-8
OBE-REPORT/src/com/gx/obe/report/composite/EvaluationReportComposite.java
...om/gx/obe/report/composite/EvaluationReportComposite.java
+26
-2
OBE-REPORT/src/com/gx/obe/report/dataset/excel/BaseDateSet.java
...PORT/src/com/gx/obe/report/dataset/excel/BaseDateSet.java
+6
-4
OBE-REPORT/src/com/gx/obe/report/dataset/word/BaseDateSet.java
...EPORT/src/com/gx/obe/report/dataset/word/BaseDateSet.java
+167
-100
OBE-REPORT/src/com/gx/obe/report/dataset/word/JingNengEvaluationReportDataSet.java
.../report/dataset/word/JingNengEvaluationReportDataSet.java
+27
-18
OBE-SYSTEM/src/com/gx/obe/system/composite/SysetemAdminLogComposite.java
...com/gx/obe/system/composite/SysetemAdminLogComposite.java
+6
-2
com.gx.obe.answer/.settings/org.eclipse.core.resources.prefs
com.gx.obe.answer/.settings/org.eclipse.core.resources.prefs
+2
-0
com.gx.obe.common.file/META-INF/MANIFEST.MF
com.gx.obe.common.file/META-INF/MANIFEST.MF
+2
-1
com.gx.obe.common.file/src/com/gx/obe/common/file/service/ExpertSignService.java
...src/com/gx/obe/common/file/service/ExpertSignService.java
+42
-0
com.gx.obe.common.file/src/com/gx/obe/common/file/service/SignatureUserService.java
.../com/gx/obe/common/file/service/SignatureUserService.java
+23
-0
com.gx.obe.common.file/src/com/gx/obe/common/file/service/UserSignFileService.java
...c/com/gx/obe/common/file/service/UserSignFileService.java
+75
-0
com.gx.obe.common.widget/src/com/gx/obe/common/widget/dialog/MessageViewDialog.java
...rc/com/gx/obe/common/widget/dialog/MessageViewDialog.java
+45
-20
com.gx.obe.credit/.settings/org.eclipse.core.resources.prefs
com.gx.obe.credit/.settings/org.eclipse.core.resources.prefs
+2
-0
com.gx.obe.dynamicview/.settings/org.eclipse.core.resources.prefs
...be.dynamicview/.settings/org.eclipse.core.resources.prefs
+2
-0
com.gx.obe.meeting/.settings/org.eclipse.core.resources.prefs
...gx.obe.meeting/.settings/org.eclipse.core.resources.prefs
+2
-0
com.gx.obe.ocr/.settings/org.eclipse.core.resources.prefs
com.gx.obe.ocr/.settings/org.eclipse.core.resources.prefs
+2
-0
com.gx.obe.software/.settings/org.eclipse.core.resources.prefs
...x.obe.software/.settings/org.eclipse.core.resources.prefs
+2
-0
org.eclipse.swt.core/src/org/eclipse/swt/core/CallBack.java
org.eclipse.swt.core/src/org/eclipse/swt/core/CallBack.java
+2
-1
No files found.
BID-EVALUATION-STEP/src/com/gx/obe/evaluation/step/composite/FactorEvaluationComposite.java
View file @
38cc81c4
...
@@ -259,7 +259,7 @@ public class FactorEvaluationComposite extends EvaluationView {
...
@@ -259,7 +259,7 @@ public class FactorEvaluationComposite extends EvaluationView {
//渲染图形化界面
//渲染图形化界面
render
();
render
();
//渲染左侧AI界面,如果不需要直接注释该方法
//渲染左侧AI界面,如果不需要直接注释该方法
renderAi
();
//
renderAi();
init
();
init
();
}
}
...
...
BID-EVALUATION/src/com/gx/obe/evaluation/composite/MyEvaluationStepComposite.java
View file @
38cc81c4
...
@@ -121,6 +121,7 @@ import com.gx.obe.web.service.expert.ExpertService;
...
@@ -121,6 +121,7 @@ import com.gx.obe.web.service.expert.ExpertService;
import
com.gx.security.CertValidator
;
import
com.gx.security.CertValidator
;
import
com.gx.security.CertificateException
;
import
com.gx.security.CertificateException
;
import
com.gx.security.SecurityRuntimeException
;
import
com.gx.security.SecurityRuntimeException
;
import
com.gx.tools.ole.signature.BacthSignatureDialog
;
import
com.gx.tools.ole.signature.CircleSignatureDialog
;
import
com.gx.tools.ole.signature.CircleSignatureDialog
;
import
com.gx.tools.utils.SignaturePdfUtils
;
import
com.gx.tools.utils.SignaturePdfUtils
;
import
com.gx.utils.NowTimeUtils
;
import
com.gx.utils.NowTimeUtils
;
...
@@ -171,6 +172,7 @@ public class MyEvaluationStepComposite extends Composite implements ActionListen
...
@@ -171,6 +172,7 @@ public class MyEvaluationStepComposite extends Composite implements ActionListen
private
EvaluationStepService
evaluationStepService
;
private
EvaluationStepService
evaluationStepService
;
private
Menu
menu
;
private
Menu
menu
;
private
Menu
resultMenu
;
private
Menu
resultMenu
;
// private ELink batchSignature_btn;
// private StepButton curStep;
// private StepButton curStep;
{
{
LogUtils
.
logClass
(
MyEvaluationStepComposite
.
class
);
LogUtils
.
logClass
(
MyEvaluationStepComposite
.
class
);
...
@@ -323,13 +325,25 @@ public class MyEvaluationStepComposite extends Composite implements ActionListen
...
@@ -323,13 +325,25 @@ public class MyEvaluationStepComposite extends Composite implements ActionListen
preEvalLink
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/btn/blue/signature.png"
));
preEvalLink
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/btn/blue/signature.png"
));
menuFunctionUtils
.
addFunction
(
preEvalLink
,
"EVALUATION_PREEVAL"
);
menuFunctionUtils
.
addFunction
(
preEvalLink
,
"EVALUATION_PREEVAL"
);
//如果需要屏蔽,直接注释掉该行
//如果需要屏蔽,直接注释掉该行
new
AiEvalLeftButton
(
toolsComposite
,
SWT
.
NONE
,
tenderProject
,
"标书查重"
);
// new AiEvalLeftButton(toolsComposite, SWT.NONE, tenderProject, "标书查重");
signature_btn
=
new
ELink
(
toolsComposite
,
SWT
.
NONE
);
signature_btn
=
new
ELink
(
toolsComposite
,
SWT
.
NONE
);
signature_btn
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
12
,
SWT
.
BOLD
));
signature_btn
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
12
,
SWT
.
BOLD
));
signature_btn
.
setForeground
(
SWTResourceManager
.
getColor
(
60
,
138
,
226
));
signature_btn
.
setForeground
(
SWTResourceManager
.
getColor
(
60
,
138
,
226
));
menuFunctionUtils
.
addFunction
(
signature_btn
,
"EVALUATION_SIGNATURE"
);
menuFunctionUtils
.
addFunction
(
signature_btn
,
"EVALUATION_SIGNATURE"
);
// batchSignature_btn = new ELink(toolsComposite, SWT.NONE);
// batchSignature_btn.setFont(SWTResourceManager.getFont("微软雅黑", 12, SWT.BOLD));
// batchSignature_btn.setForeground(SWTResourceManager.getColor(60, 138, 226));
// batchSignature_btn.setText("批量签名");
// batchSignature_btn.setImage(ResourceManager.getPluginImage(IconsActivator.PLUGIN_ID, "icons/btn/blue/edit.png"));
// batchSignature_btn.addMouseListener(new MouseAdapter() {
// public void mouseUp(MouseEvent e) {
// openBatchSignatureDialog();
// }
// });
wasteBiddding_btn
=
new
ELink
(
toolsComposite
,
SWT
.
NONE
);
wasteBiddding_btn
=
new
ELink
(
toolsComposite
,
SWT
.
NONE
);
wasteBiddding_btn
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
12
,
SWT
.
BOLD
));
wasteBiddding_btn
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
12
,
SWT
.
BOLD
));
wasteBiddding_btn
.
setForeground
(
SWTResourceManager
.
getColor
(
60
,
138
,
226
));
wasteBiddding_btn
.
setForeground
(
SWTResourceManager
.
getColor
(
60
,
138
,
226
));
...
@@ -478,12 +492,32 @@ public class MyEvaluationStepComposite extends Composite implements ActionListen
...
@@ -478,12 +492,32 @@ public class MyEvaluationStepComposite extends Composite implements ActionListen
signature_btn
.
addMouseListener
(
mouseAdapter
);
signature_btn
.
addMouseListener
(
mouseAdapter
);
}
}
/**
* 手写签名
*
* @param title
* @param signaturePdfKey
* @param signaturePdfType
*/
private
void
openSignatureDialog
(
String
title
,
String
signaturePdfKey
,
String
signaturePdfType
)
{
private
void
openSignatureDialog
(
String
title
,
String
signaturePdfKey
,
String
signaturePdfType
)
{
CircleSignatureDialog
signatureDialog
=
new
CircleSignatureDialog
(
getShell
(),
tenderProject
,
Constants
.
USER
,
signaturePdfKey
,
signaturePdfType
);
CircleSignatureDialog
signatureDialog
=
new
CircleSignatureDialog
(
getShell
(),
tenderProject
,
Constants
.
USER
,
signaturePdfKey
,
signaturePdfType
);
signatureDialog
.
setTitle
(
title
);
signatureDialog
.
setTitle
(
title
);
signatureDialog
.
open
();
signatureDialog
.
open
();
}
}
/**
* 批量签名
*
* @param title
* @param signaturePdfKey
* @param signaturePdfType
*/
private
void
openBatchSignatureDialog
()
{
BacthSignatureDialog
signatureDialog
=
new
BacthSignatureDialog
(
getShell
(),
tenderProject
,
Constants
.
USER
,
expert
);
signatureDialog
.
setTitle
(
"批量签名"
);
signatureDialog
.
open
();
}
/**
/**
...
...
BID-PRICE-TABLE/.settings/org.eclipse.core.resources.prefs
0 → 100644
View file @
38cc81c4
eclipse.preferences.version=1
encoding/<project>=UTF-8
OBE-ACTION/.settings/org.eclipse.core.resources.prefs
0 → 100644
View file @
38cc81c4
eclipse.preferences.version=1
encoding/<project>=UTF-8
OBE-COMMON-ICONS/.settings/org.eclipse.core.resources.prefs
0 → 100644
View file @
38cc81c4
eclipse.preferences.version=1
encoding/<project>=UTF-8
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/BacthSignatureDialog.java
0 → 100644
View file @
38cc81c4
package
com
.
gx
.
tools
.
ole
.
signature
;
import
org.eclipse.swt.SWT
;
import
org.eclipse.swt.core.widgets.EDialog
;
import
org.eclipse.swt.graphics.Point
;
import
org.eclipse.swt.layout.FillLayout
;
import
org.eclipse.swt.widgets.Composite
;
import
org.eclipse.swt.widgets.Control
;
import
org.eclipse.swt.widgets.Shell
;
import
com.gx.obe.components.core.enumeration.CommonEnum
;
import
com.gx.obe.config.ConfigConstants
;
import
com.gx.obe.config.utils.PropertiesUtils
;
import
com.gx.obe.message.Messages
;
import
com.gx.obe.util.utils.LogUtils
;
import
com.gx.obe.util.utils.ScreenUtils
;
import
com.gx.obe.web.entity.auth.AuthUser
;
import
com.gx.obe.web.entity.expert.Expert
;
import
com.gx.obe.web.entity.tender.TenderProjectEntity
;
/**
* @Description: 流转签章
* @author guoyr
*/
public
class
BacthSignatureDialog
extends
EDialog
{
private
TenderProjectEntity
tenderProject
;
private
AuthUser
curUser
;
private
Composite
container
;
private
Expert
expert
;
{
LogUtils
.
logClass
(
BacthSignatureDialog
.
class
);
}
/**
* @author guoyr
* @param parentShell
* @param tenderProjectEntity
* @param templateType
*/
public
BacthSignatureDialog
(
Shell
parentShell
,
TenderProjectEntity
tenderProjectEntity
,
AuthUser
curUser
,
Expert
expert
)
{
super
(
parentShell
);
setTitle
(
Messages
.
Button_scanSignatrue
);
this
.
tenderProject
=
tenderProjectEntity
;
this
.
curUser
=
curUser
;
this
.
expert
=
expert
;
}
/**
* @Description:
* @author guoyr
* @param parent
* @return
*/
@Override
protected
Control
createDialogArea
(
Composite
parent
)
{
container
=
(
Composite
)
super
.
createDialogArea
(
parent
);
container
.
setLayout
(
new
FillLayout
(
SWT
.
HORIZONTAL
));
init
();
return
container
;
}
private
void
init
(){
container
.
setData
(
"dialog"
,
"true"
);
// if (SignaturePdfUtils.CA.equals(signatureType)) {
// setTitle(Messages.Button_caSignature);
// CACircleSignatureComposite signatureComposite= new CACircleSignatureComposite(container, SWT.NONE);
// signatureComposite.refreshSignatureFiles(tenderProject, curUser);
// } else if (SignaturePdfUtils.HAND.equals(signatureType)) {
// setTitle(Messages.Button_handSignature);
// // 这里根据手写板类型调用不同的签章界面
//// String handType = PropertiesUtils.getProperty(ConfigConstants.HAND_SIGNATURE_PDF, "");
// BJCAHandCircleSignatureComposite signatureComposite= new BJCAHandCircleSignatureComposite(container, SWT.NONE);
// signatureComposite.refreshSignatureFiles(tenderProject, curUser);
// } else if (SignaturePdfUtils.SAOMA.equals(signatureType)) {
// setTitle(Messages.Button_scanSignatrue);
// // CFCA 中招扫码app
// if(CFCASaoMaLoaderImpl.PDF_TYPE.equals(signaturePdfvalue)) {
// CFCASaomaCircleSignatureComposite signatureComposite= new CFCASaomaCircleSignatureComposite(container, SWT.NONE);
// signatureComposite.refreshSignatureFiles(tenderProject, curUser);
// }else {
// // 北京CA扫码签章
// BJCASaomaCircleSignatureComposite signatureComposite= new BJCASaomaCircleSignatureComposite(container, SWT.NONE);
// signatureComposite.refreshSignatureFiles(tenderProject, curUser);
// }
// }
ExpertBatchSignatureComposite
expertBatchSignatureComposite
=
new
ExpertBatchSignatureComposite
(
container
,
SWT
.
NONE
);
expertBatchSignatureComposite
.
refreshSignatureFiles
(
tenderProject
,
curUser
,
expert
);
}
/**
* Return the initial size of the dialog.
*/
@Override
protected
Point
getInitialSize
()
{
ScreenUtils
util
=
new
ScreenUtils
();
int
screenHight
=
util
.
getScreenHight
()
-
util
.
getTaskBarHight
();
if
(
PropertiesUtils
.
getProperty
(
ConfigConstants
.
EVAL_FULL_SCREEN
,
"00"
).
equals
(
CommonEnum
.
YES
))
{
screenHight
=
util
.
getScreenHight
();
}
return
new
Point
(
util
.
getScreenWight
(),
screenHight
);
// return new Point(840, 616);
}
}
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/ExpertBatchSignatureComposite.java
0 → 100644
View file @
38cc81c4
This diff is collapsed.
Click to expand it.
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/ImageCheckBox.java
0 → 100644
View file @
38cc81c4
package
com
.
gx
.
tools
.
ole
.
signature
;
import
org.eclipse.swt.SWT
;
import
org.eclipse.swt.core.widgets.ImageButton
;
import
org.eclipse.swt.events.MouseAdapter
;
import
org.eclipse.swt.events.MouseEvent
;
import
org.eclipse.swt.events.SelectionAdapter
;
import
org.eclipse.swt.graphics.Color
;
import
org.eclipse.swt.widgets.Composite
;
import
com.swtdesigner.ResourceManager
;
import
com.swtdesigner.SWTResourceManager
;
public
class
ImageCheckBox
extends
ImageButton
{
private
SelectionAdapter
selectionAdapter
;
private
int
imageSize
=
16
;
public
static
Color
BG
=
SWTResourceManager
.
getColor
(
60
,
138
,
226
);
public
static
final
String
checkBoxGroup
=
"checkBoxGroup"
;
public
ImageCheckBox
(
Composite
parent
,
int
style
)
{
super
(
parent
,
style
|
SWT
.
CENTER
);
this
.
setData
(
checkBoxGroup
,
checkBoxGroup
);
this
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
10
,
SWT
.
NORMAL
));
this
.
setSelectionForeground
(
getForeground
());
// this.setSelectionForeground(SWTResourceManager.getColor(77, 163, 19));
// this.setForeground(Constants.FONT_BLACK_COLOR);
init
();
}
private
void
init
(){
this
.
setImage
(
ResourceManager
.
getPluginImage
(
"com.gx.obe.common.icons"
,
"icons/unchecked.png"
),
imageSize
,
imageSize
);
this
.
addMouseListener
(
new
MouseAdapter
()
{
public
void
mouseUp
(
MouseEvent
e
)
{
if
(!
getEnabled
()){
return
;
}
setSelection
(!
getSelection
());
if
(
null
!=
selectionAdapter
){
// Event event = new Event();
// event.button = e.button;
// event.data = e.data;
// event.x = e.x;
// event.y = e.y;
// selectionAdapter.widgetSelected(new SelectionEvent(event));
// 加上事件无法调用
selectionAdapter
.
widgetSelected
(
null
);
}
super
.
mouseUp
(
e
);
}
});
}
public
void
addSelectionListener
(
SelectionAdapter
selectionAdapter
){
this
.
selectionAdapter
=
selectionAdapter
;
}
public
int
getImageSize
()
{
return
imageSize
;
}
public
void
setImageSize
(
int
imageSize
)
{
if
(
this
.
imageSize
!=
imageSize
){
this
.
imageSize
=
imageSize
;
if
(
this
.
getSelection
()){
this
.
setImage
(
ResourceManager
.
getPluginImage
(
"com.gx.obe.common.icons"
,
"icons/checked.png"
),
imageSize
,
imageSize
);
}
else
{
this
.
setImage
(
ResourceManager
.
getPluginImage
(
"com.gx.obe.common.icons"
,
"icons/unchecked.png"
),
imageSize
,
imageSize
);
}
}
}
@Override
public
void
setSelection
(
boolean
selection
)
{
if
(
this
.
getSelection
()
!=
selection
){
if
(
selection
){
this
.
setImage
(
ResourceManager
.
getPluginImage
(
"com.gx.obe.common.icons"
,
"icons/checked.png"
),
imageSize
,
imageSize
);
}
else
{
this
.
setImage
(
ResourceManager
.
getPluginImage
(
"com.gx.obe.common.icons"
,
"icons/unchecked.png"
),
imageSize
,
imageSize
);
}
super
.
setSelection
(
selection
);
}
}
}
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/ManagerBacthSignatureDialog.java
0 → 100644
View file @
38cc81c4
package
com
.
gx
.
tools
.
ole
.
signature
;
import
java.util.List
;
import
org.eclipse.swt.SWT
;
import
org.eclipse.swt.core.widgets.EDialog
;
import
org.eclipse.swt.core.widgets.ESepator
;
import
org.eclipse.swt.events.MouseAdapter
;
import
org.eclipse.swt.events.MouseEvent
;
import
org.eclipse.swt.graphics.Point
;
import
org.eclipse.swt.layout.FillLayout
;
import
org.eclipse.swt.layout.GridData
;
import
org.eclipse.swt.layout.GridLayout
;
import
org.eclipse.swt.widgets.Composite
;
import
org.eclipse.swt.widgets.Control
;
import
org.eclipse.swt.widgets.Shell
;
import
com.gx.obe.business.enumeration.UserEnum
;
import
com.gx.obe.components.core.enumeration.CommonEnum
;
import
com.gx.obe.config.ConfigConstants
;
import
com.gx.obe.config.utils.PropertiesUtils
;
import
com.gx.obe.message.Messages
;
import
com.gx.obe.util.utils.LogUtils
;
import
com.gx.obe.util.utils.ScreenUtils
;
import
com.gx.obe.web.entity.expert.Expert
;
import
com.gx.obe.web.entity.tender.TenderProjectEntity
;
import
com.gx.obe.web.service.expert.ExpertService
;
import
com.swtdesigner.ResourceManager
;
/**
* @Description: 流转签章
* @author guoyr
*/
public
class
ManagerBacthSignatureDialog
extends
EDialog
{
private
TenderProjectEntity
tenderProject
;
private
Composite
container
;
private
ExpertService
expertService
=
new
ExpertService
();
private
Composite
composite
;
private
ExpertBatchSignatureComposite
expertBatchSignatureComposite
;
// private UserInfoButton userInfoButton;
{
LogUtils
.
logClass
(
ManagerBacthSignatureDialog
.
class
);
}
/**
* @author guoyr
* @param parentShell
* @param tenderProjectEntity
* @param templateType
*/
public
ManagerBacthSignatureDialog
(
Shell
parentShell
,
TenderProjectEntity
tenderProjectEntity
)
{
super
(
parentShell
);
setTitle
(
Messages
.
Button_scanSignatrue
);
this
.
tenderProject
=
tenderProjectEntity
;
}
/**
* @Description:
* @author guoyr
* @param parent
* @return
*/
@Override
protected
Control
createDialogArea
(
Composite
parent
)
{
container
=
(
Composite
)
super
.
createDialogArea
(
parent
);
GridLayout
gl_container
=
new
GridLayout
(
1
,
false
);
container
.
setLayout
(
gl_container
);
composite
=
new
Composite
(
container
,
SWT
.
NONE
);
GridLayout
gl_composite
=
new
GridLayout
(
10
,
false
);
gl_composite
.
horizontalSpacing
=
20
;
gl_composite
.
verticalSpacing
=
10
;
gl_composite
.
marginRight
=
50
;
gl_composite
.
marginLeft
=
50
;
composite
.
setLayout
(
gl_composite
);
composite
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
FILL
,
true
,
false
,
1
,
1
));
ESepator
sep
=
new
ESepator
(
container
,
SWT
.
NONE
);
sep
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
FILL
,
true
,
false
,
1
,
1
));
Composite
composite_1
=
new
Composite
(
container
,
SWT
.
NONE
);
composite_1
.
setLayout
(
new
FillLayout
(
SWT
.
HORIZONTAL
));
composite_1
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
FILL
,
true
,
true
,
1
,
1
));
expertBatchSignatureComposite
=
new
ExpertBatchSignatureComposite
(
composite_1
,
SWT
.
NONE
);
init
();
return
container
;
}
/**
* 初始化数据
*/
private
void
init
(){
container
.
setData
(
"dialog"
,
"true"
);
List
<
Expert
>
expertList
=
expertService
.
getExpertListByTenderId
(
tenderProject
.
getId
());
int
index
=
0
;
if
(
null
!=
expertList
&&
expertList
.
size
()
>
0
)
{
for
(
final
Expert
expert
:
expertList
)
{
SignInfoButton
imageButton
=
new
SignInfoButton
(
composite
,
SWT
.
NONE
);
imageButton
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
));
boolean
managerIsFemale
=
null
!=
expert
.
getUser
()
&&
UserEnum
.
FEMALE
.
equals
(
expert
.
getUser
().
getGender
());
if
(
managerIsFemale
)
{
imageButton
.
setImage
(
ResourceManager
.
getPluginImage
(
"com.gx.obe.common.icons"
,
"icons/female_48.png"
));
}
else
{
imageButton
.
setImage
(
ResourceManager
.
getPluginImage
(
"com.gx.obe.common.icons"
,
"icons/male_48.png"
));
}
// if(managerIsFemale) {
imageButton
.
setText
(
expert
.
getUser
().
getUserName
());
imageButton
.
addMouseListener
(
new
MouseAdapter
()
{
public
void
mouseUp
(
MouseEvent
e
)
{
expertBatchSignatureComposite
.
refreshSignatureFiles
(
tenderProject
,
expert
.
getUser
(),
expert
);
System
.
out
.
println
(
"专家点击进入"
+
expert
.
getUser
().
getUserName
());
}
});
// 默认选中第一个
if
(
index
==
0
)
{
expertBatchSignatureComposite
.
refreshSignatureFiles
(
tenderProject
,
expert
.
getUser
(),
expert
);
}
index
++;
}
}
}
/**
* Return the initial size of the dialog.
*/
@Override
protected
Point
getInitialSize
()
{
ScreenUtils
util
=
new
ScreenUtils
();
int
screenHight
=
util
.
getScreenHight
()
-
util
.
getTaskBarHight
();
if
(
PropertiesUtils
.
getProperty
(
ConfigConstants
.
EVAL_FULL_SCREEN
,
"00"
).
equals
(
CommonEnum
.
YES
))
{
screenHight
=
util
.
getScreenHight
();
}
return
new
Point
(
util
.
getScreenWight
(),
screenHight
);
// return new Point(840, 616);
}
}
OBE-COMMON-TOOLS/src/com/gx/tools/ole/signature/SignInfoButton.java
0 → 100644
View file @
38cc81c4
package
com
.
gx
.
tools
.
ole
.
signature
;
import
org.eclipse.swt.SWT
;
import
org.eclipse.swt.core.widgets.ImageButton
;
import
org.eclipse.swt.graphics.Color
;
import
org.eclipse.swt.layout.RowData
;
import
org.eclipse.swt.widgets.Composite
;
import
com.gx.obe.components.core.Constants
;
import
com.swtdesigner.ResourceManager
;
import
com.swtdesigner.SWTResourceManager
;
public
class
SignInfoButton
extends
ImageButton
{
public
static
Color
BG
=
SWTResourceManager
.
getColor
(
60
,
138
,
226
);
public
static
Color
NO_START_COLOR
=
SWTResourceManager
.
getColor
(
153
,
153
,
153
);
// 灰色
public
static
Color
COMPLATE_COLOR
=
SWTResourceManager
.
getColor
(
77
,
163
,
19
);
// 绿色
public
static
Color
IN_PROGRESS_COLOR
=
SWTResourceManager
.
getColor
(
60
,
138
,
226
);
// 蓝色
// public static Color RE_AUTHORIZATION_COLOR = SWTResourceManager.getColor(230, 137, 30);// 橙色
public
static
Color
RE_AUTHORIZATION_COLOR
=
SWTResourceManager
.
getColor
(
255
,
153
,
0
);
// 橙色
public
SignInfoButton
(
Composite
parent
,
int
style
)
{
super
(
parent
,
style
|
SWT
.
CENTER
|
SWT
.
BOTTOM
|
SWT
.
WRAP
);
this
.
setTopMargin
(
2
);
this
.
setBottomMargin
(
2
);
this
.
setLeftMargin
(
5
);
this
.
setRightMargin
(
5
);
this
.
setImage
(
ResourceManager
.
getPluginImage
(
"com.gx.obe.common.icons"
,
"icons/pdf_signature.png"
));
this
.
setForeground
(
SWTResourceManager
.
getColor
(
80
,
80
,
80
));
this
.
setFont
(
SWTResourceManager
.
getFont
(
"微软雅黑"
,
10
,
SWT
.
NORMAL
));
// this.setSurroundMargin(5);
// this.setSurroundColor(SWTResourceManager.getColor(77, 163, 19));// 绿色
// this.setSurroundColor(SWTResourceManager.getColor(60, 138, 226));// 蓝色
this
.
setActiveBorderColor
(
SWTResourceManager
.
getColor
(
255
,
153
,
0
));
// this.setActiveBackgroundColor(SWTResourceManager.getColor(40, 250, 255));
// this.setActiveForeground(SWTResourceManager.getColor(255, 153, 0));
// this.setActiveSurroundColor(SWTResourceManager.getColor(60, 138, 226));
// this.setActiveSurroundColor(SWTResourceManager.getColor(255, 153, 0));// 橙色
// this.setBorderWidth(3);
// this.setActiveSurroundMargin(6);
this
.
setSelectionBorderColor
(
SWTResourceManager
.
getColor
(
60
,
138
,
226
));
this
.
setSelectionForeground
(
SWTResourceManager
.
getColor
(
60
,
138
,
226
));
// this.setSelectionSurroundColor(SWTResourceManager.getColor(77, 163, 19));// 绿色
this
.
setSubImageRightMargin
(
10
);
this
.
setSubImageTopMargin
(
5
);
// this.setSubImage(ResourceManager.getPluginImage(CommonActivator.PLUGIN_ID, "icons/signature_complate.png"));
this
.
setGAP
(
0
);
this
.
setArcWidth
(
6
);
// this.setDisenableColor(SWTResourceManager.getColor(77, 163, 19));
// this.setAlpha(100);
// this.setFillSurround(false);
// setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
// this.setEnabled(false);
}
}
OBE-COMPONENTS-CORE/YX05QL1Z.cer
0 → 100644
View file @
38cc81c4
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGNlcnQ+PGNlcnRJZD4zPC9jZXJ0SWQ+PHByb2R1Y3Q+T0JFPC9wcm9kdWN0PjxtYWM+QzEtRjYtRkYtOTMtMDgtQUI8L21hYz48bW90aGVyQm9hcmRTTj5DMUY2RkY5MzA4QUI8L21vdGhlckJvYXJkU04+PGNlcnRUeXBlPlRyaWFsPC9jZXJ0VHlwZT48bmFtZT4zMDAwNSAyMzM3NiAyNDMyMCAzNTc4MCAyNjYzMTwvbmFtZT48YXV0aG9yPjU1IDQ2IDQ4IDEyMjg5IDU2IDQ2IDQ4IDMyNDU2IDM2NTIzIDI1NDgwIDI2NDM1PC9hdXRob3I+PHZlcnNpb24+VjcuMDwvdmVyc2lvbj48bnVtQ29waWVzPjE8L251bUNvcGllcz48ZXhwaXJlc0RhdGU+MjEyMy0wNy0xMSAwOToyMzowMzwvZXhwaXJlc0RhdGU+PGV4cGlyZXNUaW1lcz4wPC9leHBpcmVzVGltZXM+PGNyZWF0aW9uRGF0ZT4yMDIzLTA3LTExIDA5OjIzOjA2PC9jcmVhdGlvbkRhdGU+PHNpZ25hdHVyZT4zMDJjMDIxNDQ0NWE5YWU0YjQ2NTgzMTg0MjNjMTcwZDU3MTg1Yjk1YTU1OGYyMzMwMjE0NjRmZTUwZWRkMTUwNWFjYjNlYzRmNWQ0NGI5ZTc2OWVlMWY4MjcxNjwvc2lnbmF0dXJlPjxpc3N1ZXI+MjEyNzEgMjAxNDAgMjIyNjkgMjA0NDkgMjEwMTkgMjYwMzIgMzExODUgMjUyMTYgMzI5MjkgMjAyMjEgMjYzNzcgMzg0ODAgMjA4NDQgMjE0OTY8L2lzc3Vlcj48L2NlcnQ+
\ No newline at end of file
OBE-COMPONENTS-CORE/resource/blank.pdf
0 → 100644
View file @
38cc81c4
File added
OBE-COMPONENTS-CORE/resource/blank1.pdf
0 → 100644
View file @
38cc81c4
File added
OBE-COMPONENTS-CORE/src/com/gx/obe/business/entity/SignatureUser.java
View file @
38cc81c4
...
@@ -26,7 +26,17 @@ public class SignatureUser {
...
@@ -26,7 +26,17 @@ public class SignatureUser {
private
String
signatureType
;
private
String
signatureType
;
private
SignatureFile
signatureFile
;
private
SignatureFile
signatureFile
;
private
String
message
;
public
String
getMessage
()
{
return
message
;
}
public
void
setMessage
(
String
message
)
{
this
.
message
=
message
;
}
public
String
getId
()
{
public
String
getId
()
{
return
id
;
return
id
;
}
}
...
...
OBE-COMPONENTS-CORE/src/com/gx/obe/web/entity/Result/Header.java
0 → 100644
View file @
38cc81c4
package
com
.
gx
.
obe
.
web
.
entity
.
Result
;
/**
* @Title: Controller
* @Description: 头文件
* @author zouk
* @date 2016-05-11 10:34:19
* @version V1.0
*
*/
public
class
Header
{
// 状态码,0代表成功,其它取值含义另行说明
private
String
returnCode
;
// 状态结果说明
private
String
msg
;
private
String
ret
;
public
Header
()
{
}
public
Header
(
String
returnCode
)
{
this
.
returnCode
=
returnCode
;
}
public
Header
(
String
returnCode
,
String
msg
)
{
this
.
returnCode
=
returnCode
;
this
.
msg
=
msg
;
}
public
String
getReturnCode
()
{
return
returnCode
;
}
public
void
setReturnCode
(
String
returnCode
)
{
this
.
returnCode
=
returnCode
;
}
public
String
getMsg
()
{
return
msg
;
}
public
void
setMsg
(
String
msg
)
{
this
.
msg
=
msg
;
}
public
String
getRet
()
{
return
ret
;
}
public
void
setRet
(
String
ret
)
{
this
.
ret
=
ret
;
}
}
OBE-COMPONENTS-CORE/src/com/gx/obe/web/entity/Result/ResultEntity.java
View file @
38cc81c4
...
@@ -29,6 +29,7 @@ import java.io.Serializable;
...
@@ -29,6 +29,7 @@ import java.io.Serializable;
private
int
code
=
SUCCESS
;
private
int
code
=
SUCCESS
;
private
T
data
;
private
T
data
;
private
Header
header
=
new
Header
();
public
ResultEntity
()
{
public
ResultEntity
()
{
super
();
super
();
...
@@ -93,4 +94,15 @@ import java.io.Serializable;
...
@@ -93,4 +94,15 @@ import java.io.Serializable;
resultEntity
.
setMsg
(
msg
);
resultEntity
.
setMsg
(
msg
);
return
resultEntity
;
return
resultEntity
;
}
}
public
Header
getHeader
()
{
return
header
;
}
public
void
setHeader
(
Header
header
)
{
this
.
header
=
header
;
}
}
}
OBE-COMPONENTS-MESSAGES/bin/com/gx/obe/message/Messages.class
View file @
38cc81c4
No preview for this file type
OBE-CONFIG/config.properties
View file @
38cc81c4
#update
#update
#
Mon Jul 15 16:12:06
CST 2024
#
Thu Oct 17 14:08:59
CST 2024
groupByEvalBidRoom
=
00
groupByEvalBidRoom
=
00
pdfReport
=
00
pdfReport
=
00
newCharsetName
=
ISO-8859-1
newCharsetName
=
ISO-8859-1
...
@@ -8,7 +8,7 @@ livingType=00
...
@@ -8,7 +8,7 @@ livingType=00
expertLimit
=
expertLimit
=
handSignaturePdf
=
BJCAHANDPDF
handSignaturePdf
=
BJCAHANDPDF
videoLiveUrl
=
videoLiveUrl
=
templateUpdateTime
=
2024-
07-15 16
\:
11
\:
5
0
templateUpdateTime
=
2024-
10-17 14
\:
07
\:
3
0
defaultPassword
=
1
defaultPassword
=
1
videoIp
=
192.168.3.40
videoIp
=
192.168.3.40
ftpUsername
=
anonymous
ftpUsername
=
anonymous
...
@@ -30,15 +30,15 @@ filterChar=(\: ,)\: ,\uFF08\: ,\uFF09\: ,/\:\u659C\u6760,\\\:\u659C\u6760,-\:\u6
...
@@ -30,15 +30,15 @@ filterChar=(\: ,)\: ,\uFF08\: ,\uFF09\: ,/\:\u659C\u6760,\\\:\u659C\u6760,-\:\u6
zipEncoding
=
GBK
zipEncoding
=
GBK
isAIEvaluation
=
00
isAIEvaluation
=
00
isUseAutomaticAnalysisBillOfQuantities
=
00
isUseAutomaticAnalysisBillOfQuantities
=
00
version
=
OBEV7.7.9.2024
0715
version
=
OBEV7.7.9.2024
1017
showConfirmStatus
=
00
showConfirmStatus
=
00
ftpPort
=
21
ftpPort
=
21
serverName
=
\u
5317\u
4EAC
\u
4EAC
\u
80FD
\u7535\u
5B50
\u
62DB
\u6807\u
5E73
\u
53F0
serverName
=
\u
4EAC
\u
80FD
\u
96C6
\u
56E2
\u7535\u
5B50
\u5546\u
52A1
\u
5E73
\u
53F0(
\u
6D4B
\u
8BD5)
singTenderName
=
00
singTenderName
=
00
useSpecialPdf
=
01
useSpecialPdf
=
01
netService
=
JNJTService
netService
=
JNJTService
useCamera
=
01
useCamera
=
01
serverUrl
=
https
\:
//
www
.powerbeijing-ec.com/jndzzb/
serverUrl
=
https
\:
//
test
.powerbeijing-ec.com/jndzzb/
companyWbLink
=
companyWbLink
=
controlBidOpening
=
01
controlBidOpening
=
01
GuoXinPDFReaderLicense
=
MjAyMSwxMiwyMiwyOTk5LDMsMg
\=\=
GuoXinPDFReaderLicense
=
MjAyMSwxMiwyMiwyOTk5LDMsMg
\=\=
...
@@ -58,59 +58,60 @@ saomaSignaturePdf=
...
@@ -58,59 +58,60 @@ saomaSignaturePdf=
mergetype
=
5
mergetype
=
5
evalBidRoomId
=
aadd606ff7c1445184b9ad780c5feb60
evalBidRoomId
=
aadd606ff7c1445184b9ad780c5feb60
companyLink
=
companyLink
=
updateTime
=
202
1-12-22 09
\:
53
\:
10
updateTime
=
202
4-04-15 11
\:
23
\:
19
signWidth
=
80
signWidth
=
80
viewTenderPrice
=
01
viewTenderPrice
=
01
assistBidopening
=
00
assistBidopening
=
00
keyCharacter
=
keyCharacter
=
g
bidFilePath
=
c
\:\\
bidFile
bidFilePath
=
c
\:\\
bidFile
versionUpdateType
=
OBE_
Final
Service
versionUpdateType
=
OBE_Service
productType
=
final
productType
=
test
showNowTime
=
01
showNowTime
=
01
openingDownEndDays
=
30
openingDownEndDays
=
30
filterBracketContent
=
01
filterBracketContent
=
01
platformCode
=
M1100000015
platformCode
=
M1100000015
managerSignature
=
01
bidOpeningSupplierSytle
=
01
moneyCnPrefix
=
\u
4EBA
\u
6C11
\u
5E01
moneyCnPrefix
=
\u
4EBA
\u
6C11
\u
5E01
bidOpeningSupplierSytle
=
01
managerSignature
=
01
urlEncoder
=
01
urlEncoder
=
01
nowTypeType
=
01
nowTypeType
=
01
allowImportBidFile
=
creditChinaURL
=
https
\:
//test.powerbeijing-ec.com/jndzzb/creditChinaController.do?getZhixingList&ids
\
=
alpha
=
0.85
alpha
=
0.85
allowImportBidFile
=
defaultRecommonedCount
=
defaultRecommonedCount
=
copyright
=
\u5317\u
4EAC
\u
56FD
\u
4FE1
\u
521B
\u
65B0
\u
79D1
\u6280\u
80A1
\u
4EFD
\u6709\u9650\u
516C
\u
53F8
copyright
=
\u5317\u
4EAC
\u
56FD
\u
4FE1
\u
521B
\u
65B0
\u
79D1
\u6280\u
80A1
\u
4EFD
\u6709\u9650\u
516C
\u
53F8
signaturePdf
=
JinGe
signaturePdf
=
CFCASaoma
evalManagerResourceId
=
31f99c485c334eb380f48d061201da2c
evalManagerResourceId
=
31f99c485c334eb380f48d061201da2c
signHeight
=
35
signHeight
=
35
ENVIRONMENT
=
01
ENVIRONMENT
=
01
lastDownloadProjectTime
=
1721031126729
lastDownloadProjectTime
=
1729145339884
pdfActiveType
=
GuoXin
verifyEvalMachineExpert
=
00
verifyEvalMachineExpert
=
00
properties_path
=
/E
\:
/gitWorkSpace/client_V7.0/jingneng/OBE-CONFIG/config.properties
pdfActiveType
=
CFCASaoma
properties_path
=
/E
\:
/gitWorkSpace/client_V7.0/jingnengdabao/OBE-CONFIG/config.properties
darkCodeLenth
=
20
darkCodeLenth
=
20
priceUint
=
01
priceUint
=
01
usePublicDb
=
01
usePublicDb
=
01
threshold
=
255
threshold
=
255
qrCodeServcerAddress
=
http
\:
//
sign.e-bidding.org
\:
8086
/gxapp/scanning/
qrCodeServcerAddress
=
http
\:
//
39.96.40.58
\:
8811
/gxapp/scanning/
videoPort
=
8000
videoPort
=
8000
showUploadMaterial
=
00
showUploadMaterial
=
00
excelRowStart
=
2
evalFullScreen
=
01
evalFullScreen
=
01
excelRowStart
=
2
ftpIp
=
ftpIp
=
showOperatorRoleType
=
00
showOperatorRoleType
=
00
viewEvaluationResult
=
01
viewEvaluationResult
=
01
viewMySummaryResult
=
01
useMachineLock
=
01
useMachineLock
=
01
viewMySummaryResult
=
01
ftpBuffersize
=
1024
ftpBuffersize
=
1024
bidOpeningFullscreen
=
00
torrentPort
=
6969
multiRoundPriceType
=
00
multiRoundPriceType
=
00
torrentPort
=
6969
bidOpeningFullscreen
=
00
viewStepSummaryResult
=
00
viewStepSummaryResult
=
00
tts
=
MicrosoftTTS
tts
=
MicrosoftTTS
preEvalResourceId
=
ef5a43a3cba4432fb18c205e0c4b792c
caEngine
=
TianWeiCA_1.0
excelColumnStart
=
0
excelColumnStart
=
0
caEngine
=
TianWeiCA_1.0
preEvalResourceId
=
ef5a43a3cba4432fb18c205e0c4b792c
obeWebServerUrl
=
http
\:
//47.95.161.231
\:
6850/
viewPriceScore
=
01
viewPriceScore
=
01
obeWebServerUrl
=
http
\:
//39.97.159.121
\:
9863/
ftpPassword
=
ftpPassword
=
torrentServer
=
torrentServer
=
OBE-CONFIG/config2.properties
View file @
38cc81c4
#\u7CFB\u7EDF\u7248\u672C
#\u7CFB\u7EDF\u7248\u672C
version
=
OBEV7.7.9.20240
723
version
=
OBEV7.7.9.20240
927
copyright
=
\u5317\u
4EAC
\u
56FD
\u
4FE1
\u
521B
\u
65B0
\u
79D1
\u6280\u
80A1
\u
4EFD
\u6709\u9650\u
516C
\u
53F8
copyright
=
\u5317\u
4EAC
\u
56FD
\u
4FE1
\u
521B
\u
65B0
\u
79D1
\u6280\u
80A1
\u
4EFD
\u6709\u9650\u
516C
\u
53F8
#\u6280\u672F\u652F\u6301\:\u5317\u4EAC\u56FD\u4FE1\u521B\u65B0\u79D1\u6280\u80A1\u4EFD\u6709\u9650\u516C\u53F8
#\u6280\u672F\u652F\u6301\:\u5317\u4EAC\u56FD\u4FE1\u521B\u65B0\u79D1\u6280\u80A1\u4EFD\u6709\u9650\u516C\u53F8
technicalSupport
=
gx
technicalSupport
=
gx
...
@@ -26,9 +26,9 @@ openingDownEndDays=30
...
@@ -26,9 +26,9 @@ openingDownEndDays=30
#\u7CFB\u7EDF\u5F53\u524D\u4F7F\u7528\u7684ca:BJCA;TianWeiCA;TianWeiCA_1.0
#\u7CFB\u7EDF\u5F53\u524D\u4F7F\u7528\u7684ca:BJCA;TianWeiCA;TianWeiCA_1.0
caEngine
=
TianWeiCA_1.0
caEngine
=
TianWeiCA_1.0
#pdf\u63A7\u4EF6\u7C7B\u578B
#pdf\u63A7\u4EF6\u7C7B\u578B
pdfActiveType
=
JinGe
pdfActiveType
=
CFCASaoma
#\u7B7E\u7AE0\u5DE5\u5177
#\u7B7E\u7AE0\u5DE5\u5177
signaturePdf
=
JinGe
signaturePdf
=
CFCASaoma
#BJCAPDF:\u5317\u4EACCA\u624B\u5199\u677F;BJCASaoma:\u5317\u4EACCA\u626B\u7801\u7B7E\u5B57
#BJCAPDF:\u5317\u4EACCA\u624B\u5199\u677F;BJCASaoma:\u5317\u4EACCA\u626B\u7801\u7B7E\u5B57
handSignaturePdf
=
handSignaturePdf
=
#\u4E0D\u8DB3\u4E09\u5BB6\u4E0D\u5141\u8BB8\u5F00\u6807
#\u4E0D\u8DB3\u4E09\u5BB6\u4E0D\u5141\u8BB8\u5F00\u6807
...
...
OBE-CONFIG/config_final.properties
View file @
38cc81c4
#\u7cfb\u7edf\u7248\u672c
#\u7cfb\u7edf\u7248\u672c
version
=
OBEV7.7.9.2024
0902
version
=
OBEV7.7.9.2024
1017
keyCharacter
=
keyCharacter
=
#\u6b63\u5f0f\u7248\u672c\u68c0\u67e5\u5347\u7ea7\u7f16\u7801
#\u6b63\u5f0f\u7248\u672c\u68c0\u67e5\u5347\u7ea7\u7f16\u7801
versionUpdateType
=
OBE_FinalService
versionUpdateType
=
OBE_FinalService
...
@@ -13,5 +13,5 @@ platformCode=M1100000015
...
@@ -13,5 +13,5 @@ platformCode=M1100000015
handSignaturePdf
=
BJCAHANDPDF
handSignaturePdf
=
BJCAHANDPDF
saomaSignaturePdf
=
saomaSignaturePdf
=
pdfActiveType
=
GuoXin
pdfActiveType
=
CFCASaoma
evalFullScreen
=
01
evalFullScreen
=
01
OBE-CONFIG/config_test.properties
View file @
38cc81c4
#\u7cfb\u7edf\u7248\u672c
#\u7cfb\u7edf\u7248\u672c
version
=
OBEV7.7.9.2024
0902
version
=
OBEV7.7.9.2024
1017
keyCharacter
=
g
keyCharacter
=
g
versionUpdateType
=
OBE_Service
versionUpdateType
=
OBE_Service
#\u6d4b\u8bd5\u7ad9\u4e13\u5bb6\u7b7e\u670d\u52a1
#\u6d4b\u8bd5\u7ad9\u4e13\u5bb6\u7b7e\u670d\u52a1
...
@@ -12,5 +12,5 @@ platformCode=M1100000015
...
@@ -12,5 +12,5 @@ platformCode=M1100000015
handSignaturePdf
=
BJCAHANDPDF
handSignaturePdf
=
BJCAHANDPDF
saomaSignaturePdf
=
saomaSignaturePdf
=
pdfActiveType
=
GuoXin
pdfActiveType
=
CFCASaoma
evalFullScreen
=
01
evalFullScreen
=
01
OBE-MANAGEMENT/src/com/gx/obe/management/composite/EvaluationRoomHomeComposite.java
View file @
38cc81c4
...
@@ -55,6 +55,7 @@ import com.gx.obe.web.service.MenuService;
...
@@ -55,6 +55,7 @@ import com.gx.obe.web.service.MenuService;
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.UserService
;
import
com.gx.obe.web.service.expert.ExpertService
;
import
com.gx.obe.web.service.expert.ExpertService
;
import
com.gx.tools.ole.signature.BacthSignatureDialog
;
import
com.gx.tools.ole.signature.CircleSignatureDialog
;
import
com.gx.tools.ole.signature.CircleSignatureDialog
;
import
com.gx.tools.utils.SignaturePdfUtils
;
import
com.gx.tools.utils.SignaturePdfUtils
;
import
com.swtdesigner.ResourceManager
;
import
com.swtdesigner.ResourceManager
;
...
@@ -88,6 +89,7 @@ public class EvaluationRoomHomeComposite extends Composite implements ActionList
...
@@ -88,6 +89,7 @@ public class EvaluationRoomHomeComposite extends Composite implements ActionList
private
Menu
menu
;
private
Menu
menu
;
private
MenuFunctionUtils
menuFunctionUtils
=
new
MenuFunctionUtils
();
private
MenuFunctionUtils
menuFunctionUtils
=
new
MenuFunctionUtils
();
private
RoomOperatorButton
signature_btn
;
private
RoomOperatorButton
signature_btn
;
// private RoomOperatorButton batchSignature_btn;
{
{
LogUtils
.
logClass
(
EvaluationRoomHomeComposite
.
class
);
LogUtils
.
logClass
(
EvaluationRoomHomeComposite
.
class
);
...
@@ -384,6 +386,16 @@ public class EvaluationRoomHomeComposite extends Composite implements ActionList
...
@@ -384,6 +386,16 @@ public class EvaluationRoomHomeComposite extends Composite implements ActionList
signature_btn
.
setText
(
Messages
.
Button_elecSignature
);
signature_btn
.
setText
(
Messages
.
Button_elecSignature
);
menuFunctionUtils
.
addFunction
(
signature_btn
,
"SIGNATURE"
);
menuFunctionUtils
.
addFunction
(
signature_btn
,
"SIGNATURE"
);
// batchSignature_btn = new RoomOperatorButton(operatorComposite, SWT.NONE);
// batchSignature_btn.setImage(ResourceManager.getPluginImage(IconsActivator.PLUGIN_ID, "icons/btn/white/signature.png"));
// batchSignature_btn.setText(Messages.Button_elecSignature);
// menuFunctionUtils.addFunction(batchSignature_btn, "SIGNATURE");
//
// batchSignature_btn.addMouseListener(new MouseAdapter() {
// public void mouseUp(MouseEvent e) {
// openBatchSignatureDialog();
// }
// });
{
{
final
RoomOperatorButton
downloadBidFileBtn
=
new
RoomOperatorButton
(
operatorComposite
,
SWT
.
NONE
);
final
RoomOperatorButton
downloadBidFileBtn
=
new
RoomOperatorButton
(
operatorComposite
,
SWT
.
NONE
);
downloadBidFileBtn
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/btn/white/download.png"
));
downloadBidFileBtn
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/btn/white/download.png"
));
...
@@ -592,7 +604,19 @@ public class EvaluationRoomHomeComposite extends Composite implements ActionList
...
@@ -592,7 +604,19 @@ public class EvaluationRoomHomeComposite extends Composite implements ActionList
public
Composite
getParentComposite
()
{
public
Composite
getParentComposite
()
{
return
loadComposite
;
return
loadComposite
;
}
}
// /**
// * 批量签名
// *
// * @param title
// * @param signaturePdfKey
// * @param signaturePdfType
// */
// private void openBatchSignatureDialog() {
// BacthSignatureDialog signatureDialog = new BacthSignatureDialog(getShell(), tenderProjectEntity, Constants.USER, expert);
// signatureDialog.setTitle("批量签名");
// signatureDialog.open();
// }
/**
/**
* @Description: 回退评标专家的评标步骤操作
* @Description: 回退评标专家的评标步骤操作
* @author guoyr
* @author guoyr
...
...
OBE-MANAGEMENT/src/com/gx/obe/management/webservice/UploadEvaluationResultAndFile.java
View file @
38cc81c4
package
com
.
gx
.
obe
.
management
.
webservice
;
package
com
.
gx
.
obe
.
management
.
webservice
;
import
java.io.File
;
import
java.io.File
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.text.SimpleDateFormat
;
import
java.text.SimpleDateFormat
;
...
@@ -11,7 +10,6 @@ import java.util.Map;
...
@@ -11,7 +10,6 @@ import java.util.Map;
import
java.util.concurrent.ExecutorService
;
import
java.util.concurrent.ExecutorService
;
import
java.util.concurrent.Executors
;
import
java.util.concurrent.Executors
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
import
java.util.stream.Collectors
;
import
org.apache.log4j.Logger
;
import
org.apache.log4j.Logger
;
import
org.dom4j.Document
;
import
org.dom4j.Document
;
...
@@ -115,7 +113,7 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
...
@@ -115,7 +113,7 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
private
EvaluationFactorService
evaluationFactorService
=
new
EvaluationFactorService
();
private
EvaluationFactorService
evaluationFactorService
=
new
EvaluationFactorService
();
private
SupplierEvaluationResultService
supplierEvaluationResultService
;
private
SupplierEvaluationResultService
supplierEvaluationResultService
;
private
ReBidPriceRoundService
reBidPriceRoundService
;
private
ReBidPriceRoundService
reBidPriceRoundService
;
private
Logger
LOG
=
Logger
.
getLogger
(
UploadEvaluationResultAndFile
.
class
);
private
Logger
LOG
=
Logger
.
getLogger
(
UploadEvaluationResultAndFile
.
class
);
private
UploadListener
callBack
;
private
UploadListener
callBack
;
private
TenderProjectEntity
tenderProjectEntity
;
private
TenderProjectEntity
tenderProjectEntity
;
private
TenderProjectRuleEntity
tenderProjectRuleEntity
;
private
TenderProjectRuleEntity
tenderProjectRuleEntity
;
...
@@ -397,6 +395,7 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
...
@@ -397,6 +395,7 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
private
boolean
createSupplierEvalResultXml
(
String
path
){
private
boolean
createSupplierEvalResultXml
(
String
path
){
try
{
try
{
Document
document
=
DocumentHelper
.
createDocument
();
Document
document
=
DocumentHelper
.
createDocument
();
Element
rootElement
=
document
.
addElement
(
"supplierEvalResultList"
);
Element
rootElement
=
document
.
addElement
(
"supplierEvalResultList"
);
rootElement
.
addElement
(
"evaluationMethod"
).
setText
(
XmlUtils
.
getXmlText
(
tenderProjectRuleEntity
.
getEvalMethodType
()));
rootElement
.
addElement
(
"evaluationMethod"
).
setText
(
XmlUtils
.
getXmlText
(
tenderProjectRuleEntity
.
getEvalMethodType
()));
rootElement
.
addElement
(
"evaluationMethodName"
).
setText
(
XmlUtils
.
getXmlText
(
tenderProjectRuleEntity
.
getEvalMethodName
()));
rootElement
.
addElement
(
"evaluationMethodName"
).
setText
(
XmlUtils
.
getXmlText
(
tenderProjectRuleEntity
.
getEvalMethodName
()));
...
@@ -407,7 +406,7 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
...
@@ -407,7 +406,7 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
XmlUtils
.
createXmlFile
(
document
,
path
,
XML_ENCODING
);
XmlUtils
.
createXmlFile
(
document
,
path
,
XML_ENCODING
);
return
true
;
return
true
;
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LOG
.
error
(
""
,
e
);
LOG
.
error
(
"
SupplierEvalResult.xml生成报错
"
,
e
);
return
false
;
return
false
;
}
}
}
}
...
@@ -423,7 +422,6 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
...
@@ -423,7 +422,6 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
exchangeRate
=
new
ExchangeRate
();
exchangeRate
=
new
ExchangeRate
();
}
}
Map
<
String
,
BigDecimal
>
exchangeRateMap
=
exchangeRate
.
getExchangeRateMap
();
Map
<
String
,
BigDecimal
>
exchangeRateMap
=
exchangeRate
.
getExchangeRateMap
();
for
(
final
Supplier
supplier
:
supplierList
){
for
(
final
Supplier
supplier
:
supplierList
){
SupplierOpeningResult
openBidResult
=
supplier
.
getSupplierOpeningResult
();
SupplierOpeningResult
openBidResult
=
supplier
.
getSupplierOpeningResult
();
Element
supplierElement
=
rootElement
.
addElement
(
"supplier"
);
Element
supplierElement
=
rootElement
.
addElement
(
"supplier"
);
...
@@ -461,7 +459,6 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
...
@@ -461,7 +459,6 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
// 投标价币种
// 投标价币种
supplierElement
.
addElement
(
"currencyCode"
).
setText
(
XmlUtils
.
getXmlText
(
currencyCode
));
supplierElement
.
addElement
(
"currencyCode"
).
setText
(
XmlUtils
.
getXmlText
(
currencyCode
));
supplierElement
.
addElement
(
"rate"
).
setText
(
XmlUtils
.
getXmlText
(
rate
));
supplierElement
.
addElement
(
"rate"
).
setText
(
XmlUtils
.
getXmlText
(
rate
));
String
evaluationScore
=
""
;
String
evaluationScore
=
""
;
String
evaluationFinalScore
=
""
;
String
evaluationFinalScore
=
""
;
String
accessment
=
""
;
String
accessment
=
""
;
...
@@ -492,13 +489,16 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
...
@@ -492,13 +489,16 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
biddingRequest
=
supplierEvaluationResult
.
getBiddingRequest
();
biddingRequest
=
supplierEvaluationResult
.
getBiddingRequest
();
vetoType
=
supplierEvaluationResult
.
getVetoType
();
vetoType
=
supplierEvaluationResult
.
getVetoType
();
}
}
if
(
parserStructProject
())
{
if
(
parserStructProject
())
{
BidPriceResultService
bidPriceResultService
=
new
BidPriceResultService
();
BidPriceResultService
bidPriceResultService
=
new
BidPriceResultService
();
List
<
BidPriceResult
>
bidPriceResultList
=
bidPriceResultService
.
getBidPriceResultTableList
(
supplier
.
getTenderId
(),
supplier
.
getId
());
List
<
BidPriceResult
>
bidPriceResultList
=
bidPriceResultService
.
getBidPriceResultTableList
(
supplier
.
getTenderId
(),
supplier
.
getId
());
BidPriceResult
bidPriceResult
=
CollectionUtils
.
get
(
bidPriceResultList
,
t
->
{
BidPriceResult
bidPriceResult
=
CollectionUtils
.
get
(
bidPriceResultList
,
t
->
{
return
"总报价(含税)"
.
equals
(
t
.
getBidPriceName
());
return
"总报价(含税)"
.
equals
(
t
.
getBidPriceName
());
});
});
evaluationPrice
=
bidPriceResult
.
getEvaluationPrice
().
toString
();
if
(
null
!=
bidPriceResult
)
{
evaluationPrice
=
bidPriceResult
.
getEvaluationPrice
().
toString
();
}
}
}
supplierElement
.
addElement
(
"evaluationPrice"
).
setText
(
evaluationPrice
);
supplierElement
.
addElement
(
"evaluationPrice"
).
setText
(
evaluationPrice
);
supplierElement
.
addElement
(
"evaluationScore"
).
setText
(
evaluationScore
);
supplierElement
.
addElement
(
"evaluationScore"
).
setText
(
evaluationScore
);
...
@@ -546,6 +546,7 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
...
@@ -546,6 +546,7 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
}
}
}
}
}
}
// LOG.error("SupplierEvalResult.xml输出节点22");
return
factorDoc
==
null
?
false
:
ParsingXmlUtils
.
parsingDocStructXML
(
factorDoc
);
return
factorDoc
==
null
?
false
:
ParsingXmlUtils
.
parsingDocStructXML
(
factorDoc
);
}
}
...
@@ -688,7 +689,6 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
...
@@ -688,7 +689,6 @@ public class UploadEvaluationResultAndFile implements IUploadEvaluateResult{
stepExpertListMap
.
put
(
evaluationStep
.
getId
(),
expertList
);
stepExpertListMap
.
put
(
evaluationStep
.
getId
(),
expertList
);
}
}
// List<ExpertEvaluationResult> expertEvaluationResultList = expertEvaluationResultService.getSupplierExpertEvaluationResultList(tenderProjectEntity.getId(), evaluationStep.getId(), supplierId);
// List<ExpertEvaluationResult> expertEvaluationResultList = expertEvaluationResultService.getSupplierExpertEvaluationResultList(tenderProjectEntity.getId(), evaluationStep.getId(), supplierId);
if
(
null
!=
expertList
){
if
(
null
!=
expertList
){
for
(
final
Expert
expert
:
expertList
){
for
(
final
Expert
expert
:
expertList
){
String
expertName
=
""
;
String
expertName
=
""
;
...
...
OBE-REPORT/src/com/gx/obe/report/composite/EvaluationReportComposite.java
View file @
38cc81c4
...
@@ -99,6 +99,7 @@ import com.gx.obe.web.service.TenderProjectService;
...
@@ -99,6 +99,7 @@ import com.gx.obe.web.service.TenderProjectService;
import
com.gx.pdf.utils.transfer.TransferUtils
;
import
com.gx.pdf.utils.transfer.TransferUtils
;
import
com.gx.tools.dialog.OpenDocumentDialog
;
import
com.gx.tools.dialog.OpenDocumentDialog
;
import
com.gx.tools.ole.signature.LocalSignatureDialog
;
import
com.gx.tools.ole.signature.LocalSignatureDialog
;
import
com.gx.tools.ole.signature.ManagerBacthSignatureDialog
;
import
com.gx.tools.utils.SignaturePdfUtils
;
import
com.gx.tools.utils.SignaturePdfUtils
;
import
com.gx.tools.widget.FileOperatorButton
;
import
com.gx.tools.widget.FileOperatorButton
;
import
com.gx.tools.widget.FileOperatorButton.ClickListener
;
import
com.gx.tools.widget.FileOperatorButton.ClickListener
;
...
@@ -175,6 +176,8 @@ public class EvaluationReportComposite extends Composite {
...
@@ -175,6 +176,8 @@ public class EvaluationReportComposite extends Composite {
private
Action
projectAction
;
private
Action
projectAction
;
private
Menu
menu
;
private
Menu
menu
;
private
MenuFunctionUtils
menuFunctionUtils
=
new
MenuFunctionUtils
();
private
MenuFunctionUtils
menuFunctionUtils
=
new
MenuFunctionUtils
();
// private ELink batchSign_btn;
{
{
LogUtils
.
logClass
(
EvaluationReportComposite
.
class
);
LogUtils
.
logClass
(
EvaluationReportComposite
.
class
);
}
}
...
@@ -370,7 +373,7 @@ public class EvaluationReportComposite extends Composite {
...
@@ -370,7 +373,7 @@ public class EvaluationReportComposite extends Composite {
reportTitle_composte
=
new
Composite
(
composite_4
,
SWT
.
NONE
);
reportTitle_composte
=
new
Composite
(
composite_4
,
SWT
.
NONE
);
reportTitle_composte
.
setBackgroundMode
(
SWT
.
INHERIT_FORCE
);
reportTitle_composte
.
setBackgroundMode
(
SWT
.
INHERIT_FORCE
);
reportTitle_composte
.
setLayout
(
new
GridLayout
(
8
,
false
));
reportTitle_composte
.
setLayout
(
new
GridLayout
(
9
,
false
));
reportTitle_composte
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
));
reportTitle_composte
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
CENTER
,
false
,
false
,
1
,
1
));
reportTitle_composte
.
setBackground
(
ColorConstants
.
SKIN_BG
);
reportTitle_composte
.
setBackground
(
ColorConstants
.
SKIN_BG
);
...
@@ -380,6 +383,17 @@ public class EvaluationReportComposite extends Composite {
...
@@ -380,6 +383,17 @@ public class EvaluationReportComposite extends Composite {
label
.
setForeground
(
ColorConstants
.
SKIN_FOREGROUND
);
label
.
setForeground
(
ColorConstants
.
SKIN_FOREGROUND
);
label
.
setText
(
Messages
.
MyReport
);
label
.
setText
(
Messages
.
MyReport
);
// batchSign_btn = new ELink(reportTitle_composte, SWT.NONE);
// batchSign_btn.setImage(ResourceManager.getPluginImage(IconsActivator.PLUGIN_ID, "icons/btn/white/report_all.png"));
// batchSign_btn.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
// batchSign_btn.addMouseListener(new MouseAdapter() {
// public void mouseUp(MouseEvent mouseevent) {
//// mergerPdfAction();
// batchSignAction();
// }
// });
// batchSign_btn.setText("批量签名");
synthesisPdf_btn
=
new
ELink
(
reportTitle_composte
,
SWT
.
NONE
);
synthesisPdf_btn
=
new
ELink
(
reportTitle_composte
,
SWT
.
NONE
);
synthesisPdf_btn
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/btn/white/expend.png"
));
synthesisPdf_btn
.
setImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/btn/white/expend.png"
));
synthesisPdf_btn
.
setForeground
(
SWTResourceManager
.
getColor
(
SWT
.
COLOR_WHITE
));
synthesisPdf_btn
.
setForeground
(
SWTResourceManager
.
getColor
(
SWT
.
COLOR_WHITE
));
...
@@ -1748,6 +1762,8 @@ public class EvaluationReportComposite extends Composite {
...
@@ -1748,6 +1762,8 @@ public class EvaluationReportComposite extends Composite {
public
void
mouseDoubleClick
(
MouseEvent
e
)
{
public
void
mouseDoubleClick
(
MouseEvent
e
)
{
LocalSignatureDialog
signatureDialog
=
new
LocalSignatureDialog
(
getShell
(),
tenderProject
,
fileOperatorButton
.
getFile
(),
signatureType
,
signatureTypeValue
,
FileConstants
.
REPORT_FILE_FOLDER
);
LocalSignatureDialog
signatureDialog
=
new
LocalSignatureDialog
(
getShell
(),
tenderProject
,
fileOperatorButton
.
getFile
(),
signatureType
,
signatureTypeValue
,
FileConstants
.
REPORT_FILE_FOLDER
);
signatureDialog
.
open
();
signatureDialog
.
open
();
// ManagerBacthSignatureDialog dialog = new ManagerBacthSignatureDialog(getShell(), tenderProject);
// dialog.open();
}
}
});
});
}
else
if
(
signaturePdfMap
.
size
()
>
1
){
}
else
if
(
signaturePdfMap
.
size
()
>
1
){
...
@@ -1755,6 +1771,8 @@ public class EvaluationReportComposite extends Composite {
...
@@ -1755,6 +1771,8 @@ public class EvaluationReportComposite extends Composite {
public
void
mouseDoubleClick
(
MouseEvent
e
)
{
public
void
mouseDoubleClick
(
MouseEvent
e
)
{
LocalSignatureDialog
signatureDialog
=
new
LocalSignatureDialog
(
getShell
(),
tenderProject
,
fileOperatorButton
.
getFile
(),
null
,
null
,
FileConstants
.
REPORT_FILE_FOLDER
);
LocalSignatureDialog
signatureDialog
=
new
LocalSignatureDialog
(
getShell
(),
tenderProject
,
fileOperatorButton
.
getFile
(),
null
,
null
,
FileConstants
.
REPORT_FILE_FOLDER
);
signatureDialog
.
open
();
signatureDialog
.
open
();
// ManagerBacthSignatureDialog dialog = new ManagerBacthSignatureDialog(getShell(), tenderProject);
// dialog.open();
}
}
});
});
for
(
final
String
signaturePdfKey
:
signaturePdfMap
.
keySet
())
{
for
(
final
String
signaturePdfKey
:
signaturePdfMap
.
keySet
())
{
...
@@ -1872,7 +1890,13 @@ public class EvaluationReportComposite extends Composite {
...
@@ -1872,7 +1890,13 @@ public class EvaluationReportComposite extends Composite {
});
});
dialog
.
open
();
dialog
.
open
();
}
}
/**
*
*/
private
void
batchSignAction
(){
ManagerBacthSignatureDialog
dialog
=
new
ManagerBacthSignatureDialog
(
getShell
(),
tenderProject
);
dialog
.
open
();
}
@Override
@Override
protected
void
checkSubclass
()
{
protected
void
checkSubclass
()
{
}
}
...
...
OBE-REPORT/src/com/gx/obe/report/dataset/excel/BaseDateSet.java
View file @
38cc81c4
...
@@ -205,21 +205,23 @@ public abstract class BaseDateSet implements IDataSet{
...
@@ -205,21 +205,23 @@ public abstract class BaseDateSet implements IDataSet{
int
expertIndex
=
1
;
int
expertIndex
=
1
;
int
count
=
0
;
int
count
=
0
;
for
(
Expert
expert
:
expertList
)
{
for
(
Expert
expert
:
expertList
)
{
if
(
count
>
0
&&
count
%
5
==
0
)
{
if
(
count
>
0
&&
count
%
4
==
0
)
{
allExpert
.
append
(
"\r\n"
);
allExpertNoLeader
.
append
(
"\r\n"
);
allExpert
.
append
(
"\r\n"
);
allExpert
.
append
(
"\r\n"
);
allExpertNoLeader
.
append
(
"\r\n"
);
allExpertNoLeader
.
append
(
"\r\n"
);
}
}
String
userName
=
expert
.
getUser
().
getUserName
();
String
userName
=
expert
.
getUser
().
getUserName
();
if
(
userName
.
length
()
<
3
)
{
if
(
userName
.
length
()
<
3
)
{
reportDataSet
.
putParam
(
"zj"
+
(
expertIndex
++),
" #"
+
userName
+
"# "
);
reportDataSet
.
putParam
(
"zj"
+
(
expertIndex
++),
" #"
+
userName
+
"# "
);
allExpert
.
append
(
"
#"
+
userName
+
"#
"
);
allExpert
.
append
(
"
#"
+
userName
+
"#
"
);
// allExpert.append("#"+userName+ "#");
// allExpert.append("#"+userName+ "#");
}
else
{
}
else
{
reportDataSet
.
putParam
(
"zj"
+
(
expertIndex
++),
"#"
+
userName
+
"#"
);
reportDataSet
.
putParam
(
"zj"
+
(
expertIndex
++),
"#"
+
userName
+
"#"
);
allExpert
.
append
(
"
#"
+
userName
+
"#
"
);
allExpert
.
append
(
"
#"
+
userName
+
"#
"
);
}
}
if
(
ExpertEnum
.
LEADER_YES
.
equals
(
expert
.
getIsLeader
())){
if
(
ExpertEnum
.
LEADER_YES
.
equals
(
expert
.
getIsLeader
())){
expertLeaderSignature
=
"
#"
+
userName
+
"#
"
;
expertLeaderSignature
=
"
#"
+
userName
+
"#
"
;
}
else
{
}
else
{
if
(
userName
.
length
()
<
3
)
{
if
(
userName
.
length
()
<
3
)
{
allExpertNoLeader
.
append
(
" #"
+
userName
+
"# "
);
allExpertNoLeader
.
append
(
" #"
+
userName
+
"# "
);
...
...
OBE-REPORT/src/com/gx/obe/report/dataset/word/BaseDateSet.java
View file @
38cc81c4
This diff is collapsed.
Click to expand it.
OBE-REPORT/src/com/gx/obe/report/dataset/word/JingNengEvaluationReportDataSet.java
View file @
38cc81c4
...
@@ -433,7 +433,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -433,7 +433,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
List
<
Expert
>
expertList
=
getEvalExpertListByEvalNode
(
evaluationStepBidType
);
List
<
Expert
>
expertList
=
getEvalExpertListByEvalNode
(
evaluationStepBidType
);
// 获得投标人集合
// 获得投标人集合
List
<
Supplier
>
supplierList
=
supplierService
.
getEvaluationStepSupplierList
(
tenderProject
.
getId
(),
evaluationStepBidType
.
getEvaluationStepList
().
get
(
0
)
);
List
<
Supplier
>
supplierList
=
getEvaluationStepSupplierList
(
evaluationStepBidType
.
getEvaluationStepList
().
get
(
0
),
true
);
// 先组装指标专家表头
// 先组装指标专家表头
// Map<String, Object> factorMapList = new HashMap<>();
// Map<String, Object> factorMapList = new HashMap<>();
...
@@ -521,7 +521,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -521,7 +521,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
}
else
{
}
else
{
if
(
null
!=
crossMap
.
get
(
evaluationFactor
.
getId
()
+
supplier
.
getId
()))
{
if
(
null
!=
crossMap
.
get
(
evaluationFactor
.
getId
()
+
supplier
.
getId
()))
{
crossMapList
.
add
(
crossMap
.
get
(
evaluationFactor
.
getId
()+
supplier
.
getId
()));
crossMapList
.
add
(
crossMap
.
get
(
evaluationFactor
.
getId
()+
supplier
.
getId
()));
System
.
out
.
println
(
"获取指标主键id值"
+
evaluationFactor
.
getId
()
+
supplier
.
getId
()
+
": "
+
crossMap
.
get
(
evaluationFactor
.
getId
()+
supplier
.
getId
()));
//
System.out.println("获取指标主键id值"+evaluationFactor.getId() + supplier.getId() + ": " +crossMap.get(evaluationFactor.getId()+ supplier.getId()));
}
}
}
}
...
@@ -563,7 +563,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -563,7 +563,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
// System.out.println("设置指标评审结果值:"+ evaluationFactor.getId()+ expert.getUserId()+ "expert");
// System.out.println("设置指标评审结果值:"+ evaluationFactor.getId()+ expert.getUserId()+ "expert");
crossMap
.
put
(
evaluationFactor
.
getId
()+
expertID
,
dateMap
);
crossMap
.
put
(
evaluationFactor
.
getId
()+
expertID
,
dateMap
);
System
.
out
.
println
(
"设置指标评审结果值:"
+
evaluationFactor
.
getId
()+
expertID
);
//
System.out.println("设置指标评审结果值:"+evaluationFactor.getId()+ expertID);
// expertEvaluationFactor.setFactorCode(factorCode);
// expertEvaluationFactor.setFactorCode(factorCode);
// evaluationFactor.addChild(factor);
// evaluationFactor.addChild(factor);
Map
<
String
,
Object
>
factor
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
factor
=
new
HashMap
<
String
,
Object
>();
...
@@ -611,7 +611,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -611,7 +611,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
if
(
null
!=
stepList
&&
stepList
.
size
()
>
0
)
{
if
(
null
!=
stepList
&&
stepList
.
size
()
>
0
)
{
for
(
EvaluationStep
step
:
stepList
)
{
for
(
EvaluationStep
step
:
stepList
)
{
// 获得进入当前步骤的供应商
// 获得进入当前步骤的供应商
List
<
Supplier
>
inSupplierList
=
supplierService
.
getEvaluationStepSupplierList
(
tenderProject
.
getId
(),
step
);
List
<
Supplier
>
inSupplierList
=
getEvaluationStepSupplierList
(
step
,
true
);
if
(
null
!=
inSupplierList
&&
inSupplierList
.
size
()
>
0
)
{
if
(
null
!=
inSupplierList
&&
inSupplierList
.
size
()
>
0
)
{
qualifiedCount
=
inSupplierList
.
size
();;
qualifiedCount
=
inSupplierList
.
size
();;
List
<
Supplier
>
disSupplierList
=
supplierService
.
getDisAccessmentSupplier
(
tenderProject
.
getId
(),
step
.
getId
());
List
<
Supplier
>
disSupplierList
=
supplierService
.
getDisAccessmentSupplier
(
tenderProject
.
getId
(),
step
.
getId
());
...
@@ -619,7 +619,8 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -619,7 +619,8 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
qualifiedCount
=
qualifiedCount
-
disSupplierList
.
size
();
qualifiedCount
=
qualifiedCount
-
disSupplierList
.
size
();
disQualifiedCount
=
disSupplierList
.
size
();
disQualifiedCount
=
disSupplierList
.
size
();
for
(
Supplier
supplier
:
disSupplierList
)
{
for
(
Supplier
supplier
:
disSupplierList
)
{
SupplierEvaluationResult
supplierEvaluationResult
=
supplierEvaluationResultService
.
getSupplierEvaluationResultByTenderIdAndSupplierId
(
tenderProject
.
getId
(),
supplier
.
getId
());
// SupplierEvaluationResult supplierEvaluationResult = supplierEvaluationResultService.getSupplierEvaluationResultByTenderIdAndSupplierId(tenderProject.getId(), supplier.getId());
SupplierEvaluationResult
supplierEvaluationResult
=
supplierEvaluationResultMap
.
get
(
supplier
.
getId
());
Map
<
String
,
Object
>
supplierMap
=
Bean2MapUtils
.
createMap
(
supplier
);
Map
<
String
,
Object
>
supplierMap
=
Bean2MapUtils
.
createMap
(
supplier
);
if
(
null
!=
supplierEvaluationResult
)
{
if
(
null
!=
supplierEvaluationResult
)
{
supplierMap
.
put
(
"newIndex"
,
unPassComCount
++
+
""
);
supplierMap
.
put
(
"newIndex"
,
unPassComCount
++
+
""
);
...
@@ -631,7 +632,8 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -631,7 +632,8 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
}
}
for
(
Supplier
supplier
:
inSupplierList
)
{
for
(
Supplier
supplier
:
inSupplierList
)
{
SupplierEvaluationResult
supplierEvaluationResult
=
supplierEvaluationResultService
.
getSupplierEvaluationResultByTenderIdAndSupplierId
(
tenderProject
.
getId
(),
supplier
.
getId
());
// SupplierEvaluationResult supplierEvaluationResult = supplierEvaluationResultService.getSupplierEvaluationResultByTenderIdAndSupplierId(tenderProject.getId(), supplier.getId());
SupplierEvaluationResult
supplierEvaluationResult
=
supplierEvaluationResultMap
.
get
(
supplier
.
getId
());
SupplierEvaluationResult
sourceSupplierEvaluationResult
=
null
;
SupplierEvaluationResult
sourceSupplierEvaluationResult
=
null
;
if
(!
StringUtils
.
isEmpty
(
tenderProject
.
getTenderSourceId
()))
{
if
(!
StringUtils
.
isEmpty
(
tenderProject
.
getTenderSourceId
()))
{
sourceSupplierEvaluationResult
=
supplierEvaluationResultService
.
getSupplierEvaluationResultByTenderIdAndSupplierId
(
tenderProject
.
getTenderSourceId
(),
supplier
.
getSourceId
());
sourceSupplierEvaluationResult
=
supplierEvaluationResultService
.
getSupplierEvaluationResultByTenderIdAndSupplierId
(
tenderProject
.
getTenderSourceId
(),
supplier
.
getSourceId
());
...
@@ -668,7 +670,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -668,7 +670,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
List
<
Map
<
String
,
Object
>>
bidPriceItemMapList
=
new
ArrayList
<
Map
<
String
,
Object
>>();
List
<
Map
<
String
,
Object
>>
bidPriceItemMapList
=
new
ArrayList
<
Map
<
String
,
Object
>>();
Map
<
String
,
Object
>
crossData
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
crossData
=
new
HashMap
<
String
,
Object
>();
List
<
Supplier
>
openSucessSupplierList
=
getOpenBidSuccessSupplierList
();
List
<
Supplier
>
openSucessSupplierList
=
getOpenBidSuccessSupplierList
();
List
<
SupplierOpeningResult
>
supplierBidPriceResultList
=
supplierOpeningResultService
.
getSupplierOpeningResultList
(
tenderProject
.
getId
());
//
List<SupplierOpeningResult> supplierBidPriceResultList = supplierOpeningResultService.getSupplierOpeningResultList(tenderProject.getId());
List
<
BidPrice
>
bidPriceList
=
bidPriceService
.
getTenderBidPriceTableList
(
tenderProject
.
getId
());
List
<
BidPrice
>
bidPriceList
=
bidPriceService
.
getTenderBidPriceTableList
(
tenderProject
.
getId
());
if
(
null
==
bidPriceList
||
bidPriceList
.
size
()
<
1
)
{
if
(
null
==
bidPriceList
||
bidPriceList
.
size
()
<
1
)
{
return
;
return
;
...
@@ -683,8 +685,10 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -683,8 +685,10 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
if
(
null
!=
openSucessSupplierList
&&
openSucessSupplierList
.
size
()
>
0
)
{
if
(
null
!=
openSucessSupplierList
&&
openSucessSupplierList
.
size
()
>
0
)
{
int
sort
=
1
;
int
sort
=
1
;
for
(
Supplier
supplier
:
openSucessSupplierList
)
{
for
(
Supplier
supplier
:
openSucessSupplierList
)
{
for
(
SupplierOpeningResult
supplierOpeningResult
:
supplierBidPriceResultList
)
{
SupplierOpeningResult
supplierOpeningResult
=
supplierOpeningResultMap
.
get
(
supplier
.
getId
());
if
(
StringUtils
.
equals
(
supplier
.
getId
(),
supplierOpeningResult
.
getSupplierId
()))
{
// for (SupplierOpeningResult supplierOpeningResult : supplierBidPriceResultList) {
// if (StringUtils.equals(supplier.getId(), supplierOpeningResult.getSupplierId())) {
if
(
null
!=
supplierOpeningResult
)
{
List
<
BidPriceResult
>
bidPriceItemResultList
=
bidPriceResultService
.
getSupplierBidPriceResultList
(
tenderProject
.
getId
(),
supplier
.
getId
());
List
<
BidPriceResult
>
bidPriceItemResultList
=
bidPriceResultService
.
getSupplierBidPriceResultList
(
tenderProject
.
getId
(),
supplier
.
getId
());
Map
<
String
,
Object
>
supplierMap
=
Bean2MapUtils
.
createMap
(
supplier
);
Map
<
String
,
Object
>
supplierMap
=
Bean2MapUtils
.
createMap
(
supplier
);
supplierMap
.
put
(
"sort"
,
sort
++
+
""
);
supplierMap
.
put
(
"sort"
,
sort
++
+
""
);
...
@@ -708,7 +712,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -708,7 +712,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
crossData
.
put
(
supplier
.
getId
().
concat
(
bidPriceResult
.
getBidPriceId
()),
bidPriceResult
.
getPriceContent
());
crossData
.
put
(
supplier
.
getId
().
concat
(
bidPriceResult
.
getBidPriceId
()),
bidPriceResult
.
getPriceContent
());
}
}
}
}
}
//
}
}
}
}
}
...
@@ -724,10 +728,10 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -724,10 +728,10 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
*/
*/
public
List
<
Supplier
>
getOpenBidSuccessSupplierList
()
{
public
List
<
Supplier
>
getOpenBidSuccessSupplierList
()
{
// 获得开标成功的投标人列表
// 获得开标成功的投标人列表
List
<
Supplier
>
supplierList
=
supplierService
.
getOpenBidSuccessSupplier
(
tenderProject
.
getId
())
;
List
<
Supplier
>
supplierList
=
openBidSuccessSupplierList
;
// 未获得开标完成的投标人,则获得全部投标人。
// 未获得开标完成的投标人,则获得全部投标人。
if
(
null
==
supplierList
||
supplierList
.
size
()
<
1
)
{
if
(
null
==
supplierList
||
supplierList
.
size
()
<
1
)
{
supplierList
=
supplierService
.
getAllSupplierList
(
tenderProject
.
getId
())
;
supplierList
=
allSupplierList
;
}
}
return
supplierList
;
return
supplierList
;
}
}
...
@@ -755,15 +759,17 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -755,15 +759,17 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
String
name
=
evaluationStepList
.
stream
().
filter
(
s
->
s
.
getEvaluationOpinion
()
!=
null
).
map
(
EvaluationStep
::
getStepName
).
collect
(
Collectors
.
joining
(
"/"
));
String
name
=
evaluationStepList
.
stream
().
filter
(
s
->
s
.
getEvaluationOpinion
()
!=
null
).
map
(
EvaluationStep
::
getStepName
).
collect
(
Collectors
.
joining
(
"/"
));
String
opinion
=
evaluationStepList
.
stream
().
filter
(
s
->
s
.
getEvaluationOpinion
()
!=
null
).
map
(
EvaluationStep
::
getEvaluationOpinion
).
collect
(
Collectors
.
joining
(
"/"
));
String
opinion
=
evaluationStepList
.
stream
().
filter
(
s
->
s
.
getEvaluationOpinion
()
!=
null
).
map
(
EvaluationStep
::
getEvaluationOpinion
).
collect
(
Collectors
.
joining
(
"/"
));
//判断中标候选人顺序是否更改
//判断中标候选人顺序是否更改
List
<
SupplierEvaluationResult
>
supplierEvaluationResultList
=
supplierEvaluationResultService
.
getSupplierEvaluationResultListByTenderId
(
tenderProject
.
getId
());
// List<SupplierEvaluationResult> supplierEvaluationResultList =
supplierEvaluationResultService.getSupplierEvaluationResultListByTenderId(tenderProject.getId());
List
<
SupplierEvaluationResult
>
sourceSupplierEvaluationResultList
=
null
;
List
<
SupplierEvaluationResult
>
sourceSupplierEvaluationResultList
=
null
;
if
(!
StringUtils
.
isEmpty
(
tenderProject
.
getTenderSourceId
()))
{
if
(!
StringUtils
.
isEmpty
(
tenderProject
.
getTenderSourceId
()))
{
sourceSupplierEvaluationResultList
=
supplierEvaluationResultService
.
getSupplierEvaluationResultListByTenderId
(
tenderProject
.
getTenderSourceId
());
sourceSupplierEvaluationResultList
=
supplierEvaluationResultService
.
getSupplierEvaluationResultListByTenderId
(
tenderProject
.
getTenderSourceId
());
}
}
int
number
=
0
;
int
number
=
0
;
if
(
supplierEvaluationResultList
!=
null
&&
sourceSupplierEvaluationResultList
!=
null
){
// if(supplierEvaluationResultList != null && sourceSupplierEvaluationResultList !=null){
for
(
SupplierEvaluationResult
supplierEvaluationResult
:
supplierEvaluationResultList
){
if
(
supplierEvaluationResultMap
!=
null
&&
supplierEvaluationResultMap
.
size
()
>
0
&&
sourceSupplierEvaluationResultList
!=
null
){
Supplier
supplier
=
supplierService
.
getById
(
supplierEvaluationResult
.
getSupplierId
());
for
(
String
key:
supplierEvaluationResultMap
.
keySet
())
{
SupplierEvaluationResult
supplierEvaluationResult
=
supplierEvaluationResultMap
.
get
(
key
);
Supplier
supplier
=
supplierMap
.
get
(
supplierEvaluationResult
.
getSupplierId
());
for
(
SupplierEvaluationResult
sourceSupplierEvaluationResult
:
sourceSupplierEvaluationResultList
){
for
(
SupplierEvaluationResult
sourceSupplierEvaluationResult
:
sourceSupplierEvaluationResultList
){
Supplier
sourceSupplier
=
supplierService
.
getById
(
sourceSupplierEvaluationResult
.
getSupplierId
());
Supplier
sourceSupplier
=
supplierService
.
getById
(
sourceSupplierEvaluationResult
.
getSupplierId
());
if
(
supplier
.
getSupplierName
().
equals
(
sourceSupplier
.
getSupplierName
())
&&
supplierEvaluationResult
.
getSortNo
()
!=
sourceSupplierEvaluationResult
.
getSortNo
())
{
if
(
supplier
.
getSupplierName
().
equals
(
sourceSupplier
.
getSupplierName
())
&&
supplierEvaluationResult
.
getSortNo
()
!=
sourceSupplierEvaluationResult
.
getSortNo
())
{
...
@@ -771,6 +777,9 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -771,6 +777,9 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
}
}
}
}
}
}
// for(SupplierEvaluationResult supplierEvaluationResult : supplierEvaluationResultList){
// }
}
}
if
(
number
>
0
)
{
if
(
number
>
0
)
{
reportDataSet
.
putParam
(
"ifChange"
,
"更改为:"
);
reportDataSet
.
putParam
(
"ifChange"
,
"更改为:"
);
...
@@ -838,7 +847,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
...
@@ -838,7 +847,7 @@ public class JingNengEvaluationReportDataSet extends BaseDateSet {
// 未找到招标文件的指标,则获得投标文件的指标。
// 未找到招标文件的指标,则获得投标文件的指标。
if
(
null
==
factorDoc
){
if
(
null
==
factorDoc
){
// 获得投标人集合
// 获得投标人集合
List
<
Supplier
>
supplierList
=
supplierService
.
getSupplierOpenBidList
(
tenderProject
.
getId
());
//
List<Supplier> supplierList = supplierService.getSupplierOpenBidList(tenderProject.getId());
if
(
null
!=
supplierList
&&
supplierList
.
size
()
>
0
){
if
(
null
!=
supplierList
&&
supplierList
.
size
()
>
0
){
// 遍历投标人信息
// 遍历投标人信息
for
(
Supplier
supplier
:
supplierList
){
for
(
Supplier
supplier
:
supplierList
){
...
...
OBE-SYSTEM/src/com/gx/obe/system/composite/SysetemAdminLogComposite.java
View file @
38cc81c4
...
@@ -82,6 +82,7 @@ public class SysetemAdminLogComposite extends Composite {
...
@@ -82,6 +82,7 @@ public class SysetemAdminLogComposite extends Composite {
private
Composite
formComposite
;
private
Composite
formComposite
;
private
Text
keySearchText
;
private
Text
keySearchText
;
private
Text
pageSizeText
;
private
Text
pageSizeText
;
private
Boolean
isException
;
{
{
LogUtils
.
logClass
(
SysetemAdminLogComposite
.
class
);
LogUtils
.
logClass
(
SysetemAdminLogComposite
.
class
);
}
}
...
@@ -433,7 +434,7 @@ public class SysetemAdminLogComposite extends Composite {
...
@@ -433,7 +434,7 @@ public class SysetemAdminLogComposite extends Composite {
sysLogService
=
new
com
.
gx
.
obe
.
web
.
service
.
log
.
SysLogService
();
sysLogService
=
new
com
.
gx
.
obe
.
web
.
service
.
log
.
SysLogService
();
logGrid
.
setItemHeight
(
Constants
.
ROW_HIGHT
);
logGrid
.
setItemHeight
(
Constants
.
ROW_HIGHT
);
logGrid
.
setAutoHeight
(
true
);
logGrid
.
setAutoHeight
(
true
);
combo
.
select
(
1
);
FloatInputListener
factorPositiveMinScoreListener
=
new
FloatInputListener
();
FloatInputListener
factorPositiveMinScoreListener
=
new
FloatInputListener
();
factorPositiveMinScoreListener
.
addMinCheck
(
0
,
Messages
.
Tips_pleaseEnterValidRange
);
factorPositiveMinScoreListener
.
addMinCheck
(
0
,
Messages
.
Tips_pleaseEnterValidRange
);
factorPositiveMinScoreListener
.
addMaxCheck
(
200
,
Messages
.
Tips_pleaseEnterValidRange
);
factorPositiveMinScoreListener
.
addMaxCheck
(
200
,
Messages
.
Tips_pleaseEnterValidRange
);
...
@@ -471,7 +472,10 @@ public class SysetemAdminLogComposite extends Composite {
...
@@ -471,7 +472,10 @@ public class SysetemAdminLogComposite extends Composite {
Date
startTime
=
(
Date
)
startTimeText
.
getData
(
"date"
);
Date
startTime
=
(
Date
)
startTimeText
.
getData
(
"date"
);
Date
endTime
=
(
Date
)
endTimeText
.
getData
(
"date"
);
Date
endTime
=
(
Date
)
endTimeText
.
getData
(
"date"
);
String
returnValue
=
returnValueText
.
getText
();
String
returnValue
=
returnValueText
.
getText
();
Boolean
isException
=
(
Boolean
)
WidgetUtils
.
getComboSelection
(
combo
);
isException
=
false
;
if
(
null
!=
WidgetUtils
.
getComboSelection
(
combo
)
&&
!
"-1"
.
equals
(
WidgetUtils
.
getComboSelection
(
combo
)))
{
isException
=
(
Boolean
)
WidgetUtils
.
getComboSelection
(
combo
);
}
new
Thread
(
new
Runnable
()
{
new
Thread
(
new
Runnable
()
{
public
void
run
()
{
public
void
run
()
{
Page
<
SysLog
>
page
=
sysLogService
.
selectConditionQuery
(
createUser
,
title
,
params
,
startTime
,
endTime
,
returnValue
,
isException
,
CUR_PAGE_NO
,
PAGE_SIZE
);
Page
<
SysLog
>
page
=
sysLogService
.
selectConditionQuery
(
createUser
,
title
,
params
,
startTime
,
endTime
,
returnValue
,
isException
,
CUR_PAGE_NO
,
PAGE_SIZE
);
...
...
com.gx.obe.answer/.settings/org.eclipse.core.resources.prefs
0 → 100644
View file @
38cc81c4
eclipse.preferences.version=1
encoding/<project>=UTF-8
com.gx.obe.common.file/META-INF/MANIFEST.MF
View file @
38cc81c4
...
@@ -36,4 +36,5 @@ Export-Package: com.gx.obe.common.file.adapter,
...
@@ -36,4 +36,5 @@ Export-Package: com.gx.obe.common.file.adapter,
com.gx.obe.common.file.upload,
com.gx.obe.common.file.upload,
com.gx.obe.common.file.upload.infer,
com.gx.obe.common.file.upload.infer,
com.gx.obe.common.file.utils,
com.gx.obe.common.file.utils,
com.gx.obe.common.file.widget
com.gx.obe.common.file.widget,
org.eclipse.wb.swt
com.gx.obe.common.file/src/com/gx/obe/common/file/service/ExpertSignService.java
0 → 100644
View file @
38cc81c4
package
com
.
gx
.
obe
.
common
.
file
.
service
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
com.gx.obe.business.entity.SignatureFile
;
import
com.gx.obe.components.core.Constants
;
import
com.gx.obe.http.json.JsonUtil
;
import
com.gx.obe.web.utils.NetworkRequest
;
import
com.gx.obe.web.utils.ResultStatus
;
public
class
ExpertSignService
{
static
final
String
URL
=
"fileSign"
;
/**
* @Description: 获得当前项目的流转签章文件
* @author mazc
* @param tenderId
* @return
*/
public
List
<
SignatureFile
>
expertSubmitSignApply
(
String
idNumber
,
String
tenderId
,
String
fileIds
,
String
signImage
,
String
keyWord
,
String
userId
,
String
expertId
){
String
strWebServerUrl
=
Constants
.
getServiceUrl
(
URL
+
"/expertSubmitSignApply"
);
Map
<
String
,
Object
>
param
=
new
HashMap
<
String
,
Object
>();
param
.
put
(
"tenderId"
,
tenderId
);
param
.
put
(
"idNumber"
,
idNumber
);
param
.
put
(
"fileIds"
,
fileIds
);
param
.
put
(
"signImage"
,
signImage
);
param
.
put
(
"keyWord"
,
keyWord
);
param
.
put
(
"expertId"
,
expertId
);
param
.
put
(
"userId"
,
userId
);
try
{
String
result
=
NetworkRequest
.
post
(
strWebServerUrl
,
param
);
if
(
ResultStatus
.
getReultStatusIsNotEmpty
(
result
)){
return
JsonUtil
.
strToList
(
result
,
SignatureFile
.
class
);
}
return
null
;
}
catch
(
Exception
e
)
{
// logger.error(e.getMessage(), e);
return
null
;
}
}
}
com.gx.obe.common.file/src/com/gx/obe/common/file/service/SignatureUserService.java
View file @
38cc81c4
...
@@ -180,4 +180,27 @@ public class SignatureUserService {
...
@@ -180,4 +180,27 @@ public class SignatureUserService {
return
false
;
return
false
;
}
}
}
}
/**
* @Description: 获得当前用户需要签章的报表
* @author mazc
* @param tenderId
* @param userId
* @return
*/
public
List
<
SignatureUser
>
getUserSignatureFileList
(
String
tenderId
){
String
strWebServerUrl
=
Constants
.
getServiceUrl
(
URL
+
"/getUserSignatureFileByTenderIdList"
);
Map
<
String
,
Object
>
param
=
new
HashMap
<
String
,
Object
>();
param
.
put
(
"tenderId"
,
tenderId
);
try
{
String
result
=
NetworkRequest
.
get
(
strWebServerUrl
,
param
);
if
(
ResultStatus
.
getReultStatusIsNotEmpty
(
result
)){
return
JsonUtil
.
strToList
(
result
,
SignatureUser
.
class
);
}
return
null
;
}
catch
(
Exception
e
)
{
logger
.
error
(
e
.
getMessage
(),
e
);
return
null
;
}
}
}
}
com.gx.obe.common.file/src/com/gx/obe/common/file/service/UserSignFileService.java
0 → 100644
View file @
38cc81c4
package
com
.
gx
.
obe
.
common
.
file
.
service
;
import
java.util.HashMap
;
import
java.util.Map
;
import
com.gx.obe.components.core.Constants
;
import
com.gx.obe.components.core.vo.AuthUserVo
;
import
com.gx.obe.http.json.JsonUtil
;
import
com.gx.obe.web.entity.Result.ResultEntity
;
import
com.gx.obe.web.entity.expert.Expert
;
import
com.gx.obe.web.utils.NetworkRequest
;
import
com.gx.obe.web.utils.ResultStatus
;
public
class
UserSignFileService
{
static
final
String
URL
=
"fileSign"
;
/**
* @Description: 获得当前项目的流转签章文件
* @author mazc
* @param tenderId
* @return
*/
public
ResultEntity
<
Expert
>
expertSubmitSignApply
(
String
TId
,
String
idNumber
,
String
tenderId
,
String
fileIds
,
String
signImage
,
String
keyWord
,
String
userId
,
String
expertId
){
String
strWebServerUrl
=
Constants
.
getServiceUrl
(
URL
+
"/expertSubmitSignApply"
);
Map
<
String
,
Object
>
param
=
new
HashMap
<
String
,
Object
>();
param
.
put
(
"TId"
,
TId
);
param
.
put
(
"tenderId"
,
tenderId
);
param
.
put
(
"idNumber"
,
idNumber
);
param
.
put
(
"fileIds"
,
fileIds
);
param
.
put
(
"signImage"
,
signImage
);
param
.
put
(
"keyWord"
,
keyWord
);
param
.
put
(
"userId"
,
userId
);
param
.
put
(
"expertId"
,
expertId
);
try
{
String
result
=
NetworkRequest
.
post
(
strWebServerUrl
,
param
);
System
.
out
.
println
(
result
);
if
(
ResultStatus
.
getReultStatusIsNotEmpty
(
result
)){
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"data"
,
Expert
.
class
);
return
JsonUtil
.
strToObject
(
result
,
ResultEntity
.
class
,
classMap
);
}
return
new
ResultEntity
<
Expert
>(
null
,
"请求失败"
,
ResultEntity
.
FAIL
);
}
catch
(
Exception
e
)
{
// logger.error(e.getMessage(), e);
// return null;
}
return
new
ResultEntity
<
Expert
>(
null
,
"请求失败"
,
ResultEntity
.
FAIL
);
}
/**
* @Description: 获得当前项目的流转签章文件
* @author mazc
* @param tenderId
* @return
*/
public
ResultEntity
<
String
>
getExpertSignStatue
(
String
TId
,
String
tenderId
,
String
userId
,
String
expertId
){
String
strWebServerUrl
=
Constants
.
getServiceUrl
(
URL
+
"/getExpertSignStatue"
);
Map
<
String
,
Object
>
param
=
new
HashMap
<
String
,
Object
>();
param
.
put
(
"TId"
,
TId
);
param
.
put
(
"tenderId"
,
tenderId
);
param
.
put
(
"userId"
,
userId
);
param
.
put
(
"expertId"
,
expertId
);
try
{
String
result
=
NetworkRequest
.
post
(
strWebServerUrl
,
param
);
System
.
out
.
println
(
result
);
if
(
ResultStatus
.
getReultStatusIsNotEmpty
(
result
)){
Map
<
String
,
Class
>
classMap
=
new
HashMap
<
String
,
Class
>();
classMap
.
put
(
"data"
,
Expert
.
class
);
return
JsonUtil
.
strToObject
(
result
,
ResultEntity
.
class
,
classMap
);
}
return
new
ResultEntity
<
String
>(
null
,
"请求失败"
,
ResultEntity
.
FAIL
);
}
catch
(
Exception
e
)
{
// logger.error(e.getMessage(), e);
// return null;
}
return
new
ResultEntity
<
String
>(
null
,
"请求失败"
,
ResultEntity
.
FAIL
);
}
}
com.gx.obe.common.widget/src/com/gx/obe/common/widget/dialog/MessageViewDialog.java
View file @
38cc81c4
...
@@ -34,6 +34,7 @@ import com.gx.obe.message.Messages;
...
@@ -34,6 +34,7 @@ import com.gx.obe.message.Messages;
import
com.gx.obe.util.utils.LogUtils
;
import
com.gx.obe.util.utils.LogUtils
;
import
com.swtdesigner.ResourceManager
;
import
com.swtdesigner.ResourceManager
;
import
com.swtdesigner.SWTResourceManager
;
import
com.swtdesigner.SWTResourceManager
;
import
org.eclipse.swt.widgets.Label
;
/**
/**
* @Description:
* @Description:
...
@@ -60,7 +61,7 @@ public class MessageViewDialog extends EDialog {
...
@@ -60,7 +61,7 @@ public class MessageViewDialog extends EDialog {
public
static
final
String
CANCEL
=
"CANCEL"
;
public
static
final
String
CANCEL
=
"CANCEL"
;
private
List
<
ButtonPo
>
buttonPoList
;
private
List
<
ButtonPo
>
buttonPoList
;
private
Map
<
String
,
EButton
>
operatorMap
;
private
Map
<
String
,
EButton
>
operatorMap
;
private
boolean
showProcess
=
true
;
{
{
LogUtils
.
logClass
(
MessageViewDialog
.
class
);
LogUtils
.
logClass
(
MessageViewDialog
.
class
);
}
}
...
@@ -72,6 +73,14 @@ public class MessageViewDialog extends EDialog {
...
@@ -72,6 +73,14 @@ public class MessageViewDialog extends EDialog {
public
MessageViewDialog
(
Shell
parentShell
,
int
setMaximum
)
{
public
MessageViewDialog
(
Shell
parentShell
,
int
setMaximum
)
{
this
(
parentShell
,
setMaximum
,
null
);
this
(
parentShell
,
setMaximum
,
null
);
}
}
/**
* Create the dialog.
* @param parentShell
*/
public
MessageViewDialog
(
Shell
parentShell
,
boolean
showProcess
)
{
super
(
parentShell
);
this
.
showProcess
=
showProcess
;
}
/**
/**
* @wbp.parser.constructor
* @wbp.parser.constructor
*/
*/
...
@@ -106,7 +115,7 @@ public class MessageViewDialog extends EDialog {
...
@@ -106,7 +115,7 @@ public class MessageViewDialog extends EDialog {
downloadInfoComposite
.
setLayout
(
gl_downloadInfoComposite
);
downloadInfoComposite
.
setLayout
(
gl_downloadInfoComposite
);
text
=
new
Text
(
downloadInfoComposite
,
SWT
.
READ_ONLY
|
SWT
.
WRAP
|
SWT
.
V_SCROLL
);
text
=
new
Text
(
downloadInfoComposite
,
SWT
.
READ_ONLY
|
SWT
.
WRAP
|
SWT
.
V_SCROLL
);
text
.
setFont
(
SWTResourceManager
.
getFont
(
"宋体"
,
1
0
,
SWT
.
NORMAL
));
text
.
setFont
(
SWTResourceManager
.
getFont
(
"宋体"
,
1
4
,
SWT
.
NORMAL
));
text
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
FILL
,
true
,
true
,
1
,
1
));
text
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
FILL
,
true
,
true
,
1
,
1
));
ESepator
label
=
new
ESepator
(
container
,
SWT
.
SEPARATOR
|
SWT
.
HORIZONTAL
);
ESepator
label
=
new
ESepator
(
container
,
SWT
.
SEPARATOR
|
SWT
.
HORIZONTAL
);
...
@@ -115,19 +124,22 @@ public class MessageViewDialog extends EDialog {
...
@@ -115,19 +124,22 @@ public class MessageViewDialog extends EDialog {
composite_3
=
new
Composite
(
container
,
SWT
.
NONE
);
composite_3
=
new
Composite
(
container
,
SWT
.
NONE
);
// composite_3.setBackground(org.eclipse.wb.swt.SWTResourceManager.getColor(SWT.COLOR_WHITE));
composite_3
.
setBackgroundMode
(
SWT
.
INHERIT_FORCE
);
composite_3
.
setBackgroundMode
(
SWT
.
INHERIT_FORCE
);
composite_3
.
setBackgroundImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/fill_bg.png"
));
composite_3
.
setBackgroundImage
(
ResourceManager
.
getPluginImage
(
IconsActivator
.
PLUGIN_ID
,
"icons/fill_bg.png"
));
GridLayout
gl_composite_3
=
new
GridLayout
(
2
,
false
);
GridLayout
gl_composite_3
=
new
GridLayout
(
3
,
false
);
composite_3
.
setLayout
(
gl_composite_3
);
composite_3
.
setLayout
(
gl_composite_3
);
composite_3
.
setLayoutData
(
new
GridData
(
SWT
.
FILL
,
SWT
.
CENTER
,
true
,
false
,
1
,
1
));
composite_3
.
setLayoutData
(
new
GridData
(
SWT
.
CENTER
,
SWT
.
CENTER
,
true
,
false
,
1
,
1
));
if
(
setMaximum
>
0
){
if
(
showProcess
)
{
downloadProgressBar
=
new
ProgressBar
(
composite_3
,
SWT
.
SMOOTH
);
if
(
setMaximum
>
0
){
downloadProgressBar
.
setMaximum
(
setMaximum
);
downloadProgressBar
=
new
ProgressBar
(
composite_3
,
SWT
.
SMOOTH
);
}
else
{
downloadProgressBar
.
setMaximum
(
setMaximum
);
downloadProgressBar
=
new
ProgressBar
(
composite_3
,
SWT
.
SMOOTH
|
SWT
.
INDETERMINATE
);
}
else
{
downloadProgressBar
=
new
ProgressBar
(
composite_3
,
SWT
.
SMOOTH
|
SWT
.
INDETERMINATE
);
}
downloadProgressBar
.
setLayoutData
(
new
GridData
(
SWT
.
LEFT
,
SWT
.
CENTER
,
true
,
false
,
1
,
1
));
}
}
downloadProgressBar
.
setLayoutData
(
new
GridData
(
SWT
.
LEFT
,
SWT
.
CENTER
,
true
,
false
,
1
,
1
));
init
();
init
();
return
container
;
return
container
;
...
@@ -138,14 +150,17 @@ public class MessageViewDialog extends EDialog {
...
@@ -138,14 +150,17 @@ public class MessageViewDialog extends EDialog {
* @author guoyr
* @author guoyr
*/
*/
private
void
init
(){
private
void
init
(){
downloadProgressBar
.
setVisible
(
true
);
if
(
showProcess
)
{
progressRunnable
=
new
Runnable
()
{
downloadProgressBar
.
setVisible
(
true
);
public
void
run
()
{
progressRunnable
=
new
Runnable
()
{
if
(
null
!=
downloadProgressBar
&&
!
downloadProgressBar
.
isDisposed
()){
public
void
run
()
{
downloadProgressBar
.
setSelection
(
selection
);
if
(
null
!=
downloadProgressBar
&&
!
downloadProgressBar
.
isDisposed
()){
downloadProgressBar
.
setSelection
(
selection
);
}
}
}
}
};
};
}
if
(
null
!=
buttonPoList
&&
buttonPoList
.
size
()
>
0
){
if
(
null
!=
buttonPoList
&&
buttonPoList
.
size
()
>
0
){
((
GridLayout
)
composite_3
.
getLayout
()).
numColumns
=
buttonPoList
.
size
()
+
1
;
((
GridLayout
)
composite_3
.
getLayout
()).
numColumns
=
buttonPoList
.
size
()
+
1
;
...
@@ -271,7 +286,9 @@ public class MessageViewDialog extends EDialog {
...
@@ -271,7 +286,9 @@ public class MessageViewDialog extends EDialog {
Display
.
getDefault
().
syncExec
(
new
Runnable
()
{
Display
.
getDefault
().
syncExec
(
new
Runnable
()
{
public
void
run
()
{
public
void
run
()
{
if
(
null
!=
text
&&
!
text
.
isDisposed
()){
if
(
null
!=
text
&&
!
text
.
isDisposed
()){
downloadProgressBar
.
setVisible
(
true
);
if
(
showProcess
)
{
downloadProgressBar
.
setVisible
(
true
);
}
text
.
setText
(
message
.
toString
());
text
.
setText
(
message
.
toString
());
text
.
setSelection
(
message
.
length
());
text
.
setSelection
(
message
.
length
());
}
}
...
@@ -295,8 +312,10 @@ public class MessageViewDialog extends EDialog {
...
@@ -295,8 +312,10 @@ public class MessageViewDialog extends EDialog {
public
void
setMaximum
(
int
setMaximum
){
public
void
setMaximum
(
int
setMaximum
){
this
.
setMaximum
=
setMaximum
;
this
.
setMaximum
=
setMaximum
;
if
(
null
!=
downloadProgressBar
){
if
(
showProcess
)
{
downloadProgressBar
.
setMaximum
(
setMaximum
);
if
(
null
!=
downloadProgressBar
){
downloadProgressBar
.
setMaximum
(
setMaximum
);
}
}
}
}
}
/**
/**
...
@@ -362,6 +381,12 @@ public class MessageViewDialog extends EDialog {
...
@@ -362,6 +381,12 @@ public class MessageViewDialog extends EDialog {
});
});
}
}
@Override
public
void
callBackClearScreen
(
String
msg
)
{
message
=
new
StringBuilder
();
showMessage
(
msg
);
}
};
};
}
}
return
callBack
;
return
callBack
;
...
...
com.gx.obe.credit/.settings/org.eclipse.core.resources.prefs
0 → 100644
View file @
38cc81c4
eclipse.preferences.version=1
encoding/<project>=UTF-8
com.gx.obe.dynamicview/.settings/org.eclipse.core.resources.prefs
0 → 100644
View file @
38cc81c4
eclipse.preferences.version=1
encoding/<project>=UTF-8
com.gx.obe.meeting/.settings/org.eclipse.core.resources.prefs
0 → 100644
View file @
38cc81c4
eclipse.preferences.version=1
encoding/<project>=UTF-8
com.gx.obe.ocr/.settings/org.eclipse.core.resources.prefs
0 → 100644
View file @
38cc81c4
eclipse.preferences.version=1
encoding/<project>=UTF-8
com.gx.obe.software/.settings/org.eclipse.core.resources.prefs
0 → 100644
View file @
38cc81c4
eclipse.preferences.version=1
encoding/<project>=UTF-8
org.eclipse.swt.core/src/org/eclipse/swt/core/CallBack.java
View file @
38cc81c4
...
@@ -70,7 +70,8 @@ public abstract class CallBack implements CallBackListener {
...
@@ -70,7 +70,8 @@ public abstract class CallBack implements CallBackListener {
return
null
;
return
null
;
}
}
}
}
public
void
callBackClearScreen
(
String
msg
)
{
};
public
void
setData
(
String
key
,
Object
value
)
{
public
void
setData
(
String
key
,
Object
value
)
{
if
(
null
==
data
)
{
if
(
null
==
data
)
{
data
=
new
HashMap
<
String
,
Object
>();
data
=
new
HashMap
<
String
,
Object
>();
...
...
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