From dffa1cb381bf14d46d9f4c3927e989687923ff3c Mon Sep 17 00:00:00 2001
From: wyw <571921741@qq.com>
Date: Wed, 15 Jul 2026 09:46:15 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=A7=8B=E7=AD=BE=E5=88=B0=E6=97=B6?=
=?UTF-8?q?=E9=97=B4=20=E4=B8=8D=E5=81=9A=E8=B7=9F=E7=9D=80=E5=9F=B9?=
=?UTF-8?q?=E8=AE=AD=E6=97=B6=E9=97=B4=E9=BB=98=E8=AE=A4=E8=B5=8B=E5=80=BC?=
=?UTF-8?q?=E6=8F=90=E5=89=8D5=E5=88=86=E9=92=9F=20=E3=80=81=E9=9D=9E?=
=?UTF-8?q?=E5=BF=85=E5=A1=AB=20=E6=98=AF=E5=90=A6=E8=A7=A6=E5=8F=91?=
=?UTF-8?q?=E5=9F=B9=E8=AE=AD=E9=80=9A=E7=9F=A5=20=20=3D>=20=E6=98=AF?=
=?UTF-8?q?=E5=90=A6=E8=A7=A6=E5=8F=91=E5=9F=B9=E8=AE=AD=E9=80=9A=E7=9F=A5?=
=?UTF-8?q?=E5=8F=8D=E9=A6=88=20=E5=9F=B9=E8=AE=AD=E7=AD=BE=E5=88=B0=20?=
=?UTF-8?q?=E5=AE=A1=E9=98=85=20=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9=20=EF=BC=88=E9=9D=9E?=
=?UTF-8?q?=E7=AD=BE=E5=88=B0=E4=B8=AD=20=E5=A4=84=E7=90=86=E7=AD=BE?=
=?UTF-8?q?=E5=88=B0=20=20=E6=9E=9A=E4=B8=BE=E5=80=BC=E5=8F=98=E6=9B=B4?=
=?UTF-8?q?=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/apply/subPages/SE/1trainNotifyEdit.vue | 14 +--
pages/apply/subPages/SE/2trainRecordShow.vue | 118 ++++++++++++-------
2 files changed, 85 insertions(+), 47 deletions(-)
diff --git a/pages/apply/subPages/SE/1trainNotifyEdit.vue b/pages/apply/subPages/SE/1trainNotifyEdit.vue
index 47c5a5d..5deea30 100644
--- a/pages/apply/subPages/SE/1trainNotifyEdit.vue
+++ b/pages/apply/subPages/SE/1trainNotifyEdit.vue
@@ -42,22 +42,22 @@
inputAlign="right" customStyle="margin:0px;display:flex;padding:3px 0px">
-
-
-
+
@@ -398,7 +398,7 @@
} = this.dateTimePickerInfo
if (name === 'TRAIN_START_TIME') {
this.model.TRAIN_START_TIME = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM')
- this.model.DT_START_SIGN =uni.$u.timeFormat(new Date(e.value - 5 * 60 * 1000), 'yyyy-mm-dd hh:MM');
+ // this.model.DT_START_SIGN =uni.$u.timeFormat(new Date(e.value - 5 * 60 * 1000), 'yyyy-mm-dd hh:MM');
} else if (name === 'TRAIN_END_TIME') {
this.model.TRAIN_END_TIME = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM')
} else if (name === 'DT_START_SIGN') {
@@ -410,8 +410,8 @@
this.model.HOURS = ((new Date(this.model.TRAIN_END_TIME).getTime() - new Date(this.model
.TRAIN_START_TIME).getTime()) / 1000 / 60 / 45.0).toFixed(1)
}
-
-
+
+
this.dateTimePickerInfo.showCheckDate = false
},
//时间end
diff --git a/pages/apply/subPages/SE/2trainRecordShow.vue b/pages/apply/subPages/SE/2trainRecordShow.vue
index ebf967b..e2a1b43 100644
--- a/pages/apply/subPages/SE/2trainRecordShow.vue
+++ b/pages/apply/subPages/SE/2trainRecordShow.vue
@@ -3,39 +3,52 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -52,26 +65,33 @@
-
-
附件
-
+
-
+
-
+
-
+
*
- 培训签到表
+
+ 培训签到表
@@ -85,37 +105,48 @@
-
+
-
+
-
+
-
-
+
+
- 查看试卷
-
+ 查看试卷
+
- 查看试卷
+ 查看试卷
-
+
@@ -128,10 +159,13 @@
-
- 签到
+
+ 签到
-
+
审阅
@@ -172,7 +206,7 @@
signable: false,
userId: uni.getStorageSync('appInfo').User.ID,
passRate: '100%',
- isCHECKTYPE:true
+ isCHECKTYPE: true
}
},
onLoad(option) {
@@ -269,22 +303,26 @@
// this.model.LEVEL = this.transLevel(this.model.Nav_Notify.LEVEL);
this.model.TRAIN_TIME = this.model.Nav_Notify.TRAIN_START_TIME?.substring(0, 16) + "~" + this
.model.Nav_Notify
- .TRAIN_END_TIME?.substring(0, 16);
+ .TRAIN_END_TIME?.substring(8, 16);
this.model.TRAINCONTENT = trainContent;
this.model.trainCour = trainCour;
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)
+ 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.isCHECKTYPE = this.model.Nav_Notify.CHECKTYPE == 51||this.model.Nav_Notify.CHECKTYPE == 56||this.model.Nav_Notify.CHECKTYPE == 81
+ this.passRate = passRateThis + '%'
+ this.isCHECKTYPE = this.model.Nav_Notify.CHECKTYPE == 51 || this.model.Nav_Notify.CHECKTYPE ==
+ 56 || this.model.Nav_Notify.CHECKTYPE == 81
- this.signable = res.STATUS == 1 && res.Nav_Users && res.Nav_Users.find(it => it.USER_ID === this.userId) && (this.tableKey == "1")
+ this.signable = res.STATUS == 1 && res.Nav_Users && res.Nav_Users.find(it => it.USER_ID ===
+ this.userId) && (this.tableKey == "1")
this.isLoadOK = true;
})
},
@@ -321,9 +359,9 @@
return '公司 ';
}
},
- openTest(id,userid) {
+ openTest(id, userid) {
uni.navigateTo({
- url: '/pages/apply/subPages/SE/7answerPageEdit?ID=' + id+'&userID='+userid
+ url: '/pages/apply/subPages/SE/7answerPageEdit?ID=' + id + '&userID=' + userid
})
},
onTableBtnAgree() {