apps/com.actionsoft.apps.coe.pal/method/control.kpi/diagram.schema.tpl

6 lines
546 B
Smarty

Schema.addCategory({name:"control_kpi", text:"末级流程绩效", dataAttributes:[]});
/*Risk 菱形*/
Schema.addShape({name:"kpi", title:"末级流程绩效指标",text:"末级流程绩效指标", category:"control_kpi", props:{w:110, h:50},lineStyle:{lineColor:"178,128,201"}, fillStyle:{type: "gradient",gradientType: "linear",beginColor: "248,242,255",endColor: "240,224,255",angle: Math.PI*0.5}, textBlock:{x:"10", y:"10", w:"w-20", h:"h-20"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, path:[
{actions:{ref:"rectangle"}}
]});