(function(){ Vue.component('renew-progress-filter',{ template:'
\
统计维度
\
\ \
\ \
\
\ \
', props:['lowCode', 'analysisName'], data: function(){ return { } }, methods: { contentClick:function(val, name){ this.lowCode = val; this.analysisName = name; }, resetClick:function(){ this.lowCode = ""; }, confirmClick:function(){ var vm = this; //触发刷新 this.$emit('vuedals:close', { lowCode: vm.lowCode, name: vm.analysisName, contentHtml:$(".div-content").html() }); } }, mounted: function(){ if(this.contentHtml){ $(".div-content").html(this.contentHtml); } } }); })()