1
This commit is contained in:
parent
367d927d7e
commit
dc0a64a3d8
@ -104,11 +104,11 @@
|
|||||||
</u-form-item>
|
</u-form-item>
|
||||||
<view v-if="!signable">
|
<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)">
|
<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>
|
<full-upload v-model="item.Nav_Files" :listProp='listPropUpload' :listPropVal='listPropValUpload' :isShowBtn="false" v-else></full-upload>
|
||||||
</view>
|
</view>
|
||||||
<view v-else>
|
<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>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -319,9 +319,9 @@
|
|||||||
return '公司 ';
|
return '公司 ';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openTest(id) {
|
openTest(id,userid) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/apply/subPages/SE/7answerPageEdit?ID=' + id
|
url: '/pages/apply/subPages/SE/7answerPageEdit?ID=' + id+'&userID='+userid
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onTableBtnAgree() {
|
onTableBtnAgree() {
|
||||||
|
|||||||
@ -172,6 +172,7 @@
|
|||||||
listViewInfo: [],
|
listViewInfo: [],
|
||||||
VIEWSEC: 0,
|
VIEWSEC: 0,
|
||||||
currSce: 0,
|
currSce: 0,
|
||||||
|
nowUser:''
|
||||||
}
|
}
|
||||||
// https: //sps.cxtc.com:3199/BT/VIDEO/20251226/251226100216835841.mp4
|
// https: //sps.cxtc.com:3199/BT/VIDEO/20251226/251226100216835841.mp4
|
||||||
// https: //sps.cxtc.com:3199/BT/VIDEO/20251226/12345.mp4
|
// https: //sps.cxtc.com:3199/BT/VIDEO/20251226/12345.mp4
|
||||||
@ -181,6 +182,7 @@
|
|||||||
this.model.ID = option.ID ? option.ID : '';
|
this.model.ID = option.ID ? option.ID : '';
|
||||||
this.EDIT_ID = option.ID ? option.ID : '';
|
this.EDIT_ID = option.ID ? option.ID : '';
|
||||||
this.tableKey = option.tableKey ? option.tableKey : '0'
|
this.tableKey = option.tableKey ? option.tableKey : '0'
|
||||||
|
this.nowUser = option.userID?option.userID:''
|
||||||
if (!option.tableKey) {
|
if (!option.tableKey) {
|
||||||
this.viewAll = true
|
this.viewAll = true
|
||||||
}
|
}
|
||||||
@ -199,9 +201,9 @@
|
|||||||
if (res && res.length > 0) {
|
if (res && res.length > 0) {
|
||||||
this.UserList = res
|
this.UserList = res
|
||||||
if (this.viewAll) {
|
if (this.viewAll) {
|
||||||
this.SelUsrID = res[0].ID;
|
this.SelUsrID = this.nowUser
|
||||||
this.SelUsrNAME = res[0].NAME
|
this.SelUsrNAME = res.find(it => it.ID === this.nowUser).NAME
|
||||||
this.SelUsrCODE = res[0].CODE
|
this.SelUsrCODE = res.find(it => it.ID === this.nowUser).CODE
|
||||||
this.getPapers();
|
this.getPapers();
|
||||||
} else {
|
} else {
|
||||||
let usr = res.find(it => it.ID == uni.getStorageSync('appInfo')?.User?.ID);
|
let usr = res.find(it => it.ID == uni.getStorageSync('appInfo')?.User?.ID);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user