(("undefined"!==typeof self?self:this)["webpackJsonpportal_management_std"]=("undefined"!==typeof self?self:this)["webpackJsonpportal_management_std"]||[]).push([[113],{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)},i=[],r=a("c7eb"),s=a("3835"),u=a("1da1"),c=(a("7db0"),a("14d9"),a("b0c0"),a("d3b7"),a("78a9")),o=a("2b76"),d=new c["ColumApi"],l={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(u["a"])(Object(r["a"])().mark((function e(){var a,n,i,u;return Object(r["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(s["a"])(a,2),i=n[0],u=n[1],i||(t.columnData=Object(o["b"])(u,"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,"/integration/portal/homepage"),query:e})}}},created:function(){this.getColumnData()}},m=l,p=a("2877"),f=Object(p["a"])(m,n,i,!1,null,"1766fa14",null);e["default"]=f.exports}}]);