Compare commits

...

2 Commits

Author SHA1 Message Date
刘妍 d96040323e 解决冲突 2025-04-24 15:12:20 +08:00
刘妍 c8d0ef8335 优化 2025-04-24 15:04:52 +08:00
125 changed files with 310 additions and 300 deletions

View File

@ -12,13 +12,13 @@ VITE_BUILD_COMPRESS = 'none'
# Basic interface address SPA
# 天空地项目
VITE_GLOB_API_URL=http://192.168.10.163:9620
VITE_GLOB_API_URL=http://123.132.248.154:9243
VITE_GLOB_INFO_IMAGE_URL=http://192.168.10.163:9620
VITE_GLOB_INFO_IMAGE_URL=http://123.132.248.154:9243
# File upload address optional
# It can be forwarded by nginx or write the actual address directly
VITE_GLOB_UPLOAD_URL=http://192.168.10.163:9620
VITE_GLOB_UPLOAD_URL=http://123.132.248.154:9243
# Interface prefix

View File

@ -1,25 +1,28 @@
import { PublicConfigClass } from '@/packages/public'
import { CreateComponentType } from '@/packages/index.d'
import { MapPlotHistoryConfig } from './index'
import cloneDeep from 'lodash/cloneDeep'
import dataJson from './data.json'
import { PublicConfigClass } from '@/packages/public';
import { CreateComponentType } from '@/packages/index.d';
import { MapPlotHistoryConfig } from './index';
import cloneDeep from 'lodash/cloneDeep';
import dataJson from './data.json';
import { getAppEnvConfig } from '@/utils/env';
const { VITE_GLOB_API_URL } = getAppEnvConfig();
export const option = {
dataset: { ...dataJson },
}
};
export default class Config extends PublicConfigClass implements CreateComponentType {
public key = MapPlotHistoryConfig.key
public chartConfig = cloneDeep(MapPlotHistoryConfig)
public option = cloneDeep(option)
public key = MapPlotHistoryConfig.key;
public chartConfig = cloneDeep(MapPlotHistoryConfig);
public option = cloneDeep(option);
constructor() {
super();
this.attr.w = 546;
super();
this.attr.w = 546;
this.attr.h = 748;
this.request.requestDataType = 1
this.request.requestHttpType = "post"
this.request.requestUrl = "http://192.168.10.163:9620/api/FireResources/GetDataBySql"
this.request.requestSQLContent.sql = "select * from zg_meirishangbaoshuliangtongji"
this.filter = "return res.result"
this.request.requestDataType = 1;
this.request.requestHttpType = 'post';
this.request.requestUrl = VITE_GLOB_API_URL + '/api/FireResources/GetDataBySql';
this.request.requestSQLContent.sql = 'select * from zg_meirishangbaoshuliangtongji';
this.filter = 'return res.result';
}
}

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-01">
<img :width="w" :height="h" src="/src/assets/images/chart/decorates/fxmapbg.png" />
<img :width="w" :height="h" src="@/assets/images/chart/decorates/fxmapbg.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-01">
<img :width="w" :height="h" src="/src/assets/images/chart/decorates/feixianmap.png" />
<img :width="w" :height="h" src="@/assets/images/chart/decorates/feixianmap.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-background-03">
<img :width="w" :height="h" src="/src/assets/images/chart/decorates/circle.png" />
<img :width="w" :height="h" src="@/assets/images/chart/decorates/circle.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-04">
<img :width="w" :height="h" src="/src/assets/images/chart/decorates/wlpt.png" />
<img :width="w" :height="h" src="@/assets/images/chart/decorates/wlpt.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-09">
<img :width="w" :height="h" src="/src/assets/images/chart/decorates/title01.png" />
<img :width="w" :height="h" src="@/assets/images/chart/decorates/title01.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/weixing.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/weixing.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/gaokongliaowang.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/gaokongliaowang.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/jiankong.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/jiankong.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/wurenji.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/wurenji.png" />
</div>
</template>

