53 lines
2.3 KiB
XML
53 lines
2.3 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
|
|
|||
|
|
<!--
|
|||
|
|
特性设置(非必须),(多个app提供该Method attribute时追加定义),作用范围:该MethodId对象。
|
|||
|
|
被ResourceScanner扫描器检查更新
|
|||
|
|
-->
|
|||
|
|
<attributes>
|
|||
|
|
<!--
|
|||
|
|
分组
|
|||
|
|
|
|||
|
|
name 组名称
|
|||
|
|
|
|||
|
|
parentName 上级组名称,若根此处可空
|
|||
|
|
-->
|
|||
|
|
<group name="baseAttribute" parentName="" desc="基本属性"/>
|
|||
|
|
<group name="organization" parentName="" desc="组织"/>
|
|||
|
|
<group name="org_performance" parentName="" desc="绩效"/>
|
|||
|
|
<!--
|
|||
|
|
扩展特性(属性)
|
|||
|
|
|
|||
|
|
key 全局唯一标识名
|
|||
|
|
|
|||
|
|
title 属性标题
|
|||
|
|
|
|||
|
|
type 属性类型,支持string(普通字符串),number(数字),boolean(是非),list(多选值),link(链接),relation(关联关系),textarea(多行文本)
|
|||
|
|
|
|||
|
|
value 默认值//支持@公式
|
|||
|
|
|
|||
|
|
ref 当type=list时,参考值
|
|||
|
|
|
|||
|
|
readonly 是否只读
|
|||
|
|
|
|||
|
|
groupPath 特性绑定在哪个组别上
|
|||
|
|
|
|||
|
|
scope 应用范围(methodId、methodId.shapeId),多个用逗号隔开
|
|||
|
|
基本属性-层次
|
|||
|
|
- 组织-组织职责
|
|||
|
|
- 组织-上级单位
|
|||
|
|
- 组织-下级单位
|
|||
|
|
- 绩效-组织绩效
|
|||
|
|
- 基本属性-注释
|
|||
|
|
-->
|
|||
|
|
<attribute key="number" title="编号" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
|||
|
|
<attribute key="desc" title="描述" type="textarea" value="" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
|||
|
|
|
|||
|
|
<attribute key="org_dutie" title="组织职责" type="string" value="" ref="" readonly="false" groupPath="organization" scope="*" isValid="true"/>
|
|||
|
|
<attribute key="parent_account" title="上级单位" type="string" value="" ref="" readonly="false" groupPath="organization" scope="m*" isValid="true"/>
|
|||
|
|
<attribute key="subordinate_unit" title="下级单位" type="string" value="" ref="" readonly="false" groupPath="organization" scope="*" isValid="true"/>
|
|||
|
|
<attribute key="performance" title="组织绩效" type="string" value="" ref="" readonly="false" groupPath="org_performance" scope="*" isValid="true"/>
|
|||
|
|
<attribute key="note" title="注释" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
|||
|
|
<attribute key="level" title="层次" type="string" value="" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
|||
|
|
</attributes>
|