Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
e0c6f6a12a
@ -39,6 +39,7 @@ export default {
|
||||
query: this.queryFunction,
|
||||
selectCheckShow: false,
|
||||
indexShow: true,
|
||||
afterQuery:this.afterQuery,
|
||||
columns: [
|
||||
{
|
||||
title: '名字',
|
||||
@ -106,22 +107,20 @@ export default {
|
||||
actions: [
|
||||
{ text: '导入试题', handler: this.handleAdd }
|
||||
]
|
||||
}
|
||||
// isLeaving:false
|
||||
},
|
||||
isLeaving:false
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
},
|
||||
created() {
|
||||
this.loadInitData();
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
beforeDestroy() {
|
||||
// this.isLeaving = true;
|
||||
this.isLeaving = true;
|
||||
},
|
||||
methods: {
|
||||
loadInitData() {
|
||||
// this.getData();
|
||||
},
|
||||
covertStatus(status) {
|
||||
const statusDict = {'0':'尚未参赛', '1':'进入赛场', '2':'理论赛场', '3':'实操赛场', '4':'完成比赛', '5':'完成理论', '6':'完成实操'};
|
||||
return statusDict[status];
|
||||
@ -161,6 +160,13 @@ export default {
|
||||
},
|
||||
gradeScore(index, row) {
|
||||
|
||||
},
|
||||
afterQuery(data) {
|
||||
setTimeout(() => {
|
||||
if (!this.isLeaving) {
|
||||
this.refresh();
|
||||
}
|
||||
}, 3000);
|
||||
},
|
||||
refresh() {
|
||||
this.$refs.queryListPage.refresh(true);
|
||||
|
Loading…
Reference in New Issue
Block a user