require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/followRecord/followRecord"],{"07a3":function(t,e,n){"use strict";(function(t){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("9523")),r=n("0c59"),a=n("76dd"),c=n("fef2");function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var u={mixins:[c.followRecordPageJumps],components:{screenPop:function(){n.e("pagesA/crm/followRecord/screen").then(function(){return resolve(n("c223"))}.bind(null,n)).catch(n.oe)}},data:function(){return{page:1,limit:10,totalPage:1,BASE_IMG_URL:r.BASE_IMG_URL,lists:[],type:0,queryParams:{},timeArr:[]}},onShow:function(){this.init()},onLoad:function(t){t.stime&&(this.type=t.status,this.timeArr=[t.stime,t.etime])},onReachBottom:function(){this.page>=this.totalPage||(this.page++,this.getList())},methods:{toQuery:function(){this.$refs.popChild.init(this.timeArr)},sureParams:function(t){this.queryParams=t,this.init()},changeFirTab:function(t){this.type=t,this.init()},init:function(){var t=this;this.lists=[],this.page=1,setTimeout((function(){t.getList()}),200)},toMore:function(e,n){t.navigateTo({url:"/pages/index/groupCompany/groupCompany?id="+e+"&type="+n})},getList:function(){var t=this,e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({page:this.page,limit:this.limit,type:this.type,times:this.timeArr.length>0?this.timeArr[0]+","+this.timeArr[1]:""},this.queryParams);(0,a.netKehuFollow)(e).then((function(e){t.lists=t.lists.concat(e.data.data),t.totalPage=e.data.last_page}))},toPrevieImg:function(e){t.previewImage({urls:[e]})},clientClick:function(e,n){var i=this;t.navigateTo({url:"/pagesA/crm/cluesManagement/followUpDetail/followUpDetail?id="+e.id,success:function(){var t=i.lists;t[n].is_read=1,i.lists=t}})},toCreateFollow:function(){t.navigateTo({url:"/pagesA/crm/followRecord/addfollow"})},toContactDetail:function(e){t.navigateTo({url:"/pages/index/groupCompany/contact/contactDetail?id="+e+"&type=1"})},toContractDetail:function(e){t.navigateTo({url:"/pages/index/groupCompany/contract/contractDetail?id="+e})},toClues:function(e){t.navigateTo({url:"/pagesA/crm/cluesManagement/cluesMore/cluesMore?id="+e})},toBusiness:function(e){t.navigateTo({url:"/pagesA/business/detail?id="+e})}}};e.default=u}).call(this,n("543d")["default"])},"3a34":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={uEmpty:function(){return n.e("uview-ui/components/u-empty/u-empty").then(n.bind(null,"38b8"))}},o=function(){var t=this.$createElement,e=(this._self._c,this.lists.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},r=[]},6688:function(t,e,n){"use strict";var i=n("e6c1"),o=n.n(i);o.a},c180:function(t,e,n){"use strict";(function(t,e){var i=n("4ea4");n("8886");i(n("66fd"));var o=i(n("fc0f"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},de14:function(t,e,n){"use strict";n.r(e);var i=n("07a3"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},e6c1:function(t,e,n){},fc0f:function(t,e,n){"use strict";n.r(e);var i=n("3a34"),o=n("de14");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("6688");var a=n("f0c5"),c=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=c.exports}},[["c180","common/runtime","common/vendor"]]]);