                layer.msg('请选择客户', {time: 1000});

                    } else if (info.status == 1) {

                        layer.msg('操作成功', {
                            time: 1000,
                            end: function () {
                                var backurl = "{:U('weprogram/templateconfig')}";
                                location.href = backurl;
                                // location.href = info.result.url;
                            }
                       