Commit d36d485970fdcbbc134b15f9ec62dd58897d2396

Authored by 王富生
1 parent 7054cec3

提交bug

src/views/myevaluate/index.vue
... ... @@ -25,6 +25,9 @@
25 25 </div>
26 26 <el-table
27 27 :data="orderData"
  28 + v-loading="loading"
  29 + element-loading-text="数据加载中..."
  30 + element-loading-spinner="el-icon-loading"
28 31 style="width: 100%;"
29 32 :show-overflow-tooltip="true">
30 33 <el-table-column
... ... @@ -87,6 +90,7 @@
87 90 form: {
88 91 feedbackId:''
89 92 },
  93 + loading:false,
90 94 problemTpyeSelectData:[],
91 95 problemform: {
92 96 resource: '1',
... ... @@ -108,6 +112,7 @@
108 112 methods: {
109 113 queryBtn() {
110 114 let that =this;
  115 + that.loading=true;
111 116 let userInfo = this.$store.state.user.userInfo;
112 117 let req ={
113 118 baseRequest:{
... ... @@ -120,6 +125,7 @@
120 125 };
121 126 queryFeedbackAndSuggestForPage(req).then(response =>{
122 127 if(response.code='8888'){
  128 + that.loading=false;
123 129 that.orderData=response.data.rows;
124 130 that.total=response.data.total;
125 131 }
... ...
src/views/payback/index.vue
... ... @@ -37,6 +37,9 @@
37 37 <el-table
38 38 :data="orderData"
39 39 style="width: 100%;"
  40 + v-loading="loading"
  41 + element-loading-text="数据加载中..."
  42 + element-loading-spinner="el-icon-loading"
40 43 :show-overflow-tooltip="true"
41 44 @selection-change="handleSelectionChange">
42 45 <el-table-column
... ... @@ -141,6 +144,7 @@
141 144 carNum: null,
142 145  
143 146 },
  147 + loading:false,
144 148 orgs:[],
145 149 total: 0,
146 150 currentPage: 1,
... ... @@ -229,6 +233,7 @@
229 233 if(response.code=='8888'){
230 234 this.orderData = response.data.dataList;
231 235 this.total = response.data.pageTotals;
  236 + this.loading=false;
232 237 }else{
233 238 console.log(response);
234 239 }
... ... @@ -300,6 +305,7 @@
300 305 },
301 306  
302 307 onSubmit:function() {
  308 + this.loading=true;
303 309 this.pageQueryArrearRecordByCondition();
304 310 },
305 311 onBack:function() {
... ...