xiaofei 1 tahun lalu
induk
melakukan
1e75ce05da

+ 8 - 0
src/modules/print/components/ModifyBusinessStudent.vue

@@ -63,6 +63,13 @@
           clearable
         ></el-input>
       </el-form-item>
+      <el-form-item prop="majorName" label="专业:">
+        <el-input
+          v-model.trim="modalForm.majorName"
+          placeholder="请输入专业"
+          clearable
+        ></el-input>
+      </el-form-item>
       <el-form-item prop="className" label="班级:">
         <el-input
           v-model.trim="modalForm.className"
@@ -89,6 +96,7 @@ const initModalForm = {
   studentCode: "",
   studentName: "",
   college: "",
+  majorName: "",
   className: "",
 };
 

+ 3 - 1
src/modules/print/views/PrintTaskManage.vue

@@ -335,7 +335,9 @@
               v-if="
                 scope.row.taskId &&
                 checkPrivilege('link', 'createpdf') &&
-                (scope.row.status === 'READY' || scope.row.status === 'CANCEL')
+                (scope.row.status === 'READY' ||
+                  scope.row.status === 'CANCEL' ||
+                  !scope.row.normal)
               "
               class="btn-primary"
               type="text"