webpackJsonp([24],{JsWW:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("P9l9"),n={name:"shareCode",data:function(){return{regenerate:!1,qrCodeContent:{}}},methods:{getCode:function(){var t=this,a={regenerate:t.regenerate};Object(s.a)("/haoban-manage-web/shared-contact/get-shared-qrcode",a).then(function(a){console.log(a,"code"),1==a.data.errorCode?t.qrCodeContent=JSON.parse(a.data.result.qrCodeContent):t.$message.error({message:a.data.message})}).catch(function(a){t.$message.error({message:a.message})})},getShareBrands:function(){var t=this;Object(s.a)("/haoban-manage-web/shared-contact/find-shared-contact-relation",{}).then(function(t){console.log(t,"shares")}).catch(function(a){t.$message.error({message:a.message})})}},beforeMount:function(){this.getShareBrands(),this.getCode()}},i={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"share-code-div"},[e("p",{staticClass:"company-name"},[t._v("中国达摩")]),t._v(" "),e("p",{staticClass:"word"},[t._v("双方共享的通讯录，选人时可以选到，同时邀请企业建立共享关系")]),t._v(" "),e("p",{staticClass:"time-tip"},[t._v("一个二维码只能和一个企业建立共享关系，24小时有效")]),t._v(" "),e("img",{staticClass:"code-img",attrs:{src:t.qrCodeContent.data}}),t._v(" "),e("div",{staticClass:"btn-area"},[e("el-button",{attrs:{type:"primary"}},[t._v("下载"),e("i",{staticClass:"iconfont icon-icon_yunxiazai"})]),t._v(" "),e("el-button",[t._v("重新生成")])],1),t._v(" "),e("p",{staticClass:"company-name"},[t._v("已建立的共享企业")]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"share-table"},[e("div",{staticClass:"company"},[t._v("达摩克里斯之剑")]),t._v(" "),e("ul",{staticClass:"list"},[e("li",{staticClass:"li"},[e("div",{staticClass:"name"},[t._v("达摩克里斯之剑")]),t._v(" "),e("div",{staticClass:"cancel-btn"},[e("a",{staticClass:"a-href",attrs:{href:""}},[t._v("取消共享")])])]),t._v(" "),e("li",{staticClass:"li"},[e("div",{staticClass:"name"},[t._v("达摩克里斯之剑")]),t._v(" "),e("div",{staticClass:"cancel-btn"},[e("a",{staticClass:"a-href",attrs:{href:""}},[t._v("取消共享")])])]),t._v(" "),e("li",{staticClass:"li"},[e("div",{staticClass:"name"},[t._v("达摩克里斯之剑")]),t._v(" "),e("div",{staticClass:"cancel-btn"},[e("a",{staticClass:"a-href",attrs:{href:""}},[t._v("取消共享")])])])])])}]};var r=e("VU/8")(n,i,!1,function(t){e("plTg")},null,null);a.default=r.exports},plTg:function(t,a){}});
//# sourceMappingURL=24.fab36942fa1404cc67a5.js.map