Commit 6490e3a9 by 肖海

build for test

parent 9af34811
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.7df7b007c2890cec0d7851ec06f95d11.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.cf5f50230108c288991b.js></script><script type=text/javascript src=./static/js/vendor.f0ae55534ca63203256d.js></script><script type=text/javascript src=./static/js/app.478df9b1e4cc9f934b81.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.7df7b007c2890cec0d7851ec06f95d11.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.2ae8e571d847754bd6ce.js></script><script type=text/javascript src=./static/js/vendor.f0ae55534ca63203256d.js></script><script type=text/javascript src=./static/js/app.b936fd986f46ed20966a.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([2],{"0V3y":function(e,t){},"4WTo":function(e,t,o){var s=o("NWt+");e.exports=function(e,t){var o=[];return s(e,!1,o.push,o,t),o}},"5zde":function(e,t,o){o("zQR9"),o("qyJz"),e.exports=o("FeBl").Array.from},"7Doy":function(e,t,o){var s=o("EqjI"),a=o("7UMu"),n=o("dSzd")("species");e.exports=function(e){var t;return a(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!a(t.prototype)||(t=void 0),s(t)&&null===(t=t[n])&&(t=void 0)),void 0===t?Array:t}},"7iKb":function(e,t){},"81oj":function(e,t){},"9Bbf":function(e,t,o){"use strict";var s=o("kM2E");e.exports=function(e){s(s.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},"9C8M":function(e,t,o){"use strict";var s=o("evD5").f,a=o("Yobk"),n=o("xH/j"),r=o("+ZMJ"),i=o("2KxR"),l=o("NWt+"),c=o("vIB/"),u=o("EGZi"),d=o("bRrM"),p=o("+E39"),h=o("06OY").fastKey,m=o("LIJb"),f=p?"_s":"size",g=function(e,t){var o,s=h(t);if("F"!==s)return e._i[s];for(o=e._f;o;o=o.n)if(o.k==t)return o};e.exports={getConstructor:function(e,t,o,c){var u=e(function(e,s){i(e,u,t,"_i"),e._t=t,e._i=a(null),e._f=void 0,e._l=void 0,e[f]=0,void 0!=s&&l(s,o,e[c],e)});return n(u.prototype,{clear:function(){for(var e=m(this,t),o=e._i,s=e._f;s;s=s.n)s.r=!0,s.p&&(s.p=s.p.n=void 0),delete o[s.i];e._f=e._l=void 0,e[f]=0},delete:function(e){var o=m(this,t),s=g(o,e);if(s){var a=s.n,n=s.p;delete o._i[s.i],s.r=!0,n&&(n.n=a),a&&(a.p=n),o._f==s&&(o._f=a),o._l==s&&(o._l=n),o[f]--}return!!s},forEach:function(e){m(this,t);for(var o,s=r(e,arguments.length>1?arguments[1]:void 0,3);o=o?o.n:this._f;)for(s(o.v,o.k,this);o&&o.r;)o=o.p},has:function(e){return!!g(m(this,t),e)}}),p&&s(u.prototype,"size",{get:function(){return m(this,t)[f]}}),u},def:function(e,t,o){var s,a,n=g(e,t);return n?n.v=o:(e._l=n={i:a=h(t,!0),k:t,v:o,p:s=e._l,n:void 0,r:!1},e._f||(e._f=n),s&&(s.n=n),e[f]++,"F"!==a&&(e._i[a]=n)),e},getEntry:g,setStrong:function(e,t,o){c(e,t,function(e,o){this._t=m(e,t),this._k=o,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))},o?"entries":"values",!o,!0),d(t)}}},ALrJ:function(e,t,o){var s=o("+ZMJ"),a=o("MU5D"),n=o("sB3e"),r=o("QRG4"),i=o("oeOm");e.exports=function(e,t){var o=1==e,l=2==e,c=3==e,u=4==e,d=6==e,p=5==e||d,h=t||i;return function(t,i,m){for(var f,g,v=n(t),b=a(v),C=s(i,m,3),I=r(b.length),A=0,y=o?h(t,I):l?h(t,0):void 0;I>A;A++)if((p||A in b)&&(g=C(f=b[A],A,v),e))if(o)y[A]=g;else if(g)switch(e){case 3:return!0;case 5:return f;case 6:return A;case 2:y.push(f)}else if(u)return!1;return d?-1:c||u?u:y}}},BDhv:function(e,t,o){var s=o("kM2E");s(s.P+s.R,"Set",{toJSON:o("m9gC")("Set")})},Cygd:function(e,t){},"D+Mg":function(e,t){},Gfms:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o("lHA8"),a=o.n(s),n=o("Gu7T"),r=o.n(n),i=o("3Xzz"),l=(o("0xDb"),{name:"searchMenu",components:{},props:{treeData:{type:Array,required:!0},searchResult:{type:Object,required:!0},storeFrame:{type:Boolean,default:!1}},data:function(){return{searchKey:"",searchResultShow:!1,myProps:{children:"childrens",label:"label",disabled:"disabled"},menuData:[],menuDataMine:[],defaultOpen:[],shareArea:[]}},methods:{formatGroupData:function(e){var t=this,o=[],s=window.localStorage.getItem("userInfo"),a=JSON.parse(s).enterpriseId,n=this,r=!1;e.forEach(function(s,i){if(s.exportEnterpriseId==a){var l={title:s.title,sharedContactRelationId:s.sharedContactRelationId,id:s.sharedContactRelationId,shares:[s]};s.childrens=s.ext.sharedContactDepartmentStoreGroupList,s.childrens.forEach(function(e){n.formatGroup(e,1)}),r||(r=!0,n.$emit("getEmployeeFirst",s.childrens[0])),t.defaultOpen.push(s.childrens[0].id),t.defaultOpen.push(s.childrens[1].id),e.forEach(function(e){e.exportEnterpriseId==s.importEnterpriseId&&(e.childrens=e.ext.sharedContactDepartmentStoreGroupList,e.childrens.forEach(function(e){n.formatGroup(e,0)}),l.shares.push(e),t.defaultOpen.push(e.childrens[0].id),t.defaultOpen.push(e.childrens[1].id))}),o.push(l)}}),console.log(o),this.shareArea=o},formatGroup:function(e,t){var o=this;e.id=e.sharedContactGroupId,e.label=e.name,e.isMine=t,e.ext&&e.ext.sharedContactDepartmentStoreGroupList&&(e.childrens=e.ext.sharedContactDepartmentStoreGroupList,e.childrens.forEach(function(e){o.formatGroup(e,t)}))},clearFn:function(){this.searchResultShow=!1},searchFn:function(){if(""==this.searchKey)return this.searchResultShow=!1,!1;this.searchResultShow=!0,this.$emit("handleSearchKey",this.searchKey)},handleNodeClick:function(e,t){this.$emit("handleTreeSelection",e,t,"node")},selectEmployee:function(e){this.$emit("handleEmployeeSelection",e,"employee")},handleStoreClick:function(e){this.$emit("handleStoreSelection",e,"store")}},filter:{},computed:{employeeList:function(){var e=[];this.searchResult.employeeStoreList&&this.searchResult.employeeStoreList.forEach(function(t){t.ext.employeeClerk?(t.employeeClerkId=t.ext.employeeClerk.employeeClerkId,t.name=t.employeeStoreName,e.push(t)):t.ext.store.ext.employeeClerkList.forEach(function(t){e.push(t)})});return e},storeList:function(){var e=[];this.searchResult.employeeStoreList&&this.searchResult.employeeStoreList.forEach(function(t){t.ext.store&&(t.storeId=t.employeeStoreId,t.name=t.employeeStoreName,e.push(t))});return e},departmentList:function(){return this.searchResult.groupList?(this.searchResult.groupList.forEach(function(e){e.id=e.sharedContactGroupId}),this.searchResult.groupList):[]},brandList:function(){return this.searchResult.brandList?this.searchResult.brandList:[]}},watch:{treeData:function(e,t){this.formatGroupData(e)}},mounted:function(){this.formatGroupData(this.treeData)}}),c={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"searh-menu-container"},[o("div",{staticClass:"p-0-15"},[o("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"姓名/手机号/部门名称",clearable:""},on:{clear:e.clearFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}}),e._v(" "),e._t("buttonBox")],2),e._v(" "),e.searchResultShow?o("div",{staticClass:"search-result-container m-t-15"},[e.departmentList.length>0?o("ul",{staticClass:"search-result-ul"},[o("p",{staticClass:"title"},[e._v("部门列表")]),e._v(" "),e._l(e.departmentList,function(t,s){return o("li",{key:s+"_"+t.groupId,staticClass:"group-item items",on:{click:function(o){e.handleNodeClick(t)}}},[o("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.storeList.length>0?o("ul",{staticClass:"search-result-ul"},[o("p",{staticClass:"title store-frame-title"},[e._v("门店列表")]),e._v(" "),e._l(e.storeList,function(t,s){return o("li",{key:s+"_"+t.storeId,staticClass:"group-item items",on:{click:function(o){e.handleStoreClick(t)}}},[o("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.employeeList.length>0?o("ul",{staticClass:"search-result-ul"},[o("p",{staticClass:"title"},[e._v("人员列表")]),e._v(" "),e._l(e.employeeList,function(t,s){return o("li",{key:s+"_"+t.employeeClerkId,staticClass:"person-item items",on:{click:function(o){e.selectEmployee(t)}}},[o("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.departmentList.length<1&&e.employeeList.length<1?o("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]):[e._l(e.shareArea,function(t){return[o("div",{key:t.sharedContactRelationId},[o("p",{staticClass:"area-title"},[e._v(e._s(t.title))]),e._v(" "),o("p",{staticClass:"share-title"},[e._v("我方共享给对方的所有人员")]),e._v(" "),o("div",{staticClass:"p-0-15"},[o("el-tree",{staticClass:"search-menu",attrs:{"node-key":"id","default-expanded-keys":e.defaultOpen,data:t.shares[0].childrens,"highlight-current":!0,"expand-on-click-node":!1,props:e.myProps},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.node;return t.data,o("span",{staticClass:"custom-tree-node"},[o("i",{staticClass:"iconfont",class:1==s.level?"icon-2zuzhijiagou":"icon-tongshi-zuzhijiagou"}),e._v(" "),o("span",[e._v(e._s(s.label))])])}}])})],1),e._v(" "),e._m(0,!0),e._v(" "),o("div",{staticClass:"p-0-15"},[e.searchResultShow?e._e():o("el-tree",{staticClass:"search-menu",attrs:{"node-key":"id","default-expanded-keys":e.defaultOpen,data:t.shares[1].childrens,"highlight-current":!0,"expand-on-click-node":!1,props:e.myProps},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.node;return t.data,o("span",{staticClass:"custom-tree-node"},[o("i",{staticClass:"iconfont",class:1==s.level?"icon-2zuzhijiagou":"icon-tongshi-zuzhijiagou"}),e._v(" "),o("span",[e._v(e._s(s.label))])])}}])})],1)])]})]],2)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"share-title"},[this._v("对方共享给我方的所有人员"),t("i",{staticClass:"el-icon-upload"})])}]};var u=o("VU/8")(l,c,!1,function(e){o("81oj")},null,null).exports,d=o("P9l9"),p=o("c4uw"),h={name:"employeeInfo",components:{vueSelectEmployee:p.a},props:{perId:{type:[String,Number],default:""},isNew:{type:Boolean,default:!1}},data:function(){return{info:{name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1},treeData:{},disabled:!0,employeeInfo:{name:"",phoneNumber:"",departmentName:""},rules:{name:[{required:!0,message:"请输入员工姓名",trigger:"blur"},{min:2,max:10,message:"长度在 2 到 10 个字符",trigger:"blur"}],phoneNumber:[{required:!0,validator:function(e,t,o){if(!t)return o(new Error("请输入手机号"));return/^1[34578]\d{9}$/.test(t)?void 0:o(new Error("手机号格式不正确"))},trigger:"blur"}],departmentId:[{required:!0,message:"请选择部门",trigger:"change"}]},treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0}}},methods:{getGroupData:function(){var e=this;Object(d.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var o=[],s=[];1==t.data.errorCode&&(o=t.data.result.departmentList||[],s=t.data.result.searchList||[]),e.treeData={treeData:o,personData:s},e.disabled=!1}).catch(function(e){console.log(e,"error")})},switchManagerMode:function(){console.log(this.info.managerMode)},callGroupSelector:function(){this.treeSet.dialogVisible=!0},handleSelectedList:function(e){console.log(e),this.info.departmentId=e.id,this.info.departmentName=e.label},getEmployInfo:function(){var e=this,t={id:e.$route.query.employeeClerkId?e.$route.query.employeeClerkId:e.perId};Object(d.a)("/haoban-manage-web/emp/findOne",t).then(function(t){console.log(t,"employeeDetail"),e.info=t.data.result,e.info.managerMode=!!t.data.result.managerMode}).catch(function(e){console.log(e,"error")})}},beforeMount:function(){this.getGroupData(),this.isNew||this.getEmployInfo()},watch:{perId:function(e,t){this.getEmployInfo()}}},m={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"employee-info"},[o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("员工信息")]),e._v(" "),o("el-form",{staticClass:"employee-info-form",attrs:{model:e.info,"label-width":"70px"}},[o("el-form-item",{attrs:{label:"姓名:",prop:"name"}},[o("p",[e._v(e._s(e.info.name))])]),e._v(" "),o("el-form-item",{attrs:{label:"手机号:",prop:"phoneNumber"}},[o("p",[e._v(e._s(e.info.phoneNumber))])]),e._v(" "),o("el-form-item",{attrs:{label:"部门:",prop:"departmentId"}},[o("p",[e._v(e._s(e.info.departmentName))])]),e._v(" "),o("el-form-item",{attrs:{label:"职位:",prop:"positionName"}},[o("p",[e._v(e._s(e.info.positionName))])])],1)],1),e._v(" "),o("vue-select-employee",{ref:"parentSelector",attrs:{treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var f=o("VU/8")(h,m,!1,function(e){o("0V3y")},null,null).exports,g=o("qsKc"),v={name:"employee-table",props:{employeeList:{type:Array,default:function(){return[]}},headList:{type:Array,default:function(){return["selection","name","phoneNumber","positionName","activationStatus"]}},groupInfo:{type:Object,default:function(){return{}}}},data:function(){return{tableData:[]}},methods:{selectMember:function(e){this.$emit("selectMember",e)},linkToDetail:function(e){console.log(e,this.groupInfo),this.groupInfo.isMine?window.location.href="#/employee?employeeClerkId="+e.employeeClerkId:window.location.href="#/employee?readOnly=1&employeeClerkId="+e.employeeClerkId}},mounted:function(){var e=this.employeeList,t=[];console.log(e," this.list"),e.forEach(function(e){e.ext.employeeClerk.sharedContactEmployeeStoreId=e.sharedContactEmployeeStoreId,t.push(e.ext.employeeClerk)}),this.tableData=t},watch:{employeeList:function(e){var t=[];console.log(e," this.list"),e.forEach(function(e){e.ext.employeeClerk.sharedContactEmployeeStoreId=e.sharedContactEmployeeStoreId,t.push(e.ext.employeeClerk)}),this.tableData=t}}},b={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"employee-table"},[o("el-table",{attrs:{height:"495",data:e.tableData},on:{"selection-change":e.selectMember,"row-click":e.linkToDetail}},[o("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),o("el-table-column",{attrs:{label:"姓名",prop:"name"}}),e._v(" "),o("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),e._v(" "),o("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),e._v(" "),o("el-table-column",{attrs:{label:"状态"},scopedSlots:e._u([{key:"default",fn:function(e){return[o("div",{staticClass:"status-icon",class:1==e.row.activationStatus?"is-active":""},[o("i",{staticClass:"iconfont icon-shouji"})])]}}])})],1)],1)},staticRenderFns:[]};var C=o("VU/8")(v,b,!1,function(e){o("D+Mg")},null,null).exports,I={name:"clerkView",props:{tableData:{type:Array,default:function(){return[]}}},data:function(){return{storeType:0,typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],storeStatus:"",showChildMember:!1}},methods:{selectMember:function(e){this.$emit("selectMember",e)}},mounted:function(){this.tableData.forEach(function(e){e.storeCode=e.ext.store.storeCode})},watch:{tableData:function(e){e.forEach(function(e){e.storeCode=e.ext.store.storeCode})}}},A={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("el-table",{ref:"clerkViewTable",staticClass:"diy-table",attrs:{height:"445",data:e.tableData},on:{"selection-change":e.selectMember}},[o("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),o("el-table-column",{attrs:{label:"门店",width:"175",prop:"employeeStoreName"}}),e._v(" "),o("el-table-column",{attrs:{label:"门店code",prop:"storeCode",width:"175"}}),e._v(" "),o("el-table-column",{scopedSlots:e._u([{key:"header",fn:function(t){return[o("ul",{staticClass:"diy-header"},[o("li",{staticClass:"name"},[e._v("姓名")]),e._v(" "),o("li",{staticClass:"phone"},[e._v("手机号")]),e._v(" "),o("li",{staticClass:"position"},[e._v("职位")]),e._v(" "),o("li",{staticClass:"status"},[e._v("状态")])])]}},{key:"default",fn:function(t){return[o("ul",e._l(t.row.ext.store.ext.employeeClerkList,function(t){return o("li",{key:t.employeeClerkId,staticClass:"clerk-obj-li"},[o("div",{staticClass:"clerk-name clerk-cell"},[e._v(e._s(t.name))]),e._v(" "),o("div",{staticClass:"clerk-cell clerk-phone"},[e._v(e._s(t.phoneNumber))]),e._v(" "),o("div",{staticClass:"clerk-cell clerk-position"},[e._v(e._s(t.positionName))]),e._v(" "),o("div",{staticClass:"clerk-cell clerk-status"},[o("div",{staticClass:"status-icon",class:1==t.activationStatus?"is-active":""},[o("i",{staticClass:"iconfont icon-shouji"})])])])}),0)]}}])})],1)],1)},staticRenderFns:[]};var y=o("VU/8")(I,A,!1,function(e){o("Zmvk")},null,null).exports,S={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"guid-div"},[this._m(0),this._v(" "),this._m(1),this._v(" "),t("div",{staticStyle:{"text-align":"center","margin-top":"50px"}},[t("a",{attrs:{href:"#/shareCode"}},[t("el-button",{attrs:{type:"primary"}},[this._v("建立共享企业")])],1)])])},staticRenderFns:[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"guid"},[s("p",{staticClass:"title"},[e._v("共享通讯录操作引导")]),e._v(" "),s("div",{staticClass:"flex-div"},[s("div",{staticClass:"step"},[s("img",{attrs:{src:o("z6bE")}}),e._v(" "),s("p",[e._v("点击建立共享企业,下载二维码 发给所要建立共享的企业")])]),e._v(" "),s("div",{staticClass:"step"},[s("img",{attrs:{src:o("NBVb")}}),e._v(" "),s("p",[e._v("从企业通讯录中添加对方可见我方 企业的成员及门店")])]),e._v(" "),s("div",{staticClass:"step"},[s("img",{attrs:{src:o("NXrz")}}),e._v(" "),s("p",[e._v("添加完成之后必须点击发布,所添加或 修改的信息才会同步至对方共享通讯录中")])])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"guid"},[t("p",{staticClass:"des"},[this._v("应用场景")]),this._v(" "),t("p",{staticClass:"des"},[this._v("适用于集团公司与子公司建立通讯录部分成员共享机制")]),this._v(" "),t("p",{staticClass:"des"},[this._v("适用于总部与代理商、加盟商建立通讯录部分成员共享机制")])])}]};var w=o("VU/8")(null,S,!1,function(e){o("TILD")},null,null).exports,N={name:"addNewGuid",props:{groupInfo:{type:Object,required:!0}},methods:{addNew:function(){this.groupInfo.isStoreGroup?this.$emit("addStoreEmployee"):this.$emit("addEmployee")}}},D={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tip-area"},[t("img",{attrs:{src:o("mxqO")}}),this._v(" "),this.groupInfo.isMine?[t("p",[this._v("暂无成员,开始添加成员吧")]),this._v(" "),t("el-button",{staticClass:"add-new-btn",on:{click:this.addNew}},[this._v("添加成员")])]:t("p",[this._v("暂无成员,联系建立共享企业的管理员,对方添加后即可查看")])],2)},staticRenderFns:[]};var k=o("VU/8")(N,D,!1,function(e){o("7iKb")},null,null).exports,E=o("Ie7z"),Y={name:"permission-set",components:{vueSelectStore:E.a,vueSelectEmployee:p.a},props:{groupInfo:{type:Object,required:!0}},data:function(){return{visibleList:[],visibleStoreList:[],treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},perTreeSet:{isSelectPerson:!0,dialogVisible:!1,isSingle:!1},dialogVisible:!0,changed:""}},methods:{getVisibleRange:function(){var e=this,t={sharedContactGroupId:e.groupInfo.sharedContactGroupId};Object(d.a)("/haoban-manage-web/shared-contact/get-shared-group-visible-range",t).then(function(t){console.log(t,"range"),1==t.data.errorCode?e.formatList(t.data.result):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},formatList:function(e){var t=[],o=[];e.forEach(function(e){e.label=e.name,1==e.type?(e.employeeClerkId=e.id,t.push(e)):(e.storeId=e.id,o.push(e))}),this.visibleList=t,this.visibleStoreList=o},delCurrent:function(e,t){var o=this[t].indexOf(e);this[t].splice(o,1)},callSelector:function(){this.treeSet.dialogVisible=!0},callPerSelector:function(){this.changed="permission",this.perTreeSet.dialogVisible=!0},setSharedGroupVisible:function(){var e=this,t=[];e.visibleList.concat(e.visibleStoreList).forEach(function(e){var o=e.employeeClerkId?1:2;t.push({id:e.id,type:o})});var o={visibleMemberList:[{memberList:t,sharedContactGroupId:e.groupInfo.id}]};Object(d.b)("/haoban-manage-web/shared-contact/set-shared-group-visible-range",o).then(function(t){console.log(t,"result"),1==t.data.errorCode?(e.$message.success({message:t.data.message}),e.getVisibleRange()):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelSet:function(){this.$emit("cancelSet")},handleSelectedList:function(e){this.visibleStoreList=e},handlePerSelectedList:function(e){this.visibleList=e}},beforeMount:function(){this.getVisibleRange()},mounted:function(){console.log(this.groupInfo,"groupInfo")}},G={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"per-set-div"},[o("el-form",{attrs:{"label-width":"150px"}},[o("el-form-item",{attrs:{label:"当前范围:"}},[o("span",[e._v(e._s(e.groupInfo.label))])]),e._v(" "),o("el-form-item",{attrs:{label:"设置可见范围(员工):"}},[o("ul",{staticClass:"particular-list"},[e._l(e.visibleList,function(t,s){return[t.employeeClerkId?o("li",{key:s+"_"+t.id,staticClass:"item person-item"},[t.headPic?o("img",{attrs:{src:t.headPic}}):o("div",{staticClass:"replace-head-img"},[o("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),o("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),o("i",{staticClass:"el-icon-circle-close",on:{click:function(o){e.delCurrent(t,"visibleList")}}})]):e._e()]}),e._v(" "),o("li",{staticClass:"item J_add-btn",on:{click:e.callPerSelector}},[o("i",{staticClass:"el-icon-plus"})])],2)]),e._v(" "),o("el-form-item",{attrs:{label:"设置可见范围(门店):"}},[o("ul",{staticClass:"particular-list"},[e._l(e.visibleStoreList,function(t,s){return[o("li",{key:s+"_"+t.id,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),o("i",{staticClass:"el-icon-circle-close",on:{click:function(o){e.delCurrent(t,"visibleStoreList")}}})])]}),e._v(" "),o("li",{staticClass:"item J_add-btn",on:{click:e.callSelector}},[o("i",{staticClass:"el-icon-plus"})])],2)])],1),e._v(" "),o("p",{staticClass:"m-t-20"},[o("el-button",{attrs:{type:"primary"},on:{click:e.setSharedGroupVisible}},[e._v("确定")]),e._v(" "),o("el-button",{on:{click:e.cancelSet}},[e._v("取消")])],1),e._v(" "),o("vue-select-store",{ref:"storeSelector",attrs:{defaultList:e.visibleStoreList,treeSet:e.treeSet,selectType:"store"},on:{handleSelectedList:e.handleSelectedList}}),e._v(" "),o("vue-select-employee",{ref:"selectEmployee",attrs:{defaultSelection:e.visibleList,onlyPerson:!0,treeSet:e.perTreeSet,changed:e.changed},on:{handleSelectedList:e.handlePerSelectedList}})],1)},staticRenderFns:[]};var R=o("VU/8")(Y,G,!1,function(e){o("Cygd")},null,null).exports,L={name:"shareContact",components:{navCrumb:i.a,searchMenu:u,employeeInfo:f,employeeList:C,guidDiv:w,clerkView:y,vueSelectEmployee:p.a,vueSelectStore:E.a,permissionSet:R,addNewGuid:k,storeInfo:g.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"共享通讯录",path:""}],showChildMember:!1,setDisabledDel:!1,menuData:[],pageSize:20,currentPage:1,selectedList:[],total:0,loading:!0,groupInfo:{groupName:"",departmentId:""},employeeList:[],searchResult:{},showEmployee:!1,perId:"",sharedContactRelationId:[],shareMember:!1,shareSale:!1,disabled:!0,treeData:{},sldType:1,dlgTitle:"",dlgShow:!1,editDlgShow:!1,newGroupName:"",storeInfo:{}}},created:function(){},beforeMount:function(){this.getShareRelation()},methods:{subSonGroupAdd:function(e){var t=this;if(""==t.newGroupName)t.$message.error({message:"名称不能为空"});else{var o={parentSharedContactGroupId:e?t.groupInfo.parentId:t.groupInfo.id,name:t.newGroupName};e?o.sharedContactGroupId=t.groupInfo.id:delete o.sharedContactGroupId,Object(d.a)("/haoban-manage-web/shared-contact/set-shared-group",o).then(function(e){1==e.data.errorCode?(t.$message.success({message:e.data.message}),t.getShareRelation(),t.dlgShow=!1,t.editDlgShow=!1):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})}},callEmployeeSelector:function(){this.sldType=1,this.$refs.selectEmployee.treeSet.dialogVisible=!0},handleStoreSelectedList:function(){},handleSelectedList:function(e){var t=this,o=[];e.forEach(function(e){o.push({id:e.id,type:t.sldType})});var s={overwrite:!1,sharedContactMemberList:[{sharedContactGroupId:t.groupInfo.id,memberList:o}]};Object(d.b)("/haoban-manage-web/shared-contact/add-shared-member",s).then(function(e){1==e.data.errorCode?(t.$message.success({message:e.data.message}),t.getEmployee()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getEmployee()},handleCurrentChange:function(e){this.currentPage=e,this.getEmployee()},cancelSet:function(){console.log("Cancel"),this.showEmployee=!1},subShareSet:function(){var e=this,t={visibleData:{shareMember:1*e.shareMember,shareSale:1*e.shareSale,sharedContactRelationId:e.sharedContactRelationId.join(",")}};Object(d.b)("/haoban-manage-web/shared-contact/set-shared-store-visible-data",t).then(function(t){e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},handleSearchKey:function(e){var t=this,o={keyword:e};Object(d.a)("/haoban-manage-web/shared-contact/search-shared-contact",o).then(function(e){console.log(e,"search result"),e.data.result&&(t.searchResult=e.data.result)}).catch(function(e){})},handleTreeSelection:function(e,t,o){console.log(e,t,"selection"),this.groupInfo=e,this.groupInfo.departmentId=e.id,this.groupInfo.groupName=e.name,this.showEmployee=o,this.loading=!0,this.getEmployee()},handleEmployeeSelection:function(e,t){this.perId=e.employeeClerkId,this.showEmployee=t},handleStoreSelection:function(e,t){console.log(e,"storeInfo");var o=this,s={storeId:e.storeId};Object(d.a)("/haoban-manage-web/store/findStoreById",s).then(function(e){1==e.data.errorCode?(o.showEmployee=t,o.storeInfo=e.data.result):o.$message.error({message:e.data.message})})},selectMember:function(e){this.selectedList=e},delMembers:function(){var e=this;e.$confirm("是否要删除选中的员工?","提示",{type:"warning"}).then(function(){var t=[];e.selectedList.forEach(function(e){t.push(e.sharedContactEmployeeStoreId)});var o={sharedContactEmployeeStoreIdList:t};Object(d.b)("/haoban-manage-web/shared-contact/del-shared-member",o).then(function(t){1==t.data.errorCode?(e.$message.success({message:t.data.message}),e.getEmployee()):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})})},setChildMemberShow:function(){this.getEmployee()},getGroupData:function(e){var t=this;Object(d.a)("/haoban-manage-web/shared-contact/find-shared-group",{}).then(function(e){e.data.result.forEach(function(e){e.groupId=e.sharedContactGroupId}),t.menuData=e.data.result||[],t.menuData.some(function(e){return 0==e.level&&(t.groupInfo.departmentId=e.groupId,t.groupInfo.groupName=e.name),0==e.level}),t.getEmployee(),t.getRelationIds(t.menuData)}).catch(function(e){})},getRelationIds:function(e){var t=window.localStorage.getItem("userInfo"),o=JSON.parse(t).enterpriseId,s=[];e.forEach(function(e){0==e.level&&e.enterpriseId!=o&&s.push(e.enterpriseId)}),s=[].concat(r()(new a.a(s))),this.sharedContactRelationId=s},getShareRelation:function(){var e=this;Object(d.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{searchGroup:1}).then(function(t){console.log(t,"getShareRelation"),e.menuData=t.data.result||[]}).catch(function(t){e.$message.error({message:t.message})})},getEmployeeFirst:function(e){this.groupInfo=e,this.getEmployee()},getEmployee:function(){var e=this,t={sharedContactGroupId:e.groupInfo.id,findChildren:e.showChildMember};Object(d.b)("/haoban-manage-web/shared-contact/find-shared-member",t).then(function(t){var o=[],s=0;1==t.data.errorCode&&(o=t.data.result.list||[],s=t.data.result.pageInfo.total||0),e.employeeList=o,e.total=s,e.loading=!1}).catch(function(t){e.loading=!1})}},computed:{disabledDel:function(){return this.selectedList.length<1&&!this.setDisabledDel}}},M={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"common-set-wrap"},[o("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),o("div",{staticClass:"right-content"},[o("div",{staticClass:"right-box"},[o("div",{staticClass:"administrative-estrutura-container"},[e.menuData.length>0?[o("search-menu",{attrs:{treeData:e.menuData,searchResult:e.searchResult},on:{handleSearchKey:e.handleSearchKey,handleTreeSelection:e.handleTreeSelection,handleEmployeeSelection:e.handleEmployeeSelection,getEmployeeFirst:e.getEmployeeFirst}}),e._v(" "),"employee"==e.showEmployee?o("employee-info",{attrs:{perId:e.perId}}):"store"==e.showEmployee?o("store-info",{ref:"store_info",attrs:{storeInfo:e.storeInfo}}):"permission"==e.showEmployee?o("permission-set",{attrs:{groupInfo:e.groupInfo},on:{cancelSet:e.cancelSet}}):o("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"af-right-container"},[o("div",{staticClass:"af-right-header"},[o("span",{staticClass:"title-span"},[e._v(e._s(e.groupInfo.groupName)+"("+e._s(e.total)+"人)"),o("span",{staticClass:"not-show-app"},[e._v("本企业通讯录APP中不展示")])]),e._v(" "),e.groupInfo.isMine?[1==e.groupInfo.isStoreGroup?o("span",{staticClass:"handle-area"},[o("a",{staticClass:"a-href",on:{click:function(t){e.dlgTitle="分组",e.dlgShow=!0}}},[e._v("添加子分组")]),e._v(" "),o("span",{staticClass:"hurdle"}),e._v(" "),0!=e.groupInfo.level?o("a",{staticClass:"J_edit a-href",on:{click:function(t){e.dlgTitle="分组",e.editDlgShow=!0}}},[e._v("编辑")]):e._e()]):o("span",{staticClass:"handle-area"},[o("a",{staticClass:"J_add-child a-href",on:{click:function(t){e.dlgTitle="部门",e.dlgShow=!0}}},[e._v("添加子部门")]),e._v(" "),0!=e.groupInfo.level?[o("span",{staticClass:"hurdle"}),e._v(" "),o("a",{staticClass:"J_edit a-href",on:{click:function(t){e.dlgTitle="部门",e.editDlgShow=!0}}},[e._v("编辑")])]:e._e()],2)]:[o("a",{staticClass:"a-href fr",on:{click:function(t){e.showEmployee="permission"}}},[e._v("设置可见权限")])]],2),e._v(" "),e.employeeList.length>0?[o("div",{staticClass:"af-right-button-box"},[e.groupInfo.isMine?[1==e.groupInfo.isStoreGroup&&1*e.groupInfo.level>0?o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.$refs.storeSelector.treeSet.dialogVisible=!0,e.sldType=2}}},[e._v("添加门店")]):o("el-button",{attrs:{type:"primary"},on:{click:e.callEmployeeSelector}},[e._v("添加成员")]),e._v(" "),o("el-button",{attrs:{type:"danger",plain:"",disabled:e.disabledDel},on:{click:e.delMembers}},[e._v("批量删除")])]:e._e(),e._v(" "),o("el-button",{staticClass:"J_show-children"},[o("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}}),o("a",{staticClass:"a-href"},[e._v("显示子成员")])],1)],2),e._v(" "),1==e.groupInfo.isStoreGroup?o("clerk-view",{attrs:{tableData:e.employeeList},on:{selectMember:e.selectMember}}):o("employee-list",{attrs:{employeeList:e.employeeList,groupInfo:e.groupInfo},on:{selectMember:e.selectMember}}),e._v(" "),o("div",{staticClass:"pagination"},[o("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.currentPage,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)]:[o("div",{staticClass:"af-right-button-box"},[e.groupInfo.isMine?[1==e.groupInfo.isStoreGroup&&1*e.groupInfo.level>0?o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.$refs.storeSelector.treeSet.dialogVisible=!0,e.sldType=2}}},[e._v("添加门店")]):o("el-button",{attrs:{type:"primary"},on:{click:e.callEmployeeSelector}},[e._v("添加成员")])]:e._e(),e._v(" "),o("el-button",{staticClass:"J_show-children"},[o("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}}),o("a",{staticClass:"a-href"},[e._v("显示子成员")])],1)],2),e._v(" "),o("add-new-guid",{attrs:{groupInfo:e.groupInfo},on:{addEmployee:e.callEmployeeSelector,addStoreEmployee:function(t){e.$refs.storeSelector.treeSet.dialogVisible=!0,e.sldType=2}}})]],2)]:[o("guid-div")]],2)])]),e._v(" "),o("el-dialog",{attrs:{title:"添加子"+e.dlgTitle,visible:e.dlgShow,width:"30%"},on:{"update:visible":function(t){e.dlgShow=t}}},[o("div",{staticStyle:{padding:"30px"}},[o("el-input",{attrs:{placeholder:"请输入"+e.dlgTitle+"名称"},model:{value:e.newGroupName,callback:function(t){e.newGroupName=t},expression:"newGroupName"}})],1),e._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.dlgShow=!1}}},[e._v("取 消")]),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.subSonGroupAdd(0)}}},[e._v("确 定")])],1)]),e._v(" "),o("el-dialog",{attrs:{title:"编辑"+e.dlgTitle,visible:e.editDlgShow,width:"30%"},on:{"update:visible":function(t){e.editDlgShow=t}}},[o("div",{staticStyle:{padding:"30px"}},[o("el-input",{attrs:{placeholder:"请输入"+e.dlgTitle+"名称"},model:{value:e.newGroupName,callback:function(t){e.newGroupName=t},expression:"newGroupName"}})],1),e._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.dlgShow=!1}}},[e._v("取 消")]),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.subSonGroupAdd(1)}}},[e._v("确 定")])],1)]),e._v(" "),o("vue-select-employee",{ref:"selectEmployee",attrs:{onlyPerson:!0,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}}),e._v(" "),o("vue-select-store",{ref:"storeSelector",attrs:{selectType:"store"},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var x=o("VU/8")(L,M,!1,function(e){o("Swhq")},null,null);t.default=x.exports},Gu7T:function(e,t,o){"use strict";t.__esModule=!0;var s,a=o("c/Tr"),n=(s=a)&&s.__esModule?s:{default:s};t.default=function(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return(0,n.default)(e)}},HpRW:function(e,t,o){"use strict";var s=o("kM2E"),a=o("lOnJ"),n=o("+ZMJ"),r=o("NWt+");e.exports=function(e){s(s.S,e,{from:function(e){var t,o,s,i,l=arguments[1];return a(this),(t=void 0!==l)&&a(l),void 0==e?new this:(o=[],t?(s=0,i=n(l,arguments[2],2),r(e,!1,function(e){o.push(i(e,s++))})):r(e,!1,o.push,o),new this(o))}})}},KKTF:function(e,t){},LIJb:function(e,t,o){var s=o("EqjI");e.exports=function(e,t){if(!s(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},NBVb:function(e,t,o){e.exports=o.p+"static/img/guid2.c4a077f.png"},NXrz:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADACAYAAACDO2h3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAA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TXAbwXE/0BATB5EAZTvO4li1dcMkmbYZcH3+0QAJ0DIq83x/2oRzn4Mh6F/QrwDTijUAC0BkKeVO03mjnJG/J6ejcAPNOSLwRAa0HktP/7YJfY/FR5CYs/wh4GfKamsboWwNKHu/na+EXzlAhTIv4O/psi/k+JuD+RnfZGO/H9Mf7NUaM6q1iZPixbuT1Fsd2C2Jz7yR3v9wO8QUlGVhwGFQOVpoEVakGgUiPgcpSmj1FKR+Yq89NT6AKLq+btWjtvGcBrHswDKTYDjMFJ1yALboPAeWYyzXH5Sv7UIuWirHS6IFXpmTIuGeXEoPG0I5zVsxbg+ZNxrYqFsGVoT3mGBlsGyVt6fTR5mDKyuECZk5VG30tNoZkosBEm/bTfr9JmXzetb+lU136xV93Q3NEzps9tPJ+27axYkNrpCgABHGeRsGVqJgFQApo2QikuylGmZaZRaVoKlaDdWMxQKgoNU/outtPFWfiqSo2ArQa2E8BtbetSK6r20xe1LaqRV5u4ndqhWTuANDXxRFFV814OmPZIH6/NwPEaa9ni3VwjLmROSuZXEMJg/Oqm+It4sNpVvAxfIZm8wqTIFmLKhmjGVTVHx20D+TGzxeCNEPg8oXStrAvtBGC+lIvnlG8nAJulPDynhMt8MNqATVoIL21A92vAbcDBCkLaNJMo2ENRsJ0ADKo95CSzQow7naUf0BlStRqtPaI8TVEyh7ciT15GQuzp3cJGQsikleLtAGCkol1ccCw4dBzYc2PBgyye5rJb2wbNp5k/2SeTZsMnMDjsE6lgelU0c0U2zACqSL9m3RF/RzPVTief5rAbHXxijcgx+YAh5g/5jBoBV+jfoZCpTn560lzuGbpIZGuZmowgEgmAIgFQJBIARQKgSKSn/wswAJ9xy6rr0P+IAAAAAElFTkSuQmCC"},Swhq:function(e,t){},TILD:function(e,t){},Zmvk:function(e,t){},"c/Tr":function(e,t,o){e.exports={default:o("5zde"),__esModule:!0}},fBQ2:function(e,t,o){"use strict";var s=o("evD5"),a=o("X8DO");e.exports=function(e,t,o){t in e?s.f(e,t,a(0,o)):e[t]=o}},ioQ5:function(e,t,o){o("HpRW")("Set")},lHA8:function(e,t,o){e.exports={default:o("pPW7"),__esModule:!0}},m9gC:function(e,t,o){var s=o("RY/4"),a=o("4WTo");e.exports=function(e){return function(){if(s(this)!=e)throw TypeError(e+"#toJSON isn't generic");return a(this)}}},mxqO:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATYAAACPCAYAAABwDvegAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAABMGSURBVHhe7Z2Ld1TVFcb7F7bWVttqfbS2q+/WR1cfWrUvrFYryFNFGxAUITwTQEAkCYRHIEACJJAQ3o9AlMxk3u/d853k1juTk5k7d2aSe0++31qfRpNJJnet82Xvc/be5xtCCCGWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYSEsoKRXVPwpF9TH+g5B5hMZGGgYGNpUqytDtvHSczsjKA0lZsjMu/9wxLXz85u6EfHI0JSev5GQiVpQCzY60EBob8U06V5JzN/Py0eGUvKbM64+bYvLTtVF59J2IfPOtyTJ9++1JeWpNRJ7fMCV/3x6Xd/YlpXckJ7FUiREdaTo0NlI3eZVeDtzIybqelLy4OSY/XDXbyGoJRvecMrmlexNydMbgCGkWNDZSFw/iRelU6eZLytB+sKJ+Q6vUt/4zKc9vjGmTvDpR0HtyhDQKjY14BsaDtPOZ96PyLYNJNSKY5L87EzJ4Iy/Z/MwPJMQnNDbiibF7BVmxPymP+0g7vQrR21+3xqX/ak4yOaamxD80NlKTu5GCLPss0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uec2TOlbnkwmESahTQzpJ26roqkRBxrbIgSFpuhGeKMzoQ3uidXNryNrpfBev7c8Ir9ZN6XLWHApcnr23clkEUNjW8SghQtFqOt6UvLq1pi8tEVpc/D1antclu9LyrERjusmZmhsRAN7wAEDrrALsvAemW6SWtDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIddDYCCHWQWMjhFgHjY0QYh00NkKIZYj8D3jm/DexJ3hWAAAAAElFTkSuQmCC"},oNmr:function(e,t,o){o("9Bbf")("Set")},oeOm:function(e,t,o){var s=o("7Doy");e.exports=function(e,t){return new(s(e))(t)}},pPW7:function(e,t,o){o("M6a0"),o("zQR9"),o("+tPU"),o("ttyz"),o("BDhv"),o("oNmr"),o("ioQ5"),e.exports=o("FeBl").Set},qo66:function(e,t,o){"use strict";var s=o("7KvD"),a=o("kM2E"),n=o("06OY"),r=o("S82l"),i=o("hJx8"),l=o("xH/j"),c=o("NWt+"),u=o("2KxR"),d=o("EqjI"),p=o("e6n0"),h=o("evD5").f,m=o("ALrJ")(0),f=o("+E39");e.exports=function(e,t,o,g,v,b){var C=s[e],I=C,A=v?"set":"add",y=I&&I.prototype,S={};return f&&"function"==typeof I&&(b||y.forEach&&!r(function(){(new I).entries().next()}))?(I=t(function(t,o){u(t,I,e,"_c"),t._c=new C,void 0!=o&&c(o,v,t[A],t)}),m("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in y&&(!b||"clear"!=e)&&i(I.prototype,e,function(o,s){if(u(this,I,e),!t&&b&&!d(o))return"get"==e&&void 0;var a=this._c[e](0===o?0:o,s);return t?this:a})}),b||h(I.prototype,"size",{get:function(){return this._c.size}})):(I=g.getConstructor(t,e,v,A),l(I.prototype,o),n.NEED=!0),p(I,e),S[e]=I,a(a.G+a.W+a.F,S),b||g.setStrong(I,e,v),I}},qsKc:function(e,t,o){"use strict";var s=o("P9l9"),a={name:"store-detail",components:{vueSelectStore:o("Ie7z").a},props:{storeInfo:{type:Object,default:function(){return{}}}},data:function(){return{areaChainName:"",location:"",areaOptions:{},imgs:[],uploadUrl:"/haoban-manage-web/upload-img",treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},selectType:"group"}},methods:{callSelector:function(){this.treeSet.dialogVisible=!0},handleSelectedList:function(e){this.storeInfo.departmentName=e[0].label,this.storeInfo.storeGroupId=e[0].id},selected:function(e){console.log(e);this.areaChainName=e.provinceName+"/"+e.cityName+"/"+e.countryName},uploadOnSuccess:function(e,t){console.log(e),e.file.url=e.res.result[0].qcloudImageUrl,t.push(e.file)},sortImg:function(){},deleteImage:function(){},save:function(){var e=this,t=e.location.split(",");e.storeInfo.longitude=t[0],e.storeInfo.latitude=2!==t.length?"":t[1],e.storeInfo.managerPhone=e.storeInfo.managerPhoneNumber,e.storeInfo.areaChainName=e.areaOptions.provinceName+"/"+e.areaOptions.cityName+"/"+e.areaOptions.countryName;var o=e.storeInfo,a=[];e.imgs.forEach(function(e){a.push(e.url)}),o.imageUrls=a.join(","),console.log(o,"params"),Object(s.a)("/haoban-manage-web/store/update",o).then(function(t){console.log(t,"eidt result"),1==t.data.errorCode?e.$message.success({message:"操作成功!"}):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},formatStoreInfo:function(e){var t=(e.areaChainName||"").split("/");this.areaOptions={provinceName:t[0],provinceId:e.provinceId,cityName:t[1],cityId:e.cityId,countryName:t[2],countyId:e.countyId},this.imgs=e.imageUrl?e.imageUrl.split(","):[];var o=[];this.imgs.forEach(function(e){o.push({url:e})}),this.imgs=o,this.location=e.longitude+","+e.latitude}},mounted:function(){this.formatStoreInfo(this.storeInfo)},watch:{$route:function(e){console.log(e,"to")}}},n={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"store-info"},[o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("门店信息")]),e._v(" "),o("el-form",{staticClass:"store-info-form info-form",attrs:{"label-width":"90px"}},[o("el-form-item",{attrs:{label:"门店名称",prop:"name"}},[o("el-input",{model:{value:e.storeInfo.storeName,callback:function(t){e.$set(e.storeInfo,"storeName",t)},expression:"storeInfo.storeName"}},[o("template",{slot:"suffix"},[e._v(e._s(e.storeInfo.storeName?e.storeInfo.storeName.length:0)+"/20")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"所属分组",prop:"departmentName"}},[o("el-input",{on:{focus:e.callSelector},model:{value:e.storeInfo.departmentName,callback:function(t){e.$set(e.storeInfo,"departmentName",t)},expression:"storeInfo.departmentName"}},[o("i",{staticClass:"el-input__icon el-icon-arrow-down",attrs:{slot:"suffix"},slot:"suffix"})])],1),e._v(" "),o("el-form-item",{attrs:{label:"门店图片(640*340)",prop:"imageUrls"}},[o("div",{staticClass:"member-upload-image"},[o("vue-office-upload-image",{attrs:{projectName:"haoban-manage-web",wxFlag:"0",actionUrl:e.uploadUrl,imageList:e.imgs,limitW:640,limitH:340,maxImageLength:5},on:{uploadOnSuccess:e.uploadOnSuccess,sortImg:e.sortImg,deleteImage:e.deleteImage}})],1)]),e._v(" "),o("el-form-item",{attrs:{label:"联系电话",prop:"phoneNumber"}},[o("el-input",{model:{value:e.storeInfo.phoneNumber,callback:function(t){e.$set(e.storeInfo,"phoneNumber",t)},expression:"storeInfo.phoneNumber"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"营业时间",prop:"phoneNumber"}},[o("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",step:"00:05",end:"24:00"}},model:{value:e.storeInfo.openTime,callback:function(t){e.$set(e.storeInfo,"openTime",t)},expression:"storeInfo.openTime"}}),e._v("\n ~\n "),o("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",step:"00:05",end:"24:00",minTime:e.storeInfo.openTime}},model:{value:e.storeInfo.closeTime,callback:function(t){e.$set(e.storeInfo,"closeTime",t)},expression:"storeInfo.closeTime"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"门店类型"}},[o("el-radio-group",{model:{value:e.storeInfo.storeType,callback:function(t){e.$set(e.storeInfo,"storeType",t)},expression:"storeInfo.storeType"}},[o("el-radio",{attrs:{label:0}},[e._v("自营")]),e._v(" "),o("el-radio",{attrs:{label:1}},[e._v("联营")]),e._v(" "),o("el-radio",{attrs:{label:2}},[e._v("代理")]),e._v(" "),o("el-radio",{attrs:{label:3}},[e._v("代销")]),e._v(" "),o("el-radio",{attrs:{label:4}},[e._v("托管")])],1)],1),e._v(" "),o("el-form-item",{attrs:{label:"门店地址"}},[o("vue-office-area",{attrs:{areaOptions:e.areaOptions,projectName:"haoban-web",postUrl:"/api-admin/dict-district-list"},on:{selected:e.selected}}),e._v(" "),o("el-input",{model:{value:e.storeInfo.postAddress,callback:function(t){e.$set(e.storeInfo,"postAddress",t)},expression:"storeInfo.postAddress"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.postAddress||"").length)+"/50")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"GPS坐标"}},[o("el-input",{staticClass:"m-r-10",model:{value:e.location,callback:function(t){e.location=t},expression:"location"}}),e._v(" "),o("a",{staticClass:"a-href",attrs:{href:"http://m.gpsspg.com/maps.htm",target:"_blank"}},[e._v("经纬度测试工具")])],1),e._v(" "),o("el-form-item",[o("template",{slot:"label"},[e._v("\n 门店代码\n "),o("i",{staticClass:"el-icon-question",staticStyle:{color:"#C0C4CC"}})]),e._v(" "),o("el-input",{model:{value:e.storeInfo.storeCode,callback:function(t){e.$set(e.storeInfo,"storeCode",t)},expression:"storeInfo.storeCode"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.storeCode||"").length)+"/20")])],2)],2)],1)],1),e._v(" "),o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("店长信息")]),e._v(" "),o("el-form",{staticClass:"store-manager-info-form info-form",attrs:{"label-width":"90px"}},[o("el-form-item",{attrs:{label:"店长姓名",prop:"name"}},[o("el-input",{model:{value:e.storeInfo.managerName,callback:function(t){e.$set(e.storeInfo,"managerName",t)},expression:"storeInfo.managerName"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerName||"").length)+"/10")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"手机号码",prop:"phone"}},[o("el-input",{attrs:{disabled:""},model:{value:e.storeInfo.managerPhoneNumber,callback:function(t){e.$set(e.storeInfo,"managerPhoneNumber",t)},expression:"storeInfo.managerPhoneNumber"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"店长性别"}},[o("el-radio-group",{model:{value:e.storeInfo.managerSex,callback:function(t){e.$set(e.storeInfo,"managerSex",t)},expression:"storeInfo.managerSex"}},[o("el-radio",{attrs:{label:1}},[e._v("男")]),e._v(" "),o("el-radio",{attrs:{label:2}},[e._v("女")])],1)],1),e._v(" "),o("el-form-item",{attrs:{label:"店长代码"}},[o("el-input",{model:{value:e.storeInfo.managerCode,callback:function(t){e.$set(e.storeInfo,"managerCode",t)},expression:"storeInfo.managerCode"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerCode||"").length)+"/20")])],2)],1)],1)],1),e._v(" "),o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("经营信息")]),e._v(" "),o("el-form",{staticClass:"operate-info-form info-form",attrs:{"label-width":"90px"}},[o("el-form-item",{attrs:{label:"特色服务"}},[o("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.specialService,callback:function(t){e.$set(e.storeInfo,"specialService",t)},expression:"storeInfo.specialService"}}),e._v(" "),o("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.specialService||"").length)+"/20")])],1),e._v(" "),o("el-form-item",{attrs:{label:"人均消费"}},[o("el-input",{model:{value:e.storeInfo.personCost,callback:function(t){e.$set(e.storeInfo,"personCost",t)},expression:"storeInfo.personCost"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.personCost+"").length)+"/10")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"推荐商品"}},[o("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.recommendGoods,callback:function(t){e.$set(e.storeInfo,"recommendGoods",t)},expression:"storeInfo.recommendGoods"}}),e._v(" "),o("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/100")])],1),e._v(" "),o("el-form-item",{attrs:{label:"品牌介绍"}},[o("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.brandDes,callback:function(t){e.$set(e.storeInfo,"brandDes",t)},expression:"storeInfo.brandDes"}}),e._v(" "),o("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/200")])],1)],1)],1),e._v(" "),o("div",{staticClass:"handle-area"},[o("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1),e._v(" "),o("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:e.selectType,forbidenList:[e.storeInfo.storeGroupId]},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var r=o("VU/8")(a,n,!1,function(e){o("KKTF")},null,null);t.a=r.exports},qyJz:function(e,t,o){"use strict";var s=o("+ZMJ"),a=o("kM2E"),n=o("sB3e"),r=o("msXi"),i=o("Mhyx"),l=o("QRG4"),c=o("fBQ2"),u=o("3fs2");a(a.S+a.F*!o("dY0y")(function(e){Array.from(e)}),"Array",{from:function(e){var t,o,a,d,p=n(e),h="function"==typeof this?this:Array,m=arguments.length,f=m>1?arguments[1]:void 0,g=void 0!==f,v=0,b=u(p);if(g&&(f=s(f,m>2?arguments[2]:void 0,2)),void 0==b||h==Array&&i(b))for(o=new h(t=l(p.length));t>v;v++)c(o,v,g?f(p[v],v):p[v]);else for(d=b.call(p),o=new h;!(a=d.next()).done;v++)c(o,v,g?r(d,f,[a.value,v],!0):a.value);return o.length=v,o}})},ttyz:function(e,t,o){"use strict";var s=o("9C8M"),a=o("LIJb");e.exports=o("qo66")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return s.def(a(this,"Set"),e=0===e?0:e,e)}},s)},z6bE:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIgAAADACAYAAADfsStTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDQ3OUQzQzQ3MDcyMTFFOEFFNkNGOTVBQ0YzMkU3NTUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDQ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8+q2V69c4nCg7JGJjY1/BNkkqO73e5nmRgKb96w1g4qg/CNmd3oJNarxhGblRRJ9UXX7DfzB/m0uo0zM2MBjTMDarN7NXA6/0dDP0gWa1ToCypYqCs3fUEylrNnxUfnlBtE+JXRcG+SsH1DrEr1D74zUNiQu3lKD0cbrtCAFUyWRe85r367wxdUz1ZVwlA/j9UzeiqHDjBKf3wtH6p58oN6YdV0TQGp+t9dZZ4Pjil77+m3HOlQMjldH9/lMjciDxKa3OlY1blkiRAJAEiCRBpsPU/AQYA8WB1pb8eLF8AAAAASUVORK5CYII="}});
//# sourceMappingURL=2.b4e74fc363cc570c4361.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([2],{"0V3y":function(e,t){},"4WTo":function(e,t,o){var s=o("NWt+");e.exports=function(e,t){var o=[];return s(e,!1,o.push,o,t),o}},"5zde":function(e,t,o){o("zQR9"),o("qyJz"),e.exports=o("FeBl").Array.from},"7Doy":function(e,t,o){var s=o("EqjI"),a=o("7UMu"),n=o("dSzd")("species");e.exports=function(e){var t;return a(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!a(t.prototype)||(t=void 0),s(t)&&null===(t=t[n])&&(t=void 0)),void 0===t?Array:t}},"7iKb":function(e,t){},"9Bbf":function(e,t,o){"use strict";var s=o("kM2E");e.exports=function(e){s(s.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},"9C8M":function(e,t,o){"use strict";var s=o("evD5").f,a=o("Yobk"),n=o("xH/j"),r=o("+ZMJ"),i=o("2KxR"),l=o("NWt+"),c=o("vIB/"),u=o("EGZi"),d=o("bRrM"),p=o("+E39"),h=o("06OY").fastKey,m=o("LIJb"),f=p?"_s":"size",g=function(e,t){var o,s=h(t);if("F"!==s)return e._i[s];for(o=e._f;o;o=o.n)if(o.k==t)return o};e.exports={getConstructor:function(e,t,o,c){var u=e(function(e,s){i(e,u,t,"_i"),e._t=t,e._i=a(null),e._f=void 0,e._l=void 0,e[f]=0,void 0!=s&&l(s,o,e[c],e)});return n(u.prototype,{clear:function(){for(var e=m(this,t),o=e._i,s=e._f;s;s=s.n)s.r=!0,s.p&&(s.p=s.p.n=void 0),delete o[s.i];e._f=e._l=void 0,e[f]=0},delete:function(e){var o=m(this,t),s=g(o,e);if(s){var a=s.n,n=s.p;delete o._i[s.i],s.r=!0,n&&(n.n=a),a&&(a.p=n),o._f==s&&(o._f=a),o._l==s&&(o._l=n),o[f]--}return!!s},forEach:function(e){m(this,t);for(var o,s=r(e,arguments.length>1?arguments[1]:void 0,3);o=o?o.n:this._f;)for(s(o.v,o.k,this);o&&o.r;)o=o.p},has:function(e){return!!g(m(this,t),e)}}),p&&s(u.prototype,"size",{get:function(){return m(this,t)[f]}}),u},def:function(e,t,o){var s,a,n=g(e,t);return n?n.v=o:(e._l=n={i:a=h(t,!0),k:t,v:o,p:s=e._l,n:void 0,r:!1},e._f||(e._f=n),s&&(s.n=n),e[f]++,"F"!==a&&(e._i[a]=n)),e},getEntry:g,setStrong:function(e,t,o){c(e,t,function(e,o){this._t=m(e,t),this._k=o,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))},o?"entries":"values",!o,!0),d(t)}}},"9sJW":function(e,t){},ALrJ:function(e,t,o){var s=o("+ZMJ"),a=o("MU5D"),n=o("sB3e"),r=o("QRG4"),i=o("oeOm");e.exports=function(e,t){var o=1==e,l=2==e,c=3==e,u=4==e,d=6==e,p=5==e||d,h=t||i;return function(t,i,m){for(var f,g,v=n(t),b=a(v),C=s(i,m,3),I=r(b.length),A=0,y=o?h(t,I):l?h(t,0):void 0;I>A;A++)if((p||A in b)&&(g=C(f=b[A],A,v),e))if(o)y[A]=g;else if(g)switch(e){case 3:return!0;case 5:return f;case 6:return A;case 2:y.push(f)}else if(u)return!1;return d?-1:c||u?u:y}}},BDhv:function(e,t,o){var s=o("kM2E");s(s.P+s.R,"Set",{toJSON:o("m9gC")("Set")})},Cygd:function(e,t){},F20E:function(e,t){},Gfms:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=o("lHA8"),a=o.n(s),n=o("Gu7T"),r=o.n(n),i=o("3Xzz"),l=(o("0xDb"),{name:"searchMenu",components:{},props:{treeData:{type:Array,required:!0},searchResult:{type:Object,required:!0},storeFrame:{type:Boolean,default:!1}},data:function(){return{searchKey:"",searchResultShow:!1,myProps:{children:"childrens",label:"label",disabled:"disabled"},menuData:[],menuDataMine:[],defaultOpen:[],shareArea:[]}},methods:{formatGroupData:function(e){var t=this,o=[],s=window.localStorage.getItem("userInfo"),a=JSON.parse(s).enterpriseId,n=this,r=!1;e.forEach(function(s,i){if(s.exportEnterpriseId==a){var l={title:s.title,sharedContactRelationId:s.sharedContactRelationId,id:s.sharedContactRelationId,shares:[s]};s.childrens=s.ext.sharedContactDepartmentStoreGroupList,s.childrens.forEach(function(e){n.formatGroup(e,1)}),r||(r=!0,n.$emit("getEmployeeFirst",s.childrens[0])),t.defaultOpen.push(s.childrens[0].id),t.defaultOpen.push(s.childrens[1].id),e.forEach(function(e){e.exportEnterpriseId==s.importEnterpriseId&&(e.childrens=e.ext.sharedContactDepartmentStoreGroupList,e.childrens.forEach(function(e){n.formatGroup(e,0)}),l.shares.push(e),t.defaultOpen.push(e.childrens[0].id),t.defaultOpen.push(e.childrens[1].id))}),o.push(l)}}),console.log(o),this.shareArea=o},formatGroup:function(e,t){var o=this;e.id=e.sharedContactGroupId,e.label=e.name,e.isMine=t,e.ext&&e.ext.sharedContactDepartmentStoreGroupList&&(e.childrens=e.ext.sharedContactDepartmentStoreGroupList,e.childrens.forEach(function(e){o.formatGroup(e,t)}))},clearFn:function(){this.searchResultShow=!1},searchFn:function(){if(""==this.searchKey)return this.searchResultShow=!1,!1;this.searchResultShow=!0,this.$emit("handleSearchKey",this.searchKey)},handleNodeClick:function(e,t){this.$emit("handleTreeSelection",e,t,"node")},selectEmployee:function(e){this.$emit("handleEmployeeSelection",e,"employee")},handleStoreClick:function(e){this.$emit("handleStoreSelection",e,"store")}},filter:{},computed:{employeeList:function(){var e=[];this.searchResult.employeeStoreList&&this.searchResult.employeeStoreList.forEach(function(t){t.ext.employeeClerk&&(t.employeeClerkId=t.ext.employeeClerk.employeeClerkId,t.name=t.employeeStoreName,e.push(t))});return e},storeList:function(){var e=[];this.searchResult.employeeStoreList&&this.searchResult.employeeStoreList.forEach(function(t){t.ext.store&&(t.storeId=t.employeeStoreId,t.name=t.employeeStoreName,e.push(t))});return e},departmentList:function(){return this.searchResult.groupList?this.searchResult.groupList:[]},brandList:function(){return this.searchResult.brandList?this.searchResult.brandList:[]}},watch:{treeData:function(e,t){this.formatGroupData(e)}},mounted:function(){this.formatGroupData(this.treeData)}}),c={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"searh-menu-container"},[o("div",{staticClass:"p-0-15"},[o("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:"姓名/手机号/部门名称",clearable:""},on:{clear:e.clearFn},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.searchFn(t):null}},model:{value:e.searchKey,callback:function(t){e.searchKey=t},expression:"searchKey"}}),e._v(" "),e._t("buttonBox")],2),e._v(" "),e.searchResultShow?o("div",{staticClass:"search-result-container m-t-15"},[e.departmentList.length>0?o("ul",{staticClass:"search-result-ul"},[o("p",{staticClass:"title"},[e._v("部门列表")]),e._v(" "),e._l(e.departmentList,function(t,s){return o("li",{key:s+"_"+t.groupId,staticClass:"group-item items",on:{click:function(o){e.handleNodeClick(t)}}},[o("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.storeList.length>0?o("ul",{staticClass:"search-result-ul"},[o("p",{staticClass:"title store-frame-title"},[e._v("门店列表")]),e._v(" "),e._l(e.storeList,function(t,s){return o("li",{key:s+"_"+t.storeId,staticClass:"group-item items",on:{click:function(o){e.handleStoreClick(t)}}},[o("i",{staticClass:"iconfont icon-tongshi-zuzhijiagou"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.employeeList.length>0?o("ul",{staticClass:"search-result-ul"},[o("p",{staticClass:"title"},[e._v("人员列表")]),e._v(" "),e._l(e.employeeList,function(t,s){return o("li",{key:s+"_"+t.employeeClerkId,staticClass:"person-item items",on:{click:function(o){e.selectEmployee(t)}}},[o("i",{staticClass:"iconfont icon-chengyuan"}),e._v("\n "+e._s(t.name)+"\n ")])})],2):e._e(),e._v(" "),e.departmentList.length<1&&e.employeeList.length<1?o("p",{staticClass:"no-data-tip"},[e._v("暂无数据")]):e._e()]):[e._l(e.shareArea,function(t){return[o("div",{key:t.sharedContactRelationId},[o("p",{staticClass:"area-title"},[e._v(e._s(t.title))]),e._v(" "),o("p",{staticClass:"share-title"},[e._v("我方共享给对方的所有人员")]),e._v(" "),o("div",{staticClass:"p-0-15"},[o("el-tree",{staticClass:"search-menu",attrs:{"node-key":"id","default-expanded-keys":e.defaultOpen,data:t.shares[0].childrens,"highlight-current":!0,"expand-on-click-node":!1,props:e.myProps},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.node;return t.data,o("span",{staticClass:"custom-tree-node"},[o("i",{staticClass:"iconfont",class:1==s.level?"icon-2zuzhijiagou":"icon-tongshi-zuzhijiagou"}),e._v(" "),o("span",[e._v(e._s(s.label))])])}}])})],1),e._v(" "),e._m(0,!0),e._v(" "),o("div",{staticClass:"p-0-15"},[e.searchResultShow?e._e():o("el-tree",{staticClass:"search-menu",attrs:{"node-key":"id","default-expanded-keys":e.defaultOpen,data:t.shares[1].childrens,"highlight-current":!0,"expand-on-click-node":!1,props:e.myProps},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var s=t.node;return t.data,o("span",{staticClass:"custom-tree-node"},[o("i",{staticClass:"iconfont",class:1==s.level?"icon-2zuzhijiagou":"icon-tongshi-zuzhijiagou"}),e._v(" "),o("span",[e._v(e._s(s.label))])])}}])})],1)])]})]],2)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("p",{staticClass:"share-title"},[this._v("对方共享给我方的所有人员"),t("i",{staticClass:"el-icon-upload"})])}]};var u=o("VU/8")(l,c,!1,function(e){o("F20E")},null,null).exports,d=o("P9l9"),p=o("c4uw"),h={name:"employeeInfo",components:{vueSelectEmployee:p.a},props:{perId:{type:[String,Number],default:""},isNew:{type:Boolean,default:!1}},data:function(){return{info:{name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1},treeData:{},disabled:!0,employeeInfo:{name:"",phoneNumber:"",departmentName:""},rules:{name:[{required:!0,message:"请输入员工姓名",trigger:"blur"},{min:2,max:10,message:"长度在 2 到 10 个字符",trigger:"blur"}],phoneNumber:[{required:!0,validator:function(e,t,o){if(!t)return o(new Error("请输入手机号"));return/^1[34578]\d{9}$/.test(t)?void 0:o(new Error("手机号格式不正确"))},trigger:"blur"}],departmentId:[{required:!0,message:"请选择部门",trigger:"change"}]},treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0}}},methods:{getGroupData:function(){var e=this;Object(d.a)("/haoban-manage-web/dept/deptListForCompany",{isStoreGroup:0}).then(function(t){var o=[],s=[];1==t.data.errorCode&&(o=t.data.result.departmentList||[],s=t.data.result.searchList||[]),e.treeData={treeData:o,personData:s},e.disabled=!1}).catch(function(e){console.log(e,"error")})},switchManagerMode:function(){console.log(this.info.managerMode)},callGroupSelector:function(){this.treeSet.dialogVisible=!0},handleSelectedList:function(e){console.log(e),this.info.departmentId=e.id,this.info.departmentName=e.label},getEmployInfo:function(){var e=this,t={id:e.$route.query.employeeClerkId?e.$route.query.employeeClerkId:e.perId};Object(d.a)("/haoban-manage-web/emp/findOne",t).then(function(t){console.log(t,"employeeDetail"),e.info=t.data.result,e.info.managerMode=!!t.data.result.managerMode}).catch(function(e){console.log(e,"error")})}},beforeMount:function(){this.getGroupData(),this.isNew||this.getEmployInfo()},watch:{perId:function(e,t){this.getEmployInfo()}}},m={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"employee-info"},[o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("员工信息")]),e._v(" "),o("el-form",{staticClass:"employee-info-form",attrs:{model:e.info,"label-width":"70px"}},[o("el-form-item",{attrs:{label:"姓名:",prop:"name"}},[o("p",[e._v(e._s(e.info.name))])]),e._v(" "),o("el-form-item",{attrs:{label:"手机号:",prop:"phoneNumber"}},[o("p",[e._v(e._s(e.info.phoneNumber))])]),e._v(" "),o("el-form-item",{attrs:{label:"部门:",prop:"departmentId"}},[o("p",[e._v(e._s(e.info.departmentName))])]),e._v(" "),o("el-form-item",{attrs:{label:"职位:",prop:"positionName"}},[o("p",[e._v(e._s(e.info.positionName))])])],1)],1),e._v(" "),o("vue-select-employee",{ref:"parentSelector",attrs:{treeSet:e.treeSet,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var f=o("VU/8")(h,m,!1,function(e){o("0V3y")},null,null).exports,g=o("qsKc"),v={name:"employee-table",props:{employeeList:{type:Array,default:function(){return[]}},headList:{type:Array,default:function(){return["selection","name","phoneNumber","positionName","activationStatus"]}}},data:function(){return{tableData:[]}},methods:{selectMember:function(e){this.$emit("selectMember",e)},linkToDetail:function(e){console.log(e),window.location.href="#/employee?employeeClerkId="+e.employeeClerkId}},mounted:function(){var e=this.employeeList,t=[];console.log(e," this.list"),e.forEach(function(e){e.ext.employeeClerk.sharedContactEmployeeStoreId=e.sharedContactEmployeeStoreId,t.push(e.ext.employeeClerk)}),this.tableData=t},watch:{employeeList:function(e){var t=[];console.log(e," this.list"),e.forEach(function(e){e.ext.employeeClerk.sharedContactEmployeeStoreId=e.sharedContactEmployeeStoreId,t.push(e.ext.employeeClerk)}),this.tableData=t}}},b={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"employee-table"},[o("el-table",{attrs:{height:"495",data:e.tableData},on:{"selection-change":e.selectMember,"row-click":e.linkToDetail}},[o("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),o("el-table-column",{attrs:{label:"姓名",prop:"name"}}),e._v(" "),o("el-table-column",{attrs:{label:"手机号",prop:"phoneNumber"}}),e._v(" "),o("el-table-column",{attrs:{label:"职位",prop:"positionName"}}),e._v(" "),o("el-table-column",{attrs:{label:"状态"},scopedSlots:e._u([{key:"default",fn:function(e){return[o("div",{staticClass:"status-icon",class:1==e.row.activationStatus?"is-active":""},[o("i",{staticClass:"iconfont icon-shouji"})])]}}])})],1)],1)},staticRenderFns:[]};var C=o("VU/8")(v,b,!1,function(e){o("9sJW")},null,null).exports,I={name:"clerkView",props:{tableData:{type:Array,default:function(){return[]}}},data:function(){return{storeType:0,typeArr:["全部类型","自营","联营","代理(加盟)","代销","托管"],storeStatus:"",showChildMember:!1}},methods:{selectMember:function(e){this.$emit("selectMember",e)}},mounted:function(){this.tableData.forEach(function(e){e.storeCode=e.ext.store.storeCode})},watch:{tableData:function(e){e.forEach(function(e){e.storeCode=e.ext.store.storeCode})}}},A={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("el-table",{ref:"clerkViewTable",staticClass:"diy-table",attrs:{height:"445",data:e.tableData},on:{"selection-change":e.selectMember}},[o("el-table-column",{attrs:{type:"selection",width:"42"}}),e._v(" "),o("el-table-column",{attrs:{label:"门店",width:"175",prop:"employeeStoreName"}}),e._v(" "),o("el-table-column",{attrs:{label:"门店code",prop:"storeCode",width:"175"}}),e._v(" "),o("el-table-column",{scopedSlots:e._u([{key:"header",fn:function(t){return[o("ul",{staticClass:"diy-header"},[o("li",{staticClass:"name"},[e._v("姓名")]),e._v(" "),o("li",{staticClass:"phone"},[e._v("手机号")]),e._v(" "),o("li",{staticClass:"position"},[e._v("职位")]),e._v(" "),o("li",{staticClass:"status"},[e._v("状态")])])]}},{key:"default",fn:function(t){return[o("ul",e._l(t.row.ext.store.ext.employeeClerkList,function(t){return o("li",{key:t.employeeClerkId,staticClass:"clerk-obj-li"},[o("div",{staticClass:"clerk-name clerk-cell"},[e._v(e._s(t.name))]),e._v(" "),o("div",{staticClass:"clerk-cell clerk-phone"},[e._v(e._s(t.phoneNumber))]),e._v(" "),o("div",{staticClass:"clerk-cell clerk-position"},[e._v(e._s(t.positionName))]),e._v(" "),o("div",{staticClass:"clerk-cell clerk-status"},[o("div",{staticClass:"status-icon",class:1==t.activationStatus?"is-active":""},[o("i",{staticClass:"iconfont icon-shouji"})])])])}),0)]}}])})],1)],1)},staticRenderFns:[]};var y=o("VU/8")(I,A,!1,function(e){o("Zmvk")},null,null).exports,S={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"guid-div"},[this._m(0),this._v(" "),this._m(1),this._v(" "),t("div",{staticStyle:{"text-align":"center","margin-top":"50px"}},[t("a",{attrs:{href:"#/shareCode"}},[t("el-button",{attrs:{type:"primary"}},[this._v("建立共享企业")])],1)])])},staticRenderFns:[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"guid"},[s("p",{staticClass:"title"},[e._v("共享通讯录操作引导")]),e._v(" "),s("div",{staticClass:"flex-div"},[s("div",{staticClass:"step"},[s("img",{attrs:{src:o("z6bE")}}),e._v(" "),s("p",[e._v("点击建立共享企业,下载二维码 发给所要建立共享的企业")])]),e._v(" "),s("div",{staticClass:"step"},[s("img",{attrs:{src:o("NBVb")}}),e._v(" "),s("p",[e._v("从企业通讯录中添加对方可见我方 企业的成员及门店")])]),e._v(" "),s("div",{staticClass:"step"},[s("img",{attrs:{src:o("NXrz")}}),e._v(" "),s("p",[e._v("添加完成之后必须点击发布,所添加或 修改的信息才会同步至对方共享通讯录中")])])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"guid"},[t("p",{staticClass:"des"},[this._v("应用场景")]),this._v(" "),t("p",{staticClass:"des"},[this._v("适用于集团公司与子公司建立通讯录部分成员共享机制")]),this._v(" "),t("p",{staticClass:"des"},[this._v("适用于总部与代理商、加盟商建立通讯录部分成员共享机制")])])}]};var w=o("VU/8")(null,S,!1,function(e){o("TILD")},null,null).exports,N={name:"addNewGuid",props:{groupInfo:{type:Object,required:!0}},methods:{addNew:function(){this.groupInfo.isStoreGroup?this.$emit("addStoreEmployee"):this.$emit("addEmployee")}}},D={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tip-area"},[t("img",{attrs:{src:o("mxqO")}}),this._v(" "),this.groupInfo.isMine?[t("p",[this._v("暂无成员,开始添加成员吧")]),this._v(" "),t("el-button",{staticClass:"add-new-btn",on:{click:this.addNew}},[this._v("添加成员")])]:t("p",[this._v("暂无成员,联系建立共享企业的管理员,对方添加后即可查看")])],2)},staticRenderFns:[]};var E=o("VU/8")(N,D,!1,function(e){o("7iKb")},null,null).exports,k=o("Ie7z"),Y={name:"permission-set",components:{vueSelectStore:k.a,vueSelectEmployee:p.a},props:{groupInfo:{type:Object,required:!0}},data:function(){return{visibleList:[],visibleStoreList:[],treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!1},perTreeSet:{isSelectPerson:!0,dialogVisible:!1,isSingle:!1},dialogVisible:!0,changed:""}},methods:{getVisibleRange:function(){var e=this,t={sharedContactGroupId:e.groupInfo.sharedContactGroupId};Object(d.a)("/haoban-manage-web/shared-contact/get-shared-group-visible-range",t).then(function(t){console.log(t,"range"),1==t.data.errorCode?e.formatList(t.data.result):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},formatList:function(e){var t=[],o=[];e.forEach(function(e){e.label=e.name,1==e.type?(e.employeeClerkId=e.id,t.push(e)):(e.storeId=e.id,o.push(e))}),this.visibleList=t,this.visibleStoreList=o},delCurrent:function(e,t){var o=this[t].indexOf(e);this[t].splice(o,1)},callSelector:function(){this.treeSet.dialogVisible=!0},callPerSelector:function(){this.changed="permission",this.perTreeSet.dialogVisible=!0},setSharedGroupVisible:function(){var e=this,t=[];e.visibleList.concat(e.visibleStoreList).forEach(function(e){var o=e.employeeClerkId?1:2;t.push({id:e.id,type:o})});var o={visibleMemberList:[{memberList:t,sharedContactGroupId:e.groupInfo.id}]};Object(d.b)("/haoban-manage-web/shared-contact/set-shared-group-visible-range",o).then(function(t){console.log(t,"result"),1==t.data.errorCode?(e.$message.success({message:t.data.message}),e.getVisibleRange()):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelSet:function(){this.$emit("cancelSet")},handleSelectedList:function(e){this.visibleStoreList=e},handlePerSelectedList:function(e){this.visibleList=e}},beforeMount:function(){this.getVisibleRange()},mounted:function(){console.log(this.groupInfo,"groupInfo")}},G={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"per-set-div"},[o("el-form",{attrs:{"label-width":"150px"}},[o("el-form-item",{attrs:{label:"当前范围:"}},[o("span",[e._v(e._s(e.groupInfo.label))])]),e._v(" "),o("el-form-item",{attrs:{label:"设置可见范围(员工):"}},[o("ul",{staticClass:"particular-list"},[e._l(e.visibleList,function(t,s){return[t.employeeClerkId?o("li",{key:s+"_"+t.id,staticClass:"item person-item"},[t.headPic?o("img",{attrs:{src:t.headPic}}):o("div",{staticClass:"replace-head-img"},[o("i",{staticClass:"iconfont icon-yewuduanmorentouxian"})]),e._v(" "),o("p",{staticClass:"name"},[e._v(e._s(t.label))]),e._v(" "),o("i",{staticClass:"el-icon-circle-close",on:{click:function(o){e.delCurrent(t,"visibleList")}}})]):e._e()]}),e._v(" "),o("li",{staticClass:"item J_add-btn",on:{click:e.callPerSelector}},[o("i",{staticClass:"el-icon-plus"})])],2)]),e._v(" "),o("el-form-item",{attrs:{label:"设置可见范围(门店):"}},[o("ul",{staticClass:"particular-list"},[e._l(e.visibleStoreList,function(t,s){return[o("li",{key:s+"_"+t.id,staticClass:"item group-item"},[e._v("\n "+e._s(t.label)+"\n "),o("i",{staticClass:"el-icon-circle-close",on:{click:function(o){e.delCurrent(t,"visibleStoreList")}}})])]}),e._v(" "),o("li",{staticClass:"item J_add-btn",on:{click:e.callSelector}},[o("i",{staticClass:"el-icon-plus"})])],2)])],1),e._v(" "),o("p",{staticClass:"m-t-20"},[o("el-button",{attrs:{type:"primary"},on:{click:e.setSharedGroupVisible}},[e._v("确定")]),e._v(" "),o("el-button",{on:{click:e.cancelSet}},[e._v("取消")])],1),e._v(" "),o("vue-select-store",{ref:"storeSelector",attrs:{defaultList:e.visibleStoreList,treeSet:e.treeSet,selectType:"store"},on:{handleSelectedList:e.handleSelectedList}}),e._v(" "),o("vue-select-employee",{ref:"selectEmployee",attrs:{defaultSelection:e.visibleList,onlyPerson:!0,treeSet:e.perTreeSet,changed:e.changed},on:{handleSelectedList:e.handlePerSelectedList}})],1)},staticRenderFns:[]};var R=o("VU/8")(Y,G,!1,function(e){o("Cygd")},null,null).exports,L={name:"shareContact",components:{navCrumb:i.a,searchMenu:u,employeeInfo:f,employeeList:C,guidDiv:w,clerkView:y,vueSelectEmployee:p.a,vueSelectStore:k.a,permissionSet:R,addNewGuid:E,storeInfo:g.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"共享通讯录",path:""}],showChildMember:!1,setDisabledDel:!1,menuData:[],pageSize:20,currentPage:1,selectedList:[],total:0,loading:!0,groupInfo:{groupName:"",departmentId:""},employeeList:[],searchResult:{},showEmployee:!1,perId:"",sharedContactRelationId:[],shareMember:!1,shareSale:!1,disabled:!0,treeData:{},sldType:1,dlgTitle:"",dlgShow:!1,editDlgShow:!1,newGroupName:"",storeInfo:{}}},created:function(){},beforeMount:function(){this.getShareRelation()},methods:{subSonGroupAdd:function(e){var t=this;if(""==t.newGroupName)t.$message.error({message:"名称不能为空"});else{var o={parentSharedContactGroupId:e?t.groupInfo.parentId:t.groupInfo.id,name:t.newGroupName};e?o.sharedContactGroupId=t.groupInfo.id:delete o.sharedContactGroupId,Object(d.a)("/haoban-manage-web/shared-contact/set-shared-group",o).then(function(e){1==e.data.errorCode?(t.$message.success({message:e.data.message}),t.getShareRelation(),t.dlgShow=!1,t.editDlgShow=!1):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})}},callEmployeeSelector:function(){this.sldType=1,this.$refs.selectEmployee.treeSet.dialogVisible=!0},handleStoreSelectedList:function(){},handleSelectedList:function(e){var t=this,o=[];e.forEach(function(e){o.push({id:e.id,type:t.sldType})});var s={overwrite:!1,sharedContactMemberList:[{sharedContactGroupId:t.groupInfo.id,memberList:o}]};Object(d.b)("/haoban-manage-web/shared-contact/add-shared-member",s).then(function(e){1==e.data.errorCode?(t.$message.success({message:e.data.message}),t.getEmployee()):t.$message.error({message:e.data.message})}).catch(function(e){t.$message.error({message:e.message})})},handleSizeChange:function(e){this.pageSize=e,this.getEmployee()},handleCurrentChange:function(e){this.currentPage=e,this.getEmployee()},cancelSet:function(){console.log("Cancel"),this.showEmployee=!1},subShareSet:function(){var e=this,t={visibleData:{shareMember:1*e.shareMember,shareSale:1*e.shareSale,sharedContactRelationId:e.sharedContactRelationId.join(",")}};Object(d.b)("/haoban-manage-web/shared-contact/set-shared-store-visible-data",t).then(function(t){e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},handleSearchKey:function(e){var t=this,o={keyword:e};Object(d.a)("/haoban-manage-web/shared-contact/search-shared-contact",o).then(function(e){console.log(e,"search result"),e.data.result&&(t.searchResult=e.data.result)}).catch(function(e){})},handleTreeSelection:function(e,t,o){console.log(e,t,"selection"),this.groupInfo=e,this.groupInfo.departmentId=e.id,this.groupInfo.groupName=e.name,this.showEmployee=o,this.loading=!0,this.getEmployee()},handleEmployeeSelection:function(e,t){this.perId=e.employeeClerkId,this.showEmployee=t},handleStoreSelection:function(e,t){console.log(e,"storeInfo");var o=this,s={storeId:e.storeId};Object(d.a)("/haoban-manage-web/store/findStoreById",s).then(function(e){1==e.data.errorCode?(o.showEmployee=t,o.storeInfo=e.data.result):o.$message.error({message:e.data.message})})},selectMember:function(e){this.selectedList=e},delMembers:function(){var e=this;e.$confirm("是否要删除选中的员工?","提示",{type:"warning"}).then(function(){var t=[];e.selectedList.forEach(function(e){t.push(e.sharedContactEmployeeStoreId)});var o={sharedContactEmployeeStoreIdList:t};Object(d.b)("/haoban-manage-web/shared-contact/del-shared-member",o).then(function(t){1==t.data.errorCode?(e.$message.success({message:t.data.message}),e.getEmployee()):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})})},setChildMemberShow:function(){this.getEmployee()},getGroupData:function(e){var t=this;Object(d.a)("/haoban-manage-web/shared-contact/find-shared-group",{}).then(function(e){e.data.result.forEach(function(e){e.groupId=e.sharedContactGroupId}),t.menuData=e.data.result||[],t.menuData.some(function(e){return 0==e.level&&(t.groupInfo.departmentId=e.groupId,t.groupInfo.groupName=e.name),0==e.level}),t.getEmployee(),t.getRelationIds(t.menuData)}).catch(function(e){})},getRelationIds:function(e){var t=window.localStorage.getItem("userInfo"),o=JSON.parse(t).enterpriseId,s=[];e.forEach(function(e){0==e.level&&e.enterpriseId!=o&&s.push(e.enterpriseId)}),s=[].concat(r()(new a.a(s))),this.sharedContactRelationId=s},getShareRelation:function(){var e=this;Object(d.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{searchGroup:1}).then(function(t){console.log(t,"getShareRelation"),e.menuData=t.data.result||[]}).catch(function(t){e.$message.error({message:t.message})})},getEmployeeFirst:function(e){this.groupInfo=e,this.getEmployee()},getEmployee:function(){var e=this,t={sharedContactGroupId:e.groupInfo.id,findChildren:e.showChildMember};Object(d.b)("/haoban-manage-web/shared-contact/find-shared-member",t).then(function(t){var o=[],s=0;1==t.data.errorCode&&(o=t.data.result.list||[],s=t.data.result.pageInfo.total||0),e.employeeList=o,e.total=s,e.loading=!1}).catch(function(t){e.loading=!1})}},computed:{disabledDel:function(){return this.selectedList.length<1&&!this.setDisabledDel}}},x={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"common-set-wrap"},[o("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),o("div",{staticClass:"right-content"},[o("div",{staticClass:"right-box"},[o("div",{staticClass:"administrative-estrutura-container"},[e.menuData.length>0?[o("search-menu",{attrs:{treeData:e.menuData,searchResult:e.searchResult},on:{handleSearchKey:e.handleSearchKey,handleTreeSelection:e.handleTreeSelection,handleEmployeeSelection:e.handleEmployeeSelection,handleStoreSelection:e.handleStoreSelection,getEmployeeFirst:e.getEmployeeFirst}}),e._v(" "),"employee"==e.showEmployee?o("employee-info",{attrs:{perId:e.perId}}):"store"==e.showEmployee?o("store-info",{ref:"store_info",attrs:{storeInfo:e.storeInfo}}):"permission"==e.showEmployee?o("permission-set",{attrs:{groupInfo:e.groupInfo},on:{cancelSet:e.cancelSet}}):o("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"af-right-container"},[o("div",{staticClass:"af-right-header"},[o("span",{staticClass:"title-span"},[e._v(e._s(e.groupInfo.groupName)+"("+e._s(e.total)+"人)"),o("span",{staticClass:"not-show-app"},[e._v("本企业通讯录APP中不展示")])]),e._v(" "),e.groupInfo.isMine?[1==e.groupInfo.isStoreGroup?o("span",{staticClass:"handle-area"},[o("a",{staticClass:"a-href",on:{click:function(t){e.dlgTitle="分组",e.dlgShow=!0}}},[e._v("添加子分组")]),e._v(" "),o("span",{staticClass:"hurdle"}),e._v(" "),0!=e.groupInfo.level?o("a",{staticClass:"J_edit a-href",on:{click:function(t){e.dlgTitle="分组",e.editDlgShow=!0}}},[e._v("编辑")]):e._e()]):o("span",{staticClass:"handle-area"},[o("a",{staticClass:"J_add-child a-href",on:{click:function(t){e.dlgTitle="部门",e.dlgShow=!0}}},[e._v("添加子部门")]),e._v(" "),0!=e.groupInfo.level?[o("span",{staticClass:"hurdle"}),e._v(" "),o("a",{staticClass:"J_edit a-href",on:{click:function(t){e.dlgTitle="部门",e.editDlgShow=!0}}},[e._v("编辑")])]:e._e()],2)]:[o("a",{staticClass:"a-href fr",on:{click:function(t){e.showEmployee="permission"}}},[e._v("设置可见权限")])]],2),e._v(" "),e.employeeList.length>0?[o("div",{staticClass:"af-right-button-box"},[e.groupInfo.isMine?[1==e.groupInfo.isStoreGroup&&1*e.groupInfo.level>0?o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.$refs.storeSelector.treeSet.dialogVisible=!0,e.sldType=2}}},[e._v("添加门店")]):o("el-button",{attrs:{type:"primary"},on:{click:e.callEmployeeSelector}},[e._v("添加成员")]),e._v(" "),o("el-button",{attrs:{type:"danger",plain:"",disabled:e.disabledDel},on:{click:e.delMembers}},[e._v("批量删除")])]:e._e(),e._v(" "),o("el-button",{staticClass:"J_show-children"},[o("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}}),o("a",{staticClass:"a-href"},[e._v("显示子成员")])],1)],2),e._v(" "),1==e.groupInfo.isStoreGroup?o("clerk-view",{attrs:{tableData:e.employeeList},on:{selectMember:e.selectMember}}):o("employee-list",{attrs:{employeeList:e.employeeList},on:{selectMember:e.selectMember}}),e._v(" "),o("div",{staticClass:"pagination"},[o("el-pagination",{attrs:{background:"","page-sizes":[20,40,60,80],"page-size":e.pageSize,"current-page":e.currentPage,layout:"total, sizes, prev, pager, next",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)]:[o("div",{staticClass:"af-right-button-box"},[e.groupInfo.isMine?[1==e.groupInfo.isStoreGroup&&1*e.groupInfo.level>0?o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.$refs.storeSelector.treeSet.dialogVisible=!0,e.sldType=2}}},[e._v("添加门店")]):o("el-button",{attrs:{type:"primary"},on:{click:e.callEmployeeSelector}},[e._v("添加成员")])]:e._e(),e._v(" "),o("el-button",{staticClass:"J_show-children"},[o("el-checkbox",{staticClass:"m-r-10",on:{change:e.setChildMemberShow},model:{value:e.showChildMember,callback:function(t){e.showChildMember=t},expression:"showChildMember"}}),o("a",{staticClass:"a-href"},[e._v("显示子成员")])],1)],2),e._v(" "),o("add-new-guid",{attrs:{groupInfo:e.groupInfo},on:{addEmployee:e.callEmployeeSelector,addStoreEmployee:function(t){e.$refs.storeSelector.treeSet.dialogVisible=!0,e.sldType=2}}})]],2)]:[o("guid-div")]],2)])]),e._v(" "),o("el-dialog",{attrs:{title:"添加子"+e.dlgTitle,visible:e.dlgShow,width:"30%"},on:{"update:visible":function(t){e.dlgShow=t}}},[o("div",{staticStyle:{padding:"30px"}},[o("el-input",{attrs:{placeholder:"请输入"+e.dlgTitle+"名称"},model:{value:e.newGroupName,callback:function(t){e.newGroupName=t},expression:"newGroupName"}})],1),e._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.dlgShow=!1}}},[e._v("取 消")]),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.subSonGroupAdd(0)}}},[e._v("确 定")])],1)]),e._v(" "),o("el-dialog",{attrs:{title:"编辑"+e.dlgTitle,visible:e.editDlgShow,width:"30%"},on:{"update:visible":function(t){e.editDlgShow=t}}},[o("div",{staticStyle:{padding:"30px"}},[o("el-input",{attrs:{placeholder:"请输入"+e.dlgTitle+"名称"},model:{value:e.newGroupName,callback:function(t){e.newGroupName=t},expression:"newGroupName"}})],1),e._v(" "),o("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:function(t){e.dlgShow=!1}}},[e._v("取 消")]),e._v(" "),o("el-button",{attrs:{type:"primary"},on:{click:function(t){e.subSonGroupAdd(1)}}},[e._v("确 定")])],1)]),e._v(" "),o("vue-select-employee",{ref:"selectEmployee",attrs:{onlyPerson:!0,treeData:e.treeData},on:{handleSelectedList:e.handleSelectedList}}),e._v(" "),o("vue-select-store",{ref:"storeSelector",attrs:{selectType:"store"},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var M=o("VU/8")(L,x,!1,function(e){o("YH7X")},null,null);t.default=M.exports},Gu7T:function(e,t,o){"use strict";t.__esModule=!0;var s,a=o("c/Tr"),n=(s=a)&&s.__esModule?s:{default:s};t.default=function(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return(0,n.default)(e)}},HpRW:function(e,t,o){"use strict";var s=o("kM2E"),a=o("lOnJ"),n=o("+ZMJ"),r=o("NWt+");e.exports=function(e){s(s.S,e,{from:function(e){var t,o,s,i,l=arguments[1];return a(this),(t=void 0!==l)&&a(l),void 0==e?new this:(o=[],t?(s=0,i=n(l,arguments[2],2),r(e,!1,function(e){o.push(i(e,s++))})):r(e,!1,o.push,o),new this(o))}})}},KKTF:function(e,t){},LIJb:function(e,t,o){var s=o("EqjI");e.exports=function(e,t){if(!s(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},NBVb:function(e,t,o){e.exports=o.p+"static/img/guid2.c4a077f.png"},NXrz:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADACAYAAACDO2h3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1s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zetb+lU136xV93Q3NEzps9tPJ+27axYkNrpCgABHGeRsGVqJgFQApo2QikuylGmZaZRaVoKlaDdWMxQKgoNU/outtPFWfiqSo2ArQa2E8BtbetSK6r20xe1LaqRV5u4ndqhWTuANDXxRFFV814OmPZIH6/NwPEaa9ni3VwjLmROSuZXEMJg/Oqm+It4sNpVvAxfIZm8wqTIFmLKhmjGVTVHx20D+TGzxeCNEPg8oXStrAvtBGC+lIvnlG8nAJulPDynhMt8MNqATVoIL21A92vAbcDBCkLaNJMo2ENRsJ0ADKo95CSzQow7naUf0BlStRqtPaI8TVEyh7ciT15GQuzp3cJGQsikleLtAGCkol1ccCw4dBzYc2PBgyye5rJb2wbNp5k/2SeTZsMnMDjsE6lgelU0c0U2zACqSL9m3RF/RzPVTief5rAbHXxijcgx+YAh5g/5jBoBV+jfoZCpTn560lzuGbpIZGuZmowgEgmAIgFQJBIARQKgSKSn/wswAJ9xy6rr0P+IAAAAAElFTkSuQmCC"},TILD:function(e,t){},YH7X:function(e,t){},Zmvk:function(e,t){},"c/Tr":function(e,t,o){e.exports={default:o("5zde"),__esModule:!0}},fBQ2:function(e,t,o){"use strict";var s=o("evD5"),a=o("X8DO");e.exports=function(e,t,o){t in e?s.f(e,t,a(0,o)):e[t]=o}},ioQ5:function(e,t,o){o("HpRW")("Set")},lHA8:function(e,t,o){e.exports={default:o("pPW7"),__esModule:!0}},m9gC:function(e,t,o){var s=o("RY/4"),a=o("4WTo");e.exports=function(e){return function(){if(s(this)!=e)throw TypeError(e+"#toJSON isn't generic");return a(this)}}},mxqO:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATYAAACPCAYAAABwDvegAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAABMGSURBVHhe7Z2Ld1TVFcb7F7bWVttqfbS2q+/WR1cfWrUvrFYryFNFGxAUITwTQEAkCYRHIEACJJAQ3o9AlMxk3u/d853k1juTk5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bf")("Set")},oeOm:function(e,t,o){var s=o("7Doy");e.exports=function(e,t){return new(s(e))(t)}},pPW7:function(e,t,o){o("M6a0"),o("zQR9"),o("+tPU"),o("ttyz"),o("BDhv"),o("oNmr"),o("ioQ5"),e.exports=o("FeBl").Set},qo66:function(e,t,o){"use strict";var s=o("7KvD"),a=o("kM2E"),n=o("06OY"),r=o("S82l"),i=o("hJx8"),l=o("xH/j"),c=o("NWt+"),u=o("2KxR"),d=o("EqjI"),p=o("e6n0"),h=o("evD5").f,m=o("ALrJ")(0),f=o("+E39");e.exports=function(e,t,o,g,v,b){var C=s[e],I=C,A=v?"set":"add",y=I&&I.prototype,S={};return f&&"function"==typeof I&&(b||y.forEach&&!r(function(){(new I).entries().next()}))?(I=t(function(t,o){u(t,I,e,"_c"),t._c=new C,void 0!=o&&c(o,v,t[A],t)}),m("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in y&&(!b||"clear"!=e)&&i(I.prototype,e,function(o,s){if(u(this,I,e),!t&&b&&!d(o))return"get"==e&&void 0;var a=this._c[e](0===o?0:o,s);return t?this:a})}),b||h(I.prototype,"size",{get:function(){return this._c.size}})):(I=g.getConstructor(t,e,v,A),l(I.prototype,o),n.NEED=!0),p(I,e),S[e]=I,a(a.G+a.W+a.F,S),b||g.setStrong(I,e,v),I}},qsKc:function(e,t,o){"use strict";var s=o("P9l9"),a={name:"store-detail",components:{vueSelectStore:o("Ie7z").a},props:{storeInfo:{type:Object,default:function(){return{}}}},data:function(){return{areaChainName:"",location:"",areaOptions:{},imgs:[],uploadUrl:"/haoban-manage-web/upload-img",treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0},selectType:"group"}},methods:{callSelector:function(){this.treeSet.dialogVisible=!0},handleSelectedList:function(e){this.storeInfo.departmentName=e[0].label,this.storeInfo.storeGroupId=e[0].id},selected:function(e){console.log(e);this.areaChainName=e.provinceName+"/"+e.cityName+"/"+e.countryName},uploadOnSuccess:function(e,t){console.log(e),e.file.url=e.res.result[0].qcloudImageUrl,t.push(e.file)},sortImg:function(){},deleteImage:function(){},save:function(){var e=this,t=e.location.split(",");e.storeInfo.longitude=t[0],e.storeInfo.latitude=2!==t.length?"":t[1],e.storeInfo.managerPhone=e.storeInfo.managerPhoneNumber,e.storeInfo.areaChainName=e.areaOptions.provinceName+"/"+e.areaOptions.cityName+"/"+e.areaOptions.countryName;var o=e.storeInfo,a=[];e.imgs.forEach(function(e){a.push(e.url)}),o.imageUrls=a.join(","),console.log(o,"params"),Object(s.a)("/haoban-manage-web/store/update",o).then(function(t){console.log(t,"eidt result"),1==t.data.errorCode?e.$message.success({message:"操作成功!"}):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},formatStoreInfo:function(e){var t=(e.areaChainName||"").split("/");this.areaOptions={provinceName:t[0],provinceId:e.provinceId,cityName:t[1],cityId:e.cityId,countryName:t[2],countyId:e.countyId},this.imgs=e.imageUrl?e.imageUrl.split(","):[];var o=[];this.imgs.forEach(function(e){o.push({url:e})}),this.imgs=o,this.location=e.longitude+","+e.latitude}},mounted:function(){this.formatStoreInfo(this.storeInfo)},watch:{$route:function(e){console.log(e,"to")}}},n={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"store-info"},[o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("门店信息")]),e._v(" "),o("el-form",{staticClass:"store-info-form info-form",attrs:{"label-width":"90px"}},[o("el-form-item",{attrs:{label:"门店名称",prop:"name"}},[o("el-input",{model:{value:e.storeInfo.storeName,callback:function(t){e.$set(e.storeInfo,"storeName",t)},expression:"storeInfo.storeName"}},[o("template",{slot:"suffix"},[e._v(e._s(e.storeInfo.storeName?e.storeInfo.storeName.length:0)+"/20")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"所属分组",prop:"departmentName"}},[o("el-input",{on:{focus:e.callSelector},model:{value:e.storeInfo.departmentName,callback:function(t){e.$set(e.storeInfo,"departmentName",t)},expression:"storeInfo.departmentName"}},[o("i",{staticClass:"el-input__icon el-icon-arrow-down",attrs:{slot:"suffix"},slot:"suffix"})])],1),e._v(" "),o("el-form-item",{attrs:{label:"门店图片(640*340)",prop:"imageUrls"}},[o("div",{staticClass:"member-upload-image"},[o("vue-office-upload-image",{attrs:{projectName:"haoban-manage-web",wxFlag:"0",actionUrl:e.uploadUrl,imageList:e.imgs,limitW:640,limitH:340,maxImageLength:5},on:{uploadOnSuccess:e.uploadOnSuccess,sortImg:e.sortImg,deleteImage:e.deleteImage}})],1)]),e._v(" "),o("el-form-item",{attrs:{label:"联系电话",prop:"phoneNumber"}},[o("el-input",{model:{value:e.storeInfo.phoneNumber,callback:function(t){e.$set(e.storeInfo,"phoneNumber",t)},expression:"storeInfo.phoneNumber"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"营业时间",prop:"phoneNumber"}},[o("el-time-select",{attrs:{placeholder:"起始时间","picker-options":{start:"00:00",step:"00:05",end:"24:00"}},model:{value:e.storeInfo.openTime,callback:function(t){e.$set(e.storeInfo,"openTime",t)},expression:"storeInfo.openTime"}}),e._v("\n ~\n "),o("el-time-select",{attrs:{placeholder:"结束时间","picker-options":{start:"00:00",step:"00:05",end:"24:00",minTime:e.storeInfo.openTime}},model:{value:e.storeInfo.closeTime,callback:function(t){e.$set(e.storeInfo,"closeTime",t)},expression:"storeInfo.closeTime"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"门店类型"}},[o("el-radio-group",{model:{value:e.storeInfo.storeType,callback:function(t){e.$set(e.storeInfo,"storeType",t)},expression:"storeInfo.storeType"}},[o("el-radio",{attrs:{label:0}},[e._v("自营")]),e._v(" "),o("el-radio",{attrs:{label:1}},[e._v("联营")]),e._v(" "),o("el-radio",{attrs:{label:2}},[e._v("代理")]),e._v(" "),o("el-radio",{attrs:{label:3}},[e._v("代销")]),e._v(" "),o("el-radio",{attrs:{label:4}},[e._v("托管")])],1)],1),e._v(" "),o("el-form-item",{attrs:{label:"门店地址"}},[o("vue-office-area",{attrs:{areaOptions:e.areaOptions,projectName:"haoban-web",postUrl:"/api-admin/dict-district-list"},on:{selected:e.selected}}),e._v(" "),o("el-input",{model:{value:e.storeInfo.postAddress,callback:function(t){e.$set(e.storeInfo,"postAddress",t)},expression:"storeInfo.postAddress"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.postAddress||"").length)+"/50")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"GPS坐标"}},[o("el-input",{staticClass:"m-r-10",model:{value:e.location,callback:function(t){e.location=t},expression:"location"}}),e._v(" "),o("a",{staticClass:"a-href",attrs:{href:"http://m.gpsspg.com/maps.htm",target:"_blank"}},[e._v("经纬度测试工具")])],1),e._v(" "),o("el-form-item",[o("template",{slot:"label"},[e._v("\n 门店代码\n "),o("i",{staticClass:"el-icon-question",staticStyle:{color:"#C0C4CC"}})]),e._v(" "),o("el-input",{model:{value:e.storeInfo.storeCode,callback:function(t){e.$set(e.storeInfo,"storeCode",t)},expression:"storeInfo.storeCode"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.storeCode||"").length)+"/20")])],2)],2)],1)],1),e._v(" "),o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("店长信息")]),e._v(" "),o("el-form",{staticClass:"store-manager-info-form info-form",attrs:{"label-width":"90px"}},[o("el-form-item",{attrs:{label:"店长姓名",prop:"name"}},[o("el-input",{model:{value:e.storeInfo.managerName,callback:function(t){e.$set(e.storeInfo,"managerName",t)},expression:"storeInfo.managerName"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerName||"").length)+"/10")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"手机号码",prop:"phone"}},[o("el-input",{attrs:{disabled:""},model:{value:e.storeInfo.managerPhoneNumber,callback:function(t){e.$set(e.storeInfo,"managerPhoneNumber",t)},expression:"storeInfo.managerPhoneNumber"}})],1),e._v(" "),o("el-form-item",{attrs:{label:"店长性别"}},[o("el-radio-group",{model:{value:e.storeInfo.managerSex,callback:function(t){e.$set(e.storeInfo,"managerSex",t)},expression:"storeInfo.managerSex"}},[o("el-radio",{attrs:{label:1}},[e._v("男")]),e._v(" "),o("el-radio",{attrs:{label:2}},[e._v("女")])],1)],1),e._v(" "),o("el-form-item",{attrs:{label:"店长代码"}},[o("el-input",{model:{value:e.storeInfo.managerCode,callback:function(t){e.$set(e.storeInfo,"managerCode",t)},expression:"storeInfo.managerCode"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.managerCode||"").length)+"/20")])],2)],1)],1)],1),e._v(" "),o("div",{staticClass:"info-cell"},[o("p",{staticClass:"title"},[e._v("经营信息")]),e._v(" "),o("el-form",{staticClass:"operate-info-form info-form",attrs:{"label-width":"90px"}},[o("el-form-item",{attrs:{label:"特色服务"}},[o("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.specialService,callback:function(t){e.$set(e.storeInfo,"specialService",t)},expression:"storeInfo.specialService"}}),e._v(" "),o("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.specialService||"").length)+"/20")])],1),e._v(" "),o("el-form-item",{attrs:{label:"人均消费"}},[o("el-input",{model:{value:e.storeInfo.personCost,callback:function(t){e.$set(e.storeInfo,"personCost",t)},expression:"storeInfo.personCost"}},[o("template",{slot:"suffix"},[e._v(e._s((e.storeInfo.personCost+"").length)+"/10")])],2)],1),e._v(" "),o("el-form-item",{attrs:{label:"推荐商品"}},[o("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.recommendGoods,callback:function(t){e.$set(e.storeInfo,"recommendGoods",t)},expression:"storeInfo.recommendGoods"}}),e._v(" "),o("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/100")])],1),e._v(" "),o("el-form-item",{attrs:{label:"品牌介绍"}},[o("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.storeInfo.brandDes,callback:function(t){e.$set(e.storeInfo,"brandDes",t)},expression:"storeInfo.brandDes"}}),e._v(" "),o("p",{staticClass:"counter t-rt c-909399"},[e._v(e._s((e.storeInfo.recommendGoods||"").length)+"/200")])],1)],1)],1),e._v(" "),o("div",{staticClass:"handle-area"},[o("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1),e._v(" "),o("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:e.selectType,forbidenList:[e.storeInfo.storeGroupId]},on:{handleSelectedList:e.handleSelectedList}})],1)},staticRenderFns:[]};var r=o("VU/8")(a,n,!1,function(e){o("KKTF")},null,null);t.a=r.exports},qyJz:function(e,t,o){"use strict";var s=o("+ZMJ"),a=o("kM2E"),n=o("sB3e"),r=o("msXi"),i=o("Mhyx"),l=o("QRG4"),c=o("fBQ2"),u=o("3fs2");a(a.S+a.F*!o("dY0y")(function(e){Array.from(e)}),"Array",{from:function(e){var t,o,a,d,p=n(e),h="function"==typeof this?this:Array,m=arguments.length,f=m>1?arguments[1]:void 0,g=void 0!==f,v=0,b=u(p);if(g&&(f=s(f,m>2?arguments[2]:void 0,2)),void 0==b||h==Array&&i(b))for(o=new h(t=l(p.length));t>v;v++)c(o,v,g?f(p[v],v):p[v]);else for(d=b.call(p),o=new h;!(a=d.next()).done;v++)c(o,v,g?r(d,f,[a.value,v],!0):a.value);return o.length=v,o}})},ttyz:function(e,t,o){"use strict";var s=o("9C8M"),a=o("LIJb");e.exports=o("qo66")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return s.def(a(this,"Set"),e=0===e?0:e,e)}},s)},z6bE:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIgAAADACAYAAADfsStTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8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fJSTQGagbJLG5TVnhNAAAE36l+jW6phriRAJCk9w9xy4gkPI9CHYfb7SPuZ2e6j7DFTIFei6XtFbk4oIHBeg/PyUemw0b5TnbekYZQ9V2/OrLNrvb1mpL1uROjv6+xxJZrhnABJBCCAgTmpPzfn1TklKguQkPjtP1W3VJ1USYBIUvpHMWnThFlLWg+Uea6zeXFdIs8LLuJDXx/4eYz8GJtW9/Ecj4htGMLPdkKIg141iFbDSZPKcaA+iKROqiRAJAEiCRBJgEgCRMqQ4oqk8uwW/2gObs7vZ6UzIOTvPONHFbvs985ed9Ae8+9ft8dHrMzwYyY7v2mPD8MO2eM2562XeV4uHpgK2ilIUhMjCRBJgEgCRBIgkgCRBIgkQCRJgEjHUHeo/WIlHUol9OiC5Ga1DzOrMfN/Lrie82X8n/1ruefK1ZaFKmpQzhF1lfhd+Hn/dx32c1cfz3WadZh1ugTupDQYgPiOK5rVBK5hAGpcMg8YKgVSXJ8zDExHwI4ErkcCsCUakIKVw+PFagNWDJhUuar9khwJWHsJ6xpMQPh6LsoebkD4VpBfh7QVKOdHwnE4YEyDaDWYIgGEIPh7b4xwOl8ubSqYD4eXaMYIyiGztmoAYY3ALRyOc73PoJWy1YyNMvObKSZhHbCapiQg/KOxTmfS5rWZajBjFt8+q2V69c4nCg7JGJjY1/BNkkqO73e5nmRgKb96w1g4qg/CNmd3oJNarxhGblRRJ9UXX7DfzB/m0uo0zM2MBjTMDarN7NXA6/0dDP0gWa1ToCypYqCs3fUEylrNnxUfnlBtE+JXRcG+SsH1DrEr1D74zUNiQu3lKD0cbrtCAFUyWRe85r367wxdUz1ZVwlA/j9UzeiqHDjBKf3wtH6p58oN6YdV0TQGp+t9dZZ4Pjil77+m3HOlQMjldH9/lMjciDxKa3OlY1blkiRAJAEiCRBpsPU/AQYA8WB1pb8eLF8AAAAASUVORK5CYII="}});
//# sourceMappingURL=2.f0a46f70657d07d02d29.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([37],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var i=t("VU/8")({name:"add-employee"},r,!1,function(e){t("LCWi")},null,null);n.default=i.exports},LCWi:function(e,n){}});
//# sourceMappingURL=37.5f2151bd9848a5f118a8.js.map
\ No newline at end of file
webpackJsonp([36],{"00Sv":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var i=t("VU/8")({name:"add-employee"},r,!1,function(e){t("LCWi")},null,null);n.default=i.exports},LCWi:function(e,n){}});
//# sourceMappingURL=36.81aa547eb0d4c561835f.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/addEmployee.vue","webpack:///./src/views/contacts/addEmployee.vue?0896","webpack:///./src/views/contacts/addEmployee.vue"],"names":["contacts_addEmployee","render","_h","this","$createElement","_self","_c","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","ssrContext","__webpack_exports__"],"mappings":"wGAIA,ICDeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,QAExEK,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFZAC,KAAA,gBEcEX,GATF,EAVA,SAAAY,GACEH,EAAQ,SAaV,KAEA,MAUeI,EAAA,QAAAL,EAAiB","file":"static/js/37.5f2151bd9848a5f118a8.js","sourcesContent":["<template>\n <div></div>\n</template>\n<script>\nexport default {\n name: \"add-employee\" \n};\n</script>\n<style lang=\"scss\">\n\n</style>\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/addEmployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4dd86b69\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-4dd86b69\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./addEmployee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4dd86b69\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./addEmployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/addEmployee.vue","webpack:///./src/views/contacts/addEmployee.vue?0896","webpack:///./src/views/contacts/addEmployee.vue"],"names":["contacts_addEmployee","render","_h","this","$createElement","_self","_c","staticRenderFns","Component","__webpack_require__","normalizeComponent","name","ssrContext","__webpack_exports__"],"mappings":"wGAIA,ICDeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,QAExEK,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFZAC,KAAA,gBEcEX,GATF,EAVA,SAAAY,GACEH,EAAQ,SAaV,KAEA,MAUeI,EAAA,QAAAL,EAAiB","file":"static/js/36.81aa547eb0d4c561835f.js","sourcesContent":["<template>\n <div></div>\n</template>\n<script>\nexport default {\n name: \"add-employee\" \n};\n</script>\n<style lang=\"scss\">\n\n</style>\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/addEmployee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4dd86b69\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-4dd86b69\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./addEmployee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addEmployee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4dd86b69\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./addEmployee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/addEmployee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/employee.vue","webpack:///./src/views/contacts/employee.vue?f47a","webpack:///./src/views/contacts/employee.vue"],"names":["employee","name","components","navCrumb","nav","employeeInfo","data","navpath","path","managerMode","methods","save","contin","info","this","$refs","emmployInfo","console","log","isNew","addEmployee","saveEmployeeInfo","that","params","isClerk","phoneNumber","positionName","departmentId","Object","api","then","res","errorCode","$message","success","message","departmentName","window","history","go","error","catch","e","employeeClerkId","$route","query","cancel","$confirm","type","computed","addnew","contacts_employee","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","ref","on","click","$event","_e","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"8IAqBAA,GACAC,KAAA,iBACAC,YACAC,SAAAC,EAAA,EACAC,eAAA,GAEAC,KANA,WAOA,OAEAC,UACAN,KAAA,KACAO,KAAA,WAGAP,KAAA,QACAO,KAAA,yBAGAP,KAAA,OACAO,KAAA,aAGAP,KAAA,OACAO,KAAA,KAGAC,aAAA,IAGAC,SACAC,KADA,SACAC,GACA,IAAAC,EAAAC,KAAAC,MAAAC,YAAAH,KACAI,QAAAC,IAAAL,EAAA,QACAC,KAAAK,MACAL,KAAAM,YAAAP,EAAAD,GAEAE,KAAAO,iBAAAR,IAMAO,YAbA,SAaAP,EAAAD,GACA,IAAAU,EAAAR,KACAS,GACAtB,KAAAY,EAAAZ,KACAuB,QAAA,EACAC,YAAAZ,EAAAY,YACAC,aAAAb,EAAAa,aACAC,aAAAd,EAAAc,aACAlB,YAAA,EAAAI,EAAAJ,aAEAQ,QAAAC,IAAAL,EAAAU,GACMK,OAAAC,EAAA,EAAAD,CAAN,6BAAAL,GACAO,KAAA,SAAAC,GACAd,QAAAC,IAAAa,EAAA,cACA,GAAAA,EAAAzB,KAAA0B,WACAV,EAAAW,SAAAC,SACAC,QAAA,SAEA,GAAAvB,EACAU,EAAAP,MAAAC,YAAAH,MACAZ,KAAA,GACAwB,YAAA,GACAE,aAAA,GACAS,eAAA,GACA3B,aAAA,GA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,SAAmBkC,EAAAO,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,aAAuBF,EAAA,aAAkBG,OAAOX,KAAA,WAAiBc,IAAKC,MAAAV,EAAA1C,QAAkB0C,EAAAO,GAAA,QAAAP,EAAAO,GAAA,KAAAP,EAAA,MAAAG,EAAA,aAAyDG,OAAOX,KAAA,WAAiBc,IAAKC,MAAA,SAAAC,GAAyBX,EAAA1C,KAAA,OAAc0C,EAAAO,GAAA,aAAAP,EAAAY,KAAAZ,EAAAO,GAAA,KAAAJ,EAAA,aAA2DM,IAAIC,MAAAV,EAAAP,UAAoBO,EAAAO,GAAA,yBAE3qBM,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACErE,EACAmD,GATF,EAVA,SAAAmB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/36.a758ee27ace30332f655.js","sourcesContent":["<template>\n <div class=\"common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\">\n <div class=\"employee-detail\">\n <employee-info :isNew=\"isNew\" ref=\"emmployInfo\"></employee-info>\n <div class=\"btn-boxs\">\n <el-button @click=\"save\" type=\"primary\">保存</el-button>\n <el-button type=\"primary\" @click=\"save(1)\" v-if=\"isNew\">保存并继续添加</el-button>\n <el-button @click=\"cancel\">取消</el-button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport employeeInfo from \"components/contacts/employeeInfo\";\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nexport default {\n name: \"employeeDetail\",\n components: {\n navCrumb,\n employeeInfo\n },\n data() {\n return {\n // 面包屑参数\n navpath: [{\n name: '首页',\n path: '/index'\n },\n {\n name: '企业通讯录',\n path: '/administrativeFrame'\n },\n {\n name: '员工档案',\n path: '/fileSet'\n },\n {\n name: '添加员工',\n path: ''\n }\n ],\n managerMode: false\n };\n },\n methods: {\n save(contin) {\n let info = this.$refs.emmployInfo.info;\n console.log(info, \"ssss\");\n if (this.isNew) {\n this.addEmployee(info, contin);\n } else {\n this.saveEmployeeInfo(info);\n }\n },\n /**\n * 新增员工\n */\n addEmployee(info, contin) {\n let that = this;\n let params = {\n name: info.name,\n isClerk: 0,\n phoneNumber: info.phoneNumber,\n positionName: info.positionName,\n departmentId: info.departmentId,\n managerMode: info.managerMode * 1\n };\n console.log(info, params);\n getRequest(\"/haoban-manage-web/emp/add\", params)\n .then(res => {\n console.log(res, \"add result\");\n if (res.data.errorCode == 1) {\n that.$message.success({\n message: \"操作成功\"\n });\n if (contin == 1) {\n that.$refs.emmployInfo.info = {\n name: \"\",\n phoneNumber: \"\",\n departmentId: \"\",\n departmentName: \"\",\n managerMode: false\n };\n } else {\n window.history.go(-1);\n }\n } else {\n that.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n console.log(e, \"error\");\n });\n },\n saveEmployeeInfo(info) {\n let that = this;\n let params = {\n name: info.name,\n phoneNumber: info.phoneNumber,\n positionName: info.positionName,\n departmentId: info.departmentId,\n employeeClerkId: that.$route.query.employeeClerkId,\n managerMode: info.managerMode * 1\n };\n console.log(info, params);\n getRequest(\"/haoban-manage-web/emp/update\", params)\n .then(res => {\n console.log(res, \"update result\");\n if (res.data.errorCode == 1) {\n that.$message.success({\n message: \"操作成功\"\n });\n window.history.go(-1);\n } else {\n that.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n console.log(e, \"error\");\n that.$message.error({\n message: e.message\n });\n });\n },\n cancel() {\n this.$confirm(\" 是否确认取消,取消后当前页面信息将丢失 ?\", \"提示\", {\n type: \"warning\"\n }).then(() => {\n window.history.go(-1);\n }).catch(e => {\n console.log(e);\n });\n }\n },\n computed: {\n isNew() {\n return !!this.$route.query.addnew == 1;\n }\n }\n};\n\n</script>\n<style lang=\"scss\">\n.employee-detail {\n overflow: auto;\n height: 460px;\n\n .btn-boxs {\n width: calc(100% - 200px);\n padding: 12px 0;\n background: #fff;\n position: fixed;\n bottom: 0;\n right: 0;\n text-align: center;\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/employee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"employee-detail\"},[_c('employee-info',{ref:\"emmployInfo\",attrs:{\"isNew\":_vm.isNew}}),_vm._v(\" \"),_c('div',{staticClass:\"btn-boxs\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保存\")]),_vm._v(\" \"),(_vm.isNew)?_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.save(1)}}},[_vm._v(\"保存并继续添加\")]):_vm._e(),_vm._v(\" \"),_c('el-button',{on:{\"click\":_vm.cancel}},[_vm._v(\"取消\")])],1)],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-5ea3da54\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/employee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5ea3da54\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./employee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5ea3da54\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./employee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/employee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([38],{mPjx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3Xzz"),r=a("Ie7z"),o=a("P9l9"),s={name:"store-view-group-info",components:{navCrumb:n.a,vueSelectStore:r.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},disabled:!0,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0}}},methods:{delGroup:function(){var e=this;e.$confirm(" 是否确认删除分组 ?","提示",{type:"warning"}).then(function(){Object(o.a)("/haoban-manage-web/dept/del",{groupId:e.$route.query.departmentId}).then(function(t){console.log(t),1==t.data.errorCode?(e.$message.success({message:t.data.message}),window.history.go(-1)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}).catch(function(e){console.log(e)})},handleSelectedList:function(e){var t=e[0];console.log(t),this.departInfo.parentId=t?t.id:"",this.departInfo.parentName=t?t.label:""},callGroupSelector:function(){this.treeSet.dialogVisible=!0},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(a){if(!a)return!1;var n=e,r={parentId:n.departInfo.parentId,name:n.departInfo.name},s="";n.isAddNew?s="/haoban-manage-web/dept/insert":(s="/haoban-manage-web/dept/update",r.groupId=n.$route.query.groupId),Object(o.a)(s,r).then(function(e){console.log(e),1==e.data.errorCode?(n.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(n.departInfo={name:"",parentName:"",parentId:""},n.disabled=!0,n.getGroupData()):window.history.go(-1)):n.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})},getGroupInfo:function(){var e=this,t={groupId:e.$route.query.groupId};Object(o.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){1==t.data.errorCode?e.departInfo={name:t.data.result.name,parentName:t.data.result.chainName,parentId:t.data.result.parentId}:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)},forbidenList:function(){return this.isAddNew?"":[this.$route.query.groupId]},navpath:function(){return[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame"},{name:"group"==this.$route.query.type?"编辑分组":this.isAddNew?"添加子分组":"品牌编辑",path:""}]}},beforeMount:function(){this.isAddNew||this.getGroupInfo()},mounted:function(){this.disabled=!1},watch:{treeData:function(){this.disabled=!1}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"add-department-container"},[a("div",{staticClass:"setting-cell"},[a("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"group"==e.$route.query.type?"部门名称":"品牌名称",prop:"name"}},[a("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),"group"==e.$route.query.type||e.isAddNew?a("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[a("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1):e._e()],1)],1),e._v(" "),a("div",{staticClass:"setting-cell"},[a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.saveEdit}},[e._v("保存")]),e._v(" "),e.isAddNew?a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveEdit("continue")}}},[e._v("保存并继续添加")]):a("el-button",{attrs:{type:"danger"},on:{click:e.delGroup}},[e._v("删除")]),e._v(" "),a("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)]),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:"group",forbidenList:e.forbidenList},on:{handleSelectedList:e.handleSelectedList}})],1)])])],1)},staticRenderFns:[]};var d=a("VU/8")(s,i,!1,function(e){a("opgt")},null,null);t.default=d.exports},opgt:function(e,t){}});
//# sourceMappingURL=38.f6eea257e731752cde0e.js.map
\ No newline at end of file
webpackJsonp([37],{mPjx:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3Xzz"),r=a("Ie7z"),o=a("P9l9"),s={name:"store-view-group-info",components:{navCrumb:n.a,vueSelectStore:r.a},data:function(){return{departInfo:{name:"",parentName:"",parentId:""},rules:{name:[{required:!0,message:"请输入部门名称",trigger:"blur"},{min:1,max:20,message:"长度在 1 到 20 个字符",trigger:"blur"}],parentId:[{required:!0,message:"请选择父级部门",trigger:"change"}]},disabled:!0,treeSet:{isSelectPerson:!1,dialogVisible:!1,isSingle:!0}}},methods:{delGroup:function(){var e=this;e.$confirm(" 是否确认删除分组 ?","提示",{type:"warning"}).then(function(){Object(o.a)("/haoban-manage-web/dept/del",{groupId:e.$route.query.departmentId}).then(function(t){console.log(t),1==t.data.errorCode?(e.$message.success({message:t.data.message}),window.history.go(-1)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}).catch(function(e){console.log(e)})},handleSelectedList:function(e){var t=e[0];console.log(t),this.departInfo.parentId=t?t.id:"",this.departInfo.parentName=t?t.label:""},callGroupSelector:function(){this.treeSet.dialogVisible=!0},saveEdit:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$refs.departForm.validate(function(a){if(!a)return!1;var n=e,r={parentId:n.departInfo.parentId,name:n.departInfo.name},s="";n.isAddNew?s="/haoban-manage-web/dept/insert":(s="/haoban-manage-web/dept/update",r.groupId=n.$route.query.groupId),Object(o.a)(s,r).then(function(e){console.log(e),1==e.data.errorCode?(n.$message.success({duration:1e3,message:"操作成功!"}),console.log(t),"continue"==t?(n.departInfo={name:"",parentName:"",parentId:""},n.disabled=!0,n.getGroupData()):window.history.go(-1)):n.$message.error({duration:1e3,message:e.data.message})}).catch(function(e){n.$message.error({duration:1e3,message:e.message})})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})},getGroupInfo:function(){var e=this,t={groupId:e.$route.query.groupId};Object(o.a)("/haoban-manage-web/dept/findDeptById",t).then(function(t){1==t.data.errorCode?e.departInfo={name:t.data.result.name,parentName:t.data.result.chainName,parentId:t.data.result.parentId}:e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})}},computed:{isAddNew:function(){return!(1!=this.$route.query.addnew)},forbidenList:function(){return this.isAddNew?"":[this.$route.query.groupId]},navpath:function(){return[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"门店架构",path:"/storeFrame"},{name:"group"==this.$route.query.type?"编辑分组":this.isAddNew?"添加子分组":"品牌编辑",path:""}]}},beforeMount:function(){this.isAddNew||this.getGroupInfo()},mounted:function(){this.disabled=!1},watch:{treeData:function(){this.disabled=!1}}},i={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-set-wrap"},[a("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),a("div",{staticClass:"right-content"},[a("div",{staticClass:"right-box"},[a("div",{staticClass:"add-department-container"},[a("div",{staticClass:"setting-cell"},[a("el-form",{ref:"departForm",staticClass:"department-info-form",attrs:{"label-position":"right",rules:e.rules,model:e.departInfo,"label-width":"120px"}},[a("el-form-item",{attrs:{label:"group"==e.$route.query.type?"部门名称":"品牌名称",prop:"name"}},[a("el-input",{model:{value:e.departInfo.name,callback:function(t){e.$set(e.departInfo,"name",t)},expression:"departInfo.name"}})],1),e._v(" "),"group"==e.$route.query.type||e.isAddNew?a("el-form-item",{attrs:{label:"部门排序调整",prop:"parentId"}},[a("el-input",{attrs:{disabled:e.disabled,"suffix-icon":"el-icon-arrow-down"},on:{focus:e.callGroupSelector},model:{value:e.departInfo.parentName,callback:function(t){e.$set(e.departInfo,"parentName",t)},expression:"departInfo.parentName"}})],1):e._e()],1)],1),e._v(" "),a("div",{staticClass:"setting-cell"},[a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.saveEdit}},[e._v("保存")]),e._v(" "),e.isAddNew?a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.saveEdit("continue")}}},[e._v("保存并继续添加")]):a("el-button",{attrs:{type:"danger"},on:{click:e.delGroup}},[e._v("删除")]),e._v(" "),a("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)]),e._v(" "),a("vue-select-store",{ref:"storeSelector",attrs:{treeSet:e.treeSet,selectType:"group",forbidenList:e.forbidenList},on:{handleSelectedList:e.handleSelectedList}})],1)])])],1)},staticRenderFns:[]};var d=a("VU/8")(s,i,!1,function(e){a("opgt")},null,null);t.default=d.exports},opgt:function(e,t){}});
//# sourceMappingURL=37.802493f620b13eb5f91f.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/addGroup.vue","webpack:///./src/views/contacts/addGroup.vue?1781","webpack:///./src/views/contacts/addGroup.vue"],"names":["addGroup","name","components","navCrumb","nav","vueSelectStore","data","departInfo","parentName","parentId","rules","required","message","trigger","min","max","disabled","treeSet","isSelectPerson","dialogVisible","isSingle","methods","delGroup","ths","this","$confirm","type","then","Object","api","groupId","$route","query","departmentId","res","console","log","errorCode","$message","success","window","history","go","error","catch","e","handleSelectedList","list","group","id","label","callGroupSelector","saveEdit","_this2","goAhead","arguments","length","undefined","$refs","departForm","validate","valid","_this","params","url","isAddNew","duration","getGroupData","cancel","getGroupInfo","that","result","chainName","computed","addnew","forbidenList","navpath","path","beforeMount","mounted","watch","treeData","contacts_addGroup","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","ref","label-position","model","label-width","prop","value","callback","$$v","$set","expression","suffix-icon","on","focus","_e","click","$event","selectType","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"m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,cAAA,sBAA2DC,IAAKC,MAAApB,EAAAjC,mBAA8B2C,OAAQG,MAAAb,EAAA7E,WAAA,WAAA2F,SAAA,SAAAC,GAA2Df,EAAAgB,KAAAhB,EAAA7E,WAAA,aAAA4F,IAA4CE,WAAA,4BAAqC,GAAAjB,EAAAqB,MAAA,OAAArB,EAAAO,GAAA,KAAAJ,EAAA,OAA6CE,YAAA,iBAA2BF,EAAA,OAAYE,YAAA,aAAuBF,EAAA,aAAkBG,OAAOhE,KAAA,WAAiB6E,IAAKG,MAAAtB,EAAAhC,YAAsBgC,EAAAO,GAAA,QAAAP,EAAAO,GAAA,KAAAP,EAAA,SAAAG,EAAA,aAA4DG,OAAOhE,KAAA,WAAiB6E,IAAKG,MAAA,SAAAC,GAAyBvB,EAAAhC,SAAA,gBAA2BgC,EAAAO,GAAA,aAAAJ,EAAA,aAAsCG,OAAOhE,KAAA,UAAgB6E,IAAKG,MAAAtB,EAAA9D,YAAsB8D,EAAAO,GAAA,QAAAP,EAAAO,GAAA,KAAAJ,EAAA,aAA6CgB,IAAIG,MAAAtB,EAAAhB,UAAoBgB,EAAAO,GAAA,cAAAP,EAAAO,GAAA,KAAAJ,EAAA,oBAA0DK,IAAA,gBAAAF,OAA2BzE,QAAAmE,EAAAnE,QAAA2F,WAAA,QAAAjC,aAAAS,EAAAT,cAA2E4B,IAAKzD,mBAAAsC,EAAAtC,uBAA6C,YAE1yD+D,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEhH,EACAkF,GATF,EAVA,SAAA+B,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/38.f6eea257e731752cde0e.js","sourcesContent":["<template>\n <div class=\"common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\">\n <div class=\"add-department-container\">\n <div class=\"setting-cell\">\n <el-form class=\"department-info-form\" label-position=\"right\" :rules=\"rules\" :model=\"departInfo\" ref=\"departForm\" label-width=\"120px\">\n <el-form-item :label=\"$route.query.type=='group' ? '部门名称' : '品牌名称'\" prop=\"name\">\n <el-input v-model=\"departInfo.name\"></el-input>\n </el-form-item>\n <el-form-item label=\"部门排序调整\" prop=\"parentId\" v-if=\"$route.query.type=='group' || isAddNew\">\n <el-input :disabled=\"disabled\" v-model=\"departInfo.parentName\" @focus=\"callGroupSelector\" suffix-icon=\"el-icon-arrow-down\"></el-input>\n </el-form-item>\n </el-form>\n </div>\n <div class=\"setting-cell\">\n <div class=\"btn-area\">\n <el-button type=\"primary\" @click=\"saveEdit\">保存</el-button>\n <el-button type=\"primary\" v-if=\"isAddNew\" @click=\"saveEdit('continue')\">保存并继续添加</el-button>\n <el-button type=\"danger\" v-else @click=\"delGroup\">删除</el-button>\n <el-button @click=\"cancel\">取消</el-button>\n </div>\n </div>\n <vue-select-store ref=\"storeSelector\" @handleSelectedList=\"handleSelectedList\" :treeSet=\"treeSet\" selectType=\"group\" :forbidenList=\"forbidenList\"></vue-select-store>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport vueSelectStore from \"components/common/vueSelectStore\";\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nexport default {\n name: \"store-view-group-info\",\n components: {\n navCrumb,\n vueSelectStore\n },\n data() {\n return {\n departInfo: {\n name: \"\",\n parentName: \"\",\n parentId: \"\"\n },\n rules: {\n name: [\n { required: true, message: '请输入部门名称', trigger: 'blur' },\n { min: 1, max: 20, message: '长度在 1 到 20 个字符', trigger: 'blur' }\n ],\n parentId: [\n { required: true, message: '请选择父级部门', trigger: 'change' }\n ]\n },\n disabled: true,\n treeSet: {\n isSelectPerson: false,\n dialogVisible: false,\n isSingle: true // 是否单选\n }\n }\n },\n methods: {\n /**\n * 删除当前组\n */\n delGroup() {\n let ths = this;\n ths.$confirm(\" 是否确认删除分组 ?\", \"提示\", {\n type: \"warning\"\n }).then(() => {\n getRequest(\"/haoban-manage-web/dept/del\", {groupId: ths.$route.query.departmentId}).then(res => {\n console.log(res);\n if (res.data.errorCode == 1) {\n ths.$message.success({\n message: res.data.message\n });\n window.history.go(-1);\n } else {\n ths.$message.error({\n message: res.data.message\n });\n }\n }).catch(e => {\n ths.$message.error({\n message: e.message\n });\n });\n }).catch(e => {\n console.log(e);\n });\n },\n handleSelectedList(list) {\n let group = list[0];\n console.log(group);\n this.departInfo.parentId = group ? group.id : \"\";\n this.departInfo.parentName = group ? group.label : \"\";\n },\n callGroupSelector() {\n this.treeSet.dialogVisible = true;\n },\n saveEdit(goAhead = \"\") {\n this.$refs.departForm.validate(valid => {\n if (!valid) {\n return false;\n }\n let _this = this;\n let params = {\n parentId: _this.departInfo.parentId,\n name: _this.departInfo.name\n }\n let url = \"\";\n if (_this.isAddNew) {\n url = \"/haoban-manage-web/dept/insert\";\n } else {\n url = \"/haoban-manage-web/dept/update\";\n params.groupId = _this.$route.query.groupId;\n }\n getRequest(url, params)\n .then(res => {\n console.log(res);\n if (res.data.errorCode == 1) {\n _this.$message.success({\n duration: 1000,\n message: \"操作成功!\"\n });\n console.log(goAhead);\n if (goAhead == \"continue\") {\n _this.departInfo = {\n name: \"\",\n parentName: \"\",\n parentId: \"\"\n }\n _this.disabled = true;\n _this.getGroupData();\n } else {\n window.history.go(-1);\n }\n } else {\n _this.$message.error({\n duration: 1000,\n message: res.data.message\n });\n }\n })\n .catch(e => {\n _this.$message.error({\n duration: 1000,\n message: e.message\n });\n });\n });\n },\n cancel() {\n this.$confirm(\" 是否确认取消,取消后当前页面信息将丢失 ?\", \"提示\", {\n type: \"warning\"\n }).then(() => {\n window.history.go(-1);\n }).catch(e => {\n console.log(e);\n });\n },\n getGroupInfo() {\n let that = this;\n let params = {\n groupId: that.$route.query.groupId\n };\n getRequest(\"/haoban-manage-web/dept/findDeptById\", params)\n .then(res => {\n if (res.data.errorCode == 1) {\n that.departInfo = {\n name: res.data.result.name,\n parentName: res.data.result.chainName,\n parentId: res.data.result.parentId\n };\n } else {\n that.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n that.$message.error({\n message: e.message\n });\n });\n }\n },\n computed: {\n isAddNew() {\n return !!(this.$route.query.addnew == 1);\n },\n forbidenList() {\n if (this.isAddNew) {\n return \"\";\n } else {\n return [this.$route.query.groupId];\n }\n },\n navpath() {\n let type = this.$route.query.type;\n return [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '企业通讯录',\n path: '/administrativeFrame'\n },\n {\n name: '门店架构',\n path: '/storeFrame'\n },\n {\n name: type == 'group' ? '编辑分组' : this.isAddNew ? '添加子分组' : '品牌编辑',\n path: ''\n }\n ];\n }\n },\n beforeMount() {\n if (!this.isAddNew) {\n // this.forbidenList = [this.$route.query.groupId];\n this.getGroupInfo();\n }\n },\n mounted() {\n this.disabled = false;\n },\n watch: {\n treeData() {\n this.disabled = false;\n }\n }\n}\n\n</script>\n<style lang=\"scss\">\n.add-department-container {\n .setting-cell {\n background: #fff;\n margin-bottom: 24px;\n\n .title {\n height: 55px;\n line-height: 55px;\n border-bottom: 1px solid #E4E7ED;\n text-indent: 32px;\n font-size: 16px;\n font-weight: 500;\n color: #303133;\n }\n\n .department-info-form {\n padding: 24px 32px;\n\n .el-input {\n width: 380px;\n }\n }\n\n .btn-area {\n width: 100%;\n text-align: center;\n padding: 12px;\n }\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/addGroup.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"add-department-container\"},[_c('div',{staticClass:\"setting-cell\"},[_c('el-form',{ref:\"departForm\",staticClass:\"department-info-form\",attrs:{\"label-position\":\"right\",\"rules\":_vm.rules,\"model\":_vm.departInfo,\"label-width\":\"120px\"}},[_c('el-form-item',{attrs:{\"label\":_vm.$route.query.type=='group' ? '部门名称' : '品牌名称',\"prop\":\"name\"}},[_c('el-input',{model:{value:(_vm.departInfo.name),callback:function ($$v) {_vm.$set(_vm.departInfo, \"name\", $$v)},expression:\"departInfo.name\"}})],1),_vm._v(\" \"),(_vm.$route.query.type=='group' || _vm.isAddNew)?_c('el-form-item',{attrs:{\"label\":\"部门排序调整\",\"prop\":\"parentId\"}},[_c('el-input',{attrs:{\"disabled\":_vm.disabled,\"suffix-icon\":\"el-icon-arrow-down\"},on:{\"focus\":_vm.callGroupSelector},model:{value:(_vm.departInfo.parentName),callback:function ($$v) {_vm.$set(_vm.departInfo, \"parentName\", $$v)},expression:\"departInfo.parentName\"}})],1):_vm._e()],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"setting-cell\"},[_c('div',{staticClass:\"btn-area\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveEdit}},[_vm._v(\"保存\")]),_vm._v(\" \"),(_vm.isAddNew)?_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.saveEdit('continue')}}},[_vm._v(\"保存并继续添加\")]):_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":_vm.delGroup}},[_vm._v(\"删除\")]),_vm._v(\" \"),_c('el-button',{on:{\"click\":_vm.cancel}},[_vm._v(\"取消\")])],1)]),_vm._v(\" \"),_c('vue-select-store',{ref:\"storeSelector\",attrs:{\"treeSet\":_vm.treeSet,\"selectType\":\"group\",\"forbidenList\":_vm.forbidenList},on:{\"handleSelectedList\":_vm.handleSelectedList}})],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-393f1257\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/addGroup.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-393f1257\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./addGroup.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addGroup.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addGroup.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-393f1257\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./addGroup.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/addGroup.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/addGroup.vue","webpack:///./src/views/contacts/addGroup.vue?1781","webpack:///./src/views/contacts/addGroup.vue"],"names":["addGroup","name","components","navCrumb","nav","vueSelectStore","data","departInfo","parentName","parentId","rules","required","message","trigger","min","max","disabled","treeSet","isSelectPerson","dialogVisible","isSingle","methods","delGroup","ths","this","$confirm","type","then","Object","api","groupId","$route","query","departmentId","res","console","log","errorCode","$message","success","window","history","go","error","catch","e","handleSelectedList","list","group","id","label","callGroupSelector","saveEdit","_this2","goAhead","arguments","length","undefined","$refs","departForm","validate","valid","_this","params","url","isAddNew","duration","getGroupData","cancel","getGroupInfo","that","result","chainName","computed","addnew","forbidenList","navpath","path","beforeMount","mounted","watch","treeData","contacts_addGroup","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","ref","label-position","model","label-width","prop","value","callback","$$v","$set","expression","suffix-icon","on","focus","_e","click","$event","selectType","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"8IAkCAA,GACAC,KAAA,wBACAC,YACAC,SAAAC,EAAA,EACAC,iBAAA,GAEAC,KANA,WAOA,OACAC,YACAN,KAAA,GACAO,WAAA,GACAC,SAAA,IAEAC,OACAT,OACAU,UAAA,EAAAC,QAAA,UAAAC,QAAA,SACAC,IAAA,EAAAC,IAAA,GAAAH,QAAA,iBAAAC,QAAA,SAEAJ,WACAE,UAAA,EAAAC,QAAA,UAAAC,QAAA,YAGAG,UAAA,EACAC,SACAC,gBAAA,EACAC,eAAA,EACAC,UAAA,KAIAC,SAIAC,SAJA,WAKA,IAAAC,EAAAC,KACAD,EAAAE,SAAA,oBACAC,KAAA,YACAC,KAAA,WACQC,OAAAC,EAAA,EAAAD,CAAR,+BAAAE,QAAAP,EAAAQ,OAAAC,MAAAC,eAAAN,KAAA,SAAAO,GACAC,QAAAC,IAAAF,GACA,GAAA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OhE,KAAA,UAAgB6E,IAAKG,MAAAtB,EAAA9D,YAAsB8D,EAAAO,GAAA,QAAAP,EAAAO,GAAA,KAAAJ,EAAA,aAA6CgB,IAAIG,MAAAtB,EAAAhB,UAAoBgB,EAAAO,GAAA,cAAAP,EAAAO,GAAA,KAAAJ,EAAA,oBAA0DK,IAAA,gBAAAF,OAA2BzE,QAAAmE,EAAAnE,QAAA2F,WAAA,QAAAjC,aAAAS,EAAAT,cAA2E4B,IAAKzD,mBAAAsC,EAAAtC,uBAA6C,YAE1yD+D,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEhH,EACAkF,GATF,EAVA,SAAA+B,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/37.802493f620b13eb5f91f.js","sourcesContent":["<template>\n <div class=\"common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\">\n <div class=\"add-department-container\">\n <div class=\"setting-cell\">\n <el-form class=\"department-info-form\" label-position=\"right\" :rules=\"rules\" :model=\"departInfo\" ref=\"departForm\" label-width=\"120px\">\n <el-form-item :label=\"$route.query.type=='group' ? '部门名称' : '品牌名称'\" prop=\"name\">\n <el-input v-model=\"departInfo.name\"></el-input>\n </el-form-item>\n <el-form-item label=\"部门排序调整\" prop=\"parentId\" v-if=\"$route.query.type=='group' || isAddNew\">\n <el-input :disabled=\"disabled\" v-model=\"departInfo.parentName\" @focus=\"callGroupSelector\" suffix-icon=\"el-icon-arrow-down\"></el-input>\n </el-form-item>\n </el-form>\n </div>\n <div class=\"setting-cell\">\n <div class=\"btn-area\">\n <el-button type=\"primary\" @click=\"saveEdit\">保存</el-button>\n <el-button type=\"primary\" v-if=\"isAddNew\" @click=\"saveEdit('continue')\">保存并继续添加</el-button>\n <el-button type=\"danger\" v-else @click=\"delGroup\">删除</el-button>\n <el-button @click=\"cancel\">取消</el-button>\n </div>\n </div>\n <vue-select-store ref=\"storeSelector\" @handleSelectedList=\"handleSelectedList\" :treeSet=\"treeSet\" selectType=\"group\" :forbidenList=\"forbidenList\"></vue-select-store>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport vueSelectStore from \"components/common/vueSelectStore\";\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nexport default {\n name: \"store-view-group-info\",\n components: {\n navCrumb,\n vueSelectStore\n },\n data() {\n return {\n departInfo: {\n name: \"\",\n parentName: \"\",\n parentId: \"\"\n },\n rules: {\n name: [\n { required: true, message: '请输入部门名称', trigger: 'blur' },\n { min: 1, max: 20, message: '长度在 1 到 20 个字符', trigger: 'blur' }\n ],\n parentId: [\n { required: true, message: '请选择父级部门', trigger: 'change' }\n ]\n },\n disabled: true,\n treeSet: {\n isSelectPerson: false,\n dialogVisible: false,\n isSingle: true // 是否单选\n }\n }\n },\n methods: {\n /**\n * 删除当前组\n */\n delGroup() {\n let ths = this;\n ths.$confirm(\" 是否确认删除分组 ?\", \"提示\", {\n type: \"warning\"\n }).then(() => {\n getRequest(\"/haoban-manage-web/dept/del\", {groupId: ths.$route.query.departmentId}).then(res => {\n console.log(res);\n if (res.data.errorCode == 1) {\n ths.$message.success({\n message: res.data.message\n });\n window.history.go(-1);\n } else {\n ths.$message.error({\n message: res.data.message\n });\n }\n }).catch(e => {\n ths.$message.error({\n message: e.message\n });\n });\n }).catch(e => {\n console.log(e);\n });\n },\n handleSelectedList(list) {\n let group = list[0];\n console.log(group);\n this.departInfo.parentId = group ? group.id : \"\";\n this.departInfo.parentName = group ? group.label : \"\";\n },\n callGroupSelector() {\n this.treeSet.dialogVisible = true;\n },\n saveEdit(goAhead = \"\") {\n this.$refs.departForm.validate(valid => {\n if (!valid) {\n return false;\n }\n let _this = this;\n let params = {\n parentId: _this.departInfo.parentId,\n name: _this.departInfo.name\n }\n let url = \"\";\n if (_this.isAddNew) {\n url = \"/haoban-manage-web/dept/insert\";\n } else {\n url = \"/haoban-manage-web/dept/update\";\n params.groupId = _this.$route.query.groupId;\n }\n getRequest(url, params)\n .then(res => {\n console.log(res);\n if (res.data.errorCode == 1) {\n _this.$message.success({\n duration: 1000,\n message: \"操作成功!\"\n });\n console.log(goAhead);\n if (goAhead == \"continue\") {\n _this.departInfo = {\n name: \"\",\n parentName: \"\",\n parentId: \"\"\n }\n _this.disabled = true;\n _this.getGroupData();\n } else {\n window.history.go(-1);\n }\n } else {\n _this.$message.error({\n duration: 1000,\n message: res.data.message\n });\n }\n })\n .catch(e => {\n _this.$message.error({\n duration: 1000,\n message: e.message\n });\n });\n });\n },\n cancel() {\n this.$confirm(\" 是否确认取消,取消后当前页面信息将丢失 ?\", \"提示\", {\n type: \"warning\"\n }).then(() => {\n window.history.go(-1);\n }).catch(e => {\n console.log(e);\n });\n },\n getGroupInfo() {\n let that = this;\n let params = {\n groupId: that.$route.query.groupId\n };\n getRequest(\"/haoban-manage-web/dept/findDeptById\", params)\n .then(res => {\n if (res.data.errorCode == 1) {\n that.departInfo = {\n name: res.data.result.name,\n parentName: res.data.result.chainName,\n parentId: res.data.result.parentId\n };\n } else {\n that.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n that.$message.error({\n message: e.message\n });\n });\n }\n },\n computed: {\n isAddNew() {\n return !!(this.$route.query.addnew == 1);\n },\n forbidenList() {\n if (this.isAddNew) {\n return \"\";\n } else {\n return [this.$route.query.groupId];\n }\n },\n navpath() {\n let type = this.$route.query.type;\n return [\n {\n name: '首页',\n path: '/index'\n },\n {\n name: '企业通讯录',\n path: '/administrativeFrame'\n },\n {\n name: '门店架构',\n path: '/storeFrame'\n },\n {\n name: type == 'group' ? '编辑分组' : this.isAddNew ? '添加子分组' : '品牌编辑',\n path: ''\n }\n ];\n }\n },\n beforeMount() {\n if (!this.isAddNew) {\n // this.forbidenList = [this.$route.query.groupId];\n this.getGroupInfo();\n }\n },\n mounted() {\n this.disabled = false;\n },\n watch: {\n treeData() {\n this.disabled = false;\n }\n }\n}\n\n</script>\n<style lang=\"scss\">\n.add-department-container {\n .setting-cell {\n background: #fff;\n margin-bottom: 24px;\n\n .title {\n height: 55px;\n line-height: 55px;\n border-bottom: 1px solid #E4E7ED;\n text-indent: 32px;\n font-size: 16px;\n font-weight: 500;\n color: #303133;\n }\n\n .department-info-form {\n padding: 24px 32px;\n\n .el-input {\n width: 380px;\n }\n }\n\n .btn-area {\n width: 100%;\n text-align: center;\n padding: 12px;\n }\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/addGroup.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"add-department-container\"},[_c('div',{staticClass:\"setting-cell\"},[_c('el-form',{ref:\"departForm\",staticClass:\"department-info-form\",attrs:{\"label-position\":\"right\",\"rules\":_vm.rules,\"model\":_vm.departInfo,\"label-width\":\"120px\"}},[_c('el-form-item',{attrs:{\"label\":_vm.$route.query.type=='group' ? '部门名称' : '品牌名称',\"prop\":\"name\"}},[_c('el-input',{model:{value:(_vm.departInfo.name),callback:function ($$v) {_vm.$set(_vm.departInfo, \"name\", $$v)},expression:\"departInfo.name\"}})],1),_vm._v(\" \"),(_vm.$route.query.type=='group' || _vm.isAddNew)?_c('el-form-item',{attrs:{\"label\":\"部门排序调整\",\"prop\":\"parentId\"}},[_c('el-input',{attrs:{\"disabled\":_vm.disabled,\"suffix-icon\":\"el-icon-arrow-down\"},on:{\"focus\":_vm.callGroupSelector},model:{value:(_vm.departInfo.parentName),callback:function ($$v) {_vm.$set(_vm.departInfo, \"parentName\", $$v)},expression:\"departInfo.parentName\"}})],1):_vm._e()],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"setting-cell\"},[_c('div',{staticClass:\"btn-area\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveEdit}},[_vm._v(\"保存\")]),_vm._v(\" \"),(_vm.isAddNew)?_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.saveEdit('continue')}}},[_vm._v(\"保存并继续添加\")]):_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":_vm.delGroup}},[_vm._v(\"删除\")]),_vm._v(\" \"),_c('el-button',{on:{\"click\":_vm.cancel}},[_vm._v(\"取消\")])],1)]),_vm._v(\" \"),_c('vue-select-store',{ref:\"storeSelector\",attrs:{\"treeSet\":_vm.treeSet,\"selectType\":\"group\",\"forbidenList\":_vm.forbidenList},on:{\"handleSelectedList\":_vm.handleSelectedList}})],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-393f1257\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/addGroup.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-393f1257\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./addGroup.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addGroup.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./addGroup.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-393f1257\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./addGroup.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/addGroup.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([36],{AdJp:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=n("3Xzz"),o=n("WSbm"),s=n("P9l9"),r={name:"employeeDetail",components:{navCrumb:t.a,employeeInfo:o.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"员工档案",path:"/fileSet"},{name:"添加员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this.$refs.emmployInfo.info;console.log(a,"ssss"),this.isNew?this.addEmployee(a,e):this.saveEmployeeInfo(a)},addEmployee:function(e,a){var n=this,t={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};console.log(e,t),Object(s.a)("/haoban-manage-web/emp/add",t).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(n.$message.success({message:"操作成功"}),1==a?n.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):n.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(e){var a=this,n={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode};console.log(e,n),Object(s.a)("/haoban-manage-web/emp/update",n).then(function(e){console.log(e,"update result"),1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error"),a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}}},m={render:function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"common-set-wrap"},[n("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box"},[n("div",{staticClass:"employee-detail"},[n("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),n("div",{staticClass:"btn-boxs"},[n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]),e._v(" "),e.isNew?n("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),n("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(r,m,!1,function(e){n("NbTD")},null,null);a.default=i.exports},NbTD:function(e,a){}});
//# sourceMappingURL=36.a758ee27ace30332f655.js.map
\ No newline at end of file
webpackJsonp([38],{AdJp:function(e,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var t=n("3Xzz"),o=n("WSbm"),s=n("P9l9"),r={name:"employeeDetail",components:{navCrumb:t.a,employeeInfo:o.a},data:function(){return{navpath:[{name:"首页",path:"/index"},{name:"企业通讯录",path:"/administrativeFrame"},{name:"员工档案",path:"/fileSet"},{name:"添加员工",path:""}],managerMode:!1}},methods:{save:function(e){var a=this.$refs.emmployInfo.info;console.log(a,"ssss"),this.isNew?this.addEmployee(a,e):this.saveEmployeeInfo(a)},addEmployee:function(e,a){var n=this,t={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};console.log(e,t),Object(s.a)("/haoban-manage-web/emp/add",t).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(n.$message.success({message:"操作成功"}),1==a?n.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):n.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(e){var a=this,n={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode};console.log(e,n),Object(s.a)("/haoban-manage-web/emp/update",n).then(function(e){console.log(e,"update result"),1==e.data.errorCode?(a.$message.success({message:"操作成功"}),window.history.go(-1)):a.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error"),a.$message.error({message:e.message})})},cancel:function(){this.$confirm(" 是否确认取消,取消后当前页面信息将丢失 ?","提示",{type:"warning"}).then(function(){window.history.go(-1)}).catch(function(e){console.log(e)})}},computed:{isNew:function(){return 1==!!this.$route.query.addnew}}},m={render:function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"common-set-wrap"},[n("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),n("div",{staticClass:"right-content"},[n("div",{staticClass:"right-box"},[n("div",{staticClass:"employee-detail"},[n("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():n("div",{staticClass:"btn-boxs"},[n("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")]),e._v(" "),e.isNew?n("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),n("el-button",{on:{click:e.cancel}},[e._v("取消")])],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(r,m,!1,function(e){n("VuHy")},null,null);a.default=i.exports},VuHy:function(e,a){}});
//# sourceMappingURL=38.593dae655796c51e831c.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///src/views/contacts/employee.vue","webpack:///./src/views/contacts/employee.vue?2a3f","webpack:///./src/views/contacts/employee.vue"],"names":["employee","name","components","navCrumb","nav","employeeInfo","data","navpath","path","managerMode","methods","save","contin","info","this","$refs","emmployInfo","console","log","isNew","addEmployee","saveEmployeeInfo","that","params","isClerk","phoneNumber","positionName","departmentId","Object","api","then","res","errorCode","$message","success","message","departmentName","window","history","go","error","catch","e","employeeClerkId","$route","query","cancel","$confirm","type","computed","addnew","contacts_employee","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","_v","ref","readOnly","_e","on","click","$event","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"8IAqBAA,GACAC,KAAA,iBACAC,YACAC,SAAAC,EAAA,EACAC,eAAA,GAEAC,KANA,WAOA,OAEAC,UACAN,KAAA,KACAO,KAAA,WAGAP,KAAA,QACAO,KAAA,yBAGAP,KAAA,OACAO,KAAA,aAGAP,KAAA,OACAO,KAAA,KAGAC,aAAA,IAGAC,SACAC,KADA,SACAC,GACA,IAAAC,EAAAC,KAAAC,MAAAC,YAAAH,KACAI,QAAAC,IAAAL,EAAA,QACAC,KAAAK,MACAL,KAAAM,YAAAP,EAAAD,GAEAE,KAAAO,iBAAAR,IAMAO,YAbA,SAaAP,EAAAD,GACA,IAAAU,EAAAR,KACAS,GACAtB,KAAA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,MADA,WAEA,YAAAL,KAAA8B,OAAAC,MAAAK,UC/IeC,GADEC,OAFjB,WAA0B,IAAAC,EAAAvC,KAAawC,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA8BF,EAAA,aAAkBG,OAAOpD,QAAA8C,EAAA9C,WAAuB8C,EAAAO,GAAA,KAAAJ,EAAA,OAAwBE,YAAA,kBAA4BF,EAAA,OAAYE,YAAA,cAAwBF,EAAA,OAAYE,YAAA,oBAA8BF,EAAA,iBAAsBK,IAAA,cAAAF,OAAyBxC,MAAAkC,EAAAlC,SAAmBkC,EAAAO,GAAA,KAAAP,EAAAT,OAAAC,MAAAiB,SAA6VT,EAAAU,KAA7VP,EAAA,OAAqDE,YAAA,aAAuBF,EAAA,aAAkBG,OAAOX,KAAA,WAAiBgB,IAAKC,MAAAZ,EAAA1C,QAAkB0C,EAAAO,GAAA,QAAAP,EAAAO,GAAA,KAAAP,EAAA,MAAAG,EAAA,aAAyDG,OAAOX,KAAA,WAAiBgB,IAAKC,MAAA,SAAAC,GAAyBb,EAAA1C,KAAA,OAAc0C,EAAAO,GAAA,aAAAP,EAAAU,KAAAV,EAAAO,GAAA,KAAAJ,EAAA,aAA2DQ,IAAIC,MAAAZ,EAAAP,UAAoBO,EAAAO,GAAA,yBAExsBO,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,CACEtE,EACAmD,GATF,EAVA,SAAAoB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/38.593dae655796c51e831c.js","sourcesContent":["<template>\n <div class=\"common-set-wrap\">\n <nav-crumb :navpath=\"navpath\"></nav-crumb>\n <div class=\"right-content\">\n <div class=\"right-box\">\n <div class=\"employee-detail\">\n <employee-info :isNew=\"isNew\" ref=\"emmployInfo\"></employee-info>\n <div class=\"btn-boxs\" v-if=\"!$route.query.readOnly\">\n <el-button @click=\"save\" type=\"primary\">保存</el-button>\n <el-button type=\"primary\" @click=\"save(1)\" v-if=\"isNew\">保存并继续添加</el-button>\n <el-button @click=\"cancel\">取消</el-button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport navCrumb from '@/components/nav/nav.vue';\nimport employeeInfo from \"components/contacts/employeeInfo\";\nimport { getRequest, postRequest, postJsonRequest } from '@/api/api';\nexport default {\n name: \"employeeDetail\",\n components: {\n navCrumb,\n employeeInfo\n },\n data() {\n return {\n // 面包屑参数\n navpath: [{\n name: '首页',\n path: '/index'\n },\n {\n name: '企业通讯录',\n path: '/administrativeFrame'\n },\n {\n name: '员工档案',\n path: '/fileSet'\n },\n {\n name: '添加员工',\n path: ''\n }\n ],\n managerMode: false\n };\n },\n methods: {\n save(contin) {\n let info = this.$refs.emmployInfo.info;\n console.log(info, \"ssss\");\n if (this.isNew) {\n this.addEmployee(info, contin);\n } else {\n this.saveEmployeeInfo(info);\n }\n },\n /**\n * 新增员工\n */\n addEmployee(info, contin) {\n let that = this;\n let params = {\n name: info.name,\n isClerk: 0,\n phoneNumber: info.phoneNumber,\n positionName: info.positionName,\n departmentId: info.departmentId,\n managerMode: info.managerMode * 1\n };\n console.log(info, params);\n getRequest(\"/haoban-manage-web/emp/add\", params)\n .then(res => {\n console.log(res, \"add result\");\n if (res.data.errorCode == 1) {\n that.$message.success({\n message: \"操作成功\"\n });\n if (contin == 1) {\n that.$refs.emmployInfo.info = {\n name: \"\",\n phoneNumber: \"\",\n departmentId: \"\",\n departmentName: \"\",\n managerMode: false\n };\n } else {\n window.history.go(-1);\n }\n } else {\n that.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n console.log(e, \"error\");\n });\n },\n saveEmployeeInfo(info) {\n let that = this;\n let params = {\n name: info.name,\n phoneNumber: info.phoneNumber,\n positionName: info.positionName,\n departmentId: info.departmentId,\n employeeClerkId: that.$route.query.employeeClerkId,\n managerMode: info.managerMode * 1\n };\n console.log(info, params);\n getRequest(\"/haoban-manage-web/emp/update\", params)\n .then(res => {\n console.log(res, \"update result\");\n if (res.data.errorCode == 1) {\n that.$message.success({\n message: \"操作成功\"\n });\n window.history.go(-1);\n } else {\n that.$message.error({\n message: res.data.message\n });\n }\n })\n .catch(e => {\n console.log(e, \"error\");\n that.$message.error({\n message: e.message\n });\n });\n },\n cancel() {\n this.$confirm(\" 是否确认取消,取消后当前页面信息将丢失 ?\", \"提示\", {\n type: \"warning\"\n }).then(() => {\n window.history.go(-1);\n }).catch(e => {\n console.log(e);\n });\n }\n },\n computed: {\n isNew() {\n return !!this.$route.query.addnew == 1;\n }\n }\n};\n\n</script>\n<style lang=\"scss\">\n.employee-detail {\n overflow: auto;\n height: 460px;\n\n .btn-boxs {\n width: calc(100% - 200px);\n padding: 12px 0;\n background: #fff;\n position: fixed;\n bottom: 0;\n right: 0;\n text-align: center;\n }\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/contacts/employee.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"common-set-wrap\"},[_c('nav-crumb',{attrs:{\"navpath\":_vm.navpath}}),_vm._v(\" \"),_c('div',{staticClass:\"right-content\"},[_c('div',{staticClass:\"right-box\"},[_c('div',{staticClass:\"employee-detail\"},[_c('employee-info',{ref:\"emmployInfo\",attrs:{\"isNew\":_vm.isNew}}),_vm._v(\" \"),(!_vm.$route.query.readOnly)?_c('div',{staticClass:\"btn-boxs\"},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保存\")]),_vm._v(\" \"),(_vm.isNew)?_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){_vm.save(1)}}},[_vm._v(\"保存并继续添加\")]):_vm._e(),_vm._v(\" \"),_c('el-button',{on:{\"click\":_vm.cancel}},[_vm._v(\"取消\")])],1):_vm._e()],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-303c712f\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/contacts/employee.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-303c712f\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./employee.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employee.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./employee.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-303c712f\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./employee.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/contacts/employee.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
\ No newline at end of file
webpackJsonp([42],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("mvHQ"),a=n.n(o),r=n("7+uW"),c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("YcUK")},null,null).exports,i=n("/ocq"),m=n("5tgt"),d=n.n(m);r.default.use(i.a);var p=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var u,l=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:d()("login","index")},{path:"/index",name:"index",component:d()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:d()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:d()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:d()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:d()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:d()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:d()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:d()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:d()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:d()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:d()("contacts","recycle")},{path:"/employee",name:"在职员工",component:d()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:d()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:d()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:d()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:d()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:d()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:d()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:d()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:d()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:d()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:d()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:d()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:d()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:d()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:d()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:d()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:d()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:d()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:d()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:d()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:d()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:d()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:p},{path:"/404",name:"error404",component:p},{path:"/500",name:"error500",component:p},{path:"*",redirect:"/404",hidden:!0}],f=new i.a({routes:l,scrollBehavior:function(){return{y:0}}}),h=n("zL8q"),v=n.n(h),g=n("Rf8U"),w=n.n(g),y=n("mtWM"),C=n.n(y),A=n("bOdI"),I=n.n(A),x=n("NYxO");r.default.use(x.a);var R=new x.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(u={},I()(u,"login",function(e,t){sessionStorage.token=t,e.token=t}),I()(u,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),I()(u,"title",function(e,t){e.title=t}),I()(u,"show",function(e,t){e.show=t}),u)}),k=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),P=n.n(k),S=n("tyqE"),O=n.n(S),T=n("pRVe"),b=n.n(T),D=n("SE7k"),F=n.n(D),j=n("XsK6"),z=n.n(j),E=n("QRL9"),G=n.n(E),H=n("2Pnh"),U=n.n(H),q=n("l9mu"),J=n.n(q),K={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;U()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,r=o,c=0,s=592.28/n*o,i=t.toDataURL("image/jpeg",1),m=new J.a("","pt","a4");if(r<a)m.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)m.addImage(i,"JPEG",0,c,595.28,s),c-=841.89,(r-=a)>0&&m.addPage();m.save(e+".pdf")})}}};r.default.use(K),r.default.use(z.a),r.default.use(G.a),r.default.use(F.a),r.default.use(b.a),r.default.use(O.a),r.default.use(P.a),r.default.config.productionTip=!1,r.default.use(v.a,{size:"large"}),r.default.use(w.a,C.a),r.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var o=void 0,r=window.location.origin;o="-1"!=r.indexOf("localhost")?"http://www.gicdev.com":r,localStorage.getItem("userInfo")||C.a.get(o+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode?h.Message.error({duration:1e3,message:t.message}):localStorage.setItem("userInfo",a()(t.result))}).catch(function(e){h.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,16],"./contacts/addDepartment.vue":["HHRu",0,14],"./contacts/addEmployee.vue":["00Sv",37],"./contacts/addGroup.vue":["mPjx",0,38],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,36],"./contacts/employeeIo.vue":["Rwbg",0,26],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,6],"./contacts/index.vue":["41Rh",0,27],"./contacts/recordInfo.vue":["67iC",0,23],"./contacts/recordIo.vue":["738z",0,15],"./contacts/recycle.vue":["HkK0",0,22],"./contacts/shareAddDepartment.vue":["q5Ri",0,9],"./contacts/shareCode.vue":["JsWW",0,31],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,11],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,30],"./contacts/storeIo.vue":["RHxA",0,32],"./contacts/unemployee.vue":["TGrv",0,10],"./enterpriseApp/index.vue":["da9f",29],"./errorPage/403.vue":["6XGN",21],"./errorPage/404.vue":["AejC",18],"./errorPage/500.vue":["FskK",19],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,25],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",35],"./reviewCenter/reviewed.vue":["CLYF",0,12],"./reviewCenter/unreview.vue":["xCEU",0,13],"./setting/addAdmin.vue":["rs/A",0,34],"./setting/addAdminRole.vue":["fZsz",0,20],"./setting/companyAddress.vue":["SKyE",0,33],"./setting/companyCertify.vue":["3zYh",0,8],"./setting/index.vue":["VlR1",28],"./setting/replaceAdmin.vue":["ys9I",0,39],"./setting/setChildAdmin.vue":["VqB7",0,40],"./setting/staffDetails.vue":["Zyzf",0,24],"./setting/storePermission.vue":["Xwfy",0,17]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},Xcu2:function(e,t){},YcUK:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.478df9b1e4cc9f934b81.js.map
\ No newline at end of file
webpackJsonp([42],{"4qCZ":function(e,t){},"5tgt":function(e,t,n){e.exports=function(e,t){return function(o){n("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("mvHQ"),a=n.n(o),r=n("7+uW"),c={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)},staticRenderFns:[]};var s=n("VU/8")({name:"App",data:function(){return{}}},c,!1,function(e){n("YcUK")},null,null).exports,i=n("/ocq"),m=n("5tgt"),d=n.n(m);r.default.use(i.a);var p=function(e){n.e(1).then(n.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var u,l=[{path:"/",name:"/",redirect:"login"},{path:"/login",name:"登录",component:d()("login","index")},{path:"/index",name:"index",component:d()("index","index")},{path:"/contacts",name:"通讯录",redirect:"administrativeFrame",component:d()("contacts","index"),children:[{path:"/administrativeFrame",name:"行政架构",component:d()("contacts","administrativeFrame")},{path:"/employeeIo",name:"批量导入/导出",component:d()("contacts","employeeIo")},{path:"/addDepartment",name:"添加部门",component:d()("contacts","addDepartment")},{path:"/addClerk",name:"添加店员",component:d()("contacts","addClerk")},{path:"/storeFrame",name:"门店架构",component:d()("contacts","storeFrame")},{path:"/addGroup",name:"添加子分组",component:d()("contacts","addGroup")},{path:"/storeIo",name:"门店导入/导出",component:d()("contacts","storeIo")},{path:"/storeInfo",name:"编辑门店",component:d()("contacts","storeInfo")},{path:"/recycle",name:"门店回收站",component:d()("contacts","recycle")},{path:"/employee",name:"在职员工",component:d()("contacts","employee")},{path:"/unemployee",name:"离职员工",component:d()("contacts","unemployee")},{path:"/fileSet",name:"档案设置",component:d()("contacts","fileSet")},{path:"/recordInfo",name:"编辑员工信息",component:d()("contacts","recordInfo")},{path:"/recordIo",name:"导入导出员工档案",component:d()("contacts","recordIo")},{path:"/shareContact",name:"共享通讯录",component:d()("contacts","shareContact")},{path:"/shareCode",name:"共享通讯录二维码",component:d()("contacts","shareCode")},{path:"/employeeRecord",name:"在职员工",component:d()("contacts","employeeRecord")}]},{path:"/enterpriseApp",name:"企业应用",component:d()("enterpriseApp","index")},{path:"/reviewCenter",name:"审核中心",redirect:"unreview",component:d()("reviewCenter","index"),children:[{path:"/reviewed",name:"已审核",component:d()("reviewCenter","reviewed")},{path:"/unreview",name:"未审核",component:d()("reviewCenter","unreview")}]},{path:"/setCenter",name:"设置",redirect:"companyAddress",component:d()("setting","index"),children:[{path:"/companyAddress",name:"企业地址",component:d()("setting","companyAddress")},{path:"/companyCertify",name:"企业认证",component:d()("setting","companyCertify")},{path:"/staffDetails",name:"员工详情字段",component:d()("setting","staffDetails")},{path:"/storePermission",name:"门店权限设置",component:d()("setting","storePermission")},{path:"/replaceAdmin",name:"更换超级管理员",component:d()("setting","replaceAdmin")},{path:"/setChildAdmin",name:"设置子管理员",component:d()("setting","setChildAdmin")},{path:"/addAdmin",name:"添加管理员",component:d()("setting","addAdmin")},{path:"/addAdminRole",name:"添加管理员角色",component:d()("setting","addAdminRole")}]},{path:"/staffRecordsTemplate",name:"员工档案设置",component:d()("contacts","staffRecordsTemplate")},{path:"/403",name:"无权访问",component:p},{path:"/404",name:"error404",component:p},{path:"/500",name:"error500",component:p},{path:"*",redirect:"/404",hidden:!0}],f=new i.a({routes:l,scrollBehavior:function(){return{y:0}}}),h=n("zL8q"),v=n.n(h),g=n("Rf8U"),w=n.n(g),y=n("mtWM"),C=n.n(y),A=n("bOdI"),I=n.n(A),x=n("NYxO");r.default.use(x.a);var R=new x.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px"},mutations:(u={},I()(u,"login",function(e,t){sessionStorage.token=t,e.token=t}),I()(u,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),I()(u,"title",function(e,t){e.title=t}),I()(u,"show",function(e,t){e.show=t}),u)}),k=(n("4qCZ"),n("uKUT"),n("Xcu2"),n("TUaa")),P=n.n(k),S=n("tyqE"),O=n.n(S),T=n("pRVe"),b=n.n(T),D=n("SE7k"),F=n.n(D),j=n("XsK6"),z=n.n(j),E=n("QRL9"),G=n.n(E),H=n("2Pnh"),U=n.n(H),q=n("l9mu"),J=n.n(q),K={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;U()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var n=t.width,o=t.height,a=n/592.28*841.89,r=o,c=0,s=592.28/n*o,i=t.toDataURL("image/jpeg",1),m=new J.a("","pt","a4");if(r<a)m.addImage(i,"JPEG",0,0,595.28,s);else for(;r>0;)m.addImage(i,"JPEG",0,c,595.28,s),c-=841.89,(r-=a)>0&&m.addPage();m.save(e+".pdf")})}}};r.default.use(K),r.default.use(z.a),r.default.use(G.a),r.default.use(F.a),r.default.use(b.a),r.default.use(O.a),r.default.use(P.a),r.default.config.productionTip=!1,r.default.use(v.a,{size:"large"}),r.default.use(w.a,C.a),r.default.axios.defaults.withCredentials=!0,f.beforeEach(function(e,t,n){var o=void 0,r=window.location.origin;o="-1"!=r.indexOf("localhost")?"http://www.gicdev.com":r,localStorage.getItem("userInfo")||C.a.get(o+"/haoban-manage-web/emp/get-user-info",{}).then(function(e){var t=e.data;1!=t.errorCode?h.Message.error({duration:1e3,message:t.message}):localStorage.setItem("userInfo",a()(t.result))}).catch(function(e){h.Message.error({duration:1e3,message:e.message})}),"/"==e.path?n({path:"/login"}):n()}),new r.default({el:"#app",router:f,store:R,components:{App:s},template:"<App/>"})},Opzk:function(e,t,n){var o={"./contacts/addClerk.vue":["27o1",0,16],"./contacts/addDepartment.vue":["HHRu",0,14],"./contacts/addEmployee.vue":["00Sv",36],"./contacts/addGroup.vue":["mPjx",0,37],"./contacts/administrativeFrame.vue":["kLcy",0,3],"./contacts/employee.vue":["AdJp",0,38],"./contacts/employeeIo.vue":["Rwbg",0,26],"./contacts/employeeRecord.vue":["zGJY",0,5],"./contacts/fileSet.vue":["CSjr",0,6],"./contacts/index.vue":["41Rh",0,27],"./contacts/recordInfo.vue":["67iC",0,23],"./contacts/recordIo.vue":["738z",0,15],"./contacts/recycle.vue":["HkK0",0,22],"./contacts/shareAddDepartment.vue":["q5Ri",0,9],"./contacts/shareCode.vue":["JsWW",0,31],"./contacts/shareContact.vue":["Gfms",0,2],"./contacts/staffRecordsTemplate.vue":["lFAe",0,11],"./contacts/storeFrame.vue":["7SJI",0,4],"./contacts/storeInfo.vue":["h/6A",0,30],"./contacts/storeIo.vue":["RHxA",0,32],"./contacts/unemployee.vue":["TGrv",0,10],"./enterpriseApp/index.vue":["da9f",29],"./errorPage/403.vue":["6XGN",21],"./errorPage/404.vue":["AejC",18],"./errorPage/500.vue":["FskK",19],"./errorPage/index.vue":["ODjX",1],"./index/index.vue":["JXTs",0,25],"./login/index.vue":["T+/8",0,7],"./reviewCenter/index.vue":["+lem",35],"./reviewCenter/reviewed.vue":["CLYF",0,12],"./reviewCenter/unreview.vue":["xCEU",0,13],"./setting/addAdmin.vue":["rs/A",0,34],"./setting/addAdminRole.vue":["fZsz",0,20],"./setting/companyAddress.vue":["SKyE",0,33],"./setting/companyCertify.vue":["3zYh",0,8],"./setting/index.vue":["VlR1",28],"./setting/replaceAdmin.vue":["ys9I",0,39],"./setting/setChildAdmin.vue":["VqB7",0,40],"./setting/staffDetails.vue":["Zyzf",0,24],"./setting/storePermission.vue":["Xwfy",0,17]};function a(e){var t=o[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}a.keys=function(){return Object.keys(o)},a.id="Opzk",e.exports=a},Xcu2:function(e,t){},YcUK:function(e,t){},uKUT:function(e,t){}},["NHnr"]);
//# sourceMappingURL=app.b936fd986f46ed20966a.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?7ec0","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","redirect","component","_import","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","bgHeight","screen","availHeight","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","beforeEach","to","from","next","baseUrl","host","location","origin","indexOf","localStorage","get","res","resData","errorCode","Message","error","duration","message","setItem","stringify_default","result","catch","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/recycle.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","reject","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,gICCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,cAAmBE,OAAOE,KAAA,OAAAC,KAAA,YAA+BL,EAAA,wBAErKM,oBCCjB,IAuBeC,EAvBUd,EAAQ,OAcjCe,ECPAJ,KAAA,MACAK,KAFA,WAGA,WDOEd,GATF,EAVA,SAAAe,GACEjB,EAAQ,SAaV,KAEA,MAUgC,yCEvBhCkB,UAAIC,IAAIC,KAiBR,IAAMC,EAAY,SAACtB,GACjBC,EAAAsB,EAAA,GAAArB,KAAAD,EAAAuB,KAAA,cAAoCtB,KAAK,SAACN,GACxCI,EAAEJ,MAIF6B,OAAOC,eAAeC,QAAQ,UAChCC,MAAMC,OAAOC,MAAMC,MAAON,OAAOC,eAAeC,QAAQ,UAEnD,MAAMK,IAETC,KAAM,IACNrB,KAAM,IACNsB,SAAU,UAGVD,KAAM,SACNrB,KAAM,KACNuB,UAAW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PI,aAAajF,QAAQ,aACxBqE,IAAMa,IAAON,EAAb,2CACCrG,KAAK,SAAC4G,GACL,IAAIC,EAAUD,EAAI7F,KACO,GAArB8F,EAAQC,UAIbC,UAAQC,OACLC,SAAU,IACVC,QAASL,EAAQK,UALjBR,aAAaS,QAAQ,WAAWC,IAAeP,EAAQQ,WAQ1DC,MAAM,SAAUN,GAChBD,UAAQC,OACLC,SAAU,IACVC,QAASF,EAAME,YAIN,KAAXhB,EAAGnE,KACLqE,GAAOrE,KAAM,WAEbqE,MAKJ,IAAInF,WACFsG,GAAI,OACJlF,SACAX,QACA8F,YAAcC,OACdC,SAAU,iCChFZ,IAAAC,GACAC,2BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,8BACA,OACA,IAEAC,2BACA,OACA,EACA,IAEAC,sCACA,OACA,EACA,GAEAC,2BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,GAEAC,0BACA,OACA,EACA,GAEAC,wBACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,2BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,qCACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,GAEAC,uCACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,GAEAC,4BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,6BACA,OACA,EACA,IAEAC,6BACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA3C,EAAA0C,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA9C,IAAA5H,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAAuK,EAAA,MAFAC,QAAAG,OAAA,IAAAC,MAAA,uBAAAN,EAAA,OAKAD,EAAAQ,KAAA,WACA,OAAAC,OAAAD,KAAAjD,IAEAyC,EAAA3J,GAAA,OACAf,EAAAC,QAAAyK","file":"static/js/app.478df9b1e4cc9f934b81.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\n r(module)\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-3b1515cf\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-3b1515cf\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3b1515cf\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","<template>\n <div id=\"app\">\n <transition name=\"fade\" mode=\"out-in\">\n <router-view></router-view>\n </transition>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'App',\n data() {\n return {\n\n }\n }\n}\n</script>\n<style>\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\nimport Router from 'vue-router'\nimport _import from './_import.js'\nVue.use(Router);\n\n// const error403 = (r) => {\n// import('views/errorPage/403.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error404 = (r) => {\n// import('views/errorPage/404.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error500 = (r) => {\n// import('views/errorPage/500.vue').then((module) => {\n// r(module)\n// })\n// };\nconst errorPage = (r) => {\n import('views/errorPage/index.vue').then((module) => {\n r(module)\n })\n};\n// 页面刷新时,重新赋值token\nif (window.sessionStorage.getItem('token')) {\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\n}\nexport const constantRouterMap = [\n {\n path: '/',\n name: '/',\n redirect: 'login',\n },\n {\n path: '/login',\n name: '登录',\n component: _import('login','index')\n },\n {\n path: '/index',\n name: 'index',\n component: _import('index','index'),\n },\n {\n path: '/contacts',\n name: '通讯录',\n redirect: 'administrativeFrame',\n component: _import('contacts','index'),\n children: [\n // 通讯录\n {\n path: '/administrativeFrame',\n name: '行政架构',\n component: _import('contacts','administrativeFrame')\n },\n {\n path: \"/employeeIo\",\n name: \"批量导入/导出\",\n component: _import('contacts','employeeIo')\n },\n {\n path: '/addDepartment',\n name: '添加部门',\n component: _import('contacts','addDepartment')\n },\n {\n path: '/addClerk',\n name: '添加店员',\n component: _import('contacts','addClerk')\n },\n {\n path: '/storeFrame',\n name: '门店架构',\n component: _import('contacts','storeFrame')\n },\n {\n path: '/addGroup',\n name: '添加子分组',\n component: _import('contacts','addGroup')\n },\n {\n path: '/storeIo',\n name: '门店导入/导出',\n component: _import('contacts','storeIo')\n },\n {\n path: '/storeInfo',\n name: '编辑门店',\n component: _import('contacts','storeInfo')\n },\n {\n path: \"/recycle\",\n name: \"门店回收站\",\n component: _import('contacts','recycle')\n },\n {\n path: '/employee',\n name: '在职员工',\n component: _import('contacts','employee')\n },\n {\n path: '/unemployee',\n name: '离职员工',\n component: _import('contacts','unemployee')\n },\n {\n path: '/fileSet',\n name: '档案设置',\n component: _import('contacts','fileSet')\n },\n {\n path: '/recordInfo',\n name: '编辑员工信息',\n component: _import('contacts','recordInfo')\n },\n {\n path: '/recordIo',\n name: '导入导出员工档案',\n component: _import('contacts','recordIo')\n },\n {\n path: '/shareContact',\n name: '共享通讯录',\n component: _import('contacts','shareContact')\n },\n {\n path: \"/shareCode\",\n name: '共享通讯录二维码',\n component: _import('contacts','shareCode')\n },\n {\n path: \"/employeeRecord\",\n name: '在职员工',\n component: _import('contacts','employeeRecord')\n }\n ]\n },\n {\n // 企业应用\n path: '/enterpriseApp',\n name: '企业应用',\n component: _import('enterpriseApp','index'),\n },\n {\n // 审核中心\n path: '/reviewCenter',\n name: '审核中心',\n redirect: 'unreview',\n component: _import('reviewCenter','index'),\n children: [\n {\n path: '/reviewed',\n name: '已审核',\n component: _import('reviewCenter','reviewed')\n },\n {\n path: '/unreview',\n name: '未审核',\n component: _import('reviewCenter','unreview')\n },\n ]\n },\n {\n // 设置模块\n path: '/setCenter',\n name: '设置',\n redirect: 'companyAddress',\n component: _import('setting','index'),\n children: [\n {\n path: '/companyAddress',\n name: '企业地址',\n component: _import('setting','companyAddress')\n },\n {\n path: '/companyCertify',\n name: '企业认证',\n component: _import('setting','companyCertify')\n },\n {\n path: '/staffDetails',\n name: '员工详情字段',\n component: _import('setting','staffDetails')\n },\n {\n path: '/storePermission',\n name: '门店权限设置',\n component: _import('setting','storePermission')\n },\n {\n path: '/replaceAdmin',\n name: '更换超级管理员',\n component: _import('setting','replaceAdmin')\n },\n {\n path: '/setChildAdmin',\n name: '设置子管理员',\n component: _import('setting','setChildAdmin')\n },\n {\n path: '/addAdmin',\n name: '添加管理员',\n component: _import('setting','addAdmin')\n },\n {\n path: '/addAdminRole',\n name: '添加管理员角色',\n component: _import('setting','addAdminRole')\n }\n ]\n },\n {\n path: '/staffRecordsTemplate',\n name: '员工档案设置',\n component: _import('contacts','staffRecordsTemplate')\n },\n {\n path: '/403',\n name: '无权访问',\n component: errorPage\n },\n {\n path: '/404',\n name: 'error404',\n component: errorPage\n },\n {\n path: '/500',\n name: 'error500',\n component: errorPage\n },\n { path: '*', redirect: '/404', hidden: true },\n];\nexport default new Router({\n // mode:'history',\n routes: constantRouterMap,\n scrollBehavior: () => ({ y: 0 }),\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\nimport Vue from 'vue'\nimport * as types from './types'\n\nVue.use(Vuex);\nexport default new Vuex.Store({\n state: {\n user: {},\n token: null,\n title: '',\n show: false,\n bgHeight: (window.screen.availHeight - 440 - 24) +'px'\n },\n mutations: {\n [types.LOGIN]: (state, data) => {\n sessionStorage.token = data;\n state.token = data;\n },\n [types.LOGOUT]: (state) => {\n sessionStorage.removeItem('token');\n state.token = null\n },\n [types.TITLE]: (state, data) => {\n state.title = data;\n },\n [types.SHOW]: (state,data) => {\n state.show = data;\n }\n }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\n\nexport const LOGOUT = 'logout';\n\nexport const TITLE = 'title';\n\nexport const SHOW = 'show';\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\nimport html2Canvas from 'html2canvas'\nimport JsPDF from 'jspdf'\nexport default{\n install (Vue, options) {\n Vue.prototype.getPdf = function () {\n var title = this.htmlTitle\n html2Canvas(document.querySelector('#pdfDom'), {\n allowTaint: true,\n foreignObjectRendering: true\n }).then(function (canvas) {\n let contentWidth = canvas.width\n let contentHeight = canvas.height\n let pageHeight = contentWidth / 592.28 * 841.89\n let leftHeight = contentHeight\n let position = 0\n let imgWidth = 595.28\n let imgHeight = 592.28 / contentWidth * contentHeight\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\n let PDF = new JsPDF('', 'pt', 'a4')\n if (leftHeight < pageHeight) {\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\n } else {\n while (leftHeight > 0) {\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\n leftHeight -= pageHeight\n position -= 841.89\n if (leftHeight > 0) {\n PDF.addPage()\n }\n }\n }\n PDF.save(title + '.pdf')\n }\n )\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport ElementUI ,{ Message } from 'element-ui'\nimport VueAxios from 'vue-axios'\nimport axios from 'axios'\nimport store from './store/store'\nimport * as types from './store/types'\nimport '../static/css/index.less'\n// import 'element-ui/lib/theme-chalk/index.css'\nimport '../static/font/iconfont.css'\nimport '../theme/index.css'\n\nimport vueOfficeHeader from '@gic-test/vue-office-header'\nimport vueOfficeAside from '@gic-test/vue-office-aside'\nimport vueOfficeArea from '@gic-test/vue-office-area'\n// 新增公共 footer插件\nimport vueGicFooter from '@gic-test/vue-gic-footer'\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\nimport htmlToPdf from '@/components/utils/htmlToPdf'\n\nVue.use(htmlToPdf)\nVue.use(vueGicImgPreview)\nVue.use(vueOfficeUploadImage)\nVue.use(vueGicFooter)\nVue.use(vueOfficeArea)\nVue.use(vueOfficeAside)\nVue.use(vueOfficeHeader)\n\nVue.config.productionTip = false;\nVue.use(ElementUI,{size: 'large'});\nVue.use(VueAxios,axios);\n\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\n\n/*\n * 路由守护\n */\nrouter.beforeEach((to, from, next) => {\n let baseUrl;\n let host = window.location.origin;\n if (host.indexOf('localhost') != '-1') {\n baseUrl = 'http://www.gicdev.com';\n }else {\n baseUrl = host;\n }\n if (!localStorage.getItem('userInfo')) {\n axios.get(`${baseUrl}/haoban-manage-web/emp/get-user-info`,{})\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n localStorage.setItem('userInfo',JSON.stringify(resData.result));\n return;\n }\n Message.error({\n duration: 1000,\n message: resData.message\n })\n })\n .catch(function (error) {\n Message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n if (to.path == '/') {\n next({ path: '/login' })\n } else {\n next()\n }\n})\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: '<App/>'\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t16\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t14\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t37\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t38\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t36\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t26\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t27\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t23\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t15\n\t],\n\t\"./contacts/recycle.vue\": [\n\t\t\"HkK0\",\n\t\t0,\n\t\t22\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t9\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t31\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t11\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t30\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t32\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t10\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t29\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t21\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t18\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t19\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t25\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t7\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t35\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t12\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t13\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t34\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t20\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t33\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t8\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t28\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t39\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t40\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t24\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t17\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 42"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/router/_import.js","webpack:///./src/App.vue?7ec0","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/router/index.js","webpack:///./src/store/store.js","webpack:///./src/store/types.js","webpack:///./src/components/utils/htmlToPdf.js","webpack:///./src/main.js","webpack:///./src/views lazy ^\\.\\/.*\\.vue$"],"names":["module","exports","parantfile","file","r","__webpack_require__","then","selectortype_template_index_0_src_App","render","_h","this","$createElement","_c","_self","attrs","id","name","mode","staticRenderFns","src_App","normalizeComponent","data","ssrContext","Vue","use","Router","errorPage","e","bind","window","sessionStorage","getItem","store","commit","types","LOGIN","constantRouterMap","path","redirect","component","_import","children","hidden","router","routes","scrollBehavior","y","Vuex","store_store","Store","state","user","token","title","show","bgHeight","screen","availHeight","mutations","defineProperty_default","_mutations","removeItem","htmlToPdf","install","options","prototype","getPdf","htmlTitle","html2Canvas","document","querySelector","allowTaint","foreignObjectRendering","canvas","contentWidth","width","contentHeight","height","pageHeight","leftHeight","position","imgHeight","pageData","toDataURL","PDF","JsPDF","addImage","addPage","save","vueGicImgPreview","vueOfficeUploadImage","vueGicFooter","vueOfficeArea","vueOfficeAside","vueOfficeHeader","config","productionTip","ElementUI","size","VueAxios","axios","defaults","withCredentials","beforeEach","to","from","next","baseUrl","host","location","origin","indexOf","localStorage","get","res","resData","errorCode","Message","error","duration","message","setItem","stringify_default","result","catch","el","components","App","template","map","./contacts/addClerk.vue","./contacts/addDepartment.vue","./contacts/addEmployee.vue","./contacts/addGroup.vue","./contacts/administrativeFrame.vue","./contacts/employee.vue","./contacts/employeeIo.vue","./contacts/employeeRecord.vue","./contacts/fileSet.vue","./contacts/index.vue","./contacts/recordInfo.vue","./contacts/recordIo.vue","./contacts/recycle.vue","./contacts/shareAddDepartment.vue","./contacts/shareCode.vue","./contacts/shareContact.vue","./contacts/staffRecordsTemplate.vue","./contacts/storeFrame.vue","./contacts/storeInfo.vue","./contacts/storeIo.vue","./contacts/unemployee.vue","./enterpriseApp/index.vue","./errorPage/403.vue","./errorPage/404.vue","./errorPage/500.vue","./errorPage/index.vue","./index/index.vue","./login/index.vue","./reviewCenter/index.vue","./reviewCenter/reviewed.vue","./reviewCenter/unreview.vue","./setting/addAdmin.vue","./setting/addAdminRole.vue","./setting/companyAddress.vue","./setting/companyCertify.vue","./setting/index.vue","./setting/replaceAdmin.vue","./setting/setChildAdmin.vue","./setting/staffDetails.vue","./setting/storePermission.vue","webpackAsyncContext","req","ids","Promise","all","slice","reject","Error","keys","Object"],"mappings":"iEAAAA,EAAOC,QAAU,SAACC,EAAWC,GAAZ,OAAqB,SAACC,GACrCC,EAAA,OAAAA,CAAA,KAAiBH,EAAa,IAAMC,EAAO,QAAQG,KAAK,SAACN,GACvDI,EAAEJ,gICCSO,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,OAAiBE,OAAOC,GAAA,SAAYH,EAAA,cAAmBE,OAAOE,KAAA,OAAAC,KAAA,YAA+BL,EAAA,wBAErKM,oBCCjB,IAuBeC,EAvBUd,EAAQ,OAcjCe,ECPAJ,KAAA,MACAK,KAFA,WAGA,WDO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EACA,IAEAC,6BACA,OACA,EACA,IAEAC,6BACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,uBACA,OACA,IAEAC,yBACA,OACA,GAEAC,qBACA,OACA,EACA,IAEAC,qBACA,OACA,EACA,GAEAC,4BACA,OACA,IAEAC,+BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,0BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,IAEAC,gCACA,OACA,EACA,GAEAC,uBACA,OACA,IAEAC,8BACA,OACA,EACA,IAEAC,+BACA,OACA,EACA,IAEAC,8BACA,OACA,EACA,IAEAC,iCACA,OACA,EACA,KAGA,SAAAC,EAAAC,GACA,IAAAC,EAAA3C,EAAA0C,GACA,OAAAC,EAEAC,QAAAC,IAAAF,EAAAG,MAAA,GAAA9C,IAAA5H,EAAAsB,IAAArB,KAAA,WACA,OAAAD,EAAAuK,EAAA,MAFAC,QAAAG,OAAA,IAAAC,MAAA,uBAAAN,EAAA,OAKAD,EAAAQ,KAAA,WACA,OAAAC,OAAAD,KAAAjD,IAEAyC,EAAA3J,GAAA,OACAf,EAAAC,QAAAyK","file":"static/js/app.b936fd986f46ed20966a.js","sourcesContent":["module.exports = (parantfile,file) => (r) => {\n import('views/'+ parantfile + '/' + file + '.vue').then((module) => {\n r(module)\n })\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/_import.js","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-3b1515cf\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-3b1515cf\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./App.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3b1515cf\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","<template>\n <div id=\"app\">\n <transition name=\"fade\" mode=\"out-in\">\n <router-view></router-view>\n </transition>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'App',\n data() {\n return {\n\n }\n }\n}\n</script>\n<style>\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","import Vue from 'vue'\nimport Router from 'vue-router'\nimport _import from './_import.js'\nVue.use(Router);\n\n// const error403 = (r) => {\n// import('views/errorPage/403.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error404 = (r) => {\n// import('views/errorPage/404.vue').then((module) => {\n// r(module)\n// })\n// };\n// const error500 = (r) => {\n// import('views/errorPage/500.vue').then((module) => {\n// r(module)\n// })\n// };\nconst errorPage = (r) => {\n import('views/errorPage/index.vue').then((module) => {\n r(module)\n })\n};\n// 页面刷新时,重新赋值token\nif (window.sessionStorage.getItem('token')) {\n store.commit(types.LOGIN, window.sessionStorage.getItem('token'))\n}\nexport const constantRouterMap = [\n {\n path: '/',\n name: '/',\n redirect: 'login',\n },\n {\n path: '/login',\n name: '登录',\n component: _import('login','index')\n },\n {\n path: '/index',\n name: 'index',\n component: _import('index','index'),\n },\n {\n path: '/contacts',\n name: '通讯录',\n redirect: 'administrativeFrame',\n component: _import('contacts','index'),\n children: [\n // 通讯录\n {\n path: '/administrativeFrame',\n name: '行政架构',\n component: _import('contacts','administrativeFrame')\n },\n {\n path: \"/employeeIo\",\n name: \"批量导入/导出\",\n component: _import('contacts','employeeIo')\n },\n {\n path: '/addDepartment',\n name: '添加部门',\n component: _import('contacts','addDepartment')\n },\n {\n path: '/addClerk',\n name: '添加店员',\n component: _import('contacts','addClerk')\n },\n {\n path: '/storeFrame',\n name: '门店架构',\n component: _import('contacts','storeFrame')\n },\n {\n path: '/addGroup',\n name: '添加子分组',\n component: _import('contacts','addGroup')\n },\n {\n path: '/storeIo',\n name: '门店导入/导出',\n component: _import('contacts','storeIo')\n },\n {\n path: '/storeInfo',\n name: '编辑门店',\n component: _import('contacts','storeInfo')\n },\n {\n path: \"/recycle\",\n name: \"门店回收站\",\n component: _import('contacts','recycle')\n },\n {\n path: '/employee',\n name: '在职员工',\n component: _import('contacts','employee')\n },\n {\n path: '/unemployee',\n name: '离职员工',\n component: _import('contacts','unemployee')\n },\n {\n path: '/fileSet',\n name: '档案设置',\n component: _import('contacts','fileSet')\n },\n {\n path: '/recordInfo',\n name: '编辑员工信息',\n component: _import('contacts','recordInfo')\n },\n {\n path: '/recordIo',\n name: '导入导出员工档案',\n component: _import('contacts','recordIo')\n },\n {\n path: '/shareContact',\n name: '共享通讯录',\n component: _import('contacts','shareContact')\n },\n {\n path: \"/shareCode\",\n name: '共享通讯录二维码',\n component: _import('contacts','shareCode')\n },\n {\n path: \"/employeeRecord\",\n name: '在职员工',\n component: _import('contacts','employeeRecord')\n }\n ]\n },\n {\n // 企业应用\n path: '/enterpriseApp',\n name: '企业应用',\n component: _import('enterpriseApp','index'),\n },\n {\n // 审核中心\n path: '/reviewCenter',\n name: '审核中心',\n redirect: 'unreview',\n component: _import('reviewCenter','index'),\n children: [\n {\n path: '/reviewed',\n name: '已审核',\n component: _import('reviewCenter','reviewed')\n },\n {\n path: '/unreview',\n name: '未审核',\n component: _import('reviewCenter','unreview')\n },\n ]\n },\n {\n // 设置模块\n path: '/setCenter',\n name: '设置',\n redirect: 'companyAddress',\n component: _import('setting','index'),\n children: [\n {\n path: '/companyAddress',\n name: '企业地址',\n component: _import('setting','companyAddress')\n },\n {\n path: '/companyCertify',\n name: '企业认证',\n component: _import('setting','companyCertify')\n },\n {\n path: '/staffDetails',\n name: '员工详情字段',\n component: _import('setting','staffDetails')\n },\n {\n path: '/storePermission',\n name: '门店权限设置',\n component: _import('setting','storePermission')\n },\n {\n path: '/replaceAdmin',\n name: '更换超级管理员',\n component: _import('setting','replaceAdmin')\n },\n {\n path: '/setChildAdmin',\n name: '设置子管理员',\n component: _import('setting','setChildAdmin')\n },\n {\n path: '/addAdmin',\n name: '添加管理员',\n component: _import('setting','addAdmin')\n },\n {\n path: '/addAdminRole',\n name: '添加管理员角色',\n component: _import('setting','addAdminRole')\n }\n ]\n },\n {\n path: '/staffRecordsTemplate',\n name: '员工档案设置',\n component: _import('contacts','staffRecordsTemplate')\n },\n {\n path: '/403',\n name: '无权访问',\n component: errorPage\n },\n {\n path: '/404',\n name: 'error404',\n component: errorPage\n },\n {\n path: '/500',\n name: 'error500',\n component: errorPage\n },\n { path: '*', redirect: '/404', hidden: true },\n];\nexport default new Router({\n // mode:'history',\n routes: constantRouterMap,\n scrollBehavior: () => ({ y: 0 }),\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","import Vuex from 'vuex'\nimport Vue from 'vue'\nimport * as types from './types'\n\nVue.use(Vuex);\nexport default new Vuex.Store({\n state: {\n user: {},\n token: null,\n title: '',\n show: false,\n bgHeight: (window.screen.availHeight - 440 - 24) +'px'\n },\n mutations: {\n [types.LOGIN]: (state, data) => {\n sessionStorage.token = data;\n state.token = data;\n },\n [types.LOGOUT]: (state) => {\n sessionStorage.removeItem('token');\n state.token = null\n },\n [types.TITLE]: (state, data) => {\n state.title = data;\n },\n [types.SHOW]: (state,data) => {\n state.show = data;\n }\n }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/store.js","export const LOGIN = 'login';\n\nexport const LOGOUT = 'logout';\n\nexport const TITLE = 'title';\n\nexport const SHOW = 'show';\n\n\n\n// WEBPACK FOOTER //\n// ./src/store/types.js","// 导出页面为PDF格式\nimport html2Canvas from 'html2canvas'\nimport JsPDF from 'jspdf'\nexport default{\n install (Vue, options) {\n Vue.prototype.getPdf = function () {\n var title = this.htmlTitle\n html2Canvas(document.querySelector('#pdfDom'), {\n allowTaint: true,\n foreignObjectRendering: true\n }).then(function (canvas) {\n let contentWidth = canvas.width\n let contentHeight = canvas.height\n let pageHeight = contentWidth / 592.28 * 841.89\n let leftHeight = contentHeight\n let position = 0\n let imgWidth = 595.28\n let imgHeight = 592.28 / contentWidth * contentHeight\n let pageData = canvas.toDataURL('image/jpeg', 1.0)\n let PDF = new JsPDF('', 'pt', 'a4')\n if (leftHeight < pageHeight) {\n PDF.addImage(pageData, 'JPEG', 0, 0, imgWidth, imgHeight)\n } else {\n while (leftHeight > 0) {\n PDF.addImage(pageData, 'JPEG', 0, position, imgWidth, imgHeight)\n leftHeight -= pageHeight\n position -= 841.89\n if (leftHeight > 0) {\n PDF.addPage()\n }\n }\n }\n PDF.save(title + '.pdf')\n }\n )\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/utils/htmlToPdf.js","import Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport ElementUI ,{ Message } from 'element-ui'\nimport VueAxios from 'vue-axios'\nimport axios from 'axios'\nimport store from './store/store'\nimport * as types from './store/types'\nimport '../static/css/index.less'\n// import 'element-ui/lib/theme-chalk/index.css'\nimport '../static/font/iconfont.css'\nimport '../theme/index.css'\n\nimport vueOfficeHeader from '@gic-test/vue-office-header'\nimport vueOfficeAside from '@gic-test/vue-office-aside'\nimport vueOfficeArea from '@gic-test/vue-office-area'\n// 新增公共 footer插件\nimport vueGicFooter from '@gic-test/vue-gic-footer'\nimport vueGicImgPreview from '@gic-test/vue-gic-img-preview'\nimport vueOfficeUploadImage from '@gic-test/vue-office-upload-image'\nimport htmlToPdf from '@/components/utils/htmlToPdf'\n\nVue.use(htmlToPdf)\nVue.use(vueGicImgPreview)\nVue.use(vueOfficeUploadImage)\nVue.use(vueGicFooter)\nVue.use(vueOfficeArea)\nVue.use(vueOfficeAside)\nVue.use(vueOfficeHeader)\n\nVue.config.productionTip = false;\nVue.use(ElementUI,{size: 'large'});\nVue.use(VueAxios,axios);\n\nVue.axios.defaults.withCredentials = true ;// 跨域cookie访问\n\n/*\n * 路由守护\n */\nrouter.beforeEach((to, from, next) => {\n let baseUrl;\n let host = window.location.origin;\n if (host.indexOf('localhost') != '-1') {\n baseUrl = 'http://www.gicdev.com';\n }else {\n baseUrl = host;\n }\n if (!localStorage.getItem('userInfo')) {\n axios.get(`${baseUrl}/haoban-manage-web/emp/get-user-info`,{})\n .then((res) => {\n let resData = res.data;\n if (resData.errorCode == 1) {\n localStorage.setItem('userInfo',JSON.stringify(resData.result));\n return;\n }\n Message.error({\n duration: 1000,\n message: resData.message\n })\n })\n .catch(function (error) {\n Message.error({\n duration: 1000,\n message: error.message\n })\n });\n }\n if (to.path == '/') {\n next({ path: '/login' })\n } else {\n next()\n }\n})\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n store,\n components: { App },\n template: '<App/>'\n});\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","var map = {\n\t\"./contacts/addClerk.vue\": [\n\t\t\"27o1\",\n\t\t0,\n\t\t16\n\t],\n\t\"./contacts/addDepartment.vue\": [\n\t\t\"HHRu\",\n\t\t0,\n\t\t14\n\t],\n\t\"./contacts/addEmployee.vue\": [\n\t\t\"00Sv\",\n\t\t36\n\t],\n\t\"./contacts/addGroup.vue\": [\n\t\t\"mPjx\",\n\t\t0,\n\t\t37\n\t],\n\t\"./contacts/administrativeFrame.vue\": [\n\t\t\"kLcy\",\n\t\t0,\n\t\t3\n\t],\n\t\"./contacts/employee.vue\": [\n\t\t\"AdJp\",\n\t\t0,\n\t\t38\n\t],\n\t\"./contacts/employeeIo.vue\": [\n\t\t\"Rwbg\",\n\t\t0,\n\t\t26\n\t],\n\t\"./contacts/employeeRecord.vue\": [\n\t\t\"zGJY\",\n\t\t0,\n\t\t5\n\t],\n\t\"./contacts/fileSet.vue\": [\n\t\t\"CSjr\",\n\t\t0,\n\t\t6\n\t],\n\t\"./contacts/index.vue\": [\n\t\t\"41Rh\",\n\t\t0,\n\t\t27\n\t],\n\t\"./contacts/recordInfo.vue\": [\n\t\t\"67iC\",\n\t\t0,\n\t\t23\n\t],\n\t\"./contacts/recordIo.vue\": [\n\t\t\"738z\",\n\t\t0,\n\t\t15\n\t],\n\t\"./contacts/recycle.vue\": [\n\t\t\"HkK0\",\n\t\t0,\n\t\t22\n\t],\n\t\"./contacts/shareAddDepartment.vue\": [\n\t\t\"q5Ri\",\n\t\t0,\n\t\t9\n\t],\n\t\"./contacts/shareCode.vue\": [\n\t\t\"JsWW\",\n\t\t0,\n\t\t31\n\t],\n\t\"./contacts/shareContact.vue\": [\n\t\t\"Gfms\",\n\t\t0,\n\t\t2\n\t],\n\t\"./contacts/staffRecordsTemplate.vue\": [\n\t\t\"lFAe\",\n\t\t0,\n\t\t11\n\t],\n\t\"./contacts/storeFrame.vue\": [\n\t\t\"7SJI\",\n\t\t0,\n\t\t4\n\t],\n\t\"./contacts/storeInfo.vue\": [\n\t\t\"h/6A\",\n\t\t0,\n\t\t30\n\t],\n\t\"./contacts/storeIo.vue\": [\n\t\t\"RHxA\",\n\t\t0,\n\t\t32\n\t],\n\t\"./contacts/unemployee.vue\": [\n\t\t\"TGrv\",\n\t\t0,\n\t\t10\n\t],\n\t\"./enterpriseApp/index.vue\": [\n\t\t\"da9f\",\n\t\t29\n\t],\n\t\"./errorPage/403.vue\": [\n\t\t\"6XGN\",\n\t\t21\n\t],\n\t\"./errorPage/404.vue\": [\n\t\t\"AejC\",\n\t\t18\n\t],\n\t\"./errorPage/500.vue\": [\n\t\t\"FskK\",\n\t\t19\n\t],\n\t\"./errorPage/index.vue\": [\n\t\t\"ODjX\",\n\t\t1\n\t],\n\t\"./index/index.vue\": [\n\t\t\"JXTs\",\n\t\t0,\n\t\t25\n\t],\n\t\"./login/index.vue\": [\n\t\t\"T+/8\",\n\t\t0,\n\t\t7\n\t],\n\t\"./reviewCenter/index.vue\": [\n\t\t\"+lem\",\n\t\t35\n\t],\n\t\"./reviewCenter/reviewed.vue\": [\n\t\t\"CLYF\",\n\t\t0,\n\t\t12\n\t],\n\t\"./reviewCenter/unreview.vue\": [\n\t\t\"xCEU\",\n\t\t0,\n\t\t13\n\t],\n\t\"./setting/addAdmin.vue\": [\n\t\t\"rs/A\",\n\t\t0,\n\t\t34\n\t],\n\t\"./setting/addAdminRole.vue\": [\n\t\t\"fZsz\",\n\t\t0,\n\t\t20\n\t],\n\t\"./setting/companyAddress.vue\": [\n\t\t\"SKyE\",\n\t\t0,\n\t\t33\n\t],\n\t\"./setting/companyCertify.vue\": [\n\t\t\"3zYh\",\n\t\t0,\n\t\t8\n\t],\n\t\"./setting/index.vue\": [\n\t\t\"VlR1\",\n\t\t28\n\t],\n\t\"./setting/replaceAdmin.vue\": [\n\t\t\"ys9I\",\n\t\t0,\n\t\t39\n\t],\n\t\"./setting/setChildAdmin.vue\": [\n\t\t\"VqB7\",\n\t\t0,\n\t\t40\n\t],\n\t\"./setting/staffDetails.vue\": [\n\t\t\"Zyzf\",\n\t\t0,\n\t\t24\n\t],\n\t\"./setting/storePermission.vue\": [\n\t\t\"Xwfy\",\n\t\t0,\n\t\t17\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"Opzk\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views lazy ^\\.\\/.*\\.vue$\n// module id = Opzk\n// module chunks = 42"],"sourceRoot":""}
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,r,f){for(var t,b,o,i=0,u=[];i<a.length;i++)b=a[i],d[b]&&u.push(d[b][0]),d[b]=0;for(t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);for(c&&c(a,r,f);u.length;)u.shift()();if(f)for(i=0;i<f.length;i++)o=n(n.s=f[i]);return o};var a={},d={44:0};function n(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,n),d.l=!0,d.exports}n.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,n){c=d[e]=[a,n]});c[2]=a;var r=document.getElementsByTagName("head")[0],f=document.createElement("script");f.type="text/javascript",f.charset="utf-8",f.async=!0,f.timeout=12e4,n.nc&&f.setAttribute("nonce",n.nc),f.src=n.p+"static/js/"+e+"."+{0:"a393677498254a9595bd",1:"4e02ea3368c2e9285413",2:"b4e74fc363cc570c4361",3:"ee7e7b1a2bf63ee27ae2",4:"387e0f20317bd6569636",5:"893c803d2a4a6e6a59bb",6:"1d7830b4d55d08cb5ead",7:"d188b8c96af1f4d2a73e",8:"1f9cc69f1d1455b4395a",9:"acaf66448b1d80c70bad",10:"85c08c5ade86a2778f01",11:"c4c0fcde69a1ecbaee06",12:"405d655d71c31d600fb1",13:"f31734db36a74074ff21",14:"f378084df3dc655bf900",15:"01ecf00d8895c6ea681d",16:"905d297d67bd4b85f8d4",17:"74e56664fde2697c5c7c",18:"8a5341c5eb1c5b3a0b95",19:"b699d5bb8dc717ab8456",20:"08561a5f6f04e53dc1bc",21:"3f8c6f5263a50e4cd0ac",22:"cd09b25e7c7a86dc3b7a",23:"fc8b4158611a487b000e",24:"823126e314cffe2bd087",25:"bced6c373653a7307e63",26:"d5daf9695d841701dba2",27:"5fedb7ca55c6e210ba23",28:"c6d5e3935dc2285e71b2",29:"9436a9efb4180f8f231d",30:"db42d3ee99f99eab5d53",31:"55846af6f73d637256af",32:"70431e451dae990ad80f",33:"e0de5cdc552336809d81",34:"8ce124b7c6e9972bb84c",35:"0bb254b1e9b205cbdb17",36:"81aa547eb0d4c561835f",37:"802493f620b13eb5f91f",38:"593dae655796c51e831c",39:"15c9d84a3338d9b3f726",40:"ac8ea28b6045f5b859e2",43:"a7cac50abc39306ec89c"}[e]+".js";var t=setTimeout(b,12e4);function b(){f.onerror=f.onload=null,clearTimeout(t);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return f.onerror=f.onload=b,r.appendChild(f),a},n.m=e,n.c=a,n.d=function(e,c,a){n.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(c,"a",c),c},n.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},n.p="./",n.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.2ae8e571d847754bd6ce.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap c85d2f135668213e4d9a"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","44","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","43","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAA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GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,wBAA8oChF,GAAA,MACttC,IAAAkC,EAAA+C,WAAAC,EAAA,MAEA,SAAAA,IAEArD,EAAAsD,QAAAtD,EAAAuD,OAAA,KACAC,aAAAnD,GACA,IAAAoD,EAAAjF,EAAAL,GACA,IAAAsF,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAvF,EAAA,aAEAK,EAAAL,QAAAwF,GAKA,OAfA3D,EAAAsD,QAAAtD,EAAAuD,OAAAF,EAaAxD,EAAA+D,YAAA5D,GAEAL,GAIAX,EAAA6E,EAAA/E,EAGAE,EAAA8E,EAAA5E,EAGAF,EAAA+E,EAAA,SAAA3E,EAAA4E,EAAAC,GACAjF,EAAAkF,EAAA9E,EAAA4E,IACAtF,OAAAyF,eAAA/E,EAAA4E,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAjF,EAAAuF,EAAA,SAAAlF,GACA,IAAA4E,EAAA5E,KAAAmF,WACA,WAA2B,OAAAnF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA+E,EAAAE,EAAA,IAAAA,GACAA,GAIAjF,EAAAkF,EAAA,SAAAO,EAAAC,GAAsD,OAAAhG,OAAAC,UAAAC,eAAAC,KAAA4F,EAAAC,IAGtD1F,EAAAyB,EAAA,KAGAzB,EAAA2F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.cf5f50230108c288991b.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t44: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"81d8d179fff7ff29de4a\",\"1\":\"4e02ea3368c2e9285413\",\"2\":\"f0a46f70657d07d02d29\",\"3\":\"ee7e7b1a2bf63ee27ae2\",\"4\":\"387e0f20317bd6569636\",\"5\":\"893c803d2a4a6e6a59bb\",\"6\":\"1d7830b4d55d08cb5ead\",\"7\":\"d188b8c96af1f4d2a73e\",\"8\":\"1f9cc69f1d1455b4395a\",\"9\":\"acaf66448b1d80c70bad\",\"10\":\"85c08c5ade86a2778f01\",\"11\":\"c4c0fcde69a1ecbaee06\",\"12\":\"405d655d71c31d600fb1\",\"13\":\"f31734db36a74074ff21\",\"14\":\"f378084df3dc655bf900\",\"15\":\"01ecf00d8895c6ea681d\",\"16\":\"905d297d67bd4b85f8d4\",\"17\":\"74e56664fde2697c5c7c\",\"18\":\"8a5341c5eb1c5b3a0b95\",\"19\":\"b699d5bb8dc717ab8456\",\"20\":\"08561a5f6f04e53dc1bc\",\"21\":\"3f8c6f5263a50e4cd0ac\",\"22\":\"cd09b25e7c7a86dc3b7a\",\"23\":\"fc8b4158611a487b000e\",\"24\":\"823126e314cffe2bd087\",\"25\":\"bced6c373653a7307e63\",\"26\":\"d5daf9695d841701dba2\",\"27\":\"5fedb7ca55c6e210ba23\",\"28\":\"c6d5e3935dc2285e71b2\",\"29\":\"9436a9efb4180f8f231d\",\"30\":\"db42d3ee99f99eab5d53\",\"31\":\"55846af6f73d637256af\",\"32\":\"70431e451dae990ad80f\",\"33\":\"e0de5cdc552336809d81\",\"34\":\"8ce124b7c6e9972bb84c\",\"35\":\"0bb254b1e9b205cbdb17\",\"36\":\"a758ee27ace30332f655\",\"37\":\"5f2151bd9848a5f118a8\",\"38\":\"f6eea257e731752cde0e\",\"39\":\"15c9d84a3338d9b3f726\",\"40\":\"ac8ea28b6045f5b859e2\",\"43\":\"a7cac50abc39306ec89c\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap c85d2f135668213e4d9a"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap b85fe9a23269280f4b55"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","44","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","43","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,I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,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,uBAAAC,GAAA,wBAA8oChF,GAAA,MACttC,IAAAkC,EAAA+C,WAAAC,EAAA,MAEA,SAAAA,IAEArD,EAAAsD,QAAAtD,EAAAuD,OAAA,KACAC,aAAAnD,GACA,IAAAoD,EAAAjF,EAAAL,GACA,IAAAsF,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAAvF,EAAA,aAEAK,EAAAL,QAAAwF,GAKA,OAfA3D,EAAAsD,QAAAtD,EAAAuD,OAAAF,EAaAxD,EAAA+D,YAAA5D,GAEAL,GAIAX,EAAA6E,EAAA/E,EAGAE,EAAA8E,EAAA5E,EAGAF,EAAA+E,EAAA,SAAA3E,EAAA4E,EAAAC,GACAjF,EAAAkF,EAAA9E,EAAA4E,IACAtF,OAAAyF,eAAA/E,EAAA4E,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAjF,EAAAuF,EAAA,SAAAlF,GACA,IAAA4E,EAAA5E,KAAAmF,WACA,WAA2B,OAAAnF,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA+E,EAAAE,EAAA,IAAAA,GACAA,GAIAjF,EAAAkF,EAAA,SAAAO,EAAAC,GAAsD,OAAAhG,OAAAC,UAAAC,eAAAC,KAAA4F,EAAAC,IAGtD1F,EAAAyB,EAAA,KAGAzB,EAAA2F,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.2ae8e571d847754bd6ce.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t44: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"a393677498254a9595bd\",\"1\":\"4e02ea3368c2e9285413\",\"2\":\"b4e74fc363cc570c4361\",\"3\":\"ee7e7b1a2bf63ee27ae2\",\"4\":\"387e0f20317bd6569636\",\"5\":\"893c803d2a4a6e6a59bb\",\"6\":\"1d7830b4d55d08cb5ead\",\"7\":\"d188b8c96af1f4d2a73e\",\"8\":\"1f9cc69f1d1455b4395a\",\"9\":\"acaf66448b1d80c70bad\",\"10\":\"85c08c5ade86a2778f01\",\"11\":\"c4c0fcde69a1ecbaee06\",\"12\":\"405d655d71c31d600fb1\",\"13\":\"f31734db36a74074ff21\",\"14\":\"f378084df3dc655bf900\",\"15\":\"01ecf00d8895c6ea681d\",\"16\":\"905d297d67bd4b85f8d4\",\"17\":\"74e56664fde2697c5c7c\",\"18\":\"8a5341c5eb1c5b3a0b95\",\"19\":\"b699d5bb8dc717ab8456\",\"20\":\"08561a5f6f04e53dc1bc\",\"21\":\"3f8c6f5263a50e4cd0ac\",\"22\":\"cd09b25e7c7a86dc3b7a\",\"23\":\"fc8b4158611a487b000e\",\"24\":\"823126e314cffe2bd087\",\"25\":\"bced6c373653a7307e63\",\"26\":\"d5daf9695d841701dba2\",\"27\":\"5fedb7ca55c6e210ba23\",\"28\":\"c6d5e3935dc2285e71b2\",\"29\":\"9436a9efb4180f8f231d\",\"30\":\"db42d3ee99f99eab5d53\",\"31\":\"55846af6f73d637256af\",\"32\":\"70431e451dae990ad80f\",\"33\":\"e0de5cdc552336809d81\",\"34\":\"8ce124b7c6e9972bb84c\",\"35\":\"0bb254b1e9b205cbdb17\",\"36\":\"81aa547eb0d4c561835f\",\"37\":\"802493f620b13eb5f91f\",\"38\":\"593dae655796c51e831c\",\"39\":\"15c9d84a3338d9b3f726\",\"40\":\"ac8ea28b6045f5b859e2\",\"43\":\"a7cac50abc39306ec89c\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap b85fe9a23269280f4b55"],"sourceRoot":""}
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(a,n,r){for(var t,o,b,i=0,u=[];i<a.length;i++)o=a[i],d[o]&&u.push(d[o][0]),d[o]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(c&&c(a,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)b=f(f.s=r[i]);return b};var a={},d={44:0};function f(c){if(a[c])return a[c].exports;var d=a[c]={i:c,l:!1,exports:{}};return e[c].call(d.exports,d,d.exports,f),d.l=!0,d.exports}f.e=function(e){var c=d[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,f){c=d[e]=[a,f]});c[2]=a;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,f.nc&&r.setAttribute("nonce",f.nc),r.src=f.p+"static/js/"+e+"."+{0:"81d8d179fff7ff29de4a",1:"4e02ea3368c2e9285413",2:"f0a46f70657d07d02d29",3:"ee7e7b1a2bf63ee27ae2",4:"387e0f20317bd6569636",5:"893c803d2a4a6e6a59bb",6:"1d7830b4d55d08cb5ead",7:"d188b8c96af1f4d2a73e",8:"1f9cc69f1d1455b4395a",9:"acaf66448b1d80c70bad",10:"85c08c5ade86a2778f01",11:"c4c0fcde69a1ecbaee06",12:"405d655d71c31d600fb1",13:"f31734db36a74074ff21",14:"f378084df3dc655bf900",15:"01ecf00d8895c6ea681d",16:"905d297d67bd4b85f8d4",17:"74e56664fde2697c5c7c",18:"8a5341c5eb1c5b3a0b95",19:"b699d5bb8dc717ab8456",20:"08561a5f6f04e53dc1bc",21:"3f8c6f5263a50e4cd0ac",22:"cd09b25e7c7a86dc3b7a",23:"fc8b4158611a487b000e",24:"823126e314cffe2bd087",25:"bced6c373653a7307e63",26:"d5daf9695d841701dba2",27:"5fedb7ca55c6e210ba23",28:"c6d5e3935dc2285e71b2",29:"9436a9efb4180f8f231d",30:"db42d3ee99f99eab5d53",31:"55846af6f73d637256af",32:"70431e451dae990ad80f",33:"e0de5cdc552336809d81",34:"8ce124b7c6e9972bb84c",35:"0bb254b1e9b205cbdb17",36:"a758ee27ace30332f655",37:"5f2151bd9848a5f118a8",38:"f6eea257e731752cde0e",39:"15c9d84a3338d9b3f726",40:"ac8ea28b6045f5b859e2",43:"a7cac50abc39306ec89c"}[e]+".js";var t=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(t);var c=d[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),d[e]=void 0)}return r.onerror=r.onload=o,n.appendChild(r),a},f.m=e,f.c=a,f.d=function(e,c,a){f.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},f.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(c,"a",c),c},f.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},f.p="./",f.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.cf5f50230108c288991b.js.map
\ No newline at end of file
......@@ -8,6 +8,21 @@
:model="info"
label-width="70px"
>
<template v-if="readOnly">
<el-form-item label="姓名" prop="name">
<p>{{info.name}}</p>
</el-form-item>
<el-form-item label="手机号" prop="phoneNumber">
<p>{{info.phoneNumber}}</p>
</el-form-item>
<el-form-item label="部门" prop="departmentId">
<p>{{info.departmentName}}</p>
</el-form-item>
<el-form-item label="职位" prop="positionName">
<p>{{info.positionName}}</p>
</el-form-item>
</template>
<template v-else>
<el-form-item label="姓名" prop="name">
<el-input v-model="info.name"></el-input>
</el-form-item>
......@@ -20,9 +35,10 @@
<el-form-item label="职位" prop="positionName">
<el-input v-model="info.positionName"></el-input>
</el-form-item>
</template>
</el-form>
</div>
<div class="info-cell">
<div class="info-cell" v-if="!readOnly">
<p class="title">隐私设置</p>
<p class="tip">开启后所有员工不可见手机号码,不可发起电话、短信管理层之间不受影响</p>
<div class="set-manager-mode">
......@@ -160,6 +176,11 @@
this.getEmployInfo();
}
},
computed: {
readOnly() {
return !!this.$route.query.readOnly;
}
},
watch: {
perId(id, ids) {
this.getEmployInfo();
......
......@@ -48,6 +48,12 @@ export default {
default() {
return ["selection", "name", "phoneNumber", "positionName", "activationStatus"];
}
},
groupInfo: {
type: Object,
default() {
return {};
}
}
},
data() {
......@@ -66,8 +72,12 @@ export default {
* 跳转至员工详情
*/
linkToDetail(row) {
console.log(row);
console.log(row, this.groupInfo);
if (!!this.groupInfo.isMine)
window.location.href = "#/employee?employeeClerkId="+row.employeeClerkId;
else {
window.location.href = "#/employee?readOnly=1&employeeClerkId="+row.employeeClerkId;
}
}
},
mounted() {
......
......@@ -212,6 +212,10 @@
per.employeeClerkId = per.ext.employeeClerk.employeeClerkId;
per.name = per.employeeStoreName;
arr.push(per);
} else {
per.ext.store.ext.employeeClerkList.forEach(clerk => {
arr.push(clerk);
});
}
});
}
......@@ -233,6 +237,9 @@
},
departmentList() {
if (this.searchResult.groupList) {
this.searchResult.groupList.forEach(group => {
group.id = group.sharedContactGroupId;
});
return this.searchResult.groupList;
} else {
return [];
......
......@@ -5,7 +5,7 @@
<div class="right-box">
<div class="employee-detail">
<employee-info :isNew="isNew" ref="emmployInfo"></employee-info>
<div class="btn-boxs">
<div class="btn-boxs" v-if="!$route.query.readOnly">
<el-button @click="save" type="primary">保存</el-button>
<el-button type="primary" @click="save(1)" v-if="isNew">保存并继续添加</el-button>
<el-button @click="cancel">取消</el-button>
......
......@@ -5,7 +5,7 @@
<div class="right-box">
<div class="administrative-estrutura-container">
<template v-if="menuData.length > 0">
<search-menu @handleSearchKey="handleSearchKey" @handleTreeSelection="handleTreeSelection" :treeData="menuData" :searchResult="searchResult" @handleEmployeeSelection="handleEmployeeSelection" @handleStoreSelection="handleStoreSelection" @getEmployeeFirst="getEmployeeFirst">
<search-menu @handleSearchKey="handleSearchKey" @handleTreeSelection="handleTreeSelection" :treeData="menuData" :searchResult="searchResult" @handleEmployeeSelection="handleEmployeeSelection" @getEmployeeFirst="getEmployeeFirst">
</search-menu>
<employee-info v-if="showEmployee == 'employee'" :perId="perId"></employee-info>
<store-info ref="store_info" v-else-if="showEmployee == 'store'" :storeInfo="storeInfo"></store-info>
......@@ -42,7 +42,7 @@
</el-button>
</div>
<clerk-view v-if="groupInfo.isStoreGroup == 1" :tableData="employeeList" @selectMember="selectMember"></clerk-view>
<employee-list v-else :employeeList="employeeList" @selectMember="selectMember"></employee-list>
<employee-list v-else :employeeList="employeeList" @selectMember="selectMember" :groupInfo="groupInfo"></employee-list>
<div class="pagination">
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" :current-page="currentPage" layout="total, sizes, prev, pager, next" :total="total">
</el-pagination>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment