|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
|
|
// 分页列表
|
|
|
|
export function selectSysPlanXs(data) {
|
|
|
|
return request({
|
|
|
|
url: `v1/sysPlan/selectSysPlanXs/${data.userName}`,
|
|
|
|
method: 'post',
|
|
|
|
data: data,
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
export function saveSysPlanSchedule(data) {
|
|
|
|
return request({
|
|
|
|
url: 'v1/sysPlanSchedule/saveSysPlanSchedule',
|
|
|
|
method: 'POST',
|
|
|
|
data: data,
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
export function saveSysPlan(data) {
|
|
|
|
return request({
|
|
|
|
url: 'v1/sysPlan/saveSysPlan',
|
|
|
|
method: 'POST',
|
|
|
|
data: data,
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 提交
|
|
|
|
export function upSysPlan(data) {
|
|
|
|
return request({
|
|
|
|
url: 'v1/sysPlan/upSysPlan',
|
|
|
|
method: 'POST',
|
|
|
|
data: data,
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 新增保存
|
|
|
|
export function selectSysPlanComment(sid) {
|
|
|
|
return request({
|
|
|
|
url: 'v1/sysPlan/selectSysPlanComment/' + sid,
|
|
|
|
method: 'post'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 删除
|
|
|
|
export function deleteSysPlan(sid) {
|
|
|
|
return request({
|
|
|
|
url: '/v1/sysPlan/deleteSysPlan/' + sid,
|
|
|
|
method: 'delete'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
//点击修改回显数据
|
|
|
|
export function alterSysPlant(data) {
|
|
|
|
return request({
|
|
|
|
url: '/v1/sysPlan/alterSysPlan',
|
|
|
|
method: 'POST',
|
|
|
|
data: data,
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
export function selectSysPlan(data) {
|
|
|
|
return request({
|
|
|
|
url: 'v1/sysPlan/selectSysPlan',
|
|
|
|
method: 'POST',
|
|
|
|
data: data,
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
export function selectTeacher(data) {
|
|
|
|
return request({
|
|
|
|
url: 'v1/sysinfo/selectTeacher',
|
|
|
|
method: 'POST',
|
|
|
|
data: data,
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
export function selectSysPlanComment11(data) {
|
|
|
|
return request({
|
|
|
|
url: 'v1/sysPlan/selectSysPlanComment/'+data.sid,
|
|
|
|
method: 'POST',
|
|
|
|
data: data,
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|