瀏覽代碼

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

wxy 4 月之前
父節點
當前提交
a0695206e4
共有 3 個文件被更改,包括 3 次插入0 次删除
  1. 1 0
      src/i18n/zh/lotCard.js
  2. 1 0
      src/views/lotCard/cardList/config.js
  3. 1 0
      src/views/lotCard/cardList/index.vue

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

@@ -195,4 +195,5 @@ export default {
      FormationPool:'组池',
      FlowPool:'流量池',
      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: '支付方式', dataIndex: 'payType', 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.MinutesIncomingVoiceCalls'), dataIndex: 'voiceMtTotal', 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: '一个月',
       usedBg: '0',
       usableBg: '0',
+      DatapackageStatus:item.dataPackage[0]?.status,
       dataUsage: item.dataPackage[0]?.dataUsage?item.dataPackage[0]?.dataUsage:'0' + '/MB',
       dataTotal: item.dataPackage[0]?.dataTotal?item.dataPackage[0]?.dataTotal:'0' + '/MB',
     }