View File

@ -1,8 +1,8 @@
import { PublicConfigClass } from '@/packages/public'
import { chartInitConfig,requestSqlConfig } from '@/settings/designSetting'
import { CreateComponentType } from '@/packages/index.d'
import { EquipmentHuoQingJianCeConfig } from './index'
import cloneDeep from 'lodash/cloneDeep'
import { PublicConfigClass } from '@/packages/public';
import { chartInitConfig, requestSqlConfig } from '@/settings/designSetting';
import { CreateComponentType } from '@/packages/index.d';
import { EquipmentHuoQingJianCeConfig } from './index';
import cloneDeep from 'lodash/cloneDeep';
export const option = {
titleColor: '#CBE6CD',
@ -12,28 +12,28 @@ export const option = {
datasColor: '#4FE985',
datasSize: 18,
yjDatas: [
{ label: '卫星热点', value: '7365'},
{ label: '视频监控', value: '7365'},
{ label: '护林员上报', value: '7365'}
{ label: '卫星热点', value: '7365' },
{ label: '视频监控', value: '7365' },
{ label: '护林员上报', value: '7365' },
],
sbDatas:[
{ label: '上报国家火情', value: '7365'},
{ label: '防火码扫码统计', value: '7365'}
sbDatas: [
{ label: '上报国家火情', value: '7365' },
{ label: '防火码扫码统计', value: '7365' },
],
imgArr: [
"/src/assets/images/chart/equipment/wxrd.png",
"/src/assets/images/chart/equipment/spjk.png",
"/src/assets/images/chart/equipment/hlysb.png",
"/src/assets/images/chart/equipment/sbgjhq.png",
"/src/assets/images/chart/equipment/fhmsdtj.png"
]
}
'@/assets/images/chart/equipment/wxrd.png',
'@/assets/images/chart/equipment/spjk.png',
'@/assets/images/chart/equipment/hlysb.png',
'@/assets/images/chart/equipment/sbgjhq.png',
'@/assets/images/chart/equipment/fhmsdtj.png',
],
};
export default class Config extends PublicConfigClass implements CreateComponentType {
public key = EquipmentHuoQingJianCeConfig.key
public attr = { ...chartInitConfig, w: 378, h: 193, zIndex: 1 }
public chartConfig = cloneDeep(EquipmentHuoQingJianCeConfig)
public option = cloneDeep(option)
public request = { ...requestSqlConfig, requestSQLContent: { sql: 'select * from ' }, }
public filter = "return res.result;"
public key = EquipmentHuoQingJianCeConfig.key;
public attr = { ...chartInitConfig, w: 378, h: 193, zIndex: 1 };
public chartConfig = cloneDeep(EquipmentHuoQingJianCeConfig);
public option = cloneDeep(option);
public request = { ...requestSqlConfig, requestSQLContent: { sql: 'select * from ' } };
public filter = 'return res.result;';
}

View File

@ -1,9 +1,9 @@
<template>
<div class="go-title-03">
<div class="flex ai-c jc-sb max-w">
<img class="img" src="/src/assets/images/chart/equipment/titlesbg08.png" />
<img class="img" src="@/assets/images/chart/equipment/titlesbg08.png" />
<div class="titleText">预警信息</div>
<img class="rotate img" src="/src/assets/images/chart/equipment/titlesbg08.png" />
<img class="rotate img" src="@/assets/images/chart/equipment/titlesbg08.png" />
</div>
<div class="flex ai-c jc-sb max-w" style="margin-top: 14px;">
<div v-for="(item,index) in yjDatas" class="flex">
@ -15,9 +15,9 @@
</div>
</div>
<div class="flex ai-c jc-sb max-w" style="margin: 18px 0 26px;">
<img class="img" src="/src/assets/images/chart/equipment/titlesbg08.png" />
<img class="img" src="@/assets/images/chart/equipment/titlesbg08.png" />
<div class="titleText">上报信息</div>
<img class="rotate img" src="/src/assets/images/chart/equipment/titlesbg08.png" />
<img class="rotate img" src="@/assets/images/chart/equipment/titlesbg08.png" />
</div>
<div class="flex ai-c jc-sa max-w">
<div v-for="(item,index) in sbDatas" class="flex">

