(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-c-userinfo"],{"04fa":function(t,e,a){"use strict";(function(t){var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(a("5530")),i=a("26cb"),o=a("d24f"),c=a("fb8c"),u=n(a("966a")),s=n(a("bb31")),d=n(a("520b")),f={components:{uniIcons:u.default,dyDatetimePicker:s.default,avatar:d.default},data:function(){return{userInfo:(0,c.getStorage)("userInfo"),showFlag:0,realName:(0,c.getStorage)("userInfo").realName,mobile:(0,c.getStorage)("userInfo").mobile,departmentId:(0,c.getStorage)("userInfo").deptId,departmentName:(0,c.getStorage)("userInfo").departmentName,orgId:(0,c.getStorage)("userInfo").orgId,orgName:(0,c.getStorage)("userInfo").orgName,deptText:(0,c.getStorage)("userInfo").orgName+"-"+(0,c.getStorage)("userInfo").departmentName,chooseDept:{},range:[],vCode:"",codeKey:"",jsq:null,btnText:"获取验证码",headImg:(0,c.getStorage)("userInfo").wxProfile,headImgB64:(0,c.getStorage)("userInfo").wxProfile}},computed:{},onLoad:function(){this.getDeptByParentId(0,new Array)},methods:(0,r.default)((0,r.default)({},(0,i.mapMutations)(["login"])),{},{longTap:function(){var e=null==uni.getStorageSync("1001093_vconShow")?"0":uni.getStorageSync("1001093_vconShow");0==e?uni.setStorageSync("1001093_vconShow","1"):uni.setStorageSync("1001093_vconShow","0"),t.log(uni.getStorageSync("1001093_vconShow"))},myUpload:function(e){var a=this,n=this;uni.compressImage({src:e.path,quality:80,success:function(e){a.headImg=e.tempFilePath,plus.io.resolveLocalFileSystemURL(e.tempFilePath,(function(t){var e=null;t.file((function(t){e=new plus.io.FileReader,e.onloadend=function(t){n.headImgB64=t.target.result},e.readAsDataURL(t)}),(function(t){alert(t.message)}))}),(function(e){t.log(e)}))}})},childrenClick:function(e){var a=e[0].id;this.getDeptByParentId(a,e),t.log(this.chooseDept)},treeConfirm:function(t){this.chooseDept=t[0],this.deptText=this.chooseDept.parents[0].name+"-"+this.chooseDept.name},treeCancel:function(t){},showTree:function(){this.$refs.tkitree._show()},getSubScript:function(t,e){for(var a=0;a1)return!1;var r=t.array[n].findIndex((function(t){return parseInt(t)===parseInt(e)}));r<0&&(r=0),0===a&&(t.array[4]=t.minsArr[r]),t.index[n]=r}))}if(this.timevalue&&this.timeOptions.length){var i=this.array[3].findIndex((function(e){return e===t.timevalue}))||0;this.index[3]=i}},getIndexArr:function(t){for(var e=[],a=[],n=0,r=0,i=0;i