From cd79b3bfdbc33ffa79fefcf5d6fde287a1c05c2f Mon Sep 17 00:00:00 2001
From: panzy <225@qq.com>
Date: Sat, 21 May 2022 11:58:19 +0800
Subject: [PATCH] 表格添加loding转圈 隐患汇总添加导出
---
src/views/oneFromanotherN/index.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/oneFromanotherN/index.vue b/src/views/oneFromanotherN/index.vue
index ed13ff7..ebb7b92 100644
--- a/src/views/oneFromanotherN/index.vue
+++ b/src/views/oneFromanotherN/index.vue
@@ -98,6 +98,7 @@
<div v-if="table1">
<el-table ref="dataTable"
v-if="listQuery.type==0"
+ v-loading="loading"
:data="tableData"
style="width: 100%"
@selection-change="handleSelectionChange">
@@ -281,7 +282,11 @@
width="40%">
<el-form>
<el-row>
- <el-checkbox style="width: 80px;height: 30px" v-for="item in YHBMList" v-model="checked" :label="item.branch_id">
+ <el-checkbox style="width: 80px;height: 30px"
+ v-for="item in YHBMList"
+ v-model="checked"
+ :label="item.branch_id"
+ :key="item.branch_id">
{{item.branch_name}}
</el-checkbox>
</el-row>
@@ -318,9 +323,6 @@
radio1:'待发送',
table1:true,
table2:false,
-
-
-
currentPage: 1,
pageSize: 10,
recordTotal: 0,
@@ -334,6 +336,7 @@
JCLBList:[],
tableData:[],
selectedList:[],
+ loading:false,
listLoading: false,
selfInspectVisible: false,
selfInspectForm:{
@@ -456,7 +459,9 @@
getPageList(){
this.listQuery.page=1
this.checkTime()
+ this.loading=true
getPageList(this.listQuery).then(res=>{
+ this.loading=false
if (res.data.ok==1) {
this.tableData = res.data.data.items
this.recordTotal=res.data.data.total
--
Gitblit v1.9.2