(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a3d8167"],{d2e7:function(t,e,s){"use strict";s("eed6")},e636:function(t,e,s){"use strict";s.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ids-change-roleChoose",staticStyle:{background:"#ededed"},style:{height:t.height}},[e("div",{staticStyle:{width:"90%","margin-left":"5%","padding-top":"50px"},style:{height:t.height}},[e("v-flex",{staticClass:"roleGroup-info",attrs:{xs12:"",id:"rmcmanufacturers"},on:{click:function(e){return t.chooseRmcmanufacturers()}}},[e("div",{staticClass:"roleGroup-title"},[e("img",{staticStyle:{height:"40px",width:"1.375rem","vertical-align":"middle"},attrs:{src:"imgs/svg/my/tenant.svg"}}),e("span",{staticClass:"roleGroup-icon"},[t._v("搅拌站")]),e("span",{staticClass:"roleGroup-text"},[t._v("搅拌站调度、生产、车队等人员")])])]),e("v-flex",{staticClass:"roleGroup-info",attrs:{xs12:"",id:"rental"},on:{click:function(e){return t.chooseRental()}}},[e("div",{staticClass:"roleGroup-title"},[e("img",{staticStyle:{height:"40px",width:"1.375rem","vertical-align":"middle"},attrs:{src:"imgs/svg/my/lessee.svg"}}),e("span",{staticClass:"roleGroup-icon"},[t._v("租赁方")]),e("span",{staticClass:"roleGroup-text"},[t._v("租赁搅拌车、泵车等操作人员")])])]),e("v-flex",{staticClass:"roleGroup-info",attrs:{xs12:"",id:"customer"},on:{click:function(e){return t.chooseCustomer()}}},[e("div",{staticClass:"roleGroup-title"},[e("img",{staticStyle:{height:"40px",width:"1.375rem","vertical-align":"middle"},attrs:{src:"imgs/svg/my/constructor.svg"}}),e("span",{staticClass:"roleGroup-icon"},[t._v("施工方")]),e("span",{staticClass:"roleGroup-text"},[t._v("施工经理、施工员等人员")])])]),e("v-flex",{staticClass:"roleGroup-info",attrs:{xs12:"",id:"material"},on:{click:function(e){return t.chooseMaterial()}}},[e("div",{staticClass:"roleGroup-title"},[e("img",{staticStyle:{height:"40px",width:"1.375rem","vertical-align":"middle"},attrs:{src:"imgs/svg/my/raw_material.svg"}}),e("span",{staticClass:"roleGroup-icon"},[t._v("原材料")]),e("span",{staticClass:"roleGroup-text"},[t._v("材料车司机、砂石厂等人员")])])]),e("v-flex",{staticClass:"next",attrs:{xs12:""}},[e("v-btn",{staticStyle:{width:"90%"},attrs:{color:"error",tabindex:"3"},on:{click:function(e){return t.next()}}},[t._v(t._s(t.nextTitle))])],1)],1)])},o=[],i=s("3d20"),n=s.n(i),a=s("7e35"),c=s("4532"),l=s("25b1"),u={data:function(){return{userRole:[],userRoleName:[],roleFlag:0,nextTitle:"下一步"}},computed:{height:function(){return"calc(".concat(window.innerHeight,"px - 48px ")+")"}},methods:{chooseRmcmanufacturers:function(){$("#rmcmanufacturers").css({border:"2px solid #E66159"}),$("#rental").css({border:"none"}),$("#customer").css({border:"none"}),$("#material").css({border:"none"}),this.roleFlag=1},chooseRental:function(){$("#rmcmanufacturers").css({border:"none"}),$("#rental").css({border:"2px solid #E66159"}),$("#customer").css({border:"none"}),$("#material").css({border:"none"}),this.roleFlag=2},chooseCustomer:function(){$("#rmcmanufacturers").css({border:"none"}),$("#rental").css({border:"none"}),$("#customer").css({border:"2px solid #E66159"}),$("#material").css({border:"none"}),this.roleFlag=3},chooseMaterial:function(){$("#rmcmanufacturers").css({border:"none"}),$("#rental").css({border:"none"}),$("#customer").css({border:"none"}),$("#material").css({border:"2px solid #E66159"}),this.roleFlag=4},chooseFleet:function(){this.$router.push({name:"fleetchoose"})},next:function(){l["f"]||l["g"]||l["l"]||l["m"]||(0==this.roleFlag?n.a.fire({text:"请先选择角色",title:"选择角色",type:"info",showConfirmButton:!1,timer:1500}):1==this.roleFlag?(a["a"].set("rolechoose","rmcmanufacturersinfo"),this.$router.push({name:"provincechoose"})):2==this.roleFlag?(a["a"].set("rolechoose","rentalinfo"),this.$router.push({name:"provincechoose"})):3==this.roleFlag?(a["a"].set("rolechoose","customerinfo"),this.$router.push({name:"provincechoose"})):4==this.roleFlag&&(a["a"].set("rolechoose","materialinfo"),this.$router.push({name:"provincechoose"})))},mSetParams:function(t){t[0];return t},mGetResult:function(t){t[0];return t},changeView:function(){c["a"].vm.setTitle("选择角色"),c["a"].vm.setTitleStyle("#EDEDED"),c["a"].vm.setBottomNavVisible(!1),c["a"].vm.setBackIcon("arrow_back"),c["a"].vm.setBackDisabled(!1)}},created:function(){console.log("调试代码"),(l["f"]||l["g"]||l["l"]||l["m"])&&(this.nextTitle="正在建设中......")},mounted:function(){this.changeView()},beforeDestroy:function(){c["a"].vm.setTitleStyle("#FFF")}},m=u,h=(s("d2e7"),s("2877")),d=Object(h["a"])(m,r,o,!1,null,null,null);e["default"]=d.exports},eed6:function(t,e,s){}}]);