崔宝铖提交
This commit is contained in:
parent
99f576aa56
commit
96af171b9a
@ -97,8 +97,11 @@ public class BigdataModuleServiceImpl extends AbstractService implements IBigdat
|
||||
"\t*/\n" +
|
||||
"\tfunction "+ bigdataModuleVO.getBigdataModuleCode() +"(moduleData, serverData) {\n" +
|
||||
"\t\tconsole.log(moduleData.id + '初始化...');\n" +
|
||||
"\t\t// 清除旧的循环任务\n" +
|
||||
"\t\techarts.dispose(document.getElementById(moduleData.id));\n" +
|
||||
"\t\tvar elem = document.getElementById(moduleData.id);\n\n" +
|
||||
"\t\tvar elem = echarts.init(document.getElementById(moduleData.id));\n" +
|
||||
"\t\tvar option = {};\n" +
|
||||
"\t\telem.setOption(option);\n\n" +
|
||||
"\t}\n</script>");
|
||||
Map<String, Object> params = HashMapUtil.beanToMap(bigdataModuleVO);
|
||||
params.put("bigdataModuleId", bigdataModuleId);
|
||||
|
Loading…
Reference in New Issue
Block a user