|
@@ -854,6 +854,28 @@
|
|
|
})
|
|
|
|
|
|
function submitHandler() {
|
|
|
+ if ($('#treeName').val()) {
|
|
|
+ $.ajax({
|
|
|
+ type: 'POST',
|
|
|
+ url: ctx + 'system/dept/assert/' + $('#treeId').val(),
|
|
|
+ success: function (r) {
|
|
|
+ if (r.code === 0) {
|
|
|
+ if (r.msg != "3N"){
|
|
|
+ $.modal.alertWarning("修改人员失败,该人员的所属单位不是事业单位!");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ $.modal.alertWarning(r.msg);
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
var personStatus = $('#personnelStatusName').val();
|
|
|
if ($("#currentPostTypeName").val() == "") {
|
|
|
$.modal.alertWarning("请选择现任岗位!");
|