OA审批流程代码提交
This commit is contained in:
parent
c5326a8c01
commit
4fcc7256db
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<attributes type="customer">
|
||||
<attribute key="file_number" title="文件编码" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true" desc="无需填写,发布后自动生成" isRequired="false"/>
|
||||
<attribute key="R_Organizational_and_role_responsibilities" title="组织/角色职责" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" desc="组织/角色职责" isRequired="true"/>
|
||||
<attribute key="versions" title="版本" type="string" value="" desc="版本" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="Drafted_and_revised_by" title="拟制/修订人" type="string" value="" desc="拟制/修订人" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="Process_Architecture_L1" title="流程架构L1" type="string" value="" desc="流程架构L1" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="Process_Architecture_L2" title="流程架构L2" type="string" value="" desc="流程架构L2" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="Process_Architecture_L3" title="流程架构L3" type="string" value="" desc="流程架构L3" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="Process_Architecture_L4" title="流程架构L4" type="string" value="" desc="流程架构L4" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="auditor" title="审核人" type="string" value="" desc="审核人" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="reviewer" title="复核人" type="string" value="" desc="复核人" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="approver" title="审批人" type="string" value="" desc="审批人" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="related_files" title="相关文件" type="relation" value="" desc="相关文件" isRequired="false" ref="{"method":"process","type":"file","multiple":true}" readonly="true" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="support_files" title="支持文件" type="relation" value="" desc="支持文件" isRequired="false" ref="{"method":"process","type":"file","multiple":true}" readonly="true" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="effective_date" title="生效日期" type="DateTimePicker" value="" desc="无需填写,发布审批后系统自动更新" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="related_knowledge" title="相关知识" type="link" value="" desc="相关知识" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Issuing_department" title="发布部门" type="awsorg" value="" desc="发布部门" isRequired="true" ref="{"scope":["department"],"multiple":true}" readonly="true" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="Drafted_and_revised_date" title="拟制/修订日期" type="DateTimePicker" value="" desc="拟制/修订日期" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="term" title="术语" type="table" value="" desc="术语" isRequired="false" ref="{"firstColumn":"术语","secondColumn":"定义"}" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="Organizational_role" title="组织角色" type="table" value="" desc="组织角色" isRequired="true" ref="{"firstColumn":"组织","secondColumn":"职责"}" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="content" title="内容" type="string" value="" desc="内容" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="company" title="编制单位" type="string" value="" desc="编制单位" isRequired="false" ref="" readonly="false" groupPath="organization" scope="*" isValid="true"/>
|
||||
<attribute key="desc" title="描述" type="textarea" value="" desc="描述" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Purpose" title="目的" type="textarea" value="" desc="目的" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="application" title="适用范围" type="textarea" value="" desc="适用范围" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="Contents_and_reasons_for_revision" title="修订内容及理由" type="textarea" value="" desc="修订内容及理由" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="T_supplementary_articles" title="附则" type="textarea" value="" desc="附则" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="activity_number" title="活动序号" type="string" value="" desc="活动序号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Out_related_files" title="外部相关文件" type="textarea" value="" desc="填写外部相关文件名称,多个用逗号隔开" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="JYGLGY" title="相关经营管理纲要" type="select_m" value="" desc="请选择" isRequired="false" ref="【集团】全面价值经营,【集团】全面创新驱动,【奶粉】以消费者为中心,提供极致满意的消费体验,【奶粉】以高目标为引领,快速发展,只争第一,【奶粉】以共赢为指引,与合作伙伴建立长期利益共同体,【奶粉】以结果为导向,付出不亚于任何人的努力,【奶粉】以赢得市场竞争为驱动,成为一支有理想、有信念的强大团队,【酸奶】始终以消费者为中心,提供最优品质产品与最佳消费体验,【酸奶】视品牌为核心资产,让我们的品牌成为消费者的挚爱与首选,【酸奶】打造厂商命运共同体,构建稳固可持续发展的厂商生态圈,【酸奶】坚持高目标引领,直面竞争,只争第一,【酸奶】人人都是企业的经营者,不达目标誓不罢休,【酸奶】成为心中有理想、胸中有目标、敢打硬仗、能打胜仗、追求卓越的高绩效团队" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="riskMatrixInfo" title="风险矩阵信息" type="table" value="" desc="风险矩阵信息" isRequired="false" ref="{"firstColumn":"关键控制点","secondColumn":"控制描述","threeColumn":"对应风险描述","fourColumn":"角色/岗位"}" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="111aaa" title="测试的" type="table" value="" desc="aaaa" isRequired="false" ref="{"firstColumn":"列名1","secondColumn":"列名2","threeColumn":"","fourColumn":""}" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
适用范围
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
- 组织-执行部门
|
||||
-->
|
||||
<attribute key="company" title="编制单位" type="string" value="" ref="" readonly="false" groupPath="organization" scope="*" isValid="true"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
引入图形设置(非必须),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<shapes>
|
||||
<!--
|
||||
|
||||
methodId 建模方法Id(methodId、methodId.shapeId),多个用逗号隔开
|
||||
|
||||
-->
|
||||
<import methodId="basic"/>
|
||||
<import methodId="data.form"/>
|
||||
<import methodId="org.normal"/>
|
||||
</shapes>
|
||||
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Linker设置(非必须),(多个app提供该Method Concept时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<linker>
|
||||
<!--
|
||||
Linker语境上下文设置
|
||||
|
||||
methodId 建模方法标识,这是一个隐形属性,读上级目录
|
||||
|
||||
conceptCode 代码,methodId+conceptCode的组合不允许重复
|
||||
|
||||
fromShapeId 从哪些形状连出时,多个ShapeId用逗号隔开,程序暂不支持逗号隔开
|
||||
|
||||
toShapeId 连接到哪些形状连出时,多个ShapeId用逗号隔开
|
||||
|
||||
outcomingName 连出对象主动名称,用于提示给用户和生成文档
|
||||
|
||||
incomingName 连入对象被动名称,用于提示给用户和生成文档
|
||||
-->
|
||||
<concept conceptCode="001" fromShapeId="regulation" toShapeId="regulation,item" outcomingName="包含" incomingName="属于" />
|
||||
<concept conceptCode="002" fromShapeId="item" toShapeId="item" outcomingName="包含" incomingName="属于" />
|
||||
</linker>
|
||||
@ -0,0 +1,103 @@
|
||||
/**
|
||||
* Policy
|
||||
*/
|
||||
|
||||
Schema.addCategory({
|
||||
name: "control_oaApprove",
|
||||
text: "OA流程审批",
|
||||
dataAttributes: []
|
||||
});
|
||||
/* Regulation*/
|
||||
Schema.addShape({name:"regulation", title:"制度",text:"制度", category:"control_oaApprove",lineStyle:{lineWidth: 1}, props:{w:150, h:66}, anchors:[
|
||||
{x:"w*0.5", y:"0"},
|
||||
{x:"w", y:"h*0.5"},
|
||||
{x:"w*0.5", y:"h-Math.min(h/8,w/12)"},
|
||||
{x:"0", y:"h*0.5"}
|
||||
], textBlock:{x:"0", y:"0", w:"w", h:"h*0.9"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, path:[
|
||||
{actions:[
|
||||
{action:"move", x:"0", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"line", x:"0", y:"0"},
|
||||
{action:"line", x:"w", y:"0"},
|
||||
{action:"line", x:"w", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"quadraticCurve", x1:"w*0.75", y1:"h-3*Math.min(h/8,w/12)", x:"w*0.5", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"quadraticCurve", x1:"w*0.25", y1:"h+Math.min(h/8,w/12)", x:"0", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"close"}
|
||||
]},
|
||||
{actions:[
|
||||
{action:"move",x:"w", y:"h*0.4"},
|
||||
{action:"line",x:"w*0.76",y:"h-2*Math.min(h/8,w/12)"}
|
||||
]},
|
||||
{lineStyle:{lineStyle:"none"}, fillStyle:{type:"none"}, actions:[
|
||||
{action:"move", x:"0", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"line", x:"0", y:"0"},
|
||||
{action:"line", x:"w", y:"0"},
|
||||
{action:"line", x:"w", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"quadraticCurve", x1:"w*0.75", y1:"h-3*Math.min(h/8,w/12)", x:"w*0.5", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"quadraticCurve", x1:"w*0.25", y1:"h+Math.min(h/8,w/12)", x:"0", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"close"}
|
||||
]}
|
||||
]});
|
||||
|
||||
Schema.addShape({name:"I/O_L4", title:"操作指导",text:"操作指导", category:"control_oaApprove",lineStyle:{lineWidth: 1}, props:{w:150, h:66}, anchors:[
|
||||
{x:"w*0.5", y:"0"},
|
||||
{x:"w", y:"h*0.5"},
|
||||
{x:"w*0.5", y:"h-Math.min(h/8,w/12)"},
|
||||
{x:"0", y:"h*0.5"}
|
||||
], textBlock:{x:"0", y:"0", w:"w", h:"h*0.9"},textBlockFinal:{x:"w/2-60", y:"h", w:"120", h:"30"}, path:[
|
||||
{actions:[
|
||||
{action:"move", x:"0", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"line", x:"0", y:"0"},
|
||||
{action:"line", x:"w", y:"0"},
|
||||
{action:"line", x:"w", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"quadraticCurve", x1:"w*0.75", y1:"h-3*Math.min(h/8,w/12)", x:"w*0.5", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"quadraticCurve", x1:"w*0.25", y1:"h+Math.min(h/8,w/12)", x:"0", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"close"}
|
||||
]},
|
||||
{lineStyle:{lineStyle:"none"}, fillStyle:{type:"none"}, actions:[
|
||||
{action:"move", x:"0", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"line", x:"0", y:"0"},
|
||||
{action:"line", x:"w", y:"0"},
|
||||
{action:"line", x:"w", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"quadraticCurve", x1:"w*0.75", y1:"h-3*Math.min(h/8,w/12)", x:"w*0.5", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"quadraticCurve", x1:"w*0.25", y1:"h+Math.min(h/8,w/12)", x:"0", y:"h-Math.min(h/8,w/12)"},
|
||||
{action:"move", x:"Math.min(w/6,20)", y:"0"},
|
||||
{action:"line", x:"Math.min(w/6,20)", y:"h"},
|
||||
{action:"move", x:"0", y:"Math.min(h/5,20)"},
|
||||
{action:"line", x:"w", y:"Math.min(h/5,20)"},
|
||||
{action:"close"}
|
||||
]}
|
||||
]});
|
||||
|
||||
|
||||
/*Item*/
|
||||
Schema.addShape({name:"item1", title:"段落正文",text:"段落正文", category:"control_oaApprove", 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"},
|
||||
{x:"0", y:"h*0.5"}
|
||||
],path:[
|
||||
{actions:[
|
||||
{action:"move", x:"0", y:"0"},
|
||||
{action:"line", x:"w", y:"0"},
|
||||
{action:"line", x:"w-Math.min(h/2,w/6)", y:"h*0.5"},
|
||||
{action:"line", x:"w", y:"h"},
|
||||
{action:"line", x:"0", y:"h"},
|
||||
{action:"line", x:"0", y:"0"},
|
||||
{action:"close"}
|
||||
]}
|
||||
]});
|
||||
|
||||
|
||||
/***胶囊型:Terminator*/Schema.addShape({name:"item2", title:"条款", text:"条款", category:"control_oaApprove",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"},
|
||||
{action:"line", x:"w-Math.min(w,h)/3-5", y:"0"},
|
||||
{action:"curve", x1:"w+Math.min(w,h)/3/3", y1:"0", x2:"w+Math.min(w,h)/3/3", y2:"h", x:"w-Math.min(w,h)/3-5", y:"h"},
|
||||
{action:"line", x:"Math.min(w,h)/3+5", y:"h"},
|
||||
{action:"curve", x1:"-Math.min(w,h)/3/3", y1:"h", x2:"-Math.min(w,h)/3/3", y2:"0", x:"Math.min(w,h)/3+5", y:"0"},
|
||||
{action:"close"}
|
||||
]}
|
||||
|
||||
]});
|
||||
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<attributes type="customer">
|
||||
<attribute key="Purpose" title="目的" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true" desc="目的" isRequired="false"/>
|
||||
<attribute key="file_number" title="文件编码" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true" desc="文件编码" isRequired="false"/>
|
||||
<attribute key="R_Organizational_and_role_responsibilities" title="组织/角色职责" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true" desc="组织/角色职责" isRequired="false"/>
|
||||
<attribute key="application" title="适用范围" type="string" value="" desc="适用范围" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="versions" title="版本" type="string" value="" desc="版本" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="Drafted_and_revised_by" title="拟制/修订人" type="string" value="" desc="拟制/修订人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="Process_Architecture_L1" title="流程架构L1" type="string" value="" desc="流程架构L1" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="Process_Architecture_L2" title="流程架构L2" type="string" value="" desc="流程架构L2" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="Process_Architecture_L3" title="流程架构L3" type="string" value="" desc="流程架构L3" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="auditor" title="审核人" type="string" value="" desc="审核人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="reviewer" title="复核人" type="string" value="" desc="复核人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="approver" title="审批人" type="string" value="" desc="审批人" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="related_files" title="相关文件" type="relation" value="" desc="相关文件" isRequired="false" ref="{"method":"process","type":"shape","multiple":true}" readonly="true" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="support_files" title="支持文件" type="relation" value="" desc="支持文件" isRequired="false" ref="{"method":"process","type":"shape","multiple":true}" readonly="true" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="T_supplementary_articles" title="附则" type="string" value="" desc="附则" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="Process_owner" title="流程责任人" type="awsorg" value="" desc="流程责任人" isRequired="false" ref="{"scope":["user"],"multiple":false}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="effective_date" title="生效日期" type="DateTimePicker" value="" desc="生效日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||
<attribute key="Contents_and_reasons_for_revision" title="修订内容及理由" type="string" value="" desc="修订内容及理由" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="Process_performance_metrics" title="流程绩效" type="relation" value="" desc="流程绩效" isRequired="false" ref="{"method":"control.kpi","type":"shape","multiple":false}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="pre_process" title="前置流程" type="relation" value="" desc="前置流程" isRequired="false" ref="{"method":"process","type":"shape","multiple":false,"value":""}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="next_process" title="后置流程" type="relation" value="" desc="后置流程" isRequired="false" ref="{"method":"process","type":"shape","multiple":false,"value":""}" readonly="true" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="related_knowledge" title="相关知识" type="link" value="" desc="相关知识" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||
<attribute key="Issuing_department" title="发布部门" type="awsorg" value="" desc="发布部门" isRequired="false" ref="{"scope":["department"],"multiple":false}" readonly="true" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="Drafted_and_revised_date" title="拟制/修订日期" type="DateTimePicker" value="" desc="拟制/修订日期" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="term" title="术语" type="table" value="" desc="术语" isRequired="false" ref="{"firstColumn":"术语","secondColumn":"定义"}" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="Organizational_role" title="组织角色" type="table" value="" desc="组织角色" isRequired="false" ref="{"firstColumn":"组织","secondColumn":"职责"}" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="content" title="内容" type="string" value="" desc="内容" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||
<attribute key="company" title="编制单位" type="string" value="" desc="编制单位" isRequired="false" ref="" readonly="false" groupPath="organization" scope="*" isValid="true"/>
|
||||
</attributes>
|
||||
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
特性设置(非必须),(多个app提供该Method Attribute时追加定义),作用范围:该MethodId对象。
|
||||
被ResourceScanner扫描器检查更新
|
||||
-->
|
||||
<attributes>
|
||||
<!--
|
||||
分组
|
||||
|
||||
name 组名称
|
||||
|
||||
parentName 上级组名称,若根此处可空
|
||||
|
||||
desc 简要说明
|
||||
-->
|
||||
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
||||
<group name="organization" parentName="" desc="组织"/>
|
||||
<!--
|
||||
扩展特性(属性)
|
||||
|
||||
key 全局唯一标识名
|
||||
|
||||
title 属性标题
|
||||
|
||||
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
||||
|
||||
value 默认值//支持@公式
|
||||
|
||||
ref 当type=list时,参考值
|
||||
|
||||
readonly 是否只读
|
||||
|
||||
groupPath 特性绑定在哪个组别上
|
||||
适用范围
|
||||
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开%代表文件属性 *代表对所有的图形有效,不是文件属性
|
||||
- 组织-执行部门
|
||||
-->
|
||||
<attribute key="company" title="编制单位" type="string" value="" ref="" readonly="false" groupPath="organization" scope="*" isValid="true"/>
|
||||
</attributes>
|
||||
Loading…
Reference in New Issue
Block a user