Commit e4418ff3 authored by 黄奎's avatar 黄奎

页面修改

parent 1a15b469
...@@ -249,7 +249,8 @@ ...@@ -249,7 +249,8 @@
<div> <div>
<div> <div>
{{DataObj.PaperName}} <br /> {{DataObj.PaperName}} <br />
题量:{{examNum}} &nbsp;&nbsp;&nbsp; 满分:{{examScore}} 题量:{{examNum}} &nbsp;&nbsp;&nbsp; 满分:{{examScore}}
</div> </div>
</div> </div>
<div style="width:20%;text-align:right;"> <div style="width:20%;text-align:right;">
...@@ -362,7 +363,7 @@ ...@@ -362,7 +363,7 @@
PaperName: '', //试卷名称 PaperName: '', //试卷名称
GroupList: [], //试卷答题分类 GroupList: [], //试卷答题分类
}, },
PaperConfig:{},//试卷配置 PaperConfig: {}, //试卷配置
isShowAnswer: false, //是否显示答案 isShowAnswer: false, //是否显示答案
examScore: 0, //总分, examScore: 0, //总分,
examNum: 0, //总题量 examNum: 0, //总题量
...@@ -408,14 +409,14 @@ ...@@ -408,14 +409,14 @@
GetPaperInfo() { GetPaperInfo() {
queryPaperDetails(this.msg).then(res => { queryPaperDetails(this.msg).then(res => {
var tempData = res.Data; var tempData = res.Data;
console.log("tempData",tempData); console.log("tempData", tempData);
if (res.Code == 1) { if (res.Code == 1) {
this.DataObj.PaperId = tempData.Paper.PaperId; this.DataObj.PaperId = tempData.Paper.PaperId;
this.DataObj.PaperName = tempData.Paper.PaperName; this.DataObj.PaperName = tempData.Paper.PaperName;
if (tempData.Paper.GroupList && tempData.Paper.GroupList.length > 0) { if (tempData.Paper.GroupList && tempData.Paper.GroupList.length > 0) {
this.DataObj.GroupList = tempData.Paper.GroupList; this.DataObj.GroupList = tempData.Paper.GroupList;
} }
this.PaperConfig=tempData.Publish; this.PaperConfig = tempData.Publish;
this.calcPaper(); this.calcPaper();
} }
}) })
......
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