(function(e){function t(t){for(var a,r,o=t[0],i=t[1],s=t[2],d=0,l=[];d{0==e.data.code&&this.setOutCallSystem(e.data.data)})},userfun(){const e=this;let t={alertshow:1};Object(y["a"])(t).then(t=>{0!=t.data.code&&601!=t.data.code||(e.setpersonObj(t.data.data),e.setempid(t.data.data.id))})}}},P=C,T=(n("c8a0"),n("2877")),x=Object(T["a"])(P,j,_,!1,null,null,null),S=x.exports,V=n("4360"),D=n("6389"),I=n.n(D),E=n("8bbf"),M=n.n(E);M.a.use(I.a);const B=new I.a({routes:[{path:"/vrbuilding",name:"vrbuilding",component:()=>Promise.all([n.e("chunk-452fbb06"),n.e("chunk-3351b38b")]).then(n.bind(null,"bc9a")),meta:{title:"VR楼书",keepAlive:!0}},{path:"/buildingDetail",name:"buildingDetail",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-452fbb06"),n.e("chunk-482d09e5"),n.e("chunk-481f7280")]).then(n.bind(null,"0857")),meta:{title:"楼书详情",keepAlive:!0}},{path:"/shareBuilding",name:"shareBuilding",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-452fbb06"),n.e("chunk-482d09e5"),n.e("chunk-89be09d6")]).then(n.bind(null,"0a2d")),meta:{title:"楼书详情",keepAlive:!0}},{path:"/houseType",name:"houseType",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-452fbb06"),n.e("chunk-7f1fa4ec")]).then(n.bind(null,"96c6")),meta:{title:"户型详情",keepAlive:!0}},{path:"/shareHouseType",name:"shareHouseType",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-452fbb06"),n.e("chunk-3f503951")]).then(n.bind(null,"e9cd")),meta:{title:"户型详情",keepAlive:!0}},{path:"/caseInfo",name:"caseInfo",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-452fbb06"),n.e("chunk-73b7e88d")]).then(n.bind(null,"c52a")),meta:{title:"案例详情",keepAlive:!0}},{path:"/shareCase",name:"shareCase",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-452fbb06"),n.e("chunk-351db2d7")]).then(n.bind(null,"e966")),meta:{title:"案例详情",keepAlive:!0}},{path:"/constructionInfo",name:"constructionInfo",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-452fbb06"),n.e("chunk-5b4c0b00")]).then(n.bind(null,"bd42")),meta:{title:"在施工程详情",keepAlive:!0}},{path:"/shareConstruction",name:"shareConstruction",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-452fbb06"),n.e("chunk-24e4dbb2")]).then(n.bind(null,"4c38")),meta:{title:"在施工程详情",keepAlive:!0}},{path:"/moreCase",name:"moreCase",component:()=>Promise.all([n.e("chunk-09e2170e"),n.e("chunk-f85dca66")]).then(n.bind(null,"b426")),meta:{title:"户型案例",keepAlive:!0}},{path:"/shareCaselist",name:"shareCaselist",component:()=>Promise.all([n.e("chunk-09e2170e"),n.e("chunk-565e43ba")]).then(n.bind(null,"5f54")),meta:{title:"户型案例",keepAlive:!0}},{path:"/moreConstruction",name:"moreConstruction",component:()=>Promise.all([n.e("chunk-09e2170e"),n.e("chunk-477d48f4")]).then(n.bind(null,"4121")),meta:{title:"在施工地",keepAlive:!0}},{path:"/shareConlist",name:"shareConlist",component:()=>Promise.all([n.e("chunk-09e2170e"),n.e("chunk-34940040")]).then(n.bind(null,"e3f3")),meta:{title:"在施工地",keepAlive:!0}},{path:"/viewvr",name:"viewvr",component:()=>n.e("chunk-71431a3d").then(n.bind(null,"6244")),meta:{title:"VR全景图",keepAlive:!1}},{path:"/shareViewvr",name:"shareViewvr",component:()=>n.e("chunk-08b3356c").then(n.bind(null,"873c")),meta:{title:"VR预览",keepAlive:!1}},{path:"/coursemsg",name:"coursemsg",component:()=>n.e("chunk-304422ca").then(n.bind(null,"be7ff")),meta:{title:"课程详情",keepAlive:!1}},{path:"/finishperson",name:"finishperson",component:()=>n.e("chunk-255d3d0f").then(n.bind(null,"816c")),meta:{title:"已完成人员",keepAlive:!1}},{path:"/lecturer",name:"lecturer",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-441ca771")]).then(n.bind(null,"84c1")),meta:{title:"讲师详情",keepAlive:!1}},{path:"/viewCase",name:"viewCase",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-ad37c2ae"),n.e("chunk-205dd01a")]).then(n.bind(null,"fec4")),meta:{title:"精选话术",keepAlive:!1}},{path:"/caseChat",name:"caseChat",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-ad37c2ae"),n.e("chunk-2bc60a2e")]).then(n.bind(null,"496c")),meta:{title:"案例详情",keepAlive:!1}},{path:"/QAndA",name:"QAndA",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-b9f1b446")]).then(n.bind(null,"dab0")),meta:{title:"问答详情",keepAlive:!1}},{path:"/activity",name:"activity",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-014d8b90")]).then(n.bind(null,"c2c2")),meta:{title:"活动详情",keepAlive:!0}},{path:"/album",name:"album",component:()=>n.e("chunk-f7b7ad6e").then(n.bind(null,"e333")),meta:{title:"活动相册",keepAlive:!0}},{path:"/preview",name:"preview",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-2ca892cd")]).then(n.bind(null,"5033")),meta:{title:"查看相册",keepAlive:!1}},{path:"/shareActivity",name:"shareActivity",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-1b3e76f0")]).then(n.bind(null,"b612")),meta:{title:"活动详情",keepAlive:!1}},{path:"/exam",name:"exam",component:()=>n.e("chunk-14ea3ea1").then(n.bind(null,"b1bb")),meta:{title:"考核模块",keepAlive:!1}},{path:"/crm",name:"crm",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-ecf78e6a"),n.e("chunk-837d6992"),n.e("chunk-2361ba6c")]).then(n.bind(null,"0f7e")),meta:{title:"我的客户管理",keepAlive:!0}},{path:"/customerMsg",name:"customerMsg",component:()=>Promise.all([n.e("chunk-0ee591ae"),n.e("chunk-ecf78e6a"),n.e("chunk-837d6992"),n.e("chunk-14ed57d4")]).then(n.bind(null,"88c4")),meta:{title:"客户详情",keepAlive:!1}},{path:"/clueMsg",name:"clueMsg",component:()=>n.e("chunk-5244f30a").then(n.bind(null,"ebfd")),meta:{title:"线索详情",keepAlive:!1}},{path:"/addCustomer",name:"addCustomer",component:()=>Promise.all([n.e("chunk-ecf78e6a"),n.e("chunk-7772af67")]).then(n.bind(null,"1e7e")),meta:{title:"报备客户",keepAlive:!1}}]});var N=B,L=n("fa7d"),H=(n("499a"),n("3ee2"),n("18a0")),R=n.n(H),F=n("edb5"),U=function(){var e=this,t=e._self._c;return t("div",{staticClass:"loading"},[t("img",{ref:"imgload",attrs:{src:"https://xgvr.oss.xueque.net/vr/loading.gif",alt:""}}),t("span",{directives:[{name:"show",rawName:"v-show",value:e.imgOver,expression:"imgOver"}]},[e._v("加载中...")])])},Y=[],$={data(){return{imgOver:!1}},mounted(){this.$nextTick(()=>{this.$refs.imgload.onload=()=>{this.imgOver=!0}})}},q=$,K=(n("56ce"),Object(T["a"])(q,U,Y,!1,null,"786adae2",null)),Q=K.exports,W=function(){var e=this,t=e._self._c;return t("div",{staticClass:"callload"},[e.showflag?t("van-loading",{attrs:{size:"24px",color:"#ffffff",type:"spinner","text-color":"#ffffff",vertical:""}},[e._v("电话拨通中,请等待5s ~ 10s ")]):e._e()],1)},z=[],J={components:{[f["a"].name]:f["a"]},data(){return{showflag:!1}},mounted(){this.$nextTick(()=>{this.showflag=!0})}},X=J,G=(n("0799"),Object(T["a"])(X,W,z,!1,null,"6d2ff356",null)),Z=G.exports;Vue.config.productionTip=!1,Vue.component("xqloading",Q),Vue.component("callload",Z),Vue.component("nonedata",F["a"]),Vue.prototype.$axios=axios,Vue.prototype.utils=L["a"],Vue.prototype.$wx=R.a,Vue.prototype.$$router=N,Vue.use(O["a"]),Vue.use(v["a"]),Vue.use(g["a"]),Vue.use(k["a"]),Vue.use(b["a"]),Vue.use(p["a"]),Vue.use(m["a"]),Vue.use(f["a"]),Vue.use(h["a"]),Vue.use(l["a"]),Vue.use(d["a"]),Vue.use(s["a"]),Vue.use(i["a"]),Vue.use(o["a"]),Vue.use(c["a"]),Vue.use(u["a"]),Vue.use(r["a"]),Vue.use(a["a"]),N.beforeEach((e,t,n)=>{e.meta.title&&(document.title=e.meta.title),n()}),new Vue({store:V["a"],router:N,render:e=>e(S)}).$mount("#app")},5880:function(e,t){e.exports=Vuex},"5c34":function(e,t,n){},6389:function(e,t){e.exports=VueRouter},6659:function(e,t,n){"use strict";n("5c34")},8327:function(e,t,n){},"8bbf":function(e,t){e.exports=Vue},"8c7f":function(e,t,n){e.exports=n.p+"img/nothing.2161e822.png"},b775:function(e,t,n){"use strict";n("e7e5");var a=n("d399"),r=n("cebe"),u=n.n(r),c=n("18a0"),o=n.n(c),i=n("4360");const s=u.a.create({timeout:2e4});s.interceptors.request.use(e=>(e.Connection="keep-alive",e.headers["Authorization"]="bearer "+i["a"].state.token,"get"===e.method?e.params={client_type:i["a"].state.clientype,...e.params}:e.data.client_type=i["a"].state.clientype,e),e=>{console.log(e),Promise.reject(e)}),s.interceptors.response.use(e=>{let t="";if(t="post"==e.config.method?e.config.data?JSON.parse(e.config.data):e.config.data:e.config.params,e.data.code&&!t.alertshow)switch(e.data.code){case 1:Object(a["a"])(e.data.msg);break;case 403:o.a.miniProgram.reLaunch({url:"/pages/index/index"});break;case 601:Object(a["a"])(e.data.msg),1!==t.alertshow&&setTimeout(()=>{window.android?window.android.backPageVC():window.webkit.messageHandlers.backPageVC.postMessage("nil")},1500);break;case 404:Object(a["a"])("请求的资源不存在");break;default:Object(a["a"])(e.data.msg);break}return e},e=>{if(e.response.data.code)switch(e.response.data.code){case 1:Object(a["a"])(e.response.data.msg);break;case 404:Object(a["a"])("请求的资源不存在");break;default:console.log(e);break}return Promise.reject(e)});t["a"]=s},c8a0:function(e,t,n){"use strict";n("ceb3")},ceb3:function(e,t,n){},cebe:function(e,t){e.exports=axios},edb5:function(e,t,n){"use strict";var a=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"show",rawName:"v-show",value:0==e.len&&e.datashow,expression:"(len == 0) && datashow"}],staticClass:"nothing"},[t("img",{attrs:{src:n("8c7f"),alt:""}})])},r=[],u={props:{len:{type:Number,default:0},datashow:{type:Boolean,default:!1}},data(){return{}}},c=u,o=(n("6659"),n("2877")),i=Object(o["a"])(c,a,r,!1,null,"01c36b43",null);t["a"]=i.exports},fa7d:function(e,t,n){"use strict";n("b7ef"),n("907a"),n("986a"),n("1d02"),n("3c5d"),n("1b3b"),n("3d71"),n("c6e3"),n("d9e2");var a=n("b311"),r=n.n(a);t["a"]={getQueryStringArgs:function(e){e=null==e?window.location.href:e;var t=e.substring(e.lastIndexOf("?")+1),n={},a=/([^?&=]+)=([^?&=]*)/g;return t.replace(a,(function(e,t,a){var r=decodeURIComponent(t),u=decodeURIComponent(a);return u=String(u),n[r]=u,e})),n},dayDiff(e,t){let n=Math.ceil((e.getTime()-t.getTime())/864e5);return n},nowdayDiff(e){let t=new Date,n=t.getFullYear()+"/"+(1*t.getMonth()+1)+"/"+t.getDate(),a=Math.ceil((new Date(n).getTime()-new Date(e).getTime())/864e5);return a},ismobilephone(){var e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=(/(?:SymbianOS)/.test(e),/(?:Android)/.test(e)),a=/(?:Firefox)/.test(e),r=(/(?:Chrome|CriOS)/.test(e),/(?:iPad|PlayBook)/.test(e)||n&&!/(?:Mobile)/.test(e)||a&&/(?:Tablet)/.test(e)),u=/(?:iPhone)/.test(e)&&!r;return n||u},getCurrentWeekFirstDay(){var e=new Date,t=e.getDay()||7,n=new Date(e.getFullYear(),e.getMonth(),e.getDate()+1-t);return n.getFullYear()+"/"+(Number(n.getMonth())+1)+"/"+n.getDate()},getCurrentWeekLastDay(){var e=new Date,t=e.getDay()||7;let n=new Date(e.getFullYear(),e.getMonth(),e.getDate()+1-t),a=new Date(1e3*(n/1e3+518400)),r=Number(a.getMonth())+1;r<10&&(r="0"+r);let u=a.getDate();return u<10&&(u="0"+u),n.getFullYear()+"/"+r+"/"+u},getmonthfirstday(){var e=new Date;e.setDate(1);var t=parseInt(e.getMonth()+1),n=e.getDate();return t<10&&(t="0"+t),n<10&&(n="0"+n),e.getFullYear()+"/"+t+"/"+n},getmonthlastday(){var e=new Date,t=e.getMonth(),n=++t,a=new Date(e.getFullYear(),n,1),r=864e5,u=new Date(a-r),c=parseInt(u.getMonth()+1),o=u.getDate();return c<10&&(c="0"+c),o<10&&(o="0"+o),e.getFullYear()+"/"+c+"/"+o},dataURL2blob(e){let t=atob(e.split(",")[1]),n=new ArrayBuffer(t.length),a=new Uint8Array(n),r=e.split(",")[0].match(/:(.*?);/)[1];for(let s=0,d=t.length;se});a.on("success",()=>{n.$toast("复制成功"),a.destroy()}),a.on("error",()=>{a.destroy()}),a.onClick(t)}}}});