Browse Source

公司制度

ZaiZai 2 years ago
parent
commit
2ab4ae7ea2
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/people/salary.vue

+ 4 - 2
src/views/people/salary.vue

@@ -42,7 +42,7 @@
                   saveText="上传excel" @close="importModalClose" @save="importModalSave"
         >
             <div class="w-full">
-                <el-date-picker class="block" v-model="uploadTime" type="monthrange" start-placeholder="开始月份" end-placeholder="结束月份" size="large"/>
+                <el-date-picker v-model="uploadTime" type="monthrange" start-placeholder="开始月份" end-placeholder="结束月份" size="large" style="width: 100%;"/>
             </div>
         </HcDialog>
         <!--上传控件-->
@@ -161,7 +161,9 @@ const toImportTempClick = () => {
 
 //导入数据弹窗保存
 const importModalSave = () => {
-    //uploadParams
+    uploadParams.value = {
+        month: uploadTime.value
+    }
 }
 
 // 文件上传成功的回调