Browse Source

fix 导入窗口按钮

Michael Wang 6 năm trước cách đây
mục cha
commit
60c075543e

+ 25 - 5
src/modules/basic/view/campus.vue

@@ -173,7 +173,7 @@
         </el-dialog>
 
         <!-- 导入弹窗 -->
-        <el-dialog title="导入窗口" width="460px" :visible.sync="impDialog">
+        <el-dialog title="导入窗口" width="520px" :visible.sync="impDialog">
           <el-form>
             <el-row>
               <el-form-item style="margin-left:20px">
@@ -192,17 +192,37 @@
                   :auto-upload="false"
                   :multiple="false"
                 >
-                  <el-button size="small" slot="trigger" type="primary">
+                  <el-button
+                    icon="el-icon-search"
+                    size="small"
+                    slot="trigger"
+                    type="primary"
+                  >
                     选择文件
                   </el-button>
                   &nbsp;
-                  <el-button size="small" type="primary" @click="submitUpload">
+                  <el-button
+                    icon="el-icon-check"
+                    size="small"
+                    type="primary"
+                    @click="submitUpload"
+                  >
                     确认上传
                   </el-button>
-                  <el-button size="small" type="danger" @click="removeFile">
+                  <el-button
+                    icon="el-icon-refresh"
+                    size="small"
+                    type="primary"
+                    @click="removeFile"
+                  >
                     清空文件
                   </el-button>
-                  <el-button size="small" type="info" @click="exportFile">
+                  <el-button
+                    icon="el-icon-download"
+                    size="small"
+                    type="primary"
+                    @click="exportFile"
+                  >
                     下载模板
                   </el-button>
                   <div slot="tip" class="el-upload__tip">只能上传xlsx文件</div>

+ 25 - 5
src/modules/basic/view/course.vue

@@ -210,7 +210,7 @@
         </el-dialog>
 
         <!-- 导入弹窗 -->
-        <el-dialog title="导入窗口" width="420px" :visible.sync="impDialog">
+        <el-dialog title="导入窗口" width="520px" :visible.sync="impDialog">
           <el-form>
             <el-row>
               <el-form-item style="margin-left:20px">
@@ -229,17 +229,37 @@
                   :auto-upload="false"
                   :multiple="false"
                 >
-                  <el-button size="small" slot="trigger" type="primary">
+                  <el-button
+                    size="small"
+                    slot="trigger"
+                    type="primary"
+                    icon="el-icon-search"
+                  >
                     选择文件
                   </el-button>
                   &nbsp;
-                  <el-button size="small" type="success" @click="submitUpload">
+                  <el-button
+                    size="small"
+                    type="primary"
+                    @click="submitUpload"
+                    icon="el-icon-check"
+                  >
                     确认上传
                   </el-button>
-                  <el-button size="small" type="danger" @click="removeFile">
+                  <el-button
+                    size="small"
+                    type="primary"
+                    @click="removeFile"
+                    icon="el-icon-refresh"
+                  >
                     清空文件
                   </el-button>
-                  <el-button size="small" type="info" @click="exportFile">
+                  <el-button
+                    size="small"
+                    type="primary"
+                    @click="exportFile"
+                    icon="el-icon-download"
+                  >
                     下载模板
                   </el-button>
                   <div slot="tip" class="el-upload__tip">只能上传xlsx文件</div>

+ 1 - 1
src/modules/basic/view/exam_site.vue

@@ -53,7 +53,7 @@
                   icon="el-icon-arrow-left"
                   @click="back"
                 >
-                  退
+                  
                 </el-button>
               </el-form-item>
             </el-row>

+ 25 - 5
src/modules/basic/view/specially.vue

@@ -328,7 +328,7 @@
       </div>
 
       <!-- 导入弹窗 -->
-      <el-dialog title="导入窗口" width="420px" :visible.sync="impDialog">
+      <el-dialog title="导入窗口" width="520px" :visible.sync="impDialog">
         <el-form>
           <el-row>
             <el-form-item style="margin-left:20px">
@@ -347,17 +347,37 @@
                 :auto-upload="false"
                 :multiple="false"
               >
-                <el-button size="small" slot="trigger" type="primary">
+                <el-button
+                  size="small"
+                  slot="trigger"
+                  type="primary"
+                  icon="el-icon-search"
+                >
                   选择文件
                 </el-button>
                 &nbsp;
-                <el-button size="small" type="success" @click="submitUpload">
+                <el-button
+                  size="small"
+                  type="primary"
+                  @click="submitUpload"
+                  icon="el-icon-check"
+                >
                   确认上传
                 </el-button>
-                <el-button size="small" type="danger" @click="removeFile">
+                <el-button
+                  size="small"
+                  type="primary"
+                  @click="removeFile"
+                  icon="el-icon-refresh"
+                >
                   清空文件
                 </el-button>
-                <el-button size="small" type="info" @click="exportFile">
+                <el-button
+                  size="small"
+                  type="primary"
+                  @click="exportFile"
+                  icon="el-icon-download"
+                >
                   下载模板
                 </el-button>
                 <div slot="tip" class="el-upload__tip">只能上传xlsx文件</div>

+ 1 - 1
src/modules/marking/views/Marking.vue

@@ -203,7 +203,7 @@
           <small class="marktitle titlefont marksign">
             <el-button type="success" @click="backIndex" size="small">
               <!-- <v-icon name="sign-out-alt" scale="0.5"/> -->
-              <span class="titlefont">退回</span>
+              <span class="titlefont">回</span>
             </el-button>
           </small>
         </span>