重新调整

This commit is contained in:
yunkexin 2026-05-13 16:28:44 +08:00
parent dc0a64a3d8
commit 453e1f13b7

View File

@ -103,7 +103,7 @@
<u-form-item label="查看试卷" prop="HIDDEN_PLACE"> <u-form-item label="查看试卷" prop="HIDDEN_PLACE">
</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&&isCHECKTYPE">
<u-button type="primary" class="bottom" v-if='model.Nav_Notify.CHECKTYPE == 51' @click="openTest(model.ID,item.USER_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>
@ -171,7 +171,8 @@
enumsText: {}, // enumsText: {}, //
signable: false, signable: false,
userId: uni.getStorageSync('appInfo').User.ID, userId: uni.getStorageSync('appInfo').User.ID,
passRate: '100%' passRate: '100%',
isCHECKTYPE:true
} }
}, },
onLoad(option) { onLoad(option) {
@ -205,7 +206,7 @@
extendInclude(json, 'Nav_Notify.Nav_TrainType'); extendInclude(json, 'Nav_Notify.Nav_TrainType');
extendInclude(json, 'Nav_Users.Nav_User'); extendInclude(json, 'Nav_Users.Nav_User');
extendInclude(json, 'Nav_Files.Nav_ImgFile'); extendInclude(json, 'Nav_Files.Nav_ImgFile');
extendInclude(json, 'Nav_Users.Nav_User'); extendInclude(json, 'Nav_Users.Nav_Files.Nav_ImgFile');
extendInclude(json, 'Nav_Papers'); extendInclude(json, 'Nav_Papers');
getRequest(json, "/SE/TrainRecord/Get").then(res => { getRequest(json, "/SE/TrainRecord/Get").then(res => {
this.model = res this.model = res
@ -281,6 +282,7 @@
passRateThis = (userPass.length / userAll.length).toFixed(4) * 100; passRateThis = (userPass.length / userAll.length).toFixed(4) * 100;
} }
this.passRate = passRateThis+'%' 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; this.isLoadOK = true;