From fa72be7e5e5d2b58a079e2896e5a2208fa6b8e13 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 06 Aug 2021 11:38:56 +0800
Subject: [PATCH] 报名考试去重,同一场考试,审核通过的,已报考的人员不能再报名

---
 src/views/securityUnit/index.vue |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/views/securityUnit/index.vue b/src/views/securityUnit/index.vue
index 123fc68..23fb637 100644
--- a/src/views/securityUnit/index.vue
+++ b/src/views/securityUnit/index.vue
@@ -212,12 +212,13 @@
       query: {},
       data: [],
       option: {
+        index: true,
         addBtn: false,
         // card: true,
         tip: false,
         searchSize: "mini",
         searchMenuSpan: 6,
-        height: 623,
+        height: 693,
         menuWidth: 160,
         align: "center",
         selection: true,
@@ -331,7 +332,7 @@
       })
         .then(() => {
           console.log(row);
-          return remove(row.creditcode);
+          return remove(row.creditcode, row.departmentid);
         })
         .then(() => {
           this.onLoad(this.page);
@@ -355,8 +356,8 @@
         type: "warning",
       })
         .then(() => {
-          // console.log(this.ids);
-          return remove(this.ids);
+          console.log(this.ids);
+          // return remove(this.ids);
         })
         .then(() => {
           this.onLoad(this.page);
@@ -421,7 +422,7 @@
           }
         }
       }
-      // console.log(d);
+      console.log(d);
       for (var k in d) {
         if (d[k] == "" || d[k] == undefined) {
           console.log(k);
@@ -506,10 +507,8 @@
       });
       var time = setTimeout(() => {
         this.onLoad(this.page, this.query);
-        clearTimeout(time);
-        time = null;
+        console.log(this.data0, this.data1, this.data2, "已刷新");
       }, 500);
-      console.log(this.data0, this.data1, this.data2);
       this.tipover();
     },
     tip1up1() {

--
Gitblit v1.9.3