118 lines
10 KiB
Smarty
118 lines
10 KiB
Smarty
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"}]},
|
|
]});
|