重新调整
This commit is contained in:
parent
dc0a64a3d8
commit
453e1f13b7
@ -103,7 +103,7 @@
|
||||
<u-form-item label="查看试卷" prop="HIDDEN_PLACE">
|
||||
</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)">
|
||||
<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>
|
||||
<full-upload v-model="item.Nav_Files" :listProp='listPropUpload' :listPropVal='listPropValUpload' :isShowBtn="false" v-else></full-upload>
|
||||
</view>
|
||||
@ -171,7 +171,8 @@
|
||||
enumsText: {}, // 存储枚举文本列表(用于下拉选择等场景)
|
||||
signable: false,
|
||||
userId: uni.getStorageSync('appInfo').User.ID,
|
||||
passRate: '100%'
|
||||
passRate: '100%',
|
||||
isCHECKTYPE:true
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
@ -205,7 +206,7 @@
|
||||
extendInclude(json, 'Nav_Notify.Nav_TrainType');
|
||||
extendInclude(json, 'Nav_Users.Nav_User');
|
||||
extendInclude(json, 'Nav_Files.Nav_ImgFile');
|
||||
extendInclude(json, 'Nav_Users.Nav_User');
|
||||
extendInclude(json, 'Nav_Users.Nav_Files.Nav_ImgFile');
|
||||
extendInclude(json, 'Nav_Papers');
|
||||
getRequest(json, "/SE/TrainRecord/Get").then(res => {
|
||||
this.model = res
|
||||
@ -281,6 +282,7 @@
|
||||
passRateThis = (userPass.length / userAll.length).toFixed(4) * 100;
|
||||
}
|
||||
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.isLoadOK = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user