|
|
@@ -46,7 +46,6 @@
|
|
|
</el-tab-pane>
|
|
|
|
|
|
<el-tab-pane label="更新审核" name="updating">
|
|
|
- <!--todo: 设计UpdateQuestionCard并且在这里应用-->
|
|
|
<el-pagination
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange_UPDATE"
|
|
|
@@ -184,8 +183,8 @@ export default {
|
|
|
},
|
|
|
handleCurrentChange_CREATE(val){
|
|
|
console.log(`当前页: ${val}`);
|
|
|
- this.checkQuestionPage = val;
|
|
|
- this.$api.getStateQuestion('CREATING',val - 1, this.pageSize)
|
|
|
+ this.createCurrentPage = val;
|
|
|
+ this.$api.getStateQuestion('CHECKING',val - 1, this.pageSize)
|
|
|
.then(res => {
|
|
|
console.log("handleCurrentChange-create");
|
|
|
console.log(res);
|
|
|
@@ -197,7 +196,7 @@ export default {
|
|
|
},
|
|
|
handleCurrentChange_UPDATE(val){
|
|
|
console.log(`当前页: ${val}`);
|
|
|
- this.checkQuestionPage = val;
|
|
|
+ this.updateQuestionPage = val;
|
|
|
this.$api.getStateQuestion('UPDATING',val - 1, this.pageSize)
|
|
|
.then(res => {
|
|
|
console.log("handleCurrentChange-update");
|
|
|
@@ -210,8 +209,8 @@ export default {
|
|
|
},
|
|
|
handleCurrentChange_EXECUTED(val){
|
|
|
console.log(`当前页: ${val}`);
|
|
|
- this.checkQuestionPage = val;
|
|
|
- this.$api.getStateQuestion('EXECUTED',val - 1, this.pageSize)
|
|
|
+ this.executeQuestionPage = val;
|
|
|
+ this.$api.getStateQuestion('DELETING',val - 1, this.pageSize)
|
|
|
.then(res => {
|
|
|
console.log("handleCurrentChange-execute");
|
|
|
console.log(res);
|