|
|
|
@ -46,7 +46,7 @@
|
|
|
|
<Button type="primary" @click="edit()" style="margin-left: 10px">新增</Button>
|
|
|
|
<Button type="primary" @click="edit()" style="margin-left: 10px">新增</Button>
|
|
|
|
<Button type="primary" @click="review()" style="margin-left: 10px">批量复核</Button>
|
|
|
|
<Button type="primary" @click="review()" style="margin-left: 10px">批量复核</Button>
|
|
|
|
<Button type="primary" @click="exportExcel()" style="margin-left: 10px">导出</Button>
|
|
|
|
<Button type="primary" @click="exportExcel()" style="margin-left: 10px">导出</Button>
|
|
|
|
<Button type="primary" @click="showMap()" style="margin-left: 10px">地图</Button>
|
|
|
|
<Button type="primary" @click="showMap()" style="margin-left: 10px">当月点位</Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</slot>
|
|
|
|
</slot>
|
|
|
|
</LxHeader>
|
|
|
|
</LxHeader>
|
|
|
|
@ -222,6 +222,7 @@
|
|
|
|
import editMire from '@/views/rain/maintain/components/editMire'
|
|
|
|
import editMire from '@/views/rain/maintain/components/editMire'
|
|
|
|
import AvueMap from 'avue-plugin-map'
|
|
|
|
import AvueMap from 'avue-plugin-map'
|
|
|
|
import maps from '@/views/rain/maintain/components/maps'
|
|
|
|
import maps from '@/views/rain/maintain/components/maps'
|
|
|
|
|
|
|
|
import {getCurrentMonthFirst,getCurrentMonthLast} from "@/utils/index"
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
@ -539,13 +540,28 @@
|
|
|
|
listmain({
|
|
|
|
listmain({
|
|
|
|
page: 1,
|
|
|
|
page: 1,
|
|
|
|
page_size: 9999999,
|
|
|
|
page_size: 9999999,
|
|
|
|
|
|
|
|
start_date:getCurrentMonthFirst(),
|
|
|
|
|
|
|
|
end_date:getCurrentMonthLast(),
|
|
|
|
...search
|
|
|
|
...search
|
|
|
|
}).then(response => {
|
|
|
|
}).then(response => {
|
|
|
|
for (var m of response.data) {
|
|
|
|
for (var m of response.data) {
|
|
|
|
|
|
|
|
if(m.help_discharge_info){
|
|
|
|
this.mapArr.push([
|
|
|
|
this.mapArr.push([
|
|
|
|
m.longitude,m.latitude,m.address,m.id,m.old_type
|
|
|
|
m.help_discharge_info.longitude,m.help_discharge_info.latitude,m.help_discharge_info.address,m.id,m.old_type
|
|
|
|
])
|
|
|
|
])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(m.circulation_info){
|
|
|
|
|
|
|
|
this.mapArr.push([
|
|
|
|
|
|
|
|
m.circulation_info.longitude,m.circulation_info.latitude,m.circulation_info.address,m.id,m.old_type
|
|
|
|
|
|
|
|
])
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(m.mire_info){
|
|
|
|
|
|
|
|
this.mapArr.push([
|
|
|
|
|
|
|
|
m.mire_info.longitude,m.mire_info.latitude,m.mire_info.address,m.id,m.old_type
|
|
|
|
|
|
|
|
])
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
this.$refs.maps.showSearch = false
|
|
|
|
this.$refs.maps.showSearch = false
|
|
|
|
this.$refs.maps.pointArr = this.mapArr
|
|
|
|
this.$refs.maps.pointArr = this.mapArr
|
|
|
|
this.$refs.maps.resetPointArr()
|
|
|
|
this.$refs.maps.resetPointArr()
|
|
|
|
|