117 lines
3.9 KiB
Smarty
117 lines
3.9 KiB
Smarty
|
|
Schema.addCategory({name:"nqms_straCapabilityList", 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:"capabilityCL",title:"能力",text:"能力",category:"nqms_straCapabilityList",props:{w:140,h:80,scaling:true,titleProps: {x:30,y:2,w:100,h:30}},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
|
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"221,222,254",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:"31"},
|
|
{action:"line",x:"1",y:"31"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"1",y:"32"},
|
|
{action:"line",x:"w-1",y:"32"},
|
|
{action:"line",x:"w-1",y:"h-1"},
|
|
{action:"line",x:"1",y:"h-1"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action: "move", x: "12", y: "12"},
|
|
{action:"line", x:"24", y:"12"},
|
|
{action:"line", x:"24", y:"24"},
|
|
{action:"line", x:"12", y:"24"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action: "move", x: "24", y: "18"},
|
|
{action: "line", x: "6", y: "18"},
|
|
{action:"line", x:"6", y:"24"},
|
|
{action:"line", x:"24", y:"24"},
|
|
{action:"line", x:"24", y:"6"},
|
|
{action:"line", x:"18", y:"6"},
|
|
{action:"line", x:"18", y:"24"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action: "move", x: "12", y: "12"},
|
|
{action:"line", x:"12", y:"24"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action: "move", x: "12", y: "12"},
|
|
{action:"line", x:"24", y:"12"},
|
|
]
|
|
},
|
|
|
|
|
|
{
|
|
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"}
|
|
]
|
|
},
|
|
]
|
|
});
|
|
|
|
|
|
|
|
|