Explorar el Código

试题评阅相关调整

luoaoxuan hace 1 año
padre
commit
851e8c7b77
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/views/platform/examination/question/judge.vue

+ 4 - 1
src/views/platform/examination/question/judge.vue

@@ -257,7 +257,7 @@ export default {
                 this.$common.request('sql', sql).then(res => {
                 this.$common.request('sql', sql).then(res => {
                     const { data = [] } = res.variables || {}
                     const { data = [] } = res.variables || {}
                     if (!data.length) {
                     if (!data.length) {
-                        this.$message.error('获取题目信息失败!')
+                        this.$message.warning('没有试卷需要评阅!')
                         return this.closeDialog()
                         return this.closeDialog()
                     }
                     }
                     data.map(item => {
                     data.map(item => {
@@ -495,6 +495,8 @@ export default {
                         }
                         }
                     }
                     }
                     .result {
                     .result {
+                        position: absolute;
+                        bottom: 170px;
                         margin-top: 20px;
                         margin-top: 20px;
                         .title {
                         .title {
                             display: inline-block;
                             display: inline-block;
@@ -515,6 +517,7 @@ export default {
                 position: absolute;
                 position: absolute;
                 width: calc(100% - 40px);
                 width: calc(100% - 40px);
                 bottom: 20px;
                 bottom: 20px;
+                height: 140px;
 
 
                 .question{
                 .question{
                     display: flex;
                     display: flex;