|
@@ -1162,9 +1162,9 @@ export default {
|
|
|
//所有学校列表
|
|
|
function getAllschool () {
|
|
|
console.log(loadingSchool.value,'现在的状态')
|
|
|
- proxy.$api.getSchooldata({}).then((res) => {
|
|
|
+ proxy.$api.getsimpleSchool({}).then((res) => {
|
|
|
console.log(res, '获取学校列表')
|
|
|
- res.state === 200 ? (allSchool.value = res.schoolAssists,loadingSchool.value=false) : loadingSchool.value=false
|
|
|
+ res.state === 200 ? (allSchool.value = res.scSimple,loadingSchool.value=false) : loadingSchool.value=false
|
|
|
}).catch((error)=>{
|
|
|
ElMessage.error('API异常,学校列表获取失败')
|
|
|
loadingSchool.value=false
|