gt 2 ani în urmă
părinte
comite
90bf37ed5e

+ 4 - 2
nngkxxdp/src/main/resources/static/district/js/correct.js

@@ -321,9 +321,11 @@ $(function () {
                 data: obj,
                 async: false,
                 success: function (res) {
-                    if (res) {
-                        alert('提交成功')
+                    if(res.result){
+                        layer.msg('提交成功');
                         window.history.back();
+                    }else{
+                        layer.msg('提交失败');
                     }
                 },
                 error: function (err) {