Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
bf6b26083f
@ -22,15 +22,16 @@
|
||||
<attribute key="output" title="输出" type="textarea" value="" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="R_relevant_flies" title="相关文件" type="relation" value="" ref="{"method":"process","type":"file","multiple":false}" readonly="true" groupPath="process_model" scope="%" isValid="true"/>
|
||||
<attribute key="support_files" title="支持文件" type="relation" value="" ref="{"method":"process","type":"shape","multiple":false,"value":""}" readonly="true" groupPath="process_model" scope="%" isValid="true"/>
|
||||
<attribute key="term" title="术语" type="table" value="" desc="术语" isRequired="false" ref="" readonly="false" groupPath="process_model" scope="%" isValid="true"/>
|
||||
<attribute key="Organizational_role" title="组织角色" type="table" value="" desc="组织角色" isRequired="false" ref="" readonly="false" groupPath="process_model" scope="%" isValid="true"/>
|
||||
<attribute key="relevant_flies" title="相关知识" type="link" value="" desc="相关知识" isRequired="false" ref="" readonly="false" groupPath="process_model" scope="%" isValid="true"/>
|
||||
<attribute key="Process_owner" title="流程责任人" type="awsorg" value="" desc="流程责任人" isRequired="false" ref="{"scope":["user"],"multiple":false}" readonly="true" groupPath="process_model" scope="%" isValid="true"/>
|
||||
<attribute key="Issuing_department" title="发布部门" type="awsorg" value="" desc="发布部门" isRequired="false" ref="{"scope":["department"],"multiple":false}" readonly="true" groupPath="process_model" scope="%" isValid="true"/>
|
||||
<attribute key="effective_date" title="生效日期" type="DateTimePicker" value="" desc="生效日期" isRequired="false" ref="" readonly="false" groupPath="process_model" scope="%" isValid="true"/>
|
||||
<attribute key="role" title="角色" type="awsorg" value="" desc="角色" isRequired="false" ref="{"scope":["role"],"multiple":false}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="post" title="岗位" type="awsorg" value="" desc="岗位" isRequired="false" ref="{"scope":["position"],"multiple":false}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="input" title="输入" type="textarea" value="" desc="输入" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="information_systems" title="信息系统" type="string" value="" desc="信息系统" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="relevant_demand" title="相关要求" type="relation" value="" desc="相关要求" isRequired="false" ref="{"method":"itsystem","type":"shape","multiple":false,"value":""}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="relevant_demand" title="相关要求" type="relation" value="" desc="相关要求" isRequired="false" ref="{"method":"itsystem","type":"shape","multiple":false,"value":""}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="post" title="岗位" type="relation" value="" desc="岗位" isRequired="false" ref="{"method":"org.normal","type":"shape","multiple":false,"value":""}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="role" title="角色" type="relation" value="" desc="角色" isRequired="false" ref="{"method":"org.normal","type":"shape","multiple":false,"value":""}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="term" title="术语" type="table" value="" desc="术语" isRequired="false" ref="{"firstColumn":"Listing1","secondColumn":"Listing2"}" readonly="false" groupPath="process_model" scope="*" isValid="true"/>
|
||||
<attribute key="Organizational_role" title="组织角色" type="table" value="" desc="组织角色" isRequired="false" ref="{"firstColumn":"Listing1","secondColumn":"Listing2"}" readonly="false" groupPath="process_model" scope="*" isValid="true"/>
|
||||
<attribute key="post_text" title="岗位" type="string" value="" desc="岗位" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
</attributes>
|
||||
|
||||
@ -14,7 +14,7 @@ public class Constant {
|
||||
public final static double ANGLE_LEFT = 3.141592653589793;
|
||||
public final static double ANGLE_UP = 4.71238898038469;
|
||||
|
||||
// 建模属性代码--编号
|
||||
// 建模属性代码--编号 --活动序号
|
||||
// public static final String METHOD_NUMBER = "number";
|
||||
public static final String METHOD_NUMBER = "activity_number";
|
||||
|
||||
@ -46,11 +46,11 @@ public class Constant {
|
||||
|
||||
// 建模属性代码--前置流程
|
||||
// public static final String METHOD_PRE_PROCESS = "PRE_PROCESS";
|
||||
public static final String METHOD_PRE_PROCESS = "pre_process";
|
||||
public static final String METHOD_PRE_PROCESS = "lead_process";
|
||||
|
||||
// 建模属性代码--后置流程
|
||||
// public static final String METHOD_NEXT_PROCESS = "NEXT_PROCESS";
|
||||
public static final String METHOD_NEXT_PROCESS = "next_process";
|
||||
public static final String METHOD_NEXT_PROCESS = "rear_process";
|
||||
|
||||
// 流程属性--ARIS地址
|
||||
// public static final String METHOD_ARIS_URL = "ARISURL";
|
||||
|
||||
@ -202,6 +202,7 @@ public class Report1Gener {
|
||||
Set<String> dangerSet = new HashSet<String>();// 风险
|
||||
Set<String> regulateSet = new HashSet<String>();// 控制
|
||||
Set<String> KPISet = new HashSet<String>();// kpi
|
||||
System.out.println("id======================="+repositoryId);
|
||||
|
||||
List<Map<String, Object>> repositoryFileElements = CoeDesignerUtil.getShapeMessageJson4(repositoryId); //流程文件内容
|
||||
if (wizardJsonData.getBoolean("orderNuberFirst")) { // 根据页面选择进行排序
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
<attribute key="Purpose" title="目的" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="file_number" title="文件编码" type="string" value="" ref="" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="R_Organizational_and_role_responsibilities" title="组织/角色职责" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="application" title="使用范围" type="string" value="" desc="1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="application" title="适用范围" type="string" value="" desc="1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="versions" title="版本" type="string" value="" desc="1" isRequired="false" ref="" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Drafted_and_revised_by" title="拟制/修订人" type="string" value="" desc="1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Process_Architecture_L1" title="流程架构L1" type="string" value="" desc="1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
@ -19,12 +19,12 @@
|
||||
<attribute key="Process_owner" title="流程责任人" type="awsorg" value="" desc="流程责任人" isRequired="false" ref="{"scope":["user"],"multiple":false}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="effective_date" title="生效日期" type="DateTimePicker" value="" desc="生效日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Contents_and_reasons_for_revision" title="修订内容及理由" type="string" value="" desc="修订内容及理由" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="term" title="术语" type="table" value="" desc="术语" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Organizational_role" title="组织角色" type="table" value="" desc="组织角色" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Process_performance_metrics" title="流程绩效" type="relation" value="" desc="流程绩效" isRequired="false" ref="{"method":"control.kpi","type":"shape","multiple":false}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="pre_process" title="前置流程" type="relation" value="" desc="前置流程" isRequired="false" ref="{"method":"process","type":"shape","multiple":false,"value":""}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="next_process" title="后置流程" type="relation" value="" desc="后置流程" isRequired="false" ref="{"method":"process","type":"shape","multiple":false,"value":""}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="related_knowledge" title="相关知识" type="link" value="" desc="相关知识" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Issuing_department" title="发布部门" type="awsorg" value="" desc="发布部门" isRequired="false" ref="{"scope":["department"],"multiple":false}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Drafted_and_revised_date" title="拟制/修订日期" type="DateTimePicker" value="" desc="拟制/修订日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Drafted_and_revised_date" title="拟制/修订日期" type="DateTimePicker" value="" desc="拟制/修订日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="term" title="术语" type="table" value="" desc="术语" isRequired="false" ref="{"firstColumn":"listing1","secondColumn":"listing2"}" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Organizational_role" title="组织角色" type="table" value="" desc="组织角色" isRequired="false" ref="{"firstColumn":"listing1","secondColumn":"listing2"}" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
</attributes>
|
||||
|
||||
@ -2,5 +2,6 @@
|
||||
|
||||
<attributes type="customer">
|
||||
<attribute key="post" title="岗位" type="string" value="" desc="1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="post_text" title="岗位文本" type="string" value="" desc="岗位文本信息" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="post_text" title="岗位文本" type="string" value="" desc="岗位文本信息" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="post_test" title="岗位" type="string" value="" desc="岗位" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
</attributes>
|
||||
|
||||
@ -57,7 +57,7 @@ public class CoEPALController {
|
||||
@Mapping("com.actionsoft.apps.coe.pal_main_page")
|
||||
public String COEPALMAIN(UserContext me, String wsuuid) {
|
||||
Map<String, Object> macroLibraries = new HashMap<String, Object>();
|
||||
CoeWorkSpaceModel model = (CoeWorkSpaceModel) CoeWorkSpaceDaoFactory.createCoeWorkSpace().getInstance(wsuuid);
|
||||
CoeWorkSpaceModel model = CoeWorkSpaceDaoFactory.createCoeWorkSpace().getInstance(wsuuid);
|
||||
macroLibraries.put("sid", me.getSessionId());
|
||||
macroLibraries.put("wsuuid", wsuuid);
|
||||
// 资产库去掉了版本号,已不做多版本
|
||||
@ -203,6 +203,16 @@ public class CoEPALController {
|
||||
return web.getManageMethodData();
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存形状定义描述
|
||||
* @return
|
||||
*/
|
||||
@Mapping("com.actionsoft.apps.coe.pal_pl_manage_method_object_desc_save")
|
||||
public String coePalPlManageMethodObjectDescSave(UserContext me, String shapeName, String desc, String methodId) {
|
||||
PalManageWeb web = new PalManageWeb(me);
|
||||
return web.saveMethodObjectDesc(shapeName, desc, methodId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 建模方法->查询特定建模方法的形状定义数据
|
||||
* @param me
|
||||
@ -1331,7 +1341,7 @@ public class CoEPALController {
|
||||
@Deprecated
|
||||
@Mapping("com.actionsoft.apps.coe.pal_processlevel_query_check")
|
||||
public String coePALPROCESSLEVELQUERYCHECK(UserContext me, String uuid) {
|
||||
PALRepositoryModel coeProcessLevelModel = (PALRepositoryModel) CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
PALRepositoryModel coeProcessLevelModel = CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
return coeProcessLevelModel != null ? uuid : "";
|
||||
}
|
||||
|
||||
|
||||
@ -418,24 +418,26 @@ public class PalManageWeb extends ActionWeb {
|
||||
tempSchema = replaceTextEPC(tempSchema);
|
||||
List<String> list = getSchemaToJson(tempSchema);
|
||||
String type = I18nRes.findValue(CoEConstant.APP_ID, methodId.split("\\.")[0]);
|
||||
// 建模对象描述
|
||||
JSONObject methodObjectDesc = SDK.getAppAPI().getPropertyJSONObjectValue(CoEConstant.APP_ID, "METHOD_OBJECT_DESC", new JSONObject());
|
||||
JSONArray data = new JSONArray();
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
String s = list.get(i);
|
||||
String name = "";
|
||||
String title = "";
|
||||
if (s.contains("name:\"")) {
|
||||
s = s.substring(s.indexOf("name:\""), s.length());
|
||||
s = s.substring(s.indexOf("name:\""));
|
||||
name = s.substring(s.indexOf("name:\"") + 6, s.indexOf("\","));
|
||||
} else {
|
||||
s = s.substring(s.indexOf("name:"), s.length());
|
||||
s = s.substring(s.indexOf("name:"));
|
||||
name = s.substring(s.indexOf("name:") + 5, s.indexOf("\","));
|
||||
}
|
||||
|
||||
if (s.contains("title:\"")) {
|
||||
s = s.substring(s.indexOf("title:\""), s.length());
|
||||
s = s.substring(s.indexOf("title:\""));
|
||||
title = s.substring(s.indexOf("title:\"") + 7, s.indexOf("\","));
|
||||
} else {
|
||||
s = s.substring(s.indexOf("title:"), s.length());
|
||||
s = s.substring(s.indexOf("title:"));
|
||||
title = s.substring(s.indexOf("title:") + 6, s.indexOf(","));
|
||||
}
|
||||
if ("Participant".equals(title) || "VerticalSeparatorBar".equals(title) || "verticalSeparatorBar".equals(name) || "horizontalSeparatorBar".equals(name)) {
|
||||
@ -452,6 +454,12 @@ public class PalManageWeb extends ActionWeb {
|
||||
obj.put("modelId", methodId);
|
||||
obj.put("type", type);
|
||||
obj.put("showShapeConfig", !name.equals("horizontalSeparator") && !name.equals("verticalSeparator"));
|
||||
// 描述信息查询
|
||||
String desc = "";
|
||||
if (methodObjectDesc.containsKey(methodId) && methodObjectDesc.getJSONObject(methodId).containsKey(name) && methodObjectDesc.getJSONObject(methodId).getJSONObject(name).containsKey("desc")) {
|
||||
desc = methodObjectDesc.getJSONObject(methodId).getJSONObject(name).getString("desc");
|
||||
}
|
||||
obj.put("desc", desc);
|
||||
data.add(obj);
|
||||
}
|
||||
ro.put("data", data);
|
||||
@ -1410,4 +1418,25 @@ public class PalManageWeb extends ActionWeb {
|
||||
return HtmlPageTemplate.merge(CoEConstant.APP_ID, template, map);
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存形状定义描述
|
||||
* @param shapeName 形状name
|
||||
* @param desc 形状定义描述
|
||||
* @param methodId 建模方法
|
||||
* @return
|
||||
*/
|
||||
public String saveMethodObjectDesc(String shapeName, String desc, String methodId) {
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
desc = desc == null ? "" : desc.trim();
|
||||
JSONObject methodObjectDesc = SDK.getAppAPI().getPropertyJSONObjectValue(CoEConstant.APP_ID, "METHOD_OBJECT_DESC", new JSONObject());
|
||||
if (!methodObjectDesc.containsKey(methodId)) {
|
||||
methodObjectDesc.put(methodId, new JSONObject());
|
||||
}
|
||||
if (!methodObjectDesc.getJSONObject(methodId).containsKey(shapeName)) {
|
||||
methodObjectDesc.getJSONObject(methodId).put(shapeName, new JSONObject());
|
||||
}
|
||||
methodObjectDesc.getJSONObject(methodId).getJSONObject(shapeName).put("desc", desc);
|
||||
SDK.getAppAPI().setProperty(CoEConstant.APP_ID, "METHOD_OBJECT_DESC", methodObjectDesc.toString());
|
||||
return ro.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@ -901,7 +901,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if ("control.kpi".equals(methodId) && methodScope.equals(methodId)) {
|
||||
//根据ID去查 是否有关联管流程
|
||||
String tmpId = node.getString("id");
|
||||
String sql = "select FILEID from APP_ACT_COE_PAL_SHAPE_RLAT where ATTRID='lcjx' and RELATIONFILEID='%s'";
|
||||
String sql = "select FILEID from APP_ACT_COE_PAL_SHAPE_RLAT where ATTRID='Process_performance_metrics' and RELATIONFILEID='%s'";
|
||||
String reId = DBSql.getString(String.format(sql, tmpId));
|
||||
//还要判断是不是当前流程
|
||||
if (!reId.isEmpty() && !ruuid.equals(reId)) {
|
||||
@ -1097,7 +1097,7 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
if ("control.kpi".equals(methodId) && methodScope.equals(methodId)) {
|
||||
//根据ID去查 是否有关联管流程
|
||||
String tmpId = node.getString("id");
|
||||
String sql = "select FILEID from APP_ACT_COE_PAL_SHAPE_RLAT where ATTRID='lcjx' and RELATIONFILEID='%s'";
|
||||
String sql = "select FILEID from APP_ACT_COE_PAL_SHAPE_RLAT where ATTRID='Process_performance_metrics' and RELATIONFILEID='%s'";
|
||||
String reId = DBSql.getString(String.format(sql, tmpId));
|
||||
//还要判断是不是当前流程
|
||||
if (!reId.isEmpty() && !ruuid.equals(reId)) {
|
||||
|
||||
@ -5,6 +5,7 @@ import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.sql.Timestamp;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
@ -183,11 +184,11 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
try {
|
||||
int size = myArray.size();
|
||||
for (i = 0; i < size; i++) {
|
||||
uid = myArray.get(i).toString();
|
||||
uid = myArray.get(i);
|
||||
if (uid.trim().equals(""))
|
||||
continue;
|
||||
uid = SDK.getORGAPI().getUserId(uid);
|
||||
UserModel model = (UserModel) UserCache.getModel(uid);
|
||||
UserModel model = UserCache.getModel(uid);
|
||||
String name = uid;
|
||||
if (model != null) {
|
||||
name = model.getUserName();
|
||||
@ -461,7 +462,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
if (!plModel.isPublish() && !isView && !plModel.isStop() && !plModel.isApproval()) {
|
||||
CoeListenCacheManager manager = CoeListenCacheManager.getInstance();
|
||||
Map<String, ListenClient> listenClients = manager.getCollaborationUsers(rUUID);
|
||||
StringBuilder userPhoto = new StringBuilder("");
|
||||
StringBuilder userPhoto = new StringBuilder();
|
||||
int userNum = 1;
|
||||
if (listenClients != null) {
|
||||
for (ListenClient listenClient : listenClients.values()) {
|
||||
@ -502,11 +503,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
UtilFile utilFile = new UtilFile(p + "/" + plModel.getId() + ".png");
|
||||
if (utilFile.exists()) {
|
||||
byte[] base64Bytes = Base64.encode(utilFile.readBytes());
|
||||
try {
|
||||
diagram = "data:image/png;base64," + new String(base64Bytes, "UTF-8");
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
diagram = "data:image/png;base64," + new String(base64Bytes, StandardCharsets.UTF_8);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -604,6 +601,8 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
}
|
||||
// 帮助工具栏扩展
|
||||
getHelptoolExtUrl(macroLibraries);
|
||||
// 图形描述
|
||||
getMethodObjectDesc(macroLibraries);
|
||||
// 操作行为日志记录
|
||||
if (SDK.getAppAPI().getPropertyBooleanValue(CoEConstant.APP_ID, "IS_RECORD_OP_LOG", false)) {
|
||||
CoEOpLogAPI.auditOkOp(_uc, CoEOpLogConst.MODULE_CATEGORY_REPOSITORY, CoEOpLogConst.OP_ACCESS, CoEOpLogConst.INFO_REPOSITORY_ACCESS);
|
||||
@ -624,6 +623,27 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取形状描述定义
|
||||
* @param macroLibraries
|
||||
*/
|
||||
private void getMethodObjectDesc(Map<String, Object> macroLibraries) {
|
||||
JSONObject result = new JSONObject();
|
||||
JSONObject methodObjectDesc = SDK.getAppAPI().getPropertyJSONObjectValue(CoEConstant.APP_ID, "METHOD_OBJECT_DESC", new JSONObject());
|
||||
for (String methodId : methodObjectDesc.keySet()) {
|
||||
for (String shapeName : methodObjectDesc.getJSONObject(methodId).keySet()) {
|
||||
JSONObject shapeObj = methodObjectDesc.getJSONObject(methodId).getJSONObject(shapeName);
|
||||
if (shapeObj.containsKey("desc")) {
|
||||
String desc = shapeObj.getString("desc");
|
||||
if (desc != null && !"".equals(desc.trim())) {
|
||||
result.put(methodId + '-' + shapeName, desc);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
macroLibraries.put("methodObjectDesc", result);
|
||||
}
|
||||
|
||||
/**
|
||||
* 帮助工具栏扩展
|
||||
* @param macroLibraries
|
||||
@ -733,11 +753,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
e.printStackTrace();
|
||||
}
|
||||
byte[] base64Bytes = Base64.encode(utilFile.readBytes());
|
||||
try {
|
||||
diagram = "data:image/png;base64," + new String(base64Bytes, "UTF-8");
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
diagram = "data:image/png;base64," + new String(base64Bytes, StandardCharsets.UTF_8);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -913,7 +929,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
macroLibraries.put("checkouttime", UtilDate.getAliasDatetime(DesignerFileUtil.getCheckOutTime(appId, processDefId)));
|
||||
macroLibraries.put("checkoutip", DesignerFileUtil.getCheckOutIP(appId, processDefId));
|
||||
macroLibraries.put("user", getContext().getUID());
|
||||
UserModel model = (UserModel) UserCache.getModel(getContext().getUID());
|
||||
UserModel model = UserCache.getModel(getContext().getUID());
|
||||
macroLibraries.put("currentUserName", model.getUserName());
|
||||
}
|
||||
|
||||
@ -1441,7 +1457,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
|
||||
public JSONArray getHistoryDataJson(String uuid) {
|
||||
JSONArray historyJson = new JSONArray();
|
||||
PALRepositoryModel plModel = (PALRepositoryModel) CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
PALRepositoryModel plModel = CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
if (!"".equals(plModel.getFilePath())) {
|
||||
CoeFile jsonUtil = new CoeFile();
|
||||
historyJson = jsonUtil.getHistoryJsonData(plModel.getFilePath());
|
||||
@ -1462,7 +1478,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
JSONObject json = new JSONObject();
|
||||
JSONArray versions = getHistoryDataJson(uuid);
|
||||
JSONObject users = new JSONObject();
|
||||
UserModel model = (UserModel) UserCache.getModel(getContext().getUID());
|
||||
UserModel model = UserCache.getModel(getContext().getUID());
|
||||
users.put(getContext().getUID(), model.getUserName());
|
||||
json.put("users", users);
|
||||
json.put("versions", versions);
|
||||
@ -1561,7 +1577,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
* @deprecated
|
||||
*/
|
||||
private Map<String, String> updateCPShapes(String olduuid, String uuId, String define) {
|
||||
PALRepositoryModel levelModel = (PALRepositoryModel) CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuId);
|
||||
PALRepositoryModel levelModel = CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuId);
|
||||
String filePath = levelModel.getFilePath();
|
||||
filePath = filePath + File.separator + levelModel.getId();
|
||||
UtilFile utilFile = new UtilFile(filePath);
|
||||
@ -1582,11 +1598,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
}
|
||||
}
|
||||
if (list.size() > 0 && updateShapes(list, uuId)) {
|
||||
try {
|
||||
utilFile.write(messageJson.getBytes("utf-8"));
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
utilFile.write(messageJson.getBytes(StandardCharsets.UTF_8));
|
||||
}
|
||||
DesignerRelationShapeCacheManager cache = DesignerRelationShapeCacheManager.getInstance();
|
||||
Map<String, Set<JSONObject>> shapeMap = cache.getEventMap();
|
||||
@ -1691,7 +1703,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
if (uuid.indexOf("obj_") == 0) {
|
||||
photo = "data:image/png;base64," + BPMNIO.getBPMNImage( ProcessDefCache.getInstance().getModel(uuid).getAppId(), uuid);
|
||||
} else {
|
||||
PALRepositoryModel cplm = (PALRepositoryModel) CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
PALRepositoryModel cplm = CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
if (cplm != null) {
|
||||
PALRepositoryQueryAPIManager.getInstance().checkImage(cplm.getId(), true, false);// 生成图片
|
||||
String path = cplm.getFilePath();
|
||||
@ -1699,11 +1711,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
UtilFile utilFile = new UtilFile(path + "/" + cplm.getId() + ".png");
|
||||
if (utilFile.exists()) {
|
||||
byte[] base64Bytes = Base64.encode(utilFile.readBytes());
|
||||
try {
|
||||
photo = "data:image/png;base64," + new String(base64Bytes, "UTF-8");
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
photo = "data:image/png;base64," + new String(base64Bytes, StandardCharsets.UTF_8);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1846,7 +1854,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
FileOutputStream fos = null;
|
||||
try {
|
||||
fos = new FileOutputStream(exportFile);
|
||||
fos.write(buffer.toString().getBytes("UTF-8"));
|
||||
fos.write(buffer.toString().getBytes(StandardCharsets.UTF_8));
|
||||
fos.flush();
|
||||
fos.close();
|
||||
} catch (IOException e) {
|
||||
@ -1913,7 +1921,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
FileOutputStream fos = null;
|
||||
try {
|
||||
fos = new FileOutputStream(exportFile);
|
||||
fos.write(JSON.toJSONString(object).getBytes("UTF-8"));
|
||||
fos.write(JSON.toJSONString(object).getBytes(StandardCharsets.UTF_8));
|
||||
fos.flush();
|
||||
fos.close();
|
||||
} catch (IOException e) {
|
||||
@ -1935,7 +1943,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
e.printStackTrace();
|
||||
}
|
||||
} else {
|
||||
PALRepositoryModel cplm = (PALRepositoryModel) CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
PALRepositoryModel cplm = CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
if (cplm == null) throw new AWSException("流程未找到 " + uuid);
|
||||
PALRepositoryQueryAPIManager.getInstance().checkImage(cplm.getId(), true, true);// 生成图片
|
||||
String path = cplm.getFilePath();
|
||||
@ -2052,7 +2060,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
if (!pdfDir.exists()) {
|
||||
pdfDir.mkdirs();
|
||||
}
|
||||
String date = new SimpleDateFormat("yyyyMMdd").format(new Date()).toString();
|
||||
String date = new SimpleDateFormat("yyyyMMdd").format(new Date());
|
||||
/*File [] pdfFiles = pdfDir.listFiles(new MyFilenameFilter(date));
|
||||
int maxNo = 0;
|
||||
if (pdfFiles != null && pdfFiles.length > 0) {
|
||||
@ -2214,7 +2222,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
if (isAdmin) {
|
||||
shapes.append(methodModel.getSchema()).append("\r\n");
|
||||
} else {
|
||||
shapes.append(schema.substring(0, schema.indexOf("Schema.addShape"))).append("\r\n");
|
||||
shapes.append(schema, 0, schema.indexOf("Schema.addShape")).append("\r\n");
|
||||
}
|
||||
if (methodModel.getCustomSchema() != null) {
|
||||
shapes.append(methodModel.getCustomSchema()).append("\r\n");
|
||||
@ -2457,7 +2465,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
newSchemas[i] = "";
|
||||
}
|
||||
}
|
||||
oldSchema = new StringBuilder("");
|
||||
oldSchema = new StringBuilder();
|
||||
for (int i = 0; i < newSchemas.length; i++) {
|
||||
if (!"".equals(newSchemas[i])) {
|
||||
oldSchema.append("Schema.addShape").append(newSchemas[i]).append("\n\r");
|
||||
@ -2465,17 +2473,11 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
}
|
||||
|
||||
}
|
||||
try {
|
||||
// 写入新模板
|
||||
schema = schema.replaceAll("\\\\t\\\\n", "\t\n").replaceAll("\\\\", "");
|
||||
schema = "Schema.addShape(" + schema + ");\n\r";
|
||||
oldSchema.append(schema);
|
||||
file.write(oldSchema.toString().getBytes("UTF-8"));
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
ro = ResponseObject.newErrResponse();
|
||||
return ro.toString();
|
||||
}
|
||||
// 写入新模板
|
||||
schema = schema.replaceAll("\\\\t\\\\n", "\t\n").replaceAll("\\\\", "");
|
||||
schema = "Schema.addShape(" + schema + ");\n\r";
|
||||
oldSchema.append(schema);
|
||||
file.write(oldSchema.toString().getBytes(StandardCharsets.UTF_8));
|
||||
|
||||
// 更新缓存
|
||||
PALMethodModel palMethodModel = PALMethodCache.getPALMethodModelMap().get(methodId);
|
||||
@ -2525,19 +2527,15 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
newSchemas[i] = "";
|
||||
}
|
||||
}
|
||||
StringBuilder oldSchema = new StringBuilder("");
|
||||
StringBuilder oldSchema = new StringBuilder();
|
||||
for (int i = 0; i < newSchemas.length; i++) {
|
||||
if (!"".equals(newSchemas[i])) {
|
||||
oldSchema.append("Schema.addShape").append(newSchemas[i]).append("\n\r");
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
// 重新写入文件
|
||||
file.write(oldSchema.toString().getBytes("UTF-8"));
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
// 重新写入文件
|
||||
file.write(oldSchema.toString().getBytes(StandardCharsets.UTF_8));
|
||||
|
||||
// 重新加载缓存
|
||||
PALMethodModel palMethodModel = PALMethodCache.getPALMethodModelMap().get(methodId);
|
||||
@ -3065,7 +3063,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
Set<String> ids = new HashSet<>();
|
||||
sb.append(plModel.getName());
|
||||
ids.add(plModel.getId());
|
||||
getFilePath(sb, ids, (PALRepositoryModel)plModel);
|
||||
getFilePath(sb, ids, plModel);
|
||||
macroLibraries.put("toolbarName", sb.toString());
|
||||
|
||||
List<String> shapeIds = new ArrayList<>();// 当前流程所有节点
|
||||
@ -3309,7 +3307,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
return null;
|
||||
}
|
||||
if (uuid != null && !"".equals(uuid)) {
|
||||
PALRepositoryModel m = (PALRepositoryModel) CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
PALRepositoryModel m = CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(uuid);
|
||||
PALMethodModel palMethodModel = PALMethodCache.getPALMethodModelById(m.getMethodId());
|
||||
if (palMethodModel == null) {
|
||||
return null;
|
||||
@ -3646,7 +3644,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
*/
|
||||
public String deletePalDesignerVersion(String wsId, String teamId, String id) {
|
||||
ResponseObject ro;
|
||||
PALRepositoryModel plModel = (PALRepositoryModel) CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(id);
|
||||
PALRepositoryModel plModel = CoeProcessLevelDaoFacotory.createCoeProcessLevel().getInstance(id);
|
||||
List<PALRepositoryModel> list = new ArrayList<PALRepositoryModel>();
|
||||
list.add(plModel);
|
||||
CoeProcessRecycleWeb recycleWeb = new CoeProcessRecycleWeb(_uc);
|
||||
@ -3678,7 +3676,7 @@ public class CoeDesignerWeb extends ActionWeb {
|
||||
public String changePalDesignerVersionUse(String wsId, String teamId, String id) {
|
||||
int answer = 0;
|
||||
PALRepository repository = CoeProcessLevelDaoFacotory.createCoeProcessLevel();
|
||||
PALRepositoryModel lastPlModel = (PALRepositoryModel) repository.getInstance(id);
|
||||
PALRepositoryModel lastPlModel = repository.getInstance(id);
|
||||
answer = repository.updateStateOfVersionUuid(lastPlModel.getVersionId());// 更新所有的为0
|
||||
answer = repository.updateUseStateOfVersionUuid(lastPlModel.getId());// 更新当前版本为使用状态
|
||||
CoeProcessLevelNoCache.getInstance().reloadInBackground(lastPlModel.getWsId());
|
||||
|
||||
@ -700,6 +700,13 @@ public class CoeProcessLevelUtil {
|
||||
DesignerShapeRelationDao dao = new DesignerShapeRelationDao();
|
||||
List<DesignerShapeRelationModel> oldModelList = dao.getModelListByFileId(olduuid);
|
||||
for (DesignerShapeRelationModel oldModel : oldModelList) {
|
||||
//bybzp 如果图形是过程链图和BPMN图 则不复制流程绩效和角色
|
||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(uuId);
|
||||
String methodId = model.getMethodId();
|
||||
if("process.bpmn2,process.epc".contains(methodId) && "lcjx,role".contains(oldModel.getAttrId())){
|
||||
continue;
|
||||
}
|
||||
//by bzp end
|
||||
if (mapNewUUID.containsKey(oldModel.getShapeId())) {
|
||||
DesignerShapeRelationModel newModel = new DesignerShapeRelationModel();
|
||||
newModel.setId(UUIDGener.getUUID());
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=../apps/com.actionsoft.apps.coe.pal/main/favicon.ico><title>CoE PAL流程资产库</title><script src=../commons/awsui/js/icon.array.js></script><script>const settingParam = <#settingParam>;
|
||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=../apps/com.actionsoft.apps.coe.pal/main/favicon.ico><title>CoE PAL流程资产库</title><script src=../commons/awsui/js/icon.array.js></script><script>const settingParam =; <#settingParam>;
|
||||
const axiosBaseUrl = "./";
|
||||
const production = true;</script><script>var isNoticeActive = <#isNoticeActive>; //是否启用通知中心
|
||||
const production = true;</script><script>var isNoticeActive =; <#isNoticeActive>; //是否启用通知中心
|
||||
var notificationSoundTips = false; // 是否开启消息到达声音提醒
|
||||
var notificationMsgLoadFrequency = 60; // 通知消息检查频率
|
||||
var isSecurityPwdChange = <#isSecurityPwdChange>; // 是否允许用户修改口令
|
||||
var forceChangePwd = <#forceChangePwd>; // 默认口令验证,是否强制修改默认密码
|
||||
var isSecurityPwdComplexity = <#isSecurityPwdComplexity>; // 密码强度
|
||||
var securityMinPwdLength = <#securityMinPwdLength>; // 允许账户口令最小长度,0表示无限制
|
||||
var securityMaxPwdLength = <#securityMaxPwdLength>; // 允许账户口令最大长度,最多32位长度
|
||||
var isSecAdminUser = <#isSecAdminUser>;// 是否安全保密员,开启三员且该用户为安全保密员为true
|
||||
var isManage = <#isManage>;// 是否资产库管理员
|
||||
var isSecurityPwdChange =; <#isSecurityPwdChange>; // 是否允许用户修改口令
|
||||
var forceChangePwd =; <#forceChangePwd>; // 默认口令验证,是否强制修改默认密码
|
||||
var isSecurityPwdComplexity =; <#isSecurityPwdComplexity>; // 密码强度
|
||||
var securityMinPwdLength =; <#securityMinPwdLength>; // 允许账户口令最小长度,0表示无限制
|
||||
var securityMaxPwdLength =; <#securityMaxPwdLength>; // 允许账户口令最大长度,最多32位长度
|
||||
var isSecAdminUser =; <#isSecAdminUser>;// 是否安全保密员,开启三员且该用户为安全保密员为true
|
||||
var isManage =; <#isManage>;// 是否资产库管理员
|
||||
var mainType = "<#mainType>";
|
||||
var uid = "<#uid>";
|
||||
var wHref = "./w";
|
||||
var jdHref = "./jd";</script><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-00fc6489.ef94bb38.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-055385ac.e55cad48.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-0ba0316e.d3570084.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-4def56c4.ef0a5aa8.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-4e7e9573.38619268.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-5a76c238.283a9f57.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-6f1c20e8.c5c7126f.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-8cb92970.adde4cab.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-dd13ef3a.66cd3c5f.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-00fc6489.1d5ae77f.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-055385ac.212b1e7f.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-0ba0316e.a3ac659b.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0ab156.e3edaaa6.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0b25b0.3ebfc816.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0f078a.9e10275b.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d216d3a.99234111.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d224b23.135c5954.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d224ef1.7eee62fe.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-4def56c4.66811286.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-4e7e9573.db603cfd.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-5a76c238.27830c12.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-5ca06e36.1dd1e85a.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-6f1c20e8.c979e2d7.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-8cb92970.9380bd91.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-bf7921b8.1d6eee48.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-dd13ef3a.0bade222.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/app.b58aa8df.css rel=preload as=style><link href=../apps/com.actionsoft.apps.coe.pal/main/js/app.f669c4d9.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-vendors.16b2cce8.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal/main/css/app.b58aa8df.css rel=stylesheet></head><body style=margin:0;><div id=app></div><script src=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-vendors.16b2cce8.js></script><script src=../apps/com.actionsoft.apps.coe.pal/main/js/app.f669c4d9.js></script></body></html>
|
||||
var jdHref = "./jd";</script><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-08487bf0.283a9f57.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-1abee27b.c5c7126f.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-2933a75e.38619268.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-504ddaa7.6be74f48.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-591a3298.d3570084.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-6fb6e04f.adde4cab.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-9c63e2da.ef0a5aa8.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-cd54d348.e55cad48.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-d1d726a6.32b22b48.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-08487bf0.cef51ed5.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-1abee27b.ece13c73.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2933a75e.9a437059.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0ab156.ff2fa9d6.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0f078a.83ef78c0.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d212b99.89ae9070.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d216d3a.5867abf3.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d224b23.95cfdb5d.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d224ef1.11f3f0f4.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-3178e2bf.5207f0ae.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-3a9b7577.aa0dfa28.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-504ddaa7.befc1891.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-591a3298.d84f68c8.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-6fb6e04f.27eed2c2.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-9c63e2da.bf7cbc63.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-cd54d348.bcb4b27c.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-d1d726a6.02829f2f.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/app.20eb2063.css rel=preload as=style><link href=../apps/com.actionsoft.apps.coe.pal/main/js/app.35374fe1.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-vendors.351b7061.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal/main/css/app.20eb2063.css rel=stylesheet></head><body style=margin:0;><div id=app></div><script src=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-vendors.351b7061.js></script><script src=../apps/com.actionsoft.apps.coe.pal/main/js/app.35374fe1.js></script></body></html>
|
||||
@ -80,8 +80,6 @@
|
||||
<script type='text/javascript' charset='UTF-8' src='../apps/com.actionsoft.apps.coe.pal/lib/designer/scripts/util.js'></script>
|
||||
<!--扩展设计器的样式-->
|
||||
<link type='text/css' rel='stylesheet' href='../apps/com.actionsoft.apps.coe.pal/lib/designer/extend/css/designer.extend.css' />
|
||||
|
||||
|
||||
<!--针对设计器进行颜色扩展,以及文字扩充-->
|
||||
<script type='text/javascript' charset='UTF-8' src='../apps/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.userdefined.js'></script>
|
||||
<!-- <script type='text/javascript' charset='UTF-8' src='../apps/_bpm.platform/js/designer/extend/js/designer.extend.userdefined.js'></script>-->
|
||||
@ -90,7 +88,6 @@
|
||||
<script type="text/javascript" charset='UTF-8' src="../apps/com.actionsoft.apps.coe.pal/lib/designer/extend/js/util/json.js"></script>
|
||||
<script type="text/javascript" src="../commons/js/jquery/scripts/ui/aws.util.js"></script>
|
||||
<script type='text/javascript' src='../commons/js/public.js'></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
//公共信息
|
||||
var appId = "<#appId>";
|
||||
@ -293,7 +290,6 @@
|
||||
if (navigator.userAgent.toLowerCase().match(/chrome/) != null) {
|
||||
$(function() {
|
||||
$(".footer_chrome").show();
|
||||
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@ -2829,8 +2825,8 @@
|
||||
<iframe width="100%" id="upfile-content-iframe" name="upfile-content-iframe" frameBorder="0" style="width: 100%; height:100%;"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="visio_import_dlg" title="Visio导入" style="display: none;">
|
||||
|
||||
<div id="visio_import_dlg" title="Visio导入" style="display: none;">
|
||||
<table class="awsui-ux" cellspacing="3" cellpadding="0" style="width: 100%; margin: 25px auto;">
|
||||
<tr>
|
||||
<td style="width: 250px;"><input id="visio_import_input" type="text" placeholder="请上传visio文件..." class="awsui-input" readonly=true style="width: 240px;" /></td>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1722,5 +1722,9 @@
|
||||
<param name="uuids"/>
|
||||
<param name="isSub"/>
|
||||
</cmd-bean>
|
||||
|
||||
<cmd-bean name="com.actionsoft.apps.coe.pal_pl_manage_method_object_desc_save">
|
||||
<param name="shapeName"/>
|
||||
<param name="desc"/>
|
||||
<param name="methodId"/>
|
||||
</cmd-bean>
|
||||
</aws-actions>
|
||||
@ -200,7 +200,76 @@ $(function() {
|
||||
// saveTimer();
|
||||
intervalRefresh();
|
||||
}
|
||||
|
||||
|
||||
// 编号刷点击事件
|
||||
$('#bar_sort').off("click").on("click",function (){
|
||||
if ($("#saving_tip").text() != "已保存成功" && $("#saving_tip").text() != "保存成功" && $("#saving_tip").text() != "您的文件已经成功保存") {
|
||||
$.simpleAlert('页面未保存,请先保存', 'error', 1500);
|
||||
return;
|
||||
} else {
|
||||
// $.simpleAlert("正在编号", "loading");
|
||||
// $.ajax({
|
||||
// type: "POST",
|
||||
// url: "./jd",
|
||||
// data: {
|
||||
// sid: CLB.sid,
|
||||
// cmd: "com.actionsoft.apps.coe.pal_repository_process_define_save",
|
||||
// uuid: ruuid,
|
||||
// },
|
||||
// success: function (msg, textStatus, jqXHR) {
|
||||
// $.simpleAlert("close");
|
||||
// console.log(msg)
|
||||
// },
|
||||
// error: function (jqXHR, textStatus, errorThrown) {
|
||||
// $.simpleAlert("close");
|
||||
// $.simpleAlert('编号失败', 'error', 1500);
|
||||
// }
|
||||
// })
|
||||
let numObj = {
|
||||
brushId: 'number_brush',
|
||||
orderList: [
|
||||
{ shapeId: 'obj_c9e1cda208700001132717c019b9a350',order: 1},
|
||||
{ shapeId: 'obj_c9e1cda2b8a000013b42e5f045db1f01',order: 2},
|
||||
{ shapeId: 'obj_c9e1cda4ac10000164dd6bb015406b40',order: 3},
|
||||
{ shapeId: 'obj_c9e1cda3109000015741104116a918a8',order: 4},
|
||||
{ shapeId: 'obj_c9e1cdab200000014a2eade016e8170d',order: 5},
|
||||
{ shapeId: 'obj_c9e1cdb266f0000159a7c8afa7701a68',order: 6},
|
||||
]
|
||||
}
|
||||
let obj = Model.define
|
||||
console.log(obj)
|
||||
let elements = obj.elements
|
||||
let orderList = numObj.orderList
|
||||
for (let j = 0; j < orderList.length; j++) {
|
||||
for(let i in elements) {
|
||||
if (orderList[j].shapeId == i) {
|
||||
for(let a = 0; a < elements[i].dataAttributes.length; a ++ ) {
|
||||
if(elements[i].dataAttributes[a].attributesJsonArray !== undefined) {
|
||||
for(let b = 0; b < elements[i].dataAttributes[a].attributesJsonArray.length; b ++) {
|
||||
if(elements[i].dataAttributes[a].attributesJsonArray[b].id == numObj.brushId) {
|
||||
elements[i].dataAttributes[a].attributesJsonArray[b].value = orderList[j].order
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// for(let i in elements) {
|
||||
// for(let a = 0; a < elements[i].dataAttributes.length; a ++ ) {
|
||||
// if(elements[i].dataAttributes[a].attributesJsonArray !== undefined) {
|
||||
// for(let b = 0; b < elements[i].dataAttributes[a].attributesJsonArray.length; b ++) {
|
||||
// if(elements[i].dataAttributes[a].attributesJsonArray[b].id == 'number_brush') {
|
||||
// elements[i].dataAttributes[a].attributesJsonArray[b].value = 24
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
$("#saving_tip").css("color", "rgb(255, 0, 0)");
|
||||
$("#saving_tip").text("文件已修改,未保存");
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
|
||||
@ -363,6 +363,13 @@ height: 25px;
|
||||
padding:0 5px;
|
||||
white-space: normal;
|
||||
}
|
||||
.diffTableTbody tr td{
|
||||
border:1px solid #ccc;
|
||||
padding:5px;
|
||||
white-space: normal;
|
||||
min-height: 25px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.dialogTableTbody tr td{
|
||||
color: #666666;
|
||||
border:1px solid #ccc;
|
||||
|
||||
@ -196,7 +196,19 @@ var Designer = {
|
||||
return
|
||||
}
|
||||
var h = $("#shape_thumb");
|
||||
h.children("div").text(b.title);
|
||||
var title = b.title;
|
||||
var category = b.category;
|
||||
if (b.category == "bpmn") {
|
||||
category = 'process_bpmn2';
|
||||
}
|
||||
if (category == 'lane') {
|
||||
category = methodId;
|
||||
}
|
||||
category = category.replace(/_/g,".");
|
||||
if (methodObjectDesc[category + '-' + b.name]) {
|
||||
title += (':' + methodObjectDesc[category + '-' + b.name]);
|
||||
}
|
||||
h.children("div").text(title);
|
||||
var j = h.children("canvas")[0].getContext("2d");
|
||||
var A = {
|
||||
x: 0,
|
||||
@ -3268,7 +3280,20 @@ var Designer = {
|
||||
continue;
|
||||
}
|
||||
if (r.attribute.visible) {
|
||||
var u = $("<div class='panel_box' shapeName='" + y + "'><canvas title='" + r.title + "' title_pos='right' width='" + (Designer.config.panelItemWidth) + "' height='" + (Designer.config.panelItemHeight) + "'></canvas></div>").appendTo(s);
|
||||
var title = r.title;
|
||||
var category = r.category;
|
||||
if (r.category == "bpmn") {
|
||||
category = 'process_bpmn2';
|
||||
}
|
||||
category = category.replace(/_/g,".");
|
||||
if (category == 'lane') {
|
||||
category = methodId;
|
||||
}
|
||||
if (methodObjectDesc[category + '-' + r.name]) {
|
||||
title += (':' + methodObjectDesc[category + '-' + r.name]);
|
||||
}
|
||||
|
||||
var u = $("<div class='panel_box' shapeName='" + y + "'><canvas title='" + title + "' title_pos='right' width='" + (Designer.config.panelItemWidth) + "' height='" + (Designer.config.panelItemHeight) + "'></canvas></div>").appendTo(s);
|
||||
var x = u.children("canvas")[0];
|
||||
Designer.painter.drawPanelItem(x, r.name)
|
||||
}
|
||||
@ -6046,7 +6071,7 @@ var Utils = {
|
||||
shape: am
|
||||
};
|
||||
at.push(al);
|
||||
continue
|
||||
|
||||
} else {
|
||||
if (this.pointInRect(am.from.x.toScale(), am.from.y.toScale(), ae)) {
|
||||
var al = {
|
||||
@ -6055,7 +6080,7 @@ var Utils = {
|
||||
shape: am
|
||||
};
|
||||
at.push(al);
|
||||
continue
|
||||
|
||||
} else {
|
||||
var aj = i.find(".text_canvas");
|
||||
var ah = aj.position();
|
||||
@ -6087,7 +6112,7 @@ var Utils = {
|
||||
pointIndex: ag
|
||||
};
|
||||
at.push(al);
|
||||
continue
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -6182,9 +6207,9 @@ var Utils = {
|
||||
shape: am
|
||||
};
|
||||
at.push(al);
|
||||
continue
|
||||
|
||||
} else {
|
||||
continue
|
||||
|
||||
}
|
||||
} else {
|
||||
var al = {
|
||||
@ -6192,7 +6217,7 @@ var Utils = {
|
||||
shape: am
|
||||
};
|
||||
at.push(al);
|
||||
continue
|
||||
|
||||
}
|
||||
} else {
|
||||
if (!am.attribute || typeof am.attribute.linkable == "undefined" || am.attribute.linkable) {
|
||||
@ -6255,7 +6280,7 @@ var Utils = {
|
||||
}
|
||||
if (al != null) {
|
||||
at.push(al);
|
||||
continue
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -3042,6 +3042,82 @@ var Dock = {
|
||||
}
|
||||
});
|
||||
}
|
||||
else if(this.currentView == 'diff') {
|
||||
// var html = "<div style=\"font-size: 16px; color: #aaa; text-align: center; vertical-align: middle; line-height: 200px;\">暂无版本差异</div>";
|
||||
var html = ''
|
||||
var diffContent = [
|
||||
{
|
||||
versionName: 'Ver 2.0',
|
||||
updateTime: '5月19日 16:00',
|
||||
updateContent: [
|
||||
{
|
||||
title: '文件修改:',
|
||||
detail: ['[内容]增加了111111111111111111','[责任部门]增加了11111111111111111']
|
||||
},
|
||||
{
|
||||
title: '节点修改:',
|
||||
detail: ['删除[开始事件]节点','删除[开始]节点','删除[人工]节点']
|
||||
},
|
||||
{
|
||||
title: '[文件]删除11111111111',
|
||||
detail: []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
versionName: 'Ver 1.0',
|
||||
updateTime: '5月14日 15:00',
|
||||
updateContent: [
|
||||
{
|
||||
title: '文件修改',
|
||||
detail: ['[内容]增加了111111111111 ',]
|
||||
},
|
||||
{
|
||||
title: '节点修改',
|
||||
detail: ['删除[开始事件]节点','删除[开始]节点','删除[人工]节点','删除[结束]节点']
|
||||
},
|
||||
{
|
||||
title: '[制度]增加了11111111111111',
|
||||
detail: []
|
||||
},
|
||||
{
|
||||
title: '[文件]删除了11111111111',
|
||||
detail: []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
for (var i = 0; i < diffContent.length; i++) {
|
||||
var diffCount = 0
|
||||
var content = diffContent[i].updateContent
|
||||
var diffListHtml = ''
|
||||
for (var j = 0; j < content.length; j++) {
|
||||
var diffDetailHtml = ''
|
||||
var listDetail = content[j].detail
|
||||
if (listDetail.length == 0) {
|
||||
diffCount +=1
|
||||
}
|
||||
for (var k = 0; k < listDetail.length; k++) {
|
||||
diffCount +=1
|
||||
diffDetailHtml += '<div style="margin-left: 10px">' + '·' +listDetail[k]+'</div>'
|
||||
}
|
||||
diffListHtml += '<div>' + content[j].title +'</div>'
|
||||
+ '<div>'+diffDetailHtml+'</div>'
|
||||
|
||||
}
|
||||
html += '<tr>'
|
||||
+ '<td style="width:50px;">' + diffContent[i].versionName + '</td>'
|
||||
+ '<td style="width:250px">' + diffContent[i].updateTime + '<span style="padding-left: 10px">' + '(' + diffCount + '处修改)' + '</span>' + '</td>'
|
||||
+ '</tr>'
|
||||
+ '<tr>'
|
||||
+ '<td style="width:50px"></td>'
|
||||
+ '<td style="width:250px">' + diffListHtml + '</td>'
|
||||
+ '</tr>'
|
||||
|
||||
}
|
||||
$("#diffTable").empty().html(html)
|
||||
|
||||
}
|
||||
if (this.currentView == "history") {
|
||||
if (drawNav && Dock.historyVersions == null) {
|
||||
this.loadHistorys();
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -147,6 +147,9 @@ html{
|
||||
.ico.redo{
|
||||
background-position: -20px 0px;
|
||||
}
|
||||
.ico.sort{
|
||||
background-position: 1px -637px;
|
||||
}
|
||||
.ico.brush{
|
||||
background-position: -20px -20px;
|
||||
}
|
||||
@ -284,6 +287,9 @@ html{
|
||||
.ico_link{
|
||||
background-position: -20px -420px;
|
||||
}
|
||||
.ico_dock_diff {
|
||||
background-position: -20px -440px;
|
||||
}
|
||||
.ico_risk{
|
||||
background-position: -40px -620px;
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 18 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ab156"],{1485:function(a,t,e){"use strict";e.r(t);var i=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticStyle:{width:"100%",height:"100%"}},[e("iframe",{staticStyle:{border:"0"},attrs:{id:"iframe",width:"100%",height:"100%",name:"iframe",src:a.src}})])},n=[],s={name:"MappingManagement",data(){return{src:"./w?sid="+this.$store.state.sessionId+"&cmd=com.actionsoft.apps.coe.pal.mappingmanagement_main_page&dataType="+this.$route.params.dataType}}},r=s,c=e("cba8"),p=Object(c["a"])(r,i,n,!1,null,"56fd105e",null);t["default"]=p.exports}}]);
|
||||
@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ab156"],{1485:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticStyle:{width:"100%",height:"100%"}},[e("iframe",{staticStyle:{border:"0"},attrs:{id:"iframe",width:"100%",height:"100%",name:"iframe",src:t.src}})])},i=[],s={name:"MappingManagement",data:function(){return{src:"./w?sid="+this.$store.state.sessionId+"&cmd=com.actionsoft.apps.coe.pal.mappingmanagement_main_page&dataType="+this.$route.params.dataType}}},r=s,c=e("2877"),p=Object(c["a"])(r,n,i,!1,null,"56fd105e",null);a["default"]=p.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f078a"],{"9d09":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{width:"100%",height:t.mainHeight}},[i("iframe",{staticStyle:{border:"0"},attrs:{id:"orgIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"orgIframe",src:t.src}})])},s=[],r={name:"BPMOrg",data:function(){return{src:"./w?sid="+this.$store.state.sessionId+"&cmd=com.actionsoft.apps.coe.pal_average_user_org",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight:function(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},a=r,o=i("2877"),c=Object(o["a"])(a,n,s,!1,null,"2280cc48",null);e["default"]=c.exports}}]);
|
||||
@ -1 +0,0 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f078a"],{"9d09":function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{width:"100%",height:t.mainHeight}},[i("iframe",{staticStyle:{border:"0"},attrs:{id:"orgIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"orgIframe",src:t.src}})])},n=[],a={name:"BPMOrg",data(){return{src:"./w?sid="+this.$store.state.sessionId+"&cmd=com.actionsoft.apps.coe.pal_average_user_org",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},r=a,o=i("cba8"),h=Object(o["a"])(r,s,n,!1,null,"2280cc48",null);e["default"]=h.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216d3a"],{c3b6:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{width:"100%",height:t.mainHeight},attrs:{id:"cooperation"}},[i("iframe",{staticStyle:{border:"0"},attrs:{id:"coopIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"coopIframe",src:t.src}})])},a=[],o={name:"cooperationCreate",data:function(){return{src:wHref+"?sid="+this.$store.state.sessionId+"&mainPage=create&cmd=com.actionsoft.apps.coe.pal.cooperation_main",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight:function(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},s=o,r=i("2877"),c=Object(r["a"])(s,n,a,!1,null,"6a826a48",null);e["default"]=c.exports}}]);
|
||||
@ -1 +0,0 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216d3a"],{c3b6:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{width:"100%",height:t.mainHeight},attrs:{id:"cooperation"}},[i("iframe",{staticStyle:{border:"0"},attrs:{id:"coopIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"coopIframe",src:t.src}})])},n=[],s={name:"cooperationCreate",data(){return{src:wHref+"?sid="+this.$store.state.sessionId+"&mainPage=create&cmd=com.actionsoft.apps.coe.pal.cooperation_main",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},r=s,o=i("cba8"),c=Object(o["a"])(r,a,n,!1,null,"6a826a48",null);e["default"]=c.exports}}]);
|
||||
@ -1 +0,0 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224b23"],{e0df:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{width:"100%",height:t.mainHeight},attrs:{id:"cooperationUpdate"}},[i("iframe",{staticStyle:{border:"0"},attrs:{id:"coopIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"coopIframe",src:t.src}})])},n=[],s={name:"CooperationUpdate",data(){return{src:wHref+"?sid="+this.$store.state.sessionId+"&mainPage=update&cmd=com.actionsoft.apps.coe.pal.cooperation_main",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},o=s,r=i("cba8"),p=Object(r["a"])(o,a,n,!1,null,"543345d8",null);e["default"]=p.exports}}]);
|
||||
@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224b23"],{e0df:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{width:"100%",height:t.mainHeight},attrs:{id:"cooperationUpdate"}},[i("iframe",{staticStyle:{border:"0"},attrs:{id:"coopIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"coopIframe",src:t.src}})])},a=[],o={name:"CooperationUpdate",data:function(){return{src:wHref+"?sid="+this.$store.state.sessionId+"&mainPage=update&cmd=com.actionsoft.apps.coe.pal.cooperation_main",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight:function(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},s=o,r=i("2877"),p=Object(r["a"])(s,n,a,!1,null,"543345d8",null);e["default"]=p.exports}}]);
|
||||
@ -1 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224ef1"],{e1f5:function(e,s,t){"use strict";t.r(s);var n=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"devGetSession"},[e._v(" 正在获取session ")])},a=[],d=t("a18c"),o=t("0f08"),i=t("4360");o["a"].post({url:"jd",data:{userid:devUserInfo.userid,pwd:devUserInfo.pwd,lang:"cn",cmd:"com.actionsoft.apps.getsession.get",deviceType:"pc"}}).then((function(e){"error"==e.result?alert("获取session错误:"+e.msg):(i["a"].commit("edit",{sessionId:e.data.sid}),d["a"].replace("/"))}));var r={data(){return{dwList:[]}},methods:{},mounted(){}},c=r,u=t("cba8"),l=Object(u["a"])(c,n,a,!1,null,null,null);s["default"]=l.exports}}]);
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224ef1"],{e1f5:function(e,s,t){"use strict";t.r(s);var n=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"devGetSession"},[e._v(" 正在获取session ")])},a=[],o=t("a18c"),d=t("0f08"),i=t("4360");d["a"].post({url:"jd",data:{userid:devUserInfo.userid,pwd:devUserInfo.pwd,lang:"cn",cmd:"com.actionsoft.apps.getsession.get",deviceType:"pc"}}).then((function(e){"error"==e.result?alert("获取session错误:"+e.msg):(i["a"].commit("edit",{sessionId:e.data.sid}),o["a"].replace("/"))}));var c={data:function(){return{dwList:[]}},methods:{},mounted:function(){}},r=c,u=t("2877"),l=Object(u["a"])(r,n,a,!1,null,null,null);s["default"]=l.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user