From fe0c2d838e1657dbe3efdf4dfd083cee6cf80de1 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 13 Sep 2021 19:20:26 +0800
Subject: [PATCH] 考试报名,培训报名修改
---
src/views/securityGuard/securityGuardDetail.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/views/securityGuard/securityGuardDetail.vue b/src/views/securityGuard/securityGuardDetail.vue
index f4141d8..fca1bbd 100644
--- a/src/views/securityGuard/securityGuardDetail.vue
+++ b/src/views/securityGuard/securityGuardDetail.vue
@@ -103,10 +103,10 @@
import {
getPerformanceInfo,
- add,
- update,
- page,
- remove,
+ trackRecordadd,
+ trackRecordupdate,
+ trackRecordpage,
+ trackRecordremove,
getER,
} from "@/api/performance/performance";
@@ -286,7 +286,7 @@
var param = {
securityid: this.id,
};
- page(this.current, this.size, param).then((res2) => {
+ trackRecordpage(this.current, this.size, param).then((res2) => {
const data = res2.data.data;
this.page2.total = data.total;
this.data2 = data.records;
@@ -297,7 +297,7 @@
rowSave2(form, done, loading) {
form.securityid = this.id;
- add(form).then(
+ trackRecordadd(form).then(
(res) => {
this.getPerformancePageInfo(this.page2);
this.$message({
@@ -334,7 +334,7 @@
},
rowUpdate2(row, index, done, loading) {
row.securityid = this.id;
- update(row).then(
+ trackRecordupdate(row).then(
() => {
this.getPerformancePageInfo(this.page2);
this.$message({
@@ -373,7 +373,7 @@
type: "warning",
})
.then(() => {
- return remove(row.id);
+ return trackRecordremove(row.id);
})
.then(() => {
this.getPerformancePageInfo(this.page2);
--
Gitblit v1.9.3