随笔分类 - jeecg
关于jeecg框架的一些归纳
摘要:问题:在一个tbody下,如何数量和价格,合计出单项的金额,同时在最下面合计出总金额 页面的jsp代码如下: <table border="0" cellpadding="2" cellspacing="0" id="bgLwg_table"> <tr bgcolor="#E6E6E6"> <td
阅读全文
摘要:1.列表界面 2.流程状态的效果 <t:dgCol title="流程状态" field="bpmStatus" queryMode="single" dictionary="decstate" extendParams="styler:fmtype" width="120"></t:dgCol>
阅读全文
摘要:问题描述: 进口部要完成一票进口报关单的增删改查,操作员张三登录只能增删改张三的报关单,操作员李四登录只能增删改李四的报关单,部门主管王五登录能查看张三和李四的报关单,但不能修改删除。操作员能提交报关单至领导审批,部门主管能审批报关单。 已知条件: 报关单主体信息(dec_main):进口日期(ie
阅读全文
摘要:String roles1=""; String sql=""; //1.获取用户 TSUser user = ResourceUtil.getSessionUser(); //2.获取用户的角色 List<TSRoleUser> rUsers1 = systemService.findByProp
阅读全文
摘要:1.根据数据字典code查找该字典下的元素: SELECT typecode,typename from t_s_type where typegroupid=(select id from t_s_typegroup where typegroupcode='fchexing') fchexing
阅读全文
摘要:1.A表字段:id,name;B表字段:id,name,fid(A表外键),现查询A表和B表的所有数据并且查询条件A,B都有,在前台页面list显示 2.后台方法: @RequestMapping(params = "datagrid_zh") public void datagrid_zh(Car
阅读全文
摘要:效果如图: 1.操作小结后面的已完结js $(document).ready(function(){ $('.datagrid-toolbar').children("span").append("<label style='background-color:#FFD39B'>  &
阅读全文
摘要:效果如图:点击单号,跳到一个新的页面 1.首先列表给一个自定义的js: <t:dgCol title="业务编号" field="orderCode" formatterjs="ordercode" width="120"></t:dgCol> 2.ordercode的js方法: function
阅读全文
摘要:1.radio类型: <t:dictSelect field="sex" type="radio" typeGroupCode="sex" hasLabel="false" title="性别" defaultVal="1"></t:dictSelect> 2.checkbox类型: <t:dict
阅读全文
摘要:1.非空验证: <input id="name" name="name" type="text" style="width: 150px" class="inputxt" datatype="*"/> 2.年龄验证: <input id="age" value="" name="age" type=
阅读全文
摘要:恢复内容开始 1.年龄的属性:<t:dgCol title="年龄" extend="{style:'width:50px'}" formatterjs="formatAgeFun" style="query="true" width="120"></t:dgCol> 对应的js函数是: funct
阅读全文
摘要:<!-- ztree --><link rel="stylesheet" type="text/css" href="plug-in/ztree/css/zTreeStyle.css"></link><script type="text/javascript" src="plug-in/ztree/
阅读全文
摘要:<fieldset> <legend>文件上传 | t:webUploader </legend> <table> <tr> <td>多文件上传:</td> <!-- 文件路径对应的参数name为‘fileName1’、业务类型是‘photosucai’、自动上传、上传文件扩展名限制doc,txt,
阅读全文
摘要:<t:autocomplete entityName="TSUser" searchField="userName" name="userName"></t:autocomplete>
阅读全文
摘要:1.comboTree控件 1.页面方法: <t:comboTree url="jeecgFormDemoController.do?getComboTreeData" value="402880e447e99cf10147e9a03b320003" name="depid" id="depid"
阅读全文
摘要:1.jsp页面input框中的代码 <td class="value"> <input name="demos[0].id" type="hidden" value="" /> <input onclick="inputClick(this,'demos[0]','user_msg');" plac
阅读全文
摘要:1.普通的高级查询 <t:datagrid name="orderworthList" title="订单价值统计" actionUrl="orderworthController.do?datagrid" idField="id" fit="true" queryMode="group"> <t:
阅读全文
摘要:TSUser user = ResourceUtil.getSessionUserName();//老版本 TSUser user = ResourceUtil.getSessionUser();//新版本 mv.addObject("fbillerid", user.getUserName());
阅读全文
摘要:前端的标签 <input class="inputxt" id="fshimian" name="fshimian" ignore="ignore" datatype="*" value="${shizhePage.fshimian}" /> <t:choose hiddenName="fshimi
阅读全文
摘要:@Resource private JdbcTemplate jdbcTemplate;
阅读全文