Commit 20a201c9 authored by 黄奎's avatar 黄奎

页面修改

parent 3b29577b
...@@ -314,9 +314,9 @@ ...@@ -314,9 +314,9 @@
methods: { methods: {
//是否可修改 //是否可修改
isEdit(item) { isEdit(item) {
if (this.currentUserInfo.Id == 1) { // if (this.currentUserInfo.Id == 1) {
return true; // return true;
} // }
return this.currentUserInfo.Id == item.CreateBy && return this.currentUserInfo.Id == item.CreateBy &&
(item.ExamineStatus == 0 || item.ExamineStatus == 3 || item.ExamineStatus == 4) (item.ExamineStatus == 0 || item.ExamineStatus == 3 || item.ExamineStatus == 4)
}, },
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
width: 100%; width: 100%;
} }
.team_tit { .v_matchingQuestion .team_tit {
display: inline-block; display: inline-block;
font-size: 14px; font-size: 14px;
color: #A8A8B3; color: #A8A8B3;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
width: 100% width: 100%
} }
.team_tit { .v_sortingProblemQuestion .team_tit {
font-size: 14px; font-size: 14px;
color: #A8A8B3; color: #A8A8B3;
padding-bottom: 20px; padding-bottom: 20px;
......
...@@ -243,6 +243,7 @@ ...@@ -243,6 +243,7 @@
DifficultyTypeStr: "", //难易程度 DifficultyTypeStr: "", //难易程度
LevelTypeName: "", //考级程度 LevelTypeName: "", //考级程度
QuestionContentObj: [], //选项列表 QuestionContentObj: [], //选项列表
QuestionAnswerList:[],//阅读理解、听力、完型,答案列表
}, },
isShowAnswer: true, //显示答案 isShowAnswer: true, //显示答案
choosePointArray: [], //知识点列表 choosePointArray: [], //知识点列表
...@@ -282,6 +283,9 @@ ...@@ -282,6 +283,9 @@
if (res.Data.QuestionContentObj) { if (res.Data.QuestionContentObj) {
this.objOption.QuestionContentObj = res.Data.QuestionContentObj; this.objOption.QuestionContentObj = res.Data.QuestionContentObj;
} }
if (res.Data.QuestionAnswerList) {
this.objOption.QuestionAnswerList = res.Data.QuestionAnswerList;
}
if (res.Data.QuestionPointList && res.Data.QuestionPointList.length > 0) { if (res.Data.QuestionPointList && res.Data.QuestionPointList.length > 0) {
this.choosePointArray = res.Data.QuestionPointList; this.choosePointArray = res.Data.QuestionPointList;
} }
......
...@@ -49,14 +49,11 @@ ...@@ -49,14 +49,11 @@
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props"> <q-td :props="props">
<!--v-if="props.row.ExamStatus==0||props.row.ExamStatus==2"--> <q-btn v-if="props.row.ExamStatus==0||props.row.ExamStatus==2" flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="学员考试"
<q-btn flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="学员考试"
@click="gotoExamTest(props.row)" /> @click="gotoExamTest(props.row)" />
<!--v-if="props.row.ExamStatus==1"--> <q-btn v-if="props.row.ExamStatus==1" flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="阅卷"
<q-btn flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="阅卷"
@click="gotoExamTestReview(props.row)" /> @click="gotoExamTestReview(props.row)" />
<!--v-if="props.row.ExamStatus==3"--> <q-btn v-if="props.row.ExamStatus==3" flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="详情"
<q-btn flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="详情"
@click="gotoExamTestInfo(props.row)" /> @click="gotoExamTestInfo(props.row)" />
</q-td> </q-td>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment