![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jeecg
昊天卍上帝
我是一名程序员!!!!
展开
-
jeecg如何在子页面删除页签
1.在子页面中写js如下:window.top.tabsClose();2.在jeecg的父级页面(hplus_main.jsp)中添加js:(父级页面中有(定位父级页面): 定位当前选项卡 关闭全部选原创 2017-08-10 10:04:34 · 601 阅读 · 0 评论 -
jeecg在controller中执行sql
1.引入@AutowiredJdbcDao jdbcDao;2.代码String sqlForLive = "select * from live where user_id='"+id+"' and id !='"+liveId+"'";List liveList = jdbcDao.find(sqlForLive,ApiLiveEntity.class,null);原创 2017-08-10 10:08:37 · 3723 阅读 · 1 评论 -
jeecg如何在list页面中将img的url转化成图片展示
1.在字段中加image和imageSize两个属性t:dgCol title="头像" field="userImg" image="true" imageSize="112,100" queryMode="single" width="120">t:dgCol>2.上述已经可以了,如果还要显示url,则加上formatterjs:t:dgCol title="头原创 2017-08-10 10:24:30 · 2944 阅读 · 0 评论 -
jeecg如何在一个页面使用按钮选择弹出选择框
1.在页面需要的地方加上如下代码:id="userId" name="userId" type="hidden" style="width: 150px" class="inputxt" ignore="ignore"/>name="userName" class="inputxt" value="" id="userName" readonly="readonly" datatype=原创 2017-08-10 10:33:56 · 3561 阅读 · 2 评论