jQuery MiniUI

 找回密码
 立即注册
查看: 2397|回复: 3
打印 上一主题 下一主题

为什么grid.getChanges()转换JSON字符串的时候后台程序就报错 [复制链接]

Rank: 2

跳转到指定楼层
楼主
发表于 2015-4-29 15:41:39 |只看该作者 |倒序浏览

后台程序解析不了,显示缺少“{”
附件: 你需要登录才可以下载或查看附件。没有帐号?立即注册

Rank: 8Rank: 8

沙发
发表于 2015-4-29 16:19:16 |只看该作者
后台用我们提供的JSON工具解析

Rank: 2

板凳
发表于 2015-4-29 16:44:50 |只看该作者
felt 发表于 2015-4-29 16:19
后台用我们提供的JSON工具解析

我用的是mini.encode()但是出来的数据是
[{"aaa027":"321099","aaa167":"病种限用","aac003":"陈桂香","aac004":"2","aac006":"80","aaz213":"261594418","aka052":"","aka065":"0","aka071":0,"aka072":"","aka074":"","aka081":"","aka098":"","akb021":"扬州市第一人民医院西区医院","akb065":141,"akc194":"2014-01-01T08:28:43","akc196":"2014-01-01T08:28:43","akc225":141,"akc226":1,"akc229":0,"akc231":0,"ake001":"100006757001","ake002":"重组人粒细胞刺激因子注射液","ake003":"1","ake004":"重组人粒细胞刺激因子(瑞白)","ake005":"","ake106":"st","ake131":"","baz001":"100040013668146","baz003":"100040016797633","baz020":"2015-04-15T09:16:43","baz021":"","baz025":"2015-04-16T09:16:43","baz031":"02","baz032":"1","baz033":"2","baz035":"","baz041":4,"baz041ss":423,"baz101":"限放化疗后的骨髓抑制及工伤保险","baz102":"1","baz103":"1","entityId":"100040016797633","objectId":"100040016797633","_id":21,"_uid":21,"_state":"modified"}]
这样的,到后台的时候说少了“{”

Rank: 8Rank: 8

地板
发表于 2015-4-29 17:09:25 |只看该作者
wankaiss 发表于 2015-4-29 16:44
我用的是mini.encode()但是出来的数据是
[{"aaa027":"321099","aaa167":"病种限用","aac003":"陈桂香", ...

前台转化数据看起来没问题

Archiver|普加软件

GMT+8, 2024-11-13 10:07 , Processed in 1.061500 second(s), 11 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部