gf-tel.js 2.5 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/gf-tel/gf-tel"],{"03b5":function(t,n,e){"use strict";e.r(n);var i=e("7c23"),o=e.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);n["default"]=o.a},"55b6":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return i}));var i={uPopup:function(){return e.e("uview-ui/components/u-popup/u-popup").then(e.bind(null,"55b65"))},uIcon:function(){return e.e("uview-ui/components/u-icon/u-icon").then(e.bind(null,"7fa5"))},uEmpty:function(){return e.e("uview-ui/components/u-empty/u-empty").then(e.bind(null,"bb04"))}},o=function(){var t=this.$createElement,n=(this._self._c,this.worker_list.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},u=[]},"637e":function(t,n,e){},"7c23":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{id:"",showchatlist:!1,worker_list:[]}},created:function(){},methods:{totel:function(n){var e=this;t.showLoading({mask:!0,title:"请稍后"}),this.$u.post("/api/Member/bind_worker",{worker_id:n.id}).then((function(n){1==n.code?(e.showchatlist=!1,e.$emit("over"),e.$u.post("/api/Member/member_info").then((function(n){t.makePhoneCall({phoneNumber:n.data.worker_phone})}))):e.$u.toast(n.msg)}))},getdata:function(t){var n=this;2==t?this.$u.post("/api/welfare/welfare_detail",{id:this.id}).then((function(t){n.worker_list=t.data.worker_info,n.showchatlist=!0})):this.$u.post("/api/Property/property_detail",{id:this.id}).then((function(t){n.worker_list=t.data.worker_info,n.showchatlist=!0}))},open:function(n,e){this.id=n,t.showLoading({mask:!0,title:"请稍后"}),this.getdata(e)}}};n.default=e}).call(this,e("543d")["default"])},"8dde":function(t,n,e){"use strict";e.r(n);var i=e("55b6"),o=e("03b5");for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);e("d32f");var r=e("f0c5"),a=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=a.exports},d32f:function(t,n,e){"use strict";var i=e("637e"),o=e.n(i);o.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/gf-tel/gf-tel-create-component',
  4. {
  5. 'components/gf-tel/gf-tel-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("8dde"))
  7. })
  8. },
  9. [['components/gf-tel/gf-tel-create-component']]
  10. ]);