From 62a69aa7dae070fceb6970b48c7d4317dd8d8dc4 Mon Sep 17 00:00:00 2001 From: lihongyu <504404568@qq.com> Date: Wed, 24 Aug 2022 17:54:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E5=BA=A6=E6=B7=BB=E5=8A=A0=E6=9D=A1?= =?UTF-8?q?=E6=AC=BE=E5=BD=A2=E7=8A=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../method/control.policy/diagram.schema.tpl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/method/control.policy/diagram.schema.tpl b/com.actionsoft.apps.coe.pal/method/control.policy/diagram.schema.tpl index 42a69fa1..d024923a 100644 --- a/com.actionsoft.apps.coe.pal/method/control.policy/diagram.schema.tpl +++ b/com.actionsoft.apps.coe.pal/method/control.policy/diagram.schema.tpl @@ -54,7 +54,8 @@ Schema.addShape({name:"regulation", title:"制度",text:"制度", category:"cont /*Item*/ -/***Schema.addShape({name:"it11em111111", title:"条款",text:"条款", category:"control_policy", lineStyle:{lineWidth: 1},props:{w:100, h:47}, textBlock:{x:"w*0.1", y:"2", w:"(w-Math.min(h/2,w/6))*0.8", h:"h-2"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, anchors:[ +Schema.addShape({name:"item1", title:"条款",text:"条款", category:"control_policy", lineStyle:{lineWidth: 1}, +props:{w:220, h:50}, textBlock:{x:"w*0.1", y:"2", w:"(w-Math.min(h/2,w/6))*0.8", h:"h-2"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, anchors:[ {x:"w*0.5", y:"0"}, {x:"w-Math.min(h/2,w/6)", y:"h*0.5"}, {x:"w*0.5", y:"h"}, @@ -69,10 +70,10 @@ Schema.addShape({name:"regulation", title:"制度",text:"制度", category:"cont {action:"line", x:"0", y:"0"}, {action:"close"} ]} -]});*/ +]}); -/***胶囊型:Terminator*/Schema.addShape({name:"item", title:"条款", text:"条款", category:"control_policy",lineStyle:{lineWidth: 1}, +/***胶囊型:Terminator*/Schema.addShape({name:"item2", title:"条款", text:"条款", category:"control_policy",lineStyle:{lineWidth: 1}, props:{w:220, h:50},textBlock:{x:"Math.min(w,h)/3", y:"2", w:"w-(Math.min(w,h)/3)*2", h:"h-2"}, path:[ {actions:[ {action:"move", x:"Math.min(w,h)/3+5", y:"0"},