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:"128,201,144"}, fillStyle:{type: "gradient",gradientType: "linear",beginColor: "242,255,245",endColor: "224,255,231",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"}}
]});