+
- 全选部门
-
+
+
+
+
+
-
+
+
取消
@@ -197,7 +208,11 @@
import {getUserList} from "@/api/user";
import checkPermission from "@/utils/permission";
import Pagination from "@/components/Pagination"
+ import Vue from 'vue'
+ // import ElementUI from 'element-ui'
+ // import 'element-ui/lib/theme-chalk/index.css'
+ // Vue.use(ElementUI)
const defaultexam = {
id: "",
@@ -207,7 +222,7 @@
close_time: null,
proctor_name:'',
proctor_phone:'',
- chance:3,
+ chance:1,
paper:'',
certificate:'',
course_name:[],
@@ -270,9 +285,9 @@
this.paperOptions = res.data
})
},
- selectAll(){
- this.exam.participant_dep = this.depOptions.map(option => option.id);
- },
+ // selectAll(){
+ // this.exam.participant_dep = this.depOptions.map(option => option.id);
+ // },
getList() {
this.listLoading = true;
debugger;
@@ -281,6 +296,12 @@
this.listLoading = false;
});
},
+ handleChange(value, direction, movedKeys) {
+ console.log(value, direction, movedKeys)
+ },
+ handleOnChange(value, direction, movedKeys) {
+ console.log(value, direction, movedKeys)
+ },
handleSizeChange(val) {
// 改变每页显示的条数
this.pageSize = val;
@@ -353,7 +374,7 @@
});
})
.catch(err => {
- // console.error(err);
+ console.error(err);
});
},
handleView(scope){
diff --git a/client/src/views/exam/questions.vue b/client/src/views/exam/questions.vue
index ff0fe28..30701e6 100644
--- a/client/src/views/exam/questions.vue
+++ b/client/src/views/exam/questions.vue
@@ -240,8 +240,6 @@ export default {
const loading = this.$loading({
text: '正在准备..'
});
- this.listQuery.page = Number.MAX_SAFE_INTEGER;
- this.listQuery.limit = Number.MAX_SAFE_INTEGER;
exportQuestion(this.listQuery).then(response => {
loading.close()
window.open(response.data.path, "_blank");