|
|
|
@ -202,7 +202,7 @@ import { getToken } from '@/utils/auth'; |
|
|
|
|
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 { uploadEvidence, deleteFile } from '@/api/tool/common'; |
|
|
|
|
import { getClueList, getConsultRecord } from '@/api/zs/clue'; |
|
|
|
|
|
|
|
|
@ -337,9 +337,9 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
getClassTypes(schoolId, placeId) { |
|
|
|
|
getClassTypeTableList({ schoolId: schoolId, placeId: placeId, status: '0' }).then( |
|
|
|
|
getAllList({ schoolId: schoolId, placeId: placeId, status: '0' }).then( |
|
|
|
|
(resp) => { |
|
|
|
|
this.classTypeOptions = resp.rows; |
|
|
|
|
this.classTypeOptions = resp.data; |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
@ -393,6 +393,15 @@ export default { |
|
|
|
|
handleUpdate(item) { |
|
|
|
|
this.setDate(false); |
|
|
|
|
this.modalForm = Object.assign({}, item); |
|
|
|
|
if (this.modalForm.signSchool) { |
|
|
|
|
this.modalForm.signSchool = Number(this.modalForm.signSchool) |
|
|
|
|
} |
|
|
|
|
if (this.modalForm.signClass) { |
|
|
|
|
this.modalForm.signClass = Number(this.modalForm.signClass) |
|
|
|
|
} |
|
|
|
|
if (this.modalForm.signPlace) { |
|
|
|
|
this.modalForm.signPlace = Number(this.modalForm.signPlace) |
|
|
|
|
} |
|
|
|
|
this.getPlaces(this.modalForm.signSchool); |
|
|
|
|
this.getClassTypes(this.modalForm.signSchool, this.modalForm.signPlace); |
|
|
|
|
if (item.clueId) { |
|
|
|
|