卢龙新增需求

This commit is contained in:
liuye
2023-09-07 10:59:25 +08:00
parent 863eba8c3f
commit 4787c6aaf9
2 changed files with 19 additions and 6 deletions

View File

@@ -2,7 +2,8 @@
<div class="statistics">
<AiTopFixed>
<div class="select-gird">
<AiPagePicker type="gird" v-model="selectGird" valueObj nodeKey="id" formType="2" class="right-span" @change="handleSelectGird">
<AiPagePicker type="gird" v-model="selectGird" valueObj nodeKey="id" class="right-span" @change="handleSelectGird"
action="/app/apppatrolreportinfo/listByInfo">
<AiMore v-model="selectGird.girdName"/>
</AiPagePicker>
</div>
@@ -70,11 +71,7 @@ export default {
},
mounted() {
// this.selectGird.girdName = this.user.girdName
// this.selectGird.girdId = this.user.girdId
this.$dict.load('clapEventStatusHistory').then(() => {
this.getStatistics()
})
this.getGirdInfo()
},
methods: {
getStatistics() {
@@ -135,6 +132,18 @@ export default {
})
},
getGirdInfo() {
this.$http.post(`/app/apppatrolreportinfo/getRootByGirdMember`).then((res) => {
if (res.code == 0) {
this.selectGird.girdName = res.data.girdName
this.selectGird.id = res.data.id
this.$dict.load('clapEventStatusHistory').then(() => {
this.getStatistics()
})
}
})
},
finishChartInit() {
this.finishChart = echarts.init(document.getElementById('finish'))
var option = {