crm_second_opening_mini/pagesA/business/advanceHistory.js

11 lines
2.2 KiB
JavaScript

require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/business/advanceHistory"],{"7acb":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=(t._self._c,t.__map(t.list,(function(i,e){var n=t.__get_orig(i),a=i.fileList.length;return{$orig:n,g0:a}})));t.$mp.data=Object.assign({},{$root:{l0:e}})},a=[]},"7dcc":function(t,i,e){"use strict";e.r(i);var n=e("7acb"),a=e("db79");for(var c in a)["default"].indexOf(c)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(c);e("c586");var f=e("f0c5"),u=Object(f["a"])(a["default"],n["b"],n["c"],!1,null,"aed8b5be",null,!1,n["a"],void 0);i["default"]=u.exports},"908c":function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e("dc92"),a=e("0c59"),c={props:{info:{type:Object,default:{}}},data:function(){return{BASE_IMG_URL:a.BASE_IMG_URL,list:[]}},created:function(){this.getList()},methods:{getList:function(){var t=this;(0,n.netBusinessHistory)({id:this.info.id}).then((function(i){i=i.data,i.forEach((function(t){t.imgList=[],t.fileList=[],t.file&&t.file.forEach((function(i){-1!=i.types.indexOf("image")?t.imgList.push({id:i.id,file_path:i.file_path,name:i.name}):t.fileList.push({id:i.id,file_path:i.file_path,name:i.name})}))})),t.list=i}))},toPrevieImg:function(i,e){var n=[];i.forEach((function(t){n.push(t.file_path)})),t.previewImage({urls:n,current:e})}}};i.default=c}).call(this,e("543d")["default"])},c586:function(t,i,e){"use strict";var n=e("d88e"),a=e.n(n);a.a},d88e:function(t,i,e){},db79:function(t,i,e){"use strict";e.r(i);var n=e("908c"),a=e.n(n);for(var c in n)["default"].indexOf(c)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(c);i["default"]=a.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pagesA/business/advanceHistory-create-component',
{
'pagesA/business/advanceHistory-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("7dcc"))
})
},
[['pagesA/business/advanceHistory-create-component']]
]);