diff --git a/src/api/index1.js b/src/api/index1.js
index fd519e53..afafeb1f 100644
--- a/src/api/index1.js
+++ b/src/api/index1.js
@@ -242,3 +242,5 @@ export const groupMemberList = (obj) => http.post('/admin/studentGroup/groupMemb
export const delGroupStudent = (obj) => http.post('/admin/studentGroup/delStudent', obj)
//随机分组
export const randomGroup = (obj, projectId) => http.post(`/admin/studentGroup/randomGroup/${projectId}`, obj)
+// 更新考试分数
+export const updateScore = (data)=> http.post('/admin/student/updateStudentScore', data)
\ No newline at end of file
diff --git a/src/assets/scss/common.scss b/src/assets/scss/common.scss
index 5848949e..9fe41ec3 100644
--- a/src/assets/scss/common.scss
+++ b/src/assets/scss/common.scss
@@ -6,6 +6,12 @@ body {
// overflow-y: auto;
}
+@for $index from 1 through 50 {
+ .mr-#{$index} {
+ margin-right: #{$index}px;
+ }
+}
+
//隐藏滚动条----------------------------------------------------------------
// div::-webkit-scrollbar {
// display: none !important;
@@ -293,8 +299,8 @@ textarea {
display: inline-block;
.ant-select:not(.ant-select-customize-input)
- .ant-select-selector
- .ant-select-selection-search-input {
+ .ant-select-selector
+ .ant-select-selection-search-input {
background-color: rgba(255, 255, 255, 0);
border: none;
}
@@ -311,7 +317,7 @@ textarea {
.ant-select-focused:not(.ant-select-disabled).ant-select:not(
.ant-select-customize-input
)
- .ant-select-selector {
+ .ant-select-selector {
box-shadow: none;
}
@@ -370,6 +376,7 @@ textarea {
overflow-y: auto;
}
}
+
.drawerMain {
.header {
height: 73px;
@@ -554,8 +561,8 @@ textarea {
}
.ant-table-tbody
- > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
- > td {
+ > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
+ > td {
background: #f6f9fd;
}
@@ -634,6 +641,7 @@ textarea {
}
}
}
+
//弹窗--------------------------------------------------------
.modalStyle {
height: 100%;
@@ -670,9 +678,9 @@ textarea {
width: 100%;
height: 68px;
background: linear-gradient(
- 0deg,
- rgba(78, 166, 255, 0) 0%,
- rgba(78, 166, 255, 0.2) 100%
+ 0deg,
+ rgba(78, 166, 255, 0) 0%,
+ rgba(78, 166, 255, 0.2) 100%
);
}
@@ -689,25 +697,25 @@ textarea {
.ant-modal {
.modalHeader {
background: linear-gradient(
- 180deg,
- rgba(103, 64, 255, 0.2) 0%,
- rgba(166, 168, 255, 0) 100%
+ 180deg,
+ rgba(103, 64, 255, 0.2) 0%,
+ rgba(166, 168, 255, 0) 100%
) !important;
}
.top {
background: linear-gradient(
- 180deg,
- rgba(103, 64, 255, 0.2) 0%,
- rgba(166, 168, 255, 0) 100%
+ 180deg,
+ rgba(103, 64, 255, 0.2) 0%,
+ rgba(166, 168, 255, 0) 100%
) !important;
}
.del_header {
background: linear-gradient(
- 180deg,
- rgba(103, 64, 255, 0.2) 0%,
- rgba(166, 168, 255, 0) 100%
+ 180deg,
+ rgba(103, 64, 255, 0.2) 0%,
+ rgba(166, 168, 255, 0) 100%
) !important;
}
}
diff --git a/src/components/student/TableStudent.vue b/src/components/student/TableStudent.vue
index 9a66537e..8a753e91 100644
--- a/src/components/student/TableStudent.vue
+++ b/src/components/student/TableStudent.vue
@@ -240,8 +240,16 @@
@click="auditStatus(2, record.id)"
type="link"
>拒绝
-
+
+ 更新
+
删除
-
+
@@ -400,7 +407,7 @@