This commit is contained in:
yunkexin 2026-05-13 15:56:18 +08:00
parent 367d927d7e
commit dc0a64a3d8
2 changed files with 9 additions and 7 deletions

View File

@ -104,11 +104,11 @@
</u-form-item>
<view v-if="!signable">
<view v-if="isLoadOK&&model.Nav_Notify.CHECKTYPE&&(model.Nav_Notify.CHECKTYPE == 51||model.Nav_Notify.CHECKTYPE == 56||model.Nav_Notify.CHECKTYPE == 81)">
<u-button type="primary" class="bottom" v-if='model.Nav_Notify.CHECKTYPE == 51' @click="openTest(model.ID)">查看试卷</u-button>
<u-button type="primary" class="bottom" v-if='model.Nav_Notify.CHECKTYPE == 51' @click="openTest(model.ID,item.USER_ID)">查看试卷</u-button>
<full-upload v-model="item.Nav_Files" :listProp='listPropUpload' :listPropVal='listPropValUpload' :isShowBtn="false" v-else></full-upload>
</view>
<view v-else>
<u-button type="primary" class="bottom" @click="openTest(model.ID)">查看试卷</u-button>
<u-button type="primary" class="bottom" @click="openTest(model.ID,item.USER_ID)">查看试卷</u-button>
</view>
</view>
@ -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() {

View File

@ -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);