jQuery MiniUI
标题:
关于主从表录入问题
[打印本页]
作者:
gry
时间:
2013-4-23 12:11:03
标题:
关于主从表录入问题
看了那个示例页面,那个json
{"form":{"id":"","dept_name":"kkkk","dept_id":"kkkkk"},"data":[{"loginname":"New Row","_state":"added","_uid":5},{"loginname":"New Row","_state":"added","_uid":4},{"loginname":"New Row","_state":"added","_uid":3},{"loginname":"New Row","_state":"added","_uid":2},{"loginname":"New Row","_state":"added","_uid":1},{"loginname":"New Row","_state":"added","_uid":0}]}"
"form":{"id":"","dept_name":"kkkk","dept_id":"kkkkk"} 为什么没有"_state":"added"状态呢?
还有:
为什么没有"_state":"added"状态呢?
就说我怎么分清楚是“新增、修改、删除”状态呢?
作者:
factory
时间:
2013-4-23 12:37:46
表单只是一行数据的详细的展现,具体这条数据是新增还是修改,在你的data:[{...}]里面已经表示出来了
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2