Selaa lähdekoodia

feat: ui调整

zhangjie 9 kuukautta sitten
vanhempi
commit
dedb7fa7ef

+ 9 - 2
src/modules/analysis/components/ModifyAnalysisBatchPaper.vue

@@ -31,8 +31,15 @@
           </el-form-item>
         </el-form>
         <div class="part-box-action">
-          <el-button type="danger" @click="toBatchDelete">批量删除</el-button>
-          <el-button type="primary" @click="toAdd">添加分析试卷</el-button>
+          <el-button type="danger" icon="el-icon-delete" @click="toBatchDelete"
+            >批量删除</el-button
+          >
+          <el-button
+            type="primary"
+            icon="el-icon-circle-plus-outline"
+            @click="toAdd"
+            >添加分析试卷</el-button
+          >
         </div>
       </div>
       <div class="part-box part-box-pad">

+ 1 - 0
src/modules/analysis/views/AnalysisBatchManage.vue

@@ -48,6 +48,7 @@
         <el-button
           v-if="checkPrivilege('button', 'add')"
           type="primary"
+          icon="el-icon-circle-plus-outline"
           @click="toAdd"
           >新建分析批次</el-button
         >

+ 5 - 1
src/modules/base/components/ModifyFlowDetail.vue

@@ -15,7 +15,11 @@
       <div class="box-justify" slot="title">
         <h4 class="el-dialog__title">流程图编辑:{{ instance.name }}</h4>
         <div>
-          <el-button type="primary" :disabled="isSubmit" @click="submit"
+          <el-button
+            type="primary"
+            :disabled="isSubmit"
+            icon="el-icon-finished"
+            @click="submit"
             >发布</el-button
           >
           <el-button class="btn-back" @click="cancel">

+ 1 - 0
src/modules/base/views/CourseManage.vue

@@ -51,6 +51,7 @@
           <el-button
             v-if="checkPrivilege('button', 'Delete')"
             type="danger"
+            icon="el-icon-delete"
             @click="toBatchDelete"
             >批量删除</el-button
           >

+ 2 - 2
src/modules/exam/views/DownloadManage.vue

@@ -36,8 +36,8 @@
       <div class="part-box-action">
         <el-button
           v-if="checkPrivilege('button', 'download')"
-          icon="el-icon-circle-plus-outline"
-          type="info"
+          icon="el-icon-download"
+          type="primary"
           :disabled="!filterHasQuery"
           @click="toBatchDownload"
         >

+ 1 - 1
src/modules/exam/views/ExamTaskManage.vue

@@ -72,7 +72,7 @@
           <el-button
             v-if="checkPrivilege('button', 'BatchAdd')"
             icon="el-icon-circle-plus-outline"
-            type="info"
+            type="primary"
             @click="toBatchAdd"
           >
             批量新增

+ 3 - 1
src/modules/mark/components/ModifyPaperArea.vue

@@ -13,7 +13,9 @@
     <div class="box-justify" slot="title">
       <h2 class="el-dialog__title">设置遮盖区域</h2>
       <div>
-        <el-button type="success" @click="confirm">确定</el-button>
+        <el-button type="primary" icon="el-icon-finished" @click="confirm"
+          >确定</el-button
+        >
         <el-button class="btn-back" @click="cancel">
           返回<i class="el-icon-arrow-right"></i>
         </el-button>

+ 1 - 0
src/modules/mark/components/markDetail/MarkDetailArbitration.vue

@@ -32,6 +32,7 @@
       <div class="part-box-action">
         <el-button
           type="primary"
+          icon="el-icon-document-checked"
           :disabled="batchDoneDisabled"
           @click="toBatchDone(multipleSelection)"
         >

+ 1 - 0
src/modules/mark/components/markDetail/MarkDetailIssue.vue

@@ -46,6 +46,7 @@
       <div class="part-box-action">
         <el-button
           type="primary"
+          icon="el-icon-top-right"
           :disabled="!multipleSelection.length"
           @click="toBatchReset"
         >

+ 5 - 1
src/modules/mark/components/markDetail/MarkDetailMarker.vue

@@ -29,16 +29,20 @@
         </el-form-item>
       </el-form>
       <div class="part-box-action">
