Parcourir la source

卡清单增加流量包状态字段

wxy il y a 4 mois
Parent
commit
a0695206e4

+ 1 - 0
src/i18n/zh/lotCard.js

@@ -195,4 +195,5 @@ export default {
      FormationPool:'组池',
      FormationPool:'组池',
      FlowPool:'流量池',
      FlowPool:'流量池',
      QuantityCardsPurchased:'购卡数量',
      QuantityCardsPurchased:'购卡数量',
+     DatapackageStatus:'流量包状态'
 }  
 }  

+ 1 - 0
src/views/lotCard/cardList/config.js

@@ -8,6 +8,7 @@ export const columns = [
     { title: window.$t('lotCard.GenerationDate'), dataIndex: 'createTime', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.GenerationDate'), dataIndex: 'createTime', align: 'center', ellipsis: true },
     // { title: '支付方式', dataIndex: 'payType', align: 'center', ellipsis: true },
     // { title: '支付方式', dataIndex: 'payType', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.SimStatus'), dataIndex: 'iccidStatus', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.SimStatus'), dataIndex: 'iccidStatus', align: 'center', ellipsis: true },
+    { title: window.$t('lotCard.DatapackageStatus'), dataIndex: 'DatapackageStatus', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.TotalFlow'), dataIndex: 'dataUsageTotal', slotName: 'dataUsageTotal', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.TotalFlow'), dataIndex: 'dataUsageTotal', slotName: 'dataUsageTotal', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.MinutesIncomingVoiceCalls'), dataIndex: 'voiceMtTotal', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.MinutesIncomingVoiceCalls'), dataIndex: 'voiceMtTotal', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.MinutesOutgoingVoiceCalls'), dataIndex: 'voiceMoTotal', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.MinutesOutgoingVoiceCalls'), dataIndex: 'voiceMoTotal', align: 'center', ellipsis: true },

+ 1 - 0
src/views/lotCard/cardList/index.vue

@@ -117,6 +117,7 @@ const intData = async () => {
       SilenceEndtime: '一个月',
       SilenceEndtime: '一个月',
       usedBg: '0',
       usedBg: '0',
       usableBg: '0',
       usableBg: '0',
+      DatapackageStatus:item.dataPackage[0]?.status,
       dataUsage: item.dataPackage[0]?.dataUsage?item.dataPackage[0]?.dataUsage:'0' + '/MB',
       dataUsage: item.dataPackage[0]?.dataUsage?item.dataPackage[0]?.dataUsage:'0' + '/MB',
       dataTotal: item.dataPackage[0]?.dataTotal?item.dataPackage[0]?.dataTotal:'0' + '/MB',
       dataTotal: item.dataPackage[0]?.dataTotal?item.dataPackage[0]?.dataTotal:'0' + '/MB',
     }
     }