crm_second_opening_mini/pagesA/crm/postComments.js

11 lines
2.0 KiB
JavaScript

require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/crm/postComments"],{"0f40":function(n,t,e){"use strict";e.r(t);var o=e("74ea"),i=e("b580");for(var u in i)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(u);e("9fce");var c=e("f0c5"),f=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"29fcc4d7",null,!1,o["a"],void 0);t["default"]=f.exports},"37a8":function(n,t,e){},"74ea":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return o}));var o={uniPopup:function(){return e.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(e.bind(null,"6f9d"))}},i=function(){var n=this.$createElement;this._self._c},u=[]},"9fce":function(n,t,e){"use strict";var o=e("37a8"),i=e.n(o);i.a},a13a:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=e("76dd"),i={props:{info:{type:Object,default:{}}},data:function(){return{noClick:!0,content:""}},methods:{init:function(){this.$refs.popup.open()},btnPubClick:function(){var t=this;if(this.content){var e={content:this.content,record_id:this.info.id,relation_type:this.info.relation_type};(0,o.netAddComment)(e).then((function(e){n.showToast({title:e.msg,icon:"none"}),setTimeout((function(){t.$emit("commentSuccess"),t.content="",t.$refs.popup.close()}),2e3)}))}else n.showToast({title:"请填写评论",icon:"none"})}}};t.default=i}).call(this,e("543d")["default"])},b580:function(n,t,e){"use strict";e.r(t);var o=e("a13a"),i=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(u);t["default"]=i.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pagesA/crm/postComments-create-component',
{
'pagesA/crm/postComments-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("0f40"))
})
},
[['pagesA/crm/postComments-create-component']]
]);