From 367d927d7e63a9d306976fbc6ea280533b432dc1 Mon Sep 17 00:00:00 2001
From: yunkexin <760754045@qq.com>
Date: Wed, 13 May 2026 15:44:14 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=AC=AC47=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BD=93=E7=8E=B0=E7=9A=84=E4=BF=A1?=
=?UTF-8?q?=E6=81=AF=E6=B2=A1=E6=9C=89=E5=92=8C=E7=BD=91=E9=A1=B5=E7=AB=AF?=
=?UTF-8?q?=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4=EF=BC=8C=E7=9C=8B=E4=B8=8D?=
=?UTF-8?q?=E5=88=B0=E4=BA=BA=E5=91=98=E7=9A=84=E7=AD=BE=E5=88=B0=E3=80=81?=
=?UTF-8?q?=E6=88=90=E7=BB=A9=E3=80=81=E8=AF=95=E5=8D=B7=E7=AD=89=E4=BF=A1?=
=?UTF-8?q?=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/apply/subPages/SE/2trainRecordShow.vue | 94 ++++++++++-
pages/apply/subPages/SE/7answerPageEdit.vue | 154 +++++++++++++------
2 files changed, 191 insertions(+), 57 deletions(-)
diff --git a/pages/apply/subPages/SE/2trainRecordShow.vue b/pages/apply/subPages/SE/2trainRecordShow.vue
index 979ba80..e25b063 100644
--- a/pages/apply/subPages/SE/2trainRecordShow.vue
+++ b/pages/apply/subPages/SE/2trainRecordShow.vue
@@ -43,11 +43,7 @@
- 附件
-
-
-
-
+
@@ -57,17 +53,86 @@
-
+
+ 附件
+
+
+
+
+
+
+
+
+
+
+
+ *
+ 培训签到表
+
+
+
+
+
+
+ {{item.Nav_User?index+1+'.'+item.Nav_User.NAME:index+1+'.'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看试卷
+
+
+
+ 查看试卷
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
签到
- 审核
+ 审阅
@@ -93,6 +158,7 @@
export default {
data() {
return {
+ imgurl: config.uni_app_web_api_url + ':5199',
model: {},
TaskID: "",
tableKey: '0',
@@ -103,6 +169,9 @@
isAgree: false,
enumsData: {}, // 存储所有枚举数据(键:枚举名称,值:处理后的枚举列表)
enumsText: {}, // 存储枚举文本列表(用于下拉选择等场景)
+ signable: false,
+ userId: uni.getStorageSync('appInfo').User.ID,
+ passRate: '100%'
}
},
onLoad(option) {
@@ -205,6 +274,15 @@
this.model.MissUsers = MissUsers;
this.model.LeaveUsers = LeaveUsers;
this.model.Users = Users;
+ let passRateThis = 0
+ let userAll = res.Nav_Users.filter(e => e.STATUS == 0 && e.ENABLE_STATUS == 0 && e.EXAMINATION_RESULTS != null)
+ let userPass = res.Nav_Users.filter(e => e.STATUS == 0 && e.ENABLE_STATUS == 0 && e.EXAMINATION_RESULTS != null && e.EXAMINATION_RESULTS == 1)
+ if (userAll && userAll.length > 0 && userPass && userPass.length > 0) {
+ passRateThis = (userPass.length / userAll.length).toFixed(4) * 100;
+ }
+ this.passRate = passRateThis+'%'
+
+ this.signable = res.STATUS == 1 && res.Nav_Users && res.Nav_Users.find(it => it.USER_ID === this.userId) && (this.tableKey == "1")
this.isLoadOK = true;
})
},
@@ -280,6 +358,8 @@