浏览代码

导出日报按钮增加加载

Lijy 2 年之前
父节点
当前提交
f6c2faf8d4
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

+ 2 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

@@ -798,7 +798,7 @@
                 </el-form-item>
             </el-form>
             <div slot="footer" class="dialog-footer">
-                <el-button type="primary" @click="exportReport" style="width:100%;" >导出</el-button>
+                <el-button type="primary" @click="exportReport" style="width:100%;" :loading="listLoading">导出</el-button>
             </div>
         </el-dialog>
         <!--导出报表条件选择 -->
@@ -1319,6 +1319,7 @@
     export default {
         data() {
             return {
+                exportLoad: false,
                 getPickerOptions: {
                      disabledDate: (time) => {
                         var date = new Date();