Commit a25bf26b by 无尘

style: 修改样式

parent 4c787c47
<!DOCTYPE html><html><head><meta charset=utf-8><link rel="shortcut icon" href=./favicon.ico><title>好办管理平台</title><link href=./static/css/app.e07e07b3182a5d55788b2f4e88b8358b.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.a793b80ab43e679c1e35.js></script><script type=text/javascript src=./static/js/vendor.701d87797408570afb68.js></script><script type=text/javascript src=./static/js/app.4e979cc627ce4d6a3269.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.519fde5b2efe02c366d2847d54b3b551.css rel=stylesheet></head><body style="min-width: 1400px;"><div id=app></div><script type=text/javascript src=./static/js/manifest.d84609c19dfc74127855.js></script><script type=text/javascript src=./static/js/vendor.fe6bbed1214c1931680c.js></script><script type=text/javascript src=./static/js/app.3e3253b61b9a3fac6326.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.
webpackJsonp([24],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){console.log(this.$route.path)}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("Ro6d")},"data-v-12e12bd8",null);s.default=c.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},Ro6d:function(t,s){}});
\ No newline at end of file
webpackJsonp([23],{AejC:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=i("Minx"),a=i.n(e),n={name:"page404",data:function(){return{img_404:a.a}},computed:{message:function(){return"抱歉,你访问的页面不存在"}},mounted:function(){console.log(this.$route.path)}},r={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticStyle:{background:"#f0f2f5","margin-top":"-20px",height:"100%"}},[s("div",{staticClass:"wscn-http404"},[s("div",{staticClass:"pic-404"},[s("img",{staticClass:"pic-404__parent",attrs:{src:this.img_404,alt:"404"}})]),this._v(" "),s("div",{staticClass:"bullshit"},[s("div",{staticClass:"bullshit__headline"},[this._v(this._s(this.message))]),this._v(" "),s("a",{staticClass:"bullshit__return-home",attrs:{href:"#/companyGroup"}},[this._v("返回首页")])])])])},staticRenderFns:[]};var c=i("VU/8")(n,r,!1,function(t){i("Ro6d")},"data-v-12e12bd8",null);s.default=c.exports},Minx:function(t,s,i){t.exports=i.p+"static/img/error_404.bf58747.svg"},Ro6d:function(t,s){}});
\ No newline at end of file
webpackJsonp([23],{"41Rh":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a("3Xzz"),i=a("mw3O"),o=a.n(i),r={name:"vue-office-aside",props:["collapseFlag","projectName"],data:function(){return{repProjectName:"haoban-manage-web",asideHeight:"0px",pathName:"",leftCollapse:!1,leftModuleName:"",menuLeftRouter:[],baseUrl:"",selectMenu:""}},beforeMount:function(){var e=window.location.origin;"-1"!=e.indexOf("localhost")?this.baseUrl="http://www.gicdev.com":this.baseUrl=e},methods:{handleOpen:function(e,t){},handleSelect:function(e,t){this.selectMenu=e},setNewData:function(e){e.forEach(function(e,t){(e.url="/"+e.url,e.levelFlag=!1,e.children&&e.children.length)&&(e.children.map(function(e){return e.display}).includes(1)?e.levelFlag=!1:e.levelFlag=!0,e.children.forEach(function(e,t){e.url="/"+e.url}))}),this.menuLeftRouter=e,this.setSelectMenu(e)},setSelectMenu:function(e){var t=this;e.forEach(function(e,a){try{"/"+t.pathName==e.url?t.selectMenu="/"+t.pathName:e.children.forEach(function(a,n){"/"+t.pathName==a.url&&(t.selectMenu=a.display?a.url:e.url),a.children.length&&a.children.forEach(function(e,n){if(e.url==t.pathName&&(t.selectMenu=a.url,!t.$route.query.type))throw"break"})})}catch(e){}})},toRouter:function(e){this.$emit("toLeftRouterView","/"+e)},refreshRoute:function(){this.routePathName=window.location.hash.split("/")[1],-1!=this.routePathName.indexOf("?")&&(this.routePathName=this.routePathName.split("?")[0]),-1!=this.routePathName.indexOf("/")&&(this.routePathName=this.routePathName.split("/")[0]),this.pathName=this.routePathName,this.getLeftMenu()},treeData:function(e){var t=e.filter(function(t){var a=e.filter(function(e){return t.haobanMenuRightId==e.parentRightId});return a.length>0?t.children=a:t.children=[],1==t.level});return t.sort(function(e,t){return e.sort-t.sort}),t},getLeftMenu:function(){var e=this,t={project:e.repProjectName,router:e.pathName,requestProject:e.repProjectName};e.axios.post(e.baseUrl+"/haoban-manage-web/menu-detail",o.a.stringify(t)).then(function(t){var a=t.data;if(1==a.errorCode)return a.result?void e.setNewData(e.treeData(a.result.leftMenu)):void e.$message.error({duration:1e3,message:"暂无数据"});e.$message.error({duration:1e3,message:a.message})}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})}},watch:{$route:{handler:function(e,t){},deep:!0},collapseFlag:function(e,t){this.leftCollapse=e},projectName:function(e,t){this.repProjectName=e||"haoban-manage-web"}},mounted:function(){this.repProjectName=this.projectName||"haoban-manage-web",this.asideHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px",this.pathName=window.location.hash.split("/")[1],-1!=this.pathName.indexOf("?")&&(this.pathName=this.pathName.split("?")[0]),this.getLeftMenu(),this.leftCollapse=this.collapseFlag}},l={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"left-aside-contain",style:{height:e.asideHeight}},[a("div",{staticClass:"leftBar-wrap"},[a("div",{staticClass:"cardmenu",class:{collapse:e.leftCollapse}},[a("div",{staticClass:"cardmenu-item"},[a("el-menu",{staticClass:"el-menu-vertical-demo cardmenupanel",staticStyle:{"border-right":"0"},attrs:{"default-active":e.selectMenu,"data-path":"/"+e.$route.path,router:!0,"text-color":"#606266","active-text-color":"#1890ff",collapse:e.leftCollapse,"unique-opened":""},on:{open:e.handleOpen,select:e.handleSelect}},[e._l(e.menuLeftRouter,function(t,n){return[t.children.length>0&&!t.levelFlag?a("el-submenu",{key:n,attrs:{index:n+""}},[a("template",{slot:"title"},[a("i",{class:["iconfont","menu-icon",t.iconUrl]}),e._v(" "),a("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.rightName))])]),e._v(" "),e._l(t.children,function(t,n){return a("el-menu-item",{key:n,staticStyle:{"padding-left":"53px"},attrs:{index:t.url}},[a("label",{attrs:{slot:"title","data-index":e.$route.path==t.url&&e.$route.path,"data-path":t.url},slot:"title"},[e._v(e._s(t.rightName))])])})],2):e._e(),e._v(" "),!t.children.length||t.children.length>0&&t.levelFlag?a("el-menu-item",{key:n,attrs:{index:t.url}},[a("i",{class:["iconfont","menu-icon",t.iconUrl]}),e._v(" "),a("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(t.rightName))])]):e._e()]})],2)],1)])])])},staticRenderFns:[]};var s=a("VU/8")(r,l,!1,function(e){a("AE88")},"data-v-6fdabafc",null).exports,c={name:"contact",components:{topNav:n.a,vueOfficeAside:s},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){},computed:{}},u={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"contact-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"contact-wrap__body"},[t("vue-office-aside",{ref:"asideMenu",attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag}}),this._v(" "),t("div",{staticClass:"contact-wrap__right"},[t("div",{staticClass:"contact-wrap__right__body"},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[t("router-view")],1)],1)])],1)],1)},staticRenderFns:[]};var h=a("VU/8")(c,u,!1,function(e){a("oOkW")},null,null);t.default=h.exports},AE88:function(e,t){},oOkW:function(e,t){}});
\ No newline at end of file
webpackJsonp([27],{da9f:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(e){a("g62t")},"data-v-dce5fb1e",null);t.default=s.exports},g62t:function(e,t){}});
\ No newline at end of file
webpackJsonp([26],{da9f:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={name:"enterprise",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1}},computed:{},methods:{toRouterView:function(e){console.log(e),this.$router.push({path:e.path})},collapseTag:function(e){console.log(e),this.collapseFlag=e}},mounted:function(){}},n={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"enterprise-wrap"},[t("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),t("div",{staticClass:"enterprise-wrap__body"})],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(e){a("g62t")},"data-v-dce5fb1e",null);t.default=s.exports},g62t:function(e,t){}});
\ No newline at end of file
webpackJsonp([28],{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];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("nf/P")},null,null);t.default=d.exports},"nf/P":function(e,t){}});
\ No newline at end of file
webpackJsonp([27],{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];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("nf/P")},null,null);t.default=d.exports},"nf/P":function(e,t){}});
\ No newline at end of file
webpackJsonp([30],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("3Xzz"),o=t("WSbm"),s=t("P9l9"),r={name:"employeeDetail",components:{navCrumb:n.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 t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/add",n).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/update",t).then(function(e){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}}},i={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var m=t("VU/8")(r,i,!1,function(e){t("U/hU")},null,null);a.default=m.exports},"U/hU":function(e,a){}});
\ No newline at end of file
webpackJsonp([29],{AdJp:function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=t("3Xzz"),o=t("WSbm"),s=t("P9l9"),r={name:"employeeDetail",components:{navCrumb:n.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 t=this,n={name:e.name,isClerk:0,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/add",n).then(function(e){console.log(e,"add result"),1==e.data.errorCode?(t.$message.success({message:"操作成功"}),1==a?t.$refs.emmployInfo.info={name:"",phoneNumber:"",departmentId:"",departmentName:"",managerMode:!1}:window.history.go(-1)):t.$message.error({message:e.data.message})}).catch(function(e){console.log(e,"error")})},saveEmployeeInfo:function(e){var a=this,t={name:e.name,phoneNumber:e.phoneNumber,positionName:e.positionName,departmentId:e.departmentId,employeeClerkId:a.$route.query.employeeClerkId,managerMode:1*e.managerMode};Object(s.a)("/haoban-manage-web/emp/update",t).then(function(e){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}}},i={render:function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"common-set-wrap"},[t("nav-crumb",{attrs:{navpath:e.navpath}}),e._v(" "),t("div",{staticClass:"right-content"},[t("div",{staticClass:"right-box"},[t("div",{staticClass:"employee-detail",style:{height:e.$store.state.bgHeight}},[t("employee-info",{ref:"emmployInfo",attrs:{isNew:e.isNew}}),e._v(" "),e.$route.query.readOnly?e._e():t("div",{staticClass:"btn-boxs"},[t("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")]),e._v(" "),e.isNew?t("el-button",{attrs:{type:"primary"},on:{click:function(a){e.save(1)}}},[e._v("保存并继续添加")]):e._e(),e._v(" "),t("el-button",{on:{click:e.cancel}},[e._v("取 消")])],1)],1)])])],1)},staticRenderFns:[]};var m=t("VU/8")(r,i,!1,function(e){t("U/hU")},null,null);a.default=m.exports},"U/hU":function(e,a){}});
\ No newline at end of file
webpackJsonp([31],{SKyE:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=r("3Xzz"),s=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),n=(r("P9l9"),{name:"companyAddress",data:function(){var t=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(e,r,a){t.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(s.a)(function(t){this.$refs[t].validate(function(t){if(!t)return!1})},500),postSave:function(){}},mounted:function(){},components:{navCrumb:a.a}}),o={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight}},[r("h2",{staticClass:"font-w-500"},[t._v("企业地址设置")]),t._v(" "),r("p",{staticClass:"m-t-24"},[t._v("开启后手机端通讯录将显示,反之则不显示")]),t._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[r("el-form-item",{staticClass:"m-t-22",attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:t.ruleForm.switch,callback:function(e){t.$set(t.ruleForm,"switch",e)},expression:"ruleForm.switch"}})],1),t._v(" "),t.ruleForm.switch?r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:t.ruleForm.name,callback:function(e){t.$set(t.ruleForm,"name",e)},expression:"ruleForm.name"}})],1):t._e(),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保 存")])],1)],1)],1)]),t._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(n,o,!1,function(t){r("uZCh")},"data-v-68bc0177",null);e.default=l.exports},uZCh:function(t,e){}});
\ No newline at end of file
webpackJsonp([30],{SKyE:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=r("3Xzz"),s=(r("Mk6G"),r("3E4D"),r("Ch4/"),r("PI0u")),n=(r("P9l9"),{name:"companyAddress",data:function(){var t=this;return{navpath:[{name:"首页",path:"/index"},{name:"设置",path:"/companyAddress"},{name:"企业设置",path:"/companyAddress"},{name:"企业地址",path:""}],ruleForm:{switch:!1,name:""},rules:{name:[{validator:function(e,r,a){t.ruleForm.switch&&""==r.replace(/\s/g)?a(new Error("请输入地址")):a()},trigger:"blur"}]}}},computed:{},methods:{submitForm:Object(s.a)(function(t){this.$refs[t].validate(function(t){if(!t)return!1})},500),postSave:function(){}},mounted:function(){},components:{navCrumb:a.a}}),o={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"companyAddress-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:t.navpath}}),t._v(" "),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box",style:{height:t.$store.state.bgHeight}},[r("h2",{staticClass:"font-w-500"},[t._v("企业地址设置")]),t._v(" "),r("p",{staticClass:"m-t-24"},[t._v("开启后手机端通讯录将显示,反之则不显示")]),t._v(" "),r("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px"}},[r("el-form-item",{staticClass:"m-t-22",attrs:{label:"企业地址",prop:"switch"}},[r("el-switch",{model:{value:t.ruleForm.switch,callback:function(e){t.$set(t.ruleForm,"switch",e)},expression:"ruleForm.switch"}})],1),t._v(" "),t.ruleForm.switch?r("el-form-item",{attrs:{label:" ",prop:"name"}},[r("el-input",{staticClass:"w-380",attrs:{placeholder:"请输入地址"},model:{value:t.ruleForm.name,callback:function(e){t.$set(t.ruleForm,"name",e)},expression:"ruleForm.name"}})],1):t._e(),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(e){t.submitForm("ruleForm")}}},[t._v("保 存")])],1)],1)],1)]),t._v(" "),r("vue-gic-footer")],1)},staticRenderFns:[]};var l=r("VU/8")(n,o,!1,function(t){r("uZCh")},"data-v-68bc0177",null);e.default=l.exports},uZCh:function(t,e){}});
\ No newline at end of file
webpackJsonp([33],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("80rI")},null,null);t.default=i.exports},"80rI":function(e,t){}});
\ No newline at end of file
webpackJsonp([32],{"+lem":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={name:"reviewed",data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,contentHeight:"0px"}},computed:{},methods:{toRouterView:function(e){this.$router.push({path:e.path})},collapseTag:function(e){this.collapseFlag=e}},watch:{$route:{handler:function(e,t){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"review-wrap"},[n("vue-office-header",{attrs:{projectName:e.projectName},on:{collapseTag:e.collapseTag,toRouterView:e.toRouterView}}),e._v(" "),n("div",{staticClass:"setting-wrap__body"},[n("div",{staticClass:"content",attrs:{id:"content"}},[n("div",{staticClass:"content-body",style:{height:e.contentHeight}},[n("div",{staticClass:"left-menu",style:{height:e.contentHeight}},[n("vue-office-aside",{ref:"asideMenu",attrs:{projectName:e.projectName,collapseFlag:e.collapseFlag}})],1),e._v(" "),n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view")],1)],1)])])],1)},staticRenderFns:[]};var i=n("VU/8")(a,o,!1,function(e){n("80rI")},null,null);t.default=i.exports},"80rI":function(e,t){}});
\ No newline at end of file
webpackJsonp([34],{VlR1:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={name:"setting",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"setting-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"setting-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{height:t.contentHeight}},[a("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[a("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])])],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(t){a("t0vv")},"data-v-5487f964",null);e.default=s.exports},t0vv:function(t,e){}});
\ No newline at end of file
webpackJsonp([33],{VlR1:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={name:"setting",data:function(){return{projectName:"haoban-manage-web",contentHeight:"0px",collapseFlag:!1}},computed:{},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){this.pathName=window.location.hash.split("/")[1],console.log("pathname:",this.pathName,this.$route.path),this.contentHeight=(document.documentElement.clientHeight||document.body.clientHeight)-64+"px"}},n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"setting-wrap"},[a("vue-office-header",{attrs:{projectName:t.projectName},on:{collapseTag:t.collapseTag,toRouterView:t.toRouterView}}),t._v(" "),a("div",{staticClass:"setting-wrap__body"},[a("div",{staticClass:"content",attrs:{id:"content"}},[a("div",{staticClass:"content-body",style:{height:t.contentHeight}},[a("div",{staticClass:"left-menu",style:{height:t.contentHeight}},[a("vue-office-aside",{ref:"asideMenu",attrs:{projectName:t.projectName,collapseFlag:t.collapseFlag}})],1),t._v(" "),a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)])])],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(t){a("t0vv")},"data-v-5487f964",null);e.default=s.exports},t0vv:function(t,e){}});
\ No newline at end of file
webpackJsonp([35],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("P9l9"),n=a("MJLE"),r=a.n(n),i={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:"",dialogVisible:!1}},methods:{getCode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this,a={regenerate:e};Object(s.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",a).then(function(a){console.log(a,"code"),1==a.data.errorCode?(console.log(e),t.qrcode(a.data.result.qrCodeContent)):t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new r.a("qrcode",{width:245,height:245,text:e})},downloadCode:function(){var e=document.getElementById("qrcode").getElementsByTagName("img")[0].getAttribute("src"),t=document.createElement("a"),a=new MouseEvent("click");t.download="scan code",t.href=e,t.dispatchEvent(a)},getShareRelation:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){console.log(t,"getShareRelation"),1==t.data.errorCode?(e.shares=t.data.result||[],e.shares.length>0&&(e.myEnterprise=t.data.result[0].exportEnterpriseName)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelShare:function(e){var t=this;t.$confirm("是否要取消与该企业的共享?","提示",{type:"warning"}).then(function(){Object(s.a)("/haoban-manage-web/shared-contact/del-shared-enterprise",{importEnterpriseId:e.importEnterpriseId}).then(function(a){if(console.log(a,"cancel"),1==a.data.errorCode){var s=t.shares.indexOf(e);t.shares.splice(s,1)}else t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch({})}},beforeMount:function(){this.getShareRelation(),this.getCode()}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"share-code-div"},[a("p",{staticClass:"company-name"},[e._v(e._s(e.myEnterprise)+"的共享企业")]),e._v(" "),a("p",{staticClass:"word"},[e._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),e._v(" "),a("p",{staticClass:"time-tip"},[e._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),e._v(" "),a("div",{staticClass:"m-t-20",attrs:{id:"qrcode"}}),e._v(" "),a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.downloadCode}},[e._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),a("el-button",{on:{click:function(t){e.reFresh()}}},[e._v("重新生成")])],1),e._v(" "),a("p",{staticClass:"company-name"},[e._v("已建立的共享企业")]),e._v(" "),e.shares.length>0?a("div",{staticClass:"share-table"},[a("div",{staticClass:"company"},[e._v(e._s(e.myEnterprise))]),e._v(" "),a("ul",{staticClass:"list"},e._l(e.shares,function(t){return a("li",{key:t.importEnterpriseId,staticClass:"li"},[a("div",{staticClass:"name"},[e._v(e._s(t.importEnterpriseName))]),e._v(" "),a("div",{staticClass:"cancel-btn"},[a("a",{staticClass:"a-href",on:{click:function(a){e.cancelShare(t)}}},[e._v("取消共享")])])])}))]):e._e(),e._v(" "),a("div",{staticClass:"no-share-tip"},[e._v("暂无共享企业")]),e._v(" "),a("el-dialog",{attrs:{title:"验证管理员身份",width:"356px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"cancel-code"},[a("p",[e._v("请使用管理员的好办扫一扫确认")])])])],1)},staticRenderFns:[]};var c=a("VU/8")(i,o,!1,function(e){a("eTc/")},null,null);t.default=c.exports},"eTc/":function(e,t){}});
\ No newline at end of file
webpackJsonp([34],{JsWW:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("P9l9"),n=a("MJLE"),r=a.n(n),i={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{},shares:[],qrcodeCase:"",myEnterprise:"",dialogVisible:!1}},methods:{getCode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this,a={regenerate:e};Object(s.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",a).then(function(a){console.log(a,"code"),1==a.data.errorCode?(console.log(e),t.qrcode(a.data.result.qrCodeContent)):t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})},reFresh:function(){document.getElementById("qrcode").innerHTML="",this.qrcodeCase.clear(),this.getCode(!0)},qrcode:function(e){this.qrcodeCase=new r.a("qrcode",{width:245,height:245,text:e})},downloadCode:function(){var e=document.getElementById("qrcode").getElementsByTagName("img")[0].getAttribute("src"),t=document.createElement("a"),a=new MouseEvent("click");t.download="scan code",t.href=e,t.dispatchEvent(a)},getShareRelation:function(){var e=this;Object(s.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{enterpriseIdCondition:1}).then(function(t){console.log(t,"getShareRelation"),1==t.data.errorCode?(e.shares=t.data.result||[],e.shares.length>0&&(e.myEnterprise=t.data.result[0].exportEnterpriseName)):e.$message.error({message:t.data.message})}).catch(function(t){e.$message.error({message:t.message})})},cancelShare:function(e){var t=this;t.$confirm("是否要取消与该企业的共享?","提示",{type:"warning"}).then(function(){Object(s.a)("/haoban-manage-web/shared-contact/del-shared-enterprise",{importEnterpriseId:e.importEnterpriseId}).then(function(a){if(console.log(a,"cancel"),1==a.data.errorCode){var s=t.shares.indexOf(e);t.shares.splice(s,1)}else t.$message.error({message:a.data.message})}).catch(function(e){t.$message.error({message:e.message})})}).catch({})}},beforeMount:function(){this.getShareRelation(),this.getCode()}},o={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"share-code-div"},[a("p",{staticClass:"company-name"},[e._v(e._s(e.myEnterprise)+"的共享企业")]),e._v(" "),a("p",{staticClass:"word"},[e._v("双方共享的通讯录,选人时可以选到,同时邀请企业建立共享关系")]),e._v(" "),a("p",{staticClass:"time-tip"},[e._v("一个二维码只能和一个企业建立共享关系,24小时有效")]),e._v(" "),a("div",{staticClass:"m-t-20",attrs:{id:"qrcode"}}),e._v(" "),a("div",{staticClass:"btn-area"},[a("el-button",{attrs:{type:"primary"},on:{click:e.downloadCode}},[e._v("下载"),a("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),e._v(" "),a("el-button",{on:{click:function(t){e.reFresh()}}},[e._v("重新生成")])],1),e._v(" "),a("p",{staticClass:"company-name"},[e._v("已建立的共享企业")]),e._v(" "),e.shares.length>0?a("div",{staticClass:"share-table"},[a("div",{staticClass:"company"},[e._v(e._s(e.myEnterprise))]),e._v(" "),a("ul",{staticClass:"list"},e._l(e.shares,function(t){return a("li",{key:t.importEnterpriseId,staticClass:"li"},[a("div",{staticClass:"name"},[e._v(e._s(t.importEnterpriseName))]),e._v(" "),a("div",{staticClass:"cancel-btn"},[a("a",{staticClass:"a-href",on:{click:function(a){e.cancelShare(t)}}},[e._v("取消共享")])])])}))]):e._e(),e._v(" "),a("div",{staticClass:"no-share-tip"},[e._v("暂无共享企业")]),e._v(" "),a("el-dialog",{attrs:{title:"验证管理员身份",width:"356px",visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[a("div",{staticClass:"cancel-code"},[a("p",[e._v("请使用管理员的好办扫一扫确认")])])])],1)},staticRenderFns:[]};var c=a("VU/8")(i,o,!1,function(e){a("eTc/")},null,null);t.default=c.exports},"eTc/":function(e,t){}});
\ No newline at end of file
webpackJsonp([35],{"41Rh":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o={name:"contact",components:{topNav:a("3Xzz").a},data:function(){return{projectName:"haoban-manage-web",collapseFlag:!1,navpath:[{name:"首页",path:"/"},{name:"通讯录",path:""},{name:"企业通讯录"},{name:"行政架构"}]}},methods:{toRouterView:function(t){console.log(t),this.$router.push({path:t.path})},collapseTag:function(t){console.log(t),this.collapseFlag=t}},watch:{$route:{handler:function(t,e){this.$refs.asideMenu.refreshRoute()},deep:!0}},mounted:function(){},computed:{}},n={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"contact-wrap"},[e("vue-office-header",{attrs:{projectName:this.projectName},on:{collapseTag:this.collapseTag,toRouterView:this.toRouterView}}),this._v(" "),e("div",{staticClass:"contact-wrap__body"},[e("vue-office-aside",{ref:"asideMenu",attrs:{projectName:this.projectName,collapseFlag:this.collapseFlag}}),this._v(" "),e("div",{staticClass:"contact-wrap__right"},[e("div",{staticClass:"contact-wrap__right__body"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view")],1)],1)])],1)],1)},staticRenderFns:[]};var s=a("VU/8")(o,n,!1,function(t){a("WPkT")},null,null);e.default=s.exports},WPkT:function(t,e){}});
\ No newline at end of file
!function(e){var a=window.webpackJsonp;window.webpackJsonp=function(c,n,r){for(var t,o,b,i=0,u=[];i<c.length;i++)o=c[i],f[o]&&u.push(f[o][0]),f[o]=0;for(t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(a&&a(c,n,r);u.length;)u.shift()();if(r)for(i=0;i<r.length;i++)b=d(d.s=r[i]);return b};var c={},f={44:0};function d(a){if(c[a])return c[a].exports;var f=c[a]={i:a,l:!1,exports:{}};return e[a].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var a=f[e];if(0===a)return new Promise(function(e){e()});if(a)return a[2];var c=new Promise(function(c,d){a=f[e]=[c,d]});a[2]=c;var n=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.charset="utf-8",r.async=!0,r.timeout=12e4,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"static/js/"+e+"."+{0:"f25c4ad74628a9c4e256",1:"4e5dc79adcf9e1d40da1",2:"0018e5e56bcf374b0fc9",3:"e2d855350417948f7791",4:"c03fae50c3898c1c507f",5:"d7ff7b3011efa12ed86d",6:"bcf4532e6a55dfcc50de",7:"5e87410d160e19c222a5",8:"bc9879c18e0eefd45736",9:"dafaf5df18266c43eda5",10:"f71d995b31916b56a357",11:"904fb1ec168a22ec03a3",12:"f33078370ab13436ea86",13:"2d4736bd7e251f3dcf47",14:"e7d3ed2156f3fb9a1081",15:"4559c7f280133c1c843a",16:"7ac0f9e9a62d414ab15c",17:"e276878409aef724ffb3",18:"472518a16a6d3071e814",19:"cad3457efbfa82dcd956",20:"ada1a23d2ad53ce7e8f0",21:"86cf9b32a6a3a5bdd242",22:"a51dc83d6123e696f14e",23:"aa99c3205656de3109c4",24:"947e24ea8c5b9f009b49",25:"e272d1fc498ba8f986ef",26:"6086bb548b440df35c76",27:"421e7b88a9f2266350a4",28:"4147549ac5b6140398a6",29:"61f4d15a30accce601a8",30:"24ee02c41bae733cd122",31:"07e388fdec2be21fd250",32:"938a881fc605af2fc5a5",33:"ed418d28d5537a6780cb",34:"5a83954b54eb5fdc7f4f",35:"66e3c7e04a15a59e3564",36:"bbd830d28f1a8a5f4c1f",37:"774ebe3d54ad8b741119",38:"b99de1c255ed20dcccbd",39:"e40ef2d2e3948fbf5db2",40:"65554ca82038913385c1",43:"13848f214bb993c20004"}[e]+".js";var t=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(t);var a=f[e];0!==a&&(a&&a[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=o,n.appendChild(r),c},d.m=e,d.c=c,d.d=function(e,a,c){d.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:c})},d.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(a,"a",a),a},d.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ 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],f[o]&&u.push(f[o][0]),f[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=d(d.s=r[i]);return b};var a={},f={44:0};function d(c){if(a[c])return a[c].exports;var f=a[c]={i:c,l:!1,exports:{}};return e[c].call(f.exports,f,f.exports,d),f.l=!0,f.exports}d.e=function(e){var c=f[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var a=new Promise(function(a,d){c=f[e]=[a,d]});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,d.nc&&r.setAttribute("nonce",d.nc),r.src=d.p+"static/js/"+e+"."+{0:"f25c4ad74628a9c4e256",1:"4e5dc79adcf9e1d40da1",2:"0018e5e56bcf374b0fc9",3:"e2d855350417948f7791",4:"c03fae50c3898c1c507f",5:"96e9bd527364c3b21801",6:"bcf4532e6a55dfcc50de",7:"5e87410d160e19c222a5",8:"bc9879c18e0eefd45736",9:"dafaf5df18266c43eda5",10:"f71d995b31916b56a357",11:"904fb1ec168a22ec03a3",12:"f33078370ab13436ea86",13:"2d4736bd7e251f3dcf47",14:"e7d3ed2156f3fb9a1081",15:"4559c7f280133c1c843a",16:"7ac0f9e9a62d414ab15c",17:"e276878409aef724ffb3",18:"ba7e9ae20df2cc330b46",19:"cad3457efbfa82dcd956",20:"ada1a23d2ad53ce7e8f0",21:"86cf9b32a6a3a5bdd242",22:"a51dc83d6123e696f14e",23:"2d4fb5655c6a50627ac3",24:"116e361cc02f70bfcaa3",25:"cef58007b279cec51d0c",26:"a0ea0a43e5b05784bab9",27:"02828f20958e17774db5",28:"525a4ed049c32ebe88d1",29:"76d53249cb1c22114f3c",30:"31fbea9ec1937ab9d52b",31:"27521ee3f5b7ab5edde4",32:"193e23440780913a5a69",33:"276f06017974d69c6d38",34:"de97886133d42d6f0b82",35:"6bfb9b1f8bb17ea37d29",36:"bbd830d28f1a8a5f4c1f",37:"774ebe3d54ad8b741119",38:"b99de1c255ed20dcccbd",39:"e40ef2d2e3948fbf5db2",40:"65554ca82038913385c1",43:"13848f214bb993c20004"}[e]+".js";var t=setTimeout(o,12e4);function o(){r.onerror=r.onload=null,clearTimeout(t);var c=f[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),f[e]=void 0)}return r.onerror=r.onload=o,n.appendChild(r),a},d.m=e,d.c=a,d.d=function(e,c,a){d.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:a})},d.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(c,"a",c),c},d.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},d.p="./",d.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
......@@ -25,7 +25,7 @@ Vue.use(vueGicImgPreview)
Vue.use(vueOfficeUploadImage)
Vue.use(vueGicFooter)
Vue.use(vueOfficeArea)
// Vue.use(vueOfficeAside)
Vue.use(vueOfficeAside)
Vue.use(vueOfficeHeader)
Vue.config.productionTip = false;
......
......@@ -117,7 +117,6 @@ export default {
})
},
beforeDestroy() {
console.log(document.querySelector('.contact-wrap__body'))
document.querySelector('.contact-wrap__body').style.overflow = 'auto';
}
};
......
......@@ -19,12 +19,10 @@
</template>
<script>
import topNav from 'components/nav/nav';
import vueOfficeAside from 'components/vue-office-aside';
export default {
name: "contact",
components: {
topNav,
vueOfficeAside
topNav
},
data() {
return {
......
<template>
<div class="common-set-wrap">
<div class="common-set-wrap" :style="{'height': windowH}">
<nav-crumb :navpath="navpath"></nav-crumb>
<div class="right-content">
<div class="right-box">
......@@ -78,6 +78,7 @@ export default {
},
data() {
return {
windowH: (window.screen.availHeight - 180) + 'px',
// 面包屑参数
navpath: [{
name: '首页',
......@@ -289,6 +290,12 @@ export default {
if (!!type && type == 'unemployee') {
that.navpath = that.editNavpath;
}
that.$nextTick(function(){
document.querySelector('.contact-wrap__body').style.overflow = 'hidden';
})
},
beforeDestroy() {
document.querySelector('.contact-wrap__body').style.overflow = 'auto';
}
}
......
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