问题描述
- 实用jquery实现对table动态拼装具体如下
-
现有如下数组
Var json=[{"did":1,"businessType":"2-理赔","weekday":"2-周二","startTimeStr":"11:57:48","endTimeStr":"11:57:49","reserveNum":"11","branchCode":"8636","panelCode":"123"},
{"did":2,"businessType":"2-理赔","weekday":"2-周二","startTimeStr":"12:57:48","endTimeStr":"12:57:49","reserveNum":"22","branchCode":"8636","panelCode":"123"},
{"did":3,"businessType":"2-理赔","weekday":"3-周三","startTimeStr":"13:57:48","endTimeStr":"13:57:49","reserveNum":"33","branchCode":"8636","panelCode":"123"},
{"did":4,"businessType":"4-新契约","weekday":"4-周四","startTimeStr":"14:57:48","endTimeStr":"14:57:49","reserveNum":"44","branchCode":"8636","panelCode":"123"}
]
=======================字段注释如下
businessType:业务类型weekday:周期
startTimeStr- endTimeStr:时间段
可预约数:reserveNum
-----业务类型对应关系1 保全
2 理赔
3 投诉
4 新契约
5 产品销售
6 保全受理
7 保全处理
9 法人保全
10 续期业务
11 财务
12 其他
13 咨询--周期对应关系
1 周一
2 周二
3 周三
4 周四
5 周五
6 周六
7 周日
*********************************实现效果,根据json数组实现如下table效果,实用jquery动态拼装,解析json实现效果,如能实现功能有重谢!(效果图如下)
解决方案
解决方案二:
http://www.cnblogs.com/linjiqin/p/3148181.html