保安服务企业管理-验收版本
liuyg
2021-09-09 81e8974f3544d7e58d528c2df973f7486809482c
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);