|
@@ -344,6 +344,13 @@
|
|
|
var info = $("#info").val();
|
|
|
var power = $("input[name='power']:checked").val();
|
|
|
|
|
|
+ if(id==='' || name==='' || age==='' || sex==='' || selectedOption==='' || value==='' || secondDeptId===''
|
|
|
+ || name1==='' || secondDeptName ==='' || degree ==='' || status ==='' || phone ==='' ||
|
|
|
+ account ==='' || password ==='' || info ==='' || power ==='')
|
|
|
+ {
|
|
|
+ showAlert("有空输入")
|
|
|
+ return
|
|
|
+ }
|
|
|
var n = {
|
|
|
id: id,
|
|
|
name: name,
|
|
@@ -360,6 +367,7 @@
|
|
|
power: power
|
|
|
};
|
|
|
|
|
|
+
|
|
|
console.log(n);
|
|
|
|
|
|
$.ajax({
|