Update api url: by jimmy

This commit is contained in:
jimmy 2020-12-28 15:05:04 +08:00
parent aae5223ad2
commit 1f03b484d1
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
import { post } from '@/utils/request'
export default {
list: query => post('/api/admin/education/subject/list'),
pageList: query => post('/api/admin/education/subject/page', query),
edit: query => post('/api/admin/education/subject/edit', query),
select: id => post('/api/admin/education/subject/select/' + id),
deleteSubject: id => post('/api/admin/education/subject/delete/' + id)
list: query => post('/api/admin/skill/list'),
pageList: query => post('/api/admin/admin/skill/page', query),
edit: query => post('/api/admin/skill/edit', query),
select: id => post('/api/admin/skill/select/' + id),
deleteSubject: id => post('/api/admin/skill/delete/' + id)
}

View File

@ -12,7 +12,7 @@
<el-form-item label="skill">
<el-select v-model="queryParam.skill" clearable>
<el-option v-for="item in subjectFilter" :key="item.id" :value="item.id"
:label="item.name+' ( '+item.levelName+' )'"></el-option>
:label="item.name"></el-option>
</el-select>
</el-form-item>
<el-form-item label="题型:">