Bladeren bron

优化界面

gaoxiong 2 jaren geleden
bovenliggende
commit
c7c3c206e2

+ 4 - 4
src/components/K-FileUpload/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="upload-file">
-    <el-upload 
+    <el-upload
     multiple
     drag
     :action="uploadFileUrl"
@@ -66,7 +66,7 @@ export default {
     // 文件类型, 例如['png', 'jpg', 'jpeg']
     fileType: {
       type: Array,
-      default: () => ["pdf", "jpg", "png", "bmp"],
+      default: () => ["pdf", "jpg", "png", "bmp","doc","docx","ppt","pptx","xls","xlsx","zip","rar","7z"],
     },
     // 是否显示提示
     isShowTip: {
@@ -285,7 +285,7 @@ export default {
           url=process.env.VUE_APP_BASE_API+this.fileValueList[index].url;
         }
         // console.log("process.env.VUE_APP_BASE_API",process.env.VUE_APP_BASE_API,process)
-        
+
         // console.log("process.env.VUE_APP_BASE_API url",url)
         const a = document.createElement("a");
         a.setAttribute("download", name);
@@ -296,7 +296,7 @@ export default {
       clearFiles(){
         this.$refs["fileUpload"].clearFiles();
         this.fileList = [];
-        this.fileValueList = [];        
+        this.fileValueList = [];
       },
   }
 };

+ 2 - 2
src/views/resumption/taskManager/dialog.detail.vue

@@ -22,8 +22,8 @@
             >
               <el-table-column
                 label="履职内容"
-                align="center"
-                :show-overflow-tooltip="true"
+                align="left"
+                width="250"
                 prop="pointName"
               >
               </el-table-column>

+ 1 - 1
src/views/system/workTimeSet/dialog.template.vue

@@ -28,7 +28,7 @@
           <!--  -->
           <div class="grid" >
             <p>
-              <span style="color: red;"> * </span>作息设置(勾选表示当日正常上班)
+              <span style="color: red;"> * </span>作息设置
             </p >
             <div class="box">
               <el-table class="w-auto" border :data="formData.dayOfWeeks">