|
@@ -187,7 +187,8 @@ export default {
|
|
qyTotalPieData () {
|
|
qyTotalPieData () {
|
|
const list = this.totalGroupRubbiData ? this.totalGroupRubbiData.cleanReportData : []
|
|
const list = this.totalGroupRubbiData ? this.totalGroupRubbiData.cleanReportData : []
|
|
const temp = []
|
|
const temp = []
|
|
- if (list.length) {
|
|
|
|
|
|
+
|
|
|
|
+ if (list && list.length) {
|
|
this.rubbishType.map(item => {
|
|
this.rubbishType.map(item => {
|
|
const has = list.find(obj => obj.rubbishType == item.code)
|
|
const has = list.find(obj => obj.rubbishType == item.code)
|
|
temp.push({
|
|
temp.push({
|
|
@@ -331,6 +332,7 @@ export default {
|
|
stationList().then(res => {
|
|
stationList().then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
this.stationList = res.data || []
|
|
this.stationList = res.data || []
|
|
|
|
+ console.log(this.stationList, '------------网点')
|
|
} else {
|
|
} else {
|
|
this.stationList = []
|
|
this.stationList = []
|
|
}
|
|
}
|