7584e28f by renchao@pashanhoo.com

style:地图配置化的升级

1 parent 6a30e369
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-06 09:51:35
* @LastEditTime: 2023-04-06 10:52:36
-->
## Git 贡献提交规范
- `feat` 增加新功能
......@@ -25,8 +25,7 @@
"LOGIN": "", { 登录配置 }
"CODE": "BDCJGPT", {"BDCSBPT":上报: "BDCJGPT":监管}
"SERVERAPI": "/bdcsjsb",
"AREARMAP": "hanzhong", // {"hanzhong","yushu"}
"AREARNAME": "汉中市",// {汉中市,玉树}
"AREARMAP": "610702", // {"610702","632701"}
"calcHeight": 200, {上报:160 监管:200}
"echartTextColor": "#FFFFFF", {上报:"#4A4A4A" 监管:"#FFFFFF"}
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
......
{
"TITLE": "汉中市数据上报系统",
"THEME": "sb",
"CODE": "BDCSBPT",
"THEME": "jg",
"CODE": "BDCJGPT",
"AREARMAP": "610702",
"AREARNAME": "汉中市",
"SERVERAPI": "/bdcsjsb",
"calcHeight": 160,
"echartTextColor": "#4A4A4A",
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -84,7 +84,7 @@ export default {
mapType: "", // 自定义扩展图表类型
top: "15%",
left: "10%",
map: this.BASE_API.AREARNAME,
map: this.BASE_API.AREARMAP,
itemStyle: {
normal: {
//阴影
......@@ -98,7 +98,7 @@ export default {
mapType: "", // 自定义扩展图表类型
top: "18%",
left: "10%",
map: this.BASE_API.AREARNAME,
map: this.BASE_API.AREARMAP,
itemStyle: {
color: '#21371d',
areaColor: "#21371d",
......@@ -118,7 +118,7 @@ export default {
type: "map",
aspectScale: 1, //长宽比
zoom: 1.1,
mapType: this.BASE_API.AREARNAME, // 自定义扩展图表类型
mapType: this.BASE_API.AREARMAP, // 自定义扩展图表类型
top: "15%",
left: "10%",
itemStyle: {
......