Browse Source

feat:投标信用报告时间配置、预览相关

yangfeng 4 months ago
parent
commit
420d68a82a

+ 3 - 3
apps/bigmember_pc/src/views/order/components/credit-report/info.vue

@@ -58,7 +58,7 @@
         <p class="buy-notify">
           支付成功后,系统将在{{
             bidCreditReport_makeTime
-          }}分钟内将报告发送至您的邮箱,您也可前往“资产-报告下载记录”查看详情。
+          }}内将报告发送至您的邮箱,您也可前往“资产-报告下载记录”查看详情。
         </p>
       </el-form>
     </div>
@@ -117,7 +117,7 @@ export default {
       biddingOptions: [],
       buyerOptions: [],
       loading: false,
-      bidCreditReport_makeTime: 0
+      bidCreditReport_makeTime: ''
     }
   },
   computed: {
@@ -216,7 +216,7 @@ export default {
     async getConfigInfo() {
       const { error_code: code, data } = await ajaxGetConfig()
       if (code === 0 && data) {
-        this.bidCreditReport_makeTime = data?.bidCreditReport_makeTime
+        this.bidCreditReport_makeTime = data?.bidCreditReport_makeTime || ''
       }
     },
     onViewReportSample() {

+ 1 - 1
apps/bigmember_pc/src/views/reportDownload/preview.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="report-sample v-w1200">
+  <div class="report-sample">
     <div class="sample-container" v-loading="loading">
       <iframe
         class="iframe"

+ 11 - 7
apps/bigmember_pc/src/views/reportDownload/record.vue

@@ -2,10 +2,13 @@
   <div class="report-download-record">
     <div class="page-header">
       <h1>报告下载记录</h1>
-      <em>注:请在有效期内使用,过期清零,不可转赠。</em>
     </div>
     <section class="box-container balance-box">
-      <div class="box-title">报告下载余额</div>
+      <div class="box-title">
+        报告下载余额<em class="balance-tips"
+          >注:请在有效期内使用,过期清零,不可转赠。</em
+        >
+      </div>
       <div class="card-row">
         <div class="card-col" v-for="item in cardList">
           <p class="title">{{ item.title }}</p>
@@ -679,11 +682,6 @@ $char_color: #1d1d1d;
       color: $char_color;
       margin-right: 12px;
     }
-    em {
-      font-size: 12px;
-      color: #999;
-      line-height: 18px;
-    }
   }
   .box-container {
     border-radius: 4px;
@@ -694,6 +692,12 @@ $char_color: #1d1d1d;
       line-height: 24px;
       margin-bottom: 12px;
     }
+    .balance-tips {
+      margin-left: 12px;
+      font-size: 12px;
+      color: #999;
+      line-height: 18px;
+    }
   }
   .balance-box {
     margin: 24px 0 16px;