| 
															
																@@ -16,7 +16,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 :clearable="false" 
															 | 
															
															 | 
															
																                 :clearable="false" 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             ></el-date-picker> 
															 | 
															
															 | 
															
																             ></el-date-picker> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            <el-button type="primary" class="search-btn" @click="mixins_search" icon="el-icon-search">查询 </el-button> 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            <el-button type="primary" class="search-btn" @click="initSearchAll" icon="el-icon-search">查询 </el-button> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <div class="search-icon"> 
															 | 
															
															 | 
															
																             <div class="search-icon"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 <el-tooltip class="item" effect="light" placement="bottom" content="导出"> 
															 | 
															
															 | 
															
																                 <el-tooltip class="item" effect="light" placement="bottom" content="导出"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     <i class="zoniot_font zoniot-icon-daochu2" @click="exportExcel"></i> 
															 | 
															
															 | 
															
																                     <i class="zoniot_font zoniot-icon-daochu2" @click="exportExcel"></i> 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -96,7 +96,7 @@ export default { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }).then(() => { 
															 | 
															
															 | 
															
																         }).then(() => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.initSearchData(thisDay); 
															 | 
															
															 | 
															
																             this.initSearchData(thisDay); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.mixins_dataUrl = '/sc-charge/charge/report/page'; 
															 | 
															
															 | 
															
																             this.mixins_dataUrl = '/sc-charge/charge/report/page'; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            this.mixins_search(); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            this.initSearchAll(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }); 
															 | 
															
															 | 
															
																         }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     }, 
															 | 
															
															 | 
															
																     }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     mounted() {}, 
															 | 
															
															 | 
															
																     mounted() {}, 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -130,18 +130,13 @@ export default { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     } 
															 | 
															
															 | 
															
																                     } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 ]; 
															 | 
															
															 | 
															
																                 ]; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 if (val.length) { 
															 | 
															
															 | 
															
																                 if (val.length) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                    let arr = [{ label: '总收费', val: val[0].totalAmount }]; 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     val[0].details.map((item, index) => { 
															 | 
															
															 | 
															
																                     val[0].details.map((item, index) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                        arr.push({ label: this.typeName(item), val: item.amount }); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                         this.cols.splice(5 + index, 0, { 
															 | 
															
															 | 
															
																                         this.cols.splice(5 + index, 0, { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                             label: this.typeName(item), 
															 | 
															
															 | 
															
																                             label: this.typeName(item), 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                             prop: 'type' + index, 
															 | 
															
															 | 
															
																                             prop: 'type' + index, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                             slot: 'type' + index 
															 | 
															
															 | 
															
																                             slot: 'type' + index 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                         }); 
															 | 
															
															 | 
															
																                         }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     }); 
															 | 
															
															 | 
															
																                     }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                    this.blockArr = arr; 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                } else { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                    this.blockArr = []; 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 } 
															 | 
															
															 | 
															
																                 } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -154,6 +149,10 @@ export default { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 endTime: time 
															 | 
															
															 | 
															
																                 endTime: time 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             }; 
															 | 
															
															 | 
															
																             }; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }, 
															 | 
															
															 | 
															
																         }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        initSearchAll() { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            this.mixins_search(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            this.getTopTable(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         typeName(item) { 
															 | 
															
															 | 
															
																         typeName(item) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             let name = ''; 
															 | 
															
															 | 
															
																             let name = ''; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             switch (item.chargeType) { 
															 | 
															
															 | 
															
																             switch (item.chargeType) { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -176,7 +175,7 @@ export default { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     name = item.chargeName; 
															 | 
															
															 | 
															
																                     name = item.chargeName; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     break; 
															 | 
															
															 | 
															
																                     break; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            return name 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            return name; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }, 
															 | 
															
															 | 
															
																         }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         exportExcel() { 
															 | 
															
															 | 
															
																         exportExcel() { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.__exportExcel('/sc-charge/charge/report/export/excel', this.mixins_query); 
															 | 
															
															 | 
															
																             this.__exportExcel('/sc-charge/charge/report/export/excel', this.mixins_query); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -188,7 +187,7 @@ export default { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             } 
															 | 
															
															 | 
															
																             } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.mixins_query.startTime = arr[0]; 
															 | 
															
															 | 
															
																             this.mixins_query.startTime = arr[0]; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.mixins_query.endTime = arr[1]; 
															 | 
															
															 | 
															
																             this.mixins_query.endTime = arr[1]; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            this.mixins_search(); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            this.initSearchAll(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }, 
															 | 
															
															 | 
															
																         }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         getorgTree(resolve) { 
															 | 
															
															 | 
															
																         getorgTree(resolve) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.$http 
															 | 
															
															 | 
															
																             this.$http 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -202,11 +201,26 @@ export default { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 .catch(function () {}); 
															 | 
															
															 | 
															
																                 .catch(function () {}); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }, 
															 | 
															
															 | 
															
																         }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        getTopTable() { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            this.$http.post('/sc-charge/charge/report/total', this.mixins_query).then(({ data, status, msg }) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                if (status == 0) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                    if (!!data && data.details.length) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        let arr = [{ label: '总收费', val: data.totalAmount }]; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        data.details.map((item, index) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                            arr.push({ label: this.typeName(item), val: item.amount }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        this.blockArr = arr; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                    } else { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                        this.blockArr = []; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        }, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         communityChange(e) { 
															 | 
															
															 | 
															
																         communityChange(e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             this.communityArr.find((item) => { 
															 | 
															
															 | 
															
																             this.communityArr.find((item) => { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 if (item.id == e) { 
															 | 
															
															 | 
															
																                 if (item.id == e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     this.thisObjCommunit = item; 
															 | 
															
															 | 
															
																                     this.thisObjCommunit = item; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                    this.mixins_search(); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                    this.initSearchAll(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 } 
															 | 
															
															 | 
															
																                 } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             }); 
															 | 
															
															 | 
															
																             }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }, 
															 | 
															
															 | 
															
																         }, 
															 |