Преглед изворни кода

feat:采购单位画像-分析报告下载弹窗优化

zhangsiya пре 1 година
родитељ
комит
7c61240af1

+ 2 - 0
apps/bigmember_pc/src/views/portrayal/UnitPortrayal.vue

@@ -480,6 +480,8 @@
     <!--下载报告弹窗-->
     <report-download-dialog
       v-if="reportDownloadConfig.visible"
+      type="procurementUnit"
+      :buyerName="info.buyerName"
       :options="reportDownloadConfig"
       :total-info="info"
       :empty-show="emptyShow && !loading"

+ 7 - 2
apps/bigmember_pc/src/views/portrayal/components/UnitReportDownloadDialog.vue

@@ -17,8 +17,9 @@
         <el-button type="primary" @click="viewExample">查看报告样例</el-button>
       </section>
       <download-filter
+        type="procurementUnit"
         :hasPower="options.hasPower"
-        :buyerName="totalInfo.buyerName"
+        :buyerName="buyerName"
         :backFilter="backFilter"
         :canSelect="canSelect"
       ></download-filter>
@@ -49,7 +50,7 @@
     </div>
     <div slot="footer" v-if="hasPower && !emptyShow && !pageLoading">
       <div class="footer-con">
-        <span class="residue">市场分析定制报告下载余额:1份</span>
+        <span class="residue">业主采购分析报告下载余额:1份</span>
         <span class="go-recharge" @click="goRecharge">去充值&gt;</span>
         <span class="deduct">本次扣除:<em>1份</em></span>
         <span class="zero-tip" v-if="residueCount === 0">余额不足,请先充值</span>
@@ -77,6 +78,10 @@ export default {
         }
       }
     },
+    buyerName: {
+      type: String,
+      default: ''
+    },
     // 概况信息
     totalInfo: {
       type: Object,