(window["webpackjsonp"]=window["webpackjsonp"]||[]).push([["chunk-0052cb88"],{"0b1a":function(e,t,n){"use strict";var o=n("6fad"),r=n.n(o),i={name:"editoritem",model:{prop:"value",event:"change"},props:{value:{type:string,default:""},isclear:{type:boolean,default:!1}},data:function(){return{editor:null,info_:null}},watch:{isclear:function(e){e&&(this.editor.txt.clear(),this.info_=null)},value:function(e){e!==this.editor.txt.html()&&this.editor.txt.html(this.value)}},mounted:function(){this.seteditor(),this.editor.txt.html(this.value)},methods:{seteditor:function(){var e=this;this.editor=new r.a(this.$refs.toolbar,this.$refs.editor),this.editor.customconfig=this.editor.customconfig?this.editor.customconfig:this.editor.config,this.editor.customconfig.uploadimgserver=this.ass,this.editor.customconfig.uploadimgserver="/upload",this.editor.customconfig.customuploadimg=function(t,n){t.map((function(t){var o=new formdata,r=t;o.append("files",r),e.$ajaxpost("/manage/file/upload",o).then((function(e){1e4==e.code&&(console.log(e),n(e.data[0]))})).catch((function(e){console.info("上传失败")}))}))},this.editor.customconfig.uploadimgheaders={},this.editor.customconfig.uploadfilename="file",this.editor.customconfig.uploadimgmaxsize=10485760,this.editor.customconfig.uploadimgmaxlength=6,this.editor.customconfig.uploadimgtimeout=18e4,this.editor.customconfig.menus=["head","bold","fontsize","fontname","italic","underline","strikethrough","forecolor","backcolor","link","list","justify","quote","emoticon","image","table","undo","redo"],this.editor.customconfig.uploadimghooks={fail:function(e,t,n){},success:function(e,t,n){},timeout:function(e,t){},error:function(e,t){},custominsert:function(e,t,n){var o="http://otp.cdinfotech.top"+t.url;e(o)}},this.editor.customconfig.onchange=function(t){e.info_=t,e.$emit("change",e.info_)},this.editor.create()}}},a=function(){var e=this,t=e.$createelement,n=e._self._c||t;return n("div",{staticclass:"editor"},[n("div",{ref:"toolbar",staticclass:"toolbar"}),e._v(" "),n("div",{ref:"editor",staticclass:"text"})])},l=[],u=n("2455");function s(e){n("335a6")}var c=!1,f=s,d=null,p=null,v=object(u["a"])(i,a,l,c,f,d,p);t["a"]=v.exports},"335a6":function(e,t,n){var o=n("91cb");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var r=n("499e").default;r("63b0190c",o,!0,{})},"44de":function(e,t,n){"use strict";n("7f7f");var o=n("6625"),r=n.n(o),i={name:"ueditor",components:{vueueditorwrap:r.a},props:{content:string,isimage:boolean},data:function(){return{header:{uid:sessionstorage.getitem("uid")||""},contentdata:"",ueditorconfig:{autoheightenabled:!1,initialframeheight:600,initialframewidth:940,ueditor_home_url:"/ueditor/",toolbars:[["source","|","undo","redo","lineheight","|","bold","italic","underline","fontborder","strikethrough","superscript","subscript","removeformat","formatmatch","autotypeset","blockquote","|","forecolor","backcolor","insertorderedlist","insertunorderedlist","customstyle","paragraph","fontfamily","fontsize","indent","|","justifyleft","justifycenter","justifyright","justifyjustify","|","link","unlink","|","imagenone","imageleft","imageright","imagecenter","|","map","insertcode","template","|","horizontal","spechars","|","inserttable","preview"]]}}},watch:{contentdata:function(e){this.$emit("onueditor",e)}},computed:{contents:{get:function(){return this.content},set:function(e){this.contentdata=e}}},created:function(){},methods:{onsuccess:function(e){1e4===e.code?(this.contentdata=this.contentdata+''),this.$emit("onueditor",this.contentdata)):this.$message.error(e.message||"上传失败")},onerror:function(e){console.info(e),e&&this.$message.error(e.message||"上传失败")},formaterror:function(e){this.$message.error(e.name+":格式不对,仅支持jpg、png、gif")},exceededsiz:function(e){this.$message.error(e.name+":最大支持5mb")}},mounted:function(){}},a=function(){var e=this,t=e.$createelement,n=e._self._c||t;return n("div",{staticclass:"ueditor"},[n("upload",{staticclass:"upload-ue",staticstyle:{display:"inline-block","padding-top":"5px"},attrs:{action:"/manage/file/upload","on-success":e.onsuccess,"on-error":e.onerror,name:"files",format:["doc","docx","excel","pdf","png","jpg","gif"],headers:e.header,"show-upload-list":!1,"on-format-error":e.formaterror,"on-exceeded-size":e.exceededsiz},on:{"max-size":function(e){}}},[n("icon",{attrs:{type:"md-cloud-upload",size:"18",color:"#2d8cf0"}})],1),e._v(" "),n("vue-ueditor-wrap",{ref:"editor",attrs:{config:e.ueditorconfig},model:{value:e.contents,callback:function(t){e.contents=t},expression:"contents"}})],1)},l=[],u=n("2455");function s(e){n("bd6b")}var c=!1,f=s,d="data-v-5a70ba45",p=null,v=object(u["a"])(i,a,l,c,f,d,p);t["a"]=v.exports},6625:function(e,t,n){!function(t,n){e.exports=n()}("undefined"!=typeof self&&self,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||object.defineproperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esmodule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return object.prototype.hasownproperty.call(e,t)},n.p="",n(n.s=39)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.math==math?window:"undefined"!=typeof self&&self.math==math?self:function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var o=n(28)("wks"),r=n(29),i=n(0).symbol,a="function"==typeof i;(e.exports=function(e){return o[e]||(o[e]=a&&i[e]||(a?i:r)("symbol."+e))}).store=o},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var o=n(6);e.exports=function(e){if(!o(e))throw typeerror(e+" is not an object!");return e}},function(e,t,n){var o=n(0),r=n(2),i=n(11),a=n(5),l=n(9),u=function(e,t,n){var s,c,f,d=e&u.f,p=e&u.g,v=e&u.s,h=e&u.p,m=e&u.b,g=e&u.w,a=p?r:r[t]||(r[t]={}),y=a.prototype,w=p?o:v?o[t]:(o[t]||{}).prototype;for(s in p&&(n=t),n)(c=!d&&w&&void 0!==w[s])&&l(a,s)||(f=c?w[s]:n[s],a[s]=p&&"function"!=typeof w[s]?n[s]:m&&c?i(f,o):g&&w[s]==f?function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):h&&"function"==typeof f?i(function.call,f):f,h&&((a.virtual||(a.virtual={}))[s]=f,e&u.r&&y&&!y[s]&&a(y,s,f)))};u.f=1,u.g=2,u.s=4,u.p=8,u.b=16,u.w=32,u.u=64,u.r=128,e.exports=u},function(e,t,n){var o=n(13),r=n(31);e.exports=n(7)?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(14)((function(){return 7!=object.defineproperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports={}},function(e,t){var n={}.hasownproperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n={}.tostring;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var o=n(12);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw typeerror(e+" is not a function!");return e}},function(e,t,n){var o=n(3),r=n(48),i=n(49),a=object.defineproperty;t.f=n(7)?object.defineproperty:function(e,t,n){if(o(e),t=i(t,!0),o(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw typeerror("accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var o=n(16);e.exports=function(e){return object(o(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw typeerror("can't call method on "+e);return e}},function(e,t,n){var o=n(44),r=n(30);e.exports=object.keys||function(e){return o(e,r)}},function(e,t,n){var o=n(26),r=n(16);e.exports=function(e){return o(r(e))}},function(e,t){var n=math.ceil,o=math.floor;e.exports=function(e){return isnan(e=+e)?0:(e>0?o:n)(e)}},function(e,t,n){var o=n(28)("keys"),r=n(29);e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,t){e.exports=!0},function(e,t,n){var o=n(6),r=n(0).document,i=o(r)&&o(r.createelement);e.exports=function(e){return i?r.createelement(e):{}}},function(e,t,n){var o=n(13).f,r=n(9),i=n(1)("tostringtag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var o=n(12);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw typeerror("bad promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)}(e)}},function(e,t,n){"use strict";object.defineproperty(t,"__esmodule",{value:!0});var o=l(n(41)),r=l(n(50)),i=l(n(78)),a=l(n(84));function l(e){return e&&e.__esmodule?e:{default:e}}t.default={name:"vueueditorwrap",data:function(){return{id:"editor"+math.random().tostring().slice(-10),editor:null,status:0,initvalue:"",defaultconfig:{ueditor_home_url:"/static/ueditor/",enableautosave:!1}}},props:{value:{type:string,default:""},config:{type:object,default:function(){return{}}},init:{type:function,default:function(){return function(){}}},destroy:{type:boolean,default:!1},name:{type:string,default:""}},computed:{mixedconfig:function(){return(0,i.default)({},this.defaultconfig,this.config)}},methods:{registerbutton:function(e){var t=e.name,n=e.icon,o=e.tip,r=e.handler,i=e.index,a=e.ue,l=void 0===a?window.ue:a;l.registerui(t,(function(e,t){e.registercommand(t,{execcommand:function(){r(e,t)}});var i=new l.ui.button({name:t,title:o,cssrules:"background-image: url("+n+") !important;background-size: cover;",onclick:function(){e.execcommand(t)}});return e.addlistener("selectionchange",(function(){var n=e.querycommandstate(t);-1===n?(i.setdisabled(!0),i.setchecked(!1)):(i.setdisabled(!1),i.setchecked(n))})),i}),i)},_initeditor:function(){var e=this;this.$nexttick((function(){e.init(),e.editor=window.ue.geteditor(e.id,e.mixedconfig),e.editor.addlistener("ready",(function(){e.status=2,e.editor.setcontent(e.initvalue),e.$emit("ready",e.editor),e.editor.addlistener("contentchange",(function(){e.$emit("input",e.editor.getcontent())}))}))}))},_checkdependencies:function(){var e=this;return new r.default((function(t,n){window.ue&&window.ueditor_config&&0!==(0,o.default)(window.ueditor_config).length&&window.ue.geteditor?t():window.$loadenv?window.$loadenv.on("scriptsloaded",(function(){t()})):(window.$loadenv=new a.default,e._loadconfig().then((function(){return e._loadcore()})).then((function(){t(),window.$loadenv.emit("scriptsloaded")})))}))},_loadconfig:function(){var e=this;return new r.default((function(t,n){if(window.ue&&window.ueditor_config&&0!==(0,o.default)(window.ueditor_config).length)t();else{var r=document.createelement("script");r.type="text/javascript",r.src=e.mixedconfig.ueditor_home_url+"ueditor.config.js",document.getelementsbytagname("head")[0].appendchild(r),r.onload=function(){window.ue&&window.ueditor_config&&0!==(0,o.default)(window.ueditor_config).length?t():console.error("加载ueditor.config.js失败,请检查您的配置地址ueditor_home_url填写是否正确!\n",r.src)}}}))},_loadcore:function(){var e=this;return new r.default((function(t,n){if(window.ue&&window.ue.geteditor)t();else{var o=document.createelement("script");o.type="text/javascript",o.src=e.mixedconfig.ueditor_home_url+"ueditor.all.min.js",document.getelementsbytagname("head")[0].appendchild(o),o.onload=function(){window.ue&&window.ue.geteditor?t():console.error("加载ueditor.all.min.js失败,请检查您的配置地址ueditor_home_url填写是否正确!\n",o.src)}}}))},_setcontent:function(e){e===this.editor.getcontent()||this.editor.setcontent(e)}},beforedestroy:function(){this.destroy&&this.editor&&this.editor.destroy&&this.editor.destroy()},watch:{value:{handler:function(e){var t=this;switch(this.status){case 0:this.status=1,this.initvalue=e,this._checkdependencies().then((function(){return t._initeditor()}));break;case 1:this.initvalue=e;break;case 2:this._setcontent(e)}},immediate:!0}}}},function(e,t,n){var o=n(10);e.exports=object("z").propertyisenumerable(0)?object:function(e){return"string"==o(e)?e.split(""):object(e)}},function(e,t,n){var o=n(19),r=math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},function(e,t,n){var o=n(2),r=n(0),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:o.version,mode:n(21)?"pure":"global",copyright:"© 2018 denis pushkarev (zloirock.ru)"})},function(e,t){var n=0,o=math.random();e.exports=function(e){return"symbol(".concat(void 0===e?"":e,")_",(++n+o).tostring(36))}},function(e,t){e.exports="constructor,hasownproperty,isprototypeof,propertyisenumerable,tolocalestring,tostring,valueof".split(",")},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var o=n(21),r=n(4),i=n(55),a=n(5),l=n(8),u=n(56),s=n(23),c=n(59),f=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,v,h,m,g){u(n,t,v);var a,y,w,x=function(e){if(!d&&e in c)return c[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" iterator",e="values"==h,b=!1,c=e.prototype,s=c[f]||c["@@iterator"]||h&&c[h],m=s||x(h),k=h?e?x("entries"):m:void 0,d="array"==t&&c.entries||s;if(d&&(w=c(d.call(new e)))!==object.prototype&&w.next&&(s(w,_,!0),o||"function"==typeof w[f]||a(w,f,p)),e&&s&&"values"!==s.name&&(b=!0,m=function(){return s.call(this)}),o&&!g||!d&&!b&&c[f]||a(c,f,m),l[t]=m,l[_]=p,h)if(a={values:e?m:x("values"),keys:m?m:x("keys"),entries:k},g)for(y in a)y in c||i(c,y,a[y]);else r(r.p+r.f*(d||b),t,a);return a}},function(e,t,n){var o=n(0).document;e.exports=o&&o.documentelement},function(e,t,n){var o=n(10),r=n(1)("tostringtag"),i="arguments"==o(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"undefined":null===e?"null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=object(e),r))?n:i?o(t):"object"==(a=o(t))&&"function"==typeof t.callee?"arguments":a}},function(e,t,n){var o=n(3),r=n(12),i=n(1)("species");e.exports=function(e,t){var n,a=o(e).constructor;return void 0===a||void 0==(n=o(a)[i])?t:r(n)}},function(e,t,n){var o,r,i,a=n(11),l=n(70),u=n(33),s=n(22),c=n(0),f=c.process,d=c.setimmediate,p=c.clearimmediate,v=c.messagechannel,h=c.dispatch,m=0,g={},a=function(){var e=+this;if(g.hasownproperty(e)){var t=g[e];delete g[e],t()}},y=function(e){a.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++m]=function(){l("function"==typeof e?e:function(e),t)},o(m),m},p=function(e){delete g[e]},"process"==n(10)(f)?o=function(e){f.nexttick(a(a,e,1))}:h&&h.now?o=function(e){h.now(a(a,e,1))}:v?(i=(r=new v).port2,r.port1.onmessage=y,o=a(i.postmessage,i,1)):c.addeventlistener&&"function"==typeof postmessage&&!c.importscripts?(o=function(e){c.postmessage(e+"","*")},c.addeventlistener("message",y,!1)):o="onreadystatechange"in s("script")?function(e){u.appendchild(s("script")).onreadystatechange=function(){u.removechild(this),a.call(e)}}:function(e){settimeout(a(a,e,1),0)}),e.exports={set:d,clear:p}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var o=n(3),r=n(6),i=n(24);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";object.defineproperty(t,"__esmodule",{value:!0});var o=n(25),r=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(85),l=n(40)(r.a,a.a,!1,null,null,null);l.options.__file="src/components/vue-ueditor-wrap.vue",t.default=l.exports},function(e,t){e.exports=function(e,t,n,o,r,i){var a,l=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(a=e,l=e.default);var s,c="function"==typeof l?l.options:l;if(t&&(c.render=t.render,c.staticrenderfns=t.staticrenderfns,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeid=r),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrcontext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrcontext)||"undefined"==typeof __vue_ssr_context__||(e=__vue_ssr_context__),o&&o.call(this,e),e&&e._registeredcomponents&&e._registeredcomponents.add(i)},c._ssrregister=s):o&&(s=o),s){var f=c.functional,d=f?c.render:c.beforecreate;f?(c._injectstyles=s,c.render=function(e,t){return s.call(t),d(e,t)}):c.beforecreate=d?[].concat(d,s):[s]}return{esmodule:a,exports:l,options:c}}},function(e,t,n){e.exports={default:n(42),__esmodule:!0}},function(e,t,n){n(43),e.exports=n(2).object.keys},function(e,t,n){var o=n(15),r=n(17);n(47)("keys",(function(){return function(e){return r(o(e))}}))},function(e,t,n){var o=n(9),r=n(18),i=n(45)(!1),a=n(20)("ie_proto");e.exports=function(e,t){var n,l=r(e),u=0,s=[];for(n in l)n!=a&&o(l,n)&&s.push(n);for(;t.length>u;)o(l,n=t[u++])&&(~i(s,n)||s.push(n));return s}},function(e,t,n){var o=n(18),r=n(27),i=n(46);e.exports=function(e){return function(t,n,a){var l,u=o(t),s=r(u.length),c=i(a,s);if(e&&n!=n){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var o=n(19),r=math.max,i=math.min;e.exports=function(e,t){return(e=o(e))<0?r(e+t,0):i(e,t)}},function(e,t,n){var o=n(4),r=n(2),i=n(14);e.exports=function(e,t){var n=(r.object||{})[e]||object[e],a={};a[e]=t(n),o(o.s+o.f*i((function(){n(1)})),"object",a)}},function(e,t,n){e.exports=!n(7)&&!n(14)((function(){return 7!=object.defineproperty(n(22)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var o=n(6);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.tostring)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueof)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.tostring)&&!o(r=n.call(e)))return r;throw typeerror("can't convert object to primitive value")}},function(e,t,n){e.exports={default:n(51),__esmodule:!0}},function(e,t,n){n(52),n(53),n(60),n(64),n(76),n(77),e.exports=n(2).promise},function(e,t){},function(e,t,n){"use strict";var o=n(54)(!0);n(32)(string,"string",(function(e){this._t=string(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=o(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var o=n(19),r=n(16);e.exports=function(e){return function(t,n){var i,a,l=string(r(t)),u=o(n),s=l.length;return u<0||u>=s?e?"":void 0:(i=l.charcodeat(u))<55296||i>56319||u+1===s||(a=l.charcodeat(u+1))<56320||a>57343?e?l.charat(u):i:e?l.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){e.exports=n(5)},function(e,t,n){"use strict";var o=n(57),r=n(31),i=n(23),a={};n(5)(a,n(1)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=o(a,{next:r(1,n)}),i(e,t+" iterator")}},function(e,t,n){var o=n(3),r=n(58),i=n(30),a=n(20)("ie_proto"),l=function(){},u=function(){var e,t=n(22)("iframe"),o=i.length;for(t.style.display="none",n(33).appendchild(t),t.src="javascript:",(e=t.contentwindow.document).open(),e.write("