dxd 2 лет назад
Родитель
Сommit
927cafa9b4

+ 2 - 3
src/views/menu5/cutPage/cutPage.vue

@@ -540,7 +540,6 @@ export default {
         });
     },
     formatReqData(list) {
-      // debugger;
       let ques = JSON.parse(JSON.stringify(list));
       if (ques[ques.length - 1].ele.length <= 0) {
         ques.pop();
@@ -557,7 +556,7 @@ export default {
                 id: i.id,
                 page: i2.page,
                 qno: i.order + "",
-                sqno: i2.sqno,
+                sqno: 1,
                 imgtype: i2.imgType,
                 points: [i2.point],
                 imgs: [],
@@ -645,7 +644,7 @@ export default {
               that.pressShiftFlag = false;
               that.curBoxIndex = that.curBoxIndex;
               that.myCropper.clear();
-            } else if (event.keyCode == 17) {
+            } else if (event.keyCode == 17 || event.keyCode == 91) {
               that.pressCtrlFlag = false;
               that.copperType = "noctrl";
             }

+ 3 - 3
src/views/menu5/menu5-1/index.vue

@@ -75,7 +75,7 @@
       </cloudSearch>
       <cloudTable :table="dataTable" @refresh-table="getItems" @handle="handle">
         <template slot="tableBtn">
-          <el-button size="small" @click="open2()">批量导入</el-button>
+          <!-- <el-button size="small" @click="open2()">批量导入</el-button> -->
           <el-button class="add" size="small" @click="addItems()"
             >新增作业</el-button
           >
@@ -86,8 +86,8 @@
         <template v-slot:customOpt="data">
           <el-button
             class="operation"
-            :disabled="data.row.cut || data.row.uploaded ? false : true"
-            :style="data.row.cut || data.row.uploaded ? '' : 'color:#E8EBF3'"
+            :disabled="(data.row.cut && data.row.uploaded&&data.row.attached)? false : true"
+            :style="(data.row.cut && data.row.uploaded&&data.row.attached) ? '' : 'color:#E8EBF3'"
             @click="setScore(data.row)"
           >
             设置分值

+ 3 - 3
src/views/menu5/menu5-4/index.vue

@@ -64,7 +64,7 @@
       </cloudSearch>
       <cloudTable :table="dataTable" @refresh-table="getItems" @handle="handle">
         <template slot="tableBtn">
-          <el-button size="small" @click="open2()">批量导入</el-button>
+          <!-- <el-button size="small" @click="open2()">批量导入</el-button> -->
           <el-button class="add" size="small" @click="addItems()"
             >新增试卷</el-button
           >
@@ -170,7 +170,7 @@
             ></el-option>
           </el-select>
         </el-form-item>
-        <el-form-item label="试卷大小" prop="size">
+        <!-- <el-form-item label="试卷大小" prop="size">
           <el-select v-model="dialogForm.subject" placeholder="请选择试卷大小">
             <el-option
               v-for="item in ['A3', 'A4']"
@@ -179,7 +179,7 @@
               :value="item"
             ></el-option>
           </el-select>
-        </el-form-item>
+        </el-form-item> -->
         <el-form-item label="试卷名称" prop="name">
           <el-input
             v-model="dialogForm.name"