(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-c-userinfo"],{"04fa":function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(a("5530")),i=a("2f62"),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"])),{},{myUpload:function(t){var e=this,a=this;uni.compressImage({src:t.path,quality:80,success:function(t){e.headImg=t.tempFilePath,plus.io.resolveLocalFileSystemURL(t.tempFilePath,(function(t){var e=null;t.file((function(t){e=new plus.io.FileReader,e.onloadend=function(t){a.headImgB64=t.target.result},e.readAsDataURL(t)}),(function(t){alert(t.message)}))}),(function(t){console.log(t)}))}})},childrenClick:function(t){var e=t[0].id;this.getDeptByParentId(e,t),console.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