提交
This commit is contained in:
@@ -47,14 +47,14 @@
|
||||
<el-col :span="12">
|
||||
<el-form-item label="报名驾校" prop="signSchool">
|
||||
<el-select v-model="modalForm.signSchool" filterable placeholder="请选择" clearable size="small" disabled>
|
||||
<el-option v-for="dict in schoolOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
|
||||
<el-option v-for="dict in schoolOptions" :key="dict.schoolId" :label="dict.schoolName" :value="dict.schoolId" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="报名场地" prop="signPlace">
|
||||
<el-select v-model="modalForm.signPlace" filterable placeholder="请选择" clearable size="small" disabled>
|
||||
<el-option v-for="dict in placeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
|
||||
<el-option v-for="dict in placeOptions" :key="dict.placeId" :label="dict.name" :value="dict.placeId" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -64,7 +64,7 @@
|
||||
<el-col :span="12">
|
||||
<el-form-item label="报名班型" prop="signClass">
|
||||
<el-select v-model="modalForm.signClass" filterable placeholder="请选择" clearable size="small" disabled>
|
||||
<el-option v-for="dict in classTypeOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
|
||||
<el-option v-for="dict in classTypeOptions" :key="dict.typeId" :label="dict.typeName" :value="dict.typeId" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@@ -181,7 +181,7 @@
|
||||
import empApi from '@/api/system/employee'
|
||||
import schoolAPi from '@/api/sch/school'
|
||||
import { getAllPlaces } from '@/api/sch/place'
|
||||
import { getClassTypeTableList } from '@/api/sch/classType'
|
||||
import { getAllList } from '@/api/sch/classType'
|
||||
import { getCheckRecord } from '@/api/zs/sign'
|
||||
|
||||
export default {
|
||||
@@ -236,7 +236,7 @@ export default {
|
||||
},
|
||||
//查询驾校
|
||||
getSchools() {
|
||||
schoolAPi.pageList().then((resp) => {
|
||||
schoolAPi.allList().then((resp) => {
|
||||
this.schoolOptions = resp.data
|
||||
})
|
||||
},
|
||||
@@ -250,7 +250,7 @@ export default {
|
||||
},
|
||||
//查询班型
|
||||
getClassTypes() {
|
||||
getClassTypeTableList({
|
||||
getAllList({
|
||||
schoolId: this.modalForm.signSchool,
|
||||
placeId: this.modalForm.signPlace,
|
||||
status: '0',
|
||||
|
||||
Reference in New Issue
Block a user