- 博客(10)
- 收藏
- 关注
原创 oracle根据状态统计近7天的数据
---查询7天的数据select a.today as "day", nvl(b.general,0) as "general", nvl(b.larger,0) as "larger", nvl(b.great,0) as "great", nvl(b.most,0) as "most"FROM (SELECT to_char (SYSDA...
2018-12-17 14:24:31 2122
原创 按照每个分类查询 最近7天 的 4个状态的数据
--按照每个分类查询 最近7天 的 4个状态的数据select m.section_id as "sectionId", m.section_name as "sectionName", nvl(s.count1,0) as "countWtj", nvl(s.count2,0) as "countDzg", nvl(s.co...
2018-12-17 14:24:18 154
原创 echarts x轴显示全部文字,强制显示
echarts x轴全部显示文字axisLabel: { interval:0, //强制显示文字 show: true, textStyle: { color: '#fff', fontSize:10, }},帮助到您请点赞关注,谢谢朋友们!...
2018-12-17 14:07:11 11972
原创 easyUI下拉,服务器取下拉数据
easyUI下拉var url = "../../common/category/getEasyuiCombobox?key=res.safetyProblemType";$.getJSON(url, function(json){ $('#typeShow').combobox({ data : json.data, valueField:'id',...
2018-12-17 14:06:47 125 1
原创 网页部分内容(左下侧)自适应
div位于网页的左侧靠边,顶部有一定距离//左侧自适应fixHeight_m=fixedHeight()+1;//!important 浮动元素高度var thisHeight = $("#all_Menu").height();var thisWidth=$("#all_Menu").width();//被放大了 winWidth/ initWidth 倍$("#all_Menu"...
2018-12-17 14:05:42 175 1
原创 网页自适应(transform),用于单页不滚动网页
//网页自适应 原理:网页根据window宽度高度,缩放大小实现自适应var zoom=1.2;var thisWidth=$('#m_body').width();var thisHeight=$('#m_body').height();$("#m_body").css({ 'transform': 'translate('+(zoom-1)*thisWidth/2+'px,...
2018-12-17 14:05:05 1656 2
原创 jquery判断元素在父级元素的index值
jquery判断元素在父级元素的下标$("#box1Float a").click(function(){ var index1 = $("#box1Float a").index(this);});
2018-12-17 14:03:06 3456
原创 bootstrap一次性回显数据,根据form的name属性回显
bootstrap处理编辑时重新加载(回显)数据问题var rows = $("#mainTable").datagrid("getRows");var row = rows[index];//判断input的name属性,当name属性=object的属性时,让这个dom的value=object对应属性的值for(var i in row){ $("#formao input"...
2018-12-17 14:02:49 1966
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人