This commit is contained in:
parent
6d3f0b1719
commit
4cbc473e86
|
|
@ -137,7 +137,7 @@
|
||||||
layer.msg("请输入姓名", { icon: 2, time: 2000 });
|
layer.msg("请输入姓名", { icon: 2, time: 2000 });
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ($('#sex').val() == null || $('#name').val() == "") {
|
if ($('#sex').val() == null || $('#sex').val() == "") {
|
||||||
layer.msg("请选择性别", { icon: 2, time: 2000 });
|
layer.msg("请选择性别", { icon: 2, time: 2000 });
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
@ -162,7 +162,7 @@
|
||||||
url: ctxPath + '/evaluatePerson/addPersonInfo',
|
url: ctxPath + '/evaluatePerson/addPersonInfo',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: {
|
data: {
|
||||||
personList: JSON.stringify(data)
|
personList: JSON.stringify([data])
|
||||||
},
|
},
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if (res.res === 1) {
|
if (res.res === 1) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue