12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/gf-chat/gf-chat"],{"31a4":function(t,e,n){"use strict";var i=n("4ebe"),o=n.n(i);o.a},"4ebe":function(t,e,n){},b239:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{type:{type:String,default:"1"}},data:function(){return{id:"",showchatlist:!1,worker_list:[]}},created:function(){},methods:{close:function(t){this.$emit("close")},tochat:function(e){var n=this;t.showLoading({mask:!0,title:"请稍后"}),this.$u.post("/api/Member/bind_worker",{worker_id:e.id}).then((function(i){1==i.code?(1==n.type&&(n.showchatlist=!1),n.$emit("over"),n.$u.post("/api/Member/member_info").then((function(i){1==n.type?t.navigateTo({url:"/pages/index/chat?hx_username="+i.data.worker_hx_username+"&worker_id="+e.id}):t.redirectTo({url:"/pages/index/chat?hx_username="+i.data.worker_hx_username+"&worker_id="+e.id})}))):n.$u.toast(i.msg)}))},getdata:function(t){var e=this;2==t?this.$u.post("/api/welfare/welfare_detail",{id:this.id}).then((function(t){e.worker_list=t.data.worker_info,e.showchatlist=!0})):this.$u.post("/api/Property/property_detail",{id:this.id}).then((function(t){e.worker_list=t.data.worker_info,e.showchatlist=!0}))},open:function(e,n){this.id=e,t.showLoading({mask:!0,title:"请稍后"}),this.getdata(n)}}};e.default=n}).call(this,n("f266")["default"])},c625:function(t,e,n){"use strict";n.r(e);var i=n("ddef"),o=n("e51e");for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("31a4");var r=n("f0c5"),a=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=a.exports},ddef:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uPopup:function(){return n.e("uview-ui/components/u-popup/u-popup").then(n.bind(null,"55b65"))},uIcon:function(){return n.e("uview-ui/components/u-icon/u-icon").then(n.bind(null,"7fa5"))},uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,"bb04"))}},o=function(){var t=this.$createElement;this._self._c},u=[]},e51e:function(t,e,n){"use strict";n.r(e);var i=n("b239"),o=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'components/gf-chat/gf-chat-create-component',
- {
- 'components/gf-chat/gf-chat-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('f266')['createComponent'](__webpack_require__("c625"))
- })
- },
- [['components/gf-chat/gf-chat-create-component']]
- ]);
|