(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-info-grather-infoGrather"],{"0590":function(e,t,n){"use strict";n.r(t);var i=n("f6f0"),a=n("27d8");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("86de");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"44ad8320",null,!1,i["a"],void 0);t["default"]=s.exports},"16cc":function(e,t,n){e.exports=n.p+"static/imgs/banner.png"},"27d8":function(e,t,n){"use strict";n.r(t);var i=n("2a41"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},"2a41":function(e,t,n){"use strict";(function(e){n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("c223"),n("dd2b"),n("aa9c"),n("23f4"),n("7d2f"),n("5c47"),n("9c4e"),n("ab80"),n("0506");var i=n("8251"),a=n("779a"),o={data:function(){return{imgs:[],life_imgs:[],deptList:["请选择..."],departmentIndex:0,comList:[{name:"省公司"}],comIndex:0,formData:{name:"",jobNum:"",idcardNum:"",phone:""}}},onLoad:function(){this.getDepts()},methods:{getDepts:function(){var e=this,t={method:a.getOrargs,data:{}};(0,i.callbackRequest)(t).then((function(t){if(1==t.data.returnCode){var n=t.data.returnData;e.deptList=e.deptList.concat(n)}}))},removeImg:function(e){this.imgs.splice(e,1)},removeLifeImg:function(e){this.life_imgs.splice(e,1)},changeDepartment:function(t){e.log(t.detail.value),this.departmentIndex=t.detail.value},changeCom:function(e){this.comIndex=e.detail.value},chooseLifeImg:function(){var t=this;uni.chooseImage({count:2,success:function(a){var o=a.tempFiles[0].size/1024;if(e.log("size:",o),o/1024>10)return(0,i.alertTip)("自拍大头照不得大于10MB,请重新选择"),void(t.life_imgs=[]);uni.getImageInfo({src:a.tempFilePaths[0],success:function(e){if(e.width<200||e.height<200)return(0,i.alertTip)("自拍大头照分辨率过小,请重新选择"),void(t.life_imgs=[]);var o,r;(function(){var s="",c=a.tempFilePaths;for(o=0;o10?((0,i.alertTip)("证件照不得大于10MB,请重新选择"),void(e.imgs=[])):void uni.getImageInfo({src:t.tempFilePaths[0],success:function(a){if(a.width<200||a.height<200)return(0,i.alertTip)("证件照分辨率过小,请重新选择"),void(e.imgs=[]);var o,r;(function(){var s="",c=t.tempFilePaths;for(o=0;o/?~!@#¥……&*——|{}【】‘;:”“'。,、?]");if(e.name&&t.test(e.name))(0,i.alertTip)("姓名不得含有特殊字符");else if(e.jobNum&&t.test(e.jobNum))(0,i.alertTip)("工号不得含有特殊字符");else if("请选择..."!=this.comList[this.comIndex].name)if("请选择..."!=this.deptList[this.departmentIndex])if(!e.idcardNum||i.regIdCard.test(e.idcardNum))if(e.phone)if(i.regPhone.test(e.phone))if(this.imgs.length<1)(0,i.alertTip)("请上传证件照");else if(this.life_imgs.length<1)(0,i.alertTip)("请上传自拍大头照");else{e.company=this.comList[this.comIndex].name,e.department=this.deptList[this.departmentIndex],e.faceImgUrl=this.imgs[0],e.lifeImgUrl=this.life_imgs[0];var n={method:a.queryOne,data:e};(0,i.callbackRequest)(n).then((function(t){t=t.data,2==t.returnCode?(0,i.sureAlterTip)("提示","用户("+e.name+"/"+e.phone+")数据已提交,是否进行信息更新?",!0).then((function(t){if(200===t){var n={method:a.insertInfoGrather,data:e};(0,i.callbackRequest)(n).then((function(e){e=e.data,1==e.returnCode?uni.redirectTo({url:"./success"}):(0,i.alertTip)(e.returnMsg)}))}})):(0,i.sureAlterTip)("提示","确定要提交?",!0).then((function(t){if(200===t){var n={method:a.insertInfoGrather,data:e};(0,i.callbackRequest)(n).then((function(e){e=e.data,1==e.returnCode?uni.redirectTo({url:"./success"}):(0,i.alertTip)(e.returnMsg)}))}}))}))}else(0,i.alertTip)("手机号格式有误");else(0,i.alertTip)("请填写手机号");else(0,i.alertTip)("身份证号格式有误");else(0,i.alertTip)("请选择部门");else(0,i.alertTip)("请选择单位")}else(0,i.alertTip)("请填写姓名")},call:function(){uni.makePhoneCall({phoneNumber:"13919995340"})}}};t.default=o}).call(this,n("ba7c")["default"])},"86de":function(e,t,n){"use strict";var i=n("c4b0"),a=n.n(i);a.a},c4b0:function(e,t,n){var i=n("f077");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("967d").default;a("fab5188a",i,!0,{sourceMap:!1,shadowMode:!1})},d73d:function(e,t,n){(function(i){var a,o,r=n("bdbb").default;n("5c47"),n("2c10"),n("a1c1"),n("c9b5"),n("15d1"),n("d5c6"),n("5a56"),n("f074"),n("80e3"),n("4db2"),n("bf0f"),n("c976"),n("4d8f"),n("7b97"),n("668a"),n("c5b7"),n("8ff5"),n("2378"),n("641a"),n("64e0"),n("cce3"),n("efba"),n("d009"),n("bd7d"),n("7edd"),n("d798"),n("f547"),n("5e54"),n("b60a"),n("8c18"),n("12973"),n("f991"),n("198e"),n("8557"),n("63b1"),n("1954"),n("1cf1"),n("0506"),n("aa9c"),n("64aa"),function(){var n=function e(t){return t instanceof e?t:this instanceof e?void(this.EXIFwrapped=t):new e(t)};e.exports&&(t=e.exports=n),t.EXIF=n;var i=n.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},s=n.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},c=n.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},d=n.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function u(e){return!!e.exifdata}function l(e,t){function n(n){var i=f(n),a=function(e){var t=new DataView(e);0;if(255!=t.getUint8(0)||216!=t.getUint8(1))return!1;var n=2,i=e.byteLength,a=function(e,t){return 56===e.getUint8(t)&&66===e.getUint8(t+1)&&73===e.getUint8(t+2)&&77===e.getUint8(t+3)&&4===e.getUint8(t+4)&&4===e.getUint8(t+5)};while(n4?m:t+8,r=[],c=0;c4?m:t+8,h(e,o,f-1);case 3:if(1==f)return e.getUint16(t+8,!a);for(o=f>2?m:t+8,r=[],c=0;c0?i("v-uni-picker",{staticClass:"picker",attrs:{range:e.comList,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeCom.apply(void 0,arguments)}}},[i("v-uni-view",[e._v(e._s(e.comList[e.comIndex].name))])],1):e._e()],1)],1),i("v-uni-view",{staticClass:"form-group"},[i("v-uni-label",[e._v("所属部门"),i("v-uni-text",{staticClass:"req"},[e._v("*")])],1),i("v-uni-view",{staticClass:"ipt-box select"},[i("v-uni-image",{staticClass:"arrow",attrs:{src:"/static/imgs/xl.png",mode:""}}),e.deptList.length>0?i("v-uni-picker",{staticClass:"picker",attrs:{range:e.deptList,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeDepartment.apply(void 0,arguments)}}},[i("v-uni-view",[e._v(e._s(e.deptList[e.departmentIndex]))])],1):e._e()],1)],1),i("v-uni-view",{staticClass:"form-group"},[i("v-uni-label",[e._v("手机号"),i("v-uni-text",{staticClass:"req"},[e._v("*")])],1),i("v-uni-input",{attrs:{placeholder:"",maxlength:"11"},model:{value:e.formData.phone,callback:function(t){e.$set(e.formData,"phone",t)},expression:"formData.phone"}})],1),i("v-uni-view",{staticClass:"form-group"},[i("v-uni-label",[e._v("证件照"),i("v-uni-text",{staticClass:"req"},[e._v("*")])],1),i("v-uni-view",{staticClass:"info"},[e._v("大小在60K以上10M以内、分辨率在200*200以上的电子证件照,无过度美颜。")]),i("v-uni-view",{staticClass:"img-box"},[e._l(e.imgs,(function(t,n){return i("v-uni-view",{key:n,staticClass:"img-item"},[i("v-uni-image",{staticClass:"remove-btn",attrs:{src:"/static/imgs/delete-icon.png",mode:""},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.removeImg(n)}}}),i("v-uni-image",{staticClass:"img",attrs:{src:t,mode:""}})],1)})),e.imgs.length<1?i("v-uni-view",{staticClass:"img-item upload-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseImg()}}},[i("v-uni-image",{staticClass:"img",attrs:{src:"/static/imgs/tianjia-img.png",mode:""}})],1):e._e()],2)],1),i("v-uni-view",{staticClass:"form-group"},[i("v-uni-label",[e._v("自拍大头照"),i("v-uni-text",{staticClass:"req"},[e._v("*")])],1),i("v-uni-view",{staticClass:"info"},[e._v("手机自拍面部图片即可,照片需清晰、正确对焦,小于10M,无逆光,无黑影,无过度美颜。")]),i("v-uni-view",{staticClass:"img-box"},[e._l(e.life_imgs,(function(t,n){return i("v-uni-view",{key:n,staticClass:"img-item"},[i("v-uni-image",{staticClass:"remove-btn",attrs:{src:"/static/imgs/delete-icon.png",mode:""},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.removeLifeImg(n)}}}),i("v-uni-image",{staticClass:"img",attrs:{src:t,mode:""}})],1)})),e.life_imgs.length<1?i("v-uni-view",{staticClass:"img-item upload-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseLifeImg()}}},[i("v-uni-image",{staticClass:"img",attrs:{src:"/static/imgs/tianjia-img.png",mode:""}})],1):e._e()],2)],1),i("v-uni-view",{staticClass:"foot-submit",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit()}}},[i("v-uni-view",{staticClass:"btn"},[e._v("提交")])],1),i("v-uni-view",{staticClass:"footer-tip"},[i("v-uni-text",[e._v("甘肃同兴智能科技发展有限责任公司提供技术支持")]),i("br"),i("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.call.apply(void 0,arguments)}}},[e._v("13919995340")])],1)],1)],1)},a=[]}}]);