View File

@ -13,11 +13,11 @@
<div class="mr-2 desStyle">{{item.degreeType}}</div>
</div>
<div class="flex mt-1 ai-c">
<img class="mr-1" src="/src/assets/images/chart/equipment/address.png" />
<img class="mr-1" src="@/assets/images/chart/equipment/address.png" />
<div class="numStyle" :title="item.address">{{item.address}}</div>
</div>
<div class="flex mt-1 ai-c">
<img class="mr-1 timeicon" src="/src/assets/images/chart/equipment/time.png" />
<img class="mr-1 timeicon" src="@/assets/images/chart/equipment/time.png" />
<div class="numStyle">{{item.reportTime}}</div>
</div>
</div>
@ -271,7 +271,7 @@ const handlerFireDetail = (item) => {
.sectionLi{
padding: 9px 12px;
height: 104px;
background: url('/src/assets/images/chart/equipment/sectionbg.png');
background: url('@/assets/images/chart/equipment/sectionbg.png');
background-size: 100% 100%;
}
.titleText{

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/jichangbg.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/jichangbg.png" />
<div class="titlebox">{{ title }}</div>
<div class="valuebox">{{dataset}}<span class="unitbox">{{unit}}</span></div>
</div>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/titlesbg05.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/titlesbg05.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/titlesbg06.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/titlesbg06.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/titlesbg08.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/titlesbg08.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/wurenjibg.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/wurenjibg.png" />
<div class="titlebox">{{ title }}</div>
<div class="valuebox">{{dataset}}<span class="unitbox">{{unit}}</span></div>
</div>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/equipment/zhishengjibg.png" />
<img :width="w" :height="h" src="@/assets/images/chart/equipment/zhishengjibg.png" />
<div class="titlebox">{{ title }}</div>
<div class="valuebox">{{dataset}}<span class="unitbox">{{unit}}</span></div>
</div>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/dingweidian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/dingweidian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/duijiangji.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/duijiangji.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/fanghuojianchazhan.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/fanghuojianchazhan.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/fanghuojianchazhan1.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/fanghuojianchazhan1.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/huodian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/huodian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/huozaidian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/huozaidian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/jianchadian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/jianchadian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/jiankong.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/jiankong.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/jinchukou.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/jinchukou.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/jiuyuanrenyuan.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/jiuyuanrenyuan.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/liaowangtai.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/liaowangtai.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/linquzhuhu.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/linquzhuhu.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/mudifentou.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/mudifentou.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/putongbiaojidian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/putongbiaojidian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/qidian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/qidian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/qita.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/qita.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/qizhi.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/qizhi.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/renwudian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/renwudian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/renyuan.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/renyuan.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/renyuandian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/renyuandian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/shanfeng.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/shanfeng.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/shuiku.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/shuiku.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/shuiyuandi.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/shuiyuandi.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/shuiyuandian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/shuiyuandian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/suidao.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/suidao.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/tangba.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/tangba.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/wuzichubei.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/wuzichubei.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/xiangdao.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/xiangdao.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/xiaofangche.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/xiaofangche.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/xiaofangche1.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/xiaofangche1.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/xiaofangshebei.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/xiaofangshebei.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/xushuichi.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/xushuichi.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/xushuichi1.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/xushuichi1.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/xushuichi-guihuajianshe.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/xushuichi-guihuajianshe.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/xushuichi-zhengzaijianshe.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/xushuichi-zhengzaijianshe.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/xushuichi-zhengzaishiyong.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/xushuichi-zhengzaishiyong.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/zhongdian.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/zhongdian.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/zhuzhaduiwu.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/zhuzhaduiwu.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/zhuzhaduiwu1.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/zhuzhaduiwu1.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/zijianshuichi.png" />
<img :width="w" :height="h" src="@/assets/images/chart/mapicons/zijianshuichi.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/tasks/taskback.png" />
<img :width="w" :height="h" src="@/assets/images/chart/tasks/taskback.png" />
</div>
</template>

View File

@ -1,78 +1,83 @@
import { PublicConfigClass } from '@/packages/public'
import { chartInitConfig, requestSqlConfig } from '@/settings/designSetting'
import { CreateComponentType } from '@/packages/index.d'
import { TaskBannerConfig } from './index'
import cloneDeep from 'lodash/cloneDeep'
import { PublicConfigClass } from '@/packages/public';
import { chartInitConfig, requestSqlConfig } from '@/settings/designSetting';
import { CreateComponentType } from '@/packages/index.d';
import { TaskBannerConfig } from './index';
import cloneDeep from 'lodash/cloneDeep';
export const option = {
colors: ['#457453','#00611A','#00CC13','#C9FFC7'],
colors: ['#457453', '#00611A', '#00CC13', '#C9FFC7'],
titleColor: '#CBE6CD',
titleSize: 15,
desColor: '#FFFFFF',
desSize: 15,
dataset:{
dataset: {
data: [
{
title: '预警描述',
desc: '费县马庄镇牛田村村委东北方向375.75° 1.197公里处发现火情'
desc: '费县马庄镇牛田村村委东北方向375.75° 1.197公里处发现火情',
},
{
title: '水平角',
desc: '375.75°'
desc: '375.75°',
},
{
title: '俯视角',
desc: '98.5°'
desc: '98.5°',
},
{
title: '经纬度',
desc: '117.90911,3012349'
desc: '117.90911,3012349',
},
{
title: '预警时间',
desc: '2024.12.24 13:08:07'
desc: '2024.12.24 13:08:07',
},
{
title: '线索来源',
desc: '无人机上报'
}
desc: '无人机上报',
},
],
imgArr: [
"/src/assets/images/chart/tasks/bannerimg1.png",
"/src/assets/images/chart/tasks/bannerimg1.png",
"/src/assets/images/chart/tasks/bannerimg1.png",
]
'@/images/chart/tasks/bannerimg1.png',
'@/images/chart/tasks/bannerimg1.png',
'@/assets/images/chart/tasks/bannerimg1.png',
],
},
primaryKey:"id",
showColumns:[
primaryKey: 'id',
showColumns: [
{
type:"text",
type: 'text',
en_name: 'ReportPerson',
zh_name: '人员名称',
},
{
type:"text",
type: 'text',
en_name: 'ReportTime',
zh_name: '上报时间',
},
{
type:"text",
type: 'text',
en_name: 'Describe',
zh_name: '火情描述',
},
{
type:"text",
type: 'text',
en_name: 'Address',
zh_name: '位置地点',
},
]
}
],
};
export default class Config extends PublicConfigClass implements CreateComponentType {
public key = TaskBannerConfig.key
public attr = { ...chartInitConfig, w: 400, h: 527, zIndex: 1 }
public chartConfig = cloneDeep(TaskBannerConfig)
public option = cloneDeep(option)
public request = { ...requestSqlConfig, requestSQLContent: { sql: 'update fm_fireclueinfo set "status" = #{Status} where "Id" = #{Id}' }, }
public filter = "return res.result;"
public key = TaskBannerConfig.key;
public attr = { ...chartInitConfig, w: 400, h: 527, zIndex: 1 };
public chartConfig = cloneDeep(TaskBannerConfig);
public option = cloneDeep(option);
public request = {
...requestSqlConfig,
requestSQLContent: {
sql: 'update fm_fireclueinfo set "status" = #{Status} where "Id" = #{Id}',
},
};
public filter = 'return res.result;';
}

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/tasks/taskclose.png" />
<img :width="w" :height="h" src="@/assets/images/chart/tasks/taskclose.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/tasks/taskicon01.png" />
<img :width="w" :height="h" src="@/assets/images/chart/tasks/taskicon01.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/tasks/taskicon02.png" />
<img :width="w" :height="h" src="@/assets/images/chart/tasks/taskicon02.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/tasks/taskicon03.png" />
<img :width="w" :height="h" src="@/assets/images/chart/tasks/taskicon03.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/tasks/taskplan.png" />
<img :width="w" :height="h" src="@/assets/images/chart/tasks/taskplan.png" />
</div>
</template>

