zhangjie 3 月之前
父節點
當前提交
8d44ad55fb

+ 1 - 1
src/modules/course/components/CourseDocumentDetail.vue

@@ -319,7 +319,7 @@ export default {
     },
     toView(row) {
       // 试卷样卷
-      if (row.type === "PAPER") {
+      if (row.type === "PAPER" || row.type === "ANSWER") {
         const filePath = row.filePath ? JSON.parse(row.filePath) : [];
         if (!filePath.length) {
           this.$message.error("当前无文档可查看");

+ 3 - 2
src/modules/mark/components/markParam/ModifyMarkType.vue

@@ -60,6 +60,7 @@
             :step="1"
             step-strictly
             :controls="false"
+            disabled
           >
           </el-input-number>
           <span style="margin-left: 5px">%</span>
@@ -132,7 +133,7 @@ export default {
     visibleChange() {
       this.modalForm = this.$objAssign(initModalForm, this.instance);
       this.modalForm.doubleEnable = this.modalForm.doubleRate > 0;
-      this.modalForm.doubleRate = this.modalForm.doubleRate || undefined;
+      this.modalForm.doubleRate = this.modalForm.doubleRate || 100;
       this.modalForm.arbitrateThreshold =
         this.modalForm.arbitrateThreshold || undefined;
     },
@@ -144,7 +145,7 @@ export default {
     },
     doubleEnableChange() {
       this.modalForm.arbitrateThreshold = undefined;
-      this.modalForm.doubleRate = 0;
+      this.modalForm.doubleRate = 100;
     },
     // confirm
     async confirm() {