diff --git a/src/views/xm/rpt/index/CompsCard.vue b/src/views/xm/rpt/index/CompsCard.vue index 0ace63e6..20ea73b8 100644 --- a/src/views/xm/rpt/index/CompsCard.vue +++ b/src/views/xm/rpt/index/CompsCard.vue @@ -2,7 +2,7 @@
- + @@ -10,13 +10,15 @@ {{ xmRptConfig.name}} {{ rptConfigParamsCpd.name+'-报告'}} - 查看历史报告 - 保存报告(可供历史查询) - 查看报告 + 退出报告 制作报告 取消制作 - 保存报告 + 保存&退出 + + 存档 + 查看报告 + 查看历史报告 隐藏过滤条件 显示过滤条件 分享 @@ -299,14 +301,6 @@ export default { cfgJson.forEach(k=>k.id=k.compId+seq.sn()) this.compCfgList=cfgJson; this.$refs.compsSet.setCheckeds(this.compCfgList.map(k=>k.compId),true) - }else{ - var defList=this.$refs['compsSet'].rptListCpd - if(defList && defList.length>3){ - defList=defList.slice(0,3); - } - defList.forEach(k=>k.id=k.compId+seq.sn()) - this.compCfgList=JSON.parse(JSON.stringify(defList)) - this.$refs.compsSet.setCheckeds(this.compCfgList.map(k=>k.compId),true) } }, onCompSelect(comp){ diff --git a/src/views/xm/rpt/index/CompsSet.vue b/src/views/xm/rpt/index/CompsSet.vue index daa7325d..0f4d280a 100644 --- a/src/views/xm/rpt/index/CompsSet.vue +++ b/src/views/xm/rpt/index/CompsSet.vue @@ -18,7 +18,7 @@ {{item.desc}} - +    @@ -36,7 +36,7 @@ {{item.desc}} - +    @@ -61,7 +61,7 @@ import { mapGetters } from 'vuex' import store from '@/store' export default { - props: ['category','showCheckedOnly'], + props: ['category','showCheckedOnly','isRptCfg'], components:{ draggable },