1 line
2.4 KiB
JavaScript
1 line
2.4 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/workNews"],{"0424":function(t,e,i){"use strict";i.r(e);var n=i("4795"),a=i("6095");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("719c");var r=i("f0c5"),u=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"272daa85",null,!1,n["a"],void 0);e["default"]=u.exports},4795:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uEmpty:function(){return i.e("uview-ui/components/u-empty/u-empty").then(i.bind(null,"38b8"))}},a=function(){var t=this,e=t.$createElement,i=(t._self._c,t.__map(t.workList,(function(e,i){var n=t.__get_orig(e),a=e.file.length;return{$orig:n,g0:a}}))),n=t.workList.length;t.$mp.data=Object.assign({},{$root:{l0:i,g1:n}})},o=[]},"5f2d":function(t,e,i){"use strict";(function(t,e){var n=i("4ea4");i("8886");n(i("66fd"));var a=n(i("0424"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(a.default)}).call(this,i("bc2e")["default"],i("543d")["createPage"])},6095:function(t,e,i){"use strict";i.r(e);var n=i("b7c5"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"719c":function(t,e,i){"use strict";var n=i("acca"),a=i.n(n);a.a},acca:function(t,e,i){},b7c5:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("76dd"),a=i("0c59"),o={data:function(){return{readList:["全部","已读","未读"],readIndex:0,page:1,totalPage:1,limit:10,workList:[],BASE_IMG_URL:a.BASE_IMG_URL}},onShow:function(){this.workList=[],this.page=1,this.getWorkList()},onReachBottom:function(){if(2==this.tabindex){if(this.page>=this.totalPage)return;this.page++,this.getWorkList()}},methods:{getWorkList:function(){var t=this,e={page:this.page,limit:this.limit,is_read:this.readIndex};(0,n.netKehuFollow)(e).then((function(e){t.workList=t.workList.concat(e.data.data),t.totalPage=e.data.last_page}))},changeRead:function(t){this.readIndex=t.detail.value,this.page=1,this.workList=[],this.getWorkList()},toPrevieImg:function(e){t.previewImage({urls:[e]})},clientClick:function(e,i){var n=this;t.navigateTo({url:"/pagesA/crm/cluesManagement/followUpDetail/followUpDetail?id="+e.id,success:function(){var t=n.workList;t[i].is_read=1,n.workList=t}})}}};e.default=o}).call(this,i("543d")["default"])}},[["5f2d","common/runtime","common/vendor"]]]); |