修改考场分配页面

This commit is contained in:
cuibaocheng 2021-05-15 20:37:28 +08:00
parent b5cd931c58
commit 6c6e7f001a

View File

@ -199,10 +199,11 @@
success: function (orgData) {
// 回显 , 选中
for (var a = 0; a < orgData.length; a++) {
console.log(dataForm);
for (var j = 0; j < dataForm.distributionFieldList.length; j++) {
if (orgData[a].organizationId == dataForm.distributionFieldList[j].fieldId) {
orgData[a].checked = 'checked="checked"';
if(dataForm) {
for (var j = 0; j < dataForm.distributionFieldList.length; j++) {
if (orgData[a].organizationId == dataForm.distributionFieldList[j].fieldId) {
orgData[a].checked = 'checked="checked"';
}
}
}
}