|
|
@ -47,14 +47,14 @@ |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="报名驾校" prop="signSchool"> |
|
|
|
<el-form-item label="报名驾校" prop="signSchool"> |
|
|
|
<el-select v-model="modalForm.signSchool" filterable placeholder="请选择" clearable size="small" disabled> |
|
|
|
<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-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="报名场地" prop="signPlace"> |
|
|
|
<el-form-item label="报名场地" prop="signPlace"> |
|
|
|
<el-select v-model="modalForm.signPlace" filterable placeholder="请选择" clearable size="small" disabled> |
|
|
|
<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-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
@ -64,7 +64,7 @@ |
|
|
|
<el-col :span="12"> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="报名班型" prop="signClass"> |
|
|
|
<el-form-item label="报名班型" prop="signClass"> |
|
|
|
<el-select v-model="modalForm.signClass" filterable placeholder="请选择" clearable size="small" disabled> |
|
|
|
<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-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
@ -181,7 +181,7 @@ |
|
|
|
import empApi from '@/api/system/employee' |
|
|
|
import empApi from '@/api/system/employee' |
|
|
|
import schoolAPi from '@/api/sch/school' |
|
|
|
import schoolAPi from '@/api/sch/school' |
|
|
|
import { getAllPlaces } from '@/api/sch/place' |
|
|
|
import { getAllPlaces } from '@/api/sch/place' |
|
|
|
import { getClassTypeTableList } from '@/api/sch/classType' |
|
|
|
import { getAllList } from '@/api/sch/classType' |
|
|
|
import { getCheckRecord } from '@/api/zs/sign' |
|
|
|
import { getCheckRecord } from '@/api/zs/sign' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
@ -236,7 +236,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
//查询驾校 |
|
|
|
//查询驾校 |
|
|
|
getSchools() { |
|
|
|
getSchools() { |
|
|
|
schoolAPi.pageList().then((resp) => { |
|
|
|
schoolAPi.allList().then((resp) => { |
|
|
|
this.schoolOptions = resp.data |
|
|
|
this.schoolOptions = resp.data |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
@ -250,7 +250,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
//查询班型 |
|
|
|
//查询班型 |
|
|
|
getClassTypes() { |
|
|
|
getClassTypes() { |
|
|
|
getClassTypeTableList({ |
|
|
|
getAllList({ |
|
|
|
schoolId: this.modalForm.signSchool, |
|
|
|
schoolId: this.modalForm.signSchool, |
|
|
|
placeId: this.modalForm.signPlace, |
|
|
|
placeId: this.modalForm.signPlace, |
|
|
|
status: '0', |
|
|
|
status: '0', |
|
|
|