|
@@ -787,12 +787,10 @@ export default {
|
|
|
current: 0,
|
|
|
bankType: 0,
|
|
|
timer: null,
|
|
|
- examData: {},
|
|
|
orderGoodsId: "",
|
|
|
collectList: [],
|
|
|
isSubmit: false,
|
|
|
postTimer: null,
|
|
|
- examName: "",
|
|
|
number: '',
|
|
|
};
|
|
|
},
|
|
@@ -1160,7 +1158,7 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
this.examId = res.data.examId
|
|
|
- this.bankType = res.data.type
|
|
|
+ this.bankExam()
|
|
|
res.data.questionList.forEach((item, index) => {
|
|
|
item.jsonStr = JSON.parse(item.jsonStr);
|
|
|
|
|
@@ -1461,8 +1459,6 @@ export default {
|
|
|
return new Promise((resolve) => {
|
|
|
this.$request.bankExam(this.examId).then((res) => {
|
|
|
this.bankType = res.data.doType;
|
|
|
- this.examName = res.data.examName;
|
|
|
- this.examData = res.data;
|
|
|
if (this.bankType == 2) {
|
|
|
this.needBack = true;
|
|
|
}
|
|
@@ -1598,6 +1594,7 @@ export default {
|
|
|
* 判断点击确认
|
|
|
*/
|
|
|
judgeSelect(question, questionIndex, index) {
|
|
|
+ console.log(this.bankType)
|
|
|
// if (question.ques) return;
|
|
|
if (question.ques && this.bankType == 1) {
|
|
|
return;
|