26 lines
776 B
JavaScript
26 lines
776 B
JavaScript
import Mock from "mockjs"
|
|
const data = Mock.mock({
|
|
"list|200": [
|
|
{
|
|
"id|+1": 1,
|
|
"name": "@cname",
|
|
"studentnumber": "@integer(1000000000,9999999999)",
|
|
"department": `@pick(['机电工程系', '护理分院','建筑系','材料科学与工程系','环境科学与工程系'])`,
|
|
"major": `@pick(['机械制造与自动化', '材料科学与工程', '环境科学与工程', '建筑工程', '护理学'])`,
|
|
"grade": `@pick(['机制1班', '材料1班', '环境1班', '建筑1班','护理1班'])`,
|
|
"tuition": `@pick(['已付学费', '未缴学费'])`,
|
|
}
|
|
]
|
|
})
|
|
export default [
|
|
{
|
|
url: '/get-sdy-managment-list',
|
|
method: 'get',
|
|
response: () => {
|
|
return {
|
|
code: 200,
|
|
data: data
|
|
}
|
|
}
|
|
}
|
|
] |