From 0c4f45c6e9a5494fdcfaf1ecdb32dbd1e3f1eb93 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 13 Aug 2021 21:11:18 +0800
Subject: [PATCH] ct

---
 src/views/record/record.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/views/record/record.vue b/src/views/record/record.vue
index 05eb135..4011d10 100644
--- a/src/views/record/record.vue
+++ b/src/views/record/record.vue
@@ -456,12 +456,13 @@
     },
     rowDel(row) {
       this.$confirm("是否通过?", {
-        confirmButtonText: "是",
-        cancelButtonText: "否",
+        confirmButtonText: "通过",
+        cancelButtonText: "不通过",
         type: "warning",
       })
         .then(() => {
           row.type = "0";
+          row.examinetime = this.getCurrentTime();
           return update(row);
         })
         .then(() => {
@@ -474,6 +475,12 @@
         .catch(() => {
           row.type = "1";
           return update(row);
+          // update(row);
+          // this.onLoad(this.page);
+          // this.$message({
+          //   type: "warning",
+          //   message: "操作成功!",
+          // });
         });
     },
     // 审批打印

--
Gitblit v1.9.3