Forráskód Böngészése

1、员工导出、考勤导入模版名称调整

dongpo 1 éve
szülő
commit
f1c8e73adc

+ 2 - 2
src/views/personnel/attendance/info/index.vue

@@ -473,7 +473,7 @@ export default {
     /** 下载模板操作 */
     importTemplate() {
       this.download('personnel/attendance/info/get-import-template', {
-      }, `template_${new Date().getTime()}.xlsx`)
+      }, `考勤导入模版.xlsx`)
     },
     // 文件上传中处理
     handleFileUploadProgress(event, file, fileList) {
@@ -555,4 +555,4 @@ ul {
 .el-tag+.el-tag {
   margin-left: 10px;
 }
-</style>
+</style>

+ 6 - 6
src/views/system/user/index.vue

@@ -58,7 +58,7 @@
           <el-table-column label="性别" prop="gender" align="center">
             <template v-slot="scope">
               <dict-tag :type="DICT_TYPE.SYSTEM_USER_SEX" :value="scope.row.gender"/>
-            </template> 
+            </template>
           </el-table-column>
           <el-table-column label="创建时间" align="center" prop="createTime" width="160">
             <template v-slot="scope">
@@ -110,7 +110,7 @@
             <el-button slot="append" class="copy-btn">复制</el-button>
           </el-input>
           </div>
-          
+
         </div>
       </div>
     </el-dialog>
@@ -280,7 +280,7 @@ export default {
       }else{
         this.$modal.msgWarning("该员工尚未注册账号,暂时无法分配角色!");
       }
-      
+
     },
 
     /** 提交按钮(角色权限) */
@@ -299,11 +299,11 @@ export default {
      /** 导出按钮操作 */
      handleExport() {
       const queryParams = this.queryParams;
-      this.$modal.confirm('是否确认导出所有职位数据项?').then(() => {
+      this.$modal.confirm('是否确认导出所有数据项?').then(() => {
           this.exportLoading = true;
           return exportUser(queryParams);
         }).then(response => {
-          this.$download.excel(response, '职位数据.xls');
+          this.$download.excel(response, '员工数据.xls');
           this.exportLoading = false;
       }).catch(() => {});
     }
@@ -342,4 +342,4 @@ export default {
     width: 100%;
 }
 }
-</style>
+</style>