crm_second_opening_mini/components/content/customerDynamic/customerDynamic.js

11 lines
3.1 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/content/customerDynamic/customerDynamic"],{"82c6":function(t,e,n){},9018:function(t,e,n){"use strict";n.r(e);var i=n("eaac"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},d2ee:function(t,e,n){"use strict";var i=n("82c6"),a=n.n(i);a.a},dd11:function(t,e,n){"use strict";n.r(e);var i=n("e1ea"),a=n("9018");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("d2ee");var u=n("f0c5"),l=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=l.exports},e1ea:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),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"))}},a=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.list,(function(e,n){var i=t.__get_orig(e),a=e.imgList.length,o=e.fileList.length;return{$orig:i,g0:a,g1:o}}))),i=t.list.length;t._isMounted||(t.e0=function(e,n){var i=arguments[arguments.length-1].currentTarget.dataset,a=i.eventParams||i["event-params"];n=a.item;e.stopPropagation(),1==t.isSeas&&t.clientClick(n.id)}),t.$mp.data=Object.assign({},{$root:{l0:n,g2:i}})},o=[]},eaac:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("76dd"),a=n("0c59"),o={props:{kehuid:{type:Number,default:null},type:{type:Number,default:1},isSeas:{type:Number,default:1}},data:function(){return{list:[],page:1,limit:10,totalPage:1,commont_list:[],id:"",info:{},BASE_IMG_URL:a.BASE_IMG_URL,amount:[]}},created:function(){this.getFollowList()},onReachBottom:function(){this.page>=this.totalPage||(this.page=this.page+1,this.getFollowList())},onLoad:function(t){},onShow:function(){},methods:{clientClick:function(e){t.navigateTo({url:"/pagesA/crm/cluesManagement/followUpDetail/followUpDetail?id="+e})},getFollowList:function(){var t=this,e={relation_id:this.kehuid,relation_type:this.type,page:this.page};(0,i.netKehuFollow)(e).then((function(e){var n=e.data.data;n.forEach((function(t){t.imgList=[],t.fileList=[],t.file.forEach((function(e){-1!=e.types.indexOf("image")?t.imgList.push({id:e.id,file_path:e.file_path,name:e.name}):t.fileList.push({id:e.id,file_path:e.file_path,name:e.name})}))})),t.list=t.list.concat(n),t.page=e.data.current_page,t.totalPage=e.data.last_page}))},toPrevieImg:function(e,n){var i=[];e.forEach((function(t){i.push(t.file_path)})),t.previewImage({urls:i,current:n})}}};e.default=o}).call(this,n("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/content/customerDynamic/customerDynamic-create-component',
{
'components/content/customerDynamic/customerDynamic-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("dd11"))
})
},
[['components/content/customerDynamic/customerDynamic-create-component']]
]);