feat : client/src/papercreate.vue
This commit is contained in:
parent
f5729a94a8
commit
50540c6c38
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||
|
||||
export function getUserList(query) {
|
||||
return request({
|
||||
url: '/system/userexam/',
|
||||
url: '/system/user/',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="题目类型" prop="category" v-if="Form.paper_types==='false'">
|
||||
<el-select v-model="Form.category" multiple placeholder = "请选择题目分类">
|
||||
<el-select v-model="Form.category" filterable multiple placeholder = "请选择题目分类">
|
||||
<el-option
|
||||
v-for="item in type_list"
|
||||
:key = "item.id"
|
||||
|
@ -244,9 +244,9 @@
|
|||
this.currentEditIndex = index;
|
||||
},
|
||||
getQuestioncat() {
|
||||
getQuestioncatList().then(response => {
|
||||
this.workscopeData = response.data.results;
|
||||
this.type_list = response.data.results;
|
||||
getQuestioncatList({page:0}).then(response => {
|
||||
this.workscopeData = response.data;
|
||||
this.type_list = response.data;
|
||||
});
|
||||
},
|
||||
handleChoose1(){
|
||||
|
|
Loading…
Reference in New Issue