diff --git a/pages/apply/subPages/SE/2trainRecordEdit.vue b/pages/apply/subPages/SE/2trainRecordEdit.vue
index d2a7c0d..36b1b41 100644
--- a/pages/apply/subPages/SE/2trainRecordEdit.vue
+++ b/pages/apply/subPages/SE/2trainRecordEdit.vue
@@ -3,44 +3,61 @@
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
@@ -49,45 +66,65 @@
附件:
-
+
-
+
-
+
-
-
-
+
+
+
-
-
+
+
+
+
+
+
+
-
+
附件:
-
+
-
+
@@ -97,20 +134,26 @@
-
-
+
+
-
+
- 停止签到
- 取消
+ 停止签到
+ 刷新
提交
@@ -452,6 +495,45 @@
formIndex: undefined
}
},
+
+
+ // --SE/TrainRecordUser/Entities
+ // --SE/SETrainRecord/StopSign
+
+ Refresh() {
+ let json = initFilter(this.ORG_ID)
+ extendRule(json, 'RECORD_ID', 1, this.model.ID);
+ getRequest(json, "/SE/TrainRecordUser/Entities").then(res => {
+ if (res && res.length > 0) {
+ this.model.Nav_Users.forEach(e => {
+ let r = res.find(x => x.ID == e.ID)
+ if (e.DT_SIGN != r.DT_SIGN) {
+ e.DT_SIGN = r.DT_SIGN
+ e.OK = r.OK
+ e.STATUS = r.STATUS
+ e.EXAMINATION_RESULTS = r.EXAMINATION_RESULTS
+ if (e.DT_SIGN != null && e.EXAMINATION_RESULTS == null && this
+ .model.Nav_Notify && this.model.Nav_Notify.CHECKTYPE == 56) {
+ //有签到 默认 考核通过 不考试 Nav_Notify.CHECKTYPE 56
+ e.EXAMINATION_RESULTS = 1
+ }
+ }
+ })
+ }
+ })
+ },
+ StopSign() {
+ let json = initFilter(this.ORG_ID, this.model.ID)
+ getRequest(json, "/SE/SETrainRecord/StopSign").then(res => {
+ if (res) {
+ uni.$showMsgFunc('操作成功!', () => {
+ this.loadData();
+ }, 'success', 1000)
+ } else {
+ uni.navigateBack()
+ }
+ })
+ },
}
}