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
0069d857
Commit
0069d857
authored
Oct 17, 2024
by
黄重
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
38cc81c4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
2 deletions
+76
-2
OBE-COMMON-TOOLS/src/com/gx/tools/dialog/BatchSignatureDialog.java
...N-TOOLS/src/com/gx/tools/dialog/BatchSignatureDialog.java
+2
-1
OBE-COMMON-TOOLS/src/com/gx/tools/ole/bjca/BJCAHandPDFLoaderImpl.java
...OOLS/src/com/gx/tools/ole/bjca/BJCAHandPDFLoaderImpl.java
+63
-1
OBE-COMPONENTS-CORE/src/com/gx/obe/web/entity/expert/Expert.java
...PONENTS-CORE/src/com/gx/obe/web/entity/expert/Expert.java
+11
-0
No files found.
OBE-COMMON-TOOLS/src/com/gx/tools/dialog/BatchSignatureDialog.java
View file @
0069d857
...
@@ -102,7 +102,8 @@ public class BatchSignatureDialog extends EDialog {
...
@@ -102,7 +102,8 @@ public class BatchSignatureDialog extends EDialog {
*/
*/
public
BatchSignatureDialog
(
Shell
parentShell
,
TenderProjectEntity
tenderProjectEntity
,
boolean
isHandSign
,
String
pdfType
)
{
public
BatchSignatureDialog
(
Shell
parentShell
,
TenderProjectEntity
tenderProjectEntity
,
boolean
isHandSign
,
String
pdfType
)
{
super
(
parentShell
);
super
(
parentShell
);
setTitle
(
Messages
.
Button_caSignature
);
// setTitle(Messages.Button_caSignature);
setTitle
(
"专家签章"
);
this
.
tenderProjectEntity
=
tenderProjectEntity
;
this
.
tenderProjectEntity
=
tenderProjectEntity
;
this
.
pdfType
=
pdfType
;
this
.
pdfType
=
pdfType
;
this
.
isHandSign
=
isHandSign
;
this
.
isHandSign
=
isHandSign
;
...
...
OBE-COMMON-TOOLS/src/com/gx/tools/ole/bjca/BJCAHandPDFLoaderImpl.java
View file @
0069d857
...
@@ -20,6 +20,7 @@ import com.gx.obe.common.file.enumeration.FileConstants;
...
@@ -20,6 +20,7 @@ import com.gx.obe.common.file.enumeration.FileConstants;
import
com.gx.obe.config.ConfigConstants
;
import
com.gx.obe.config.ConfigConstants
;
import
com.gx.obe.config.utils.PropertiesUtils
;
import
com.gx.obe.config.utils.PropertiesUtils
;
import
com.gx.obe.util.utils.LogUtils
;
import
com.gx.obe.util.utils.LogUtils
;
import
com.gx.obe.util.utils.ObjectUtils
;
import
com.gx.tools.ole.AutomationWrapper
;
import
com.gx.tools.ole.AutomationWrapper
;
import
com.gx.tools.ole.DocumentLoader
;
import
com.gx.tools.ole.DocumentLoader
;
import
com.gx.tools.ole.bjca.listener.BJCAHandSignListener
;
import
com.gx.tools.ole.bjca.listener.BJCAHandSignListener
;
...
@@ -27,6 +28,9 @@ import com.gx.tools.ole.bjca.thread.BJCAHandSignThread;
...
@@ -27,6 +28,9 @@ import com.gx.tools.ole.bjca.thread.BJCAHandSignThread;
import
com.jacob.activeX.ActiveXComponent
;
import
com.jacob.activeX.ActiveXComponent
;
import
com.jacob.com.ComThread
;
import
com.jacob.com.ComThread
;
import
net.sf.json.JSONArray
;
import
net.sf.json.JSONObject
;
/**
/**
* @Description: 北京CA手写签字
* @Description: 北京CA手写签字
* @author guoyr
* @author guoyr
...
@@ -155,7 +159,13 @@ C:\Program Files (x86)\BJCAClient\PDFClientV2.1\Program\x86目录下的serverCer
...
@@ -155,7 +159,13 @@ C:\Program Files (x86)\BJCAClient\PDFClientV2.1\Program\x86目录下的serverCer
showOrHiddenToolBar
(
0
);
showOrHiddenToolBar
(
0
);
oleFrame
.
forceFocus
();
oleFrame
.
forceFocus
();
site
.
forceFocus
();
site
.
forceFocus
();
// Thread.sleep(2000);
new
Thread
(
new
Runnable
()
{
public
void
run
()
{
openFile
(
file
);
openFile
(
file
);
}
}).
start
();
return
true
;
return
true
;
}
catch
(
Exception
e1
)
{
}
catch
(
Exception
e1
)
{
...
@@ -520,6 +530,58 @@ C:\Program Files (x86)\BJCAClient\PDFClientV2.1\Program\x86目录下的serverCer
...
@@ -520,6 +530,58 @@ C:\Program Files (x86)\BJCAClient\PDFClientV2.1\Program\x86目录下的serverCer
public
void
addHandSignListener
(
BJCAHandSignListener
handSignListener
)
{
public
void
addHandSignListener
(
BJCAHandSignListener
handSignListener
)
{
this
.
handSignListener
=
handSignListener
;
this
.
handSignListener
=
handSignListener
;
}
}
// /**
// * 获取签名图片信息
// * @return
// */
// public String getSignImage(){
// String returnValue = "";
// if(null != automaticWrapper){
// returnValue = automaticWrapper.invoke("Pdf_Get_ScriptImg").getString();
// System.out.println(returnValue);
// }
// return returnValue;
// }
public
String
getSignImage
(){
String
returnValue
=
""
;
if
(
null
!=
automaticWrapper
){
returnValue
=
automaticWrapper
.
invoke
(
"Pdf_Get_ScriptImg"
).
getString
();
String
signReturnValue
=
automaticWrapper
.
invoke
(
"GetSignInfo"
,
new
Variant
[]
{
new
Variant
(
"center"
),
new
Variant
(
0
)
}).
getString
();
System
.
out
.
println
(
returnValue
);
try
{
JSONObject
root
=
JSONObject
.
fromObject
(
signReturnValue
);
String
code
=
ObjectUtils
.
getObjString
(
root
.
get
(
"code"
));
String
pub
=
ObjectUtils
.
getObjString
(
root
.
get
(
"pub"
));
String
signimgs
=
ObjectUtils
.
getObjString
(
root
.
get
(
"signimgs"
));
JSONArray
supplierListArray
=
(
JSONArray
)
root
.
get
(
"signimgs"
);
Object
[]
supplierJsonList
=
supplierListArray
.
toArray
();
if
(
null
!=
supplierJsonList
&&
supplierJsonList
.
length
>
0
)
{
JSONObject
supplierJson
=
(
JSONObject
)
supplierJsonList
[
0
];
System
.
out
.
println
(
ObjectUtils
.
getObjString
(
supplierJson
.
get
(
"img"
)));
returnValue
=
ObjectUtils
.
getObjString
(
supplierJson
.
get
(
"img"
));
}
// JSONObject tenderProjectJSON = (JSONObject)httpResponse.getDataJSONObject("tenderProjectList");
}
catch
(
Exception
e1
)
{
}
}
return
returnValue
;
}
/**
* 获取签名图片信息
* @return
*/
public
String
getFingerPrintImage
(){
String
returnValue
=
""
;
if
(
null
!=
automaticWrapper
){
returnValue
=
automaticWrapper
.
invoke
(
"Pdf_Get_FpImg"
).
getString
();
System
.
out
.
println
(
returnValue
);
}
return
returnValue
;
}
/**
/**
* @Description: 是否显示撤销签章
* @Description: 是否显示撤销签章
* @author chenxw
* @author chenxw
...
...
OBE-COMPONENTS-CORE/src/com/gx/obe/web/entity/expert/Expert.java
View file @
0069d857
...
@@ -57,6 +57,7 @@ public class Expert {
...
@@ -57,6 +57,7 @@ public class Expert {
private
String
projectId
;
private
String
projectId
;
private
String
signStatue
;
/**
/**
* 专家base64位签名图片数据缓存
* 专家base64位签名图片数据缓存
*/
*/
...
@@ -128,6 +129,16 @@ public class Expert {
...
@@ -128,6 +129,16 @@ public class Expert {
return
expertTypeCN
;
return
expertTypeCN
;
}
}
public
String
getSignStatue
()
{
return
signStatue
;
}
public
void
setSignStatue
(
String
signStatue
)
{
this
.
signStatue
=
signStatue
;
}
public
String
getExpertTypeAndRole
()
{
public
String
getExpertTypeAndRole
()
{
String
expertTypeCN
=
null
;
String
expertTypeCN
=
null
;
expertTypeCN
=
ExpertEnum
.
getExpertTypeCN
(
getExpertType
(),
isLeader
);
expertTypeCN
=
ExpertEnum
.
getExpertTypeCN
(
getExpertType
(),
isLeader
);
...
...
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