Compare commits
3 Commits
apps_dev_y
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 733bc67aea | |||
| c47556076d | |||
| 31f7b89429 |
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/aws"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>SynUser</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@ -1,12 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.release=disabled
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
||||
@ -1,33 +0,0 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
import com.actionsoft.bpms.bpmn.engine.model.run.delegate.ProcessInstance;
|
||||
import com.actionsoft.bpms.bpmn.engine.model.run.delegate.TaskInstance;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.server.bind.annotation.Controller;
|
||||
import com.actionsoft.bpms.server.bind.annotation.Mapping;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
/*
|
||||
* 新建流程
|
||||
*/
|
||||
@Controller
|
||||
public class CreateProcessController {
|
||||
@Mapping("com.awspaas.user.apps.xitongfankui.createProcess")
|
||||
public JSONObject CheckUser(String sid,String processDefId) {
|
||||
JSONObject result = new JSONObject();
|
||||
UserContext uc = UserContext.fromSessionId(sid);
|
||||
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
ProcessInstance processInst = SDK.getProcessAPI().createProcessInstance(processDefId, uc.getUID(), "流程管理平台问题反馈"+"-"+uc.getUserName()+"-"+df.format(new Date()));
|
||||
TaskInstance taskInst = SDK.getProcessAPI().start(processInst).fetchActiveTasks().get(0);
|
||||
String portalUrl = SDK.getPortalAPI().getPortalUrl();
|
||||
String url = portalUrl + "/r/w?sid=" + uc.getSessionId()
|
||||
+ "&cmd=CLIENT_BPM_FORM_MAIN_PAGE_OPEN&processInstId=" + processInst.getId() + "&taskInstId="
|
||||
+ taskInst.getId() + "&openState=1&reloadedFile=1";
|
||||
result.put("url",url);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@ -1,52 +0,0 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import com.actionsoft.bpms.commons.mvc.view.ResponseObject;
|
||||
import com.actionsoft.bpms.server.bind.annotation.Controller;
|
||||
import com.actionsoft.bpms.server.bind.annotation.Mapping;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
/**
|
||||
* @Description 资产库菜单权限
|
||||
* @author zlf
|
||||
* @date 2022年7月29日
|
||||
*
|
||||
*/
|
||||
@Controller
|
||||
public class DisplayController {
|
||||
@Mapping("com.actionsoft.apps.coe.pal.publisher_output_desk_display")
|
||||
public String display(String sid,String uid) {
|
||||
Connection open = DBSql.open();
|
||||
ResponseObject ro = ResponseObject.newOkResponse();
|
||||
try {
|
||||
if("admin".equals(uid)) {
|
||||
ro.put("roleType","true");
|
||||
}else {
|
||||
String roleType = DBSql.getString(open,"SELECT ROLETYPE FROM APP_ACT_COE_PAL_COOP_MEMBER R ,APP_ACT_COE_PAL_COOP_ROLE A WHERE R.ROLEID = A.ID AND USERID = ?", new Object[]{uid});
|
||||
System.err.println("当前登录账号:"+uid+",用户权限:"+roleType);
|
||||
if(UtilString.isEmpty(roleType)) {
|
||||
ro.put("roleType","false");
|
||||
}else {
|
||||
if("1".equals(roleType)||"0".equals(roleType)||"2".equals(roleType)||"3".equals(roleType)) {
|
||||
ro.put("roleType","true");
|
||||
}else {
|
||||
ro.put("roleType","false");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// TODO: handle exception
|
||||
}finally {
|
||||
try {
|
||||
open.close();
|
||||
} catch (SQLException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
return ro.toString();
|
||||
}
|
||||
}
|
||||
@ -1,505 +0,0 @@
|
||||
package com.yili.org;
|
||||
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.org.cache.RoleCache;
|
||||
import com.actionsoft.bpms.org.cache.UserCache;
|
||||
import com.actionsoft.bpms.org.model.DepartmentModel;
|
||||
import com.actionsoft.bpms.org.model.RoleModel;
|
||||
import com.actionsoft.bpms.org.model.UserModel;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.exception.AWSException;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.actionsoft.sdk.local.api.ORGAPI;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.yili.util.UtilUrl;
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentHelper;
|
||||
import org.dom4j.Element;
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 同步组织架构
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:38
|
||||
*/
|
||||
public class IntegrationJob implements IJob {
|
||||
public static boolean init_flag = false;
|
||||
public static String role_id = "";
|
||||
|
||||
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
init_flag = Boolean.parseBoolean(SDK.getJobAPI().getJobParameter(jobExecutionContext));
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行开始");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init部门执行开始");
|
||||
initDept();
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init部门执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init人员执行开始");
|
||||
initUser();
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init人员执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行结束");
|
||||
OrgCache.reloadOrgCahce();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 先初始化以及部门
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String initDept() {
|
||||
// String url = "http://10.119.254.52:9001/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
String url = "http://10.105.1.115:8081/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
int pageNum = 30;// 暂定320页
|
||||
int pageSize = 300;// 一页300条记录
|
||||
try {
|
||||
for (int i = 1; i < pageNum; i++) {
|
||||
String whereStr = "<whereFlag>Y</whereFlag>\n"
|
||||
+ "<whereStr>ORG_CODE LIKE '%%' ORDER BY ORG_CODE</whereStr>\n";
|
||||
// 增量同步,修改3天之内的
|
||||
if (init_flag) {
|
||||
whereStr = " <whereFlag>Y</whereFlag>\n" + " <!--Optional:-->\n"
|
||||
+ " <whereStr>LAST_UPDATE_DATE BETWEEN SYSDATE -3 AND SYSDATE AND ORG_CODE LIKE '%%' ORDER BY ORG_CODE</whereStr>\n";
|
||||
}
|
||||
|
||||
String xmlData = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.business.extend.mdm.yili.com\">\n" +
|
||||
" <soapenv:Header/>\n" +
|
||||
" <soapenv:Body>\n" +
|
||||
" <ser:getMdmInfoBySelectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <selectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <currentPage>"+i+"</currentPage>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageFlag>Y</pageFlag>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageSize>"+pageSize+"</pageSize>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <sourceAppName>LCGLPT</sourceAppName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <viewName>CUX_SIEBEL_HR_ORG_V_NEW</viewName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
whereStr +
|
||||
" </selectRequest>\n" +
|
||||
" </ser:getMdmInfoBySelectRequest>\n" +
|
||||
" </soapenv:Body>\n" +
|
||||
"</soapenv:Envelope>";
|
||||
|
||||
String postSoap = UtilUrl.doPostSoap(url, xmlData, "");
|
||||
//System.err.println("同步部门======》"+postSoap);
|
||||
Document document = DocumentHelper.parseText(postSoap);
|
||||
Element rootElement = document.getRootElement();
|
||||
Element result = rootElement.element("Body").element("getMdmInfoBySelectRequestResponse")
|
||||
.element("return");
|
||||
String resultString = result.element("resultJson").getData().toString();
|
||||
JSONArray resultArray = JSONObject.parseArray(resultString);
|
||||
if (resultArray.size() > 0) {
|
||||
SDK.getLogAPI().consoleInfo(">>>>>遍历部门数据第"+i +"页数据:"+resultArray.size());
|
||||
try {
|
||||
JSONArray level1Array = new JSONArray();
|
||||
JSONArray levelNo1Array = new JSONArray();
|
||||
for (Object o : resultArray) {
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String parent_id = resultJson.getString("PARENT_ID");
|
||||
if (UtilString.isEmpty(parent_id) || parent_id.equals("00000001")) {
|
||||
level1Array.add(resultJson);
|
||||
} else {
|
||||
levelNo1Array.add(resultJson);
|
||||
}
|
||||
}
|
||||
createDept(level1Array);
|
||||
createDept(levelNo1Array);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* 初始化人员
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String initUser() {
|
||||
role_id = SDK.getAppAPI().getProperty("com.awspaas.user.apps.yili.integration", "default_role_id");
|
||||
//String url = "http://10.119.254.52:9001/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
String url = "http://10.105.1.115:8081/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
//加入分页
|
||||
int pageNum = 320;//暂定320页
|
||||
int pageSize = 300;//一页300条记录
|
||||
try {
|
||||
for (int i = 1; i < pageNum; i++) {
|
||||
//System.out.println(">>>>>>>>>>>>>>>人员第"+i +"页开始");
|
||||
String whereStr ="<whereFlag>Y</whereFlag>\n" +
|
||||
"<whereStr>STATUS != 'M'</whereStr>\n";
|
||||
//增量同步,修改一天之内的
|
||||
if(init_flag){
|
||||
whereStr = " <whereFlag>Y </whereFlag>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <whereStr>LAST_UPDATE_TIME BETWEEN SYSDATE -3 AND SYSDATE</whereStr>\n";
|
||||
//" <whereStr>STATUS = 'A'</whereStr>\n";
|
||||
}
|
||||
String xmlData = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.business.extend.mdm.yili.com\">\n" +
|
||||
" <soapenv:Header/>\n" +
|
||||
" <soapenv:Body>\n" +
|
||||
" <ser:getMdmInfoBySelectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <selectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <currentPage>" + i + "</currentPage>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageFlag>Y</pageFlag>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageSize>" + pageSize + "</pageSize>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <sourceAppName>LCGLPT</sourceAppName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <viewName>GET_PERSON_BASIC_INFO</viewName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
whereStr +
|
||||
" </selectRequest>\n" +
|
||||
" </ser:getMdmInfoBySelectRequest>\n" +
|
||||
" </soapenv:Body>\n" +
|
||||
"</soapenv:Envelope>";
|
||||
String postSoap = UtilUrl.doPostSoap(url, xmlData, "");
|
||||
Document document = DocumentHelper.parseText(postSoap);
|
||||
Element rootElement = document.getRootElement();
|
||||
Element result = rootElement.element("Body").element("getMdmInfoBySelectRequestResponse").element("return");
|
||||
String resultString = result.element("resultJson").getData().toString();
|
||||
JSONArray resultArray = JSONObject.parseArray(resultString);
|
||||
if (resultArray.size() > 0) {
|
||||
SDK.getLogAPI().consoleInfo(">>>>>遍历人员第"+i +"页数据:"+resultArray.size());
|
||||
createUser(resultArray);
|
||||
}else{
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* 部门信息执行插入或更新
|
||||
*
|
||||
* @param resultArray
|
||||
* @return
|
||||
*/
|
||||
public static void createDept(JSONArray resultArray) {
|
||||
if (resultArray.size() == 0) {
|
||||
return;
|
||||
}
|
||||
JSONArray noParenIdArray = new JSONArray();
|
||||
String yili_company_id = SDK.getAppAPI().getProperty("com.awspaas.user.apps.yili.integration", "YILI_COMPANY_ID");
|
||||
for (Object o : resultArray) {
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String org_code = resultJson.getString("ORG_CODE");
|
||||
String dept_flag = resultJson.getString("DEPT_FLAG");
|
||||
Date last_update_date = resultJson.getDate("LAST_UPDATE_DATE");
|
||||
String ehr_last_update_date = resultJson.getString("EHR_LAST_UPDATE_DATE");
|
||||
String parent_id = resultJson.getString("PARENT_ID");
|
||||
String parent_name = resultJson.getString("PARENT_NAME");
|
||||
String full_name = resultJson.getString("FULL_NAME");
|
||||
String eff_status = resultJson.getString("EFF_STATUS");
|
||||
String org_name = resultJson.getString("ORG_NAME");
|
||||
String hr_org_id = resultJson.getString("HR_ORG_ID");
|
||||
String manager_id = resultJson.getString("MANAGER_ID");//负责人id
|
||||
if (UtilString.isEmpty(full_name)) {
|
||||
full_name = "默认部门名称" + System.currentTimeMillis();
|
||||
}
|
||||
String start_date = resultJson.getString("START_DATE");
|
||||
String end_date = resultJson.getString("END_DATE");
|
||||
JSONObject ext5 = new JSONObject();
|
||||
ext5.put("ehr_last_update_date", ehr_last_update_date);
|
||||
ext5.put("parent_name", parent_name);
|
||||
if (org_code.indexOf("-") > 0 || org_code.equals("00000001")) {//已撤销的机构就过滤掉,和集团
|
||||
continue;
|
||||
}
|
||||
|
||||
String currentId = getDeptIdByOuterId(org_code);
|
||||
if (UtilString.isEmpty(currentId)) {//不存在,则走新增操作
|
||||
String parent_dept_id = "0";
|
||||
if (parent_id.equals("00000001")) {
|
||||
parent_dept_id = "";
|
||||
} else if (UtilString.isNotEmpty(parent_id)) {
|
||||
String selectParentDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
parent_dept_id = DBSql.getString(selectParentDeptSql, new Object[]{parent_id});
|
||||
if (UtilString.isEmpty(parent_dept_id)) {//如果为空,则说明没找到
|
||||
noParenIdArray.add(resultJson);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
String createDepartment = SDK.getORGAPI().createDepartment(yili_company_id, org_name, org_code, "", parent_dept_id, hr_org_id,"", full_name, manager_id, ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
String buName = "";
|
||||
//String sql ="SELECT * FROM orgdepartment WHERE DEPARTMENTNO = '"++"'";
|
||||
String sqls ="SELECT BUSINESS_UNIT FROM BO_EU_ORG_POSTS WHERE DEPTID = '"+currentId+"'";
|
||||
RowMap map = DBSql.getMap(sqls);
|
||||
if(map!=null) {
|
||||
SDK.getORGAPI().updateDepartment(createDepartment, org_name, org_code, ORGAPI.NO_UPDATE, hr_org_id, buName, full_name, map.getString("BUSINESS_UNIT"), ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
}
|
||||
|
||||
DepartmentModel departmentModel=SDK.getORGAPI().getDepartmentById(currentId);
|
||||
String departname=departmentModel.getName();
|
||||
if(!org_name.equals(departname)){
|
||||
SDK.getORGAPI().updateDepartment(currentId, org_name, org_code, ORGAPI.NO_UPDATE, hr_org_id, buName, full_name, ORGAPI.NO_UPDATE, ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
}
|
||||
/*
|
||||
String sql ="SELECT USERID FROM ORGUSER WHERE DEPARTMENTID = '"+createDepartment+"'";
|
||||
* String userId = DBSql.getString(sql); UserModel user =
|
||||
* SDK.getORGAPI().getUser(userId); String departmentId =
|
||||
* user.getDepartmentId(); if(user!=null) { buId = user.getExt3(); buName =
|
||||
* user.getExt4(); }
|
||||
*/
|
||||
//String createDepartment = SDK.getORGAPI().createDepartment(yili_company_id, org_name, org_code, "", parent_dept_id, "", "", "", "", ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
if("I".equals(eff_status)) {
|
||||
if(!SDK.getORGAPI().getDepartmentById(createDepartment).isClosed()) {
|
||||
SDK.getORGAPI().closeDepartment(createDepartment);
|
||||
}
|
||||
}
|
||||
|
||||
} else {//存在,则走更新操作
|
||||
if(UtilString.isNotEmpty(org_name)&&"总部".equals(org_name)) {
|
||||
org_name = "伊利集团总部";
|
||||
}
|
||||
|
||||
String buName = "";
|
||||
//String sql ="SELECT * FROM orgdepartment WHERE DEPARTMENTNO = '"++"'";
|
||||
String sql ="SELECT BUSINESS_UNIT FROM BO_EU_ORG_POSTS WHERE DEPTID = '"+currentId+"'";
|
||||
RowMap map = DBSql.getMap(sql);
|
||||
if(map!=null) {
|
||||
SDK.getORGAPI().updateDepartment(currentId, org_name, org_code, ORGAPI.NO_UPDATE, hr_org_id, buName, full_name, map.getString("BUSINESS_UNIT"), ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
}
|
||||
|
||||
DepartmentModel departmentModel=SDK.getORGAPI().getDepartmentById(currentId);
|
||||
String departname=departmentModel.getName();
|
||||
|
||||
if(!org_name.equals(departname)){
|
||||
SDK.getORGAPI().updateDepartment(currentId, org_name, org_code, ORGAPI.NO_UPDATE, hr_org_id, buName, full_name, ORGAPI.NO_UPDATE, ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
}
|
||||
|
||||
if("A".equals(eff_status)) {
|
||||
if(SDK.getORGAPI().getDepartmentById(currentId).isClosed()) {
|
||||
SDK.getORGAPI().activeDepartment(currentId);
|
||||
}
|
||||
}
|
||||
// SDK.getORGAPI().updateDepartment(currentId, org_name, org_code, ORGAPI.NO_UPDATE, "", "", "", "", ext5.toString(), dept_flag, org_code, start_date, end_date);
|
||||
if("I".equals(eff_status)) {
|
||||
if(!SDK.getORGAPI().getDepartmentById(currentId).isClosed()) {
|
||||
SDK.getORGAPI().closeDepartment(currentId);
|
||||
}
|
||||
}
|
||||
|
||||
//新增父部门更新逻辑,add 2024/06/12 by yujh
|
||||
String parent_dept_id = getDeptIdByOuterId(parent_id);
|
||||
if(UtilString.isNotEmpty(parent_dept_id)){//不为空
|
||||
String parentDepartmentId = SDK.getORGAPI().getDepartmentById(currentId).getParentDepartmentId();
|
||||
if(!parentDepartmentId.equals(parent_dept_id) && !parentDepartmentId.equals("0")){//不为一级部门,且与目前部门不相符,则修改父部门
|
||||
//执行修改部门
|
||||
SDK.getLogAPI().consoleInfo(">>>>>>>>>>执行替换部门,"+currentId+"至"+parent_dept_id+"部门下");
|
||||
SDK.getORGAPI().moveDepartmentToDepartment(currentId,parent_dept_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if (noParenIdArray.size() > 0) {
|
||||
createDept(noParenIdArray);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增或更新人员
|
||||
*
|
||||
* @param resultArray
|
||||
* @param conn
|
||||
*/
|
||||
public static void createUser(JSONArray resultArray) {
|
||||
JSONArray emptyArray = new JSONArray();
|
||||
for (Object o : resultArray) {
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String emp_id = resultJson.getString("EMP_ID");//员工编号
|
||||
String emp_name = resultJson.getString("EMP_NAME");//员工姓名
|
||||
String business_unit = resultJson.getString("BUSINESS_UNIT");//事业部id
|
||||
String bu_name = resultJson.getString("BU_NAME");//事业部名称
|
||||
String dept_id = resultJson.getString("DEPT_ID");//部门id
|
||||
String status = resultJson.getString("STATUS");//人员状态编码
|
||||
String status_name = resultJson.getString("STATUS_NAME");//人员状态编码
|
||||
String sex = resultJson.getString("SEX");//性别编码
|
||||
String sex_name = resultJson.getString("SEX_NAME");//性别描述
|
||||
String phone = resultJson.getString("PHONE");//移动电话
|
||||
String email_addr = resultJson.getString("EMAIL_ADDR");//邮箱
|
||||
String job_class = resultJson.getString("JOB_CLASS");//职级类别编码
|
||||
String job_class_name = resultJson.getString("JOB_CLASS_NAME");//职级类别描述
|
||||
String job_family = resultJson.getString("JOB_FAMILY");//职级编码
|
||||
String job_family_name = resultJson.getString("JOB_FAMILY_NAME");//职级描述
|
||||
String job_code = resultJson.getString("JOB_CODE");//职务id
|
||||
String job_name = resultJson.getString("JOB_NAME");//职务描述
|
||||
String position = resultJson.getString("POSITION");//新职务ID
|
||||
String position_name = resultJson.getString("POSITION_NAME");//新职务描述
|
||||
String supervisor_id = resultJson.getString("SUPERVISOR_ID");//直接上级id
|
||||
String currentId = getDeptIdByOuterId(dept_id);
|
||||
if (UtilString.isEmpty(currentId)) {
|
||||
System.out.println(">>>>>dept_id:"+dept_id);
|
||||
System.out.println(">>>>>currentId:"+currentId);
|
||||
emptyArray.add(resultJson);
|
||||
continue;
|
||||
}
|
||||
JSONObject ext5 = new JSONObject();
|
||||
ext5.put("business_unit", business_unit);
|
||||
ext5.put("bu_name", bu_name);
|
||||
ext5.put("sex", sex);
|
||||
UserModel model = UserCache.getModel(emp_id);
|
||||
String sql ="SELECT ID FROM ORGUSER WHERE USERID = ?";
|
||||
String Id = DBSql.getString(sql,new Object[] {emp_id});
|
||||
if(null != model||UtilString.isNotEmpty(Id)){
|
||||
//用户名合法,则存在走更新逻辑
|
||||
if("I".equals(status)) {
|
||||
//SDK.getORGAPI().removeUser(emp_id);
|
||||
disabledOrActiveUser(emp_id, status);
|
||||
System.err.println("本次同步注销人员===>:"+emp_id);
|
||||
continue;
|
||||
}else {
|
||||
Map<String,Object> map =new HashMap<String,Object>();
|
||||
map.put("departmentId",currentId);
|
||||
map.put("mobile",phone);
|
||||
map.put("position_layer",job_class);
|
||||
map.put("positionNo",position);
|
||||
map.put("positionName",position_name);
|
||||
map.put("email","");//邮件置空,规避不合法
|
||||
map.put("reportTo","");//汇报人置空,规避不合法
|
||||
map.put("ext1",job_family);
|
||||
map.put("ext2",job_family_name);
|
||||
map.put("ext3",business_unit);
|
||||
map.put("ext4",bu_name);
|
||||
map.put("ext5",ext5);
|
||||
int i = SDK.getORGAPI().updateUser(emp_id, map);
|
||||
//因为新增是,汇报人和email会强校验,则sql执行修改操作
|
||||
String updateUserSql = " UPDATE ORGUSER SET EMAIL = ?,REPORTTO = ? WHERE USERID = ?";
|
||||
if(UtilString.isNotEmpty(email_addr)){
|
||||
email_addr = email_addr.split(" ")[0];
|
||||
}
|
||||
if(UtilString.isNotEmpty(email_addr) && email_addr.indexOf("/")>0){
|
||||
email_addr = email_addr.split("/")[1];
|
||||
}
|
||||
DBSql.update(updateUserSql,new Object[]{email_addr,supervisor_id,emp_id});
|
||||
}
|
||||
}else {//不存在,则走新增逻辑,或者激活逻辑
|
||||
|
||||
//先判断角色是否存在,不存在则创建
|
||||
String roleId = checkOrCreateRole(job_name,job_code,job_class_name);
|
||||
//先判断岗位是否存在,不存在则创建
|
||||
checkOrCreatePostion(position_name,position,job_class_name);
|
||||
int createUser = 0;
|
||||
try {
|
||||
createUser = SDK.getORGAPI().createUser(currentId, emp_id, emp_name, roleId, emp_id, "", false, "", phone, "", "", job_class, position, position_name, "", job_family, job_family_name, business_unit, bu_name, ext5.toString(), dept_id);
|
||||
|
||||
} catch (Exception e) {
|
||||
// TODO: handle exception
|
||||
}
|
||||
if(createUser!=0) {
|
||||
System.err.println("本次同步新增人员===>"+emp_name+":"+emp_id);
|
||||
}
|
||||
//因为新增是,汇报人和email会强校验,则sql执行修改操作
|
||||
String updateUserSql = " UPDATE ORGUSER SET EMAIL = ?,REPORTTO = ? WHERE USERID = ?";
|
||||
if(UtilString.isNotEmpty(email_addr)){
|
||||
email_addr = email_addr.split(" ")[0];
|
||||
}
|
||||
if(UtilString.isNotEmpty(email_addr) && email_addr.indexOf("/")>0){
|
||||
email_addr = email_addr.split("/")[1];
|
||||
}
|
||||
DBSql.update(updateUserSql,new Object[]{email_addr,supervisor_id,emp_id});
|
||||
}
|
||||
disabledOrActiveUser(emp_id,status);
|
||||
}
|
||||
SDK.getLogAPI().consoleInfo("emptyArray.size():"+emptyArray.size() + "");
|
||||
}
|
||||
/**
|
||||
* 先判断角色是否存在,不存在则创建
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String checkOrCreateRole(String job_name, String job_code,String job_class_name) {
|
||||
RoleModel model = RoleCache.getModelByNo(job_code);
|
||||
try {
|
||||
if(UtilString.isEmpty(model)){
|
||||
String role = SDK.getORGAPI().createRole(job_name, job_class_name, job_code);
|
||||
System.err.println("本次同步新增角色===>"+job_name);
|
||||
return role;
|
||||
}
|
||||
}catch (AWSException e){
|
||||
if(e.getCause().toString().indexOf("重复")>0){
|
||||
String role = SDK.getORGAPI().createRole(job_name+System.currentTimeMillis(), job_class_name, job_code);
|
||||
System.err.println("本次同步新增角色===>"+job_name);
|
||||
return role;
|
||||
}
|
||||
e.printStackTrace();
|
||||
return role_id;
|
||||
}
|
||||
return model.getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* 先判断岗位是否存在,不存在则创建
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String checkOrCreatePostion(String position_name, String position,String job_class_name) {
|
||||
RoleModel model = RoleCache.getModelByNo(position);
|
||||
try {
|
||||
if(UtilString.isEmpty(model)){
|
||||
String role = SDK.getORGAPI().createPosition(position_name, job_class_name, position);
|
||||
System.err.println("本次同步新增岗位===>"+position_name);
|
||||
|
||||
return role;
|
||||
}
|
||||
}catch (AWSException e){
|
||||
e.printStackTrace();
|
||||
return role_id;
|
||||
}
|
||||
return model.getId();
|
||||
}
|
||||
/**
|
||||
* 根据外部Id获取部门Id
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String getDeptIdByOuterId(String org_code) {
|
||||
String selectDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
String currentId = DBSql.getString(selectDeptSql, new Object[]{org_code});
|
||||
return currentId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 注销或激活用户
|
||||
* @return
|
||||
*/
|
||||
public static void disabledOrActiveUser(String userId,String status){
|
||||
if(status.equals("A")){ //有效员工
|
||||
SDK.getORGAPI().activateUser(userId);
|
||||
}else if(status.equals("I")){//无效员工
|
||||
SDK.getORGAPI().disabledUser(userId);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,20 +0,0 @@
|
||||
package com.yili.org;
|
||||
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
|
||||
/**
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: OrgReloadJob
|
||||
* @author: yujh
|
||||
* @date: 2022/5/23 9:03
|
||||
*/
|
||||
public class OrgReloadJob implements IJob {
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
OrgCache.reloadOrgCahce();
|
||||
}
|
||||
}
|
||||
@ -1,235 +0,0 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import java.util.Map;
|
||||
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentHelper;
|
||||
import org.dom4j.Element;
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.bo.engine.BO;
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.org.model.DepartmentModel;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.actionsoft.sdk.local.api.ORGAPI;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.yili.util.UtilUrl;
|
||||
|
||||
/**
|
||||
* 同步岗位
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:38
|
||||
*/
|
||||
public class SynPostJob implements IJob {
|
||||
public static boolean init_flag = false;
|
||||
public static String role_id = "";
|
||||
|
||||
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
init_flag = Boolean.parseBoolean(SDK.getJobAPI().getJobParameter(jobExecutionContext));
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行开始");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init岗位执行开始");
|
||||
long startTime = System.currentTimeMillis(); //获取开始时间
|
||||
initUser();
|
||||
long endTime = System.currentTimeMillis(); //获取结束时间
|
||||
System.out.println("程序运行时间:" + (endTime - startTime)/1000/60 + "min"); //输出程序运行时间
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init岗位执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行结束");
|
||||
OrgCache.reloadOrgCahce();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 初始化岗位
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String initUser() {
|
||||
role_id = SDK.getAppAPI().getProperty("com.awspaas.user.apps.yili.integration", "default_role_id");
|
||||
String url = "http://10.105.1.115:8081/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
// String url = "http://10.119.254.52:9001/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
// 加入分页
|
||||
int num = 0;
|
||||
int count = 0;
|
||||
int pageNum = 300;// 暂定320页
|
||||
int pageSize = 300;// 一页300条记录
|
||||
Connection conn = null;
|
||||
try {
|
||||
conn = DBSql.open();
|
||||
for (int i = 1; i <= pageNum; i++) {
|
||||
System.out.println(">>>>>>>>>>>>>>>同步岗位第" + i + "页开始");
|
||||
// 增量同步,修改一个月之内的
|
||||
// System.err.println("---------------"+init_flag);
|
||||
|
||||
//String whereStr = "<whereFlag>N</whereFlag><whereStr>EFF_STATUS = 'I'</whereStr>\n";
|
||||
String whereStr = "<whereFlag>N</whereFlag><whereStr></whereStr>\n";
|
||||
if (init_flag) {
|
||||
whereStr = " <whereFlag>Y</whereFlag>\n" + " <!--Optional:-->\n"
|
||||
+ " <whereStr>LAST_UPDATE_TIME BETWEEN SYSDATE -1 AND SYSDATE </whereStr>";
|
||||
}
|
||||
|
||||
String xmlData = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.business.extend.mdm.yili.com\">\n"
|
||||
+ " <soapenv:Header/>\n" + " <soapenv:Body>\n" + " <ser:getMdmInfoBySelectRequest>\n"
|
||||
+ " <!--Optional:-->\n" + " <selectRequest>\n"
|
||||
+ " <!--Optional:-->\n" + " <currentPage>" + i + "</currentPage>\n"
|
||||
+ " <!--Optional:-->\n" + " <pageFlag>Y</pageFlag>\n"
|
||||
+ " <!--Optional:-->\n" + " <pageSize>" + pageSize + "</pageSize>\n"
|
||||
+ " <!--Optional:-->\n" + " <sourceAppName>LCGLPT</sourceAppName>\n"
|
||||
+ " <!--Optional:-->\n" + " <viewName>V_GET_POSITION</viewName>\n"
|
||||
+ " <!--Optional:-->\n" + whereStr + " </selectRequest>\n"
|
||||
+ " </ser:getMdmInfoBySelectRequest>\n" + " </soapenv:Body>\n" + "</soapenv:Envelope>";
|
||||
String postSoap = UtilUrl.doPostSoap(url, xmlData, "");
|
||||
Document document = DocumentHelper.parseText(postSoap);
|
||||
Element rootElement = document.getRootElement();
|
||||
Element result = rootElement.element("Body").element("getMdmInfoBySelectRequestResponse")
|
||||
.element("return");
|
||||
// String pageSizes = result.element("pageSize").getData().toString();
|
||||
// System.err.println("pageSizes========"+pageSizes);
|
||||
String resultString = result.element("resultJson").getData().toString();
|
||||
// String resultNum = result.element("totalRecord").getData().toString();
|
||||
JSONArray resultArray = JSONObject.parseArray(resultString);
|
||||
count += resultArray.size();
|
||||
if (resultArray.size() > 0) {
|
||||
SDK.getLogAPI().consoleInfo(">>>>>遍历岗位第" + i + "页数据:" + resultArray.size());
|
||||
int createUser = createPost(resultArray, conn);
|
||||
num += createUser;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
try {
|
||||
conn.close();
|
||||
} catch (SQLException throwables) {
|
||||
throwables.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
SDK.getLogAPI().consoleInfo("本次共同步岗位数据num:" + num + "条");
|
||||
SDK.getLogAPI().consoleInfo("本次共同步岗位数据count:" + count + "条");
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 新增或更新岗位
|
||||
*
|
||||
* @param resultArray
|
||||
* @param conn
|
||||
*/
|
||||
public static int createPost(JSONArray resultArray, Connection conn) {
|
||||
int count = 0;
|
||||
for (Object o : resultArray) {
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String postId = resultJson.getString("POSITION_NBR");// 职位编码
|
||||
String sqt = "SELECT * FROM BO_EU_ORG_POSTS WHERE POSITION_NBR ='" + postId + "'";
|
||||
RowMap map = DBSql.getMap(sqt);
|
||||
int createData = createData(resultJson, map);
|
||||
if(createData>0) {
|
||||
count++;
|
||||
}
|
||||
|
||||
}
|
||||
return count;
|
||||
|
||||
}
|
||||
/**
|
||||
* 创建/更新数据
|
||||
* @param resultJson
|
||||
* @param map
|
||||
* @return
|
||||
*/
|
||||
public static int createData(JSONObject resultJson, RowMap map) {
|
||||
ORGAPI orgapi = SDK.getORGAPI();
|
||||
BO bo = new BO();
|
||||
if(map!=null) {
|
||||
bo= SDK.getBOAPI().get("BO_EU_ORG_POSTS", map.getString("ID"));
|
||||
}
|
||||
String outerId = resultJson.getString("DEPTID");// 部门id
|
||||
String status = resultJson.getString("EFF_STATUS");
|
||||
String postId = resultJson.getString("POSITION_NBR");// 岗位ID
|
||||
Map<String, Object> innerMap = resultJson.getInnerMap();
|
||||
String sql = "SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = '" + outerId + "'";
|
||||
String deId = DBSql.getString(sql);
|
||||
innerMap.remove("DEPTID");
|
||||
innerMap.put("OUTERID", outerId);
|
||||
innerMap.put("STATUS", status);
|
||||
if (UtilString.isNotEmpty(deId)) {
|
||||
innerMap.put("DEPTID", deId);
|
||||
DepartmentModel departmentById = orgapi.getDepartmentById(deId);
|
||||
if (null != departmentById) {
|
||||
innerMap.put("DEPTNAME", departmentById.getName());
|
||||
String parentDepartmentId = departmentById.getParentDepartmentId();
|
||||
innerMap.put("DEPTPEID", parentDepartmentId);
|
||||
if ("0".equals(parentDepartmentId)) {
|
||||
innerMap.put("DEPTPENAME", "内蒙古伊利实业集团股份有限公司");
|
||||
} else {
|
||||
innerMap.put("DEPTPENAME", orgapi.getDepartmentById(parentDepartmentId).getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
bo.setAll(innerMap);
|
||||
if(map!=null) {
|
||||
int update = SDK.getBOAPI().update("BO_EU_ORG_POSTS", bo);
|
||||
if (update > 0) {
|
||||
if ("A".equals(status)) {
|
||||
//System.err.println("更新的岗位======>" + postId);
|
||||
} else {
|
||||
System.err.println("注销的岗位======>" + postId);
|
||||
}
|
||||
}
|
||||
return update;
|
||||
}else {
|
||||
int createDataBO = 0;
|
||||
if("A".equals(status)) {
|
||||
createDataBO = SDK.getBOAPI().createDataBO("BO_EU_ORG_POSTS", bo, UserContext.fromUID("admin"));
|
||||
if(createDataBO>0) {
|
||||
System.err.println("新增的岗位======>" + postId);
|
||||
}
|
||||
}
|
||||
return createDataBO;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 岗位是否存在
|
||||
* @return
|
||||
*/
|
||||
public static String getPost(String postId, Connection conn){
|
||||
String selectUserSql = " SELECT ID FROM ORGROLE WHERE ROLENO = ? ";
|
||||
String userId = DBSql.getString(conn, selectUserSql, new Object[]{postId});
|
||||
return userId;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据外部Id获取部门Id
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String getDeptIdByOuterId(String org_code, Connection conn) {
|
||||
String selectDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
String currentId = DBSql.getString(conn, selectDeptSql, new Object[]{org_code});
|
||||
return currentId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,129 +0,0 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.bo.engine.BO;
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.org.model.DepartmentModel;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.actionsoft.sdk.local.api.ORGAPI;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
/**
|
||||
* 同步岗位
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:38
|
||||
*/
|
||||
public class SynPostJob2 implements IJob {
|
||||
public static boolean init_flag = false;
|
||||
public static String role_id = "";
|
||||
|
||||
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
init_flag = Boolean.parseBoolean(SDK.getJobAPI().getJobParameter(jobExecutionContext));
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行开始");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init岗位执行开始");
|
||||
long startTime = System.currentTimeMillis(); //获取开始时间
|
||||
long endTime = System.currentTimeMillis(); //获取结束时间
|
||||
System.out.println("程序运行时间:" + (endTime - startTime)/1000/60 + "min"); //输出程序运行时间
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init岗位执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行结束");
|
||||
OrgCache.reloadOrgCahce();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 新增或更新岗位
|
||||
*
|
||||
* @param resultArray
|
||||
* @param conn
|
||||
*/
|
||||
public static int createUser(JSONArray resultArray, Connection conn) {
|
||||
List<RowMap> maps = DBSql.getMaps("SELECT * FROM BO_EU_ORG_POSTS");
|
||||
for (RowMap rowMap : maps) {
|
||||
String deptId = rowMap.getString("DEPTID");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
ORGAPI orgapi = SDK.getORGAPI();
|
||||
int count = 0;
|
||||
for (Object o : resultArray) {
|
||||
BO bo = new BO();
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String postId = resultJson.getString("POSITION_NBR");//职位编码
|
||||
String sqt = "SELECT ID FROM BO_EU_ORG_POSTS WHERE POSITION_NBR ='"+postId+"'";
|
||||
if(UtilString.isEmpty(DBSql.getString(sqt))) {
|
||||
String outerId = resultJson.getString("DEPTID");// 部门id
|
||||
Map<String, Object> innerMap = resultJson.getInnerMap();
|
||||
String sql = "SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = '"+outerId+"'";
|
||||
String deId = DBSql.getString(sql);
|
||||
innerMap.remove("DEPTID");
|
||||
innerMap.put("OUTERID", outerId);
|
||||
if(UtilString.isNotEmpty(deId)) {
|
||||
innerMap.put("DEPTID",deId);
|
||||
DepartmentModel departmentById = orgapi.getDepartmentById(deId);
|
||||
if (null!=departmentById) {
|
||||
innerMap.put("DEPTNAME", departmentById.getName());
|
||||
String parentDepartmentId = departmentById.getParentDepartmentId();
|
||||
innerMap.put("DEPTPEID", parentDepartmentId);
|
||||
if ("0".equals(parentDepartmentId)) {
|
||||
innerMap.put("DEPTPENAME", "内蒙古伊利实业集团股份有限公司");
|
||||
} else {
|
||||
innerMap.put("DEPTPENAME", orgapi.getDepartmentById(parentDepartmentId).getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
bo.setAll(innerMap);
|
||||
SDK.getBOAPI().createDataBO("BO_EU_ORG_POSTS", bo, UserContext.fromUID("admin"));
|
||||
}
|
||||
|
||||
}
|
||||
return count;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 岗位是否存在
|
||||
* @return
|
||||
*/
|
||||
public static String getPost(String postId, Connection conn){
|
||||
String selectUserSql = " SELECT ID FROM ORGROLE WHERE ROLENO = ? ";
|
||||
String userId = DBSql.getString(conn, selectUserSql, new Object[]{postId});
|
||||
return userId;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据外部Id获取部门Id
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String getDeptIdByOuterId(String org_code, Connection conn) {
|
||||
String selectDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
String currentId = DBSql.getString(conn, selectDeptSql, new Object[]{org_code});
|
||||
return currentId;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,176 +0,0 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.bo.engine.BO;
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.server.UserContext;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UUIDGener;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
|
||||
/**
|
||||
* 同步阅览权限
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/9/18 21:38
|
||||
*/
|
||||
public class SynPrem implements IJob {
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
UserContext uc = UserContext.fromUID("admin");
|
||||
List<BO> list = SDK.getBOAPI().query("BO_EU_PUBLISH_SCOPE_IMPORT").list();
|
||||
for (BO bos : list) {
|
||||
String palName = bos.getString("PALNAME");
|
||||
String orgPerm = bos.getString("ORGPERM");
|
||||
String postPerm = bos.getString("POSTPERM");
|
||||
String levelPrem = bos.getString("LEVELPERM");
|
||||
String sendScope = bos.getString("SEND_SCOP");
|
||||
StringBuffer orgFail = new StringBuffer();
|
||||
StringBuffer orgPermBuf = new StringBuffer();
|
||||
String[] orgPermArr = orgPerm.split(",");
|
||||
for (int i = 0; i < orgPermArr.length; i++) {
|
||||
if ("伊利集团".equals(orgPermArr[i])) {
|
||||
sendScope = "1";
|
||||
|
||||
} else {
|
||||
String dsql = "SELECT ID FROM ORGDEPARTMENT WHERE DEPARTMENTNAME = '" + orgPermArr[i].trim() + "'";
|
||||
String depId = DBSql.getString(dsql);
|
||||
if (UtilString.isNotEmpty(depId)) {
|
||||
if(orgPermBuf.length()>0) {
|
||||
String string = orgPermBuf.toString();
|
||||
if(!string.contains(depId)) {
|
||||
if(i!=orgPermArr.length-1) {
|
||||
orgPermBuf.append(depId).append(",");
|
||||
}else {
|
||||
orgPermBuf.append(depId);
|
||||
}
|
||||
}
|
||||
|
||||
}else {
|
||||
if (i!=orgPermArr.length-1) {
|
||||
orgPermBuf.append(depId).append(",");
|
||||
} else {
|
||||
orgPermBuf.append(depId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
if (UtilString.isNotEmpty(orgPermArr[i])) {
|
||||
orgFail.append(orgPermArr[i]).append(",");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
bos.set("ORGFAIL", orgFail);
|
||||
StringBuffer postFail = new StringBuffer();
|
||||
StringBuffer postPermBuf = new StringBuffer();
|
||||
String[] postPermArr = postPerm.split(",");
|
||||
|
||||
for (int i = 0; i < postPermArr.length; i++) {
|
||||
String postNbrSql = "SELECT POSITION_NBR FROM BO_EU_ORG_POSTS WHERE DESCR = '" + postPermArr[i].trim() + "'";
|
||||
String postNbr = DBSql.getString(postNbrSql);
|
||||
if (UtilString.isNotEmpty(postNbr)) {
|
||||
if(postPermBuf.length()>0) {
|
||||
String string = postPermBuf.toString();
|
||||
if(!string.contains(postNbr)) {
|
||||
if (i!=postPermArr.length-1) {
|
||||
postPermBuf.append(postNbr).append(",");
|
||||
} else {
|
||||
postPermBuf.append(postNbr);
|
||||
}
|
||||
}
|
||||
}else {
|
||||
if (i!=postPermArr.length-1) {
|
||||
postPermBuf.append(postNbr).append(",");
|
||||
} else {
|
||||
postPermBuf.append(postNbr);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
if (UtilString.isNotEmpty(postPermArr[i])) {
|
||||
postFail.append(postPermArr[i]).append(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
bos.set("POSTFAIL", postFail);
|
||||
|
||||
StringBuffer levelFail = new StringBuffer();
|
||||
StringBuffer levelPremArrBuf = new StringBuffer();
|
||||
String[] levelPremArr = levelPrem.split(",");
|
||||
for (String str : levelPremArr) {
|
||||
if (UtilString.isNotEmpty(str)) {
|
||||
if (str.equals(levelPremArr[levelPremArr.length - 1])) {
|
||||
levelPremArrBuf.append(str);
|
||||
} else {
|
||||
levelPremArrBuf.append(str).append(",");
|
||||
}
|
||||
} else {
|
||||
if (UtilString.isNotEmpty(str)) {
|
||||
levelFail.append(str).append(",");
|
||||
}
|
||||
}
|
||||
}
|
||||
bos.set("LEVELFAIL", levelFail);
|
||||
|
||||
List<BO> premlist = new ArrayList<>();
|
||||
String sqls = "SELECT * FROM APP_ACT_COE_PAL_REPOSITORY WHERE PLNAME = '" + palName.trim() + "'";
|
||||
List<RowMap> maps = DBSql.getMaps(sqls);
|
||||
if (maps.size() == 0) {
|
||||
bos.set("RESULT", "导入失败,未匹配到模型!");
|
||||
SDK.getBOAPI().update("BO_EU_PUBLISH_SCOPE_IMPORT", bos);
|
||||
} else {
|
||||
for (RowMap rowMap : maps) {
|
||||
String sqlString = "SELECT ID FROM BO_ACT_PUBLISH_PERM_SCOPE WHERE PALVERSIONID = '"
|
||||
+ rowMap.getString("PLVERSIONID") + "'";
|
||||
List<RowMap> maps2 = DBSql.getMaps(sqlString);
|
||||
for (RowMap rowMapw : maps2) {
|
||||
SDK.getBOAPI().remove("BO_ACT_PUBLISH_PERM_SCOPE", rowMapw.getString("ID"));
|
||||
}
|
||||
BO bo = new BO();
|
||||
bo.set("PERMID", UUIDGener.getUUID());
|
||||
bo.set("WSID", rowMap.getString("WSID"));
|
||||
bo.set("PALVERSIONID", rowMap.getString("PLVERSIONID"));
|
||||
bo.set("PALNAME", rowMap.getString("PLNAME"));
|
||||
bo.set("PERMTYPE", sendScope);
|
||||
bo.set("ORGPERM", orgPermBuf);
|
||||
bo.set("POSTPERM", postPermBuf);
|
||||
bo.set("LEVELPERM", levelPremArrBuf);
|
||||
premlist.add(bo);
|
||||
}
|
||||
if (premlist.size() > 0) {
|
||||
try {
|
||||
if (orgFail.length() != 0 || postFail.length() != 0 || levelFail.length() != 0) {
|
||||
bos.set("RESULT", "导入部分成功!");
|
||||
|
||||
} else {
|
||||
bos.set("RESULT", "导入成功!");
|
||||
}
|
||||
SDK.getBOAPI().createDataBO("BO_ACT_PUBLISH_PERM_SCOPE", premlist, uc);
|
||||
SDK.getLogAPI().consoleInfo("[发布范围权限信息保存至范围权限表]更新成功");
|
||||
|
||||
} catch (Exception e) {
|
||||
bos.set("RESULT", "导入失败,字段长度超出范围!");
|
||||
}
|
||||
SDK.getBOAPI().update("BO_EU_PUBLISH_SCOPE_IMPORT", bos);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -1,243 +0,0 @@
|
||||
package com.yili.org;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.dom4j.Document;
|
||||
import org.dom4j.DocumentHelper;
|
||||
import org.dom4j.Element;
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
|
||||
import com.actionsoft.bpms.commons.database.RowMap;
|
||||
import com.actionsoft.bpms.org.cache.OrgCache;
|
||||
import com.actionsoft.bpms.schedule.IJob;
|
||||
import com.actionsoft.bpms.util.DBSql;
|
||||
import com.actionsoft.bpms.util.UtilString;
|
||||
import com.actionsoft.sdk.local.SDK;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.yili.util.UtilUrl;
|
||||
|
||||
/**
|
||||
* 同步组织架构
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.job
|
||||
* @ClassName: Integration
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:38
|
||||
*/
|
||||
public class SynUserJob implements IJob {
|
||||
public static boolean init_flag = false;
|
||||
public static String role_id = "";
|
||||
|
||||
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
init_flag = Boolean.parseBoolean(SDK.getJobAPI().getJobParameter(jobExecutionContext));
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行开始");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init人员执行开始");
|
||||
long startTime = System.currentTimeMillis(); //获取开始时间
|
||||
initUser();
|
||||
long endTime = System.currentTimeMillis(); //获取结束时间
|
||||
System.out.println("程序运行时间:" + (endTime - startTime)/1000/60 + "min"); //输出程序运行时间
|
||||
SDK.getLogAPI().consoleInfo(">>>>>init人员执行结束");
|
||||
SDK.getLogAPI().consoleInfo(">>>>>job执行结束");
|
||||
OrgCache.reloadOrgCahce();
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 初始化人员
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String initUser() {
|
||||
role_id = SDK.getAppAPI().getProperty("com.awspaas.user.apps.yili.integration", "default_role_id");
|
||||
//String url = "http://10.119.254.52:9001/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
String url = "http://10.105.1.115:8081/MDM/ESB_MDM_ALL_QuyMdmInfoSelectSrv";
|
||||
//加入分页
|
||||
int num = 0;
|
||||
int count= 0;
|
||||
int pageNum = 320;//暂定320页
|
||||
int pageSize = 300;//一页300条记录
|
||||
Connection conn = null;
|
||||
try {
|
||||
conn = DBSql.open();
|
||||
for (int i = 1; i <= pageNum; i++) {
|
||||
System.out.println(">>>>>>>>>>>>>>>同步人员第"+i +"页开始");
|
||||
String whereStr ="<whereFlag>Y</"
|
||||
+ "whereFlag>\n" +
|
||||
"<whereStr>STATUS = 'A'</whereStr>\n";
|
||||
//增量同步,修改一个月之内的
|
||||
System.err.println("---------------"+init_flag);
|
||||
/*
|
||||
* if(init_flag){ whereStr = " <whereFlag>Y</whereFlag>\n" +
|
||||
* " <!--Optional:-->\n" +
|
||||
* " <whereStr>LAST_UPDATE_TIME BETWEEN ADD_MONTHS(SYSDATE, -3) AND SYSDATE </whereStr>\n"
|
||||
* ; //" <whereStr>STATUS = 'A'</whereStr>\n"; }
|
||||
*/
|
||||
String xmlData = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://service.business.extend.mdm.yili.com\">\n" +
|
||||
" <soapenv:Header/>\n" +
|
||||
" <soapenv:Body>\n" +
|
||||
" <ser:getMdmInfoBySelectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <selectRequest>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <currentPage>" + i + "</currentPage>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageFlag>Y</pageFlag>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <pageSize>" + pageSize + "</pageSize>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <sourceAppName>LCGLPT</sourceAppName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
" <viewName>GET_PERSON_BASIC_INFO</viewName>\n" +
|
||||
" <!--Optional:-->\n" +
|
||||
whereStr +
|
||||
" </selectRequest>\n" +
|
||||
" </ser:getMdmInfoBySelectRequest>\n" +
|
||||
" </soapenv:Body>\n" +
|
||||
"</soapenv:Envelope>";
|
||||
String postSoap = UtilUrl.doPostSoap(url, xmlData, "");
|
||||
Document document = DocumentHelper.parseText(postSoap);
|
||||
Element rootElement = document.getRootElement();
|
||||
Element result = rootElement.element("Body").element("getMdmInfoBySelectRequestResponse").element("return");
|
||||
// String jsonString = JSONObject.toJSONString(result);
|
||||
// System.err.println("接口返回结果:"+jsonString);
|
||||
String resultString = result.element("resultJson").getData().toString();
|
||||
//String resultNum = result.element("totalRecord").getData().toString();
|
||||
String pageSizes = result.element("pageSize").getData().toString();
|
||||
String nextPageFlag = result.element("nextPageFlag").getData().toString();
|
||||
JSONArray resultArray = JSONObject.parseArray(resultString);
|
||||
count+=resultArray.size();
|
||||
if (resultArray.size() > 0) {
|
||||
//SDK.getLogAPI().consoleInfo(">>>>>遍历人员第"+i +"页数据:"+resultArray.size());
|
||||
int createUser = createUser(resultArray, conn);
|
||||
num+=createUser;
|
||||
}else{
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
try {
|
||||
conn.close();
|
||||
} catch (SQLException throwables) {
|
||||
throwables.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SDK.getLogAPI().consoleInfo("本次共同步人员数据num:" + num+"条");
|
||||
SDK.getLogAPI().consoleInfo("本次共同步人员数据count:" + count+"条");
|
||||
return "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 新增或更新人员
|
||||
*
|
||||
* @param resultArray
|
||||
* @param conn
|
||||
*/
|
||||
public static int createUser(JSONArray resultArray, Connection conn) {
|
||||
int count = 0;
|
||||
for (Object o : resultArray) {
|
||||
|
||||
JSONObject resultJson = JSONObject.parseObject(o.toString());
|
||||
String status = resultJson.getString("STATUS");//人员状态编码
|
||||
String emp_id = resultJson.getString("EMP_ID");//员工编号
|
||||
if(UtilString.isEmpty(getUserId(emp_id, conn))){
|
||||
continue;
|
||||
}
|
||||
|
||||
String emp_name = resultJson.getString("EMP_NAME");//员工姓名
|
||||
String business_unit = resultJson.getString("BUSINESS_UNIT");//事业部id
|
||||
String bu_name = resultJson.getString("BU_NAME");//事业部名称
|
||||
String dept_id = resultJson.getString("DEPT_ID");//部门id
|
||||
String status_name = resultJson.getString("STATUS_NAME");//人员状态编码
|
||||
String sex = resultJson.getString("SEX");//性别编码
|
||||
String sex_name = resultJson.getString("SEX_NAME");//性别描述
|
||||
String phone = resultJson.getString("PHONE");//移动电话
|
||||
String email_addr = resultJson.getString("EMAIL_ADDR");//邮箱
|
||||
String job_class = resultJson.getString("JOB_CLASS");//职级类别编码
|
||||
String job_class_name = resultJson.getString("JOB_CLASS_NAME");//职级类别描述
|
||||
String job_family = resultJson.getString("JOB_FAMILY");//职级编码
|
||||
String job_family_name = resultJson.getString("JOB_FAMILY_NAME");//职级描述
|
||||
String job_code = resultJson.getString("JOB_CODE");//职务id
|
||||
String job_name = resultJson.getString("JOB_NAME");//职务描述
|
||||
String position = resultJson.getString("POSITION");//新职务ID
|
||||
String position_name = resultJson.getString("POSITION_NAME");//新职务描述
|
||||
String supervisor_id = resultJson.getString("SUPERVISOR_ID");//直接上级id
|
||||
|
||||
Map<String,Object> map =new HashMap<String,Object>();
|
||||
map.put("mobile",phone);
|
||||
map.put("position_layer",job_class);
|
||||
map.put("positionNo",position);
|
||||
map.put("positionName",position_name);
|
||||
map.put("ext1",job_family);
|
||||
map.put("ext2",job_family_name);
|
||||
map.put("ext3",business_unit);
|
||||
map.put("ext4",bu_name);
|
||||
map.put("reportTo",supervisor_id);
|
||||
|
||||
String sql = "SELECT ID FROM ORGROLE WHERE ROLENO = '"+position+"'";
|
||||
List<RowMap> maps = DBSql.getMaps(sql);
|
||||
|
||||
if(UtilString.isEmpty(job_class)) {
|
||||
job_class = "空";
|
||||
}
|
||||
if(UtilString.isEmpty(supervisor_id)) {
|
||||
supervisor_id = "空";
|
||||
}
|
||||
String updateUserSql = "UPDATE ORGUSER SET POSITION_LAYER = ? ,EXT1 = ? ,EXT2 = ? ,EXT3 = ? ,EXT4 = ? ,REPORTTO = ? WHERE USERID = ?";
|
||||
count+=DBSql.update(conn,updateUserSql,new Object[]{job_class,job_family,job_family_name,business_unit,bu_name,supervisor_id,emp_id});
|
||||
}
|
||||
return count;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户是否存在
|
||||
* @return
|
||||
*/
|
||||
public static String getUserId(String emp_id, Connection conn){
|
||||
String selectUserSql = " SELECT ID FROM BO_EU_ORG_USER WHERE EMP_ID = ? ";
|
||||
String userId = DBSql.getString(conn, selectUserSql, new Object[]{emp_id});
|
||||
return userId;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据外部Id获取部门Id
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String getDeptIdByOuterId(String org_code, Connection conn) {
|
||||
String selectDeptSql = " SELECT ID FROM ORGDEPARTMENT WHERE OUTERID = ? ";
|
||||
String currentId = DBSql.getString(conn, selectDeptSql, new Object[]{org_code});
|
||||
return currentId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 注销或激活用户
|
||||
* @return
|
||||
*/
|
||||
public static void disabledOrActiveUser(String userId,String status){
|
||||
if(status.equals("A")){ //有效员工
|
||||
SDK.getORGAPI().activateUser(userId);
|
||||
}else if(status.equals("I")){//无效员工
|
||||
SDK.getORGAPI().disabledUser(userId);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,99 +0,0 @@
|
||||
package com.yili.test;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
|
||||
public class App {
|
||||
// Basic testClient:qwertyuio0987654rfg :: Basic ???
|
||||
static String clientId = "testClient";
|
||||
static String clientSecret = "1234567890";
|
||||
static String redirect_uri = "http://10.119.254.49:33018/";
|
||||
|
||||
public static void main(String[] args) {
|
||||
// System.out.println("--startup--------");
|
||||
|
||||
|
||||
// [1] 第一个网址放在浏览器中打开,登录,然后拿url中的code
|
||||
// String firstURL="http://cs.idm.yili.com:7777/ms_oauth/oauth2/endpoints/oauthservice/authorize?client_id="+clientId+"&redirect_uri="+redirect_uri+"&response_type=code&scope=UserProfile.me";
|
||||
// System.out.println(firstURL);
|
||||
|
||||
// [2] code拿来调用第二个接口
|
||||
// =======================================================================
|
||||
//String code = "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsIng1dCI6IkNEanJCRy03d0hKZnZpNURzTm9OeGQ1TE5iWSIsImtpZCI6Im9yYWtleSJ9.eyJvcmFjbGUub2F1dGgucmVkaXJlY3QtdXJpIjoiaHR0cDovLzEwLjExOS4yMS4yMzE6MzE4NjIvZWNzLWNvbnNvbGUiLCJzdWIiOm51bGwsIm9yYWNsZS5vYXV0aC51c2VyX29yaWdpbl9pZF90eXBlIjoiTERBUF9VSUQiLCJvcmFjbGUub2F1dGgudXNlcl9vcmlnaW5faWQiOiIwMDMxODY5NiIsImlzcyI6Ind3dy5vcmFjbGUuZXhhbXBsZS5jb20iLCJvcmFjbGUub2F1dGguc3ZjX3BfbiI6Ik9BdXRoU2VydmljZVByb2ZpbGUiLCJpYXQiOjE2Mzk0OTMwMTgsIm9yYWNsZS5vYXV0aC50a19jb250ZXh0IjoiYXpjIiwiZXhwIjoxNjM5NDkzOTE4LCJwcm4iOm51bGwsImp0aSI6IjEwMzU0YjYxLTczZmYtNDAzMy04Y2U4LTcyZTFjYjFkYTg3YSIsIm9yYWNsZS5vYXV0aC5zY29wZSI6IlVzZXJQcm9maWxlLm1lIiwib3JhY2xlLm9hdXRoLmNsaWVudF9vcmlnaW5faWQiOiJNQU1DQ2xpZW50IiwidXNlci50ZW5hbnQubmFtZSI6IkRlZmF1bHREb21haW4iLCJvcmFjbGUub2F1dGguaWRfZF9pZCI6IjEyMzQ1Njc4LTEyMzQtMTIzNC0xMjM0LTEyMzQ1Njc4OTAxMiJ9.WYCIAKUIJS1LcWzDn4tfOCts78-grCHpCye4PL_gTTXamm1r2nnOdJKAZieCOdLeBhTbjyDRFldrruRFIkiqnU9Tp3RRkFXOB7vfintBK2VDpBz9_VJX3FgzoQRCGUOcX6nZu9_vBmgKu1yjJMaz6Vq13WHPFG1XLj1ttKlEBBY";
|
||||
String code = "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsIng1dCI6IkNEanJCRy03d0hKZnZpNURzTm9OeGQ1TE5iWSIsImtpZCI6Im9yYWtleSJ9.eyJvcmFjbGUub2F1dGgucmVkaXJlY3QtdXJpIjoiaHR0cDovLzEwLjExOS4yNTQuNDk6MzMwMTgvIiwic3ViIjpudWxsLCJvcmFjbGUub2F1dGgudXNlcl9vcmlnaW5faWRfdHlwZSI6IkxEQVBfVUlEIiwib3JhY2xlLm9hdXRoLnVzZXJfb3JpZ2luX2lkIjoiMDAzMTg2OTYiLCJpc3MiOiJ3d3cub3JhY2xlLmV4YW1wbGUuY29tIiwib3JhY2xlLm9hdXRoLnN2Y19wX24iOiJPQXV0aFNlcnZpY2VQcm9maWxlIiwiaWF0IjoxNjU3Nzc4NjkxLCJvcmFjbGUub2F1dGgudGtfY29udGV4dCI6ImF6YyIsImV4cCI6MTY1Nzc3OTU5MSwicHJuIjpudWxsLCJqdGkiOiI2N2UyMDgwNy0xZGFiLTRhNmEtOTM4My0yZjY4YWU1ZTM3MzciLCJvcmFjbGUub2F1dGguc2NvcGUiOiJVc2VyUHJvZmlsZS5tZSIsIm9yYWNsZS5vYXV0aC5jbGllbnRfb3JpZ2luX2lkIjoiZTQ4M2MwZTVmODEyNDU2MzliOWIwYzk0MGNhODFlODAiLCJ1c2VyLnRlbmFudC5uYW1lIjoiRGVmYXVsdERvbWFpbiIsIm9yYWNsZS5vYXV0aC5pZF9kX2lkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0.UFt7tPu-DL3fh1WhbjwuxwjkuvOpA1bDDLAiGXHx9-32JV-fv6ExeQ6GWXCjbgIVWxmnSzhGdqQuXIixsY6rN-VjXwloOoSE4tVsbxbO4imbHvaOGAjyvrWiKI3cLTokTK1In-kWr1FkkYq4_PcOgTi6PC8GYdH2_zY6_KBY1WIvyqhcVffBVLAN7yKtvjb4iT9ILYxSYq8LfZdyKJ9nwgoDH4qeOsmqsELXvny0";
|
||||
getTokens(redirect_uri, code);
|
||||
|
||||
// [2] - 的结果
|
||||
/*
|
||||
* {"expires_in":3600,"token_type":"Bearer",
|
||||
* "access_token":"eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsIng1dCI6IkNEanJCRy03d0hKZnZpNURzTm9OeGQ1TE5iWSIsImtpZCI6Im9yYWtleSJ9.eyJzdWIiOiIwMDMxODY5NiIsIm9yYWNsZS5vYXV0aC51c2VyX29yaWdpbl9pZF90eXBlIjoiTERBUF9VSUQiLCJvcmFjbGUub2F1dGgudXNlcl9vcmlnaW5faWQiOiIwMDMxODY5NiIsImlzcyI6Ind3dy5vcmFjbGUuZXhhbXBsZS5jb20iLCJvcmFjbGUub2F1dGguc3ZjX3BfbiI6Ik9BdXRoU2VydmljZVByb2ZpbGUiLCJpYXQiOjE2Mzk0OTMwNjgsIm9yYWNsZS5vYXV0aC5wcm4uaWRfdHlwZSI6IkxEQVBfVUlEIiwib3JhY2xlLm9hdXRoLnRrX2NvbnRleHQiOiJyZXNvdXJjZV9hY2Nlc3NfdGsiLCJleHAiOjE2Mzk0OTY2NjgsInBybiI6IjAwMzE4Njk2IiwianRpIjoiODQ2NWUwNGYtZmUwOS00M2ZjLTkwNzYtY2YyZTg5NWY3YjUzIiwib3JhY2xlLm9hdXRoLmNsaWVudF9vcmlnaW5faWQiOiJNQU1DQ2xpZW50Iiwib3JhY2xlLm9hdXRoLnNjb3BlIjoiVXNlclByb2ZpbGUubWUiLCJ1c2VyLnRlbmFudC5uYW1lIjoiRGVmYXVsdERvbWFpbiIsIm9yYWNsZS5vYXV0aC5pZF9kX2lkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0.hXSM1SSVcgqrldfCUK0tEz_TwbbeMvyE1qTXz8qHV3CWMuvVPbVTdaywr-fLcJxM115X3a2LMLFGdSZegS1EjVlsuIIpX0Nknfp3zrXNe_uzaJU_YeubnSMum-GER4Wlh9Yu64e8GfjZdmD9IOVr_dl4Z8R-moXF7a4VV4fgPxA"}
|
||||
* */
|
||||
//======================================================================
|
||||
|
||||
// [4] 获取上面 access_token ,传给第4个接口
|
||||
//String token = "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCIsIng1dCI6IkNEanJCRy03d0hKZnZpNURzTm9OeGQ1TE5iWSIsImtpZCI6Im9yYWtleSJ9.eyJzdWIiOiIwMDMxODY5NiIsIm9yYWNsZS5vYXV0aC51c2VyX29yaWdpbl9pZF90eXBlIjoiTERBUF9VSUQiLCJvcmFjbGUub2F1dGgudXNlcl9vcmlnaW5faWQiOiIwMDMxODY5NiIsImlzcyI6Ind3dy5vcmFjbGUuZXhhbXBsZS5jb20iLCJvcmFjbGUub2F1dGguc3ZjX3BfbiI6Ik9BdXRoU2VydmljZVByb2ZpbGUiLCJpYXQiOjE2Mzk0OTMwNjgsIm9yYWNsZS5vYXV0aC5wcm4uaWRfdHlwZSI6IkxEQVBfVUlEIiwib3JhY2xlLm9hdXRoLnRrX2NvbnRleHQiOiJyZXNvdXJjZV9hY2Nlc3NfdGsiLCJleHAiOjE2Mzk0OTY2NjgsInBybiI6IjAwMzE4Njk2IiwianRpIjoiODQ2NWUwNGYtZmUwOS00M2ZjLTkwNzYtY2YyZTg5NWY3YjUzIiwib3JhY2xlLm9hdXRoLmNsaWVudF9vcmlnaW5faWQiOiJNQU1DQ2xpZW50Iiwib3JhY2xlLm9hdXRoLnNjb3BlIjoiVXNlclByb2ZpbGUubWUiLCJ1c2VyLnRlbmFudC5uYW1lIjoiRGVmYXVsdERvbWFpbiIsIm9yYWNsZS5vYXV0aC5pZF9kX2lkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0.hXSM1SSVcgqrldfCUK0tEz_TwbbeMvyE1qTXz8qHV3CWMuvVPbVTdaywr-fLcJxM115X3a2LMLFGdSZegS1EjVlsuIIpX0Nknfp3zrXNe_uzaJU_YeubnSMum-GER4Wlh9Yu64e8GfjZdmD9IOVr_dl4Z8R-moXF7a4VV4fgPxA";
|
||||
//getUserInfo(token);
|
||||
|
||||
/* // [4] 的结果
|
||||
* {"uid":"00318696","mail":"A00318696@yili.com","employeenumber":"00318696","lastname":"王超",
|
||||
* "commonname":"王超","uri":"\/ms_oauth\/resources\/userprofile\/me\/00318696"}
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
// http://cs.idm.yili.com:7777/ms_oauth/oauth2/endpoints/oauthservice/tokens?redirect_uri=http://192.168.88.100:8080/ecs-console/&grant_type=authorization_code&code=
|
||||
// 获取授权Token接口(authorization_code模式)
|
||||
public static String getTokens(String redirect_uri, String code) {
|
||||
String tokenJson = "";
|
||||
|
||||
String url = "http://cs.idm.yili.com:7777/ms_oauth/oauth2/endpoints/oauthservice/tokens?" + "redirect_uri="
|
||||
+ redirect_uri + "&grant_type=authorization_code&code=" + code;
|
||||
|
||||
String authoStr = geAuthorization(clientId, clientSecret);
|
||||
HashMap<String, String> HeaderMap = new HashMap();
|
||||
HeaderMap.put("Content-Type", "application/x-www-form-urlencoded");
|
||||
HeaderMap.put("Authorization", authoStr);
|
||||
HeaderMap.put("accept", "*/*");
|
||||
HeaderMap.put("connection", "Keep-Alive");
|
||||
|
||||
// do request
|
||||
tokenJson = HttpJavaUtil.sendPost(url, "", HeaderMap);
|
||||
System.out.println(tokenJson);
|
||||
return tokenJson;
|
||||
|
||||
}
|
||||
|
||||
public static String getUserInfo(String token) {
|
||||
String userInfoJson = "";
|
||||
String url = "http://cs.idm.yili.com:7777/ms_oauth/resources/userprofile/me";
|
||||
|
||||
String authoStr = token;
|
||||
HashMap<String, String> HeaderMap = new HashMap();
|
||||
HeaderMap.put("Content-Type", "application/x-www-form-urlencoded");
|
||||
HeaderMap.put("Authorization", authoStr);
|
||||
HeaderMap.put("accept", "*/*");
|
||||
HeaderMap.put("connection", "Keep-Alive");
|
||||
|
||||
// do request get
|
||||
userInfoJson = HttpJavaUtil.doGet(url, HeaderMap);
|
||||
System.out.println(userInfoJson);
|
||||
return userInfoJson;
|
||||
}
|
||||
|
||||
public static String geAuthorization(String clientId, String clientSecret) {
|
||||
try {
|
||||
byte[] key = (clientId + ":" + clientSecret).getBytes("utf-8");
|
||||
String cc = new String(Base64.encodeBase64(key), "utf-8");
|
||||
// String cc = new String(java.util.Base64.getEncoder().encode(key), "utf-8");
|
||||
return "Basic " + cc;
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
e.printStackTrace();
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -1,300 +0,0 @@
|
||||
package com.yili.test;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.OutputStream;
|
||||
import java.io.PrintWriter;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import java.net.URLConnection;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.net.ssl.HostnameVerifier;
|
||||
import javax.net.ssl.HttpsURLConnection;
|
||||
import javax.net.ssl.SSLSession;
|
||||
|
||||
import okhttp3.MediaType;
|
||||
import okhttp3.OkHttpClient;
|
||||
import okhttp3.Request;
|
||||
import okhttp3.RequestBody;
|
||||
import okhttp3.Response;
|
||||
|
||||
public class HttpJavaUtil {
|
||||
|
||||
public static final String DEF_CHATSET = "UTF-8";
|
||||
public static final int DEF_CONN_TIMEOUT = 30000; // 是建立连接的超时时间
|
||||
public static final int DEF_READ_TIMEOUT = 30000; // 是传递数据的超时时间
|
||||
|
||||
public static String doGet(String httpUrl, Map<String, String> HeaderMap) {
|
||||
HttpURLConnection connection = null;
|
||||
InputStream is = null;
|
||||
BufferedReader br = null;
|
||||
String result = null;// 返回结果字符串
|
||||
System.out.println(httpUrl);
|
||||
try {
|
||||
// 创建远程url连接对象
|
||||
URL url = new URL(httpUrl);
|
||||
try {
|
||||
// trustAllHttpsCertificates();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("【异常】doGet-https-->" + e.getMessage());
|
||||
}
|
||||
connection = (HttpURLConnection) url.openConnection();
|
||||
|
||||
// 设置header
|
||||
for (String key : HeaderMap.keySet()) {
|
||||
connection.setRequestProperty(key, HeaderMap.get(key).toString());
|
||||
}
|
||||
|
||||
// 设置连接方式:get
|
||||
connection.setRequestMethod("GET");
|
||||
// 设置连接主机服务器的超时时间:15000毫秒
|
||||
connection.setConnectTimeout(15000);
|
||||
// 设置读取远程返回的数据时间:60000毫秒
|
||||
connection.setReadTimeout(60000);
|
||||
// 发送请求
|
||||
connection.connect();
|
||||
// 通过connection连接,获取输入流
|
||||
if (connection.getResponseCode() == 200) {
|
||||
is = connection.getInputStream();
|
||||
// 封装输入流is,并指定字符集
|
||||
br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
|
||||
// 存放数据
|
||||
StringBuffer sbf = new StringBuffer();
|
||||
String tempX = "";
|
||||
while ((tempX = br.readLine()) != null) {
|
||||
sbf.append(tempX);
|
||||
sbf.append("\r\n");
|
||||
}
|
||||
result = sbf.toString();
|
||||
System.out.println(result);
|
||||
} else {
|
||||
String line;
|
||||
String message = "";
|
||||
br = new BufferedReader(new InputStreamReader(connection.getErrorStream()));
|
||||
StringBuffer buff = new StringBuffer();
|
||||
while ((line = br.readLine()) != null) {
|
||||
buff.append(line + "\n");
|
||||
message += line;
|
||||
}
|
||||
message = buff.toString();
|
||||
System.out.println(message);
|
||||
}
|
||||
} catch (MalformedURLException e) {
|
||||
e.printStackTrace();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
// 关闭资源
|
||||
if (null != br) {
|
||||
try {
|
||||
br.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
if (null != is) {
|
||||
try {
|
||||
is.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
connection.disconnect();// 关闭远程连接
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public static String doPost(String httpUrl, String BodyParam, Map<String, String> HeaderMap) {
|
||||
HttpURLConnection connection = null;
|
||||
InputStream is = null;
|
||||
OutputStream os = null;
|
||||
BufferedReader br = null;
|
||||
String result = null;
|
||||
try {
|
||||
URL url = new URL(httpUrl);
|
||||
try {
|
||||
// trustAllHttpsCertificates();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
System.out.println("【异常】doPost-https-->" + e.getMessage());
|
||||
}
|
||||
connection = (HttpURLConnection) url.openConnection();
|
||||
|
||||
// 设置header
|
||||
for (String key : HeaderMap.keySet()) {
|
||||
connection.setRequestProperty(key, HeaderMap.get(key).toString());
|
||||
}
|
||||
connection.setRequestMethod("POST");
|
||||
connection.setConnectTimeout(15000);
|
||||
connection.setReadTimeout(60000);
|
||||
connection.setDoOutput(true);
|
||||
connection.setDoInput(true);
|
||||
|
||||
os = connection.getOutputStream();
|
||||
os.write(BodyParam.getBytes());
|
||||
int resCode = connection.getResponseCode();
|
||||
|
||||
is = connection.getInputStream();
|
||||
br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
|
||||
StringBuffer sbf = new StringBuffer();
|
||||
String temp = null;
|
||||
while ((temp = br.readLine()) != null) {
|
||||
sbf.append(temp);
|
||||
sbf.append("\r\n");
|
||||
}
|
||||
result = sbf.toString();
|
||||
} catch (Exception e) {
|
||||
System.out.println(e.getMessage());
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
if (null != br) {
|
||||
try {
|
||||
br.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
if (null != os) {
|
||||
try {
|
||||
os.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
if (null != is) {
|
||||
try {
|
||||
is.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
connection.disconnect();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 信任全部https证书
|
||||
*/
|
||||
private static void trustAllHttpsCertificates() throws Exception {
|
||||
HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
|
||||
public boolean verify(String str, SSLSession session) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
javax.net.ssl.TrustManager[] trustAllCerts = new javax.net.ssl.TrustManager[1];
|
||||
javax.net.ssl.TrustManager tm = new miTM();
|
||||
trustAllCerts[0] = tm;
|
||||
javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");
|
||||
sc.init(null, trustAllCerts, null);
|
||||
javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
|
||||
}
|
||||
|
||||
static class miTM implements javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager {
|
||||
|
||||
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean isServerTrusted(java.security.cert.X509Certificate[] certs) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean isClientTrusted(java.security.cert.X509Certificate[] certs) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void checkServerTrusted(java.security.cert.X509Certificate[] certs, String authType)
|
||||
throws java.security.cert.CertificateException {
|
||||
return;
|
||||
}
|
||||
|
||||
public void checkClientTrusted(java.security.cert.X509Certificate[] certs, String authType)
|
||||
throws java.security.cert.CertificateException {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public static String sendPost(String url, String param, Map<String, String> HeaderMap) {
|
||||
PrintWriter out = null;
|
||||
BufferedReader in = null;
|
||||
String result = "";
|
||||
try {
|
||||
URL realUrl = new URL(url);
|
||||
// 打开和URL之间的连接
|
||||
URLConnection conn = realUrl.openConnection();
|
||||
|
||||
// 设置header
|
||||
for (String key : HeaderMap.keySet()) {
|
||||
conn.setRequestProperty(key, HeaderMap.get(key).toString());
|
||||
}
|
||||
|
||||
// 发送POST请求必须设置如下两行
|
||||
conn.setDoOutput(true);
|
||||
conn.setDoInput(true);
|
||||
// 获取URLConnection对象对应的输出流
|
||||
out = new PrintWriter(conn.getOutputStream());
|
||||
// 发送请求参数
|
||||
out.print(param);
|
||||
// flush输出流的缓冲
|
||||
out.flush();
|
||||
// 定义BufferedReader输入流来读取URL的响应
|
||||
in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
|
||||
String line;
|
||||
while ((line = in.readLine()) != null) {
|
||||
result += line;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
System.out.println("发送 POST 请求出现异常!" + e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
// 使用finally块来关闭输出流、输入流
|
||||
finally {
|
||||
try {
|
||||
if (out != null) {
|
||||
out.close();
|
||||
}
|
||||
if (in != null) {
|
||||
in.close();
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public static void tst4(String redirect_uri,String code) {
|
||||
OkHttpClient client = new OkHttpClient();
|
||||
|
||||
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
|
||||
RequestBody body = RequestBody.create(mediaType, "a=1");
|
||||
|
||||
Request request = new Request.Builder()
|
||||
.url("http://cs.idm.cjlr.com:7777/ms_oauth/oauth2/endpoints/oauthservice/tokens?redirect_uri="+redirect_uri+"&grant_type=authorization_code&code="+code)
|
||||
.post(body)
|
||||
.addHeader("Authorization", "Basic 这里需要改改")
|
||||
.addHeader("Content-Type", "application/x-www-form-urlencoded")
|
||||
.addHeader("Accept", "*/*")
|
||||
.addHeader("Cache-Control", "no-cache")
|
||||
.addHeader("Connection", "keep-alive")
|
||||
.addHeader("cache-control", "no-cache")
|
||||
.build();
|
||||
|
||||
try {
|
||||
Response response = client.newCall(request).execute();
|
||||
System.out.println(response);
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
System.out.println(e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,270 +0,0 @@
|
||||
package com.yili.util;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.commons.httpclient.Cookie;
|
||||
import org.apache.commons.httpclient.Header;
|
||||
import org.apache.commons.httpclient.HttpClient;
|
||||
import org.apache.commons.httpclient.HttpMethodBase;
|
||||
import org.apache.commons.httpclient.HttpStatus;
|
||||
import org.apache.commons.httpclient.NameValuePair;
|
||||
import org.apache.commons.httpclient.methods.GetMethod;
|
||||
import org.apache.commons.httpclient.methods.PostMethod;
|
||||
import org.apache.commons.httpclient.methods.RequestEntity;
|
||||
import org.apache.commons.httpclient.methods.StringRequestEntity;
|
||||
import org.apache.commons.httpclient.params.HttpConnectionManagerParams;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
public class HttpClientUtil {
|
||||
private static final Logger log = LoggerFactory.getLogger(HttpClientUtil.class);
|
||||
|
||||
private HttpClient client;
|
||||
private HttpMethodBase httpMethod;
|
||||
|
||||
public HttpClientUtil(HttpMethodBase method) {
|
||||
this.httpMethod = method;
|
||||
this.client = new HttpClient();
|
||||
this.client.getParams().setParameter("http.protocol.content-charset", "UTF-8");
|
||||
}
|
||||
|
||||
public HttpClientUtil(String proxyHost, int proxyPort) {
|
||||
this.client = null;
|
||||
this.httpMethod = null;
|
||||
this.client = new HttpClient();
|
||||
this.client.getParams().setParameter("http.protocol.content-charset", "UTF-8");
|
||||
setProxy(client, proxyHost , proxyPort);
|
||||
}
|
||||
|
||||
public HttpClientUtil(int timeoutInMilliseconds) {
|
||||
this(null);
|
||||
HttpConnectionManagerParams ps = this.client.getHttpConnectionManager().getParams();
|
||||
ps.setSoTimeout(timeoutInMilliseconds);
|
||||
ps.setConnectionTimeout(timeoutInMilliseconds);
|
||||
}
|
||||
|
||||
public void setRequestHeader(String name, String value) {
|
||||
this.httpMethod.setRequestHeader(name, value);
|
||||
}
|
||||
|
||||
public void addParameter(String name, String value) throws IllegalArgumentException {
|
||||
if(name != null && value != null) {
|
||||
if(this.httpMethod instanceof GetMethod) {
|
||||
String q = this.httpMethod.getQueryString();
|
||||
if(q == null) {
|
||||
this.httpMethod.setQueryString(name + "=" + value);
|
||||
} else {
|
||||
this.httpMethod.setQueryString(q + "&" + name + "=" + value);
|
||||
}
|
||||
} else if(this.httpMethod instanceof PostMethod) {
|
||||
((PostMethod)this.httpMethod).addParameter(name, value);
|
||||
}
|
||||
} else {
|
||||
throw new IllegalArgumentException("Arguments to addParameter(String, String) cannot be null");
|
||||
}
|
||||
}
|
||||
|
||||
public static PostMethod buildPostMethod(String server, String uri, NameValuePair[] pairs) {
|
||||
PostMethod postMethod = new PostMethod(server+ uri);
|
||||
postMethod.addParameters(pairs);
|
||||
postMethod.setRequestHeader("Connection","close");
|
||||
postMethod.setRequestHeader("charset","UTF-8");
|
||||
return postMethod;
|
||||
}
|
||||
|
||||
public static JSONObject postSend(String server, String uri, NameValuePair[] pairs) throws IOException {
|
||||
PostMethod postMethod = HttpClientUtil.buildPostMethod(server, uri,pairs);
|
||||
HttpClient httpClient = new HttpClient();
|
||||
httpClient.executeMethod(postMethod);
|
||||
if (postMethod.getStatusCode() == HttpStatus.SC_OK){
|
||||
String responseBody = HttpClientUtil.getResponseBodyAsString(postMethod,"UTF-8");
|
||||
return JSON.parseObject(responseBody);
|
||||
}
|
||||
return new JSONObject();
|
||||
}
|
||||
|
||||
public static String getResponseBodyAsString(HttpMethodBase httpMethod, String contentCharset) throws IOException {
|
||||
InputStream in = httpMethod.getResponseBodyAsStream();
|
||||
ByteArrayOutputStream out = new ByteArrayOutputStream(4096);
|
||||
byte[] buffer = new byte[4096];
|
||||
int len;
|
||||
while((len = in.read(buffer)) > 0) {
|
||||
out.write(buffer, 0, len);
|
||||
}
|
||||
out.close();
|
||||
byte[] data = out.toByteArray();
|
||||
return contentCharset != null?new String(data, contentCharset):new String(data);
|
||||
}
|
||||
|
||||
public static String buildQueryString(Map<String, String> params) {
|
||||
StringBuffer postParam = new StringBuffer();
|
||||
Set<Map.Entry<String, String>> entrySet = params.entrySet();
|
||||
for (Map.Entry<String, String> entry : entrySet) {
|
||||
postParam.append(entry.getKey());
|
||||
postParam.append("=");
|
||||
postParam.append(entry.getValue());
|
||||
postParam.append("&");
|
||||
}
|
||||
return postParam.substring(0, postParam.lastIndexOf("&"));
|
||||
}
|
||||
|
||||
public void setPostRequestBody(String data) throws UnsupportedEncodingException {
|
||||
setPostRequestBody(data, "text/plain","UTF-8");
|
||||
}
|
||||
|
||||
public void setPostRequestBody(String data,String contentType,String charset) throws UnsupportedEncodingException {
|
||||
if(this.httpMethod instanceof PostMethod) {
|
||||
PostMethod httpMethod = (PostMethod) this.httpMethod;
|
||||
RequestEntity entity = new StringRequestEntity(data, contentType,charset);
|
||||
httpMethod.setRequestEntity(entity);
|
||||
}
|
||||
}
|
||||
|
||||
public int send() throws IOException {
|
||||
this.httpMethod.setRequestHeader("Connection", "close");
|
||||
return this.client.executeMethod(this.httpMethod);
|
||||
}
|
||||
|
||||
public Map<String, String> getResponseHeader() {
|
||||
Map<String, String> r = new HashMap();
|
||||
Header[] h = this.httpMethod.getResponseHeaders();
|
||||
Header[] var3 = h;
|
||||
int var4 = h.length;
|
||||
|
||||
for(int var5 = 0; var5 < var4; ++var5) {
|
||||
Header header = var3[var5];
|
||||
r.put(header.getName(), header.getValue());
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
public Map<String, String> getCookies() {
|
||||
Map<String, String> r = new HashMap();
|
||||
Cookie[] cs = this.client.getState().getCookies();
|
||||
Cookie[] var3 = cs;
|
||||
int var4 = cs.length;
|
||||
|
||||
for(int var5 = 0; var5 < var4; ++var5) {
|
||||
Cookie c = var3[var5];
|
||||
r.put(c.getName(), c.getValue());
|
||||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
public InputStream getResponseBodyAsStream() throws IOException {
|
||||
return this.httpMethod.getResponseBodyAsStream();
|
||||
}
|
||||
|
||||
public String getResponseBodyAsString(String contentCharset) throws IOException {
|
||||
InputStream instream = this.httpMethod.getResponseBodyAsStream();
|
||||
ByteArrayOutputStream outstream = new ByteArrayOutputStream(4096);
|
||||
byte[] buffer = new byte[4096];
|
||||
|
||||
int len;
|
||||
while((len = instream.read(buffer)) > 0) {
|
||||
outstream.write(buffer, 0, len);
|
||||
}
|
||||
|
||||
outstream.close();
|
||||
byte[] rawdata = outstream.toByteArray();
|
||||
return contentCharset != null?new String(rawdata, contentCharset):new String(rawdata);
|
||||
}
|
||||
|
||||
public void close() {
|
||||
if(this.httpMethod != null) {
|
||||
try {
|
||||
this.httpMethod.releaseConnection();
|
||||
} catch (Exception var2) {
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void setProxy(HttpClient client, String proxyHost, int proxyPort ) {
|
||||
if(StringUtils.isNotBlank(proxyHost)) {
|
||||
if(proxyPort > 0) {
|
||||
client.getHostConfiguration().setProxy(proxyHost, proxyPort);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static String getContent(String url, String proxyHost, int proxyPort ) {
|
||||
if(StringUtils.isNotBlank(url)) {
|
||||
HttpClient client = new HttpClient();
|
||||
GetMethod get = new GetMethod(url);
|
||||
setProxy(client,proxyHost,proxyPort);
|
||||
get.setRequestHeader("Connection", "close");
|
||||
String var3;
|
||||
try {
|
||||
client.executeMethod(get);
|
||||
var3 = get.getResponseBodyAsString();
|
||||
} catch (Exception var7) {
|
||||
log.error("", var7);
|
||||
return null;
|
||||
} finally {
|
||||
get.releaseConnection();
|
||||
}
|
||||
|
||||
return var3;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static String getContent(String url) {
|
||||
if(StringUtils.isNotBlank(url)) {
|
||||
HttpClient client = new HttpClient();
|
||||
GetMethod get = new GetMethod(url);
|
||||
get.setRequestHeader("Connection", "close");
|
||||
String var3;
|
||||
try {
|
||||
client.executeMethod(get);
|
||||
var3 = get.getResponseBodyAsString();
|
||||
} catch (Exception var7) {
|
||||
log.error("", var7);
|
||||
return null;
|
||||
} finally {
|
||||
get.releaseConnection();
|
||||
}
|
||||
return var3;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static Header[] getContentHeader(String url) {
|
||||
if(StringUtils.isNotBlank(url)) {
|
||||
HttpClient client = new HttpClient();
|
||||
GetMethod get = new GetMethod(url);
|
||||
get.setRequestHeader("Connection", "close");
|
||||
Header[] var3;
|
||||
try {
|
||||
client.executeMethod(get);
|
||||
var3 = get.getResponseHeaders();
|
||||
} catch (Exception var7) {
|
||||
log.error("", var7);
|
||||
return null;
|
||||
} finally {
|
||||
get.releaseConnection();
|
||||
}
|
||||
return var3;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,53 +0,0 @@
|
||||
package com.yili.util;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
import org.apache.http.HttpEntity;
|
||||
import org.apache.http.client.config.RequestConfig;
|
||||
import org.apache.http.client.methods.CloseableHttpResponse;
|
||||
import org.apache.http.client.methods.HttpPost;
|
||||
import org.apache.http.entity.StringEntity;
|
||||
import org.apache.http.impl.client.CloseableHttpClient;
|
||||
import org.apache.http.impl.client.HttpClientBuilder;
|
||||
import org.apache.http.util.EntityUtils;
|
||||
|
||||
/**
|
||||
* @PackageName: com.awspaas.user.apps.yili.integration.util
|
||||
* @ClassName: UtilUrl
|
||||
* @author: yujh
|
||||
* @date: 2022/5/18 21:41
|
||||
*/
|
||||
public class UtilUrl {
|
||||
|
||||
//使用SOAP1.1发送消息
|
||||
public static String doPostSoap(String postUrl, String soapXml, String soapAction) {
|
||||
String retStr = "";
|
||||
// 创建HttpClientBuilder
|
||||
HttpClientBuilder httpClientBuilder = HttpClientBuilder.create();
|
||||
// HttpClient
|
||||
CloseableHttpClient closeableHttpClient = httpClientBuilder.build();
|
||||
HttpPost httpPost = new HttpPost(postUrl);
|
||||
// 设置请求和传输超时时间
|
||||
RequestConfig requestConfig = RequestConfig.custom().setSocketTimeout(6000)
|
||||
.setConnectTimeout(6000).build();
|
||||
httpPost.setConfig(requestConfig);
|
||||
try {
|
||||
httpPost.setHeader("Content-Type", "text/xml;charset=UTF-8");
|
||||
httpPost.setHeader("SOAPAction", soapAction);
|
||||
StringEntity data = new StringEntity(soapXml, Charset.forName("UTF-8"));
|
||||
httpPost.setEntity(data);
|
||||
CloseableHttpResponse response = closeableHttpClient.execute(httpPost);
|
||||
HttpEntity httpEntity = response.getEntity();
|
||||
if (httpEntity != null) {
|
||||
// 打印响应内容
|
||||
retStr = EntityUtils.toString(httpEntity, "UTF-8");
|
||||
|
||||
}
|
||||
// 释放资源
|
||||
closeableHttpClient.close();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return retStr;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 993 KiB After Width: | Height: | Size: 1.2 MiB |
@ -1,385 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
#############################################################
|
||||
##
|
||||
## AWS CoE国际化配置
|
||||
##
|
||||
## Copyright(C)2001-2009 Actionsoft Co.,Ltd
|
||||
##
|
||||
#############################################################
|
||||
-->
|
||||
<locale-config>
|
||||
<lang>
|
||||
<item key="运行在">
|
||||
<cn><![CDATA[运行在]]></cn>
|
||||
<en><![CDATA[Runs on]]></en>
|
||||
<big5><![CDATA[運行在]]></big5>
|
||||
</item>
|
||||
<item key="为...提供输入">
|
||||
<cn><![CDATA[为...提供输入]]></cn>
|
||||
<en><![CDATA[Provides input to...]]></en>
|
||||
<big5><![CDATA[為...提供輸入]]></big5>
|
||||
</item>
|
||||
<item key="是...的下级">
|
||||
<cn><![CDATA[是...的下级]]></cn>
|
||||
<en><![CDATA[Is a subordinate of...]]></en>
|
||||
<big5><![CDATA[是...的下級]]></big5>
|
||||
</item>
|
||||
<item key="使用">
|
||||
<cn><![CDATA[使用]]></cn>
|
||||
<en><![CDATA[Use]]></en>
|
||||
<big5><![CDATA[使用]]></big5>
|
||||
</item>
|
||||
<item key="由...评估">
|
||||
<cn><![CDATA[由...评估]]></cn>
|
||||
<en><![CDATA[Evaluated by...]]></en>
|
||||
<big5><![CDATA[由...評估]]></big5>
|
||||
</item>
|
||||
<item key="占据">
|
||||
<cn><![CDATA[占据]]></cn>
|
||||
<en><![CDATA[Occupies]]></en>
|
||||
<big5><![CDATA[佔據]]></big5>
|
||||
</item>
|
||||
<item key="从...中读取数据">
|
||||
<cn><![CDATA[从...中读取数据]]></cn>
|
||||
<en><![CDATA[Reads data from...]]></en>
|
||||
<big5><![CDATA[從...中讀取數據]]></big5>
|
||||
</item>
|
||||
<item key="减轻">
|
||||
<cn><![CDATA[减轻]]></cn>
|
||||
<en><![CDATA[Mitigates]]></en>
|
||||
<big5><![CDATA[減輕]]></big5>
|
||||
</item>
|
||||
<item key="通过...得到降级">
|
||||
<cn><![CDATA[通过...得到降级]]></cn>
|
||||
<en><![CDATA[Downgraded through...]]></en>
|
||||
<big5><![CDATA[通過...得到降級]]></big5>
|
||||
</item>
|
||||
<item key="展示">
|
||||
<cn><![CDATA[展示]]></cn>
|
||||
<en><![CDATA[Displays]]></en>
|
||||
<big5><![CDATA[展示]]></big5>
|
||||
</item>
|
||||
<item key="完成">
|
||||
<cn><![CDATA[完成]]></cn>
|
||||
<en><![CDATA[Completes]]></en>
|
||||
<big5><![CDATA[完成]]></big5>
|
||||
</item>
|
||||
<item key="被...导致">
|
||||
<cn><![CDATA[被...导致]]></cn>
|
||||
<en><![CDATA[Caused by...]]></en>
|
||||
<big5><![CDATA[被...導致]]></big5>
|
||||
</item>
|
||||
<item key="被...激活">
|
||||
<cn><![CDATA[被...激活]]></cn>
|
||||
<en><![CDATA[Activated by...]]></en>
|
||||
<big5><![CDATA[被...激活]]></big5>
|
||||
</item>
|
||||
<item key="被...影响">
|
||||
<cn><![CDATA[被...影响]]></cn>
|
||||
<en><![CDATA[Affected by...]]></en>
|
||||
<big5><![CDATA[被...影響]]></big5>
|
||||
</item>
|
||||
<item key="连接">
|
||||
<cn><![CDATA[连接]]></cn>
|
||||
<en><![CDATA[Connects]]></en>
|
||||
<big5><![CDATA[連接]]></big5>
|
||||
</item>
|
||||
<item key="是...的后继">
|
||||
<cn><![CDATA[是...的后继]]></cn>
|
||||
<en><![CDATA[Is a successor of...]]></en>
|
||||
<big5><![CDATA[是...的後繼]]></big5>
|
||||
</item>
|
||||
<item key="被...链接">
|
||||
<cn><![CDATA[被...链接]]></cn>
|
||||
<en><![CDATA[Linked by...]]></en>
|
||||
<big5><![CDATA[被...鏈接]]></big5>
|
||||
</item>
|
||||
<item key="被...评估">
|
||||
<cn><![CDATA[被...评估]]></cn>
|
||||
<en><![CDATA[Evaluated by...]]></en>
|
||||
<big5><![CDATA[被...評估]]></big5>
|
||||
</item>
|
||||
<item key="衡量">
|
||||
<cn><![CDATA[衡量]]></cn>
|
||||
<en><![CDATA[Measures]]></en>
|
||||
<big5><![CDATA[衡量]]></big5>
|
||||
</item>
|
||||
<item key="通过...得到降低">
|
||||
<cn><![CDATA[通过...得到降低]]></cn>
|
||||
<en><![CDATA[Reduced through...]]></en>
|
||||
<big5><![CDATA[通過...得到降低]]></big5>
|
||||
</item>
|
||||
<item key="被...使用">
|
||||
<cn><![CDATA[被...使用]]></cn>
|
||||
<en><![CDATA[Used by...]]></en>
|
||||
<big5><![CDATA[被...使用]]></big5>
|
||||
</item>
|
||||
<item key="被...管理">
|
||||
<cn><![CDATA[被...管理]]></cn>
|
||||
<en><![CDATA[Managed by...]]></en>
|
||||
<big5><![CDATA[被...管理]]></big5>
|
||||
</item>
|
||||
<item key="是...的管理者">
|
||||
<cn><![CDATA[是...的管理者]]></cn>
|
||||
<en><![CDATA[Is a manager of...]]></en>
|
||||
<big5><![CDATA[是...的管理者]]></big5>
|
||||
</item>
|
||||
<item key="被...完成">
|
||||
<cn><![CDATA[被...完成]]></cn>
|
||||
<en><![CDATA[Completed by...]]></en>
|
||||
<big5><![CDATA[被...完成]]></big5>
|
||||
</item>
|
||||
<item key="在...之前">
|
||||
<cn><![CDATA[在...之前]]></cn>
|
||||
<en><![CDATA[Before...]]></en>
|
||||
<big5><![CDATA[在...之前]]></big5>
|
||||
</item>
|
||||
<item key="出现在">
|
||||
<cn><![CDATA[出现在]]></cn>
|
||||
<en><![CDATA[Appears in]]></en>
|
||||
<big5><![CDATA[出現在]]></big5>
|
||||
</item>
|
||||
<item key="降低">
|
||||
<cn><![CDATA[降低]]></cn>
|
||||
<en><![CDATA[Reduces]]></en>
|
||||
<big5><![CDATA[降低]]></big5>
|
||||
</item>
|
||||
<item key="创建">
|
||||
<cn><![CDATA[创建]]></cn>
|
||||
<en><![CDATA[Creates]]></en>
|
||||
<big5><![CDATA[創建]]></big5>
|
||||
</item>
|
||||
<item key="是...的组成部分">
|
||||
<cn><![CDATA[是...的组成部分]]></cn>
|
||||
<en><![CDATA[Is a component of...]]></en>
|
||||
<big5><![CDATA[是...的組成部分]]></big5>
|
||||
</item>
|
||||
<item key="被...占据">
|
||||
<cn><![CDATA[被...占据]]></cn>
|
||||
<en><![CDATA[Occupied by...]]></en>
|
||||
<big5><![CDATA[被...佔據]]></big5>
|
||||
</item>
|
||||
<item key="是...组织的管理者">
|
||||
<cn><![CDATA[是...组织的管理者]]></cn>
|
||||
<en><![CDATA[Is an organizational manager of...]]></en>
|
||||
<big5><![CDATA[是...組織的管理者]]></big5>
|
||||
</item>
|
||||
<item key="被...连接">
|
||||
<cn><![CDATA[被...连接]]></cn>
|
||||
<en><![CDATA[Connected by...]]></en>
|
||||
<big5><![CDATA[被...連接]]></big5>
|
||||
</item>
|
||||
<item key="支持">
|
||||
<cn><![CDATA[支持]]></cn>
|
||||
<en><![CDATA[Supports]]></en>
|
||||
<big5><![CDATA[支持]]></big5>
|
||||
</item>
|
||||
<item key="被分配给">
|
||||
<cn><![CDATA[被分配给]]></cn>
|
||||
<en><![CDATA[Assigned to]]></en>
|
||||
<big5><![CDATA[被分配給]]></big5>
|
||||
</item>
|
||||
<item key="拥有...作为员工">
|
||||
<cn><![CDATA[拥有...作为员工]]></cn>
|
||||
<en><![CDATA[Has ... as an employee]]></en>
|
||||
<big5><![CDATA[擁有...作為員工]]></big5>
|
||||
</item>
|
||||
<item key="是...的输出">
|
||||
<cn><![CDATA[是...的输出]]></cn>
|
||||
<en><![CDATA[Is an output of...]]></en>
|
||||
<big5><![CDATA[是...的輸出]]></big5>
|
||||
</item>
|
||||
<item key="是...的面向流程的下级">
|
||||
<cn><![CDATA[是...的面向流程的下级]]></cn>
|
||||
<en><![CDATA[Is a process-oriented subordinate of...]]></en>
|
||||
<big5><![CDATA[是...的面向流程的下級]]></big5>
|
||||
</item>
|
||||
<item key="执行">
|
||||
<cn><![CDATA[执行]]></cn>
|
||||
<en><![CDATA[Executes]]></en>
|
||||
<big5><![CDATA[執行]]></big5>
|
||||
</item>
|
||||
<item key="一般化后是...">
|
||||
<cn><![CDATA[一般化后是...]]></cn>
|
||||
<en><![CDATA[Generalizes to...]]></en>
|
||||
<big5><![CDATA[一般化後是...]]></big5>
|
||||
</item>
|
||||
<item key="包含">
|
||||
<cn><![CDATA[包含]]></cn>
|
||||
<en><![CDATA[Includes]]></en>
|
||||
<big5><![CDATA[包含]]></big5>
|
||||
</item>
|
||||
<item key="是...的前驱">
|
||||
<cn><![CDATA[是...的前驱]]></cn>
|
||||
<en><![CDATA[Is a precursor of...]]></en>
|
||||
<big5><![CDATA[是...的前驅]]></big5>
|
||||
</item>
|
||||
<item key="对...负有责任">
|
||||
<cn><![CDATA[对...负有责任]]></cn>
|
||||
<en><![CDATA[Is responsible for...]]></en>
|
||||
<big5><![CDATA[對...負有責任]]></big5>
|
||||
</item>
|
||||
<item key="为...提供数据">
|
||||
<cn><![CDATA[为...提供数据]]></cn>
|
||||
<en><![CDATA[Provides data to...]]></en>
|
||||
<big5><![CDATA[為...提供數據]]></big5>
|
||||
</item>
|
||||
<item key="被...负责任">
|
||||
<cn><![CDATA[被...负责任]]></cn>
|
||||
<en><![CDATA[Is held responsible by...]]></en>
|
||||
<big5><![CDATA[被...負責任]]></big5>
|
||||
</item>
|
||||
<item key="是...的组成">
|
||||
<cn><![CDATA[是...的组成]]></cn>
|
||||
<en><![CDATA[Is a composition of...]]></en>
|
||||
<big5><![CDATA[是...的組成]]></big5>
|
||||
</item>
|
||||
<item key="是...的特殊化">
|
||||
<cn><![CDATA[是...的特殊化]]></cn>
|
||||
<en><![CDATA[Is a specialization of...]]></en>
|
||||
<big5><![CDATA[是...的特殊化]]></big5>
|
||||
</item>
|
||||
<item key="作为输入">
|
||||
<cn><![CDATA[作为输入]]></cn>
|
||||
<en><![CDATA[As an input]]></en>
|
||||
<big5><![CDATA[作為輸入]]></big5>
|
||||
</item>
|
||||
<item key="由...创建">
|
||||
<cn><![CDATA[由...创建]]></cn>
|
||||
<en><![CDATA[Created by...]]></en>
|
||||
<big5><![CDATA[由...創建]]></big5>
|
||||
</item>
|
||||
<item key="被...支持">
|
||||
<cn><![CDATA[被...支持]]></cn>
|
||||
<en><![CDATA[Supported by...]]></en>
|
||||
<big5><![CDATA[被...支持]]></big5>
|
||||
</item>
|
||||
<item key="由...承担组织管理者">
|
||||
<cn><![CDATA[由...承担组织管理者]]></cn>
|
||||
<en><![CDATA[Undertaken by the organizational manager]]></en>
|
||||
<big5><![CDATA[由...承擔組織管理者]]></big5>
|
||||
</item>
|
||||
<item key="在...上展示">
|
||||
<cn><![CDATA[在...上展示]]></cn>
|
||||
<en><![CDATA[Displayed on...]]></en>
|
||||
<big5><![CDATA[在...上展示]]></big5>
|
||||
</item>
|
||||
<item key="被...包含">
|
||||
<cn><![CDATA[被...包含]]></cn>
|
||||
<en><![CDATA[Contained by...]]></en>
|
||||
<big5><![CDATA[被...包含]]></big5>
|
||||
</item>
|
||||
<item key="是...的上级">
|
||||
<cn><![CDATA[是...的上级]]></cn>
|
||||
<en><![CDATA[Is a superior of...]]></en>
|
||||
<big5><![CDATA[是...的上級]]></big5>
|
||||
</item>
|
||||
<item key="由...组成">
|
||||
<cn><![CDATA[由...组成]]></cn>
|
||||
<en><![CDATA[Composed of...]]></en>
|
||||
<big5><![CDATA[由...組成]]></big5>
|
||||
</item>
|
||||
<item key="被...执行">
|
||||
<cn><![CDATA[被...执行]]></cn>
|
||||
<en><![CDATA[Executed by...]]></en>
|
||||
<big5><![CDATA[被...執行]]></big5>
|
||||
</item>
|
||||
<item key="写入">
|
||||
<cn><![CDATA[写入]]></cn>
|
||||
<en><![CDATA[Written into]]></en>
|
||||
<big5><![CDATA[寫入]]></big5>
|
||||
</item>
|
||||
<item key="是...的面向流程的上级">
|
||||
<cn><![CDATA[是...的面向流程的上级]]></cn>
|
||||
<en><![CDATA[Is a process-oriented superior of...]]></en>
|
||||
<big5><![CDATA[是...的面向流程的上級]]></big5>
|
||||
</item>
|
||||
<item key="依赖于">
|
||||
<cn><![CDATA[依赖于]]></cn>
|
||||
<en><![CDATA[Depends on]]></en>
|
||||
<big5><![CDATA[依賴於]]></big5>
|
||||
</item>
|
||||
<item key="由...执行">
|
||||
<cn><![CDATA[由...执行]]></cn>
|
||||
<en><![CDATA[Performed by...]]></en>
|
||||
<big5><![CDATA[由...執行]]></big5>
|
||||
</item>
|
||||
<item key="被...创建">
|
||||
<cn><![CDATA[被...创建]]></cn>
|
||||
<en><![CDATA[Created by...]]></en>
|
||||
<big5><![CDATA[被...創建]]></big5>
|
||||
</item>
|
||||
<item key="通过...来衡量">
|
||||
<cn><![CDATA[通过...来衡量]]></cn>
|
||||
<en><![CDATA[Measured by...]]></en>
|
||||
<big5><![CDATA[通過...來衡量]]></big5>
|
||||
</item>
|
||||
<item key="与...关联">
|
||||
<cn><![CDATA[与...关联]]></cn>
|
||||
<en><![CDATA[Associated with...]]></en>
|
||||
<big5><![CDATA[與...關聯]]></big5>
|
||||
</item>
|
||||
<item key="在...之后">
|
||||
<cn><![CDATA[在...之后]]></cn>
|
||||
<en><![CDATA[After...]]></en>
|
||||
<big5><![CDATA[在...之後]]></big5>
|
||||
</item>
|
||||
<item key="导致">
|
||||
<cn><![CDATA[导致]]></cn>
|
||||
<en><![CDATA[Leads to]]></en>
|
||||
<big5><![CDATA[導致]]></big5>
|
||||
</item>
|
||||
<item key="链接">
|
||||
<cn><![CDATA[链接]]></cn>
|
||||
<en><![CDATA[Links]]></en>
|
||||
<big5><![CDATA[鏈接]]></big5>
|
||||
</item>
|
||||
<item key="激活">
|
||||
<cn><![CDATA[激活]]></cn>
|
||||
<en><![CDATA[Activates]]></en>
|
||||
<big5><![CDATA[激活]]></big5>
|
||||
</item>
|
||||
<item key="影响">
|
||||
<cn><![CDATA[影响]]></cn>
|
||||
<en><![CDATA[Influences]]></en>
|
||||
<big5><![CDATA[影響]]></big5>
|
||||
</item>
|
||||
<item key="是...的一般化">
|
||||
<cn><![CDATA[是...的一般化]]></cn>
|
||||
<en><![CDATA[Is a generalization of...]]></en>
|
||||
<big5><![CDATA[是...的一般化]]></big5>
|
||||
</item>
|
||||
<item key="保存...的数据">
|
||||
<cn><![CDATA[保存...的数据]]></cn>
|
||||
<en><![CDATA[Stores data of...]]></en>
|
||||
<big5><![CDATA[保存...的數據]]></big5>
|
||||
</item>
|
||||
<item key="用作...的平台">
|
||||
<cn><![CDATA[用作...的平台]]></cn>
|
||||
<en><![CDATA[Serves as a platform for...]]></en>
|
||||
<big5><![CDATA[用作...的平台]]></big5>
|
||||
</item>
|
||||
<item key="属于">
|
||||
<cn><![CDATA[属于]]></cn>
|
||||
<en><![CDATA[Belongs to]]></en>
|
||||
<big5><![CDATA[屬於]]></big5>
|
||||
</item>
|
||||
<item key="出现">
|
||||
<cn><![CDATA[出现]]></cn>
|
||||
<en><![CDATA[Appears]]></en>
|
||||
<big5><![CDATA[出現]]></big5>
|
||||
</item>
|
||||
<item key="评估">
|
||||
<cn><![CDATA[评估]]></cn>
|
||||
<en><![CDATA[Evaluates]]></en>
|
||||
<big5><![CDATA[評估]]></big5>
|
||||
</item>
|
||||
<item key="创建输出到">
|
||||
<cn><![CDATA[创建输出到]]></cn>
|
||||
<en><![CDATA[Creates output to]]></en>
|
||||
<big5><![CDATA[創建輸出到]]></big5>
|
||||
</item>
|
||||
</lang>
|
||||
</locale-config>
|
||||
@ -1,235 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
#############################################################
|
||||
##
|
||||
## AWS CoE国际化配置
|
||||
##
|
||||
## Copyright(C)2001-2009 Actionsoft Co.,Ltd
|
||||
##
|
||||
#############################################################
|
||||
-->
|
||||
<locale-config>
|
||||
<lang>
|
||||
<item key="管理要素图">
|
||||
<cn><![CDATA[管理要素图]]></cn>
|
||||
<en><![CDATA[Management Elements Diagram]]></en>
|
||||
<big5><![CDATA[管理要素圖]]></big5>
|
||||
</item>
|
||||
<item key="角色图">
|
||||
<cn><![CDATA[角色图]]></cn>
|
||||
<en><![CDATA[Role Diagram]]></en>
|
||||
<big5><![CDATA[角色圖]]></big5>
|
||||
</item>
|
||||
<item key="应用系统图">
|
||||
<cn><![CDATA[应用系统图]]></cn>
|
||||
<en><![CDATA[Application System Diagram]]></en>
|
||||
<big5><![CDATA[應用系統圖]]></big5>
|
||||
</item>
|
||||
<item key="制度图">
|
||||
<cn><![CDATA[制度图]]></cn>
|
||||
<en><![CDATA[Regulatory Diagram]]></en>
|
||||
<big5><![CDATA[制度圖]]></big5>
|
||||
</item>
|
||||
<item key="端到端流程图">
|
||||
<cn><![CDATA[端到端流程图]]></cn>
|
||||
<en><![CDATA[End-to-End Process Diagram]]></en>
|
||||
<big5><![CDATA[端到端流程圖]]></big5>
|
||||
</item>
|
||||
<item key="高阶流程图">
|
||||
<cn><![CDATA[高阶流程图]]></cn>
|
||||
<en><![CDATA[High-Level Process Diagram]]></en>
|
||||
<big5><![CDATA[高階流程圖]]></big5>
|
||||
</item>
|
||||
<item key="控制图">
|
||||
<cn><![CDATA[控制图]]></cn>
|
||||
<en><![CDATA[Control Diagram]]></en>
|
||||
<big5><![CDATA[控制圖]]></big5>
|
||||
</item>
|
||||
<item key="绩效指标图">
|
||||
<cn><![CDATA[绩效指标图]]></cn>
|
||||
<en><![CDATA[Performance Indicator Diagram]]></en>
|
||||
<big5><![CDATA[績效指標圖]]></big5>
|
||||
</item>
|
||||
<item key="组织图">
|
||||
<cn><![CDATA[组织图]]></cn>
|
||||
<en><![CDATA[Organization Diagram]]></en>
|
||||
<big5><![CDATA[組織圖]]></big5>
|
||||
</item>
|
||||
<item key="风险图">
|
||||
<cn><![CDATA[风险图]]></cn>
|
||||
<en><![CDATA[Risk Diagram]]></en>
|
||||
<big5><![CDATA[風險圖]]></big5>
|
||||
</item>
|
||||
<item key="职责图">
|
||||
<cn><![CDATA[职责图]]></cn>
|
||||
<en><![CDATA[Responsibility Diagram]]></en>
|
||||
<big5><![CDATA[職責圖]]></big5>
|
||||
</item>
|
||||
<item key="合规要素图">
|
||||
<cn><![CDATA[合规要素图]]></cn>
|
||||
<en><![CDATA[Compliance Elements Diagram]]></en>
|
||||
<big5><![CDATA[合規要素圖]]></big5>
|
||||
</item>
|
||||
<item key="表单图">
|
||||
<cn><![CDATA[表单图]]></cn>
|
||||
<en><![CDATA[Form Diagram]]></en>
|
||||
<big5><![CDATA[表單圖]]></big5>
|
||||
</item>
|
||||
<item key="业务流程图">
|
||||
<cn><![CDATA[业务流程图]]></cn>
|
||||
<en><![CDATA[Business Process Diagram]]></en>
|
||||
<big5><![CDATA[業務流程圖]]></big5>
|
||||
</item>
|
||||
<item key="事件">
|
||||
<cn><![CDATA[事件]]></cn>
|
||||
<en><![CDATA[Event]]></en>
|
||||
<big5><![CDATA[事件]]></big5>
|
||||
</item>
|
||||
<item key="制度文件类型">
|
||||
<cn><![CDATA[制度文件类型]]></cn>
|
||||
<en><![CDATA[Policy Document Type]]></en>
|
||||
<big5><![CDATA[制度文件類型]]></big5>
|
||||
</item>
|
||||
<item key="职责">
|
||||
<cn><![CDATA[职责]]></cn>
|
||||
<en><![CDATA[Responsibility]]></en>
|
||||
<big5><![CDATA[職責]]></big5>
|
||||
</item>
|
||||
<item key="流程接口">
|
||||
<cn><![CDATA[流程接口]]></cn>
|
||||
<en><![CDATA[Process Interface]]></en>
|
||||
<big5><![CDATA[流程介面]]></big5>
|
||||
</item>
|
||||
<item key="风险">
|
||||
<cn><![CDATA[风险]]></cn>
|
||||
<en><![CDATA[Risk]]></en>
|
||||
<big5><![CDATA[風險]]></big5>
|
||||
</item>
|
||||
<item key="应用系统类型">
|
||||
<cn><![CDATA[应用系统类型]]></cn>
|
||||
<en><![CDATA[Application System Type]]></en>
|
||||
<big5><![CDATA[應用系統類型]]></big5>
|
||||
</item>
|
||||
<item key="与">
|
||||
<cn><![CDATA[与]]></cn>
|
||||
<en><![CDATA[And]]></en>
|
||||
<big5><![CDATA[與]]></big5>
|
||||
</item>
|
||||
<item key="角色类型">
|
||||
<cn><![CDATA[角色类型]]></cn>
|
||||
<en><![CDATA[Role Type]]></en>
|
||||
<big5><![CDATA[角色類型]]></big5>
|
||||
</item>
|
||||
<item key="合规文件">
|
||||
<cn><![CDATA[合规文件]]></cn>
|
||||
<en><![CDATA[Compliance Document]]></en>
|
||||
<big5><![CDATA[合規文件]]></big5>
|
||||
</item>
|
||||
<item key="风险类别">
|
||||
<cn><![CDATA[风险类别]]></cn>
|
||||
<en><![CDATA[Risk Category]]></en>
|
||||
<big5><![CDATA[風險類別]]></big5>
|
||||
</item>
|
||||
<item key="步骤">
|
||||
<cn><![CDATA[步骤]]></cn>
|
||||
<en><![CDATA[Step]]></en>
|
||||
<big5><![CDATA[步驟]]></big5>
|
||||
</item>
|
||||
<item key="模块类型">
|
||||
<cn><![CDATA[模块类型]]></cn>
|
||||
<en><![CDATA[Module Type]]></en>
|
||||
<big5><![CDATA[模塊類型]]></big5>
|
||||
</item>
|
||||
<item key="表单类型">
|
||||
<cn><![CDATA[表单类型]]></cn>
|
||||
<en><![CDATA[Form Type]]></en>
|
||||
<big5><![CDATA[表單類型]]></big5>
|
||||
</item>
|
||||
<item key="功能模块">
|
||||
<cn><![CDATA[功能模块]]></cn>
|
||||
<en><![CDATA[Functional Module]]></en>
|
||||
<big5><![CDATA[功能模塊]]></big5>
|
||||
</item>
|
||||
<item key="或">
|
||||
<cn><![CDATA[或]]></cn>
|
||||
<en><![CDATA[Or]]></en>
|
||||
<big5><![CDATA[或]]></big5>
|
||||
</item>
|
||||
<item key="组织单元">
|
||||
<cn><![CDATA[组织单元]]></cn>
|
||||
<en><![CDATA[Org Unit]]></en>
|
||||
<big5><![CDATA[組織單元]]></big5>
|
||||
</item>
|
||||
<item key="应用系统">
|
||||
<cn><![CDATA[应用系统]]></cn>
|
||||
<en><![CDATA[Application System]]></en>
|
||||
<big5><![CDATA[應用系統]]></big5>
|
||||
</item>
|
||||
<item key="岗位">
|
||||
<cn><![CDATA[岗位]]></cn>
|
||||
<en><![CDATA[Position]]></en>
|
||||
<big5><![CDATA[崗位]]></big5>
|
||||
</item>
|
||||
<item key="异或">
|
||||
<cn><![CDATA[异或]]></cn>
|
||||
<en><![CDATA[XOR]]></en>
|
||||
<big5><![CDATA[異或]]></big5>
|
||||
</item>
|
||||
<item key="控制">
|
||||
<cn><![CDATA[控制]]></cn>
|
||||
<en><![CDATA[Control]]></en>
|
||||
<big5><![CDATA[控制]]></big5>
|
||||
</item>
|
||||
<item key="绩效指标">
|
||||
<cn><![CDATA[绩效指标]]></cn>
|
||||
<en><![CDATA[Performance Indicator]]></en>
|
||||
<big5><![CDATA[績效指標]]></big5>
|
||||
</item>
|
||||
<item key="承接要求">
|
||||
<cn><![CDATA[承接要求]]></cn>
|
||||
<en><![CDATA[Acceptance Requirements]]></en>
|
||||
<big5><![CDATA[承接要求]]></big5>
|
||||
</item>
|
||||
<item key="合规类型">
|
||||
<cn><![CDATA[合规类型]]></cn>
|
||||
<en><![CDATA[Compliance Type]]></en>
|
||||
<big5><![CDATA[合規類型]]></big5>
|
||||
</item>
|
||||
<item key="控制类别">
|
||||
<cn><![CDATA[控制类别]]></cn>
|
||||
<en><![CDATA[Control Category]]></en>
|
||||
<big5><![CDATA[控制類別]]></big5>
|
||||
</item>
|
||||
<item key="制度文件">
|
||||
<cn><![CDATA[制度文件]]></cn>
|
||||
<en><![CDATA[Policy Document]]></en>
|
||||
<big5><![CDATA[制度文件]]></big5>
|
||||
</item>
|
||||
<item key="角色">
|
||||
<cn><![CDATA[角色]]></cn>
|
||||
<en><![CDATA[Role]]></en>
|
||||
<big5><![CDATA[角色]]></big5>
|
||||
</item>
|
||||
<item key="增值链">
|
||||
<cn><![CDATA[增值链]]></cn>
|
||||
<en><![CDATA[Value Chain]]></en>
|
||||
<big5><![CDATA[增值鏈]]></big5>
|
||||
</item>
|
||||
<item key="结构元素">
|
||||
<cn><![CDATA[结构元素]]></cn>
|
||||
<en><![CDATA[Structural Element]]></en>
|
||||
<big5><![CDATA[結構元素]]></big5>
|
||||
</item>
|
||||
<item key="表单">
|
||||
<cn><![CDATA[表单]]></cn>
|
||||
<en><![CDATA[Form]]></en>
|
||||
<big5><![CDATA[表單]]></big5>
|
||||
</item>
|
||||
<item key="合规文件条款">
|
||||
<cn><![CDATA[合规文件条款]]></cn>
|
||||
<en><![CDATA[Compliance Document Clauses]]></en>
|
||||
<big5><![CDATA[合規文件條款]]></big5>
|
||||
</item>
|
||||
</lang>
|
||||
</locale-config>
|
||||
@ -1,100 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
#############################################################
|
||||
##
|
||||
## AWS CoE国际化配置
|
||||
##
|
||||
## Copyright(C)2001-2009 Actionsoft Co.,Ltd
|
||||
##
|
||||
#############################################################
|
||||
-->
|
||||
<locale-config>
|
||||
<lang>
|
||||
<item key="aris.higherOrderProcess">
|
||||
<cn><![CDATA[高阶流程图]]></cn>
|
||||
<en><![CDATA[Aris.higherOrderProcess]]></en>
|
||||
<big5><![CDATA[高階流程圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.processRelationship">
|
||||
<cn><![CDATA[端到端流程图]]></cn>
|
||||
<en><![CDATA[Aris.processRelationship]]></en>
|
||||
<big5><![CDATA[端到端流程圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.businessProcess">
|
||||
<cn><![CDATA[业务流程图]]></cn>
|
||||
<en><![CDATA[Aris.businessProcess]]></en>
|
||||
<big5><![CDATA[業務流程圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.bpmnProcess">
|
||||
<cn><![CDATA[业务流程(BPMN)图]]></cn>
|
||||
<en><![CDATA[Aris.bpmnProcess]]></en>
|
||||
<big5><![CDATA[業務流程(BPMN)圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.processActivity">
|
||||
<cn><![CDATA[流程活动图]]></cn>
|
||||
<en><![CDATA[Aris.processActivity]]></en>
|
||||
<big5><![CDATA[流程活動圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.organization">
|
||||
<cn><![CDATA[组织图]]></cn>
|
||||
<en><![CDATA[Aris.organization]]></en>
|
||||
<big5><![CDATA[組織圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.orgResponsibilityAss">
|
||||
<cn><![CDATA[职责图]]></cn>
|
||||
<en><![CDATA[Aris.orgResponsibilityAss]]></en>
|
||||
<big5><![CDATA[職責圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.roleSystem">
|
||||
<cn><![CDATA[角色图]]></cn>
|
||||
<en><![CDATA[Aris.roleSystem]]></en>
|
||||
<big5><![CDATA[角色圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.form">
|
||||
<cn><![CDATA[表单图]]></cn>
|
||||
<en><![CDATA[Aris.]]></en>
|
||||
<big5><![CDATA[錶單圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.institution">
|
||||
<cn><![CDATA[制度图]]></cn>
|
||||
<en><![CDATA[Aris.institution]]></en>
|
||||
<big5><![CDATA[制度圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.system">
|
||||
<cn><![CDATA[应用系统图]]></cn>
|
||||
<en><![CDATA[Aris.system]]></en>
|
||||
<big5><![CDATA[應用繫統圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.performanceIndicator">
|
||||
<cn><![CDATA[绩效指标图]]></cn>
|
||||
<en><![CDATA[Aris.performanceIndicator]]></en>
|
||||
<big5><![CDATA[績效指標圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.risk">
|
||||
<cn><![CDATA[风险图]]></cn>
|
||||
<en><![CDATA[Aris.risk]]></en>
|
||||
<big5><![CDATA[風險圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.businessControl">
|
||||
<cn><![CDATA[控制图]]></cn>
|
||||
<en><![CDATA[Aris.businessControl]]></en>
|
||||
<big5><![CDATA[控制圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.complianceEle">
|
||||
<cn><![CDATA[合规要素图]]></cn>
|
||||
<en><![CDATA[Aris.complianceEle]]></en>
|
||||
<big5><![CDATA[合規要素圖]]></big5>
|
||||
</item>
|
||||
<item key="aris.classificationMgmtEle">
|
||||
<cn><![CDATA[管理要素图]]></cn>
|
||||
<en><![CDATA[Aris.classificationMgmtEle]]></en>
|
||||
<big5><![CDATA[管理要素圖]]></big5>
|
||||
</item>
|
||||
<item key="默认主题">
|
||||
<cn><![CDATA[默认主题]]></cn>
|
||||
<en><![CDATA[Default Theme]]></en>
|
||||
<big5><![CDATA[默認主題]]></big5>
|
||||
</item>
|
||||
</lang>
|
||||
</locale-config>
|
||||
Binary file not shown.
@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<app xmlns="http://www.actionsoft.com.cn/app">
|
||||
<name>企业架构资产模型库</name>
|
||||
<version>1.0</version>
|
||||
<buildNo>2</buildNo>
|
||||
<developer id="776cca9a287c8b4d63b9cad216aa3859" tablePrefix="ACT" url="http://www.actionsoft.com.cn">北京炎黄盈动科技发展有限责任公司</developer>
|
||||
<categoryVisible>true</categoryVisible>
|
||||
<description><![CDATA[AWS PAL面向过程的集成化信息系统模型架构]]></description>
|
||||
<details><![CDATA[
|
||||
<b>应用介绍:</b>
|
||||
|
||||
AWS PAL的“企业架构资产模型库”覆盖了包括BPMN图、组织图、表单图、制度图等在内的16种基础建模方法,并将逐步扩充完善;建模方法支持端到端的流程梳理,符合BPMN的流程梳理成果可以一键部署到 AWS PaaS 平台的BPMS中进行落地、执行。
|
||||
|
||||
同时,AWS PAL的“企业架构资产模型库”还拥有了配套的数据迁移工具包,提供包含房式架构、清单、流程模型、信息系统模型在内的多种数据迁移工具,提升流程资产跨平台迁移至PAL的便捷性。
|
||||
|
||||
<b>应用优势:</b>
|
||||
|
||||
- 模型丰富:覆盖16种基础建模方法并逐步完善;
|
||||
- 一键打通:梳理的BPMN2.0流程,可以直接在AWS BPMS中执行;
|
||||
- 平滑迁移:提供数据迁移工具包,实现对流程资产数据的跨平台迁移;
|
||||
- 集成扩展:基于AWS PaaS平台的集成应用,快速实现三方数据的接入和集成;
|
||||
]]></details>
|
||||
<installListener/>
|
||||
<pluginListener>com.actionsoft.apps.coe.method.aris.plugin.Plugins</pluginListener>
|
||||
<startListener></startListener>
|
||||
<stopListener></stopListener>
|
||||
<upgradeListener></upgradeListener>
|
||||
<uninstallListener/>
|
||||
<reloadable>true</reloadable>
|
||||
<requires/>
|
||||
<properties/>
|
||||
<allowStartup>true</allowStartup>
|
||||
<allowUpgradeByStore>true</allowUpgradeByStore>
|
||||
<depend versions="6.5" env="6.4.1">com.actionsoft.apps.coe.pal</depend>
|
||||
<modelAdministrator/>
|
||||
<installDate>2022-10-18 11:29:17</installDate>
|
||||
<icon code="&#xe936;" color="#0563DB"/>
|
||||
<productId/>
|
||||
<versionFlag>1</versionFlag>
|
||||
</app>
|
||||
@ -1,55 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="desc" title="说明" type="textarea" value="" desc="说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="startEvent_aris,endEvent_aris,userTask_aris,serviceTask_aris,cycleTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Explanation" title-big5="說明" desc-en="Description" desc-big5="说明"/>
|
||||
<attribute key="shape_type" title="服务类型" type="select" value="" desc="服务类型" isRequired="false" ref="Web 服务,RestAPI,功能程序" readonly="false" groupPath="baseAttribute" scope="serviceTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Service Type" title-big5="服務類型" desc-en="Service Type" desc-big5="服務類型"/>
|
||||
<attribute key="run_type" title="执行方式" type="select" value="" desc="执行方式" isRequired="false" ref="手工,人机交互" readonly="false" groupPath="baseAttribute" scope="cycleTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Execution Method" title-big5="執行方式" desc-en="Execution Mode" desc-big5="執行方式"/>
|
||||
<attribute key="cycle_desc" title="循环说明" type="textarea" value="" desc="循环说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="cycleTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Loop Description" title-big5="循環說明" desc-en="Loop Explanation" desc-big5="循環說明"/>
|
||||
<attribute key="interface_data" title="接口数据" type="string" value="" desc="接口数据" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="subProcessTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Interface Data" title-big5="接口數據" desc-en="Interface Data" desc-big5="接口數據"/>
|
||||
<attribute key="trigger_mode" title="触发方式" type="string" value="" desc="触发方式" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="subProcessTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Trigger Mode" title-big5="觸發方式" desc-en="Trigger Mode" desc-big5="觸發方式"/>
|
||||
<attribute key="integration_mode" title="集成方式" type="select" value="" desc="集成方式" isRequired="false" ref="Webservice,数据库接口,XML 文件导入,其它" readonly="false" groupPath="baseAttribute" scope="subProcessTask_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Integration Method" title-big5="集成方式" desc-en="Integration Method" desc-big5="集成方式"/>
|
||||
</attributes>
|
||||
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="lane" show="true" allowRemove="false"/>
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,57 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<!--开始事件 begin-->
|
||||
<concept conceptCode="001" fromShapeId="startEvent_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="002" fromShapeId="startEvent_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--开始事件 end-->
|
||||
<!--人工任务 begin-->
|
||||
<concept conceptCode="003" fromShapeId="userTask_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="004" fromShapeId="userTask_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="005" fromShapeId="userTask_aris" toShapeId="outputDataObject_aris" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--人工任务 end-->
|
||||
<!--手工任务 begin-->
|
||||
<concept conceptCode="006" fromShapeId="manualTask_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="007" fromShapeId="manualTask_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="008" fromShapeId="manualTask_aris" toShapeId="outputDataObject_aris" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--手工任务 end-->
|
||||
<!--服务任务 begin-->
|
||||
<concept conceptCode="009" fromShapeId="serviceTask_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="010" fromShapeId="serviceTask_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="011" fromShapeId="serviceTask_aris" toShapeId="outputDataObject_aris" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--服务任务 end-->
|
||||
<!--循环任务 begin-->
|
||||
<concept conceptCode="012" fromShapeId="cycleTask_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="013" fromShapeId="cycleTask_aris" toShapeId="exclusiveGateway_aris,parallelGateway_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="014" fromShapeId="cycleTask_aris" toShapeId="outputDataObject_aris" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--循环任务 end-->
|
||||
<!--排他网关 begin-->
|
||||
<concept conceptCode="015" fromShapeId="exclusiveGateway_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--排他网关 end-->
|
||||
<!--并行网关 begin-->
|
||||
<concept conceptCode="016" fromShapeId="parallelGateway_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris,endEvent_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--并行网关 end-->
|
||||
<!--输入数据对象 begin-->
|
||||
<concept conceptCode="017" fromShapeId="inputDataObject_aris" toShapeId="userTask_aris,manualTask_aris,serviceTask_aris,cycleTask_aris" outcomingName="是...的输入" incomingName="输入是..." />
|
||||
<!--输入数据对象 end-->
|
||||
|
||||
|
||||
</linker>
|
||||
@ -1,117 +0,0 @@
|
||||
Schema.addCategory({name:"aris_bpmnProcess", text:"业务流程(BPMN)图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
|
||||
/***开始*/Schema.addShape({name:"startEvent_aris", title:"开始", text:"", category:"aris_bpmnProcess", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "129,180,47", lineStyle:"solid",lineWidth:4},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
/***结束*/Schema.addShape({name:"endEvent_aris", title:"结束", text:"", category:"aris_bpmnProcess", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "253,103,103", lineStyle:"solid",lineWidth:4},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
/***排他网关*/Schema.addShape({name:"exclusiveGateway_aris",title:"排他网关", text:"", category:"aris_bpmnProcess", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "94,94,94", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
{actions:[{action:"move", x:"w/2-w*0.15", y:"h/2-h*0.15"},{action:"line", x:"w/2+w*0.15", y:"h/2+h*0.15"},{action:"move", x:"w/2+w*0.15", y:"h/2-h*0.15"},{action:"line", x:"w/2-w*0.15", y:"h/2+h*0.15"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***并行网关*/Schema.addShape({name:"parallelGateway_aris",title:"并行网关", text:"", category:"aris_bpmnProcess", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "94,94,94", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"w*0.5-w*0.3*0.5",y:"h*0.5"},{action:"line",x:"w*0.5+w*0.3*0.5",y:"h*0.5"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"w*0.5",y:"h*0.5-h*0.3*0.5"},{action:"line",x:"w*0.5",y:"h*0.5+h*0.3*0.5"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***用户任务*/Schema.addShape({name:"userTask_aris", title:"用户任务", text:"用户任务", category:"aris_bpmnProcess", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"9",y:"7"},{action:"curve",x1:"10",y1:"2",x2:"15",y2:"2",x:"16",y:"7"},{action:"curve",x1:"15",y1:"12",x2:"10",y2:"12",x:"9",y:"7"}]},
|
||||
{actions:[{action:"move",x:"6",y:"18"},{action:"curve",x1:"8",y1:"9",x2:"17",y2:"9",x:"19",y:"18"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***手工任务*/Schema.addShape({name:"manualTask_aris", title:"手工任务", text:"手工任务", category:"aris_bpmnProcess", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"5",y:"12"},{action:"curve",x1:"6",y1:"6",x2:"13",y2:"6",x:"14",y:"12"},{action:"curve",x1:"13",y1:"18",x2:"6",y2:"18",x:"5",y:"12"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"13",y:"5.5"},{action:"line",x:"6",y:"10"},{action:"move",x:"10.5",y:"15.5"},{action:"line",x:"17",y:"15.5"}]},
|
||||
{actions:[{action:"move",x:"9",y:"13"},{action:"line",x:"18.5",y:"13"},{action:"move",x:"9",y:"10.5"},{action:"line",x:"20",y:"10.5"},{action:"move",x:"9",y:"8.5"},{action:"line",x:"19",y:"8.5"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***服务任务*/Schema.addShape({name:"serviceTask_aris", title:"服务任务", text:"服务任务", category:"aris_bpmnProcess", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"8",y:"12"},{action:"curve",x1:"9",y1:"4",x2:"19",y2:"4",x:"20",y:"12"},{action:"curve",x1:"19",y1:"20",x2:"9",y2:"20",x:"8",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"12",y:"12"},{action:"curve",x1:"13",y1:"10",x2:"15",y2:"10",x:"16",y:"12"},{action:"curve",x1:"15",y1:"14",x2:"13",y2:"14",x:"12",y:"12"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"13",y:"8"},{action:"line",x:"10.5",y:"5"},{action:"move",x:"15",y:"8"},{action:"line",x:"17.5",y:"5"}]},
|
||||
{actions:[{action:"move",x:"13",y:"16"},{action:"line",x:"10.5",y:"19"},{action:"move",x:"15",y:"16"},{action:"line",x:"17.5",y:"19"}]},
|
||||
{actions:[{action:"move",x:"8.5",y:"9.5"},{action:"line",x:"7",y:"8"},{action:"move",x:"8.5",y:"14.5"},{action:"line",x:"7",y:"16"}]},
|
||||
{actions:[{action:"move",x:"19.5",y:"9.5"},{action:"line",x:"20",y:"8"},{action:"move",x:"19.5",y:"14.5"},{action:"line",x:"20",y:"16"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***循环任务*/Schema.addShape({name:"cycleTask_aris",title:"循环任务",text:"循环任务",category:"aris_bpmnProcess",props:{w:100,h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"w*0.5-3",y:"h-4"},{action:"curve",x1:"w*0.5-10.5",y1:"h-16.5",x2:"w*0.5+10.5",y2:"h-16.5",x:"w*0.5+3",y:"h-4"}]},
|
||||
{actions:[{action:"move",x:"w*0.5-8",y:"h-6"},{action:"line",x:"w*0.5-3",y:"h-4"},{action:"line",x:"w*0.5-1",y:"h-8"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
|
||||
/***子流程*/Schema.addShape({name:"subProcessTask_aris", title:"子流程", text:"子流程", category:"aris_bpmnProcess", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "179,179,179", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"5.5",y:"6"},{action:"line",x:"19.5",y:"6"},{action:"line",x:"19.5",y:"16"},{action:"line",x:"5.5",y:"16"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"12",y:"8"},{action:"line",x:"12",y:"14"},{action:"move",x:"7.5",y:"11"},{action:"line",x:"16.5",y:"11"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
|
||||
/***输入数据对象*/Schema.addShape({name:"inputDataObject_aris",title:"输入数据对象",text:"输入数据对象",category:"aris_bpmnProcess",props:{w:170,h:70},textBlock:{x:"25",y:"20",w:"w-50",h:"h-40"},
|
||||
lineStyle:{lineColor: "93,93,93", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"w-15",y:"0"},{action:"line",x:"w",y:"15"},{action:"line",x:"w-15",y:"15"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"4",y:"8"},{action:"line",x:"18",y:"8"},{action:"line",x:"18",y:"2"},{action:"line",x:"25",y:"10"},{action:"line",x:"18",y:"18"},{action:"line",x:"18",y:"12"},{action:"line",x:"4",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***输出数据对象*/Schema.addShape({name:"outputDataObject_aris",title:"输出数据对象",text:"输出数据对象",category:"aris_bpmnProcess",props:{w:170,h:70},textBlock:{x:"25",y:"20",w:"w-50",h:"h-40"},
|
||||
lineStyle:{lineColor: "93,93,93", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"w-15",y:"0"},{action:"line",x:"w",y:"15"},{action:"line",x:"w-15",y:"15"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{color:"93,93,93"},actions:[{action:"move",x:"4",y:"8"},{action:"line",x:"18",y:"8"},{action:"line",x:"18",y:"2"},{action:"line",x:"25",y:"10"},{action:"line",x:"18",y:"18"},{action:"line",x:"18",y:"12"},{action:"line",x:"4",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,55 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.bpmnProcess</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.bpmnProcess</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>业务流程(BPMN)图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe665;</code>
|
||||
<color>#4E7FF9</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.bpmnProcess/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<cycleTask_aris cn="重复执行相同任务" en="Repetitive execution of the same task" big5="重複執行相同任務"/>
|
||||
<exclusiveGateway_aris cn="用于表明活动单一路径分支执行条件" en="Used to indicate the condition for executing a single path branch of activities" big5="用於表明活動單一路徑分支執行條件"/>
|
||||
<startEvent_aris cn="用于表明活动执行开始规则" en="Used to indicate the rules for the start of activity execution" big5="用於表明活動執行開始規則"/>
|
||||
<subProcessTask_aris cn="表达上下游流程、子流程" en="Expresses upstream and downstream processes, sub-processes" big5="表達上下游流程、子流程"/>
|
||||
<manualTask_aris cn="没有任何应用程序协助的纯手工任务" en="A purely manual task without any application assistance" big5="沒有任何應用程序協助的純手工任務"/>
|
||||
<verticalPool cn="包含多个泳道,对元素进行区分" en="Contains multiple lanes to differentiate elements" big5="包含多個泳道,對元素進行區分"/>
|
||||
<endEvent_aris cn="用于表明活动执行结束规则" en="Used to indicate the rules for the end of activity execution" big5="用於表明活動執行結束規則"/>
|
||||
<parallelGateway_aris cn="用于表明活动并行执行路径分支执行条件" en="Used to indicate the conditions for parallel execution path branches of activities" big5="用於表明活動並行執行路徑分支執行條件"/>
|
||||
<horizontalPool cn="包含多个泳道,对元素进行区分" en="Contains multiple lanes to differentiate elements" big5="包含多個泳道,對元素進行區分"/>
|
||||
<verticalLane cn="对泳池里的流程元素进行组织和分类" en="Organizes and categorizes process elements in the pool" big5="對泳池裡的流程元素進行組織和分類"/>
|
||||
<userTask_aris cn="在应用程序协助下完成的人工任务" en="A manual task completed with the assistance of an application" big5="在應用程序協助下完成的人工任務"/>
|
||||
<serviceTask_aris cn="调用某种类型服务或程序处理的任务" en="A task that involves calling a certain type of service or program for processing" big5="調用某種類型服務或程序處理的任務"/>
|
||||
<horizontalLane cn="对泳池里的流程元素进行组织和分类" en="Organizes and categorizes process elements in the pool" big5="對泳池裡的流程元素進行組織和分類"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,63 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="desc" title="分类说明" type="textarea" value="" desc="分类说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="controlType_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Classification Description" title-big5="分類說明" desc-en="Classification Description" desc-big5="分類說明"/>
|
||||
<attribute key="goal" title="控制目标" type="string" value="" desc="控制目标" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Objective" title-big5="控制目標" desc-en="Control Objective" desc-big5="控制目标"/>
|
||||
<attribute key="control_frequency" title=" 控制频率" type="string" value="" desc=" 控制频率" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Frequency" title-big5="控制頻率" desc-en="Control Frequency" desc-big5="控制頻率"/>
|
||||
<attribute key="shape_type" title=" 控制类型" type="select" value="" desc=" 控制类型" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Type" title-big5="控制類型" desc-en="Control Type" desc-big5="控制類型"/>
|
||||
<attribute key="control_mode" title=" 控制方式" type="string" value="" desc=" 控制方式" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Method" title-big5="控制方式" desc-en="Control Method" desc-big5="控制方式"/>
|
||||
<attribute key="control_point_classification" title="控制点分类" type="string" value="" desc="控制点分类" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Point Category" title-big5="控制點分類" desc-en="Control Point Classification" desc-big5="控制点分类"/>
|
||||
<attribute key="control_point_run_date" title="控制点执行日期" type="DateTimePicker" value="" desc="控制点执行日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Control Point Date" title-big5="控制點執行日期" desc-en="Control Point Execution Date" desc-big5="控制点执行日期"/>
|
||||
<attribute key="department" title="责任部门" type="select" value="" desc="责任部门" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsible Department" title-big5="責任部門" desc-en="Responsible Department" desc-big5="責任部門"/>
|
||||
<attribute key="primary_duty" title="主责岗位/ 人" type="string" value="" desc="主责岗位/ 人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="responsible post" title-big5="主責崗位/人" desc-en="Main Responsible Position/Person" desc-big5="主责岗位/人"/>
|
||||
<attribute key="risk" title="对应风险" type="select" value="" desc="对应风险" isRequired="false" ref="战略风险,市场风险,财务风险,法律风险,运营风险" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Associated Risks" title-big5="對應風險" desc-en="Corresponding Risk" desc-big5="對應風險"/>
|
||||
<attribute key="business_domain" title="承接业务域" type="string" value="" desc="承接业务域" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Undertaking Business Domain" title-big5="承接業務域" desc-en="Undertaking Business Domain" desc-big5="承接業務域"/>
|
||||
<attribute key="date" title="涉及数据" type="string" value="" desc="涉及数据" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Data" title-big5="涉及數據" desc-en="Involved Data" desc-big5="涉及數據"/>
|
||||
<attribute key="check_items" title="检查项" type="string" value="" desc="检查项" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Check Item" title-big5="檢查項" desc-en="Inspection Item" desc-big5="檢查項目"/>
|
||||
<attribute key="shape_state" title="状态" type="select" value="" desc="状态" isRequired="false" ref="生效,废止" readonly="false" groupPath="baseAttribute" scope="control_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Status" title-big5="狀態" desc-en="Status" desc-big5="狀態"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="controlType_aris" toShapeId="control_aris" outcomingName="包含" incomingName="被...包含" />
|
||||
|
||||
</linker>
|
||||
@ -1,158 +0,0 @@
|
||||
Schema.addCategory({name:"aris_businessControl", text:"控制图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***控制类别*/Schema.addShape({name:"controlType_aris",title:"控制类别",text:"控制类别",category:"aris_businessControl",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 12,y: 9},
|
||||
{action: "line",x: 12,y: 15.5},
|
||||
{action: "move",x: 12,y: 19},
|
||||
{action: "line",x: 12,y: 21},
|
||||
{action: "move",x: 10,y: 19},
|
||||
{action: "line",x: 14,y: 19},
|
||||
{action: "line",x: 14,y: 17},
|
||||
{action: "line",x: 10,y: 17},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 9},
|
||||
{action: "line",x: 16,y: 11},
|
||||
{action: "move",x: 14,y: 12},
|
||||
{action: "line",x: 18,y: 12},
|
||||
{action: "line",x: 18,y: 14},
|
||||
{action: "line",x: 14,y: 14},
|
||||
{action: "close"},
|
||||
{action: "move",x: 16,y: 14},
|
||||
{action: "line",x: 16,y: 21},
|
||||
|
||||
{action: "move",x: 20,y: 9},
|
||||
{action: "line",x: 20,y: 15},
|
||||
{action: "move",x: 20,y: 16.4},
|
||||
{action: "line",x: 22,y: 17.7},
|
||||
{action: "line",x: 22,y: 19.7},
|
||||
{action: "line",x: 20,y: 21},
|
||||
{action: "line",x: 18,y: 19.7},
|
||||
{action: "line",x: 18,y: 17.7},
|
||||
{action: "close"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
/***控制*/Schema.addShape({name:"control_aris",title:"控制",text:"控制",category:"aris_businessControl",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 12,y: 9},
|
||||
{action: "line",x: 12,y: 15},
|
||||
{action: "move",x: 12,y: 19},
|
||||
{action: "line",x: 12,y: 21},
|
||||
{action: "move",x: 10,y: 19},
|
||||
{action: "line",x: 14,y: 19},
|
||||
{action: "line",x: 14,y: 17},
|
||||
{action: "line",x: 10,y: 17},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 9},
|
||||
{action: "line",x: 16,y: 11},
|
||||
{action: "move",x: 14,y: 12},
|
||||
{action: "line",x: 18,y: 12},
|
||||
{action: "line",x: 18,y: 14},
|
||||
{action: "line",x: 14,y: 14},
|
||||
{action: "close"},
|
||||
{action: "move",x: 16,y: 14},
|
||||
{action: "line",x: 16,y: 21},
|
||||
|
||||
{action: "move",x: 20,y: 9},
|
||||
{action: "line",x: 20,y: 14},
|
||||
{action: "move",x: 18,y: 16},
|
||||
{action: "line",x: 22,y: 16},
|
||||
{action: "line",x: 22,y: 18},
|
||||
{action: "line",x: 18,y: 18},
|
||||
{action: "close"},
|
||||
{action: "move",x: 20,y: 18},
|
||||
{action: "line",x: 20,y: 21},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.businessControl</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.businessControl</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>控制图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe7f4;</code>
|
||||
<color>#DC4F39</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.businessControl/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<controlType_aris cn="用于将控制措施和方法根据类别进行分类管理" en="Used for categorizing and managing control measures and methods by type" big5="用於將控制措施和方法根據類別進行分類管理"/>
|
||||
<control_aris cn="应对风险采取各种措施和方法" en="Various measures and methods taken to address risks" big5="應對風險採取各種措施和方法"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="步骤序号" type="string" value="" desc="步骤序号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="function_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="步驟序號" desc-en="Step Number" desc-big5="步骤序号"/>
|
||||
<attribute key="desc" title="步骤说明" type="textarea" value="" desc="步骤说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="function_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Step Description" title-big5="步驟說明" desc-en="Step Instructions" desc-big5="步驟說明"/>
|
||||
<attribute key="quality_requirement" title="质量管理要求" type="textarea" value="" desc="质量管理要求" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="function_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Quality Req" title-big5="質量管理要求" desc-en="Quality Management Requirements" desc-big5="质量管理要求"/>
|
||||
</attributes>
|
||||
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="aris.roleSystem"/>
|
||||
<import methodId="aris.orgResponsibilityAss"/>
|
||||
<import methodId="aris.form"/>
|
||||
<import methodId="aris.institution"/>
|
||||
<import methodId="aris.system"/>
|
||||
<import methodId="aris.performanceIndicator"/>
|
||||
<import methodId="aris.complianceEle"/>
|
||||
<import methodId="aris.risk"/>
|
||||
<import methodId="aris.businessControl"/>
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,52 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<!--事件 begin-->
|
||||
<concept conceptCode="001" fromShapeId="event_aris" toShapeId="function_aris,processInterface_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="001" fromShapeId="event_aris" toShapeId="ORRule_aris,ANDRule_aris,XORRule_aris" outcomingName="由...评估" incomingName="评估" />
|
||||
<!--事件 end-->
|
||||
<!--功能 begin-->
|
||||
<concept conceptCode="003" fromShapeId="function_aris" toShapeId="event_aris" outcomingName="创建" incomingName="被...创建" />
|
||||
<concept conceptCode="004" fromShapeId="function_aris" toShapeId="function_aris" outcomingName="是...的前驱" incomingName="是...的后继" />
|
||||
<concept conceptCode="005" fromShapeId="function_aris" toShapeId="ORRule_aris,ANDRule_aris,XORRule_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<concept conceptCode="006" fromShapeId="function_aris" toShapeId="role_aris" outcomingName="完成" incomingName="被...完成" />
|
||||
<concept conceptCode="007" fromShapeId="function_aris" toShapeId="control_aris" outcomingName="使用" incomingName="被...使用" />
|
||||
<concept conceptCode="008" fromShapeId="function_aris" toShapeId="performanceIndicator_aris" outcomingName="通过...来衡量" incomingName="衡量" />
|
||||
<concept conceptCode="008" fromShapeId="function_aris" toShapeId="form_aris" outcomingName="创建输出到" incomingName="是...的输出" />
|
||||
<!--功能 end-->
|
||||
<!--流程接口 begin-->
|
||||
<concept conceptCode="009" fromShapeId="processInterface_aris" toShapeId="event_aris" outcomingName="创建" incomingName="被...创建" />
|
||||
<concept conceptCode="010" fromShapeId="processInterface_aris" toShapeId="ORRule_aris,ANDRule_aris,XORRule_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<!--流程接口 end-->
|
||||
<!--与 begin-->
|
||||
<concept conceptCode="011" fromShapeId="ANDRule_aris" toShapeId="function_aris,processInterface_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="012" fromShapeId="ANDRule_aris" toShapeId="event_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<!--与 end-->
|
||||
<!--或 begin-->
|
||||
<concept conceptCode="013" fromShapeId="ORRule_aris" toShapeId="function_aris,processInterface_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="014" fromShapeId="ORRule_aris" toShapeId="event_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<!--或 end-->
|
||||
<!--异或 begin-->
|
||||
<concept conceptCode="015" fromShapeId="XORRule_aris" toShapeId="function_aris,processInterface_aris" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="016" fromShapeId="XORRule_aris" toShapeId="event_aris" outcomingName="导致" incomingName="被...导致" />
|
||||
<!--异或 end-->
|
||||
|
||||
</linker>
|
||||
@ -1,147 +0,0 @@
|
||||
Schema.addCategory({name:"aris_businessProcess", text:"业务流程图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***事件*/Schema.addShape({name:"event_aris",title:"事件",text:"事件",category:"aris_businessProcess",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"242, 153, 206",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 9,y: 23},
|
||||
{action: "line",x: 7,y: 10},
|
||||
{action: "line",x: 11,y: 9},
|
||||
{action: "quadraticCurve",x1: 14,y1: 12,x: 19,y: 10},
|
||||
{action: "line",x: 20.2,y: 16},
|
||||
{action: "quadraticCurve",x1: 14,y1: 18,x: 12,y: 15},
|
||||
{action: "line",x: 8.2,y: 16}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
/***步骤*/Schema.addShape({name:"function_aris",title:"步骤",text:"步骤",category:"aris_businessProcess",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"111, 240, 134",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 7,y: 10},
|
||||
{action: "line",x: 15,y: 15},
|
||||
{action: "line",x: 7,y: 20},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 10},
|
||||
{action: "line",x: 24,y: 15},
|
||||
{action: "line",x: 16,y: 20},
|
||||
{action: "close"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
/***流程接口*/Schema.addShape({name:"processInterface_aris",title:"流程接口",text:"流程接口",category:"aris_businessProcess",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"111, 240, 134",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 9,y: 23},
|
||||
{action: "line",x: 7,y: 10},
|
||||
{action: "line",x: 11,y: 9},
|
||||
{action: "quadraticCurve",x1: 14,y1: 12,x: 19,y: 10},
|
||||
{action: "line",x: 20.2,y: 16},
|
||||
{action: "quadraticCurve",x1: 14,y1: 18,x: 12,y: 15},
|
||||
{action: "line",x: 8.2,y: 16},
|
||||
|
||||
{action: "move",x: 14,y: 19},
|
||||
{action: "line",x: 14,y: 23},
|
||||
{action: "line",x: 17,y: 21},
|
||||
{action: "close"},
|
||||
{action: "move",x: 17,y: 19},
|
||||
{action: "line",x: 17,y: 23},
|
||||
{action: "line",x: 20,y: 21},
|
||||
{action: "close"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
/***Or*/Schema.addShape({name:"ORRule_aris", title:"或", text:"", category:"aris_businessProcess", attribute:{editable:false}, props:{w:40, h:40}, fillStyle:{color:"94,94,94"}, path:[
|
||||
{lineStyle:{lineWidth:0},actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:4,lineColor:"255,255,255"},actions:[
|
||||
{action:"move", x:"w/2-w*0.15", y:"h/2-h*0.13"},
|
||||
{action:"line", x:"w*0.5", y:"h/2+h*0.15"},
|
||||
{action:"line", x:"w/2+w*0.15", y:"h/2-h*0.13"},
|
||||
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
|
||||
/***And*/Schema.addShape({name:"ANDRule_aris", title:"与", text:"", category:"aris_businessProcess", attribute:{editable:false}, props:{w:40, h:40}, fillStyle:{color:"94,94,94"}, path:[
|
||||
{lineStyle:{lineWidth:0},actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:4,lineColor:"255,255,255"},actions:[
|
||||
{action:"move", x:"w/2-w*0.15", y:"h/2+h*0.13"},
|
||||
{action:"line", x:"w*0.5", y:"h/2-h*0.15"},
|
||||
{action:"line", x:"w/2+w*0.15", y:"h/2+h*0.13"},
|
||||
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
|
||||
/***Xor*/Schema.addShape({name:"XORRule_aris", title:"异或", text:"", category:"aris_businessProcess", attribute:{editable:false}, props:{w:40, h:40}, fillStyle:{color:"94,94,94"}, path:[
|
||||
{lineStyle:{lineWidth:0},actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:4,lineColor:"255,255,255"},actions:[
|
||||
{action:"move", x:"w/2-w*0.15", y:"h/2-h*0.15"},
|
||||
{action:"line", x:"w/2+w*0.15", y:"h/2+h*0.15"},
|
||||
{action:"move", x:"w/2+w*0.15", y:"h/2-h*0.15"},
|
||||
{action:"line", x:"w/2-w*0.15", y:"h/2+h*0.15"}
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,49 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.businessProcess</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.businessProcess</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>业务流程图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe665;</code>
|
||||
<color>#4E7FF9</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>process</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.businessProcess/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<XORRule_aris cn="用于有且仅有一项活动发生时的逻辑判断" en="Used for logical judgement when only one activity occurs" big5="用於有且僅有一項活動發生時的邏輯判斷"/>
|
||||
<event_aris cn="表明组织的特点状态或其变化" en="Indicates the characteristic state or changes of an organization" big5="表明組織的特點狀態或其變化"/>
|
||||
<ANDRule_aris cn="用于多项活动同时发生时的逻辑判断" en="Used for logical judgement when multiple activities occur simultaneously" big5="用於多項活動同時發生時的邏輯判斷"/>
|
||||
<ORRule_aris cn="用于不止一项活动发生时的逻辑判断" en="Used for logical judgement when more than one activity occurs" big5="用於不止一項活動發生時的邏輯判斷"/>
|
||||
<function_aris cn="用于完成特定任务的活动" en="Activity used to complete a specific task" big5="用於完成特定任務的活動"/>
|
||||
<processInterface_aris cn="用于展示流程上下游驱动关系" en="Used to display the upstream and downstream driving relationship of processes" big5="用於展示流程上下游驅動關係"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,50 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="desc" title="说明" type="textarea" value="" desc="说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Explanation" title-big5="說明" desc-en="Description" desc-big5="说明"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
|
||||
</linker>
|
||||
@ -1,91 +0,0 @@
|
||||
Schema.addCategory({name:"aris_classificationMgmtEle", text:"管理要素图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***结构元素*/Schema.addShape({name:"structuralElement_arisMgmt",title:"结构元素",text:"结构元素",category:"aris_classificationMgmtEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"216, 239, 196",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"6",y:"8"},
|
||||
{action:"line",x:"24",y:"8"},
|
||||
{action:"line",x:"24",y:"22"},
|
||||
{action:"line",x:"6",y:"22"},
|
||||
{action:"line",x:"6",y:"8"},
|
||||
{action:"move",x:"6",y:"15"},
|
||||
{action:"line",x:"24",y:"15"},
|
||||
{action:"move",x:"15",y:"8"},
|
||||
{action:"line",x:"15",y:"22"},
|
||||
{action:"close"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.classificationMgmtEle</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.classificationMgmtEle</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>管理要素图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe64f;</code>
|
||||
<color>#009688</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.classificationMgmtEle/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<structuralElement_arisMgmt cn="当需要进行某种分类表达,无特定要素分类符号时使用" en="Used when a certain type of classification expression is required, without specific element classification symbols" big5="當需要進行某種分類表達,無特定要素分類符號時使用"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceType_aris,complianceDocTerm_aris,requirement_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="desc" title="分类说明" type="textarea" value="" desc="分类说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceType_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Classification Description" title-big5="分類說明" desc-en="Classification Description" desc-big5="分類說明"/>
|
||||
<attribute key="department" title="责任部门" type="select" value="" desc="责任部门" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsible Department" title-big5="責任部門" desc-en="Responsible Department" desc-big5="責任部門"/>
|
||||
<attribute key="primary_duty" title="主责岗位/ 人" type="string" value="" desc="主责岗位/ 人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="responsible post" title-big5="主責崗位/人" desc-en="Main Responsible Position/Person" desc-big5="主责岗位/人"/>
|
||||
<attribute key="shape_state" title="状态" type="select" value="" desc="状态" isRequired="false" ref="生效,废止" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Status" title-big5="狀態" desc-en="Status" desc-big5="狀態"/>
|
||||
<attribute key="implementation_date" title="实施日期" type="DateTimePicker" value="" desc="实施日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Implementation Date" title-big5="實施日期" desc-en="Implementation Date" desc-big5="實施日期"/>
|
||||
<attribute key="review_cycle" title="审查周期" type="textarea" value="" desc="审查周期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Review Cycle" title-big5="審查週期" desc-en="Review Cycle" desc-big5="審查周期"/>
|
||||
<attribute key="publish_institution" title="发布机构" type="string" value="" desc="发布机构" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Publishing Institution" title-big5="發布機構" desc-en="Publishing Organization" desc-big5="發布機構"/>
|
||||
<attribute key="implement_standard_type" title="贯标类型" type="select" value="" desc="贯标类型" isRequired="false" ref="强制落标,内部落标,参考执行" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Standardization Type" title-big5="貫標類型" desc-en="Consistency Standard Type" desc-big5="貫標類型"/>
|
||||
<attribute key="compliance_type" title="合规类型" type="select" value="" desc="合规类型" isRequired="false" ref="法律法规,行业标准,上级要求" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Compliance Type" title-big5="合規類型" desc-en="Compliance Type" desc-big5="合規類型"/>
|
||||
<attribute key="replaced_no" title=" 被替代号" type="string" value="" desc=" 被替代号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Replacement Code" title-big5="被替代號" desc-en="Replacement Number" desc-big5="被替代號"/>
|
||||
<attribute key="standard_carrier" title="标准载体" type="select" value="" desc="标准载体" isRequired="false" ref="纸质版,电子版" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Standard Carrier" title-big5="標準載體" desc-en="Standard Carrier" desc-big5="標準載體"/>
|
||||
<attribute key="approval_unit" title="批准单位" type="string" value="" desc="批准单位" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Approving Unit" title-big5="批准單位" desc-en="Approving Unit" desc-big5="批准單位"/>
|
||||
<attribute key="organizer" title="主办单位" type="string" value="" desc="主办单位" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Hosting Unit" title-big5="主辦單位" desc-en="Main Organizer" desc-big5="主辦單位"/>
|
||||
<attribute key="publish_date" title="发布日期" type="DateTimePicker" value="" desc="发布日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Publish Date" title-big5="發布日期" desc-en="Release Date" desc-big5="發布日期"/>
|
||||
<attribute key="nmsc_no" title="国军标分类号" type="string" value="" desc="国军标分类号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="National Standard Number" title-big5="國軍標分類號" desc-en="National Military Standard Classification Number" desc-big5="国军标分类号"/>
|
||||
<attribute key="text_language" title="正文语种" type="select" value="" desc="正文语种" isRequired="false" ref="中文,英文,其他" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Main Text Language" title-big5="正文語種" desc-en="Text Language" desc-big5="正文語種"/>
|
||||
<attribute key="drafter" title="起草人" type="string" value="" desc="起草人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Draftsperson" title-big5="起草人" desc-en="Drafter" desc-big5="起草人"/>
|
||||
<attribute key="scope" title="适用范围" type="textarea" value="" desc="适用范围" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Applicable Scope" title-big5="適用範圍" desc-en="Applicable Scope" desc-big5="適用範圍"/>
|
||||
<attribute key="content" title="内容" type="textarea" value="" desc="内容" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDocTerm_aris,requirement_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Content" title-big5="內容" desc-en="Content" desc-big5="內容"/>
|
||||
<attribute key="required_degree" title=" 要求程度" type="select" value="" desc=" 要求程度" isRequired="false" ref="应(要求),宜(建议),可(允许),能(可能/能够)" readonly="false" groupPath="baseAttribute" scope="complianceDocTerm_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Degree of Requirement" title-big5="要求程度" desc-en="Requirement Level" desc-big5="要求程度"/>
|
||||
<attribute key="application" title="适用情况" type="select" value="" desc="适用情况" isRequired="false" ref="适用,不适用" readonly="false" groupPath="baseAttribute" scope="complianceDocTerm_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Applicability" title-big5="適用情況" desc-en="Applicable Situation" desc-big5="适用情况"/>
|
||||
<attribute key="requirement" title="承接要求" type="textarea" value="" desc="承接要求" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="complianceDocTerm_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Undertaking Requirements" title-big5="承接要求" desc-en="Acceptance Requirements" desc-big5="承接要求"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
|
||||
<concept conceptCode="001" fromShapeId="complianceDocTerm_aris" toShapeId="function_aris" outcomingName="为...提供输入" incomingName="作为输入" />
|
||||
<concept conceptCode="002" fromShapeId="requirement_aris" toShapeId="function_aris" outcomingName="为...提供输入" incomingName="作为输入" />
|
||||
|
||||
|
||||
<concept conceptCode="003" fromShapeId="complianceType_aris" toShapeId="complianceType_aris,complianceDoc_aris" outcomingName="包含" incomingName="被...包含" />
|
||||
<concept conceptCode="004" fromShapeId="complianceDoc_aris" toShapeId="complianceDocTerm_aris" outcomingName="包含" incomingName="被...包含" />
|
||||
<concept conceptCode="005" fromShapeId="complianceDocTerm_aris" toShapeId="requirement_aris" outcomingName="是...的一般化" incomingName="一般化后是..." />
|
||||
|
||||
|
||||
</linker>
|
||||
@ -1,182 +0,0 @@
|
||||
Schema.addCategory({name:"aris_complianceEle", text:"合规要素图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***合规类型*/Schema.addShape({name:"complianceType_aris",title:"合规类型",text:"合规类型",category:"aris_complianceEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "15",y: "6"},
|
||||
{action: "line",x: "23",y: "9"},
|
||||
{action: "line",x: "23",y: "19"},
|
||||
{action: "line",x: "15",y: "24"},
|
||||
{action: "line",x: "7",y: "19"},
|
||||
{action: "line",x: "7",y: "9"},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: "11",y: "14"},
|
||||
{action: "line",x: "14",y: "17"},
|
||||
{action: "line",x: "19.5",y: "11.5"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
/***合规文件*/Schema.addShape({name:"complianceDoc_aris",title:"合规文件",text:"合规文件",category:"aris_complianceEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "18",y: "25"},
|
||||
{action: "line",x: "7",y: "25"},
|
||||
{action: "line",x: "7",y: "7"},
|
||||
{action: "line",x: "18",y: "7"},
|
||||
{action: "line",x: "23",y: "12"},
|
||||
{action: "line",x: "23",y: "19"},
|
||||
{action: "move",x: "17",y: "23"},
|
||||
{action: "curve",x1: "18",y1: "17",x2: "25",y2: "17",x: "26",y: "23"},
|
||||
{action: "curve",x1: "25",y1: "28",x2: "18",y2: "28",x: "17",y: "23"},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: "19",y: "22.5"},
|
||||
{action: "line",x: "21",y: "25"},
|
||||
{action: "line",x: "25",y: "20"},
|
||||
|
||||
{action: "move",x: "18",y: "7"},
|
||||
{action: "line",x: "18",y: "12"},
|
||||
{action: "line",x: "23",y: "12"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
|
||||
/***合规文件条款*/Schema.addShape({name:"complianceDocTerm_aris",title:"合规文件条款",text:"合规文件条款",category:"aris_complianceEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"244, 164, 164",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "7",y: "7"},
|
||||
{action: "line",x: "23",y: "7"},
|
||||
{action: "line",x: "23",y: "25"},
|
||||
{action: "line",x: "7",y: "25"},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: "9",y: "10"},
|
||||
{action: "line",x: "10",y: "11.5"},
|
||||
{action: "line",x: "12",y: "9"},
|
||||
{action: "move",x: "14",y: "10"},
|
||||
{action: "line",x: "21",y: "10"},
|
||||
|
||||
{action: "move",x: "9",y: "15"},
|
||||
{action: "line",x: "10",y: "16.5"},
|
||||
{action: "line",x: "12",y: "14"},
|
||||
{action: "move",x: "14",y: "15"},
|
||||
{action: "line",x: "21",y: "15"},
|
||||
|
||||
{action: "move",x: "9",y: "20"},
|
||||
{action: "line",x: "10",y: "21.5"},
|
||||
{action: "line",x: "12",y: "19"},
|
||||
{action: "move",x: "14",y: "20"},
|
||||
{action: "line",x: "21",y: "20"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
/***文件承接要求*/Schema.addShape({name:"requirement_aris",title:"文件承接要求",text:"文件承接要求",category:"aris_complianceEle",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"206, 218, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"21",y:"15"},
|
||||
{action:"line",x:"21",y:"8"},
|
||||
{action:"line",x:"9",y:"8"},
|
||||
{action:"line",x:"9",y:"22"},
|
||||
{action:"line",x:"17",y:"22"},
|
||||
|
||||
{action:"move",x:"19",y:"17"},
|
||||
{action:"line",x:"23",y:"17"},
|
||||
|
||||
{action:"move",x:"17.5",y:"23"},
|
||||
{action:"line",x:"24.5",y:"23"},
|
||||
|
||||
{action:"move",x:"21",y:"17"},
|
||||
{action:"line",x:"21",y:"20"},
|
||||
|
||||
{action:"move",x:"19",y:"23"},
|
||||
{action:"line",x:"19",y:"20"},
|
||||
{action:"line",x:"23",y:"20"},
|
||||
{action:"line",x:"23",y:"23"},
|
||||
|
||||
{action:"move",x:"11",y:"15"},
|
||||
{action:"line",x:"19",y:"15"},
|
||||
|
||||
{action:"move",x:"11",y:"11"},
|
||||
{action:"line",x:"19",y:"11"},
|
||||
|
||||
{action:"move",x:"11",y:"19"},
|
||||
{action:"line",x:"16",y:"19"},
|
||||
]
|
||||
},
|
||||
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,47 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.complianceEle</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.complianceEle</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>合规要素图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe80b;</code>
|
||||
<color>#009B52</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.complianceEle/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<complianceType_aris cn="用于将合规文件根据类别进行分类管理,合规文件对象的分类对象" en="Used for categorizing and managing compliance documents by type, the classification object for compliance document objects" big5="用於將合規文件根據類別進行分類管理,合規文件對象的分類對象"/>
|
||||
<complianceDocTerm_aris cn="用于分解细化合规内容" en="Used to decompose and refine compliance content" big5="用於分解細化合規內容"/>
|
||||
<requirement_aris cn="实现合规要求转化内容表达和合规与业务流程的对接" en="Realizes the transformation of compliance requirements into content expression and the integration of compliance with business processes" big5="實現合規要求轉化內容表達和合規與業務流程的對接"/>
|
||||
<complianceDoc_aris cn="用于表达合规内容" en="Used to express compliance content" big5="用於表達合規內容"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,54 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="表单编号" type="string" value="" desc="表单编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Form Number" title-big5="表單編號" desc-en="Form Number" desc-big5="表單編號"/>
|
||||
<attribute key="desc" title="表单描述" type="textarea" value="" desc="表单描述" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Form Description" title-big5="表單描述" desc-en="Form Description" desc-big5="表單描述"/>
|
||||
<attribute key="department" title="责任部门" type="select" value="" desc="责任部门" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsible Department" title-big5="責任部門" desc-en="Responsible Department" desc-big5="責任部門"/>
|
||||
<attribute key="informationize" title="是否信息化" type="boolean" value="" desc="是否信息化" isRequired="false" ref="是,否" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Informationization" title-big5="是否信息化" desc-en="Is Informationized" desc-big5="是否信息化"/>
|
||||
<attribute key="title1" title="标题1" type="string" value="" desc="标题1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Title 1" title-big5="標題1" desc-en="Title 1" desc-big5="標題1"/>
|
||||
<attribute key="url1" title="链接1" type="link" value="" desc="链接1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="form_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Link 1" title-big5="鏈接1" desc-en="Link 1" desc-big5="鏈接1"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="form_aris" toShapeId="function_aris" outcomingName="为...提供输入" incomingName="是...的输出" />
|
||||
</linker>
|
||||
@ -1,138 +0,0 @@
|
||||
Schema.addCategory({name:"aris_form", text:"表单图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***表单类型*/Schema.addShape({name:"formType_aris",title:"表单类型",text:"表单类型",category:"aris_form",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"155, 207, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 9,y: 8},
|
||||
{action: "line",x: 21,y: 8},
|
||||
{action: "line",x: 21,y: 17},
|
||||
{action: "move",x: 9,y: 8},
|
||||
{action: "line",x: 9,y: 22},
|
||||
{action: "line",x: 18,y: 22},
|
||||
|
||||
{action: "move",x: 11,y: 12},
|
||||
{action: "line",x: 16,y: 12},
|
||||
{action: "move",x: 11,y: 13},
|
||||
{action: "line",x: 16,y: 13},
|
||||
{action: "move",x: 11,y: 15},
|
||||
{action: "line",x: 18,y: 15},
|
||||
{action: "move",x: 11,y: 17},
|
||||
{action: "line",x: 18,y: 17},
|
||||
|
||||
{action: "move",x: 21,y: 18},
|
||||
{action: "line",x: 23,y: 19.3},
|
||||
{action: "line",x: 23,y: 21.3},
|
||||
{action: "line",x: 21,y: 22.6},
|
||||
{action: "line",x: 19,y: 21.3},
|
||||
{action: "line",x: 19,y: 19.3},
|
||||
{action: "close"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
/***表单*/Schema.addShape({name:"form_aris",title:"表单",text:"表单",category:"aris_form",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"155, 207, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 9,y: 8},
|
||||
{action: "line",x: 21,y: 8},
|
||||
{action: "line",x: 21,y: 22},
|
||||
{action: "line",x: 9,y: 22},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 11,y: 12},
|
||||
{action: "line",x: 16,y: 12},
|
||||
{action: "move",x: 11,y: 13},
|
||||
{action: "line",x: 16,y: 13},
|
||||
{action: "move",x: 11,y: 15},
|
||||
{action: "line",x: 18,y: 15},
|
||||
{action: "move",x: 11,y: 17},
|
||||
{action: "line",x: 18,y: 17},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.form</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.form</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>表单图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe706;</code>
|
||||
<color>#009B52</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>data</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.form/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<form_aris cn="作为数据载体或承载信息的展示方式" en="Serves as a data carrier or a method of presenting information" big5="作為數據載體或承載信息的展示方式"/>
|
||||
<formType_aris cn="表单根据自有属性不同进行分类的对象" en="Forms are classified based on their inherent attributes" big5="表單根據自有屬性不同進行分類的對象"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,66 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="流程编号" type="string" value="" desc="流程编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Number" title-big5="流程編號" desc-en="Process Number" desc-big5="流程編號"/>
|
||||
<attribute key="level" title="流程层级" type="select" value="" desc="流程层级" isRequired="false" ref="业务域,流程组,流程" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Level" title-big5="流程層級" desc-en="Process Hierarchy" desc-big5="流程层级"/>
|
||||
<attribute key="department" title="主责部门" type="string" value="" desc="主责部门" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Main Responsibility Dept" title-big5="主責部門" desc-en="Main Responsible Department" desc-big5="主责部门"/>
|
||||
<attribute key="process_owner" title="流程所有者" type="string" value="" desc="流程所有者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Owner" title-big5="流程所有者" desc-en="Process Owner" desc-big5="流程所有者"/>
|
||||
<attribute key="goal" title="流程目标" type="textarea" value="" desc="流程目标" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Objective" title-big5="流程目標" desc-en="Process Objective" desc-big5="流程目標"/>
|
||||
<attribute key="desc" title="流程描述" type="textarea" value="" desc="流程描述" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Description" title-big5="流程描述" desc-en="Process Description" desc-big5="流程描述"/>
|
||||
<attribute key="quality_requirement" title="质量要求" type="textarea" value="" desc="质量要求" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Quality Requirements" title-big5="質量要求" desc-en="Quality Requirement" desc-big5="质量要求"/>
|
||||
<attribute key="occurrence_frequency" title="发生频率" type="string" value="" desc="发生频率" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Frequency of Occurrence" title-big5="發生頻率" desc-en="Occurrence Frequency" desc-big5="發生頻率"/>
|
||||
<attribute key="lead_process" title="上游流程" type="relation" value="" desc="上游流程" isRequired="false" ref="{"method":"aris/aris.businessProcess","type":"file","multiple":false,"value":""}" readonly="true" groupPath="process" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Upstream Process" title-big5="上游流程" desc-en="Upstream Process" desc-big5="上游流程"/>
|
||||
<attribute key="rear_process" title="下游流程" type="relation" value="" desc="上游流程" isRequired="false" ref="{"method":"aris/aris.businessProcess","type":"file","multiple":false,"value":""}" readonly="true" groupPath="process" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Downstream Process" title-big5="下游流程" desc-en="Upstream Process" desc-big5="上游流程"/>
|
||||
<attribute key="start_condition" title="流程开始条件" type="textarea" value="" desc="流程开始条件" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Start Condition" title-big5="流程開始條件" desc-en="Process Start Condition" desc-big5="流程開始條件"/>
|
||||
<attribute key="input" title="流程输入" type="textarea" value="" desc="流程输入" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Input" title-big5="流程輸入" desc-en="Process Input" desc-big5="流程輸入"/>
|
||||
<attribute key="end_condition" title="流程结束条件" type="textarea" value="" desc="流程结束条件" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Termination Conditions" title-big5="流程結束條件" desc-en="Process Termination Condition" desc-big5="流程結束條件"/>
|
||||
<attribute key="output" title="流程输出" type="textarea" value="" desc="流程输出" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Output" title-big5="流程輸出" desc-en="Process Output" desc-big5="流程輸出"/>
|
||||
<attribute key="participant" title="流程参与者" type="string" value="" desc="流程参与者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Participants" title-big5="流程參與者" desc-en="Process Participants" desc-big5="流程參與者"/>
|
||||
<attribute key="reviewer" title="流程检查者" type="string" value="" desc="流程检查者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Checker" title-big5="流程檢查者" desc-en="Process Checker" desc-big5="流程檢查者"/>
|
||||
<attribute key="customer" title="流程客户" type="string" value="" desc="流程客户" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Customer" title-big5="流程客戶" desc-en="Process Client" desc-big5="流程客户"/>
|
||||
<attribute key="handbook_url" title="流程手册链接" type="link" value="" desc="流程手册链接" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Manual Link" title-big5="流程手冊鏈接" desc-en="Process Manual Link" desc-big5="流程手册链接"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
</linker>
|
||||
@ -1,48 +0,0 @@
|
||||
Schema.addCategory({name:"aris_higherOrderProcess", text:"高阶流程图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
|
||||
/***增值链*/Schema.addShape({name:"valueAddedChain_arisHo",title:"增值链",text:"增值链",category:"aris_higherOrderProcess",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"111, 240, 134",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 7,y: 10},
|
||||
{action: "line",x: 14,y: 10},
|
||||
{action: "line",x: 16,y: 15},
|
||||
{action: "line",x: 14,y: 20},
|
||||
{action: "line",x: 7,y: 20},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 10},
|
||||
{action: "line",x: 23,y: 10},
|
||||
{action: "line",x: 25,y: 15},
|
||||
{action: "line",x: 23,y: 20},
|
||||
{action: "line",x: 16,y: 20},
|
||||
{action: "line",x: 18,y: 15},
|
||||
{action: "close"},
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.higherOrderProcess</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.higherOrderProcess</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>高阶流程图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe6e2;</code>
|
||||
<color>#4E7FF9</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>process</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.higherOrderProcess/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<valueAddedChain_arisHo cn="公司顶层管理体系框架" en="Top-level management system framework of the company" big5="公司頂層管理體系框架"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,56 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="制度编号" type="string" value="" desc="制度编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Regulation Number" title-big5="制度編號" desc-en="Regulation Number" desc-big5="制度編號"/>
|
||||
<attribute key="department" title="责任部门" type="select" value="" desc="责任部门" isRequired="false" ref="无" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsible Department" title-big5="責任部門" desc-en="Responsible Department" desc-big5="責任部門"/>
|
||||
<attribute key="primary_duty" title="主责岗位/人" type="string" value="" desc="主责岗位/人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="responsible post" title-big5="主責崗位/人" desc-en="Main Responsible Position/Person" desc-big5="主责岗位/人"/>
|
||||
<attribute key="valid_date" title="生效日期" type="DateTimePicker" value="" desc="生效日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Effective Date" title-big5="生效日期" desc-en="Effective Date" desc-big5="生效日期"/>
|
||||
<attribute key="publish_date" title="发布日期" type="DateTimePicker" value="" desc="发布日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Publish Date" title-big5="發布日期" desc-en="Release Date" desc-big5="發布日期"/>
|
||||
<attribute key="title1" title="标题1" type="string" value="" desc="标题1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Title 1" title-big5="標題1" desc-en="Title 1" desc-big5="標題1"/>
|
||||
<attribute key="url1" title="链接1" type="link" value="" desc="链接1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Link 1" title-big5="鏈接1" desc-en="Link 1" desc-big5="鏈接1"/>
|
||||
<attribute key="shape_state" title="状态" type="select" value="" desc="状态" isRequired="false" ref="生效,废止" readonly="false" groupPath="baseAttribute" scope="institutionDoc_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Status" title-big5="狀態" desc-en="Status" desc-big5="狀態"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="institutionDocType_aris" toShapeId="institutionDocType_aris,institutionDoc_aris" outcomingName="包含" incomingName="被...包含" />
|
||||
</linker>
|
||||
@ -1,131 +0,0 @@
|
||||
Schema.addCategory({name:"aris_institution", text:"制度图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***制度文件类型*/Schema.addShape({name:"institutionDocType_aris",title:"制度文件类型",text:"制度文件类型",category:"aris_institution",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"206, 218, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"22",y:"17"},
|
||||
{action:"line",x:"22",y:"11"},
|
||||
{action:"line",x:"17",y:"11"},
|
||||
{action:"line",x:"15",y:"9"},
|
||||
{action:"line",x:"8",y:"9"},
|
||||
{action:"line",x:"8",y:"22"},
|
||||
{action:"line",x:"15",y:"22"},
|
||||
|
||||
{action:"move",x:"17",y:"14"},
|
||||
{action:"line",x:"20",y:"14"},
|
||||
|
||||
{action:"move",x:"20",y:"18"},
|
||||
{action:"line",x:"23.2",y:"20.2"},
|
||||
{action:"line",x:"23.2",y:"23"},
|
||||
{action:"line",x:"20",y:"25"},
|
||||
{action:"line",x:"16.8",y:"23"},
|
||||
{action:"line",x:"16.8",y:"20.2"},
|
||||
{action:"close"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
/***制度文件*/Schema.addShape({name:"institutionDoc_aris",title:"制度文件",text:"制度文件",category:"aris_institution",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"206, 218, 255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"8",y:"7"},
|
||||
{action:"line",x:"8",y:"23"},
|
||||
{action:"line",x:"22",y:"23"},
|
||||
{action:"line",x:"22",y:"7"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"8",y:"21"},
|
||||
{action:"line",x:"22",y:"21"},
|
||||
|
||||
{action:"move",x:"11",y:"7"},
|
||||
{action:"line",x:"11",y:"13"},
|
||||
{action:"line",x:"13",y:"11"},
|
||||
{action:"line",x:"15",y:"13"},
|
||||
{action:"line",x:"15",y:"7"},
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.institution</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.institution</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>制度图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe788;</code>
|
||||
<color>#009B52</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.institution/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<institutionDocType_aris cn="用于将规章制度文件根据类别进行分类管理" en="Used for categorizing and managing institutional documents by type" big5="用於將規章制度文件根據類別進行分類管理"/>
|
||||
<institutionDoc_aris cn="企业现有规章制度、管理标准文件" en="Existing regulations, institutional and management standard documents of the enterprise" big5="企業現有規章制度、管理標準文件"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="职责编号" type="string" value="" desc="职责编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsibility Number" title-big5="職責編號" desc-en="Duty Number" desc-big5="职责编号"/>
|
||||
<attribute key="shape_type" title="职责类型" type="string" value="" desc="职责类型" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Duty Type" title-big5="職責類型" desc-en="Responsibility Type" desc-big5="職責類型"/>
|
||||
<attribute key="desc" title="职责说明" type="textarea" value="" desc="职责说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Responsibility Description" title-big5="職責說明" desc-en="Responsibility Description" desc-big5="職責說明"/>
|
||||
</attributes>
|
||||
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="aris.organization"/>
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<!--职责 begin-->
|
||||
<concept conceptCode="001" fromShapeId="responsibility_aris" toShapeId="function_aris" outcomingName="完成" incomingName="被...完成" />
|
||||
<concept conceptCode="002" fromShapeId="responsibility_aris" toShapeId="responsibility_aris" outcomingName="由...组成" incomingName="是...的组成" />
|
||||
<!--职责 end-->
|
||||
</linker>
|
||||
@ -1,81 +0,0 @@
|
||||
Schema.addCategory({name:"aris_orgResponsibilityAss", text:"职责图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***职责*/Schema.addShape({name:"responsibility_aris",title:"职责",text:"职责",category:"aris_orgResponsibilityAss",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"255, 226, 133",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
textStyle:{text: "责", color: "51,51,51", size: "9px", x: "10.5", y: "18"},
|
||||
actions:[{action: "curveArc",centerX: "15",centerY: "15",radius: "8",startAngle: "0",endAngle: "2 * Math.PI"}]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.orgResponsibilityAss</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.orgResponsibilityAss</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>职责图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe65e;</code>
|
||||
<color>#FF9421</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>org</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.orgResponsibilityAss/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<responsibility_aris cn="描述组织单元所承担的责任" en="Describes the responsibilities undertaken by organizational units" big5="描述組織單元所承擔的責任"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,61 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="person" title="部门负责人" type="string" value="" desc="部门负责人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Department Head" title-big5="部門負責人" desc-en="Department Head" desc-big5="部門負責人"/>
|
||||
<attribute key="parent_dept" title="上级部门" type="string" value="" desc="上级部门" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Superior Department" title-big5="上級部門" desc-en="Superior Department" desc-big5="上級部門"/>
|
||||
<attribute key="leader_person" title="主管领导" type="string" value="" desc="主管领导" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Leader" title-big5="主管領導" desc-en="Supervisor Leader" desc-big5="主管領導"/>
|
||||
<attribute key="shape_type" title="类型" type="select" value="" desc="部门类型" isRequired="false" ref="职能行政,生产单元" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Type" title-big5="類型" desc-en="Department Type" desc-big5="部门类型"/>
|
||||
<attribute key="goal" title="工作目标" type="textarea" value="" desc="工作目标" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Work Objective" title-big5="工作目標" desc-en="Work Objective" desc-big5="工作目标"/>
|
||||
<attribute key="explain" title="职能说明" type="textarea" value="" desc="职能说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Functional Description" title-big5="職能說明" desc-en="Functional Description" desc-big5="職能說明"/>
|
||||
<attribute key="mission" title="使命" type="textarea" value="" desc="使命" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Mission" title-big5="使命" desc-en="Mission" desc-big5="使命"/>
|
||||
<attribute key="values" title="价值观" type="textarea" value="" desc="价值观" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Values" title-big5="價值觀" desc-en="Values" desc-big5="價值觀"/>
|
||||
<attribute key="culture" title="文化" type="textarea" value="" desc="文化" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="organizationalUnit_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Culture" title-big5="文化" desc-en="Culture" desc-big5="文化"/>
|
||||
<attribute key="desc" title=" 岗位描述" type="textarea" value="" desc=" 岗位描述" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="position_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Job Description" title-big5="岗位描述" desc-en="Job Description" desc-big5="岗位描述"/>
|
||||
<attribute key="qualification" title=" 任职资格" type="textarea" value="" desc=" 任职资格" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="position_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Qualification" title-big5="任職資格" desc-en="Qualifications" desc-big5="任職資格"/>
|
||||
<attribute key="position_org" title=" 岗位编制" type="string" value="" desc=" 岗位编制" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="position_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Position Establishment" title-big5="岗位编制" desc-en="Position Establishment" desc-big5="岗位编制"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
|
||||
<!--组织单元 begin-->
|
||||
<concept conceptCode="001" fromShapeId="organizationalUnit_aris" toShapeId="organizationalUnit_aris" outcomingName="是...的上级" incomingName="是...的下级" />
|
||||
<concept conceptCode="002" fromShapeId="organizationalUnit_aris" toShapeId="organizationalUnit_aris" outcomingName="对...负有责任" incomingName="被...负责任" />
|
||||
<concept conceptCode="003" fromShapeId="organizationalUnit_aris" toShapeId="position_aris" outcomingName="是...的管理者" incomingName="被...管理" />
|
||||
<concept conceptCode="004" fromShapeId="organizationalUnit_aris" toShapeId="position_aris" outcomingName="由...组成" incomingName="是...的组成" />
|
||||
<concept conceptCode="005" fromShapeId="organizationalUnit_aris" toShapeId="responsibility_aris" outcomingName="执行" incomingName="被...执行" />
|
||||
<!--组织单元 end-->
|
||||
<!--岗位 begin-->
|
||||
<concept conceptCode="006" fromShapeId="position_aris" toShapeId="responsibility_aris" outcomingName="执行" incomingName="被...执行" />
|
||||
<!--岗位 end-->
|
||||
</linker>
|
||||
@ -1,106 +0,0 @@
|
||||
Schema.addCategory({name:"aris_organization", text:"组织图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***组织单元*/Schema.addShape({name:"organizationalUnit_aris",title:"组织单元",text:"组织单元",category:"aris_organization",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"255, 226, 133",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "curveArc",centerX: "15",centerY: "11.5",radius: "3.5",startAngle: "0",endAngle: "2 * Math.PI"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "curveArc",centerX: "15",centerY: "21",radius: "6",startAngle: "0",endAngle: "Math.PI"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "6.5",y: "19.5"},
|
||||
{action: "quadraticCurve",x1: "7",y1: "15",x: "10",y: "15"},
|
||||
{action: "curve",x1: "8.5",y1: "13",x2: "8.5",y2: "10.5",x: "10.5",y: "9"},
|
||||
|
||||
{action: "move",x: "23.5",y: "19.5"},
|
||||
{action: "quadraticCurve",x1: "23",y1: "15",x: "20",y: "15"},
|
||||
{action: "curve",x1: "21.5",y1: "13",x2: "21.5",y2: "10.5",x: "19.5",y: "9"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
|
||||
/***岗位*/Schema.addShape({name:"position_aris",title:"岗位",text:"岗位",category:"aris_organization",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"255, 226, 133",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "curveArc",centerX: "15",centerY: "12",radius: "1.3",startAngle: "0",endAngle: "2 * Math.PI"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "8.5",y: "8"},
|
||||
{action: "line",x: "21.5",y: "8"},
|
||||
{action: "line",x: "21.5",y: "22"},
|
||||
{action: "line",x: "8.5",y: "22"},
|
||||
{action:"close"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: "14",y: "13"},
|
||||
{action: "line",x: "13",y: "17"},
|
||||
{action: "line",x: "15",y: "19"},
|
||||
{action: "line",x: "17",y: "17"},
|
||||
{action: "line",x: "16",y: "13"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.organization</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.organization</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>组织图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe6b6;</code>
|
||||
<color>#FF9421</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>org</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.organization/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<position_aris cn="明确组织中个体在特定时间内的任务、责任和权利" en="Specifies the tasks, responsibilities, and rights of individuals in an organization at a specific time" big5="明確組織中個體在特定時間內的任務、責任和權利"/>
|
||||
<organizationalUnit_aris cn="用于反映组织的现有结构和层级关系" en="Used to reflect the current structure and hierarchical relationships of an organization" big5="用於反映組織的現有結構和層級關係"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,53 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="编号" type="string" value="" desc="编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="structuralElement_arisPi" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Number" title-big5="編號" desc-en="Number" desc-big5="編號"/>
|
||||
<attribute key="desc" title="说明" type="textarea" value="" desc="说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="structuralElement_arisPi" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Explanation" title-big5="說明" desc-en="Description" desc-big5="说明"/>
|
||||
<attribute key="threshold" title="阀值" type="string" value="" desc="阀值" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="performanceIndicator_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Threshold" title-big5="閥值" desc-en="Threshold" desc-big5="閾值"/>
|
||||
<attribute key="measure_algorithm" title="测度算法" type="string" value="" desc="测度算法" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="performanceIndicator_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Measurement Algorithm" title-big5="測度算法" desc-en="Measurement Algorithm" desc-big5="測度算法"/>
|
||||
<attribute key="acquisition_frequency" title="采集频次" type="string" value="" desc="采集频次" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="performanceIndicator_aris" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Collection Frequency" title-big5="採集頻次" desc-en="Data Collection Frequency" desc-big5="采集频次"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="performanceIndicator_aris" toShapeId="performanceIndicator_aris" outcomingName="影响" incomingName="被...影响" />
|
||||
</linker>
|
||||
@ -1,122 +0,0 @@
|
||||
Schema.addCategory({name:"aris_performanceIndicator", text:"绩效指标图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
||||
{action:"move",x:"40",y:"5"},
|
||||
{action:"line",x:"w",y:"5"},
|
||||
{action:"line",x:"w",y:"h"},
|
||||
{action:"line",x:"40",y:"h"},
|
||||
{action:"close"}
|
||||
]);
|
||||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||||
{action:"close"},
|
||||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||||
{action:"close"}
|
||||
]);
|
||||
|
||||
/***结构元素*/Schema.addShape({name:"structuralElement_arisPi",title:"结构元素",text:"结构元素",category:"aris_performanceIndicator",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"216, 239, 196",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"6",y:"8"},
|
||||
{action:"line",x:"24",y:"8"},
|
||||
{action:"line",x:"24",y:"22"},
|
||||
{action:"line",x:"6",y:"22"},
|
||||
{action:"line",x:"6",y:"8"},
|
||||
{action:"move",x:"6",y:"15"},
|
||||
{action:"line",x:"24",y:"15"},
|
||||
{action:"move",x:"15",y:"8"},
|
||||
{action:"line",x:"15",y:"22"},
|
||||
{action:"close"}
|
||||
]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
/***绩效指标*/Schema.addShape({name:"performanceIndicator_aris",title:"绩效指标",text:"绩效指标",category:"aris_performanceIndicator",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor:"83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"216,239,196",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action:"move",x:"8.5",y:"21"},
|
||||
{action:"curve",x1:"6.9",y1:"15",x2:"12.5",y2:"8.7",x:"18.5",y:"12"},
|
||||
{action:"move",x:"21.5",y:"21"},
|
||||
{action:"quadraticCurve",x1:"22.3",y1:"17.8",x:"21.3",y:"15"},
|
||||
|
||||
{action:"move",x:"16.5",y:"16.5"},
|
||||
{action:"line",x:"20.5",y:"12.8"}
|
||||
]
|
||||
},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor:"51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[{action:"curveArc",centerX:"15",centerY:"18",radius:"2.2",startAngle:"0",endAngle:"2 * Math.PI"}]
|
||||
},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]}
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.performanceIndicator</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.performanceIndicator</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>绩效指标图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe8c2;</code>
|
||||
<color>#FF9421</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
<category>control</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.performanceIndicator/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<performanceIndicator_aris cn="用于描述目标的实现程度" en="Used to describe the level of achievement of objectives" big5="用於描述目標的實現程度"/>
|
||||
<structuralElement_arisPi cn="当需要进行某种分类表达,无特定要素分类符号时使用" en="Used when a certain type of classification expression is needed, without specific element classification symbols" big5="當需要進行某種分類表達,無特定要素分類符號時使用"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,55 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="desc" title="说明" type="textarea" value="" desc="说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="startEvent_arisAct,endEvent_arisAct,userTask_arisAct,serviceTask_arisAct,cycleTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Explanation" title-big5="說明" desc-en="Description" desc-big5="说明"/>
|
||||
<attribute key="shape_type" title="服务类型" type="select" value="" desc="服务类型" isRequired="false" ref="Web 服务,RestAPI,功能程序" readonly="false" groupPath="baseAttribute" scope="serviceTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Service Type" title-big5="服務類型" desc-en="Service Type" desc-big5="服務類型"/>
|
||||
<attribute key="run_type" title="执行方式" type="select" value="" desc="执行方式" isRequired="false" ref="手工,人机交互" readonly="false" groupPath="baseAttribute" scope="cycleTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Execution Method" title-big5="執行方式" desc-en="Execution Mode" desc-big5="執行方式"/>
|
||||
<attribute key="cycle_desc" title="循环说明" type="textarea" value="" desc="循环说明" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="cycleTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Loop Description" title-big5="循環說明" desc-en="Loop Explanation" desc-big5="循環說明"/>
|
||||
<attribute key="interface_data" title="接口数据" type="string" value="" desc="接口数据" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="subProcessTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Interface Data" title-big5="接口數據" desc-en="Interface Data" desc-big5="接口數據"/>
|
||||
<attribute key="trigger_mode" title="触发方式" type="string" value="" desc="触发方式" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="subProcessTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Trigger Mode" title-big5="觸發方式" desc-en="Trigger Mode" desc-big5="觸發方式"/>
|
||||
<attribute key="integration_mode" title="集成方式" type="select" value="" desc="集成方式" isRequired="false" ref="Webservice,数据库接口,XML 文件导入,其它" readonly="false" groupPath="baseAttribute" scope="subProcessTask_arisAct" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Integration Method" title-big5="集成方式" desc-en="Integration Method" desc-big5="集成方式"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,56 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
|
||||
<!--开始事件 begin-->
|
||||
<concept conceptCode="001" fromShapeId="startEvent_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="002" fromShapeId="startEvent_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--开始事件 end-->
|
||||
<!--人工任务 begin-->
|
||||
<concept conceptCode="003" fromShapeId="userTask_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="004" fromShapeId="userTask_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="005" fromShapeId="userTask_arisAct" toShapeId="outputDataObject_arisAct" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--人工任务 end-->
|
||||
<!--手工任务 begin-->
|
||||
<concept conceptCode="006" fromShapeId="manualTask_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="007" fromShapeId="manualTask_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="008" fromShapeId="manualTask_arisAct" toShapeId="outputDataObject_arisAct" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--手工任务 end-->
|
||||
<!--服务任务 begin-->
|
||||
<concept conceptCode="009" fromShapeId="serviceTask_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="010" fromShapeId="serviceTask_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="011" fromShapeId="serviceTask_arisAct" toShapeId="outputDataObject_arisAct" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--服务任务 end-->
|
||||
<!--循环任务 begin-->
|
||||
<concept conceptCode="012" fromShapeId="cycleTask_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="013" fromShapeId="cycleTask_arisAct" toShapeId="exclusiveGateway_arisAct,parallelGateway_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<concept conceptCode="014" fromShapeId="cycleTask_arisAct" toShapeId="outputDataObject_arisAct" outcomingName="输出是..." incomingName="是...的输出" />
|
||||
<!--循环任务 end-->
|
||||
<!--排他网关 begin-->
|
||||
<concept conceptCode="015" fromShapeId="exclusiveGateway_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--排他网关 end-->
|
||||
<!--并行网关 begin-->
|
||||
<concept conceptCode="016" fromShapeId="parallelGateway_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct,endEvent_arisAct" outcomingName="激活" incomingName="被...激活" />
|
||||
<!--并行网关 end-->
|
||||
<!--输入数据对象 begin-->
|
||||
<concept conceptCode="017" fromShapeId="inputDataObject_arisAct" toShapeId="userTask_arisAct,manualTask_arisAct,serviceTask_arisAct,cycleTask_arisAct" outcomingName="是...的输入" incomingName="输入是..." />
|
||||
<!--输入数据对象 end-->
|
||||
</linker>
|
||||
@ -1,117 +0,0 @@
|
||||
Schema.addCategory({name:"aris_processActivity", text:"流程活动图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
|
||||
/***开始*/Schema.addShape({name:"startEvent_arisAct", title:"开始", text:"", category:"aris_processActivity", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "129,180,47", lineStyle:"solid",lineWidth:4},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
/***结束*/Schema.addShape({name:"endEvent_arisAct", title:"结束", text:"", category:"aris_processActivity", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "253,103,103", lineStyle:"solid",lineWidth:4},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"round"}},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"round"}}
|
||||
]});
|
||||
/***排他网关*/Schema.addShape({name:"exclusiveGateway_arisAct",title:"排他网关", text:"", category:"aris_processActivity", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "94,94,94", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
{actions:[{action:"move", x:"w/2-w*0.15", y:"h/2-h*0.15"},{action:"line", x:"w/2+w*0.15", y:"h/2+h*0.15"},{action:"move", x:"w/2+w*0.15", y:"h/2-h*0.15"},{action:"line", x:"w/2-w*0.15", y:"h/2+h*0.15"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***并行网关*/Schema.addShape({name:"parallelGateway_arisAct",title:"并行网关", text:"", category:"aris_processActivity", attribute:{editable:false}, props:{w:40, h:40},
|
||||
lineStyle:{lineColor: "94,94,94", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"w*0.5-w*0.3*0.5",y:"h*0.5"},{action:"line",x:"w*0.5+w*0.3*0.5",y:"h*0.5"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"w*0.5",y:"h*0.5-h*0.3*0.5"},{action:"line",x:"w*0.5",y:"h*0.5+h*0.3*0.5"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move", x:"0", y:"h/2"},{action:"line", x:"w/2", y:"0"},{action:"line", x:"w", y:"h/2"},{action:"line", x:"w/2", y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***用户任务*/Schema.addShape({name:"userTask_arisAct", title:"用户任务", text:"用户任务", category:"aris_processActivity", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"9",y:"7"},{action:"curve",x1:"10",y1:"2",x2:"15",y2:"2",x:"16",y:"7"},{action:"curve",x1:"15",y1:"12",x2:"10",y2:"12",x:"9",y:"7"}]},
|
||||
{actions:[{action:"move",x:"6",y:"18"},{action:"curve",x1:"8",y1:"9",x2:"17",y2:"9",x:"19",y:"18"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***手工任务*/Schema.addShape({name:"manualTask_arisAct", title:"手工任务", text:"手工任务", category:"aris_processActivity", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"5",y:"12"},{action:"curve",x1:"6",y1:"6",x2:"13",y2:"6",x:"14",y:"12"},{action:"curve",x1:"13",y1:"18",x2:"6",y2:"18",x:"5",y:"12"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"13",y:"5.5"},{action:"line",x:"6",y:"10"},{action:"move",x:"10.5",y:"15.5"},{action:"line",x:"17",y:"15.5"}]},
|
||||
{actions:[{action:"move",x:"9",y:"13"},{action:"line",x:"18.5",y:"13"},{action:"move",x:"9",y:"10.5"},{action:"line",x:"20",y:"10.5"},{action:"move",x:"9",y:"8.5"},{action:"line",x:"19",y:"8.5"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***服务任务*/Schema.addShape({name:"serviceTask_arisAct", title:"服务任务", text:"服务任务", category:"aris_processActivity", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"8",y:"12"},{action:"curve",x1:"9",y1:"4",x2:"19",y2:"4",x:"20",y:"12"},{action:"curve",x1:"19",y1:"20",x2:"9",y2:"20",x:"8",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"12",y:"12"},{action:"curve",x1:"13",y1:"10",x2:"15",y2:"10",x:"16",y:"12"},{action:"curve",x1:"15",y1:"14",x2:"13",y2:"14",x:"12",y:"12"},{action:"close"}]},
|
||||
{actions:[{action:"move",x:"13",y:"8"},{action:"line",x:"10.5",y:"5"},{action:"move",x:"15",y:"8"},{action:"line",x:"17.5",y:"5"}]},
|
||||
{actions:[{action:"move",x:"13",y:"16"},{action:"line",x:"10.5",y:"19"},{action:"move",x:"15",y:"16"},{action:"line",x:"17.5",y:"19"}]},
|
||||
{actions:[{action:"move",x:"8.5",y:"9.5"},{action:"line",x:"7",y:"8"},{action:"move",x:"8.5",y:"14.5"},{action:"line",x:"7",y:"16"}]},
|
||||
{actions:[{action:"move",x:"19.5",y:"9.5"},{action:"line",x:"20",y:"8"},{action:"move",x:"19.5",y:"14.5"},{action:"line",x:"20",y:"16"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
/***循环任务*/Schema.addShape({name:"cycleTask_arisAct",title:"循环任务",text:"循环任务",category:"aris_processActivity",props:{w:100,h:70},
|
||||
lineStyle:{lineColor: "42,177,214", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{actions:[{action:"move",x:"w*0.5-3",y:"h-4"},{action:"curve",x1:"w*0.5-10.5",y1:"h-16.5",x2:"w*0.5+10.5",y2:"h-16.5",x:"w*0.5+3",y:"h-4"}]},
|
||||
{actions:[{action:"move",x:"w*0.5-8",y:"h-6"},{action:"line",x:"w*0.5-3",y:"h-4"},{action:"line",x:"w*0.5-1",y:"h-8"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
|
||||
/***子流程*/Schema.addShape({name:"subProcessTask_arisAct", title:"子流程", text:"子流程", category:"aris_processActivity", props:{w:100, h:70},
|
||||
lineStyle:{lineColor: "179,179,179", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"roundRectangle"}},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"5.5",y:"6"},{action:"line",x:"19.5",y:"6"},{action:"line",x:"19.5",y:"16"},{action:"line",x:"5.5",y:"16"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"12",y:"8"},{action:"line",x:"12",y:"14"},{action:"move",x:"7.5",y:"11"},{action:"line",x:"16.5",y:"11"}]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"roundRectangle"}}
|
||||
]});
|
||||
|
||||
/***输入数据对象*/Schema.addShape({name:"inputDataObject_arisAct",title:"输入数据对象",text:"输入数据对象",category:"aris_processActivity",props:{w:170,h:70},textBlock:{x:"25",y:"20",w:"w-50",h:"h-40"},
|
||||
lineStyle:{lineColor: "93,93,93", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"w-15",y:"0"},{action:"line",x:"w",y:"15"},{action:"line",x:"w-15",y:"15"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"4",y:"8"},{action:"line",x:"18",y:"8"},{action:"line",x:"18",y:"2"},{action:"line",x:"25",y:"10"},{action:"line",x:"18",y:"18"},{action:"line",x:"18",y:"12"},{action:"line",x:"4",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
]});
|
||||
/***输出数据对象*/Schema.addShape({name:"outputDataObject_arisAct",title:"输出数据对象",text:"输出数据对象",category:"aris_processActivity",props:{w:170,h:70},textBlock:{x:"25",y:"20",w:"w-50",h:"h-40"},
|
||||
lineStyle:{lineColor: "93,93,93", lineStyle:"solid",lineWidth:2},
|
||||
fillStyle:{color:"255,255,255",type:"solid"},
|
||||
path:[
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},actions:[{action:"move",x:"w-15",y:"0"},{action:"line",x:"w",y:"15"},{action:"line",x:"w-15",y:"15"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{color:"93,93,93"},actions:[{action:"move",x:"4",y:"8"},{action:"line",x:"18",y:"8"},{action:"line",x:"18",y:"2"},{action:"line",x:"25",y:"10"},{action:"line",x:"18",y:"18"},{action:"line",x:"18",y:"12"},{action:"line",x:"4",y:"12"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w-15",y:"0"},{action:"line",x:"w-15",y:"15"},{action:"line",x:"w",y:"15"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
]});
|
||||
@ -1 +0,0 @@
|
||||
|
||||
@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<method>
|
||||
<basic>
|
||||
<!-- methodId -->
|
||||
<id>aris.processActivity</id>
|
||||
<!-- 建模方法标题(通过该值从国际化文件中获取) -->
|
||||
<title>aris.processActivity</title>
|
||||
<!-- 建模方法描述 -->
|
||||
<desc>流程活动图</desc>
|
||||
<!-- 建模方法类型,normal:普通建模方法,image:图片库类型建模方法 -->
|
||||
<type>normal</type>
|
||||
<!-- 图标,文件夹图标不处理 -->
|
||||
<icon>
|
||||
<code>&#xe6e2;</code>
|
||||
<color>#4E7FF9</color>
|
||||
</icon>
|
||||
<!-- 默认主题,内容是theme标签中的key值 -->
|
||||
<theme>theme1</theme>
|
||||
<!-- 建模方法所属的建模分类 -->
|
||||
<categorys>
|
||||
<category>aris</category>
|
||||
</categorys>
|
||||
<!-- 建模方法分类 -->
|
||||
<methodType>arisLayer</methodType>
|
||||
<!-- 支持的建模方式 graphModeling:图形建模 tableModeling:表格建模 -->
|
||||
<modelingMode>graphModeling</modelingMode>
|
||||
<!-- 默认建模方式 graphModeling or tableModeling -->
|
||||
<defaultModelingMode>graphModeling</defaultModelingMode>
|
||||
</basic>
|
||||
<themes>
|
||||
<!--
|
||||
key 唯一主键(当前文件内key不重复)
|
||||
title 主题名字
|
||||
schema 形状定义文件名称
|
||||
customSchema 自定义形状定义文件名称
|
||||
previewPng 建模方法所有形状预览图的地址
|
||||
-->
|
||||
<theme key="theme1" title="默认主题" schema="diagram.schema.tpl" customSchema="diagram.custom.schema.tpl" previewPng="../img/method/aris.processActivity/schema.png"/>
|
||||
</themes>
|
||||
<shapeDesc>
|
||||
<endEvent_arisAct cn="用于表明活动执行结束规则" en="Used to indicate the rules for the end of activity execution" big5="用於表明活動執行結束規則"/>
|
||||
<subProcessTask_arisAct cn="表达上下游流程、子流程" en="Expresses upstream and downstream processes, sub-processes" big5="表達上下游流程、子流程"/>
|
||||
<cycleTask_arisAct cn="重复执行相同任务" en="Repeatedly performs the same task" big5="重復執行相同任務"/>
|
||||
<serviceTask_arisAct cn="调用某种类型服务或程序处理的任务" en="A task that involves calling a certain type of service or program processing" big5="調用某種類型服務或程序處理的任務"/>
|
||||
<manualTask_arisAct cn="没有任何应用程序协助的纯手工任务" en="A purely manual task without any application assistance" big5="沒有任何應用程序協助的純手工任務"/>
|
||||
<userTask_arisAct cn="在应用程序协助下完成的人工任务" en="A manual task completed with the assistance of an application" big5="在應用程序協助下完成的人工任務"/>
|
||||
<parallelGateway_arisAct cn="用于表明活动并行执行路径分支执行条件" en="Used to indicate the conditions for parallel execution path branches of activities" big5="用於表明活動並行執行路徑分支執行條件"/>
|
||||
<startEvent_arisAct cn="用于表明活动执行开始规则" en="Used to indicate the rules for the start of activity execution" big5="用於表明活動執行開始規則"/>
|
||||
<exclusiveGateway_arisAct cn="用于表明活动单一路径分支执行条件" en="Used to indicate the conditions for the execution of a single path branch of activities" big5="用於表明活動單一路徑分支執行條件"/>
|
||||
</shapeDesc>
|
||||
</method>
|
||||
@ -1,66 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="process" parentName="" desc="流程"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<group name="org_performance" parentName="" desc="绩效"/>
|
||||
<group name="processExecution" parentName="" desc="流程执行"/>
|
||||
<group name="riskControl" parentName="" desc="风险控制"/>
|
||||
<group name="data_form" parentName="" desc="数据"/>
|
||||
<group name="itsystem_normal" parentName="" desc="应用系统"/>
|
||||
<group name="control" parentName="" desc="控制"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
|
||||
|
||||
-->
|
||||
<attribute key="number" title="流程编号" type="string" value="" desc="流程编号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Number" title-big5="流程編號" desc-en="Process Number" desc-big5="流程編號"/>
|
||||
<attribute key="level" title="流程层级" type="select" value="" desc="流程层级" isRequired="false" ref="业务域,流程组,流程" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Level" title-big5="流程層級" desc-en="Process Hierarchy" desc-big5="流程层级"/>
|
||||
<attribute key="department" title="主责部门" type="string" value="" desc="主责部门" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Main Responsibility Dept" title-big5="主責部門" desc-en="Main Responsible Department" desc-big5="主责部门"/>
|
||||
<attribute key="process_owner" title="流程所有者" type="string" value="" desc="流程所有者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Owner" title-big5="流程所有者" desc-en="Process Owner" desc-big5="流程所有者"/>
|
||||
<attribute key="goal" title="流程目标" type="textarea" value="" desc="流程目标" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Objective" title-big5="流程目標" desc-en="Process Objective" desc-big5="流程目標"/>
|
||||
<attribute key="desc" title="流程描述" type="textarea" value="" desc="流程描述" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Description" title-big5="流程描述" desc-en="Process Description" desc-big5="流程描述"/>
|
||||
<attribute key="quality_requirement" title="质量要求" type="textarea" value="" desc="质量要求" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Quality Requirements" title-big5="質量要求" desc-en="Quality Requirement" desc-big5="质量要求"/>
|
||||
<attribute key="occurrence_frequency" title="发生频率" type="string" value="" desc="发生频率" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Frequency of Occurrence" title-big5="發生頻率" desc-en="Occurrence Frequency" desc-big5="發生頻率"/>
|
||||
<attribute key="lead_process" title="上游流程" type="relation" value="" desc="上游流程" isRequired="false" ref="{"method":"airs/aris.businessProcess","type":"file","multiple":false,"value":""}" readonly="true" groupPath="process" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Upstream Process" title-big5="上游流程" desc-en="Upstream Process" desc-big5="上游流程"/>
|
||||
<attribute key="rear_process" title="下游流程" type="relation" value="" desc="上游流程" isRequired="false" ref="{"method":"aris/aris.businessProcess","type":"file","multiple":false,"value":""}" readonly="true" groupPath="process" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Downstream Process" title-big5="下游流程" desc-en="Upstream Process" desc-big5="上游流程"/>
|
||||
<attribute key="start_condition" title="流程开始条件" type="textarea" value="" desc="流程开始条件" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Start Condition" title-big5="流程開始條件" desc-en="Process Start Condition" desc-big5="流程開始條件"/>
|
||||
<attribute key="input" title="流程输入" type="textarea" value="" desc="流程输入" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Input" title-big5="流程輸入" desc-en="Process Input" desc-big5="流程輸入"/>
|
||||
<attribute key="end_condition" title="流程结束条件" type="textarea" value="" desc="流程结束条件" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Termination Conditions" title-big5="流程結束條件" desc-en="Process Termination Condition" desc-big5="流程結束條件"/>
|
||||
<attribute key="output" title="流程输出" type="textarea" value="" desc="流程输出" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Output" title-big5="流程輸出" desc-en="Process Output" desc-big5="流程輸出"/>
|
||||
<attribute key="participant" title="流程参与者" type="string" value="" desc="流程参与者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Participants" title-big5="流程參與者" desc-en="Process Participants" desc-big5="流程參與者"/>
|
||||
<attribute key="reviewer" title="流程检查者" type="string" value="" desc="流程检查者" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Checker" title-big5="流程檢查者" desc-en="Process Checker" desc-big5="流程檢查者"/>
|
||||
<attribute key="customer" title="流程客户" type="string" value="" desc="流程客户" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Customer" title-big5="流程客戶" desc-en="Process Client" desc-big5="流程客户"/>
|
||||
<attribute key="handbook_url" title="流程手册链接" type="link" value="" desc="流程手册链接" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" requiredCheckType="WEAK_NON_MESSAGE" title-en="Process Manual Link" title-big5="流程手冊鏈接" desc-en="Process Manual Link" desc-big5="流程手册链接"/>
|
||||
</attributes>
|
||||
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
</shapes>
|
||||
@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="valueAddedChain_arisLog" toShapeId="valueAddedChain_arisLog" outcomingName="是...的前驱" incomingName="是...的后继" />
|
||||
</linker>
|
||||
@ -1,48 +0,0 @@
|
||||
Schema.addCategory({name:"aris_processRelationship", text:"端到端流程图", dataAttributes:[
|
||||
{name:"No.", type:"number", value:"", category:"default"},
|
||||
{name:"Name", type:"string", value:"", category:"default"},
|
||||
{name:"Owner", type:"string", value:"", category:"default"},
|
||||
{name:"Link", type:"link", value:"", category:"default"},
|
||||
{name:"Memo", type:"string", value:"", category:"default"},
|
||||
{name:"Cost", type:"number", value:"", category:"default"},
|
||||
{name:"Time", type:"number", value:"", category:"default"},
|
||||
{name:"Manner", type:"list", value:"", category:"default"},
|
||||
{name:"Department", type:"string", value:"", category:"default"},
|
||||
{name:"Input", type:"string", value:"", category:"default"},
|
||||
{name:"Output", type:"string", value:"", category:"default"},
|
||||
{name:"Risk", type:"string", value:"", category:"default"},
|
||||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||||
]});
|
||||
|
||||
/***增值链*/Schema.addShape({name:"valueAddedChain_arisLog",title:"增值链",text:"增值链",category:"aris_processRelationship",
|
||||
props:{w:140,h:80,scaling:true,panelProps:{translate: true, x: 1, y: 1}, titleProps: {x:44,y:2,w:100,h:30}},
|
||||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"},
|
||||
lineStyle:{lineColor: "83,83,83", lineStyle:"solid",lineWidth:1},
|
||||
fillStyle:{color:"111, 240, 134",type:"solid"},
|
||||
path:[
|
||||
{actions:{ref:"rectangle"}},
|
||||
{lineStyle:{lineWidth:1},fillStyle:{type:"none"},actions:[{action:"move",x:"0",y:"0"},{action:"line",x:"w",y:"0"},{action:"line",x:"w",y:"h"},{action:"line",x:"0",y:"h"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"w-1",y:"1"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{color:"255,255,255"},actions:[{action:"move",x:"1",y:"30"},{action:"line",x:"w-1",y:"30"},{action:"line",x:"w-1",y:"h-1"},{action:"line",x:"1",y:"h-1"},{action:"close"}]},
|
||||
{lineStyle:{lineWidth:0},fillStyle:{colorOverlay:"multiplyOverlay"},actions:[{action:"move",x:"1",y:"1"},{action:"line",x:"30",y:"1"},{action:"line",x:"30",y:"30"},{action:"line",x:"1",y:"30"},{action:"close"}]},
|
||||
{
|
||||
lineStyle:{lineWidth:1,lineColor: "51,51,51"},
|
||||
fillStyle:{type: "none"},
|
||||
actions:[
|
||||
{action: "move",x: 7,y: 10},
|
||||
{action: "line",x: 14,y: 10},
|
||||
{action: "line",x: 16,y: 15},
|
||||
{action: "line",x: 14,y: 20},
|
||||
{action: "line",x: 7,y: 20},
|
||||
{action: "close"},
|
||||
|
||||
{action: "move",x: 16,y: 10},
|
||||
{action: "line",x: 23,y: 10},
|
||||
{action: "line",x: 25,y: 15},
|
||||
{action: "line",x: 23,y: 20},
|
||||
{action: "line",x: 16,y: 20},
|
||||
{action: "line",x: 18,y: 15},
|
||||
{action: "close"},
|
||||
]},
|
||||
{lineStyle:{lineWidth:0}, fillStyle:{type:"none"}, actions:{ref:"rectangle"}}
|
||||
]});
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user