From 066c006fa78a5890f4b5a24416087327471de3f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=9C=E8=B4=A4=E9=87=91?= <1960116313@qq.com> Date: Thu, 14 Jul 2022 18:44:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8D=A1=E5=87=BA=E5=BA=93=E6=96=B0?= =?UTF-8?q?=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../communicationmanage/outbound/outbound.vue | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/views/communicationmanage/outbound/outbound.vue b/src/views/communicationmanage/outbound/outbound.vue index 94b8084..1c31ac1 100644 --- a/src/views/communicationmanage/outbound/outbound.vue +++ b/src/views/communicationmanage/outbound/outbound.vue @@ -79,6 +79,20 @@ + + +
+  同步流量 +
+
+
@@ -175,6 +189,7 @@ import { syncRealNameStatus, updateSimStatus, } from "@/api/communication/outbound"; +import { syncUsage } from "@/api/informationmanage/sim.js"; import { mapGetters } from "vuex"; import { getToken } from "@/util/auth"; export default { @@ -895,6 +910,17 @@ export default { }); } }, + //同步流量 + handleFlow(id) { + syncUsage(id).then((res) => { + if (res.data.code == 200) { + this.$message.success("同步成功"); + this.onLoad(this.page, this.query); + } else { + this.$message.error("同步失败"); + } + }); + }, onLoad(page, params = {}) { this.loading = true; getList(