...
|
...
|
@@ -143,16 +143,14 @@ |
|
|
if (data.code===200){
|
|
|
alert('添加成功');
|
|
|
window.location.reload();
|
|
|
}else {
|
|
|
alert(data.messages);
|
|
|
}
|
|
|
},
|
|
|
error:function () {
|
|
|
alert('接口异常')
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
console.log(data);
|
|
|
|
|
|
layer.close(index); //如果设定了yes回调,需进行手工关闭
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -216,16 +214,14 @@ |
|
|
if (data.code===200){
|
|
|
alert('添加成功');
|
|
|
window.location.reload();
|
|
|
}else {
|
|
|
alert(data.messages);
|
|
|
}
|
|
|
},
|
|
|
error:function () {
|
|
|
alert('接口异常')
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
console.log(data);
|
|
|
|
|
|
layer.close(index); //如果设定了yes回调,需进行手工关闭
|
|
|
}
|
|
|
});
|
...
|
...
|
|