7584e28f by renchao@pashanhoo.com

style:地图配置化的升级

1 parent 6a30e369
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-04-06 09:51:35 4 * @LastEditTime: 2023-04-06 10:52:36
5 --> 5 -->
6 ## Git 贡献提交规范 6 ## Git 贡献提交规范
7 - `feat` 增加新功能 7 - `feat` 增加新功能
...@@ -25,8 +25,7 @@ ...@@ -25,8 +25,7 @@
25 "LOGIN": "", { 登录配置 } 25 "LOGIN": "", { 登录配置 }
26 "CODE": "BDCJGPT", {"BDCSBPT":上报: "BDCJGPT":监管} 26 "CODE": "BDCJGPT", {"BDCSBPT":上报: "BDCJGPT":监管}
27 "SERVERAPI": "/bdcsjsb", 27 "SERVERAPI": "/bdcsjsb",
28 "AREARMAP": "hanzhong", // {"hanzhong","yushu"} 28 "AREARMAP": "610702", // {"610702","632701"}
29 "AREARNAME": "汉中市",// {汉中市,玉树}
30 "calcHeight": 200, {上报:160 监管:200} 29 "calcHeight": 200, {上报:160 监管:200}
31 "echartTextColor": "#FFFFFF", {上报:"#4A4A4A" 监管:"#FFFFFF"} 30 "echartTextColor": "#FFFFFF", {上报:"#4A4A4A" 监管:"#FFFFFF"}
32 "MANAGEMENTAPI": "http://192.168.2.38:8090/management" 31 "MANAGEMENTAPI": "http://192.168.2.38:8090/management"
......
1 { 1 {
2 "TITLE": "汉中市数据上报系统", 2 "TITLE": "汉中市数据上报系统",
3 "THEME": "sb", 3 "THEME": "jg",
4 "CODE": "BDCSBPT", 4 "CODE": "BDCJGPT",
5 "AREARMAP": "610702", 5 "AREARMAP": "610702",
6 "AREARNAME": "汉中市",
7 "SERVERAPI": "/bdcsjsb", 6 "SERVERAPI": "/bdcsjsb",
8 "calcHeight": 160, 7 "calcHeight": 160,
9 "echartTextColor": "#4A4A4A", 8 "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 { ...@@ -84,7 +84,7 @@ export default {
84 mapType: "", // 自定义扩展图表类型 84 mapType: "", // 自定义扩展图表类型
85 top: "15%", 85 top: "15%",
86 left: "10%", 86 left: "10%",
87 map: this.BASE_API.AREARNAME, 87 map: this.BASE_API.AREARMAP,
88 itemStyle: { 88 itemStyle: {
89 normal: { 89 normal: {
90 //阴影 90 //阴影
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
98 mapType: "", // 自定义扩展图表类型 98 mapType: "", // 自定义扩展图表类型
99 top: "18%", 99 top: "18%",
100 left: "10%", 100 left: "10%",
101 map: this.BASE_API.AREARNAME, 101 map: this.BASE_API.AREARMAP,
102 itemStyle: { 102 itemStyle: {
103 color: '#21371d', 103 color: '#21371d',
104 areaColor: "#21371d", 104 areaColor: "#21371d",
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
118 type: "map", 118 type: "map",
119 aspectScale: 1, //长宽比 119 aspectScale: 1, //长宽比
120 zoom: 1.1, 120 zoom: 1.1,
121 mapType: this.BASE_API.AREARNAME, // 自定义扩展图表类型 121 mapType: this.BASE_API.AREARMAP, // 自定义扩展图表类型
122 top: "15%", 122 top: "15%",
123 left: "10%", 123 left: "10%",
124 itemStyle: { 124 itemStyle: {
......