处方管理功能,测试项目分类功能,
This commit is contained in:
parent
46852f4a41
commit
ea5211b7fa
79
src/api/system/testItemScore.js
Normal file
79
src/api/system/testItemScore.js
Normal file
@ -0,0 +1,79 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询个人成绩录入管理列表
|
||||
export function listTestItemScore(query) {
|
||||
return request({
|
||||
url: '/system/testItemScore/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询班级信息列表
|
||||
export function classInfo(query) {
|
||||
return request({
|
||||
url: '/system/classInfo/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
//查询学生信息列表
|
||||
export function studentInfo(query) {
|
||||
return request({
|
||||
url: 'system/studentInfo/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
//查询测试项目列表
|
||||
export function testItems(query) {
|
||||
return request({
|
||||
url: '/system/testItems/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
//查询成绩批次编号列表
|
||||
export function testScoreBatch(query) {
|
||||
return request({
|
||||
url: 'system/testScoreBatch/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询个人成绩录入管理详细
|
||||
export function getTestItemScore(id) {
|
||||
return request({
|
||||
url: '/system/testItemScore/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增个人成绩录入管理
|
||||
export function addTestItemScore(data) {
|
||||
return request({
|
||||
url: '/system/testItemScore/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改个人成绩录入管理
|
||||
export function updateTestItemScore(data) {
|
||||
return request({
|
||||
url: '/system/testItemScore/edit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除个人成绩录入管理
|
||||
export function delTestItemScore(id) {
|
||||
return request({
|
||||
url: '/system/testItemScore/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
@ -146,6 +146,7 @@
|
||||
:visible.sync="open2"
|
||||
width="550px"
|
||||
append-to-body
|
||||
:before-close="cancel2"
|
||||
>
|
||||
<el-form
|
||||
ref="form"
|
||||
@ -212,13 +213,14 @@
|
||||
</el-dialog>
|
||||
|
||||
<!-- 添加全国平均成绩对话框 -->
|
||||
<el-dialog :title="title" :visible.sync="open" width="550px" append-to-body>
|
||||
<el-dialog :title="title" :visible.sync="open" width="550px" append-to-body :before-close="cancel">
|
||||
<el-form
|
||||
ref="form"
|
||||
:model="form2"
|
||||
:rules="rules"
|
||||
label-width="80px"
|
||||
style=""
|
||||
|
||||
>
|
||||
<el-form-item label="所属项目" prop="itemId">
|
||||
<el-button
|
||||
@ -548,7 +550,7 @@ export default {
|
||||
},
|
||||
],
|
||||
itemAvgText: [
|
||||
{ required: true, message: "请输入全市平均成绩", trigger: "blur" },
|
||||
{ required: true, message: "请输入全国平均成绩", trigger: "blur" },
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
1630
src/views/system/testItemScore/index.vue
Normal file
1630
src/views/system/testItemScore/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user