"use strict";(self.webpackChunk_client_app_store=self.webpackChunk_client_app_store||[]).push([[9610],{44282:function(e,t,n){n.r(t),n.d(t,{PRE_SALES_RESULT_VIEW_DATA:function(){return a},PreSalesPane:function(){return U},PreSalesResultView:function(){return l},RESERVEBCEVENT:function(){return e_},RESERVEBCNAME:function(){return eg},createCustomerServiceBtn:function(){return G},createCustomerServiceMobileBtn:function(){return Y},createPkgServiceBtn:function(){return ej},createPkgServiceMobileBtn:function(){return eP},createPreSalesServiceBtn:function(){return ee},createPreSalesServiceMobileBtn:function(){return et}});var r=function(){var e=this._self._c;return e("div",[this.ready?[e("ResultView",this._b({staticClass:"resultView"},"ResultView",this.viewConfig,!1))]:this._e()],2)};r._withStripped=!0;var o=n(40048),i=n(95858),c=n(28489),u="PRE_SALES_RESULT_VIEW_DATA",a=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),this.data={}}var t=e.prototype;return t.setData=function(e){localStorage.setItem(u,JSON.stringify(e)),this.data=e},t.consumeData=function(){this.data=this.getData();var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})}return e}({},this.data);return this.setData({}),e},t.getData=function(){if(Object.keys(this.data||{}).length)return this.data;try{var e=localStorage.getItem(u);if(!e)return null;return JSON.parse(e)}catch(t){}return null},e}());n(98316);var s={components:{ResultView:i.Z},data:function(){return{ready:!1,pageInfo:{success:!1,vid:"",humanMessage:"",page_style:0}}},computed:{viewConfig:function(){var e=this.pageInfo,t=e.success,r=e.vid,o=e.humanMessage;if(t){var i=1===this.pageInfo.page_style?n(11974).nI().t("大客户经理"):n(11974).nI().t("专属顾问");return 1e3===this.pageInfo.page_style&&(i=n(11974).nI().t("服务商客服")),1100===this.pageInfo.page_style&&(i=n(11974).nI().t("服务顾问")),{icon:{type:"success"},title:n(11974).nI().t("已添加"),desc:n(11974).nI().t("前往消息列表与{0}进行服务咨询与沟通。",[i]),btnList:[{type:"info",text:n(11974).nI().t("前往咨询"),onClick:function(){(0,c.eX)({customer_vid:r})}}]}}return{icon:{type:"warning"},title:o||n(11974).nI().t("添加失败")}}},beforeMount:function(){var e=a.consumeData();if(!Object.keys(e).length){this.$router.back();return}this.pageInfo=e,document.title=n(11974).nI().t("为你提供专属服务"),(0,o.OVP)("wwapp.showWebviewRightMenu",{menuKey:"hide"})},mounted:function(){this.ready=!0}},l=(0,n(6080).Z)(s,r,[],!1,null,"e792a6c2",null).exports,p=n(79956),f=n(66519),d=n(67545),v=n(26278),b=n(60545),y=n(32970);n(34846),n(77766);var h=n(39005),m=n(90015);n(12443);var w=n(89911);function O(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(s){n(s);return}u.done?t(a):Promise.resolve(a).then(r,o)}var g=function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},_=(0,y.a)({props:{options:{},isMobile:{},add:{},booking:{},added:!1},data:function(){return{addingCustomerService:!1}},render:function(e){var t=function(){var e;null===(e=o.report)||void 0===e||e.call(o,"consult"),u()},r=this,o=r.options,i=r.isMobile,c=r.add,u=r.booking,a=r.added,s=o.brandName;function l(){var e;return e=function(){return g(this,function(e){switch(e.label){case 0:if(r.addingCustomerService)return[2];e.label=1;case 1:return e.trys.push([1,,3,4]),r.addingCustomerService=!0,[4,c()];case 2:return e.sent(),[3,4];case 3:return r.addingCustomerService=!1,[7];case 4:return[2]}})},(l=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){O(i,r,o,c,u,"next",e)}function u(e){O(i,r,o,c,u,"throw",e)}c(void 0)})}).apply(this,arguments)}var p=a?n(11974).nI().t("联系"):n(11974).nI().t("添加");return(0,w.b)(e,{staticClass:"",isMobile:i,renderTitle:function(){return n(11974).nI().t("为你提供专属服务")},renderSubTitle:function(){return n(11974).nI().t("添加{0}客服为外部联系人，可通过企业微信联系服务商进行咨询。",[s])},avatar:"https://wwcdn.weixin.qq.com/node/wework/images/avatar_customer_service_chat.76d214aa1b.png",name:n(11974).nI().t("专属客服"),corpName:s,onAddCustomerService:function(){return l.apply(this,arguments)},btnTxt:p,renderFooter:function(){return(0,b.t)("div",{class:"u-pt-24 u-text-14 u-font-400 u-c-base_gray_040",children:["\n        ".concat(n(11974).nI().t("暂不添加专属客服"),"\n        "),(0,b.t)("a",{class:"u-ml-4 u-c-accent_blue",href:"javascript:;",onClick:t,children:"\n          ".concat(n(11974).nI().t("预约咨询顾问"),"\n        ")})]})}})}}),P={preSalesModal:"pre-sales-mobile-modal-module__preSalesModal--EWwR4",popup:"pre-sales-mobile-modal-module__popup--TkawN",customerServiceModal:"pre-sales-mobile-modal-module__customerServiceModal--wEmZQ"};function j(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(s){n(s);return}u.done?t(a):Promise.resolve(a).then(r,o)}function S(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){j(i,r,o,c,u,"next",e)}function u(e){j(i,r,o,c,u,"throw",e)}c(void 0)})}}var k=function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},C=(0,y.a)({data:function(){return{options:{},showPopup:!1}},render:function(e){var t,n,r,i,u=this,s=this,l=this,p=(r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})}return e}({},this.options),i=i={onAddCustomerService:(t=S(function(e){var t,n;return k(this,function(r){switch(r.label){case 0:return s.Hide(),[4,s.$nextTick()];case 1:return r.sent(),null===(n=(t=s.options).onAddCustomerService)||void 0===n||n.call(t,e),a.setData({success:!0,vid:e.customer_vid,page_style:1e3}),s.jumpResultPage(),[2]}})}),function(e){return t.apply(this,arguments)}),onAddCustomerServiceFailed:(n=S(function(e){var t;return k(this,function(n){switch(n.label){case 0:return l.Hide(),[4,l.$nextTick()];case 1:return n.sent(),a.setData({success:!1,humanMessage:null===(t=e.data)||void 0===t?void 0:t.result.humanMessage}),l.jumpResultPage(),[2]}})}),function(e){return n.apply(this,arguments)})},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}),r);return(0,b.t)(h.Z,{class:P.popup,value:this.showPopup,onInput:function(e){return u.showPopup=e},position:"bottom",round:!0,closeable:!0,"close-icon":"arrow-down","close-icon-position":"top-left",children:(0,b.t)("div",{class:P.customerServiceModal,children:(0,b.t)(_,{options:p,"is-mobile":!0,add:function(){(0,c.Hy)(p,{silent:!0,dntChat:!0})},booking:function(){var e;(0,o.YoN)({url:(e=p.appId,"https://open.work.weixin.qq.com/wwopen/custom/bookThirdApp/".concat(encodeURIComponent(e),"?wws=35&bar_style_type=3"))})}})})})},methods:{Show:function(e){this.showPopup=!0,this.options=e},Hide:function(){this.showPopup=!1},jumpResultPage:function(){var e,t;null===(e=this.options)||void 0===e||null===(t=e.jumpResultPage)||void 0===t||t.call(e)}}}),x=n(16815),I=n(33752),E=n(50272);function D(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(s){n(s);return}u.done?t(a):Promise.resolve(a).then(r,o)}function A(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){D(i,r,o,c,u,"next",e)}function u(e){D(i,r,o,c,u,"throw",e)}c(void 0)})}}var T=function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}};function R(){return(R=A(function(e){var t,n,r;function o(){return i.apply(this,arguments)}function i(){return(i=A(function(){var o;return T(this,function(i){switch(i.label){case 0:if(!n)return[3,2];return[4,(0,c.eX)(t)];case 1:return i.sent(),null===(o=e.onAddCustomerService)||void 0===o||o.call(e,t),[2];case 2:var u,a;return[4,(0,c.Hy)((u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})}return e}({},e.options),a=a={onAddCustomerService:function(t){var n;null===(n=e.onAddCustomerService)||void 0===n||n.call(e,t)}},Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(a)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(a)).forEach(function(e){Object.defineProperty(u,e,Object.getOwnPropertyDescriptor(a,e))}),u))];case 3:return i.sent(),r.destroy(),[2]}})})).apply(this,arguments)}function u(){(0,E.s)({options:e.options,response:e.response}),r.destroy()}return T(this,function(i){return n=null==(t=e.customerServiceInfo||e.response.serviceStaff)?void 0:t.customer_open_id,r=x.W.confirm({showHeader:!1,footer:!1,showOverlay:!0,closeBtn:!0,width:"400px",className:"".concat(I.Z.dialog," ").concat(I.Z.dialogShort),placement:"center",zIndex:1001,closeOnOverlayClick:e.options.closeOnOverlayClick,body:function(t){return t(_,{props:{options:e.options,add:o,booking:u}})},onClose:function(){r.destroy()}}),[2]})})).apply(this,arguments)}var M=n(55517),V=n(79394),q={modal_cnt:"customer-service-modal-module__modal_cnt--eucaL",modal_foot:"customer-service-modal-module__modal_foot--URI8M",modal_foot_btn:"customer-service-modal-module__modal_foot_btn--k7hRi",dl_content:"customer-service-modal-module__dl_content--RDoos",dl_ls:"customer-service-modal-module__dl_ls--SQghD",dl_kf:"customer-service-modal-module__dl_kf--TbY2f",dl_avatar:"customer-service-modal-module__dl_avatar--fSLHt",dl_name:"customer-service-modal-module__dl_name--s6Mh6",dl_from:"customer-service-modal-module__dl_from--kTowM",kfQrcode_pane:"customer-service-modal-module__kfQrcode_pane--Rnisn",kfQrcode_title:"customer-service-modal-module__kfQrcode_title--sTYnp",kfQrcode_qrcode:"customer-service-modal-module__kfQrcode_qrcode--vAUJx",kfQrcode_icon:"customer-service-modal-module__kfQrcode_icon--k6bGO",kfQrcode_qrcode_img:"customer-service-modal-module__kfQrcode_qrcode_img--FpDiZ"};function N(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(s){n(s);return}u.done?t(a):Promise.resolve(a).then(r,o)}var Q=function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}};function H(){var e;return e=function(e){var t;function r(){(0,E.s)({options:e.options,response:e.response}),t.dispose()}return Q(this,function(o){return t=V.Vq.show({title:n(11974).nI().t("为你提供专属客服"),width:"400px",content:function(t){return(0,b.t)("div",{class:q.kfQrcode_pane,children:[(0,b.t)("img",{class:q.kfQrcode_icon,src:"https://wwcdn.weixin.qq.com/node/wework/images/logo.573aa0b637.png"}),(0,b.t)("div",{class:q.kfQrcode_title,children:n(11974).nI().t(n(11974).nI().t("请用微信扫码进行服务咨询"))}),(0,b.t)("div",{class:q.kfQrcode_qrcode,children:(0,b.t)("img",{class:q.kfQrcode_qrcode_img,src:"https://open.work.weixin.qq.com/wwopen/common/qrcode?".concat(M.stringify({url:e.response.kfAccount.url}))})})]})},footer:function(e){return(0,b.t)("footer",{class:q.modal_foot,children:(0,b.t)(V.zx,{class:q.modal_foot_btn,color:"gray",onClick:r,children:"\n          ".concat(n(11974).nI().t("预约咨询顾问"),"\n        ")})})}}),[2]})},(H=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){N(i,r,o,c,u,"next",e)}function u(e){N(i,r,o,c,u,"throw",e)}c(void 0)})}).apply(this,arguments)}function Z(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(s){n(s);return}u.done?t(a):Promise.resolve(a).then(r,o)}function $(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){Z(i,r,o,c,u,"next",e)}function u(e){Z(i,r,o,c,u,"throw",e)}c(void 0)})}}var L=function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},B=(0,p.hu)("customer-service-modal/customer-service");function G(e){var t,n,r,o,i=function(){return(0,f.dY)(v.TL,{customer_business_id:e.appId||e.caseId,customer_business_type:e.appId?3:4,scene_val:e.scene_val},{silent:!0}).then(function(e){r=e}).catch(function(e){B.error("pick customer service fail",e)})},u=i();return e.skipEnterprise?(t=$(function(t){var n;return L(this,function(t){switch(t.label){case 0:return[4,u];case 1:return t.sent(),(0,E.s)({options:e,response:r}),null===(n=e.report)||void 0===n||n.call(e,"consult"),[2]}})}),function(e){return t.apply(this,arguments)}):d.O5?(n=$(function(t){var n,a,s,l,p;return L(this,function(f){switch(f.label){case 0:if(!d.O5)return[2];return[4,u];case 1:if(f.sent(),r)return[3,3];return[4,u=i()];case 2:f.sent(),f.label=3;case 3:if(!d.O5&&r.kfAccount.url)return function(e){H.apply(this,arguments)}({options:e,response:r}),null===(a=e.report)||void 0===a||a.call(e,"add"),[2];if(!(s=o||r.serviceStaff))return(0,E.s)({options:e,response:r}),null===(l=e.report)||void 0===l||l.call(e,"consult"),[2];if((null==t?void 0:t.autoChat)!==!1&&(null==s?void 0:s.customer_open_id))return(0,c.eX)(s),null===(p=e.report)||void 0===p||p.call(e,"jump"),[2];return function(e){R.apply(this,arguments)}({options:e,response:r,customerServiceInfo:s,onAddCustomerService:function(t){var n;o=t,null===(n=e.onAddCustomerService)||void 0===n||n.call(e,t)}}),null===(n=e.report)||void 0===n||n.call(e,"add"),[2]}})}),function(e){return n.apply(this,arguments)}):function(){}}function Y(e){var t,n,r,i=function(){return(0,f.dY)(v.TL,{customer_business_id:e.appId,customer_business_type:3,scene_val:e.scene_val},{silent:!0}).then(function(e){t=e}).catch(function(e){B.error("pick customer service fail",e)})};return e.preload&&(r=i()),$(function(){var u,a,s,l,p;return L(this,function(f){switch(f.label){case 0:if(u=function(){var t="https://open.work.weixin.qq.com/wwopen/appReserve/h5/app/".concat(e.appId,"?backToPage=1&wws=35&bar_style_type=3");(0,o.YoN)({url:t})},!r)return[3,2];return[4,r];case 1:f.sent(),f.label=2;case 2:if(t)return[3,4];return[4,r=i()];case 3:f.sent(),f.label=4;case 4:if(!(null==(s=n||t.serviceStaff)?void 0:s.customer_open_id))return[3,6];return n=s,null===(l=e.report)||void 0===l||l.call(e,"jump"),[4,(0,c.eX)(n)];case 5:return f.sent(),[2];case 6:var d,v,b;if(!s)return null===(p=e.report)||void 0===p||p.call(e,"consult"),u(),[2];return d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})}return e}({},e),v=v={appId:e.appId,brandName:e.brandName,onAddCustomerService:function(t){var r;n=t,null===(r=e.onAddCustomerService)||void 0===r||r.call(e,t)}},Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(v)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(v)).forEach(function(e){Object.defineProperty(d,e,Object.getOwnPropertyDescriptor(v,e))}),(b=new(m.ZP.extend(C))({el:document.createElement("div")}),document.body.appendChild(b.$el),b).Show(d),null===(a=e.report)||void 0===a||a.call(e,"add"),[2]}})})}var U=(0,y.d)({functional:!0,render:function(e,t){var r=t.props,o=r.options,i=r.isMobile,u=o.serviceContactVid?n(11974).nI().t("联系"):n(11974).nI().t("添加"),a=1===o.page_style?n(11974).nI().t("大客户经理"):n(11974).nI().t("专属顾问");return(0,w.b)(e,{staticClass:t.data.staticClass,isMobile:i,renderTitle:function(){return n(11974).nI().t("为你提供专属服务")},renderSubTitle:function(){return n(11974).nI().t("添加{0}{1}为外部联系人，可通过企业微信在线进行应用相关问题咨询。",[o.corpName,a])},avatar:o.avatar,name:o.name,corpName:o.corpName,onAddCustomerService:function(){(0,c.NW)(o,{silent:i,dntChat:i})},btnTxt:u})}});function W(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(s){n(s);return}u.done?t(a):Promise.resolve(a).then(r,o)}function X(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){W(i,r,o,c,u,"next",e)}function u(e){W(i,r,o,c,u,"throw",e)}c(void 0)})}}var F=function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},J=(0,y.a)({data:function(){return{options:{},showPopup:!1}},render:function(e){var t,n,r,o,i=this,c=this,u=this,s=(r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})}return e}({},this.options),o=o={onAddCustomerService:(t=X(function(e){var t,n;return F(this,function(r){switch(r.label){case 0:return c.Hide(),[4,c.$nextTick()];case 1:return r.sent(),null===(n=(t=c.options).onAddCustomerService)||void 0===n||n.call(t,e),a.setData({success:!0,vid:e.customer_vid,page_style:c.options.page_style}),c.jumpResultPage(),[2]}})}),function(e){return t.apply(this,arguments)}),onAddCustomerServiceFailed:(n=X(function(e){var t;return F(this,function(n){switch(n.label){case 0:return u.Hide(),[4,u.$nextTick()];case 1:return n.sent(),a.setData({success:!1,humanMessage:null===(t=e.data)||void 0===t?void 0:t.result.humanMessage}),u.jumpResultPage(),[2]}})}),function(e){return n.apply(this,arguments)})},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r);return(0,b.t)(h.Z,{class:P.popup,value:this.showPopup,onInput:function(e){return i.showPopup=e},position:"bottom",round:!0,closeable:!0,"close-icon":"arrow-down","close-icon-position":"top-left",children:(0,b.t)("div",{class:P.preSalesModal,children:(0,b.t)(U,{options:s,"is-mobile":!0})})})},methods:{Show:function(e){this.showPopup=!0,this.options=e},Hide:function(){this.showPopup=!1},jumpResultPage:function(){var e,t;null===(e=this.options)||void 0===e||null===(t=e.jumpResultPage)||void 0===t||t.call(e)}}});function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})}return e}function K(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function ee(e){var t;return function(){var n,r;try{null===(n=e.report)||void 0===n||n.call(e)}catch(o){}if((t=K(z({},e),{serviceContactVid:e.serviceContactVid||(null==t?void 0:t.serviceContactVid),onAddCustomerService:function(n){var r;!t.serviceContactVid&&n.customer_vid&&(t.serviceContactVid=n.customer_vid),null===(r=e.onAddCustomerService)||void 0===r||r.call(e,n)}})).serviceContactVid&&+t.serviceContactVid>0){(0,c.eX)({customer_vid:t.serviceContactVid});return}r=x.W.confirm({showHeader:!1,footer:!1,showOverlay:!0,closeBtn:!0,width:"400px",className:I.Z.dialog,placement:"center",closeOnOverlayClick:t.closeOnOverlayClick,zIndex:1001,body:function(e){var n,o;return e(U,{props:{options:(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})}return e}({},t),o=o={onAddCustomerService:function(e){var n;r.destroy(),null===(n=t.onAddCustomerService)||void 0===n||n.call(t,e)}},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n)}})},onClose:function(){r.destroy()}})}}function et(e){var t;return function(){var n,r;try{null===(n=e.report)||void 0===n||n.call(e)}catch(o){}if((t=K(z({},e),{serviceContactVid:e.serviceContactVid||(null==t?void 0:t.serviceContactVid),onAddCustomerService:function(n){var r;!t.serviceContactVid&&n.customer_vid&&(t.serviceContactVid=n.customer_vid),null===(r=e.onAddCustomerService)||void 0===r||r.call(e,n)}})).serviceContactVid&&+t.serviceContactVid>0){(0,c.eX)({customer_vid:t.serviceContactVid});return}(r=new(m.ZP.extend(J))({el:document.createElement("div")}),document.body.appendChild(r.$el),r).Show(t)}}var en=n(75945);function er(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(s){n(s);return}u.done?t(a):Promise.resolve(a).then(r,o)}var eo=function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}};function ei(e){var t;function n(){var r;return r=function(){return eo(this,function(n){return t||(t=e()).catch(function(){t=void 0}),[2,t]})},(n=function(){var e=this,t=arguments;return new Promise(function(n,o){var i=r.apply(e,t);function c(e){er(i,n,o,c,u,"next",e)}function u(e){er(i,n,o,c,u,"throw",e)}c(void 0)})}).apply(this,arguments)}return{get:function(){return n.apply(this,arguments)},clear:function(){t=void 0}}}function ec(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eu(e){var t=!1;return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];try{if(t)return;return t=!0,e.apply(void 0,function(e){if(Array.isArray(e))return ec(e)}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return ec(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ec(e,t)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}finally{t=!1}}}var ea=n(88025);function es(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(s){n(s);return}u.done?t(a):Promise.resolve(a).then(r,o)}function el(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){es(i,r,o,c,u,"next",e)}function u(e){es(i,r,o,c,u,"throw",e)}c(void 0)})}}function ep(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})}return e}var ef=function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},ed=function(e){return"https://open.work.weixin.qq.com/wwopen/custom/bookPkg/".concat(encodeURIComponent(e),"?wws=35&bar_style_type=3")},ev=(0,y.a)({data:function(){return{options:{},showPopup:!1}},render:function(e){var t,n,r,i,u=this,s=this,l=this,p=(r=ep({},this.options),i=i={onAddCustomerService:(t=el(function(e){var t,n;return ef(this,function(r){switch(r.label){case 0:return s.Hide(),[4,s.$nextTick()];case 1:return r.sent(),null===(n=(t=s.options).onAddCustomerService)||void 0===n||n.call(t,e),a.setData({success:!0,vid:e.customer_vid,page_style:1100}),s.jumpResultPage(),[2]}})}),function(e){return t.apply(this,arguments)}),onAddCustomerServiceFailed:(n=el(function(e){var t;return ef(this,function(n){switch(n.label){case 0:return l.Hide(),[4,l.$nextTick()];case 1:return n.sent(),a.setData({success:!1,humanMessage:null===(t=e.data)||void 0===t?void 0:t.result.humanMessage}),l.jumpResultPage(),[2]}})}),function(e){return n.apply(this,arguments)})},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(i)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}),r);return(0,b.t)(h.Z,{class:P.popup,value:this.showPopup,onInput:function(e){return u.showPopup=e},position:"bottom",round:!0,closeable:!0,"close-icon":"arrow-down","close-icon-position":"top-left",children:(0,b.t)("div",{class:P.customerServiceModal,children:(0,b.t)(ea.J,{options:p,"is-mobile":!0,add:function(){(0,c.Hy)(ep({customer_vid:p.staff.customer_vid},p),{silent:!0,dntChat:!0,custom_vid:!0})},booking:function(){(0,o.YoN)({url:ed(p.customer_business_id)})}})})})},methods:{Show:function(e){this.showPopup=!0,this.options=e},Hide:function(){this.showPopup=!1},jumpResultPage:function(){var e,t;null===(e=this.options)||void 0===e||null===(t=e.jumpResultPage)||void 0===t||t.call(e)}}}),eb=n(59681);function ey(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(s){n(s);return}u.done?t(a):Promise.resolve(a).then(r,o)}function eh(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){ey(i,r,o,c,u,"next",e)}function u(e){ey(i,r,o,c,u,"throw",e)}c(void 0)})}}function em(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,o;r=e,o=n[t],t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o})}return e}function ew(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var eO=function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},eg="pkg-service-bc",e_="add-friend";function eP(e){var t,n=function(){return e.customer_business_type?e.customer_business_type:en.ob},r=e.request||f.dY,i=ei(function(){return r(v.TL,{customer_business_id:e.customer_business_id,customer_business_type:n(),scene_val:e.scene_val},{silent:!0})});return e.preload&&i.get(),eu(eh(function(){var r,u,a,s,l;return eO(this,function(p){switch(p.label){case 0:return[4,i.get()];case 1:if(u=p.sent(),!(null==(a=t||u.serviceStaff)?void 0:a.customer_open_id))return[3,3];return t=a,null===(s=e.report)||void 0===s||s.call(e,"jump"),[4,(0,c.eX)(t)];case 2:return p.sent(),[2];case 3:var f,d;if(!a||!Object.keys(a).length)return null===(l=e.report)||void 0===l||l.call(e,"consult"),(0,o.YoN)({url:ed(e.customer_business_id)}),[2];return f=ew(em({customer_business_type:n(),staff:a},e),{onAddCustomerService:function(n){var r;t=ew(em({},u.serviceStaff,n),{customer_open_id:n.customer_vid}),null===(r=e.onAddCustomerService)||void 0===r||r.call(e,n)}}),(d=new(m.ZP.extend(ev))({el:document.createElement("div")}),document.body.appendChild(d.$el),d).Show(f),null===(r=e.report)||void 0===r||r.call(e,"add"),[2]}})}))}function ej(e){var t,n,r=ei(function(){return(0,f.dY)(v.TL,{customer_business_id:e.customer_business_id,customer_business_type:null!==(n=e.customer_business_type)&&void 0!==n?n:en.ob,scene_val:e.scene_val},{silent:!0})});return e.preload&&r.get(),eu(eh(function(){var n,o,i,u,a,s;return eO(this,function(l){switch(l.label){case 0:return[4,r.get()];case 1:if(o=l.sent(),!(null==(i=t||o.serviceStaff)?void 0:i.customer_open_id))return[3,3];return t=i,null===(u=e.report)||void 0===u||u.call(e,"jump"),[4,(0,c.eO)(t)];case 2:return l.sent(),[2];case 3:if(!i||!Object.keys(i).length)return null===(a=e.report)||void 0===a||a.call(e,"consult"),(0,E.s)({options:em({xaaspkg_openid:e.customer_business_id},e),response:o}),[2];return(0,eb.$l)({options:ew(em({customer_business_type:null!==(s=e.customer_business_type)&&void 0!==s?s:en.ob,staff:i},e),{onAddCustomerService:function(n){var r;t=ew(em({},o.serviceStaff,n),{customer_open_id:n.customer_vid}),(0,c.eO)(t),null===(r=e.onAddCustomerService)||void 0===r||r.call(e,n)}}),response:o}),null===(n=e.report)||void 0===n||n.call(e,"add"),[2]}})}))}}}]);