(("undefined"!==typeof self?self:this)["webpackJsonpportal_homepage_nanhai"]=("undefined"!==typeof self?self:this)["webpackJsonpportal_homepage_nanhai"]||[]).push([[30],{1290:function(t,e,a){var n=a("3816");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=a("499e").default;r("3c048827",n,!0,{sourceMap:!1,shadowMode:!1})},"2b76":function(t,e,a){"use strict";a.d(e,"b",(function(){return r})),a.d(e,"a",(function(){return c}));var n=a("2909");a("e260"),a("14d9"),a("ace4"),a("2c66"),a("249d"),a("40e9"),a("d3b7"),a("ac1f"),a("25f0"),a("5319"),a("5cc6"),a("907a"),a("9a8c"),a("a975"),a("735e"),a("c1ac"),a("d139"),a("3a7b"),a("986a"),a("1d02"),a("d5d6"),a("82f8"),a("e91f"),a("60bd"),a("5f96"),a("3280"),a("3fcc"),a("ca91"),a("25a1"),a("cd26"),a("3c5d"),a("2954"),a("649e"),a("219c"),a("170b"),a("b39a"),a("6ce5"),a("2834"),a("72f7"),a("4ea1"),a("81b2"),a("159b"),a("0eb6"),a("b7ef"),a("8bd4");function r(t,e){var a=[];return _.forEach(t,(function(t){var c=_.cloneDeep(t);if(delete c[e],a.push(c),_.isArray(t[e])){var i=r(t[e],e);a.push.apply(a,Object(n["a"])(i))}})),a}function c(t){for(var e=atob(t),a=new Uint8Array(e.length),n=0;n<e.length;n+=1)a[n]=e.charCodeAt(n);for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",c="",i=0,o=0,u=0;u<a.length;u+=1){o=o<<8|a[u],i+=8;while(i>=5)c+=r[o>>>i-5&31],i-=5}return i>0&&(c+=r[o<<5-i&31]),"".concat(c,"====")}},3816:function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,".bread-crumb[data-v-c5eb2104]{font-family:Microsoft YaHei}",""])},"7db0":function(t,e,a){"use strict";var n=a("23e7"),r=a("b727").find,c=a("44d2"),i="find",o=!0;i in[]&&Array(1)[i]((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),c(i)},bd9b: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:"flex items-center text-hex-666 text-12px bread-crumb overflow-hidden"},[a("span",[t._v("您所在的位置：")]),a("span",{staticClass:"iconfont icon-bg-home text-18px cursor-pointer",on:{click:function(e){return t.jump(null)}}}),t._l(t.breadcumbList,(function(e){return a("div",{key:e.id},[a("span",{staticClass:"text-14px"},[t._v(">")]),a("span",{staticClass:"cursor-pointer",on:{click:function(a){return t.jump(e)}}},[t._v(t._s(e.name))])])}))],2)},r=[],c=a("c7eb"),i=a("3835"),o=a("1da1"),u=(a("7db0"),a("14d9"),a("b0c0"),a("d3b7"),a("2b76")),s=a("c7fe"),d=new s["ColumApi"],f={props:{data:{type:Object,default:function(){return{}}},mode:{type:String,default:""}},data:function(){return{columnData:[],breadcumbList:[]}},computed:{routerBase:function(){return window.__POWERED_BY_QIANKUN__?"/".concat(_.get(Wiz,"globalSettings.globalConfig.routerBase")):""}},watch:{data:{deep:!0,immediate:!0,handler:function(t,e){_.isEmpty(t)||t.dataSource===(null===e||void 0===e?void 0:e.dataSource)||(this.breadcumbList=[],this.getBreadcumb(t.dataSource))}}},methods:{getColumnData:function(){var t=this;return Object(o["a"])(Object(c["a"])().mark((function e(){var a,n,r,o;return Object(c["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,d.tree(0,{isExistPage:!0});case 2:a=e.sent,n=Object(i["a"])(a,2),r=n[0],o=n[1],r||(t.columnData=Object(u["b"])(o,"child"));case 7:case"end":return e.stop()}}),e)})))()},getBreadcumb:function(t){var e=this;if(0!==this.columnData.length){var a=_.find(this.columnData,{id:t});a&&(this.breadcumbList.unshift({name:a.name,id:a.id,existPage:a.existPage}),a.parentId&&this.getBreadcumb(a.parentId))}else setTimeout((function(){e.getBreadcumb(t)}),500)},jump:function(t){if("update"!==this.mode&&(!t||t.existPage)){var e={};null!==t&&void 0!==t&&t.id&&(e.columnId=t.id),this.$router.push({path:"".concat(this.routerBase,"/portal/homepage"),query:e})}}},created:function(){this.getColumnData()}},l=f,b=(a("bf31"),a("2877")),p=Object(b["a"])(l,n,r,!1,null,"c5eb2104",null);e["default"]=p.exports},bf31:function(t,e,a){"use strict";a("1290")}}]);