新增地图汇聚页面,统计报表面积数据处理
parent
7615b62307
commit
000168c08a
|
|
@ -40,6 +40,7 @@
|
|||
import { BasicModal, useModal } from '@/components/Modal';
|
||||
import { getCaseInfoList } from '@/api/monitor/index';
|
||||
import { getLoadCaseInfoListOffence } from '@/api/demo/system';
|
||||
import { dataProcessingCount } from '@/views/demo/tiankongdi/util.ts';
|
||||
|
||||
const [registerModal, { openModal, setModalProps }] = useModal();
|
||||
|
||||
|
|
@ -165,6 +166,10 @@
|
|||
|
||||
function handleGetList() {
|
||||
getLoadCaseInfoListOffence(props.currentListQuery).then((res) => {
|
||||
res.items.forEach((item) => {
|
||||
item.area = dataProcessingCount(item.area);
|
||||
item.gengdi_area = dataProcessingCount(item.gengdi_area);
|
||||
});
|
||||
columns.data = res.items;
|
||||
total.value = res.total;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
import axios from 'axios';
|
||||
import ShowInfoModal from '@/views/demo/tiankongdi/curbspotcity/MapList/ShowInfoModal/index.vue';
|
||||
import { getCaseInfoById } from '@/api/tiankongdi/index';
|
||||
import { dataProcessingCount } from '@/views/demo/tiankongdi/util.ts';
|
||||
import { dataProcessingCount } from '@/views/demo/tiankongdi/util';
|
||||
import { BasicForm, useForm } from '@/components/Form';
|
||||
import { PageWrapper } from '@/components/Page';
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
<template>
|
||||
<Exception />
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import Exception from '@/views/sys/exception/Exception.vue';
|
||||
</script>
|
||||
Loading…
Reference in New Issue