From a521131c5b8b74faf9ed9471024daa34d3d0e3d4 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 27 Oct 2021 15:39:44 +0800
Subject: [PATCH] 考试申请修改

---
 src/views/securityGuard/securityGuard.vue |   16 ++++++++--------
 src/views/trainExam/performance.vue       |    8 ++++++--
 src/views/trainingRegistration/index.vue  |   10 +++++-----
 3 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/src/views/securityGuard/securityGuard.vue b/src/views/securityGuard/securityGuard.vue
index 99397d1..2262b8f 100644
--- a/src/views/securityGuard/securityGuard.vue
+++ b/src/views/securityGuard/securityGuard.vue
@@ -723,14 +723,14 @@
                 prop: "securitynumber",
                 hide: true,
               },
-              {
-                label: "发证日期",
-                prop: "paperTime",
-                hide: true,
-                type: "date",
-                format: "yyyy-MM-dd",
-                valueFormat: "yyyy-MM-dd",
-              },
+              // {
+              //   label: "发证日期",
+              //   prop: "paperTime",
+              //   hide: true,
+              //   type: "date",
+              //   format: "yyyy-MM-dd",
+              //   valueFormat: "yyyy-MM-dd",
+              // },
               {
                 label: "电子邮箱",
                 prop: "email",
diff --git a/src/views/trainExam/performance.vue b/src/views/trainExam/performance.vue
index c4fc148..a2feeef 100644
--- a/src/views/trainExam/performance.vue
+++ b/src/views/trainExam/performance.vue
@@ -95,12 +95,12 @@
                 >缺考标记</el-button
               >
               <el-button
-                icon="el-icon-s-flag"
+                icon="el-icon-s-promotion"
                 @click="openzhengjian(row)"
                 :disabled="row.qualified != 0"
                 :size="size"
                 :type="type"
-                >打印证件</el-button
+                >发证</el-button
               >
             </template>
           </avue-crud>
@@ -774,6 +774,10 @@
     uploadAfter(res, done, loading, column) {
       window.console.log(column);
       this.excelBox = false;
+      // this.$message({
+      //   type: "success",
+      //   message: "操作成功!",
+      // });
       this.refreshChange();
       done();
     },
diff --git a/src/views/trainingRegistration/index.vue b/src/views/trainingRegistration/index.vue
index b3336fa..ad2c4bf 100644
--- a/src/views/trainingRegistration/index.vue
+++ b/src/views/trainingRegistration/index.vue
@@ -628,14 +628,14 @@
       //   return;
       // }
 
-      // if (that.userInfo.role_name == "培训公司管理员") {
-      //   //如果是培训公司管理员
-      //   row["trainingUnitId"] = that.userInfo.dept_id;
-      // }
+      if (that.userInfo.role_name == "培训公司管理员") {
+        //如果是培训公司管理员
+        row["trainingUnitId"] = that.userInfo.dept_id;
+      }
 
       // row["number"] = row.serialEnd - row.serialStart + 1;
       // //创建人
-      // row["creator"] = this.userInfo.Id;
+      row["creator"] = this.userInfo.Id;
       let cho = this.choiceName;
       let str = "";
       for (let k in cho) {

--
Gitblit v1.9.3