-        <el-button type="primary" @click="toBind"> 绑定评卷员 </el-button>
+        <el-button type="primary" icon="el-icon-link" @click="toBind">
+          绑定评卷员
+        </el-button>
         <el-button
           type="primary"
           :disabled="!multipleSelection.length"
+          icon="el-icon-top-left"
           @click="toDangerAction('recycle', {}, multipleSelection)"
         >
           回收
         </el-button>
         <el-button
           type="primary"
+          icon="el-icon-setting"
           :disabled="!multipleSelection.length"
           @click="toSetTaskCount(multipleSelection, {})"
         >

+ 5 - 1
src/modules/mark/components/markDetail/MarkDetailProgress.vue

@@ -17,7 +17,11 @@
       </el-breadcrumb>
       <div>
         <el-button type="primary" @click="initData">查询</el-button>
-        <el-button type="primary" :loading="downloading" @click="toExport"
+        <el-button
+          type="primary"
+          :loading="downloading"
+          icon="el-icon-download"
+          @click="toExport"
           >导出评卷员工作量</el-button
         >
       </div>

+ 6 - 2
src/modules/mark/components/markDetail/MarkDetailQuality.vue

@@ -29,8 +29,12 @@
         </el-form-item>
       </el-form>
       <div class="part-box-action">
-        <el-button type="primary" @click="toReset"> 重新计算 </el-button>
-        <el-button type="primary" @click="toViewLine"> 给分曲线 </el-button>
+        <el-button type="primary" icon="el-icon-refresh-left" @click="toReset">
+          重新计算
+        </el-button>
+        <el-button type="primary" icon="el-icon-data-line" @click="toViewLine">
+          给分曲线
+        </el-button>
       </div>
     </div>
 

+ 3 - 0
src/modules/mark/views/MarkManage.vue

@@ -35,6 +35,7 @@
           <el-button
             v-if="checkPrivilege('button', 'MarkStudentImport')"
             type="primary"
+            icon="el-icon-download"
             @click="toImportMarkData"
           >
             导入阅卷数据
@@ -42,6 +43,7 @@
           <el-button
             v-if="checkPrivilege('button', 'Export')"
             type="primary"
+            icon="el-icon-download"
             @click="toExport"
           >
             导出评卷员工作量
@@ -49,6 +51,7 @@
           <el-button
             v-if="checkPrivilege('button', 'BatchFinish')"
             type="primary"
+            icon="el-icon-document-checked"
             :disabled="!multipleSelection.length"
             @click="toBatchFinish"
           >

+ 1 - 0
src/modules/mark/views/ScoreCheck.vue

@@ -23,6 +23,7 @@
           v-if="checkPrivilege('button', 'ObjectiveCalculate')"
           type="primary"
           :loading="loading"
+          icon="el-icon-document-checked"
           :disabled="!multipleSelection.length"
           @click="toObjectiveCalculate"
           >客观题统分</el-button

+ 1 - 1
src/modules/mark/views/ScoreManage.vue

@@ -26,7 +26,7 @@
           :loading="downloading"
           icon="el-icon-document"
           @click="exportTotalAnalysis"
-          >总量分析</el-button
+          >下载总量分析</el-button
         >
         <el-button
           v-if="checkPrivilege('button', 'ObjectiveCalculate')"

+ 2 - 1
src/modules/print/components/ModifyPrintPlan.vue

@@ -340,7 +340,8 @@ export default {
         PREVIEW: "印刷计划详情",
         EDIT: "编辑印刷计划",
       };
-      return `${names[this.editType]}-${EXAM_TYPE[this.modalForm.category]}`;
+      const infos = [names[this.editType], EXAM_TYPE[this.modalForm.category]];
+      return infos.filter((item) => Boolean(item)).join("-");
     },
     editable() {
       return this.editType !== "PREVIEW";

+ 1 - 0
src/modules/print/components/PreviewBusinessDetail.vue

@@ -91,6 +91,7 @@
           <el-table-column
             prop="paperNumber"
             label="试卷编码"
+            width="130"
           ></el-table-column>
           <el-table-column prop="examPlace" label="考点"> </el-table-column>
           <el-table-column prop="examRoom" label="考场"> </el-table-column>