XMTT 7 年之前
父节点
当前提交
e9390e0c5f
共有 3 个文件被更改,包括 18 次插入3 次删除
  1. 6 1
      js/model/sys/platform/neworg.js
  2. 6 1
      js/model/sys/platform/newpro.js
  3. 6 1
      js/model/sys/platform/newresident.js

+ 6 - 1
js/model/sys/platform/neworg.js

@ -23,7 +23,12 @@ spa_define(function () {
23 23
                            if (data) {
24 24
                                data.hand();
25 25
                            }
26
                        },{});
26
                        },function (msg) {
27
                            if(msg.msg.search("unique constraint")!=-1&&msg.msg.search("already exists")!=-1){
28
                                util.alert("该平台已对接");
29
                                return;
30
                            }
31
                        });
27 32
                    };
28 33
29 34
                root.find(".modal-ctrl .icon-times").on("click", function () {

+ 6 - 1
js/model/sys/platform/newpro.js

@ -22,7 +22,12 @@ spa_define(function () {
22 22
                            if (data) {
23 23
                                data.hand();
24 24
                            }
25
                        },{});
25
                        },function (msg) {
26
                            if(msg.msg.search("unique constraint")!=-1&&msg.msg.search("already exists")!=-1){
27
                                util.alert("该专家已对接");
28
                                return;
29
                            }
30
                        });
26 31
                    };
27 32
28 33
                root.find(".modal-ctrl .icon-times").on("click", function () {

+ 6 - 1
js/model/sys/platform/newresident.js

@ -23,7 +23,12 @@ spa_define(function () {
23 23
                            if (data) {
24 24
                                data.hand();
25 25
                            }
26
                        },{});
26
                        },function (msg) {
27
                            if(msg.msg.search("unique constraint")!=-1&&msg.msg.search("already exists")!=-1){
28
                                util.alert("该企业已入驻");
29
                                return;
30
                            }
31
                        });
27 32
                    };
28 33
29 34
                root.find(".modal-ctrl .icon-times").on("click", function () {