Commit 85ed244e authored by 黄奎's avatar 黄奎

页面修改

parent e6da0cef
......@@ -31,6 +31,9 @@
<tr>
<td colspan="2">正确答案:{{data.Answer}}</td>
</tr>
<tr v-if="data.StundetAnswer">
<td colspan="2">考生答案:{{data.StundetAnswer}}</td>
</tr>
<tr>
<td colspan="2">解析:<span v-html="data.AnswerParse"></span></td>
</tr>
......
......@@ -139,11 +139,19 @@
},
//跳转到考试详情
gotoExamTest(item) {
var qMsg = {};
var qMsg = {
Id: item.Id,
GuestId: item.GuestId,
PaperId: item.PaperId,
};
this.OpenNewUrl('/exam/examtest', qMsg);
},
gotoExamTestReview(item) {
var qMsg = {};
var qMsg = {
Id: item.Id,
GuestId: item.GuestId,
PaperId: item.PaperId,
};
this.OpenNewUrl('/exam/examtestreview', qMsg);
}
},
......
......@@ -352,7 +352,7 @@
vSharingchoose
},
meta: {
title: "试卷详情"
title: "学员考试"
},
watch: {
......@@ -360,9 +360,9 @@
data() {
return {
msg: {
Id: 1,
GuestId: 60,
PaperId: 5
Id: 0,
GuestId: 0,
PaperId: 0
},
//试卷对象
DataObj: {
......@@ -380,7 +380,17 @@
}
},
created() {
if (this.$route.query) {
if (this.$route.query.Id && this.$route.query.Id > 0) {
this.msg.Id = this.$route.query.Id;
}
if (this.$route.query.GuestId && this.$route.query.GuestId > 0) {
this.msg.GuestId = this.$route.query.GuestId;
}
if (this.$route.query.PaperId && this.$route.query.PaperId > 0) {
this.msg.PaperId = this.$route.query.PaperId;
}
}
},
mounted() {
this.GetPaperInfo()
......@@ -472,4 +482,5 @@
}
}
}
</script>
\ No newline at end of file
</script>
......@@ -353,7 +353,7 @@
vSharingchoose
},
meta: {
title: "试卷详情"
title: "阅卷"
},
watch: {
......@@ -361,9 +361,10 @@
data() {
return {
msg: {
Id: 1,
GuestId: 60,
PaperId: 5
Id: 0,
GuestId: 0,
PaperId: 0,
isShowAnswer:true,
},
//试卷对象
DataObj: {
......@@ -374,14 +375,24 @@
GroupList: [], //试卷答题分类
},
PaperConfig: {}, //试卷配置
isShowAnswer: false, //是否显示答案
isOperate: true, //是否可操作
isShowAnswer: true, //是否显示答案
isOperate: false, //是否可操作
examScore: 0, //总分,
examNum: 0, //总题量
}
},
created() {
if (this.$route.query) {
if (this.$route.query.Id && this.$route.query.Id > 0) {
this.msg.Id = this.$route.query.Id;
}
if (this.$route.query.GuestId && this.$route.query.GuestId > 0) {
this.msg.GuestId = this.$route.query.GuestId;
}
if (this.$route.query.PaperId && this.$route.query.PaperId > 0) {
this.msg.PaperId = this.$route.query.PaperId;
}
}
},
mounted() {
this.GetPaperInfo()
......@@ -473,4 +484,5 @@
}
}
}
</script>
\ No newline at end of file
</script>
......@@ -97,7 +97,7 @@
},
data() {
return {
ActionStr: "/Class/InitData",
ActionStr: "/AppletLogin/Login",
parameterList: [{
Name: "",
Value: ""
......@@ -156,7 +156,10 @@
tempStr = "{" + tempStr.substring(1, tempStr.length) + "}";
data = JSON.parse(tempStr);
}
data = {
Account: "13551126755",
Password: "123456"
};
var tempMsg = {
Msg: data
};
......
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