1 line
3.5 KiB
JavaScript
1 line
3.5 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/groupCompany/contact/contactDetail"],{"1d38":function(n,t,e){"use strict";(function(n,t){var o=e("4ea4");e("8886");o(e("66fd"));var a=o(e("a40c"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(a.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},3151:function(n,t,e){},"61e2":function(n,t,e){"use strict";var o=e("3151"),a=e.n(o);a.a},"93cc":function(n,t,e){"use strict";e.r(t);var o=e("97a3"),a=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);t["default"]=a.a},"97a3":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=e("0c59"),a=e("c0a8"),i=e("76dd"),c={mixins:[a.pageJumps],data:function(){return{show:!1,taskShow:!0,statusShow:!1,BASE_IMG_URL:o.BASE_IMG_URL,statusActions:[{name:"初步意向",color:"#03aa96"},{name:"下次邀约",color:"#03aa96"}],taskActions:[{name:"普通任务",color:"#03aa96"},{name:"跟进任务",color:"#03aa96"}],telShow:!1,telname:"",telActions:[{name:"手机号码:18888888888",color:"#03aa96"}],id:"",info:null,current:0,list:[{name:"跟进记录",status:0},{name:"基本信息",status:1},{name:"相关信息",status:2}],type:1}},onLoad:function(n){this.id=n.id,this.type=n.type},onShow:function(){this.info=null,this.getInfo()},components:{customerDynamic:function(){Promise.all([e.e("common/vendor"),e.e("components/content/customerDynamic/customerDynamic")]).then(function(){return resolve(e("dd11"))}.bind(null,e)).catch(e.oe)},baseInfo:function(){Promise.all([e.e("common/vendor"),e.e("pages/index/groupCompany/contact/baseInfo")]).then(function(){return resolve(e("ed23"))}.bind(null,e)).catch(e.oe)},relatedInfo:function(){e.e("pages/index/groupCompany/contact/relatedInfo").then(function(){return resolve(e("cb99"))}.bind(null,e)).catch(e.oe)}},methods:{change:function(n){this.current=n},tabs_change:function(n){this.current=n,this.mescroll.resetUpScroll()},changeTabs:function(n){n.detail.index},addContract:function(t){n.navigateTo({url:"/pagesA/crm/contract/contract?id="+t})},getInfo:function(){var t=this;(0,i.netConcatDetailInfo)({id:this.id}).then((function(e){t.info=e.data,n.setNavigationBarTitle({title:e.data.name})}))},ToCall:function(){n.makePhoneCall({phoneNumber:this.info.mobile})},toEditInfo:function(){n.navigateTo({url:"/pages/index/groupCompany/contact/editInfo?id="+this.info.id})},toKehuInfo:function(){n.navigateTo({url:"/pages/index/groupCompany/groupCompany?id="+this.info.customer.id})},delContact:function(){var t=this;n.showModal({title:"提示",content:"请确认是否删除?",success:function(e){e.confirm&&(0,i.netDelContact)({id:t.info.id}).then((function(t){n.showToast({title:t.msg,icon:"none"}),setTimeout((function(){n.navigateBack({delta:1})}),2e3)}))}})}}};t.default=c}).call(this,e("543d")["default"])},a40c:function(n,t,e){"use strict";e.r(t);var o=e("e218"),a=e("93cc");for(var i in a)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(i);e("61e2");var c=e("f0c5"),u=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=u.exports},e218:function(n,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return o}));var o={uTabs:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-tabs/u-tabs")]).then(e.bind(null,"5924"))}},a=function(){var n=this.$createElement;this._self._c},i=[]}},[["1d38","common/runtime","common/vendor"]]]); |