jeecg中選擇標簽


 

1.數據字典取值

<t:dictSelect field="fjingji" hasLabel="false" typeGroupCode="fjingji"  defaultVal="${paichePage.fjingji}"></t:dictSelect>

typeGroupCode:數據字典的名字

2.數據表里取值

<t:dictSelect field="createBy"  dictTable="t_s_base_user" dictCondition="where departid='2c92b1f26778a02d01677bde33cf0192'" dictField="username" dictText="username" title="下派狀態"></t:dictSelect>

dictTable:表名  dictCondition:表的描述  dictField:表的字段(傳給后台的值) dictText:界面顯示的字段

取值:

$("select[name='createBy']").val();

$("select[name='createBy']").find("option:selected").text();


免責聲明!

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



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