(("undefined"!==typeof self?self:this)["webpackJsonpportal_management_std"]=("undefined"!==typeof self?self:this)["webpackJsonpportal_management_std"]||[]).push([[94,9],{"151c":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"py-8px pr-10px flex justify-between items-center bg-[#f7f7f7]"},[a("div",{staticClass:"text-[#333] font-700 text-18px border-l-4px border-$portalPrimaryColor pl-10px flex-1 truncate !leading-23px"},[t._v("\n    "+t._s(t.title)+"\n  ")]),t.showMore?a("div",{staticClass:"text-[#666] text-14px cursor-pointer truncate",on:{click:t.loadMore}},[t._v("\n    更多\n  ")]):t._e()])},r=[],s={name:"ColumnHeader",props:{title:{type:String,default:"新闻"},showMore:{type:Boolean,default:!0}},methods:{loadMore:function(){this.$emit("loadMore")}}},c=s,l=a("2877"),i=Object(l["a"])(c,n,r,!1,null,"2aadf2ad",null);e["default"]=i.exports},a647:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"w-full h-full overflow-hidden"},[t.data.showTitle?a("column-header",{staticClass:"mb-5px",attrs:{title:t.title,showMore:!1}}):t._e(),a("div",{staticClass:"w-full h-[calc(100%-43px)] relative",class:t.data.showTitle?"h-[calc(100%-43px)]":"h-full"},[a("iframe",{ref:"iframe",staticClass:"w-full h-full",attrs:{src:t.iframeUrl,frameborder:"0"}})])],1)},r=[],s=a("c7eb"),c=a("3835"),l=a("1da1"),i=a("78a9"),u=a("cfba"),o=a("151c"),f=new i["ColumnTableApi"],d={components:{ColumnHeader:o["default"]},props:{data:{type:Object,default:function(){return{}}}},watch:{data:{immediate:!0,deep:!0,handler:function(t,e){_.isEmpty(t)||(t.title&&(this.title=t.title),t.dataSource&&t.dataSource!==(null===e||void 0===e?void 0:e.dataSource)&&this.getCompentsData(t.dataSource))}}},data:function(){return{title:"",iframeUrl:""}},methods:{getCompentsData:function(t){var e=this;return Object(l["a"])(Object(s["a"])().mark((function a(){var n,r,l,i,o,d;return Object(s["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r={columnId:t,isShow:!0},a.next=3,Object(u["a"])((function(){return f.getLinkColumnTable(1,99,r)}));case 3:l=a.sent,i=Object(c["a"])(l,2),o=i[0],d=i[1],!o&&d&&(null===d||void 0===d||null===(n=d.items)||void 0===n?void 0:n.length)>0&&(e.title=e.data.title||d.items[0].title,e.iframeUrl=d.items[0].url);case 8:case"end":return a.stop()}}),a)})))()}}},p=d,h=a("2877"),m=Object(h["a"])(p,n,r,!1,null,"6bcea8f9",null);e["default"]=m.exports},cfba:function(t,e,a){"use strict";a.d(e,"a",(function(){return o}));var n=a("c7eb"),r=a("1da1"),s=(a("14d9"),a("d3b7"),a("e6cf"),[]),c=0,l=3;function i(){return u.apply(this,arguments)}function u(){return u=Object(r["a"])(Object(n["a"])().mark((function t(){var e;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(c>=l||0===s.length)){t.next=2;break}return t.abrupt("return");case 2:return c+=1,e=s.shift(),t.prev=4,t.next=7,e();case 7:t.next=11;break;case 9:t.prev=9,t.t0=t["catch"](4);case 11:return t.prev=11,c-=1,i(),t.finish(11);case 15:case"end":return t.stop()}}),t,null,[[4,9,11,15]])}))),u.apply(this,arguments)}function o(t){return new Promise((function(e,a){s.push(Object(r["a"])(Object(n["a"])().mark((function r(){var s;return Object(n["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t();case 3:s=n.sent,e(s),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]])})))),i()}))}}}]);