(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-01c5f272"],{"31e3":function(t,e,i){"use strict";i("66b3")},"342c":function(t,e,i){"use strict";i.r(e);var c=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chatArea"},[e("bar",{attrs:{backPage:1,tit:"聊天"}}),e("iframe",{ref:"iframeRef",staticClass:"ca_iframe",attrs:{allow:"camera *; microphone *;display-capture;midi;encrypted-media;",src:t.src}})],1)},n=[],s=i("becf"),o={components:{bar:s["a"]},data:function(){return{userId:this.$store.state.user.userinfo.userid,org:this.$store.state.user.userinfo.org,oid:this.$store.state.user.userinfo.organizeid,src:"https://beta.cloud.cocorobo.cn/aigpt/#/poc?muti_agent_id=90bec943-65cf-11ef-9db4-12e77c4cb76b&isPbl=false"}},methods:{},mounted:function(){this.src="https://beta.cloud.cocorobo.cn/aigpt/#/poc?muti_agent_id=90bec943-65cf-11ef-9db4-12e77c4cb76b&isPbl=false&session_id=".concat(this.userId,"-chat"),console.log("聊聊天")}},a=o,r=(i("394c"),i("2877")),u=Object(r["a"])(a,c,n,!1,null,"2ebc4311",null);e["default"]=u.exports},"394c":function(t,e,i){"use strict";i("9ec5")},"66b3":function(t,e,i){},"9ec5":function(t,e,i){},becf:function(t,e,i){"use strict";var c=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bar",style:{background:t.num?"#005CCD":"#f9f9f9",color:t.num?"#fff":"rgba(0, 0, 0, 0.90)"}},[0!==t.num||0!==t.backPage?e("div",{staticStyle:{position:"absolute",left:"10px"}},[e("van-icon",{attrs:{name:"arrow-left"},on:{click:t.back}})],1):t._e(),""!==t.tit?e("div",{staticClass:"barTitle",staticStyle:{"font-size":"20px"}},[t._v(" "+t._s(t.tit)+" ")]):e("div",[t._t("title")],2),t.setting?e("div",{staticStyle:{position:"absolute",right:"10px"}},[e("van-popover",{attrs:{placement:"bottom-end",trigger:"click"},scopedSlots:t._u([{key:"reference",fn:function(){return[t._t("settingIcon")]},proxy:!0}],null,!0),model:{value:t.showSetting,callback:function(e){t.showSetting=e},expression:"showSetting"}},[t._t("setting")],2)],1):t._e(),e("div",{staticStyle:{position:"absolute",right:"10px"}},[t._t("changeChapter")],2)])},n=[],s=(i("a9e3"),{bind:function(t,e){t.clickOutsideEvent=function(i){t===i.target||t.contains(i.target)||e.value(i)},document.addEventListener("click",t.clickOutsideEvent)},unbind:function(t){document.removeEventListener("click",t.clickOutsideEvent)}}),o={props:{tit:{type:String,default:""},num:{type:Number,default:0},backPage:{type:Number,default:0},setting:{type:Boolean,default:!1}},directives:{"click-outside":s},data:function(){return{barBackColor:"barBackColor",showSetting:!1}},methods:{back:function(){1==this.backPage?(console.log(this.backPage),this.$router.go(-1)):this.$emit("cutPage")},settingFn:function(){this.showSetting=!this.showSetting}}},a=o,r=(i("31e3"),i("2877")),u=Object(r["a"])(a,c,n,!1,null,"b6c036fa",null);e["a"]=u.exports}}]);