From f1e994fe9557041a17b5d5e20f8e49d9b193ed0e Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 08 Dec 2021 15:45:02 +0800
Subject: [PATCH] 考试成绩修改

---
 src/views/trainExam/performance.vue |   37 ++++++++++++++++++++++++++++++++++++-
 1 files changed, 36 insertions(+), 1 deletions(-)

diff --git a/src/views/trainExam/performance.vue b/src/views/trainExam/performance.vue
index 6cb37be..a45dec7 100644
--- a/src/views/trainExam/performance.vue
+++ b/src/views/trainExam/performance.vue
@@ -510,6 +510,12 @@
             width: 140,
           },
           {
+            label: "照片",
+            prop: "avatar",
+            type: "upload",
+            listType: "picture-img",
+          },
+          {
             label: "所属公司",
             prop: "companyName",
             search: true,
@@ -539,7 +545,8 @@
                 trigger: "blur",
               },
             ],
-            width: 230,
+            width: 210,
+            overHidden: true,
           },
           {
             label: "考试开始时间",
@@ -764,6 +771,33 @@
             editDisplay: true,
             // 表单编辑时是否为查看模式
             editDetail: false,
+          },
+          {
+            label: "有无照片",
+            prop: "isAvatar",
+            type: "select",
+            search: true,
+            searchLabelWidth: 90,
+            minWidth: 105,
+            searchSpan: 3,
+            addDisplay: false,
+            editDisplay: false,
+            hide: true,
+            display: false,
+            dicData: [
+              {
+                label: "全部",
+                value: 3,
+              },
+              {
+                label: "有",
+                value: 1,
+              },
+              {
+                label: "无",
+                value: 2,
+              },
+            ],
           },
         ],
       },
@@ -1148,6 +1182,7 @@
           data["trainUnitId"] = this.userInfo.dept_id;
         }
         data["examType"] = 2;
+        console.log(data,11225111);
         //序列号url形式,用&拼接
         data = Qs.stringify(data);
         window.open(`/api/examScore/export-examScore?` + data);

--
Gitblit v1.9.3