183 lines
9.9 KiB
Smarty
183 lines
9.9 KiB
Smarty
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"}]}
|
|
]});
|