(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-470c"],{OyTT:function(t,a,e){},"RVg/":function(t,a,e){},"eCW/":function(t,a,e){},fMc3:function(t,a,e){"use strict";var i=e("OyTT");e.n(i).a},h9AK:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkE5MDIzMDQ1MzBFNzExRTk5NzEzQkY0QzRDNDY4ODYzIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE5MDIzMDQ2MzBFNzExRTk5NzEzQkY0QzRDNDY4ODYzIj4gPH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4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7VaV3DAAAAV0lEQVR42mLcf/gMA7nAwcaYgQWH3H8sYozYFDIxUAiGgQG4ApERKTAZSTHgPxExwkjIBfhs/I/LBf+xKGLEoRFFfjQdIAKRkYA6nPKM////p8gFAAEGAAo9DyVcs6krAAAAAElFTkSuQmCC"},uQOH:function(t,a,e){"use strict";e.r(a);var i=e("t3Un");var n={data:function(){return{}},props:{staffData:Array},created:function(){},methods:{handleClick:function(){}}},l=(e("mYZQ"),e("KHd+")),s=Object(l.a)(n,function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"staff"},t._l(t.staffData,function(a,n){return i("div",{key:n,staticClass:"staff-data"},[i("div",{staticClass:"item-title"},[t._v(t._s(a.letter))]),t._v(" "),t._l(a.list,function(a,n){return i("div",{key:n,staticClass:"k-list"},[i("div",{staticClass:"list-right"},[i("div",{staticClass:"k-realname"},[t._v(t._s(a.realname.substring(0,6)))]),t._v(" "),i("div",{staticClass:"content"},[a.structure_name?i("div",[i("img",{attrs:{src:e("uGwl"),alt:""}}),t._v(" "),i("span",[t._v(t._s(a.structure_name))])]):t._e(),t._v(" "),a.post?i("div",[i("img",{attrs:{src:e("h9AK"),alt:""}}),t._v(" "),i("span",[t._v(t._s(a.post))])]):t._e(),t._v(" "),a.username?i("div",[i("img",{attrs:{src:e("p0zn"),alt:""}}),t._v(" "),i("span",[t._v(t._s(a.username))])]):t._e()])])])})],2)}))},[],!1,null,"5e790fc8",null);s.options.__file="staff.vue";var A=s.exports,c={data:function(){return{activeNames:[]}},props:{depData:Array},mounted:function(){},methods:{handleChange:function(t,a){}}},d=(e("qwaR"),Object(l.a)(c,function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"department"},[i("el-collapse",{on:{change:t.handleChange},model:{value:t.activeNames,callback:function(a){t.activeNames=a},expression:"activeNames"}},t._l(t.depData,function(a,n){return i("el-collapse-item",{key:n,attrs:{name:n}},[i("template",{slot:"title"},[i("span",{staticClass:"title"},[t._v(t._s(a.name)+" （"+t._s(a.userList.length)+"人）")])]),t._v(" "),t._l(a.userList,function(n,l){return i("div",{key:l,staticClass:"k-list"},[i("div",{staticClass:"list-right"},[i("div",{staticClass:"k-realname"},[t._v(t._s(n.realname.substring(0,6)))]),t._v(" "),i("div",{staticClass:"content"},[a.name?i("div",[i("img",{attrs:{src:e("uGwl"),alt:""}}),t._v(" "),i("span",[t._v(t._s(a.name))])]):t._e(),t._v(" "),n.post?i("div",[i("img",{attrs:{src:e("h9AK"),alt:""}}),t._v(" "),i("span",[t._v(t._s(n.post))])]):t._e(),t._v(" "),n.username?i("div",[i("img",{attrs:{src:e("p0zn"),alt:""}}),t._v(" "),i("span",[t._v(t._s(n.username))])]):t._e()])])])})],2)}))],1)},[],!1,null,"07d5828c",null));d.options.__file="department.vue";var m={components:{VStaff:A,VDepartment:d.exports},data:function(){return{activeName:"1",staffData:[],depData:[],inputModel:"",staffLoading:!0}},created:function(){this.dataFun(1),this.dataFun()},methods:{dataFun:function(t,a){var e=this;this.staffLoading=!0,function(t){return Object(i.a)({url:"oa/addresslist/index",method:"post",data:t})}({type:t,search:a}).then(function(a){if(1==t){for(var i in a.data)e.staffData.push({letter:i,list:a.data[i]});e.staffLoading=!1}else e.depData=a.data})},handleClick:function(t){this.inputModel=""},blurFun:function(){this.staffData=[];var t;t="1"==this.activeName?1:"",this.dataFun(t,this.inputModel)}}},u=(e("fMc3"),Object(l.a)(m,function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"address-book oa-bgcolor"},[e("div",{staticClass:"header"},[e("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(a){t.activeName=a},expression:"activeName"}},[e("el-input",{attrs:{placeholder:"搜索成员","prefix-icon":"el-icon-search"},on:{blur:t.blurFun},nativeOn:{keyup:function(a){return"button"in a||!t._k(a.keyCode,"enter",13,a.key,"Enter")?t.blurFun(a):null}},model:{value:t.inputModel,callback:function(a){t.inputModel=a},expression:"inputModel"}}),t._v(" "),e("el-tab-pane",{attrs:{label:"员工",name:"1"}},[e("v-staff",{directives:[{name:"loading",rawName:"v-loading",value:t.staffLoading,expression:"staffLoading"}],attrs:{staffData:t.staffData}})],1),t._v(" "),e("el-tab-pane",{attrs:{label:"部门",name:"2"}},[e("v-department",{attrs:{depData:t.depData}})],1)],1)],1)])},[],!1,null,"1e4fc8cb",null));u.options.__file="index.vue";a.default=u.exports}}]);