|
@@ -260,25 +260,25 @@ export default {
|
|
|
if (type === 1) {
|
|
|
//搜索Id处理数据
|
|
|
this.$api.obtainbankexam(row).then((res) => {
|
|
|
- console.log(111);
|
|
|
this.topData = {
|
|
|
answerTime: res.data.answerTime,
|
|
|
answerNum: res.data.answerNum,
|
|
|
doType: res.data.doType,
|
|
|
passScore: res.data.passScore,
|
|
|
};
|
|
|
- });
|
|
|
- this.$api.inquirebankexamquestionList({ examId: row }).then((res) => {
|
|
|
- res.data.map((item) => {
|
|
|
- item.optionsList = JSON.parse(item.jsonStr);
|
|
|
- });
|
|
|
- this.tableData = res.data;
|
|
|
- var num = 0;
|
|
|
- res.data.forEach((item) => {
|
|
|
- num += item.score;
|
|
|
+ this.$api.inquirebankexamquestionList({ examId: row }).then((res) => {
|
|
|
+ res.data.map((item) => {
|
|
|
+ item.optionsList = JSON.parse(item.jsonStr);
|
|
|
+ });
|
|
|
+ this.tableData = res.data;
|
|
|
+ var num = 0;
|
|
|
+ res.data.forEach((item) => {
|
|
|
+ num += item.score;
|
|
|
+ });
|
|
|
+ this.topData.getAllpocis = num;
|
|
|
+
|
|
|
+ this.diavos = true;
|
|
|
});
|
|
|
- this.topData.getAllpocis = num;
|
|
|
- this.diavos = true;
|
|
|
});
|
|
|
}
|
|
|
if (type === 2) {
|