1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-39bb7a1e"],{"06c2":function(t,a,e){},7922:function(t,a,e){"use strict";e("06c2")},"92e2":function(t,a,e){"use strict";e.d(a,"b",(function(){return s})),e.d(a,"a",(function(){return i}));var n=e("b775");function s(t){return Object(n["a"])({url:"/api/profile/company",method:"post",data:t})}function i(t){return Object(n["a"])({url:"/api/talkskill/credits_info",method:"post",data:t})}},b706:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"changecompany"},[e("div",{staticClass:"changetitlebox fontfpm font36 color384855 left"},[t._v("请选择登录的公司")]),e("div",{staticClass:"companybox clearfix font26 center fontfpr"},t._l(t.companyarr,(function(a,n){return e("div",{key:n,staticClass:"everycompanybox clearfix",class:{offbg:0!=a.off},on:{click:function(e){return t.changeindextap(a.client_type,a.off,a.off_remark)}}},[e("img",{staticClass:"pull-left logo",attrs:{src:a.brand?a.brand.logo:a.logo,alt:"logo"}}),e("div",{staticClass:"pull-left companymsgbox left"},[e("div",{staticClass:"ellipsis color3a3a3a fontfpm font26"},[t._v(t._s(a.company_name))]),e("div",{staticClass:"clearfix colorafafaf font24"},[e("div",{staticClass:"pull-left"},[t._v(t._s(a.org_name))]),e("span",{staticClass:"pull-left",staticStyle:{margin:"0 6px"}},[t._v("|")]),e("div",{staticClass:"pull-left"},[t._v(t._s(1==a.is_manager?"管理员":"普通员工"))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:0!=a.off,expression:"item.off!=0"}],staticClass:"pull-right clearfix nowusebox"},[t._v(t._s(a.off_remark))]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.$store.state.clientype==a.client_type&&0==a.off,expression:"$store.state.clientype==item.client_type&&item.off==0"}],staticClass:"pull-right clearfix nowusebox"},[e("span",{staticClass:"pull-left"}),e("div",{staticClass:"pull-left"},[t._v("当前使用")])])])})),0)])},s=[],i=e("92e2"),o=e("18a0"),c=e.n(o),l={name:"changecompany",data:function(){return{companyarr:[]}},created:function(){this.companyfun()},methods:{companyfun:function(){var t=this,a={};Object(i["b"])(a).then((function(a){0==a.data.code&&(t.companyarr=a.data.data)}))},changeindextap:function(t,a,e){0==a?c.a.miniProgram.reLaunch({url:"/pages/index/index?client_type="+t}):this.$toast(e)}},mounted:function(){}},r=l,f=(e("7922"),e("2877")),u=Object(f["a"])(r,n,s,!1,null,"69c2886a",null);a["default"]=u.exports}}]);
|