View File

@ -1,13 +1,13 @@
<template>
<div class="go-title-03">
<div class="container flex ai-c" v-for="(item, index) in dataset">
<img class="img" src="/src/assets/images/chart/tasks/routebg.png" />
<img class="img" src="@/assets/images/chart/tasks/routebg.png" />
<div class="flex ai-c jc-c">
<img class="iconsbox" v-if="index%2==0" src="/src/assets/images/chart/tasks/taskicon04.png" />
<img class="iconsbox" v-if="index%2!=0" src="/src/assets/images/chart/tasks/taskicon05.png" />
<img class="iconsbox" v-if="index%2==0" src="@/assets/images/chart/tasks/taskicon04.png" />
<img class="iconsbox" v-if="index%2!=0" src="@/assets/images/chart/tasks/taskicon05.png" />
<div class="plantitle">
<img class="titleimg" v-if="index%2==0" src="/src/assets/images/chart/tasks/taskbtn01.png" />
<img class="titleimg" v-if="index%2!=0" src="/src/assets/images/chart/tasks/taskbtn02.png" />
<img class="titleimg" v-if="index%2==0" src="@/assets/images/chart/tasks/taskbtn01.png" />
<img class="titleimg" v-if="index%2!=0" src="@/assets/images/chart/tasks/taskbtn02.png" />
<div class="text1 max-h flex ai-c jc-c">方案{{ index+1 }}</div>
</div>
</div>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/texttitlebg.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/texttitlebg.png" />
</div>
</template>

