diff --git a/src/api/communication/basiccard.js b/src/api/communication/basiccard.js
index 7f49abc..edd3dd6 100644
--- a/src/api/communication/basiccard.js
+++ b/src/api/communication/basiccard.js
@@ -72,6 +72,17 @@ export const simdeliver = (params) => {
}
})
}
+//回拨操作
+export const simCallback = (params) => {
+ return request({
+ url: '/api/iot-sim/simcard/simCallback',
+ method: 'post',
+ params: {
+ ...params,
+ }
+ })
+}
+
//通道
export const channelfillData = () => {
return request({
diff --git a/src/views/communicationmanage/basiccard/basiccard.vue b/src/views/communicationmanage/basiccard/basiccard.vue
index c5f9a07..c125c03 100644
--- a/src/views/communicationmanage/basiccard/basiccard.vue
+++ b/src/views/communicationmanage/basiccard/basiccard.vue
@@ -38,10 +38,17 @@
分拨
+ 回拨
-
+
-
+
-
+
{
if (valid) {
- simdeliver(this.distribution).then((res) => {
- if (res.data.data == "") {
- this.$message.success("操作成功");
- this.$refs.distribution.resetFields();
- this.dialogVisible = false;
- } else {
- const h = this.$createElement;
- this.$notify.error({
- title: "出库失败号码",
- message: h(
- "i",
- { style: "color: teal; word-break: break-all;" },
- res.data.data
- ),
- duration: 0,
- });
- this.$refs.distribution.resetFields();
- this.dialogVisible = false;
- }
- });
+ if (this.distitle == "分拨") {
+ simdeliver(this.distribution).then((res) => {
+ if (res.data.data == "") {
+ this.$message.success("操作成功");
+ this.$refs.distribution.resetFields();
+ this.dialogVisible = false;
+ } else {
+ const h = this.$createElement;
+ this.$notify.error({
+ title: "出库失败号码",
+ message: h(
+ "i",
+ { style: "color: teal; word-break: break-all;" },
+ res.data.data
+ ),
+ duration: 0,
+ });
+ this.$refs.distribution.resetFields();
+ this.dialogVisible = false;
+ }
+ });
+ } else {
+ // 写回播
+ }
} else {
}
});
},
+
onLoad(page, params = {}) {
this.loading = true;
getList(
diff --git a/src/views/communicationmanage/device/device.vue b/src/views/communicationmanage/device/device.vue
index 17da7cb..8a58c65 100644
--- a/src/views/communicationmanage/device/device.vue
+++ b/src/views/communicationmanage/device/device.vue
@@ -443,21 +443,6 @@ export default {
this.refreshChange();
done();
},
- handleExport() {
- this.$confirm("是否导出用户数据?", "提示", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
- }).then(() => {
- window.open(
- `/api/iot-system/user/export-user?${
- this.website.tokenHeader
- }=${getToken()}&account=${this.search.account}&realName=${
- this.search.realName
- }`
- );
- });
- },
currentChange(currentPage) {
this.page.currentPage = currentPage;
},
diff --git a/src/views/original/targetpackagegroupmanage/index.vue b/src/views/original/targetpackagegroupmanage/index.vue
index 0a1c01b..ee15ae3 100644
--- a/src/views/original/targetpackagegroupmanage/index.vue
+++ b/src/views/original/targetpackagegroupmanage/index.vue
@@ -33,7 +33,6 @@ import {
} from "@/api/packagemanage/packgegroup";
import { mapGetters } from "vuex";
import { getToken } from "@/util/auth";
-import { number } from "mathjs";
export default {
data() {
return {
diff --git a/src/views/package/packagegroup/index.vue b/src/views/package/packagegroup/index.vue
index 1c6145c..0e2ded8 100644
--- a/src/views/package/packagegroup/index.vue
+++ b/src/views/package/packagegroup/index.vue
@@ -33,7 +33,6 @@ import {
} from "@/api/packagemanage/packgegroup";
import { mapGetters } from "vuex";
import { getToken } from "@/util/auth";
-import { number } from "mathjs";
export default {
data() {
return {