|
|
@ -168,7 +168,11 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="min-height: 440rpx"> |
|
|
|
<view style="min-height: 440rpx"> |
|
|
|
<cs-emty marginTop="0" v-if="list.length == 0" height="400rpx"></cs-emty> |
|
|
|
<cs-emty |
|
|
|
|
|
|
|
marginTop="0" |
|
|
|
|
|
|
|
v-if="list.length == 0" |
|
|
|
|
|
|
|
height="400rpx" |
|
|
|
|
|
|
|
></cs-emty> |
|
|
|
<view |
|
|
|
<view |
|
|
|
v-for="(item, index) in list" |
|
|
|
v-for="(item, index) in list" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
@ -234,9 +238,6 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad: async function () { |
|
|
|
onLoad: async function () { |
|
|
|
await uni.hideTabBar() |
|
|
|
await uni.hideTabBar() |
|
|
|
uni.hideTabBar({ |
|
|
|
|
|
|
|
animation: false |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
await this.getDict() |
|
|
|
await this.getDict() |
|
|
|
await this.init() |
|
|
|
await this.init() |
|
|
|
}, |
|
|
|
}, |
|
|
@ -282,7 +283,9 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
] |
|
|
|
] |
|
|
|
this.queryParams.region = this.dropOption.area[0].value |
|
|
|
if (this.dropOption.area.length > 0) { |
|
|
|
|
|
|
|
this.queryParams.region = this.dropOption.area[0].value |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
async init() { |
|
|
|
async init() { |
|
|
|
if (this.queryParams.region) { |
|
|
|
if (this.queryParams.region) { |
|
|
@ -307,7 +310,6 @@ export default { |
|
|
|
this.setPieData(data, this.detail.taskCompletionRate) |
|
|
|
this.setPieData(data, this.detail.taskCompletionRate) |
|
|
|
this.getList() |
|
|
|
this.getList() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
async getList() { |
|
|
|
async getList() { |
|
|
|
const res = await HomeApi.getListData(this.queryParams) |
|
|
|
const res = await HomeApi.getListData(this.queryParams) |
|
|
|