XMTT 7 vuotta sitten
vanhempi
commit
e9390e0c5f

+ 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 () {