var tipData=[ {"id":1,"zh_CN":"请输入发票抬头","en_US":"Please enter the receipt of the invoice"}, {"id":2,"zh_CN":"请输入税务识别码","en_US":"Please enter the tax number"}, {"id":3,"zh_CN":"请输入姓名","en_US":"Please enter the name"}, {"id":4,"zh_CN":"请输入正确的电子邮箱","en_US":"Please enter the correct email address"}, {"id":5,"zh_CN":"请输入地址","en_US":"Please enter the address"}, {"id":6,"zh_CN":"请输入邮政编码","en_US":"Please enter the zip code"}, {"id":7,"zh_CN":"确定","en_US":"OK"}, {"id":8,"zh_CN":"取消","en_US":"Cancel"}, {"id":9,"zh_CN":"确定删除吗?","en_US":"Are you sure you want to delete?"}, {"id":10,"zh_CN":"删除成功!","en_US":"Delete success"}, {"id":11,"zh_CN":"取消操作!","en_US":"Cancel operation"}, {"id":12,"zh_CN":"删除失败!","en_US":"Delete failure"}, {"id":13,"zh_CN":"暂无信息!","en_US":"No information"}, {"id":14,"zh_CN":"请选择开始日期","en_US":"Please choose the start date"}, {"id":15,"zh_CN":"请选择结束日期","en_US":"Please choose the end date"}, {"id":16,"zh_CN":"请选择内容开始时间","en_US":"Please select the content start time"}, {"id":17,"zh_CN":"请选择内容结束时间","en_US":"Please select the content end time"}, {"id":18,"zh_CN":"邮箱不存在","en_US":"Mail address does not exist"}, {"id":19,"zh_CN":"您的账户已被禁用,请联系管理员处理。","en_US":"Your account has been disabled. Please contact the administrator."}, {"id":20,"zh_CN":"重置密码成功","en_US":"Reset the password success"}, {"id":21,"zh_CN":"5秒后自动跳转到登录页面","en_US":"Automatically jump to the login page after 5 seconds"}, {"id":22,"zh_CN":"文件格式错误","en_US":"File type error"}, {"id":23,"zh_CN":"上传失败,请检查数据是否正确","en_US":"Upload failed, please check whether the data is correct"}, {"id":24,"zh_CN":"上传成功","en_US":"Upload success"}, {"id":25,"zh_CN":"系统错误","en_US":"System error"}, {"id":26,"zh_CN":"请输入十以内数字","en_US":"Please enter no more than ten Numbers"}, {"id":27,"zh_CN":"请勾选需要添加的内容","en_US":"Please check what you want to add"}, {"id":28,"zh_CN":"确定结算吗?","en_US":"Are you sure about the settlement?"}, {"id":29,"zh_CN":"确定授权吗?","en_US":"Are you sure about authorization?"}, {"id":30,"zh_CN":"确定撤销吗?","en_US":"Are you sure to undo?"}, {"id":31,"zh_CN":"确定支付吗?","en_US":"Are you sure about paying?"}, {"id":32,"zh_CN":"请输入退款原因","en_US":"Please input refund reason"}, {"id":33,"zh_CN":"您的商品已经成功退款,请注意查看您的支付账户.","en_US":"Your merchandise has been successfully refunded. Please pay attention to your payment account."}, {"id":34,"zh_CN":"您的商品已经申请退款,请注意查看您的支付账户.","en_US":"Your merchandise has been apply refunded. Please pay attention to your payment account."}, {"id":35,"zh_CN":"您是否同意退款?","en_US":"Do you agree to a refund?"}, {"id":36,"zh_CN":"已拒绝退款","en_US":"Refund has been refused"}, {"id":37,"zh_CN":"请输入退款类型","en_US":"Please input refund type"}, {"id":38,"zh_CN":"请输入联系电话","en_US":"Please enter the phone"}, {"id":39,"zh_CN":"请输入收货地址","en_US":"Please enter the receive address"}, {"id":40,"zh_CN":"请选择发票","en_US":"Please select invoice"}, {"id":41,"zh_CN":"请选择图片","en_US":"Please select the picture"}, {"id":42,"zh_CN":"请输入链接","en_US":"Please enter the link"}, {"id":43,"zh_CN":"请输入参数","en_US":"Please enter the parameters"}, {"id":44,"zh_CN":"添加","en_US":"Add"}, {"id":45,"zh_CN":"修改","en_US":"Update"}, {"id":46,"zh_CN":"请登录","en_US":"Please login"} ]; function deleteConfirmAlert(lang) { return { title: getTipData(9,lang), type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: getTipData(7,lang), cancelButtonText: getTipData(8,lang), closeOnConfirm: false, closeOnCancel: false }; } function confirmAlert(title,lang) { return { title: title, type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: getTipData(7,lang), cancelButtonText: getTipData(8,lang), closeOnConfirm: false, closeOnCancel: false }; } function getTip(id,lang) { for (var i=0;i"+tip.zh_CN+"" }else{ return ""+tip.en_US+"" } } } return ""; } function getTipData(id,lang) { for (var i=0;i