(("undefined"!==typeof self?self:this)["webpackJsonpportal_homepage_nanhai"]=("undefined"!==typeof self?self:this)["webpackJsonpportal_homepage_nanhai"]||[]).push([[38],{"2dd6":function(e,t,a){var n=a("45d4");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("499e").default;r("a5abc794",n,!0,{sourceMap:!1,shadowMode:!1})},"45d4":function(e,t,a){t=e.exports=a("2350")(!1),t.push([e.i,".hyperlink-color[data-v-2174cd48]{color:#3b9bf0}[data-v-2174cd48] .ql-container.ql-snow{border:none}[data-v-2174cd48] .ql-align-center img{display:inline-block}",""])},6958:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"h-full detail-w mx-auto pt-20px"},[a("div",{staticClass:"mt-30px"},[a("div",{staticClass:"ql-container ql-snow"},[a("div",{staticClass:"ql-editor",domProps:{innerHTML:e._s(e.detailInfo.content)}})])])])},r=[],c=a("c7eb"),i=a("3835"),s=a("1da1"),o=a("c7fe"),u=(a("a753"),a("8096"),a("14e1"),a("cfba")),l=new o["ColumnTableApi"],d={name:"NewsHtml",props:{data:{type:Object,default:null},mode:{type:String,default:"update"}},data:function(){return{detailInfo:{},title:"富文本详情页",dataSource:"",page:{pageNo:1,pageSize:15,totalCount:0}}},methods:{getTextListData:function(){var e=this;return Object(s["a"])(Object(c["a"])().mark((function t(){var a,n,r,s;return Object(c["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(u["a"])((function(){return l.getTextColumnTable(1,1,{columnId:e.data.dataSource,isShow:!0})}));case 2:a=t.sent,n=Object(i["a"])(a,2),r=n[0],s=n[1],r||(s.items.length>0?e.getTextDataDetails(s.items[0].id):e.detailInfo={});case 7:case"end":return t.stop()}}),t)})))()},getTextDataDetails:function(e){var t=this;return Object(s["a"])(Object(c["a"])().mark((function a(){var n,r,s,o;return Object(c["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,l.getTextColumnTableDetail(e);case 2:n=a.sent,r=Object(i["a"])(n,2),s=r[0],o=r[1],s||(t.detailInfo=o);case 7:case"end":return a.stop()}}),a)})))()}},created:function(){null!=this.data.dataSource&&""!==this.data.dataSource&&this.getTextListData()},computed:{fileUrl:function(){var e=Wiz.GetModuleServer("file-management");return"".concat(e,"/api/file-management/files/public/image/")},videoUrl:function(){var e=Wiz.GetModuleServer("file-management");return"".concat(e,"/api/file-management/files/public/")}},watch:{data:{deep:!0,immediate:!0,handler:function(e){_.isEmpty(e)||e.dataSource!==this.dataSource&&void 0!==this.data.dataSource&&""!==this.data.dataSource&&this.getTextListData()}}},mounted:function(){}},f=d,p=(a("8842"),a("2877")),h=Object(p["a"])(f,n,r,!1,null,"2174cd48",null);t["default"]=h.exports},8842:function(e,t,a){"use strict";a("2dd6")},cfba:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n=a("c7eb"),r=a("1da1"),c=(a("14d9"),a("d3b7"),a("e6cf"),[]),i=0,s=3;function o(){return u.apply(this,arguments)}function u(){return u=Object(r["a"])(Object(n["a"])().mark((function e(){var t;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(i>=s||0===c.length)){e.next=2;break}return e.abrupt("return");case 2:return i+=1,t=c.shift(),e.prev=4,e.next=7,t();case 7:e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](4);case 11:return e.prev=11,i-=1,o(),e.finish(11);case 15:case"end":return e.stop()}}),e,null,[[4,9,11,15]])}))),u.apply(this,arguments)}function l(e){return new Promise((function(t,a){c.push(Object(r["a"])(Object(n["a"])().mark((function r(){var c;return Object(n["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e();case 3:c=n.sent,t(c),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](0),a(n.t0);case 10:case"end":return n.stop()}}),r,null,[[0,7]])})))),o()}))}}}]);