diff --git a/pages/apply/subPages/SE/2trainRecordShow.vue b/pages/apply/subPages/SE/2trainRecordShow.vue index e25b063..cd23359 100644 --- a/pages/apply/subPages/SE/2trainRecordShow.vue +++ b/pages/apply/subPages/SE/2trainRecordShow.vue @@ -104,11 +104,11 @@ - 查看试卷 + 查看试卷 - 查看试卷 + 查看试卷 @@ -319,9 +319,9 @@ return '公司 '; } }, - openTest(id) { + openTest(id,userid) { uni.navigateTo({ - url: '/pages/apply/subPages/SE/7answerPageEdit?ID=' + id + url: '/pages/apply/subPages/SE/7answerPageEdit?ID=' + id+'&userID='+userid }) }, onTableBtnAgree() { diff --git a/pages/apply/subPages/SE/7answerPageEdit.vue b/pages/apply/subPages/SE/7answerPageEdit.vue index 7e5c32f..d52ccc9 100644 --- a/pages/apply/subPages/SE/7answerPageEdit.vue +++ b/pages/apply/subPages/SE/7answerPageEdit.vue @@ -172,6 +172,7 @@ listViewInfo: [], VIEWSEC: 0, currSce: 0, + nowUser:'' } // https: //sps.cxtc.com:3199/BT/VIDEO/20251226/251226100216835841.mp4 // https: //sps.cxtc.com:3199/BT/VIDEO/20251226/12345.mp4 @@ -181,6 +182,7 @@ this.model.ID = option.ID ? option.ID : ''; this.EDIT_ID = option.ID ? option.ID : ''; this.tableKey = option.tableKey ? option.tableKey : '0' + this.nowUser = option.userID?option.userID:'' if (!option.tableKey) { this.viewAll = true } @@ -199,9 +201,9 @@ if (res && res.length > 0) { this.UserList = res if (this.viewAll) { - this.SelUsrID = res[0].ID; - this.SelUsrNAME = res[0].NAME - this.SelUsrCODE = res[0].CODE + this.SelUsrID = this.nowUser + this.SelUsrNAME = res.find(it => it.ID === this.nowUser).NAME + this.SelUsrCODE = res.find(it => it.ID === this.nowUser).CODE this.getPapers(); } else { let usr = res.find(it => it.ID == uni.getStorageSync('appInfo')?.User?.ID);