View File

@ -2,8 +2,8 @@
<div class="go-title-03">
<div class="btnbox">
<div class="btn" v-for="(item, index) in textBtnArr" @click="btnClick(item,index)">
<img class="img" v-if="btnIndex==index" src="/src/assets/images/chart/units/texttitle05bg.png" />
<img class="img" v-else src="/src/assets/images/chart/units/texttitle050bg.png" />
<img class="img" v-if="btnIndex==index" src="@/assets/images/chart/units/texttitle05bg.png" />
<img class="img" v-else src="@/assets/images/chart/units/texttitle050bg.png" />
{{item.label}}
</div>
</div>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/right1bg.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/right1bg.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/right1icon.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/right1icon.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/right2icon.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/right2icon.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/right3icon.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/right3icon.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/right4icon.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/right4icon.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/right5icon.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/right5icon.png" />
</div>
</template>

View File

@ -2,7 +2,7 @@
<div class="go-title-03">
<div class="btnsbox">
<div class="pos-r">
<img class="img" src="/src/assets/images/chart/units/titlesbg01.png" />
<img class="img" src="@/assets/images/chart/units/titlesbg01.png" />
<div class="container">
<div v-for="(item,index) in textBtnArr" @click="btnClick(item,index)" class="li" :class="btnIndex==index?'active':''">{{item.label}}</div>
</div>

View File

