Commit 2f9b427e by liuchenxi

update: 消费详情

parent 269b5ac6
......@@ -24,7 +24,7 @@
<p class="tips" v-if="$route.params.type === 'video'">共消耗流量{{ sumCount }}MB 累计支出{{ sumFee }}</p>
<p class="tips" v-if="['record', 'call'].includes($route.params.type)">
通话时长:{{ sumCount || 0 }}
<span class="ml10 blod">总计消费:{{ (sumFee / 100).toFixed(2) }}</span>
<span class="ml10 blod">总计消费:{{ sumFee.toFixed(2) }}</span>
</p>
<p class="tips" v-else>
成功发送:国内短信{{ localCount || 0 }}条,国外短信{{ sumInternational || 0 }}
......@@ -534,8 +534,8 @@ export default {
this.tableList = [];
}
} else if (type === 'charts') {
this.sumCount = res.result.times || 0;
this.sumFee = res.result.sumFee;
this.sumCount = res.result.sumCallTime * 60;
this.sumFee = res.result.sumFee / 1000;
}
} catch (err) {}
this.loading = false;
......@@ -597,8 +597,8 @@ export default {
this.tableList = [];
}
} else if (type === 'charts') {
this.sumCount = res.result.sumCallTime * 60 || 0;
this.sumFee = res.result.sumFee;
this.sumCount = res.result.sumCallTime * 60;
this.sumFee = res.result.sumFee / 100;
}
} catch (err) {}
this.loading = false;
......@@ -650,17 +650,6 @@ export default {
depart['list'] = [];
this.getDepartmentList();
},
// 11、营销短信导出
// /api-marketing/excel/recharge-sms-marketing-excel
// 2、验证码
// /api-marketing/excel/recharge-sms-valid-excel
// 3、双向呼叫
// /api-marketing/excel/recharge-call-excel
// 4、存储导出
// /api-marketing/excel/recharge-call-storage-excel
// 导出表格数据
cdkeyExport() {
const exportData = this.exportData;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment