|
@@ -456,7 +456,9 @@ public class FpzsMainEXPlugin extends LicenseFormPlugin implements RowClickEvent
|
|
|
}
|
|
|
|
|
|
public void customEvent(CustomEventArgs e) {
|
|
|
+ //操作类型
|
|
|
String eventName = e.getEventName();
|
|
|
+ //附件信息obj
|
|
|
String eventArgs = e.getEventArgs();
|
|
|
if ("pushData".equals(eventName) || "onMessage".equals(eventName)) {
|
|
|
this.dealWebSoceketMsag(eventArgs);
|
|
@@ -580,20 +582,6 @@ public class FpzsMainEXPlugin extends LicenseFormPlugin implements RowClickEvent
|
|
|
json = JSON.parseObject(eventArgs);
|
|
|
type = json.getString("status");
|
|
|
name = json.getString("name");
|
|
|
- boolean pdf = name.contains("pdf");
|
|
|
- boolean jpg = name.contains("jpg");
|
|
|
- boolean jpeg = name.contains("jpeg");
|
|
|
- boolean png = name.contains("png");
|
|
|
- String FileType="";
|
|
|
- if(pdf){
|
|
|
- FileType="pdf";
|
|
|
- } else if (jpg){
|
|
|
- FileType="jpg";
|
|
|
- }else if (jpeg){
|
|
|
- FileType="jpeg";
|
|
|
- }else if (png){
|
|
|
- FileType="png";
|
|
|
- }
|
|
|
cache = json.getString("errcode");
|
|
|
description = json.getString("description");
|
|
|
if ("success".equals(type) && !"40002".equals(cache)) {
|