吴sir 4 mesi fa
parent
commit
a8314c221f

+ 1 - 1
src/views/flowPool/config.js

@@ -11,7 +11,7 @@ export const columns = [
     { title: window.$t('flowPool.source'), dataIndex: 'sourceName', align: 'center', width: 200 },
     { title: window.$t('flowPool.tariffName'), dataIndex: 'simTariffName', align: 'center', width: 200 },
     { title: window.$t('flowPool.ActivatedName'),dataIndex:'Activated', align: 'center', width: 200 },
-    { title: window.$t('flowPool.HaveBeenUsedName'), dataIndex: 'index', align: 'center', width: 200 },
+    { title: window.$t('flowPool.HaveBeenUsedName'), dataIndex: 'HaveBeenUsed', align: 'center', width: 200 },
     // { title: window.$t('flowPool.cardRariffName'), dataIndex: 'cardRariffName', align: 'center', width: 200 },
     // { title: window.$t('flowPool.cardNum'), dataIndex: 'cardNum', align: 'center', width: 200 },
     // { title: window.$t('flowPool.totalFlow'), dataIndex: 'totalFlow', align: 'center', width: 200 },

+ 2 - 0
src/views/flowPool/index.vue

@@ -376,11 +376,13 @@ const intData = async () => {
     const trafficPoolStatus = trafficList.value.find(val => val.value == item.status)?.label
     const sourceName = sourceList.value.find(val => val.value == item.source)?.label
     const Activated = 0 + '/' + item.iccids.length
+    const HaveBeenUsed = 0+ '/' + item.size
     return {
       ...item,
       sourceName,// 运营商名称
       trafficPoolStatus,
       Activated: Activated,
+      HaveBeenUsed:HaveBeenUsed,
       poolNumber: "NR0" + (index + 1),
     }
   })

+ 2 - 0
src/views/flowPool/rearFlowPool/index.vue

@@ -378,11 +378,13 @@ const intData = async () => {
     const trafficPoolStatus = trafficList.value.find(val => val.value == item.status)?.label
     const sourceName = sourceList.value.find(val => val.value == item.source)?.label
     const Activated = 0 + '/' + item.iccids.length
+    const HaveBeenUsed = 0+ '/' + item.size
     return {
       ...item,
       sourceName,// 运营商名称
       // trafficPoolType,
       Activated:Activated,
+      HaveBeenUsed:HaveBeenUsed,
       trafficPoolStatus,
     }
   })