Commit 50152693 authored by dingyoujian's avatar dingyoujian

调整

parent 6fa5c6f0
...@@ -23,13 +23,13 @@ ...@@ -23,13 +23,13 @@
@click.native.prevent="ksks(scope.row)" type="text" size="small"> @click.native.prevent="ksks(scope.row)" type="text" size="small">
<i class="el-icon-edit"></i>开始考试 <i class="el-icon-edit"></i>开始考试
</el-button> </el-button>
<el-button v-if="false" style="text-align: center;color: #E6BD1A;width: 100%;" <el-button v-if="scope.row.ksbz=='F'" style="text-align: center;color: #1A94E6;width: 100%;"
@click.native.prevent="apiDel(scope.row)" type="text" size="small"> @click.native.prevent="ksks(scope.row)" type="text" size="small">
<i class="el-icon-warning-outline"></i>已过期 <i class="el-icon-edit"></i>继续考试
</el-button> </el-button>
<el-button v-if="scope.row.ksbz=='Y'" style="text-align: center;color: #11EE96;width: 100%;" <el-button v-if="scope.row.ksbz=='Y'" style="text-align: center;color: #11EE96;width: 100%;"
@click.native.prevent="cksj(scope.row)" type="text" size="small"> @click.native.prevent="cksj(scope.row)" type="text" size="small">
<i class="el-icon-circle-check"></i>查看试 <i class="el-icon-circle-check"></i>已交
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
/* 存储试卷数据*/ /* 存储试卷数据*/
this.sjdata=this.app.singleItem this.sjdata=this.app.singleItem
//试卷的 //试卷的
this.queryParams.id=this.app.singleItem.id this.queryParams.sjid=this.app.singleItem.id
this.$nextTick(()=>{ this.$nextTick(()=>{
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}) })
......
...@@ -270,7 +270,7 @@ props:['app'], ...@@ -270,7 +270,7 @@ props:['app'],
}, },
save(){ save(){
let params={ let params={
id:this.app.queryParams.id, id:this.app.queryParams.sjid,
datas:this.selectedList datas:this.selectedList
} }
saveKsry(params).then(res=>{ saveKsry(params).then(res=>{
......
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