Skip to content

Commit

Permalink
生成col的时候增加ui:number属性
Browse files Browse the repository at this point in the history
  • Loading branch information
entropy-cloud committed Dec 28, 2024
1 parent 665bbb8 commit 4a6bb5e
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<col id="parentId" sortable="true"/>

<!--排序-->
<col id="orderNum" sortable="true"/>
<col id="orderNum" ui:number="true" sortable="true"/>

<!--类型-->
<col id="deptType" sortable="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<cols>

<!--登录类型-->
<col id="loginType" mandatory="true" sortable="true"/>
<col id="loginType" mandatory="true" ui:number="true" sortable="true"/>

<!--登录标识-->
<col id="extId" mandatory="true" sortable="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
<col id="actionTime" mandatory="true" sortable="true"/>

<!--操作时长-->
<col id="usedTime" mandatory="true" sortable="true"/>
<col id="usedTime" mandatory="true" ui:number="true" sortable="true"/>

<!--操作状态-->
<col id="resultStatus" mandatory="true" sortable="true"/>
<col id="resultStatus" mandatory="true" ui:number="true" sortable="true"/>

<!--错误码-->
<col id="errorCode" sortable="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<col id="displayName" mandatory="true" sortable="true"/>

<!--排序-->
<col id="orderNo" mandatory="true" sortable="true" x:abstract="true"/>
<col id="orderNo" mandatory="true" ui:number="true" sortable="true" x:abstract="true"/>

<!--资源类型-->
<col id="resourceType" mandatory="true" sortable="true"/>
Expand Down Expand Up @@ -67,7 +67,7 @@
<col id="depends" sortable="true" x:abstract="true"/>

<!--状态-->
<col id="status" mandatory="true" sortable="true"/>
<col id="status" mandatory="true" ui:number="true" sortable="true"/>

<!--自动更新父节点的权限-->
<col id="authCascadeUp" sortable="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<col id="displayName" mandatory="true" sortable="true"/>

<!--排序-->
<col id="orderNo" mandatory="true" sortable="true" x:abstract="true"/>
<col id="orderNo" mandatory="true" ui:number="true" sortable="true" x:abstract="true"/>

<!--资源类型-->
<col id="resourceType" mandatory="true" sortable="true"/>
Expand Down Expand Up @@ -67,7 +67,7 @@
<col id="depends" sortable="true" x:abstract="true"/>

<!--状态-->
<col id="status" mandatory="true" sortable="true"/>
<col id="status" mandatory="true" ui:number="true" sortable="true"/>

<!--自动更新父节点的权限-->
<col id="authCascadeUp" sortable="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<col id="bizObj" sortable="true"/>

<!--优先级-->
<col id="priority" mandatory="true" sortable="true"/>
<col id="priority" mandatory="true" ui:number="true" sortable="true"/>

<!--业务过滤条件-->
<col id="filterConfig" mandatory="true" sortable="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
<col id="loginTime" mandatory="true" sortable="true"/>

<!--登录方式-->
<col id="loginType" mandatory="true" sortable="true"/>
<col id="loginType" mandatory="true" ui:number="true" sortable="true"/>

<!--退出时间-->
<col id="logoutTime" sortable="true"/>

<!--退出方式-->
<col id="logoutType" mandatory="true" sortable="true"/>
<col id="logoutType" mandatory="true" ui:number="true" sortable="true"/>

<!--退出操作人-->
<col id="logoutBy" sortable="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<col id="displayName" mandatory="true" sortable="true"/>

<!--排序-->
<col id="orderNo" mandatory="true" sortable="true"/>
<col id="orderNo" mandatory="true" ui:number="true" sortable="true"/>

<!--链接-->
<col id="url" sortable="true"/>

<!--状态-->
<col id="status" mandatory="true" sortable="true"/>
<col id="status" mandatory="true" ui:number="true" sortable="true"/>

<!--扩展配置-->
<col id="extConfig" sortable="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<col id="endTime" sortable="true"/>

<!--租户状态-->
<col id="status" mandatory="true" sortable="true"/>
<col id="status" mandatory="true" ui:number="true" sortable="true"/>

<!--创建人-->
<col id="createdBy" mandatory="true" sortable="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<col id="relDeptId" sortable="true" x:abstract="true"/>

<!--性别-->
<col id="gender" mandatory="true" sortable="true"/>
<col id="gender" mandatory="true" ui:number="true" sortable="true"/>

<!--邮件-->
<col id="email" sortable="true" x:abstract="true"/>
Expand All @@ -46,10 +46,10 @@
<col id="birthday" sortable="true" x:abstract="true"/>

<!--用户类型-->
<col id="userType" mandatory="true" sortable="true"/>
<col id="userType" mandatory="true" ui:number="true" sortable="true"/>

<!--用户状态-->
<col id="status" mandatory="true" sortable="true"/>
<col id="status" mandatory="true" ui:number="true" sortable="true"/>

<!--证件类型-->
<col id="idType" sortable="true" x:abstract="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<col id="relDeptId" sortable="true" x:abstract="true"/>

<!--性别-->
<col id="gender" mandatory="true" sortable="true"/>
<col id="gender" mandatory="true" ui:number="true" sortable="true"/>

<!--邮件-->
<col id="email" sortable="true" x:abstract="true"/>
Expand All @@ -46,10 +46,10 @@
<col id="birthday" sortable="true" x:abstract="true"/>

<!--用户类型-->
<col id="userType" mandatory="true" sortable="true"/>
<col id="userType" mandatory="true" ui:number="true" sortable="true"/>

<!--用户状态-->
<col id="status" mandatory="true" sortable="true"/>
<col id="status" mandatory="true" ui:number="true" sortable="true"/>

<!--证件类型-->
<col id="idType" sortable="true" x:abstract="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<cols>
<c:for var="prop" items="${visibleProps}">
<c:out escape="none"><![CDATA[<!-- ${prop.displayName?.$safeXmlComment()} -->]]></c:out>
<col id="${prop.name}" mandatory="${prop.mandatory ? true: null}"
<col id="${prop.name}" mandatory="${prop.mandatory ? true: null}" ui:number="${prop.stdDataType.numericType?true:null}"
sortable="${prop.sortable?true:null}" x:abstract="${listProps.contains(prop)?null:true}"/>
</c:for>
</cols>
Expand Down

0 comments on commit 4a6bb5e

Please sign in to comment.