Commit dde660a2 authored by liudong1993's avatar liudong1993

1

parent 352c8205
......@@ -5,7 +5,7 @@
<text>导入考试信息</text>
</view>
<view class="examList activeOne" v-for="(item,index) in dataList" :key="index">
<view class="examList-center-box" @click="examDetails(item.ExamId)">
<view class="examList-center-box" @click="examDetails(item)">
<view class="examList-center-line"></view>
<view class="examList-center flex">
<view class="examList-left">
......@@ -110,7 +110,7 @@
let methods = {
examDetails(item){
uni.reLaunch({
url: '/pages/index/examDetails?examId=' + item
url: '/pages/index/examDetails?examId=' + item.ExamId+'&createTime='+item.CreateTime+'&examName='+item.ExamName+'&examNum='+item.StuNum+'&avgScore='+item.AvgScore
});
},
// 重新导入
......
......@@ -83,6 +83,10 @@
},
onLoad(options){
this.Msg.ExamId = options.examId;
this.CreateTime = options.createTime;
this.ExamName = options.examName;
this.ExamNum = options.examNum;
this.AvgScore = options.avgScore;
},
onShow() {
this.userData = uni.getStorageSync('userInfo');
......
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