这应该是3个datastore吧,没看明白LZ的意思,是不知道怎么把3条数据同时传到后台进行一次操作吗?可以自己拼接字符串然后用Ext.Ajax传到后台操作
解决方案 »
- 原生js如何获取#hello input[name=aa[]]数组集?
- this.value为空/“this.value is undefined
- PHP怎么引入包含文件
- 关于window.print函数实现
- 能否用javascript在网页上响应用户鼠标在背景上画直线、画圆
- 急请教:创建TreeView对象。
- 怎样取代iframe的onload时间????????高手帮忙
- 如何用JS控制声音,急,55555~~~~~~~
- 如何加入javascipt 语句,自动关闭其他窗口
- chrome浏览器打印页面 怎样自定义页眉跟页脚???跪求啊!!T—T
- js数组分割问题
- 求解为何JS传参用来改变样式无效
// 这里是取到这个store的数据
var re = renyuandanganguanli_jleditStore.data.items[i];
employeeUserProList += re.data["proPkID"] + ","
+ encodeURI(re.data["companyName"]) + ","
+ encodeURI(re.data["position"]) + ","
+ Go_dateType(re.data["enterDate"]) + ","
+ Go_dateType(re.data["exitDate"]) + ","
+ encodeURI(re.data["workDetail"]);
employeeUserProList += ";";
}// 这里是执行Ajax请求
Ext.Ajax.request({
url : 'employeeEdit.action',
// 这里是传递参数,在action中接收然后在操作
params : {
employeeVo : employeeVo,
employeeEducationList : employeeEducationList,
employeeCertificateList : employeeCertificateList,
employeeUserProList : employeeUserProList,
employeeRewardPenaltyList : employeeRewardPenaltyList
},
success : function(response, obj) {
editWin.close();
danganguanli_gridStore.loadPage(1, {
params : {
pagingFlag : "true"
}
})
Ext.example.msg('消息', "修改操作成功!");
},
failure : function() {
alert("后台出错了!");
}
});