echarts的macarons主题线条比较柔和,柱形也不尖锐,使用方法如下链接页面:http://my.oschina.net/u/130139/blog/2886201、创建macarons.js文件2、页面添加script标签3、初始化引用e_macarons创建macarons.js文件,粘... Read More
posted @ 2014-10-28 15:02 静子1019 Views(17919) Comments(0) Diggs(2) Edit
通过echarts制作饼图,鼠标移动到对应的扇形看到数值和百分比,怎样在数值后面加上单位呢,例如 任务分配:15.498155分钟(34.23%),series.data 数组里只有value和name,这个“分钟”单位怎样加呢?tooltip有手动formatter的方法,你想变成啥样就啥样或者:... Read More
posted @ 2014-10-24 09:29 静子1019 Views(7030) Comments(0) Diggs(0) Edit
备份数据分为两步事务控制:批量插入和删除插入sql: public static final String SQL_BACKUP_DAILY_HISTORY_FORECAST_RESULT = "insert into sf_daily_fc_sales_bak(id,pm_info_id,merc... Read More
posted @ 2014-08-20 15:46 静子1019 Views(378) Comments(0) Diggs(0) Edit
标准按钮icons样式:http://fontawesome.io/icons/使用icons时在head头文件中添加如下link即可以使用,不需要引入什么插件: Read More
posted @ 2014-07-02 18:53 静子1019 Views(288) Comments(0) Diggs(0) Edit
在用户滚动页面到图片之后才进行加载,使用图片延迟加载,能有效的提高页面加载速度。所需js插件:主script方法: Read More
posted @ 2014-07-01 11:08 静子1019 Views(188) Comments(0) Diggs(0) Edit
/* * @(#)DataParse.java 2014年4月28日 */package com.yihaodian.sa.doData;import java.io.BufferedReader;import java.io.File;import java.io.FileNotFoundExce... Read More
posted @ 2014-04-29 17:34 静子1019 Views(1329) Comments(0) Diggs(0) Edit
下拉框的值太多么有滚动条,可以通过设置$("#topic").combobox({panelHeight:200});固定高度来控制,使其有滚动条注意:$("#topic").combobox({panelHeight:'auto'});不起作用 Read More
posted @ 2014-02-20 15:01 静子1019 Views(5832) Comments(2) Diggs(1) Edit
。。。 } /**添加页面的topic下拉框*/ getTopic('${base}/subscribe/queryAllTopics.action'); function getTopic(url){ $.ajax({ type: "GET", url: url, success: function(msg) { var topicData = []; topicData.push({ 'id' : 0, 'text' : '请选择' }); $.each(msg, function(i) { to... Read More
posted @ 2014-02-08 11:22 静子1019 Views(305) Comments(0) Diggs(0) Edit
页面上要传查询条件回后台进行查询,创建者为中文,填写创建者点击查询后,在controller中需加上一句话能解决中文乱码问题。其中owner为创建者,是中文, owner = new String(owner.getBytes("ISO-8859-1"), "UTF-8");这句话能将解决乱码问题。 Read More
posted @ 2014-01-28 14:23 静子1019 Views(445) Comments(0) Diggs(0) Edit
……if (queue != null && queue.getSubscriberIds() != null && !queue.getSubscriberIds().isEmpty()) { return "删除队列之前必须先删除队列的订阅者,队列下面还有以下订阅者" + queue.getSubscriberIds();}这句中文到页面提示乱码????????……else{ //删除订阅者之前必须先删除队列的订阅者,以下队列还有该订阅者 $.messager.alert('提示', msg, 'warning&# Read More
posted @ 2014-01-15 16:13 静子1019 Views(355) Comments(0) Diggs(0) Edit