UI標簽庫專題二:JEECG智能開發平台Column(列) 子標簽


  UI標簽庫專題二:JEECG智能開發平台Column(列) 子標簽




1.1. Column(子標簽


1.1.1. 演示樣例

<t:dgCol title="年齡" field="age" query="true" extend="{data-options:{required:false,groupSeparator:\"','\"},class:{value:'easyui-numberbox'}}"></t:dgCol>

 

1.1.2. 參數

屬性名

類型

描寫敘述

是否必須

默認值

title

string

列標題文字

null

field

string

列字段名稱(操作列字段為opt)

null

width

num

列寬度

auto

rowspan

num

字段跨列

auto

colspan

num

字段跨行

auto

queryMode

string

字段范圍查詢queryMode="group"

null

align

string

數據對齊方式,可選值有:left,right,center

left

sortable

boolean

該列是否排序

true

checkbox

boolean

是否顯示復選框

false

formatter

string

時間格式化

null

hidden

boolean

是否隱藏該列

false

replace

string

列值替換

null

treefield

string

樹形數據表相應模型字段

null

image

boolean

該列是否是圖片

false

frozenColumn

boolean

是否冰凍列

false

query

boolean

是否把該列作為查詢字段

false

funname

string

鏈接的自己定義函數例:fun(title,url)

openwindow

url

string

給該列加鏈接

null

extend

string

自己定義查詢字段的html屬性(在extend中填寫的內容使用json格式。

extend中自己定義的屬性會作為html屬性加入到查詢框input內)

Null

imageSize

string

Image參數的增強。能夠設置顯示圖片的大小:imageSize(width,height)

null

downloadName

string

是否顯示附件下載鏈接 例:downloadName(‘點擊下載’)

null


1.2.  Operate(操作)子標簽


1.2.1. 刪除操作標簽

參數名

描寫敘述

url

刪除請求地址參數形式 id={id}

operationCode

權限操作碼,相應button權限配置(不設置該字段表示不進行button權限控制)

title

操作標題

message

詢問內容

exp

是否顯示表操作的表達式

funname

自己定義函數名稱

使用方法

<t:dgDelOpt url="userController.do?delUser&id={id}" title="刪除"></t:dgDelOpt>

 


1.2.2. 自己定義函數操作標簽

參數名

描寫敘述

funname

自己定義函數可傳出隨意字段

title

操作標題

operationCode

權限操作碼。相應button權限配置(不設置該字段表示不進行button權限控制)

exp

是否顯示表操作的表達式

使用方法

<t:dgFunOpt funname="edit(id)" title="改動"/>

 


1.2.3. 彈出窗操作標簽

參數名

描寫敘述

url

彈出頁面地址

title

操作標題

operationCode

權限操作碼,相應button權限配置(不設置該字段表示不進行button權限控制)

exp

是否顯示表操作的表達式

widht

彈出窗寬度(百分比)默認100%

height

彈出窗高度(百分比)默認100%

使用方法

<t:dgOpenOpt url="expertController.do?expert&id={id}" title="彈出窗"></t:dgOpenOpt>


1.2.4. 詢問操作標簽

參數名

描寫敘述

url

彈出頁面地址

title

操作標題

operationCode

權限操作碼。相應button權限配置(不設置該字段表示不進行button權限控制)

message

詢問內容

exp

是否顯示該操作的表達式

使用方法

<t:dgConfOpt url="" message="是否禁用?" title="禁用"></t:dgConfOpt>

 

1.2.5. 列表工具條標簽

參數名

描寫敘述

url

方法請求地址

operationCode

權限操作碼,相應button權限配置(不設置該字段表示不進行button權限控制)

icon

圖標

title

標題

funname

自己定義函數

使用方法

<t:dgToolBar title="部門編輯" icon="icon-edit" url="departController.do?update"funname= "update"></t:dgConfOpt>

 

1.2.6. 列表詢問操作

參數名

描寫敘述

url

方法請求地址

operationCode

權限操作碼。相應button權限配置(不設置該字段表示不進行button權限控制)

title

操作標題

message

詢問內容

exp

是否顯示改鏈接的表達式,例 字段名#表達式符號#字段值(name#eq#admin) 表達式類型支持eq,ne,empty

使用方法

<t:dgConfOpt exp="TSPrjstatus_code#eq#new" url="activitiController.do?startBusProcess&businessKey={id}&busconfigKey={TSBusConfig_id}" message="確認完成,提交申請?" title="辦理"></t:dgConfOpt>



免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM