From 7a175d049f2de72795b7d81baa4d41f59b3b7ef1 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 13 Aug 2021 20:48:28 +0800
Subject: [PATCH] 保安公司修改  字段, 加处罚,资格审查调整  搜索 字段  成绩查询  保安服务单位   报名列表

---
 src/views/record/record.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/views/record/record.vue b/src/views/record/record.vue
index f6fedc7..338a461 100644
--- a/src/views/record/record.vue
+++ b/src/views/record/record.vue
@@ -45,7 +45,7 @@
           :size="size"
           :type="type"
           @click.stop="rowDel(row)"
-          >备案审批
+          >审批
         </el-button>
       </template>
       <template class="tdtype" slot-scope="{ row }" slot="type">
@@ -401,9 +401,9 @@
       );
     },
     rowDel(row) {
-      this.$confirm("确定对选择的备案进行审批?", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
+      this.$confirm("是否通过?", {
+        confirmButtonText: " 是 ",
+        cancelButtonText: "否",
         type: "warning",
       })
         .then(() => {
@@ -416,6 +416,10 @@
             type: "success",
             message: "操作成功!",
           });
+        })
+        .catch(() => {
+          row.type = "1";
+          return update(row);
         });
     },
     handleDelete() {

--
Gitblit v1.9.3