(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-39f08c18","chunk-7180d612","chunk-41514f78","chunk-2d0da01e"],{"31f1":function(e,t,a){"use strict";a("8eb2")},"43e4":function(e,t,a){"use strict";a.r(t);var o=a("7a23");const r=Object(o["withScopeId"])("data-v-400c92ea");Object(o["pushScopeId"])("data-v-400c92ea");const l={class:"ele-body"},d=Object(o["createTextVNode"])("取消"),c=Object(o["createTextVNode"])("确定");Object(o["popScopeId"])();const n=r((e,t,a,n,s,i)=>{const u=Object(o["resolveComponent"])("a-input-number"),b=Object(o["resolveComponent"])("a-form-item"),m=Object(o["resolveComponent"])("a-month-picker"),O=Object(o["resolveComponent"])("a-form"),h=Object(o["resolveComponent"])("a-button"),f=Object(o["resolveComponent"])("a-modal");return Object(o["openBlock"])(),Object(o["createBlock"])(f,{"wrap-class-name":"ele-modal-movable ele-modal-resizable ele-modal-resizable",visible:s.modalShow,closable:"",keyboard:"",title:"导出升级订单列表",width:450,onCancel:t[5]||(t[5]=e=>s.modalShow=!1),bodyStyle:s.modalBodyStyle},{footer:r(()=>[Object(o["createVNode"])(h,{key:"back",onClick:t[4]||(t[4]=e=>s.modalShow=!1)},{default:r(()=>[d]),_:1}),Object(o["createVNode"])(h,{key:"submit",type:"primary",loading:s.loading,onClick:i.submit},{default:r(()=>[c]),_:1},8,["loading","onClick"])]),default:r(()=>[Object(o["createVNode"])("div",l,[Object(o["createVNode"])(O,{ref:"form",model:s.form,rules:s.rules,style:{"max-width":"450px",margin:"0 auto"},"label-col":{md:{span:4},sm:{span:24}},"wrapper-col":{md:{span:20},sm:{span:24}}},{default:r(()=>[Object(o["createVNode"])(b,{label:"起始ID:",name:"start_id"},{default:r(()=>[Object(o["createVNode"])(u,{class:"ele-fluid",value:s.form.start_id,"onUpdate:value":t[1]||(t[1]=e=>s.form.start_id=e)},null,8,["value"])]),_:1}),Object(o["createVNode"])(b,{label:"截止ID:",name:"end_id"},{default:r(()=>[Object(o["createVNode"])(u,{class:"ele-fluid",value:s.form.end_id,"onUpdate:value":t[2]||(t[2]=e=>s.form.end_id=e)},null,8,["value"])]),_:1}),Object(o["createVNode"])(b,{label:"月份:",name:"time"},{default:r(()=>[Object(o["createVNode"])(m,{value:s.form.time,"onUpdate:value":t[3]||(t[3]=e=>s.form.time=e),placeholder:"请选择月份",style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1},8,["model","rules"])])]),_:1},8,["visible","bodyStyle"])});var s=a("6ace"),i=a("c1df"),u=a.n(i),b={name:"exportModalUp",data(){return{modalShow:!1,loading:!1,modalBodyStyle:{maxHeight:"68vh",overflowY:"auto"},form:{},rules:{start_id:[{required:!1,type:"number",message:"请输入起始ID",trigger:"blur"}],end_id:[{required:!1,type:"number",message:"请输入截止ID",trigger:"blur"}]}}},methods:{openDetail(){this.form={start_id:void 0,end_id:void 0,time:void 0},this.modalShow=!0},submit(){this.$refs.form.validate().then(()=>{this.loading=!0;let e=Object.assign({},this.form),t="/manager/travel_up_order/getExcel";e.time=u()(e.time).unix(),Object(s["d"])(t,e).then(a=>{if(200==a.status){if(a.data&&0==a.data.code)return void this.$message.warning(a.data.msg);let o="导出升级订单-"+u()().format("YYYY-MM-DD HH:mm:ss")+".xlsx";Object(s["b"])(t,e,o).then(e=>{e&&(this.$emit("reload"),this.modalShow=!1)})}})}).finally(()=>{this.loading=!1})}}},m=(a("7031"),a("6b0d")),O=a.n(m);const h=O()(b,[["render",n],["__scopeId","data-v-400c92ea"]]);t["default"]=h},"51f7":function(e,t,a){"use strict";a.r(t);var o=a("7a23");const r=Object(o["withScopeId"])("data-v-285536dc");Object(o["pushScopeId"])("data-v-285536dc");const l={class:"ele-body"},d=Object(o["createTextVNode"])("是"),c=Object(o["createTextVNode"])("否"),n=Object(o["createVNode"])("span",null,"~",-1),s=Object(o["createTextVNode"])("正常"),i=Object(o["createTextVNode"])("禁用");Object(o["popScopeId"])();const u=r((e,t,a,u,b,m)=>{const O=Object(o["resolveComponent"])("a-input"),h=Object(o["resolveComponent"])("a-form-item"),f=Object(o["resolveComponent"])("a-radio"),j=Object(o["resolveComponent"])("a-radio-group"),p=Object(o["resolveComponent"])("a-space"),_=Object(o["resolveComponent"])("a-form"),g=Object(o["resolveComponent"])("a-modal");return Object(o["openBlock"])(),Object(o["createBlock"])(g,{"wrap-class-name":"ele-modal-movable ele-modal-resizable ele-modal-resizable",visible:b.modalShow,closable:"",keyboard:"",title:b.form.id?"编辑":"新增",width:600,onCancel:t[9]||(t[9]=e=>b.modalShow=!1),onOk:m.submit,confirmLoading:b.loading,bodyStyle:b.modalBodyStyle},{default:r(()=>[Object(o["createVNode"])("div",l,[Object(o["createVNode"])(_,{ref:"form",model:b.form,rules:b.rules,style:{"max-width":"800px",margin:"0 auto"},"label-col":{md:{span:6},sm:{span:24}},"wrapper-col":{md:{span:18},sm:{span:24}}},{default:r(()=>[Object(o["createVNode"])(h,{label:"姓名:",name:"name"},{default:r(()=>[Object(o["createVNode"])(O,{value:b.form.name,"onUpdate:value":t[1]||(t[1]=e=>b.form.name=e),placeholder:"请填写姓名","allow-clear":""},null,8,["value"])]),_:1}),Object(o["createVNode"])(h,{label:"手机号:",name:"mobile"},{default:r(()=>[Object(o["createVNode"])(O,{value:b.form.mobile,"onUpdate:value":t[2]||(t[2]=e=>b.form.mobile=e),placeholder:"请填写手机号","allow-clear":""},null,8,["value"])]),_:1}),Object(o["createVNode"])(h,{label:"可生成卡密:",name:"is_create_card"},{default:r(()=>[Object(o["createVNode"])(j,{value:b.form.is_create_card,"onUpdate:value":t[3]||(t[3]=e=>b.form.is_create_card=e)},{default:r(()=>[Object(o["createVNode"])(f,{value:"1"},{default:r(()=>[d]),_:1}),Object(o["createVNode"])(f,{value:"2"},{default:r(()=>[c]),_:1})]),_:1},8,["value"])]),_:1}),1==b.form.is_create_card?(Object(o["openBlock"])(),Object(o["createBlock"])(h,{key:0,label:"可生成卡密数量:",name:"can_create_card_nums"},{default:r(()=>[Object(o["createVNode"])(O,{suffix:"张",class:"ele-fluid",placeholder:"请输入可生成卡密数量",value:b.form.can_create_card_nums,"onUpdate:value":t[4]||(t[4]=e=>b.form.can_create_card_nums=e),min:0},null,8,["value"])]),_:1})):Object(o["createCommentVNode"])("",!0),1==b.form.is_create_card?(Object(o["openBlock"])(),Object(o["createBlock"])(h,{key:1,label:"生成卡密预约次数:",name:"card_subscribe_nums"},{default:r(()=>[Object(o["createVNode"])(O,{suffix:"次",class:"ele-fluid",placeholder:"请输入卡密预约次数",value:b.form.card_subscribe_nums,"onUpdate:value":t[5]||(t[5]=e=>b.form.card_subscribe_nums=e),min:0},null,8,["value"])]),_:1})):Object(o["createCommentVNode"])("",!0),1==b.form.is_create_card?(Object(o["openBlock"])(),Object(o["createBlock"])(h,{key:2,label:"卡密礼金区间:"},{default:r(()=>[Object(o["createVNode"])(p,null,{default:r(()=>[Object(o["createVNode"])(O,{suffix:"元",class:"ele-fluid",placeholder:"请输入卡密礼金最少",value:b.form.card_min_gift_money,"onUpdate:value":t[6]||(t[6]=e=>b.form.card_min_gift_money=e),min:0},null,8,["value"]),n,Object(o["createVNode"])(O,{suffix:"元",class:"ele-fluid",placeholder:"请输入卡密礼金最多",value:b.form.card_max_gift_money,"onUpdate:value":t[7]||(t[7]=e=>b.form.card_max_gift_money=e),min:0},null,8,["value"])]),_:1})]),_:1})):Object(o["createCommentVNode"])("",!0),Object(o["createVNode"])(h,{label:"状态:",name:"status"},{default:r(()=>[Object(o["createVNode"])(j,{value:b.form.status,"onUpdate:value":t[8]||(t[8]=e=>b.form.status=e)},{default:r(()=>[Object(o["createVNode"])(f,{value:"normal"},{default:r(()=>[s]),_:1}),Object(o["createVNode"])(f,{value:"hidden"},{default:r(()=>[i]),_:1})]),_:1},8,["value"])]),_:1})]),_:1},8,["model","rules"])])]),_:1},8,["visible","title","onOk","confirmLoading","bodyStyle"])});var b=a("c2e6"),m={name:"addEdit",data(){return{modalShow:!1,loading:!1,agentOptions:[],modalBodyStyle:{maxHeight:"68vh",overflowY:"auto"},marks:{0:"0%",20:"20%",40:"40%",60:"60%",80:"80%",100:"100%"},form:{},rules:{name:[{required:!0,message:"请输入合伙人名称",trigger:"blur"}],settle_account_name:[{required:!0,message:"请输入提现人真实姓名",trigger:"blur"}],mobile:[{required:!0,message:"请输入手机号",trigger:"blur"},{pattern:b["a"].phone,message:"手机号格式不正确",trigger:"blur"}]}}},methods:{openDetail(e){if(e){const t=Object.assign({},e);t.bili=Number(t.bili),this.form=t}else this.form={name:"",mobile:"",status:"normal",is_create_card:"1",card_min_gift_money:"0.00",card_max_gift_money:"0.00"};this.modalShow=!0},submit(){this.$refs.form.validate().then(()=>{this.loading=!0;let e=Object.assign({},this.form),t="";t=e.id?"/manager/travelAgent/editAgent":"/manager/travelAgent/addAgent",this.$post(t,e).then(()=>{this.$message.success("操作成功!"),this.$emit("reload"),this.modalShow=!1})}).finally(()=>{this.loading=!1})}}},O=(a("31f1"),a("6b0d")),h=a.n(O);const f=h()(m,[["render",u],["__scopeId","data-v-285536dc"]]);t["default"]=f},6105:function(e,t,a){},"6a85":function(e,t,a){"use strict";a.r(t),a.d(t,"listMixin",(function(){return o}));const o={data(){return{total:0}},methods:{eleTableDone(e,t,a){this.total=a},reload(){this.$refs.table.reload()},search(){this.$refs.table.reload({page:1})},parseData(e){return console.log("res",e),console.log("res.data.data",e.data.data.length),{code:1==e.code?0:e.code,data:e.data.data,count:e.data.total,msg:e.msg}},handleDelete({id:e}){this.$post(this.deleteUrl,{id:e},!0).then(()=>{this.reload()})},handleDetail(e){this.$refs.addedit.openDetail(e)},reset(){this.whereFormData=JSON.parse(JSON.stringify(this.defaultWhere)),this.$nextTick(()=>{this.reload()})}},created(){this.whereFormData=JSON.parse(JSON.stringify(this.defaultWhere))}}},7031:function(e,t,a){"use strict";a("6105")},"8eb2":function(e,t,a){},b372:function(e,t,a){"use strict";a.r(t);var o=a("7a23");const r={class:"ele-body ele-body-card"},l=Object(o["createTextVNode"])("全部"),d=Object(o["createTextVNode"])("待支付"),c=Object(o["createTextVNode"])("已支付"),n=Object(o["createTextVNode"])("超时"),s=Object(o["createTextVNode"])("待审核"),i=Object(o["createTextVNode"])("查询"),u=Object(o["createTextVNode"])("重置"),b=Object(o["createTextVNode"])("数据共 "),m={class:"ele-text-primary"},O=Object(o["createTextVNode"])(" 条"),h=Object(o["createVNode"])("em",null,null,-1),f=Object(o["createTextVNode"])("待支付"),j=Object(o["createTextVNode"])("待审核"),p=Object(o["createTextVNode"])("超时"),_=Object(o["createTextVNode"])("已支付"),g=Object(o["createTextVNode"])(" 审核 "),v=Object(o["createTextVNode"])("申请通过");function N(e,t,a,N,w,x){const V=Object(o["resolveComponent"])("a-input"),C=Object(o["resolveComponent"])("a-form-item"),y=Object(o["resolveComponent"])("a-col"),D=Object(o["resolveComponent"])("a-select-option"),k=Object(o["resolveComponent"])("a-select"),S=Object(o["resolveComponent"])("a-button"),$=Object(o["resolveComponent"])("a-space"),T=Object(o["resolveComponent"])("a-row"),I=Object(o["resolveComponent"])("a-form"),U=Object(o["resolveComponent"])("a-card"),B=Object(o["resolveComponent"])("a-alert"),F=Object(o["resolveComponent"])("a-tag"),P=Object(o["resolveComponent"])("DownOutlined"),M=Object(o["resolveComponent"])("a-menu-item"),A=Object(o["resolveComponent"])("a-menu"),E=Object(o["resolveComponent"])("a-dropdown"),R=Object(o["resolveComponent"])("ele-pro-table"),Z=Object(o["resolveComponent"])("add-edit"),z=Object(o["resolveComponent"])("export-modal-up");return Object(o["openBlock"])(),Object(o["createBlock"])("div",r,[Object(o["createVNode"])(U,{bordered:!1,"body-style":{paddingBottom:0}},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(I,{model:w.whereFormData,"label-col":{md:{span:6},sm:{span:24}},"wrapper-col":{md:{span:18},sm:{span:24}}},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(T,null,{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(y,{lg:6,md:12,sm:24,xs:24},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(C,{label:"订单号:"},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(V,{value:w.whereFormData.order_no,"onUpdate:value":t[1]||(t[1]=e=>w.whereFormData.order_no=e),onPressEnter:e.search,placeholder:"请输入订单号","allow-clear":""},null,8,["value","onPressEnter"])]),_:1})]),_:1}),Object(o["createVNode"])(y,{lg:8,md:12,sm:24,xs:24},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(C,{label:"手机号:"},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(V,{value:w.whereFormData.mobile,"onUpdate:value":t[2]||(t[2]=e=>w.whereFormData.mobile=e),placeholder:"请输入手机号","allow-clear":""},null,8,["value"])]),_:1})]),_:1}),Object(o["createVNode"])(y,{lg:5,md:12,sm:24,xs:24},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(C,{label:"状态:"},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(k,{value:w.whereFormData.status,"onUpdate:value":t[3]||(t[3]=e=>w.whereFormData.status=e),placeholder:"请选择"},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(D,{key:""},{default:Object(o["withCtx"])(()=>[l]),_:1}),Object(o["createVNode"])(D,{key:"101"},{default:Object(o["withCtx"])(()=>[d]),_:1}),Object(o["createVNode"])(D,{key:"11"},{default:Object(o["withCtx"])(()=>[c]),_:1}),Object(o["createVNode"])(D,{key:"13"},{default:Object(o["withCtx"])(()=>[n]),_:1}),Object(o["createVNode"])(D,{key:"102"},{default:Object(o["withCtx"])(()=>[s]),_:1})]),_:1},8,["value"])]),_:1})]),_:1}),Object(o["createVNode"])(y,{lg:5,md:12,sm:24,xs:24},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(C,{class:"ele-text-right","wrapper-col":{span:24}},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])($,null,{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(S,{type:"primary",onClick:e.search},{default:Object(o["withCtx"])(()=>[i]),_:1},8,["onClick"]),Object(o["createVNode"])(S,{onClick:e.reset},{default:Object(o["withCtx"])(()=>[u]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),Object(o["createVNode"])(U,{bordered:!1},{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(B,{type:"info","show-icon":"",style:{"margin-bottom":"16px"}},{message:Object(o["withCtx"])(()=>[Object(o["createVNode"])("span",null,[b,Object(o["createVNode"])("b",m,Object(o["toDisplayString"])(e.total),1),O,h])]),_:1}),Object(o["createVNode"])(R,{title:"申请订单列表",where:w.whereFormData,parseData:e.parseData,ref:"table","row-key":"id",onDone:e.eleTableDone,datasource:w.url,columns:w.columns,method:"POST"},{status:Object(o["withCtx"])(({record:e})=>[Object(o["withDirectives"])(Object(o["createVNode"])(F,{color:"processing"},{default:Object(o["withCtx"])(()=>[f]),_:2},1536),[[o["vShow"],101==e.status]]),Object(o["withDirectives"])(Object(o["createVNode"])(F,{color:"warning"},{default:Object(o["withCtx"])(()=>[j]),_:2},1536),[[o["vShow"],102==e.status]]),Object(o["withDirectives"])(Object(o["createVNode"])(F,{color:"error"},{default:Object(o["withCtx"])(()=>[p]),_:2},1536),[[o["vShow"],13==e.status]]),Object(o["withDirectives"])(Object(o["createVNode"])(F,{color:"processing"},{default:Object(o["withCtx"])(()=>[_]),_:2},1536),[[o["vShow"],11==e.status]])]),action:Object(o["withCtx"])(({record:e})=>[Object(o["createVNode"])(E,null,{overlay:Object(o["withCtx"])(()=>[Object(o["createVNode"])(A,null,{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(M,null,{default:Object(o["withCtx"])(()=>[Object(o["createVNode"])(S,{size:"small",type:"link",disabled:11==e.status,onClick:t=>x.handleEditStatus(e.id,11)},{default:Object(o["withCtx"])(()=>[v]),_:2},1032,["disabled","onClick"])]),_:2},1024)]),_:2},1024)]),default:Object(o["withCtx"])(()=>[Object(o["createVNode"])("a",{class:"ant-dropdown-link",onClick:t[4]||(t[4]=Object(o["withModifiers"])(()=>{},["prevent"]))},[g,Object(o["createVNode"])(P)])]),_:2},1024)]),_:1},8,["where","parseData","onDone","datasource","columns"])]),_:1}),Object(o["createVNode"])(Z,{ref:"addedit",onReload:e.reload},null,8,["onReload"]),Object(o["createVNode"])(z,{ref:"exportModal",onReload:e.reload},null,8,["onReload"])])}var w=a("35c8"),x=a("6a85"),V=a("2c2a"),C=a("51f7"),y=a("c1df"),D=a.n(y),k=a("43e4");const S={order_no:"",mobile:"",status:""};var $={mixins:[x["listMixin"]],components:{addEdit:C["default"],exportModalUp:k["default"],DownOutlined:w["a"]},data(){return{moment:D.a,toDateString:V["toDateString"],defaultWhere:JSON.parse(JSON.stringify(S)),whereFormData:{},url:"/manager/travel_up_order/getOrderList",columns:[{title:"订单号",align:"center",dataIndex:"order_no"},{title:"真实姓名",align:"center",dataIndex:"real_name"},{title:"手机号",align:"center",dataIndex:"mobile"},{title:"支付金额",align:"center",dataIndex:"pay_actual_amount",customRender:({text:e})=>e||"0 元"},{title:"升级售价",align:"center",dataIndex:"actual_amount",customRender:({text:e})=>e||"0 元"},{title:"支付时间",align:"center",dataIndex:"pay_time",customRender:({text:e})=>Object(V["toDateString"])(e)},{title:"状态",dataIndex:"status",align:"center",slots:{customRender:"status"}},{title:"操作",dataIndex:"action",align:"center",slots:{customRender:"action"}}]}},methods:{handleDetail(e){this.$refs[e].openDetail(null)},handleEditStatus(e,t){let a={id:e,status:t};this.$post("/manager/travel_up_order/editOrderStatus",a).then(()=>{this.reload(),this.$message.success("操作成功!")})}}},T=a("6b0d"),I=a.n(T);const U=I()($,[["render",N]]);t["default"]=U},c2e6:function(e,t,a){"use strict";t["a"]={phone:/^1\d{10}$/,isPhone(e){return this.phone.test(e)},phoneStrong:/^(13[0-9]{9})|(15[0-9]{9})|(17[0-9]{9})|(18[0-9]{9})|(19[0-9]{9})$/,tel:/^(400|800)([0-9\\-]{7,10})|(([0-9]{4}|[0-9]{3})(-| )?)?([0-9]{7,8})((-| |转)*([0-9]{1,4}))?$/,isTel(e){return this.tel.test(e)},email:/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/,isEmail(e){return this.email.test(e)},url:/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/,isUrl(e){return this.url.test(e)},number:/^[0-9]+\.?[0-9]*$/,isNumber(e){return!isNaN(e)},date:/^(\d{4})[-/](\d{1}|0\d{1}|1[0-2])([-/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/,isDate(e){return this.date.test(e)},identity:/(^\d{15}$)|(^\d{17}(x|X|\d)$)/,isIdentity(e){return this.identity.test(e)},digits:/^-?\d+$/,isDigits(e){return this.digits.test(e)},digitsP:/^[1-9]\d*$/,isDigitsP(e){return this.digitsP.test(e)},digitsN:/^-[1-9]\d*$/,isDigitsN(e){return this.digitsN.test(e)},digitsPZ:/^\d+$/,isDigitsPZ(e){return this.digitsPZ.test(e)},digitsNZ:/^-[1-9]\d*|0/,isDigitsNZ(e){return this.digitsNZ.test(e)},maxMinLength(e,t,a){return"undefined"===typeof e||null===e?!t:!(t&&e.toString().lengtha)},maxMin(e,t,a){return"undefined"===typeof e||null===e?"undefined"===typeof t||null===t:!("undefined"!==typeof t&&null!==t&&ea)},chinese:/^[\u4E00-\u9FA5]{2,4}$/,isChinese(e){return this.chinese.test(e)},port:/^([0-9]|[1-9]\d|[1-9]\d{2}|[1-9]\d{3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5])$/,isPort(e){return this.port.test(e)},ip:/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/,isIP(e){return this.ip.test(e)},longitude:/^[-|+]?(0?\d{1,2}\.\d{1,5}|1[0-7]?\d{1}\.\d{1,5}|180\.0{1,5})$/,isLongitude(e){return this.longitude.test(e)},latitude:/^[-|+]?([0-8]?\d{1}\.\d{1,5}|90\.0{1,5})$/,isLatitude(e){return this.latitude.test(e)},isIdentityStrong(e){if(!this.isIdentity(e))return"身份证号码格式错误";const t=18===e.length?e.substring(0,17):e.substring(0,6)+"19"+e.substring(6,15),a=t.substring(6,10),o=a+"/"+t.substring(10,12)+"/"+t.substring(12,14);if(!this.isDate(o))return"身份证号码出生日期无效";const r=new Date;if(r.getFullYear()-parseInt(a)>150||r.getTime()-new Date(o).getTime()<0)return"身份证号码出生日期不在有效范围";const l=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"];if(-1===l.indexOf(t.substring(0,2)))return"身份证号码地区编码错误";if(18===e.length){const a=["1","0","X","9","8","7","6","5","4","3","2"],o=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2];let r=0;for(let e=0;e<17;e++)r+=parseInt(t.charAt(e))*o[e];if(e!==t+a[r%11])return"身份证号码最后一位错误"}}}}}]);