@ -2,7 +2,7 @@
<div class="go-title-03">
<div class="btnsbox">
<div class="pos-r">
<img class="img" src="/src/assets/images/chart/units/titlesbg01.png" />
<img class="img" src="@/assets/images/chart/units/titlesbg01.png" />
<div class="container">
<div v-for="(item,index) in textBtnArr" @click="btnClick(item,index)" class="li" :class="btnIndex==index?'active':''">{{item.label}}</div>
</div>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-09">
<img :width="w" :height="h" src="/src/assets/images/chart/units/toptitle.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/toptitle.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/titlesbg01.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/titlesbg01.png" />
<div class="container">
<div v-for="(item,index) in datasArr" class="li" :class="datasIndex==index?'active':''">{{item}}</div>
</div>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/unitsbg01.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/unitsbg01.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/unitsbg02.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/unitsbg02.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/unitsbg03.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/unitsbg03.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/unitsbg04.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/unitsbg04.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/icons1.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/icons1.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/icons2.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/icons2.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/icons3.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/icons3.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-03">
<img :width="w" :height="h" src="/src/assets/images/chart/units/icons4.png" />
<img :width="w" :height="h" src="@/assets/images/chart/units/icons4.png" />
</div>
</template>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-xuncha">
<img class="img" src="/src/assets/images/chart/xunchaguiji/back.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/back.png" />
<span class="span">返回</span>
</div>
</template>

View File

