require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/followRecord/needrecord"],{"33a8":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a("0c59"),n=a("76dd"),o=a("fef2"),s={mixins:[o.followRecordPageJumps],data:function(){return{page:1,limit:10,totalPage:1,readIndex:0,BASE_IMG_URL:i.BASE_IMG_URL,lists:[],readList:[{id:4,name:"今天"},{id:1,name:"7天"},{id:2,name:"14天"},{id:3,name:"30天"},{id:0,name:"全部"}],type:0,typename:"客户"}},onLoad:function(t){this.type=t.type,6==t.type?this.typename="合同":7==t.type?this.typename="线索":8==t.type?this.typename="联系人":9==t.type&&(this.typename="商机"),this.lists=[],this.page=1,this.getList()},onReachBottom:function(){this.page>=this.totalPage||(this.page++,this.getList())},methods:{toMore:function(e,a){var i=this.type;6==i?t.navigateTo({url:"/pages/index/groupCompany/contract/contractDetail?id="+e}):7==i?t.navigateTo({url:"/pagesA/crm/cluesManagement/cluesMore/cluesMore?id="+e}):8==i?t.navigateTo({url:"/pages/index/groupCompany/contact/contactDetail?id="+e+"&type="+a}):9==i?t.navigateTo({url:"/pagesA/business/detail?id="+e}):t.navigateTo({url:"/pages/index/groupCompany/groupCompany?id="+e+"&type="+a})},changeRead:function(t){this.readIndex=t.detail.value,this.page=1,this.lists=[],this.getList()},getList:function(){var t=this,e={page:this.page,limit:this.limit,time:this.readList[this.readIndex].id,type:this.type};(0,n.daibanKehuFollow)(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,a){var i=this;t.navigateTo({url:"/pagesA/crm/cluesManagement/followUpDetail/followUpDetail?id="+e.id,success:function(){var t=i.lists;t[a].is_read=1,i.lists=t}})}}};e.default=s}).call(this,a("543d")["default"])},3775:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uEmpty:function(){return a.e("uview-ui/components/u-empty/u-empty").then(a.bind(null,"38b8"))}},n=function(){var t=this,e=t.$createElement,a=(t._self._c,t.__map(t.lists,(function(e,a){var i=t.__get_orig(e),n=e.file.length;return{$orig:i,g0:n}}))),i=t.lists.length;t.$mp.data=Object.assign({},{$root:{l0:a,g1:i}})},o=[]},"3a3a":function(t,e,a){"use strict";(function(t,e){var i=a("4ea4");a("8886");i(a("66fd"));var n=i(a("8bb2"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(n.default)}).call(this,a("bc2e")["default"],a("543d")["createPage"])},"4d5d":function(t,e,a){},"663e":function(t,e,a){"use strict";a.r(e);var i=a("33a8"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"8bb2":function(t,e,a){"use strict";a.r(e);var i=a("3775"),n=a("663e");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("a126");var s=a("f0c5"),u=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=u.exports},a126:function(t,e,a){"use strict";var i=a("4d5d"),n=a.n(i);n.a}},[["3a3a","common/runtime","common/vendor"]]]);