1 line
3.3 KiB
JavaScript
1 line
3.3 KiB
JavaScript
require('../../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/cluesManagement/followUpDetail/followUpDetail"],{"17a6":function(t,n,e){"use strict";e.r(n);var i=e("1c27"),o=e("c8ac");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("45b1");var c=e("f0c5"),u=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"2828ef0c",null,!1,i["a"],void 0);n["default"]=u.exports},"1c27":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return i}));var i={uEmpty:function(){return e.e("uview-ui/components/u-empty/u-empty").then(e.bind(null,"38b8"))}},o=function(){var t=this.$createElement,n=(this._self._c,this.imgList.length),e=this.fileList.length,i=this.commont_list.length,o=this.commont_list.length;this.$mp.data=Object.assign({},{$root:{g0:n,g1:e,g2:i,g3:o}})},a=[]},"45b1":function(t,n,e){"use strict";var i=e("b85e"),o=e.n(i);o.a},"6f51":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("76dd"),o=e("0c59"),a={components:{postComments:function(){e.e("pagesA/crm/postComments").then(function(){return resolve(e("0f40"))}.bind(null,e)).catch(e.oe)}},data:function(){return{noClick:!0,popupShow:!1,id:"",info:{},imgList:[],fileList:[],content:"",commont_list:[],BASE_IMG_URL:o.BASE_IMG_URL}},onLoad:function(t){this.id=t.id},onShow:function(){this.imgList=[],this.fileList=[],this.getInfo()},created:function(){},methods:{getInfo:function(){var t=this;(0,i.netFollowRecordDetail)({id:this.id}).then((function(n){t.info=n.data;var e=n.data.file;e.forEach((function(n){-1!=n.types.indexOf("image")?t.imgList.push({id:n.id,file_path:n.file_path,name:n.name}):t.fileList.push({id:n.id,file_path:n.file_path,name:n.name})})),t.info&&t.getCommont()}))},getCommont:function(){var n=this;(0,i.netGetCommentList)({record_id:this.id,relation_type:this.info.relation_type}).then((function(e){n.commont_list=e.data,t.$emit("handClick",{rightText:n.commont_list.length})}))},publishClick:function(){this.popupShow=!0},closePup:function(){this.popupShow=!1},toComment:function(){this.$refs.commentsChild.init()},commentSuccess:function(){this.getCommont()},toPreimg:function(n){var e=this.info.file,i=[];e.forEach((function(t){i.push(t.file_path)})),t.previewImage({current:n,urls:i})},toContactDetail:function(n){t.navigateTo({url:"/pages/index/groupCompany/contact/contactDetail?id="+n+"&type=1"})},toContractDetail:function(n){t.navigateTo({url:"/pages/index/groupCompany/contract/contractDetail?id="+n})},toClues:function(n){t.navigateTo({url:"/pagesA/crm/cluesManagement/cluesMore/cluesMore?id="+n})},toMore:function(n){t.navigateTo({url:"/pages/index/groupCompany/groupCompany?id="+n+"&type=1"})},toBusiness:function(n){t.navigateTo({url:"/pagesA/business/detail?id="+n})}}};n.default=a}).call(this,e("543d")["default"])},a7e9:function(t,n,e){"use strict";(function(t,n){var i=e("4ea4");e("8886");i(e("66fd"));var o=i(e("17a6"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},b85e:function(t,n,e){},c8ac:function(t,n,e){"use strict";e.r(n);var i=e("6f51"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a}},[["a7e9","common/runtime","common/vendor"]]]); |