(window.webpackJsonp=window.webpackJsonp||[]).push([[74],{660:function(e,t,a){"use strict";a.r(t);var i,n=a(203),s=a.n(n),o=(a(367),a(29),a(331)),l=(a(271),a(272)),d=(a(273),a(274)),r=(a(34),a(275),a(278)),c={components:(i={},s()(i,r.a.name,r.a),s()(i,d.a.name,d.a),s()(i,l.a.name,l.a),s()(i,"InteractDrag",o.a),i),props:["field"],data:function(){return{iconClass:{string:"icon-word",int:"icon-number",float:"icon-decimal",time:"icon-calendar"},dropConfig:{key:this.field.key,title:this.field.name,extra:!1}}},methods:{select:function(e){this.$emit("drillDown",{id:e.table_id,associate:{originTable:this.field.origin,origin:this.field.key,target:e.column_key}})}},watch:{field:{handler:function(){},immediate:!0}}},m=a(88),f=Object(m.a)(c,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("interact-drag",{attrs:{"class-name":["drag-field-node"],config:e.dropConfig}},[a("el-row",{staticClass:"node",attrs:{type:"flex",align:"middle"}},[a("svg",{staticClass:"node__svg",attrs:{xmlns:"http://www.w3.org/2000/svg"}},[a("line",{attrs:{x1:"50%",y1:"100%",x2:"100%",y2:"100%",stroke:"#b8b8b8","stroke-width":"1","stroke-dasharray":"3,2"}}),a("line",{attrs:{x1:"50%",y1:"1",x2:"50%",y2:"100%",stroke:"#b8b8b8","stroke-width":"1","stroke-dasharray":"3,2"}})]),a("div",{staticClass:"node__icon"},[a("i",{class:[e.iconClass[e.field.type]]})]),a("div",{staticClass:"node__title"},[e._v(e._s(e.field.name))]),a("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:0<e.field.associate.length,expression:"field.associate.length > 0"}],on:{command:e.select}},[a("i",{staticClass:"node__tool icon-link"}),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},e._l(e.field.associate,(function(t){return a("el-dropdown-item",{key:t.table_id,attrs:{command:t,index:t.table_id+"."+t.column_key}},[e._v(e._s(t.table_name))])})),1)],1)],1)],1)}),[],!1,null,"250479d9",null);t.default=f.exports}}]);