115 lines
2.4 KiB
JavaScript
115 lines
2.4 KiB
JavaScript
import request from "../request.js"
|
||
|
||
export function getPreOrderById(data, data2) {
|
||
return request({
|
||
url: `/kindergarten/applet/kindergartenLogin?loginCode=${data}&phoneCode=${data2}`,
|
||
method: 'POST'
|
||
})
|
||
}
|
||
export function loginLogging(data) {
|
||
return request({
|
||
url: '/kindergartenApplet/actionLogRecord/loginLogging',
|
||
method: 'POST',
|
||
data: data
|
||
})
|
||
}
|
||
export function getKindergartenList(kindergartenName) {
|
||
return request({
|
||
url: `/system/studentManage/getKindergartenList?kindergartenName=${kindergartenName}`,
|
||
method: 'GET'
|
||
})
|
||
}
|
||
export function getClassInfo(kindergartenId,className) {
|
||
return request({
|
||
url: `/system/studentManage/getClassInfo?kindergartenId=${kindergartenId}&className=${className}`,
|
||
method: 'GET'
|
||
})
|
||
}
|
||
// 民族
|
||
export function typeInfo(dictType) {
|
||
return request({
|
||
url: '/system/studentManage/type/'+dictType,
|
||
method: 'GET'
|
||
})
|
||
}
|
||
export function updateStudent(data) {
|
||
return request({
|
||
url: '/system/studentManage/updateStudent',
|
||
method: 'POST',
|
||
data: data
|
||
})
|
||
}
|
||
// 修改
|
||
export function getStudent(studentId) {
|
||
return request({
|
||
url: `/system/studentManage/getStudent?studentId=${studentId}`,
|
||
method: 'GET'
|
||
})
|
||
}
|
||
|
||
export function prescriptionLogging(data) {
|
||
return request({
|
||
url: '/kindergartenApplet/actionLogRecord/prescriptionLogging',
|
||
method: 'POST',
|
||
data: data
|
||
})
|
||
}
|
||
export function prescriptionVideoLogging(data) {
|
||
return request({
|
||
url: '/kindergartenApplet/actionLogRecord/prescriptionVideoLogging',
|
||
method: 'POST',
|
||
data: data
|
||
})
|
||
}
|
||
|
||
export function getChildrenResultScore(data) {
|
||
return request({
|
||
url: '/kindergarten/applet/getChildrenResultScore',
|
||
method: 'POST',
|
||
data: data
|
||
})
|
||
}
|
||
|
||
//查看成绩
|
||
export function getStudentScore(data) {
|
||
return request({
|
||
url: '/kindergarten/applet/getStudentScoreInfo',
|
||
method: 'POST',
|
||
data: data
|
||
})
|
||
}
|
||
//绑定家长手机号
|
||
export function bindParent(data) {
|
||
return request({
|
||
url: `/kindergarten/applet/bindParentInfo`,
|
||
method: 'POST',
|
||
data
|
||
})
|
||
}
|
||
|
||
|
||
// 我的
|
||
export function getInfoByPhone(data) {
|
||
return request({
|
||
url: `/kindergarten/applet/getInfoByPhone?phone=${data}`,
|
||
method: 'GET'
|
||
})
|
||
}
|
||
|
||
|
||
|
||
export function getMotionPrescription(studentId, batchCode) {
|
||
return request({
|
||
url: `/kindergarten/applet/getMotionPrescription?studentId=${studentId}&batchCode=${batchCode}`,
|
||
method: 'GET'
|
||
})
|
||
}
|
||
|
||
// export function addConfirmOrder(data) {
|
||
// return request({
|
||
// url: ``,
|
||
// method: "post",
|
||
// data
|
||
// })
|
||
// }
|