@ -1,7 +1,7 @@
<template>
<div class="go-title-xuncha">
<div class="titlebox">
<img class="img" src="/src/assets/images/chart/xunchaguiji/titlelefticon.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/titlelefticon.png" />
<span>打卡信息</span>
</div>
<div class="contentbox">
@ -93,7 +93,7 @@ onMounted(() => {
.header{
width: 100%;
height: 23px;
background: url("/src/assets/images/chart/xunchaguiji/clockintitlebg01.png");
background: url("@/assets/images/chart/xunchaguiji/clockintitlebg01.png");
background-size: 100% 100%;
display: flex;
align-items: center;

View File

@ -32,15 +32,15 @@
</div>
<div class="flex">
<div class="searchbtn cursor flex ai-c jc-c" @click="getListData">
<img class="img" src="/src/assets/images/chart/xunchaguiji/btnicons01.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/btnicons01.png" />
<span class="span">搜索</span>
</div>
<!-- <div class="tongjibtn cursor flex ai-c jc-c">
<img class="img" src="/src/assets/images/chart/xunchaguiji/btnicons02.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/btnicons02.png" />
<span class="span">统计</span>
</div>
<div class="xunjianbtn cursor flex ai-c jc-c">
<img class="img" src="/src/assets/images/chart/xunchaguiji/btnicons03.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/btnicons03.png" />
<span class="span">巡检</span>
</div> -->
</div>
@ -188,7 +188,7 @@ onMounted(() => {
.inpbox{
width: 150px;
height: 100%;
background: url("/src/assets/images/chart/xunchaguiji/gjinputbg.png");
background: url("@/assets/images/chart/xunchaguiji/gjinputbg.png");
background-size: 100% 100%;
margin-right: 4px;
}
@ -231,13 +231,13 @@ onMounted(() => {
.contentli{
width: 100%;
height: 82px;
background: url("/src/assets/images/chart/xunchaguiji/lisbg01.png");
background: url("@/assets/images/chart/xunchaguiji/lisbg01.png");
background-size: 100% 100%;
margin-bottom: 10px;
.icons01{
width: 41px;
height: 36px;
background: url("/src/assets/images/chart/xunchaguiji/libgsicon.png");
background: url("@/assets/images/chart/xunchaguiji/libgsicon.png");
background-size: 100% 100%;
margin: 23px 19px 23px 18px;
}
@ -245,7 +245,7 @@ onMounted(() => {
.header{
width: 265px;
height: 23px;
background: url("/src/assets/images/chart/xunchaguiji/clockintitlebg.png");
background: url("@/assets/images/chart/xunchaguiji/clockintitlebg.png");
background-size: 100% 100%;
color: v-bind('textColor');
font-size: v-bind('textSize+"px"');

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-xuncha">
<img class="img" :width="w" :height="h" src="/src/assets/images/chart/xunchaguiji/personsicon01.png" />
<img class="img" :width="w" :height="h" src="@/assets/images/chart/xunchaguiji/personsicon01.png" />
<div class="divbox">
<span class="labelbox">{{ labelText }}</span>
<span class="valbox">{{ dataset }}</span>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-xuncha">
<img class="img" :width="w" :height="h" src="/src/assets/images/chart/xunchaguiji/personsicon02.png" />
<img class="img" :width="w" :height="h" src="@/assets/images/chart/xunchaguiji/personsicon02.png" />
<div class="divbox">
<span class="labelbox">{{ labelText }}</span>
<span class="valbox">{{ dataset }}</span>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-xuncha">
<img class="img" :width="w" :height="h" src="/src/assets/images/chart/xunchaguiji/personsicon03.png" />
<img class="img" :width="w" :height="h" src="@/assets/images/chart/xunchaguiji/personsicon03.png" />
<div class="divbox">
<span class="labelbox">{{ labelText }}</span>
<span class="valbox">{{ dataset }}</span>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-xuncha">
<img class="img" :width="w" :height="h" src="/src/assets/images/chart/xunchaguiji/personsicon04.png" />
<img class="img" :width="w" :height="h" src="@/assets/images/chart/xunchaguiji/personsicon04.png" />
<div class="divbox">
<span class="labelbox">{{ labelText }}</span>
<span class="valbox">{{ dataset }}</span>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-xuncha">
<img class="img" :width="w" :height="h" src="/src/assets/images/chart/xunchaguiji/onlinenumbg.png" />
<img class="img" :width="w" :height="h" src="@/assets/images/chart/xunchaguiji/onlinenumbg.png" />
<div class="divbox">
<span class="labelbox">{{ labelText }}</span>
<span class="valbox">{{ dataset }}</span>

View File

@ -1,6 +1,6 @@
<template>
<div class="go-title-xuncha">
<img class="img" :width="w" :height="h" src="/src/assets/images/chart/xunchaguiji/outlinenumbg.png" />
<img class="img" :width="w" :height="h" src="@/assets/images/chart/xunchaguiji/outlinenumbg.png" />
<div class="divbox">
<span class="labelbox">{{ labelText }}</span>
<span class="valbox">{{ dataset }}</span>

View File

@ -21,11 +21,11 @@
<div class="li">{{ item.OnLineTime }}</div>
<div class="li scopedbox">
<div class="locationbox flex ai-c jc-c" @click="goflyaddress(item)">
<img class="img" src="/src/assets/images/chart/xunchaguiji/locationicon.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/locationicon.png" />
<span>位置</span>
</div>
<div class="rotatebox flex ai-c jc-c" @click="rotateLine(item)">
<img class="img" src="/src/assets/images/chart/xunchaguiji/rotateicon.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/rotateicon.png" />
<span>轨迹</span>
</div>
</div>
@ -71,7 +71,7 @@ const handlerAddEntity = (data) => {
id: data.CreateId,
position: [parseFloat(data.Lng), parseFloat(data.Lat)],
style: {
image: '/src/assets/images/chart/xunchaguiji/jiuyuanrenyuan.png',
image: '@/assets/images/chart/xunchaguiji/jiuyuanrenyuan.png',
clampToGround: true,
scale: 0.5,
}

View File

@ -1,7 +1,7 @@
<template>
<div class="go-title-xuncha">
<div class="flex titlebox ai-c">
<img class="img" src="/src/assets/images/chart/xunchaguiji/titlelefticon.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/titlelefticon.png" />
<div class="flex">
<div v-for="(item,index) in navsArr" class="flex navsli ai-c jc-c cursor" :class="navsIndex==index?'active':''" @click="navsClick(index)">{{item}}</div>
</div>
@ -21,23 +21,23 @@
<div class="flex contentli column jc-c" v-for="item in xunChaGuiJiList">
<div class="flex ai-c jc-sb secbox">
<div>
<img class="userImg" src="/src/assets/images/chart/xunchaguiji/userimgs.png" />
<img class="userImg" src="@/assets/images/chart/xunchaguiji/userimgs.png" />
<span class="username">{{ item.name }}</span>
</div>
<div class="flex">
<!-- <div class="flex locationbox ai-c jc-c" @click="circleGeom(item)">
<img class="img" src="/src/assets/images/chart/xunchaguiji/btnicons04.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/btnicons04.png" />
<span>范围</span>
</div> -->
<div class="flex rotatebox ai-c jc-c" @click="rotateLine(item)">
<img class="img" src="/src/assets/images/chart/xunchaguiji/rotateicon.png" />
<img class="img" src="@/assets/images/chart/xunchaguiji/rotateicon.png" />
<span>轨迹</span>
</div>
</div>
</div>
<div class="flex datebox ai-c">
<span>{{ item.startTime }}</span>
<img class="line" src="/src/assets/images/chart/xunchaguiji/linerotate.png" />
<img class="line" src="@/assets/images/chart/xunchaguiji/linerotate.png" />
<span>{{ item.endTime }}</span>
</div>
</div>
@ -47,19 +47,19 @@
<div class="flex contentli column jc-c" v-for="item in clockInRecordList">
<div class="flex ai-c secbox">
<div class="flex column ai-c userbox">
<img class="userImg1" src="/src/assets/images/chart/xunchaguiji/userimgs.png" />
<img class="userImg1" src="@/assets/images/chart/xunchaguiji/userimgs.png" />
<span class="username">{{ item.Name }}</span>
<div class="spanbox">打卡人员</div>
</div>
<div class="splitebox"></div>
<div class="flex column">
<div class="flex clockinfobox">
<img class="iconsimg" src="/src/assets/images/chart/xunchaguiji/clockfill.png" />
<img class="iconsimg" src="@/assets/images/chart/xunchaguiji/clockfill.png" />
<span class="lab">打卡时间</span>
<span class="val">{{ item.CreateTime }}</span>
</div>
<div class="flex clockinfobox">
<img class="iconsimg" src="/src/assets/images/chart/xunchaguiji/positionicon.png" />
<img class="iconsimg" src="@/assets/images/chart/xunchaguiji/positionicon.png" />
<span class="lab">打卡点位置</span>
<span class="val">
<span>{{ item.Lng }}</span>
@ -234,13 +234,13 @@ onMounted(() => {
.navsli{
width: 110px;
height: 32px;
background: url("/src/assets/images/chart/xunchaguiji/btnbg.png");
background: url("@/assets/images/chart/xunchaguiji/btnbg.png");
background-size: 100% 100%;
}
.navsli.active{
width: 110px;
height: 32px;
background: url("/src/assets/images/chart/xunchaguiji/btnbgactive.png");
background: url("@/assets/images/chart/xunchaguiji/btnbgactive.png");
background-size: 100% 100%;
}
}
@ -254,7 +254,7 @@ onMounted(() => {
.contentli{
width: 100%;
height: 83px;
background: url("/src/assets/images/chart/xunchaguiji/lisbg02.png");
background: url("@/assets/images/chart/xunchaguiji/lisbg02.png");
background-size: 100% 100%;
margin-bottom: 10px;
.secbox{

View File

@ -3,7 +3,7 @@
<div class="image">
<!-- <Icon :dataStyle="option.dataStyle" /> -->
<n-image
src="/src/assets/images/chart/zhigan/component/LowerLeft.png"
src="@/assets/images/chart/zhigan/component/LowerLeft.png"
:width="option.dataStyle.imageWidth"
:height="option.dataStyle.imageHeight"
/>

Some files were not shown because too many files have changed in this diff Show More