Browse Source

添加千位分符

zq940222 3 months ago
parent
commit
70893b5417

+ 2 - 2
src/views/adweb/data/enquiryAnalysis.vue

@@ -29,11 +29,11 @@
     <a-row class="r2">
         <a-col :span="8">
           <p class="t1">询盘数</p>
-          <p class="t3">{{ enquiryIndexNumber.enquiry }}</p>
+          <p class="t3">{{ enquiryIndexNumber.enquiry.toLocaleString() }}</p>
         </a-col>
         <a-col :span="8">
           <p class="t1">未读询盘数</p>
-            <p class="t3">{{ enquiryIndexNumber.unRead }}</p>
+            <p class="t3">{{ enquiryIndexNumber.unRead.toLocaleString() }}</p>
         </a-col>
         <a-col :span="8">
           <p class="t1">UV到询盘的转化率</p>

+ 4 - 7
src/views/adweb/data/trafficAnalysis.vue

@@ -29,22 +29,19 @@
     <a-row class="r2">
       <a-col :span="6">
         <p class="t1">访客数(UV)</p>
-        <p class="t3">{{ flowIndexNums.uv }}</p>
+        <p class="t3">{{ flowIndexNums.uv.toLocaleString() }}</p>
       </a-col>
       <a-col :span="6">
         <p class="t1">浏览量(PV)</p>
-        <p class="t3">{{ flowIndexNums.pv }}</p>
+        <p class="t3">{{ flowIndexNums.pv.toLocaleString() }}</p>
       </a-col>
       <a-col :span="6">
         <p class="t1">会话数</p>
-        <p class="t3">{{ flowIndexNums.sessions }}</p>
+        <p class="t3">{{ flowIndexNums.sessions.toLocaleString() }}</p>
       </a-col>
       <a-col :span="6">
         <p class="t1">询盘数</p>
-<!--        <router-link-->
-<!--          :to="{ path: '/inquiry/list', query: {dateType: queryParam.dateType, start: queryParam.start, end: queryParam.end} }">-->
-          <p class="t3">{{ flowIndexNums.enquiry }}</p>
-<!--        </router-link>-->
+        <p class="t3">{{ flowIndexNums.enquiry.toLocaleString() }}</p>
       </a-col>
     </a-row>
     <a-row>