(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pageA-pages-company-company-action-contacts_tel"],{"16d3":function(t,e,n){"use strict";n("ac1f"),n("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=null,i={data:function(){return{userInfo:null,focus:!0,tel:{area_code:"",number:"",extension:""},form:{contacts_tel:""},Find:{contacts_tel:""}}},onLoad:function(){var t=this;this.XYBase.IsLogin(),this.userInfo=getApp().globalData.userInfo,a=this.getOpenerEventChannel(),a.on("acceptData",(function(e){if(t.form=e.form,t.Find=e.Find,e.form.contacts_tel){var n=e.form.contacts_tel.split("-");t.tel.area_code=n[0],t.tel.number=n[1],t.tel.extension=n[2]?n[2]:""}}))},watch:{tel:{handler:function(t,e){t.area_code&&t.number?(this.form.contacts_tel=t.area_code+"-"+t.number,t.extension&&(this.form.contacts_tel=t.area_code+"-"+t.number+"-"+t.extension)):this.form.contacts_tel="",this.syncForms()},deep:!0}},methods:{syncForms:function(){this.Find.contacts_tel=this.form.contacts_tel}}};e.default=i},"2f17":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"bottom-safe-area"},[n("v-uni-view",{staticClass:"p-5"},[n("v-uni-view",{staticClass:"text-auxiliary pb-3"},[n("v-uni-view",{staticClass:"uni-h3"},[t._v("固定电话")]),n("v-uni-view",{staticClass:"small"})],1),n("v-uni-view",{staticClass:"uni-flex"},[n("v-uni-view",{staticClass:"uni-flex flex-center pr-1 border-bottom",staticStyle:{width:"80px"},attrs:{"hover-class":"bg-hover"}},[n("v-uni-input",{staticClass:"uni-flex-item py-2 text-auxiliary uni-h5",attrs:{type:"number",focus:!0,maxlength:"4",placeholder:"区号","placeholder-class":"text-small"},model:{value:t.tel.area_code,callback:function(e){t.$set(t.tel,"area_code",e)},expression:"tel.area_code"}})],1),n("v-uni-view",{staticClass:"text-auxiliary uni-h5 px-1"},[t._v("-")]),n("v-uni-view",{staticClass:"uni-flex-item uni-flex flex-center pr-1 border-bottom",attrs:{"hover-class":"bg-hover"}},[n("v-uni-input",{staticClass:"uni-flex-item py-2 text-auxiliary uni-h5",attrs:{type:"number",maxlength:"8",placeholder:"固定电话号码","placeholder-class":"text-small"},model:{value:t.tel.number,callback:function(e){t.$set(t.tel,"number",e)},expression:"tel.number"}})],1),n("v-uni-view",{staticClass:"text-auxiliary uni-h5 px-1"},[t._v("-")]),n("v-uni-view",{staticClass:"uni-flex flex-center pr-1 border-bottom",staticStyle:{width:"80px"},attrs:{"hover-class":"bg-hover"}},[n("v-uni-input",{staticClass:"uni-flex-item py-2 text-auxiliary uni-h5",attrs:{type:"number",maxlength:"6",placeholder:"分机","placeholder-class":"text-small"},model:{value:t.tel.extension,callback:function(e){t.$set(t.tel,"extension",e)},expression:"tel.extension"}})],1)],1)],1)],1)},s=[]},b8a2:function(t,e,n){"use strict";n.r(e);var a=n("2f17"),i=n("df23");for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);var l,r=n("f0c5"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"6d1ed8f1",null,!1,a["a"],l);e["default"]=c.exports},df23:function(t,e,n){"use strict";n.r(e);var a=n("16d3"),i=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,(function(){return a[t]}))}(s);e["default"]=i.a}}]);