forked from integrated_whb/integrated_whb_vue
地图改为天地图
parent
ecf918bc38
commit
4a56fab4d8
|
@ -37,6 +37,7 @@
|
||||||
<span v-else-if="data.info.STATE === '3'"> 已整改 </span>
|
<span v-else-if="data.info.STATE === '3'"> 已整改 </span>
|
||||||
<span v-else-if="data.info.STATE === '4'"> 已验收 </span>
|
<span v-else-if="data.info.STATE === '4'"> 已验收 </span>
|
||||||
<span v-else-if="data.info.STATE === '-1'"> 已超期 </span>
|
<span v-else-if="data.info.STATE === '-1'"> 已超期 </span>
|
||||||
|
<span v-else-if="data.info.STATE === '10'"> 验收打回 </span>
|
||||||
<span v-else-if="data.info.STATE === '100'"> 暂存 </span>
|
<span v-else-if="data.info.STATE === '100'"> 暂存 </span>
|
||||||
<span v-else-if="data.info.STATE === '101'"> 待指派 </span>
|
<span v-else-if="data.info.STATE === '101'"> 待指派 </span>
|
||||||
<span v-else-if="data.info.STATE === '102'"> 指派中 </span>
|
<span v-else-if="data.info.STATE === '102'"> 指派中 </span>
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import LayoutTitle from "./title.vue";
|
import LayoutTitle from "./title.vue";
|
||||||
import CountUp from "vue-countup-v3";
|
import CountUp from "vue-countup-v3";
|
||||||
import { onMounted, reactive } from "vue";
|
import { reactive } from "vue";
|
||||||
import echarts5 from "../js/echarts5.js";
|
import echarts5 from "../js/echarts5.js";
|
||||||
import { getEightWorks } from "@/request/map";
|
import { getEightWorks } from "@/request/map";
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ const data = reactive({
|
||||||
],
|
],
|
||||||
block3List: [],
|
block3List: [],
|
||||||
});
|
});
|
||||||
onMounted(async () => {
|
const getData = async () => {
|
||||||
const { staMapCount, monthMapCount, eightworks } = await getEightWorks();
|
const { staMapCount, monthMapCount, eightworks } = await getEightWorks();
|
||||||
data.block1OptionsList[0].count = staMapCount.total;
|
data.block1OptionsList[0].count = staMapCount.total;
|
||||||
data.block1OptionsList[1].count = staMapCount.flowing;
|
data.block1OptionsList[1].count = staMapCount.flowing;
|
||||||
|
@ -93,8 +93,8 @@ onMounted(async () => {
|
||||||
data.block3List = eightworks.filter((item) => {
|
data.block3List = eightworks.filter((item) => {
|
||||||
return item.NEXT_STEP_ID !== 99 && item.STATUS === 1;
|
return item.NEXT_STEP_ID !== 99 && item.STATUS === 1;
|
||||||
});
|
});
|
||||||
});
|
};
|
||||||
|
getData();
|
||||||
const formatWork = (work) => {
|
const formatWork = (work) => {
|
||||||
let type = "";
|
let type = "";
|
||||||
switch (work.WORK_TYPE) {
|
switch (work.WORK_TYPE) {
|
||||||
|
|
|
@ -15,7 +15,7 @@ import {
|
||||||
import { getVideoManagerView } from "@/request/video_manager.js";
|
import { getVideoManagerView } from "@/request/video_manager.js";
|
||||||
// const mapUrl =
|
// const mapUrl =
|
||||||
// "https://gac-geo.googlecnapps.cn/maps/vt?lyrs=s&x={x}&y={y}&z={z}";
|
// "https://gac-geo.googlecnapps.cn/maps/vt?lyrs=s&x={x}&y={y}&z={z}";
|
||||||
const loadMap = 2;
|
const loadMap = 3;
|
||||||
let $entityTransparent = [];
|
let $entityTransparent = [];
|
||||||
const clickModel = new Map();
|
const clickModel = new Map();
|
||||||
export const initMap = (corp) => {
|
export const initMap = (corp) => {
|
||||||
|
|
Loading…
Reference in New Issue