|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
- <a-modal width="70%" :visible="visible" :title="'卡详情' + Card_info.iccid" :hide-cancel='true'
|
|
|
|
- :ok-text="$t('lotCard.close')" @ok="handleSubmit" @cancel="handleCancel" draggable>
|
|
|
|
|
|
+ <a-modal width="70%" :visible="visible" :title="$t('lotCard.CardDetails') + Card_info.iccid" :hide-cancel='true' :okText="$t('form.Confirm')"
|
|
|
|
+ :cancelText="$t('form.Cancel')" @ok="handleSubmit" @cancel="handleCancel" draggable>
|
|
<!-- 卡片信息 -->
|
|
<!-- 卡片信息 -->
|
|
<a-row class="grid-demo" :gutter="24">
|
|
<a-row class="grid-demo" :gutter="24">
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
@@ -18,86 +18,86 @@
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="SIM货币余额">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.currencyBalance')">
|
|
{{ Card_info.moneyBalances }}
|
|
{{ Card_info.moneyBalances }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="激活日期">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.ActivationDate')">
|
|
{{ Card_info.activeTime }}
|
|
{{ Card_info.activeTime }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="到期日期">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.DueDate')">
|
|
{{ Card_info.closeTime }}
|
|
{{ Card_info.closeTime }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="有效期">
|
|
|
|
- {{ Card_info.validMonth }}月
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.validity')">
|
|
|
|
+ {{ Card_info.validMonth }} {{ $t('lotCard.month') }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="供应商">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.supplier')">
|
|
{{ Card_info.currentImsiProvider }}
|
|
{{ Card_info.currentImsiProvider }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
</a-form>
|
|
</a-form>
|
|
- <p>当前套餐信息</p>
|
|
|
|
|
|
+ <p>{{ $t('lotCard.CurrentPackageInformation') }}</p>
|
|
<a-form :model="dataPackage" auto-label-width label-align="left">
|
|
<a-form :model="dataPackage" auto-label-width label-align="left">
|
|
<a-row :gutter="10" wrap>
|
|
<a-row :gutter="10" wrap>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="套餐名称">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.PackageName')">
|
|
{{ Card_info?.tariffName }}
|
|
{{ Card_info?.tariffName }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="套餐状态">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.PackageStatus')">
|
|
{{
|
|
{{
|
|
- dataPackage?.status == 1 ? '已激活' : (dataPackage?.status == 2 ? '关闭' :
|
|
|
|
- dataPackage?.status == 3 ? '已过期' : '未使用')
|
|
|
|
|
|
+ dataPackage?.status == 1 ? $t('lotCard.Activated') : (dataPackage?.status == 2 ? $t('lotCard.Off') :
|
|
|
|
+ dataPackage?.status == 3 ? $t('lotCard.expired') : $t('lotCard.NotInUse'))
|
|
}}
|
|
}}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="有效期">
|
|
|
|
- {{ dataPackage?.validDays }}月
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.validity')">
|
|
|
|
+ {{ dataPackage?.validDays }} {{ $t('lotCard.month') }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="是否赠送套餐">
|
|
|
|
- {{ dataPackage?.present == 0 ? '否' : '是' }}
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.WhetherToGive')">
|
|
|
|
+ {{ dataPackage?.present == 0 ? $t('lotCard.No') : $t('lotCard.Yes') }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="套餐激活日期">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.PackageActivationDate')">
|
|
{{ dataPackage?.activeTime }}
|
|
{{ dataPackage?.activeTime }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="套餐过期日期">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.PackageExpirationDate')">
|
|
{{ dataPackage?.expiryTime }}
|
|
{{ dataPackage?.expiryTime }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<div class="line"></div>
|
|
<div class="line"></div>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="套餐可用流量">
|
|
|
|
- {{ dataPackage?.dataTotal == -1 ? '无限流量' : dataPackage?.dataTotal }}MB
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.PlaAvailableData')">
|
|
|
|
+ {{ dataPackage?.dataTotal == -1 ? $t('lotCard.UnlimitedFlow') : dataPackage?.dataTotal }}MB
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="套餐已使用流量">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.PlanUsedData')">
|
|
{{ dataPackage?.dataUsage }}MB
|
|
{{ dataPackage?.dataUsage }}MB
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="套餐今日使用流量">
|
|
|
|
|
|
+ <a-form-item :label="$T('lotCard.PackageUseTrafficToday')">
|
|
{{ dataPackage?.dataToday }}MB
|
|
{{ dataPackage?.dataToday }}MB
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
- <a-form-item label="套餐有效天数">
|
|
|
|
|
|
+ <a-form-item :label="$t('lotCard.PackageValidDays')">
|
|
{{ dataPackage?.validDays }}
|
|
{{ dataPackage?.validDays }}
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -106,35 +106,37 @@
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
<a-tabs>
|
|
<a-tabs>
|
|
- <a-tab-pane key="1" title="月用量">
|
|
|
|
|
|
+ <a-tab-pane key="1" :title="$t('lotCard.MonthlyConsumption')">
|
|
<div class="chart" style="width:100%" id="chartContainer" />
|
|
<div class="chart" style="width:100%" id="chartContainer" />
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
- <a-tab-pane key="2" title="卡套餐信息">
|
|
|
|
|
|
+ <a-tab-pane key="2" :title="$t('lotCard.CardPackageInformation')">
|
|
<a-table :columns="columnsCard" :data="dataCard" :scroll="{ x: 'auto' }" :pagination="false" />
|
|
<a-table :columns="columnsCard" :data="dataCard" :scroll="{ x: 'auto' }" :pagination="false" />
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
- <a-tab-pane key="3" title="预警信息">
|
|
|
|
|
|
+ <a-tab-pane key="3" :title="$t('lotCard.EarlyWarningInformation')">
|
|
Content of Tab Panel 3
|
|
Content of Tab Panel 3
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
- <a-tab-pane key="4" title="充值记录">
|
|
|
|
|
|
+ <a-tab-pane key="4" :title="$t('lotCard.RechargeRecord')">
|
|
<a-table :columns="columnsTopup" :data="dataTopup" :scroll="{ x: 'auto' }" />
|
|
<a-table :columns="columnsTopup" :data="dataTopup" :scroll="{ x: 'auto' }" />
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
- <a-tab-pane key="5" title="使用量">
|
|
|
|
|
|
+ <a-tab-pane key="5" :title="$t('lotCard.UsageAmount')">
|
|
<a-table :columns="columnsAmount" :data="dataAmount" :scroll="{ x: 'auto' }" :pagination="false" />
|
|
<a-table :columns="columnsAmount" :data="dataAmount" :scroll="{ x: 'auto' }" :pagination="false" />
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
- <a-tab-pane key="6" title="操作记录">
|
|
|
|
|
|
+ <a-tab-pane key="6" :title="$t('lotCard.OperationRecord')">
|
|
<a-table :columns="columnsOperation" :data="dataOperation" :scroll="{ x: 'auto' }"
|
|
<a-table :columns="columnsOperation" :data="dataOperation" :scroll="{ x: 'auto' }"
|
|
@page-change="evChangePage" :pagination="pageData" />
|
|
@page-change="evChangePage" :pagination="pageData" />
|
|
</a-tab-pane>
|
|
</a-tab-pane>
|
|
</a-tabs>
|
|
</a-tabs>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
-
|
|
|
|
|
|
+
|
|
<template #footer>
|
|
<template #footer>
|
|
<div class="footer_button">
|
|
<div class="footer_button">
|
|
<!-- <a-button type="primary" status="warning">同步卡信息 V</a-button> -->
|
|
<!-- <a-button type="primary" status="warning">同步卡信息 V</a-button> -->
|
|
- <a-button type="primary" status="warning" @click="SIMCardService(0)">暂停SIM卡服务</a-button>
|
|
|
|
- <a-button type="primary" status="warning" @click="SIMCardService(1)">恢复SIM卡服务</a-button>
|
|
|
|
- <a-button type="primary" status="warning">关闭SIM卡</a-button>
|
|
|
|
|
|
+ <a-button type="primary" status="warning" @click="SIMCardService(0)">{{ $t('lotCard.SuspensionService')
|
|
|
|
+ }}</a-button>
|
|
|
|
+ <a-button type="primary" status="warning" @click="SIMCardService(1)">{{ $t('lotCard.RestoreService')
|
|
|
|
+ }}</a-button>
|
|
|
|
+ <a-button type="primary" status="warning">{{ $t('lotCard.CloseCard') }}</a-button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</a-modal>
|
|
</a-modal>
|
|
@@ -146,7 +148,8 @@ import { Getdictionary } from '@/mixins/index'
|
|
import { Message } from '@arco-design/web-vue'
|
|
import { Message } from '@arco-design/web-vue'
|
|
// 图表插件
|
|
// 图表插件
|
|
import * as echarts from "echarts";
|
|
import * as echarts from "echarts";
|
|
-
|
|
|
|
|
|
+import { useI18n } from 'vue-i18n'
|
|
|
|
+const { t } = useI18n();
|
|
const props = defineProps({});
|
|
const props = defineProps({});
|
|
|
|
|
|
const emit = defineEmits(['submit']);
|
|
const emit = defineEmits(['submit']);
|
|
@@ -164,7 +167,7 @@ const pageData = ref({
|
|
const option = ref({
|
|
const option = ref({
|
|
xAxis: {
|
|
xAxis: {
|
|
type: 'category',
|
|
type: 'category',
|
|
- data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
|
|
|
|
|
|
+ data: [t('lotCard.Jan'), t('lotCard.February'), t('lotCard.March'), t('lotCard.April'), t('lotCard.May'), t('lotCard.June'), t('lotCard.July'), t('lotCard.August'), t('lotCard.September'), t('lotCard.October'), t('lotCard.November'), t('lotCard.December')]
|
|
},
|
|
},
|
|
yAxis: {
|
|
yAxis: {
|
|
type: 'value'
|
|
type: 'value'
|
|
@@ -180,46 +183,46 @@ const option = ref({
|
|
// 卡套餐信息
|
|
// 卡套餐信息
|
|
const columnsCard = [
|
|
const columnsCard = [
|
|
{
|
|
{
|
|
- title: '套餐名称',
|
|
|
|
|
|
+ title: t('lotCard.PackageName'),
|
|
dataIndex: 'productName',
|
|
dataIndex: 'productName',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
}, {
|
|
}, {
|
|
- title: '套餐状态',
|
|
|
|
|
|
+ title: t('lotCard.PackageStatus'),
|
|
dataIndex: 'status',
|
|
dataIndex: 'status',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '有效期(月)',
|
|
|
|
|
|
+ title: t('lotCard.validity')+(t('lotCard.month')),
|
|
dataIndex: 'validMonth',
|
|
dataIndex: 'validMonth',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '可用流量',
|
|
|
|
|
|
+ title: t('lotCard.AvailableFlow'),
|
|
dataIndex: 'dataTotal',
|
|
dataIndex: 'dataTotal',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '已使用流量',
|
|
|
|
|
|
+ title: t('lotCard.Usedflow'),
|
|
dataIndex: 'dataUsage',
|
|
dataIndex: 'dataUsage',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '今日使用流量',
|
|
|
|
|
|
+ title: t('lotCard.TrafficUsedToday'),
|
|
dataIndex: 'dataToday',
|
|
dataIndex: 'dataToday',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '套餐有效期(天数)',
|
|
|
|
|
|
+ title: t('lotCard.PackageValidity'),
|
|
dataIndex: 'validDays',
|
|
dataIndex: 'validDays',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '激活日期',
|
|
|
|
|
|
+ title: t('lotCard.ActivationDate'),
|
|
dataIndex: 'activeTime',
|
|
dataIndex: 'activeTime',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '过期日期',
|
|
|
|
|
|
+ title: t('lotCard.ExpirationDate'),
|
|
dataIndex: 'expiryTime',
|
|
dataIndex: 'expiryTime',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
@@ -229,7 +232,7 @@ const dataCard = ref([])
|
|
// 充值信息
|
|
// 充值信息
|
|
const columnsTopup = [
|
|
const columnsTopup = [
|
|
{
|
|
{
|
|
- title: '订单号',
|
|
|
|
|
|
+ title: t('lotCard.OrderNumber'),
|
|
dataIndex: 'productName',
|
|
dataIndex: 'productName',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
@@ -241,37 +244,37 @@ const columnsTopup = [
|
|
align: 'center',
|
|
align: 'center',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '购买套餐',
|
|
|
|
|
|
+ title: t('lotCard.PurchasePackage'),
|
|
dataIndex: 'productName',
|
|
dataIndex: 'productName',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '订单类型',
|
|
|
|
|
|
+ title: t('lotCard.OrderType'),
|
|
dataIndex: 'productName',
|
|
dataIndex: 'productName',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '套餐价格',
|
|
|
|
|
|
+ title: t('lotCard.PackagePrice'),
|
|
dataIndex: 'productName',
|
|
dataIndex: 'productName',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '运营商',
|
|
|
|
|
|
+ title: t('lotCard.operator'),
|
|
dataIndex: 'productName',
|
|
dataIndex: 'productName',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '支付状态',
|
|
|
|
|
|
+ title: t('lotCard.PaymentStatus'),
|
|
dataIndex: 'productName',
|
|
dataIndex: 'productName',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '下单日期',
|
|
|
|
|
|
+ title: t('lotCard.OrderDate'),
|
|
dataIndex: 'productName',
|
|
dataIndex: 'productName',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
@@ -281,7 +284,7 @@ const dataTopup = ref([])
|
|
// 使用量
|
|
// 使用量
|
|
const columnsAmount = [
|
|
const columnsAmount = [
|
|
{
|
|
{
|
|
- title: '编号',
|
|
|
|
|
|
+ title: t('lotCard.ID'),
|
|
dataIndex: 'productId',
|
|
dataIndex: 'productId',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
@@ -292,22 +295,22 @@ const columnsAmount = [
|
|
},
|
|
},
|
|
|
|
|
|
{
|
|
{
|
|
- title: 'SIM账户(卡号)',
|
|
|
|
|
|
+ title: t('lotCard.accountCard'),
|
|
dataIndex: 'account',
|
|
dataIndex: 'account',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '流量(MB)',
|
|
|
|
|
|
+ title: `${t('lotCard.FlowRate')}(MB)`,
|
|
dataIndex: 'usage',
|
|
dataIndex: 'usage',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '流量产生国家货地区编号',
|
|
|
|
|
|
+ title: t('lotCard.CargoAreaCode'),
|
|
dataIndex: 'countryNo',
|
|
dataIndex: 'countryNo',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '详单日期',
|
|
|
|
|
|
+ title: t('lotCard.DetailDate'),
|
|
dataIndex: 'date',
|
|
dataIndex: 'date',
|
|
align: 'center', ellipsis: true
|
|
align: 'center', ellipsis: true
|
|
},
|
|
},
|
|
@@ -317,7 +320,7 @@ const dataAmount = ref([])
|
|
// 操作记录
|
|
// 操作记录
|
|
const columnsOperation = [
|
|
const columnsOperation = [
|
|
{
|
|
{
|
|
- title: '操作人',
|
|
|
|
|
|
+ title: t('lotCard.settingUser'),
|
|
dataIndex: 'userId',
|
|
dataIndex: 'userId',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
@@ -329,19 +332,19 @@ const columnsOperation = [
|
|
align: 'center',
|
|
align: 'center',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '来源',
|
|
|
|
|
|
+ title: t('lotCard.source'),
|
|
dataIndex: 'source',
|
|
dataIndex: 'source',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '操作',
|
|
|
|
|
|
+ title: t('lotCard.Controls'),
|
|
dataIndex: 'operation',
|
|
dataIndex: 'operation',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '备注',
|
|
|
|
|
|
+ title: t('lotCard.remark'),
|
|
dataIndex: 'remark',
|
|
dataIndex: 'remark',
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
align: 'center',
|
|
align: 'center',
|
|
@@ -357,9 +360,9 @@ const open = (data) => {
|
|
dataPackage.value = data.dataPackage[0]
|
|
dataPackage.value = data.dataPackage[0]
|
|
// 卡套餐信息
|
|
// 卡套餐信息
|
|
dataCard.value = (data.dataPackage || []).map(val => {
|
|
dataCard.value = (data.dataPackage || []).map(val => {
|
|
- const status = val.status == 1 ? '已激活' : (val.status == 2 ? '关闭' :
|
|
|
|
- val.status == 3 ? '已过期' : '未使用')
|
|
|
|
- const tatal = val.dataTotal == -1 ? '无限流量' : val.dataTotal
|
|
|
|
|
|
+ const status = val.status == 1 ? t('lotCard.Activated') : (val.status == 2 ? t('lotCard.Off') :
|
|
|
|
+ val.status == 3 ? t('lotCard.expired') : t('lotCard.NotInUse'))
|
|
|
|
+ const tatal = val.dataTotal == -1 ? t('lotCard.UnlimitedFlow') : val.dataTotal
|
|
return {
|
|
return {
|
|
...val,
|
|
...val,
|
|
status: status,
|
|
status: status,
|
|
@@ -466,7 +469,7 @@ const optionsRecordSetting = async () => {
|
|
let res = await OperationRecord({
|
|
let res = await OperationRecord({
|
|
current: pageData.value.current,
|
|
current: pageData.value.current,
|
|
size: pageData.value.size,
|
|
size: pageData.value.size,
|
|
- iccid:Card_info.value.iccid
|
|
|
|
|
|
+ iccid: Card_info.value.iccid
|
|
})
|
|
})
|
|
let res1 = await Getdictionary('source')
|
|
let res1 = await Getdictionary('source')
|
|
dataOperation.value = res.data.records.map(res => {
|
|
dataOperation.value = res.data.records.map(res => {
|